//flynt-disable deprecate-method-before-delete

syntax = "proto3";

package components_catalog_data.event_time_slots_configuration_provider.com.wixpress.appservice.api.upstream.com.wixpress.bookings.availability.spi.v2;

import "wix/common/spi.proto";
import "wix/api/annotations.proto";
import "wix/spi/definitions.proto";
import "google/protobuf/wrappers.proto";
import "google/api/annotations.proto";
import "wix/api/validations.proto";
import "google/protobuf/struct.proto";

message EventTimeSlotsProviderConfig {
    option (.wix.api.decomposite_of) = "com.wixpress.bookings.availability.spi.v2.EventTimeSlotsProviderConfig";
  // Reserved.
  .wix.common.spi.SpiBaseUri deployment_uri = 1;

  // Filter to base retrieved events on, for bookings it could be `{"type": "CLASS"}`. 
  // See the [supported filters article](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/supported-filters)
  // for a complete list of supported filters.
  google.protobuf.Struct event_filter = 2;

  // event service id field, that will be used to map the event.
  // i.e. "externalScheduleId"
  google.protobuf.StringValue event_service_id_field = 3 [(.wix.api.maxLength) = 100];
  
  // whether listExcludedServiceIds is enabled.
  bool toggle_list_excluded_service_ids_enabled = 4;
}