@wix/bookings 1.0.484 → 1.0.486

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/bookings",
3
- "version": "1.0.484",
3
+ "version": "1.0.486",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -36,8 +36,8 @@
36
36
  "@wix/bookings_resource-types": "1.0.13",
37
37
  "@wix/bookings_resources": "1.0.53",
38
38
  "@wix/bookings_service-categories": "1.0.0",
39
- "@wix/bookings_service-options-and-variants": "1.0.54",
40
- "@wix/bookings_services": "1.0.78",
39
+ "@wix/bookings_service-options-and-variants": "1.0.55",
40
+ "@wix/bookings_services": "1.0.79",
41
41
  "@wix/bookings_staff-members": "1.0.15"
42
42
  },
43
43
  "devDependencies": {
@@ -63,5 +63,5 @@
63
63
  "fqdn": ""
64
64
  }
65
65
  },
66
- "falconPackageHash": "46da3150943c92553b7742cc69d28d434b7767b7acee52a351fab3cc"
66
+ "falconPackageHash": "9a907b8d416acf47c80bee90fa6856cc4875ba4bddf7963946357a07"
67
67
  }
@@ -5142,6 +5142,7 @@ interface ServiceOptionsAndVariants {
5142
5142
  interface ServiceOption extends ServiceOptionOptionSpecificDataOneOf {
5143
5143
  /** Details about the custom option. Available only for `CUSTOM` options. */
5144
5144
  customData?: CustomServiceOption;
5145
+ durationData?: DurationServiceOption;
5145
5146
  /** ID of the service option. */
5146
5147
  _id?: string;
5147
5148
  /** Type of the service option. */
@@ -5151,11 +5152,13 @@ interface ServiceOption extends ServiceOptionOptionSpecificDataOneOf {
5151
5152
  interface ServiceOptionOptionSpecificDataOneOf {
5152
5153
  /** Details about the custom option. Available only for `CUSTOM` options. */
5153
5154
  customData?: CustomServiceOption;
5155
+ durationData?: DurationServiceOption;
5154
5156
  }
5155
5157
  declare enum ServiceOptionType {
5156
5158
  UNKNOWN = "UNKNOWN",
5157
5159
  CUSTOM = "CUSTOM",
5158
- STAFF_MEMBER = "STAFF_MEMBER"
5160
+ STAFF_MEMBER = "STAFF_MEMBER",
5161
+ DURATION = "DURATION"
5159
5162
  }
5160
5163
  interface CustomServiceOption {
5161
5164
  /**
@@ -5174,6 +5177,10 @@ interface CustomServiceOption {
5174
5177
  */
5175
5178
  choices?: string[];
5176
5179
  }
5180
+ interface DurationServiceOption {
5181
+ /** Optional name of the duration service option. For example, `Short Class, or Extended Class` which will correspond with a certain duration. */
5182
+ name?: string | null;
5183
+ }
5177
5184
  interface ServiceVariant {
5178
5185
  /**
5179
5186
  * Choices for the service option. Currently, only a single choice is supported
@@ -5195,6 +5202,8 @@ interface ServiceChoice$3 extends ServiceChoiceChoiceOneOf$3 {
5195
5202
  * `availability.linkedSchedules`.
5196
5203
  */
5197
5204
  staffMemberId?: string;
5205
+ /** Duration and an optional name */
5206
+ duration?: Duration$1;
5198
5207
  /** ID of the service option. */
5199
5208
  optionId?: string;
5200
5209
  }
@@ -5209,6 +5218,20 @@ interface ServiceChoiceChoiceOneOf$3 {
5209
5218
  * `availability.linkedSchedules`.
5210
5219
  */
5211
5220
  staffMemberId?: string;
5221
+ /** Duration and an optional name */
5222
+ duration?: Duration$1;
5223
+ }
5224
+ interface Duration$1 {
5225
+ /**
5226
+ * Duration of the service in minutes.
5227
+ * Min: 1 minute, Max: 30 days, 23 hours, and 59 minutes
5228
+ */
5229
+ minutes?: number | null;
5230
+ /**
5231
+ * Name of the duration option.
5232
+ * Defaults to the formatted duration e.g. "1 hour, 30 minutes".
5233
+ */
5234
+ name?: string | null;
5212
5235
  }
5213
5236
  /**
5214
5237
  * Money.
@@ -7094,6 +7117,7 @@ type context$d_CustomServiceOption = CustomServiceOption;
7094
7117
  type context$d_DeleteServiceOptionsAndVariantsOptions = DeleteServiceOptionsAndVariantsOptions;
7095
7118
  type context$d_DeleteServiceOptionsAndVariantsRequest = DeleteServiceOptionsAndVariantsRequest;
7096
7119
  type context$d_DeleteServiceOptionsAndVariantsResponse = DeleteServiceOptionsAndVariantsResponse;
7120
+ type context$d_DurationServiceOption = DurationServiceOption;
7097
7121
  type context$d_GetServiceOptionsAndVariantsByServiceIdRequest = GetServiceOptionsAndVariantsByServiceIdRequest;
7098
7122
  type context$d_GetServiceOptionsAndVariantsByServiceIdResponse = GetServiceOptionsAndVariantsByServiceIdResponse;
7099
7123
  type context$d_GetServiceOptionsAndVariantsByServiceIdResponseNonNullableFields = GetServiceOptionsAndVariantsByServiceIdResponseNonNullableFields;
@@ -7135,7 +7159,7 @@ declare const context$d_onServiceOptionsAndVariantsUpdated: typeof onServiceOpti
7135
7159
  declare const context$d_queryServiceOptionsAndVariants: typeof queryServiceOptionsAndVariants;
7136
7160
  declare const context$d_updateServiceOptionsAndVariants: typeof updateServiceOptionsAndVariants;
7137
7161
  declare namespace context$d {
7138
- export { type ActionEvent$a as ActionEvent, type Address$6 as Address, type AddressHint$2 as AddressHint, type AddressLocation$5 as AddressLocation, type AddressStreetOneOf$5 as AddressStreetOneOf, ApprovalStatus$2 as ApprovalStatus, type Availability$2 as Availability, type AvailabilityConstraints$2 as AvailabilityConstraints, type AvailabilityPolicy$2 as AvailabilityPolicy, type AvailabilityPolicyUpdated$2 as AvailabilityPolicyUpdated, type BaseEventMetadata$8 as BaseEventMetadata, type BusinessLocation$3 as BusinessLocation, type BusinessSchedule$3 as BusinessSchedule, type CalendarConference$2 as CalendarConference, type CalendarDateTime$2 as CalendarDateTime, CalendarType$2 as CalendarType, type Categories$2 as Categories, type ChangeContext$2 as ChangeContext, type ChangeContextPayloadOneOf$2 as ChangeContextPayloadOneOf, type context$d_CloneServiceOptionsAndVariantsRequest as CloneServiceOptionsAndVariantsRequest, type context$d_CloneServiceOptionsAndVariantsResponse as CloneServiceOptionsAndVariantsResponse, type context$d_CloneServiceOptionsAndVariantsResponseNonNullableFields as CloneServiceOptionsAndVariantsResponseNonNullableFields, type ConferenceProvider$2 as ConferenceProvider, ConferenceType$2 as ConferenceType, type ConsentPolicy$2 as ConsentPolicy, type context$d_CreateServiceOptionsAndVariantsRequest as CreateServiceOptionsAndVariantsRequest, type context$d_CreateServiceOptionsAndVariantsResponse as CreateServiceOptionsAndVariantsResponse, type context$d_CreateServiceOptionsAndVariantsResponseNonNullableFields as CreateServiceOptionsAndVariantsResponseNonNullableFields, type CursorPaging$9 as CursorPaging, type Cursors$a as Cursors, type context$d_CustomServiceOption as CustomServiceOption, Day$2 as Day, DayOfWeek$3 as DayOfWeek, type context$d_DeleteServiceOptionsAndVariantsOptions as DeleteServiceOptionsAndVariantsOptions, type context$d_DeleteServiceOptionsAndVariantsRequest as DeleteServiceOptionsAndVariantsRequest, type context$d_DeleteServiceOptionsAndVariantsResponse as DeleteServiceOptionsAndVariantsResponse, type DomainEvent$a as DomainEvent, type DomainEventBodyOneOf$a as DomainEventBodyOneOf, type Empty$6 as Empty, type EntityCreatedEvent$a as EntityCreatedEvent, type EntityDeletedEvent$a as EntityDeletedEvent, type EntityUpdatedEvent$a as EntityUpdatedEvent, Event$2 as Event, type EventMetadata$7 as EventMetadata, type ExtendedFields$9 as ExtendedFields, type ExternalCalendarInfo$2 as ExternalCalendarInfo, type ExternalCalendarOverrides$2 as ExternalCalendarOverrides, type Frequency$2 as Frequency, type GeoCoordinates$2 as GeoCoordinates, type context$d_GetServiceOptionsAndVariantsByServiceIdRequest as GetServiceOptionsAndVariantsByServiceIdRequest, type context$d_GetServiceOptionsAndVariantsByServiceIdResponse as GetServiceOptionsAndVariantsByServiceIdResponse, type context$d_GetServiceOptionsAndVariantsByServiceIdResponseNonNullableFields as GetServiceOptionsAndVariantsByServiceIdResponseNonNullableFields, type context$d_GetServiceOptionsAndVariantsRequest as GetServiceOptionsAndVariantsRequest, type context$d_GetServiceOptionsAndVariantsResponse as GetServiceOptionsAndVariantsResponse, type context$d_GetServiceOptionsAndVariantsResponseNonNullableFields as GetServiceOptionsAndVariantsResponseNonNullableFields, type IdentificationData$c as IdentificationData, type IdentificationDataIdOneOf$c as IdentificationDataIdOneOf, type Interval$3 as Interval, type IntervalSplit$2 as IntervalSplit, type LinkedSchedule$2 as LinkedSchedule, type LocalDateTime$2 as LocalDateTime, type Locale$2 as Locale, type Location$5 as Location, LocationStatus$2 as LocationStatus, LocationType$5 as LocationType, type LocationsAddress$2 as LocationsAddress, type LocationsAddressLocation$2 as LocationsAddressLocation, type LocationsLocation$2 as LocationsLocation, LocationsLocationType$2 as LocationsLocationType, type LocationsStreetAddress$2 as LocationsStreetAddress, type MessageEnvelope$a as MessageEnvelope, type MigrationData$2 as MigrationData, type MigrationEvent$2 as MigrationEvent, type Money$4 as Money, type Multilingual$2 as Multilingual, type MultipleSessionsCreated$2 as MultipleSessionsCreated, type Paging$4 as Paging, type PagingMetadataV2$3 as PagingMetadataV2, type Participant$2 as Participant, type ParticipantNotification$6 as ParticipantNotification, PlacementType$2 as PlacementType, type Price$3 as Price, type Properties$2 as Properties, type PropertiesChange$2 as PropertiesChange, type context$d_QueryServiceOptionsAndVariantsRequest as QueryServiceOptionsAndVariantsRequest, type context$d_QueryServiceOptionsAndVariantsResponse as QueryServiceOptionsAndVariantsResponse, type context$d_QueryServiceOptionsAndVariantsResponseNonNullableFields as QueryServiceOptionsAndVariantsResponseNonNullableFields, type QueryV2$4 as QueryV2, type QueryV2PagingMethodOneOf$4 as QueryV2PagingMethodOneOf, type Rate$2 as Rate, type RecurringInterval$2 as RecurringInterval, RecurringIntervalType$2 as RecurringIntervalType, type RecurringSessionSplit$2 as RecurringSessionSplit, type RecurringSessionsUpdated$2 as RecurringSessionsUpdated, ResolutionMethod$2 as ResolutionMethod, type Resource$3 as Resource, type ResourceNotification$1 as ResourceNotification, ResourceStatus$1 as ResourceStatus, type RestoreInfo$a as RestoreInfo, type Schedule$3 as Schedule, type ScheduleCancelled$2 as ScheduleCancelled, type ScheduleCreated$2 as ScheduleCreated, type ScheduleNotification$2 as ScheduleNotification, type ScheduleNotificationEventOneOf$2 as ScheduleNotificationEventOneOf, ScheduleStatus$2 as ScheduleStatus, type ScheduleUnassignedFromUser$2 as ScheduleUnassignedFromUser, type ScheduleUpdated$2 as ScheduleUpdated, type ScheduleWithSessions$2 as ScheduleWithSessions, type ServiceChoice$3 as ServiceChoice, type ServiceChoiceChoiceOneOf$3 as ServiceChoiceChoiceOneOf, type context$d_ServiceOption as ServiceOption, type context$d_ServiceOptionOptionSpecificDataOneOf as ServiceOptionOptionSpecificDataOneOf, context$d_ServiceOptionType as ServiceOptionType, type context$d_ServiceOptions as ServiceOptions, type context$d_ServiceOptionsAndVariants as ServiceOptionsAndVariants, type context$d_ServiceOptionsAndVariantsCreatedEnvelope as ServiceOptionsAndVariantsCreatedEnvelope, type context$d_ServiceOptionsAndVariantsDeletedEnvelope as ServiceOptionsAndVariantsDeletedEnvelope, type context$d_ServiceOptionsAndVariantsListQueryBuilder as ServiceOptionsAndVariantsListQueryBuilder, type context$d_ServiceOptionsAndVariantsListQueryResult as ServiceOptionsAndVariantsListQueryResult, type context$d_ServiceOptionsAndVariantsNonNullableFields as ServiceOptionsAndVariantsNonNullableFields, type context$d_ServiceOptionsAndVariantsUpdatedEnvelope as ServiceOptionsAndVariantsUpdatedEnvelope, type context$d_ServiceVariant as ServiceVariant, type context$d_ServiceVariants as ServiceVariants, type Session$2 as Session, type SessionCancelled$2 as SessionCancelled, type SessionCreated$2 as SessionCreated, SessionType$2 as SessionType, type SessionUpdated$2 as SessionUpdated, type SessionVersion$2 as SessionVersion, type SiteCloned$2 as SiteCloned, type SiteCreated$4 as SiteCreated, type SitePropertiesEvent$2 as SitePropertiesEvent, type SitePropertiesNotification$2 as SitePropertiesNotification, type SitePropertiesOnScheduleCreation$2 as SitePropertiesOnScheduleCreation, SortOrder$9 as SortOrder, type Sorting$9 as Sorting, type SpecialHourPeriod$3 as SpecialHourPeriod, type SplitInterval$2 as SplitInterval, type StaffData$2 as StaffData, Status$3 as Status, type StreetAddress$5 as StreetAddress, type Subdivision$5 as Subdivision, type SupportedLanguage$2 as SupportedLanguage, type TimePeriod$3 as TimePeriod, type Translation$2 as Translation, Transparency$2 as Transparency, type context$d_UpdateServiceOptionsAndVariants as UpdateServiceOptionsAndVariants, type context$d_UpdateServiceOptionsAndVariantsRequest as UpdateServiceOptionsAndVariantsRequest, type context$d_UpdateServiceOptionsAndVariantsResponse as UpdateServiceOptionsAndVariantsResponse, type context$d_UpdateServiceOptionsAndVariantsResponseNonNullableFields as UpdateServiceOptionsAndVariantsResponseNonNullableFields, type V4Address$1 as V4Address, type Version$2 as Version, WebhookIdentityType$a as WebhookIdentityType, type context$d__publicOnServiceOptionsAndVariantsCreatedType as _publicOnServiceOptionsAndVariantsCreatedType, type context$d__publicOnServiceOptionsAndVariantsDeletedType as _publicOnServiceOptionsAndVariantsDeletedType, type context$d__publicOnServiceOptionsAndVariantsUpdatedType as _publicOnServiceOptionsAndVariantsUpdatedType, context$d_cloneServiceOptionsAndVariants as cloneServiceOptionsAndVariants, context$d_createServiceOptionsAndVariants as createServiceOptionsAndVariants, context$d_deleteServiceOptionsAndVariants as deleteServiceOptionsAndVariants, context$d_getServiceOptionsAndVariants as getServiceOptionsAndVariants, context$d_getServiceOptionsAndVariantsByServiceId as getServiceOptionsAndVariantsByServiceId, context$d_onServiceOptionsAndVariantsCreated as onServiceOptionsAndVariantsCreated, context$d_onServiceOptionsAndVariantsDeleted as onServiceOptionsAndVariantsDeleted, context$d_onServiceOptionsAndVariantsUpdated as onServiceOptionsAndVariantsUpdated, onServiceOptionsAndVariantsCreated$1 as publicOnServiceOptionsAndVariantsCreated, onServiceOptionsAndVariantsDeleted$1 as publicOnServiceOptionsAndVariantsDeleted, onServiceOptionsAndVariantsUpdated$1 as publicOnServiceOptionsAndVariantsUpdated, context$d_queryServiceOptionsAndVariants as queryServiceOptionsAndVariants, context$d_updateServiceOptionsAndVariants as updateServiceOptionsAndVariants };
7162
+ export { type ActionEvent$a as ActionEvent, type Address$6 as Address, type AddressHint$2 as AddressHint, type AddressLocation$5 as AddressLocation, type AddressStreetOneOf$5 as AddressStreetOneOf, ApprovalStatus$2 as ApprovalStatus, type Availability$2 as Availability, type AvailabilityConstraints$2 as AvailabilityConstraints, type AvailabilityPolicy$2 as AvailabilityPolicy, type AvailabilityPolicyUpdated$2 as AvailabilityPolicyUpdated, type BaseEventMetadata$8 as BaseEventMetadata, type BusinessLocation$3 as BusinessLocation, type BusinessSchedule$3 as BusinessSchedule, type CalendarConference$2 as CalendarConference, type CalendarDateTime$2 as CalendarDateTime, CalendarType$2 as CalendarType, type Categories$2 as Categories, type ChangeContext$2 as ChangeContext, type ChangeContextPayloadOneOf$2 as ChangeContextPayloadOneOf, type context$d_CloneServiceOptionsAndVariantsRequest as CloneServiceOptionsAndVariantsRequest, type context$d_CloneServiceOptionsAndVariantsResponse as CloneServiceOptionsAndVariantsResponse, type context$d_CloneServiceOptionsAndVariantsResponseNonNullableFields as CloneServiceOptionsAndVariantsResponseNonNullableFields, type ConferenceProvider$2 as ConferenceProvider, ConferenceType$2 as ConferenceType, type ConsentPolicy$2 as ConsentPolicy, type context$d_CreateServiceOptionsAndVariantsRequest as CreateServiceOptionsAndVariantsRequest, type context$d_CreateServiceOptionsAndVariantsResponse as CreateServiceOptionsAndVariantsResponse, type context$d_CreateServiceOptionsAndVariantsResponseNonNullableFields as CreateServiceOptionsAndVariantsResponseNonNullableFields, type CursorPaging$9 as CursorPaging, type Cursors$a as Cursors, type context$d_CustomServiceOption as CustomServiceOption, Day$2 as Day, DayOfWeek$3 as DayOfWeek, type context$d_DeleteServiceOptionsAndVariantsOptions as DeleteServiceOptionsAndVariantsOptions, type context$d_DeleteServiceOptionsAndVariantsRequest as DeleteServiceOptionsAndVariantsRequest, type context$d_DeleteServiceOptionsAndVariantsResponse as DeleteServiceOptionsAndVariantsResponse, type DomainEvent$a as DomainEvent, type DomainEventBodyOneOf$a as DomainEventBodyOneOf, type Duration$1 as Duration, type context$d_DurationServiceOption as DurationServiceOption, type Empty$6 as Empty, type EntityCreatedEvent$a as EntityCreatedEvent, type EntityDeletedEvent$a as EntityDeletedEvent, type EntityUpdatedEvent$a as EntityUpdatedEvent, Event$2 as Event, type EventMetadata$7 as EventMetadata, type ExtendedFields$9 as ExtendedFields, type ExternalCalendarInfo$2 as ExternalCalendarInfo, type ExternalCalendarOverrides$2 as ExternalCalendarOverrides, type Frequency$2 as Frequency, type GeoCoordinates$2 as GeoCoordinates, type context$d_GetServiceOptionsAndVariantsByServiceIdRequest as GetServiceOptionsAndVariantsByServiceIdRequest, type context$d_GetServiceOptionsAndVariantsByServiceIdResponse as GetServiceOptionsAndVariantsByServiceIdResponse, type context$d_GetServiceOptionsAndVariantsByServiceIdResponseNonNullableFields as GetServiceOptionsAndVariantsByServiceIdResponseNonNullableFields, type context$d_GetServiceOptionsAndVariantsRequest as GetServiceOptionsAndVariantsRequest, type context$d_GetServiceOptionsAndVariantsResponse as GetServiceOptionsAndVariantsResponse, type context$d_GetServiceOptionsAndVariantsResponseNonNullableFields as GetServiceOptionsAndVariantsResponseNonNullableFields, type IdentificationData$c as IdentificationData, type IdentificationDataIdOneOf$c as IdentificationDataIdOneOf, type Interval$3 as Interval, type IntervalSplit$2 as IntervalSplit, type LinkedSchedule$2 as LinkedSchedule, type LocalDateTime$2 as LocalDateTime, type Locale$2 as Locale, type Location$5 as Location, LocationStatus$2 as LocationStatus, LocationType$5 as LocationType, type LocationsAddress$2 as LocationsAddress, type LocationsAddressLocation$2 as LocationsAddressLocation, type LocationsLocation$2 as LocationsLocation, LocationsLocationType$2 as LocationsLocationType, type LocationsStreetAddress$2 as LocationsStreetAddress, type MessageEnvelope$a as MessageEnvelope, type MigrationData$2 as MigrationData, type MigrationEvent$2 as MigrationEvent, type Money$4 as Money, type Multilingual$2 as Multilingual, type MultipleSessionsCreated$2 as MultipleSessionsCreated, type Paging$4 as Paging, type PagingMetadataV2$3 as PagingMetadataV2, type Participant$2 as Participant, type ParticipantNotification$6 as ParticipantNotification, PlacementType$2 as PlacementType, type Price$3 as Price, type Properties$2 as Properties, type PropertiesChange$2 as PropertiesChange, type context$d_QueryServiceOptionsAndVariantsRequest as QueryServiceOptionsAndVariantsRequest, type context$d_QueryServiceOptionsAndVariantsResponse as QueryServiceOptionsAndVariantsResponse, type context$d_QueryServiceOptionsAndVariantsResponseNonNullableFields as QueryServiceOptionsAndVariantsResponseNonNullableFields, type QueryV2$4 as QueryV2, type QueryV2PagingMethodOneOf$4 as QueryV2PagingMethodOneOf, type Rate$2 as Rate, type RecurringInterval$2 as RecurringInterval, RecurringIntervalType$2 as RecurringIntervalType, type RecurringSessionSplit$2 as RecurringSessionSplit, type RecurringSessionsUpdated$2 as RecurringSessionsUpdated, ResolutionMethod$2 as ResolutionMethod, type Resource$3 as Resource, type ResourceNotification$1 as ResourceNotification, ResourceStatus$1 as ResourceStatus, type RestoreInfo$a as RestoreInfo, type Schedule$3 as Schedule, type ScheduleCancelled$2 as ScheduleCancelled, type ScheduleCreated$2 as ScheduleCreated, type ScheduleNotification$2 as ScheduleNotification, type ScheduleNotificationEventOneOf$2 as ScheduleNotificationEventOneOf, ScheduleStatus$2 as ScheduleStatus, type ScheduleUnassignedFromUser$2 as ScheduleUnassignedFromUser, type ScheduleUpdated$2 as ScheduleUpdated, type ScheduleWithSessions$2 as ScheduleWithSessions, type ServiceChoice$3 as ServiceChoice, type ServiceChoiceChoiceOneOf$3 as ServiceChoiceChoiceOneOf, type context$d_ServiceOption as ServiceOption, type context$d_ServiceOptionOptionSpecificDataOneOf as ServiceOptionOptionSpecificDataOneOf, context$d_ServiceOptionType as ServiceOptionType, type context$d_ServiceOptions as ServiceOptions, type context$d_ServiceOptionsAndVariants as ServiceOptionsAndVariants, type context$d_ServiceOptionsAndVariantsCreatedEnvelope as ServiceOptionsAndVariantsCreatedEnvelope, type context$d_ServiceOptionsAndVariantsDeletedEnvelope as ServiceOptionsAndVariantsDeletedEnvelope, type context$d_ServiceOptionsAndVariantsListQueryBuilder as ServiceOptionsAndVariantsListQueryBuilder, type context$d_ServiceOptionsAndVariantsListQueryResult as ServiceOptionsAndVariantsListQueryResult, type context$d_ServiceOptionsAndVariantsNonNullableFields as ServiceOptionsAndVariantsNonNullableFields, type context$d_ServiceOptionsAndVariantsUpdatedEnvelope as ServiceOptionsAndVariantsUpdatedEnvelope, type context$d_ServiceVariant as ServiceVariant, type context$d_ServiceVariants as ServiceVariants, type Session$2 as Session, type SessionCancelled$2 as SessionCancelled, type SessionCreated$2 as SessionCreated, SessionType$2 as SessionType, type SessionUpdated$2 as SessionUpdated, type SessionVersion$2 as SessionVersion, type SiteCloned$2 as SiteCloned, type SiteCreated$4 as SiteCreated, type SitePropertiesEvent$2 as SitePropertiesEvent, type SitePropertiesNotification$2 as SitePropertiesNotification, type SitePropertiesOnScheduleCreation$2 as SitePropertiesOnScheduleCreation, SortOrder$9 as SortOrder, type Sorting$9 as Sorting, type SpecialHourPeriod$3 as SpecialHourPeriod, type SplitInterval$2 as SplitInterval, type StaffData$2 as StaffData, Status$3 as Status, type StreetAddress$5 as StreetAddress, type Subdivision$5 as Subdivision, type SupportedLanguage$2 as SupportedLanguage, type TimePeriod$3 as TimePeriod, type Translation$2 as Translation, Transparency$2 as Transparency, type context$d_UpdateServiceOptionsAndVariants as UpdateServiceOptionsAndVariants, type context$d_UpdateServiceOptionsAndVariantsRequest as UpdateServiceOptionsAndVariantsRequest, type context$d_UpdateServiceOptionsAndVariantsResponse as UpdateServiceOptionsAndVariantsResponse, type context$d_UpdateServiceOptionsAndVariantsResponseNonNullableFields as UpdateServiceOptionsAndVariantsResponseNonNullableFields, type V4Address$1 as V4Address, type Version$2 as Version, WebhookIdentityType$a as WebhookIdentityType, type context$d__publicOnServiceOptionsAndVariantsCreatedType as _publicOnServiceOptionsAndVariantsCreatedType, type context$d__publicOnServiceOptionsAndVariantsDeletedType as _publicOnServiceOptionsAndVariantsDeletedType, type context$d__publicOnServiceOptionsAndVariantsUpdatedType as _publicOnServiceOptionsAndVariantsUpdatedType, context$d_cloneServiceOptionsAndVariants as cloneServiceOptionsAndVariants, context$d_createServiceOptionsAndVariants as createServiceOptionsAndVariants, context$d_deleteServiceOptionsAndVariants as deleteServiceOptionsAndVariants, context$d_getServiceOptionsAndVariants as getServiceOptionsAndVariants, context$d_getServiceOptionsAndVariantsByServiceId as getServiceOptionsAndVariantsByServiceId, context$d_onServiceOptionsAndVariantsCreated as onServiceOptionsAndVariantsCreated, context$d_onServiceOptionsAndVariantsDeleted as onServiceOptionsAndVariantsDeleted, context$d_onServiceOptionsAndVariantsUpdated as onServiceOptionsAndVariantsUpdated, onServiceOptionsAndVariantsCreated$1 as publicOnServiceOptionsAndVariantsCreated, onServiceOptionsAndVariantsDeleted$1 as publicOnServiceOptionsAndVariantsDeleted, onServiceOptionsAndVariantsUpdated$1 as publicOnServiceOptionsAndVariantsUpdated, context$d_queryServiceOptionsAndVariants as queryServiceOptionsAndVariants, context$d_updateServiceOptionsAndVariants as updateServiceOptionsAndVariants };
7139
7163
  }
7140
7164
 
7141
7165
  /**
@@ -12697,16 +12721,27 @@ interface V2Schedule {
12697
12721
  * @readonly
12698
12722
  */
12699
12723
  lastSessionEnd?: Date | null;
12700
- /** Limitations dictating the way session availability is calculated. For appointments only. */
12724
+ /** Limitations affecting the availability of the service. */
12701
12725
  availabilityConstraints?: V2AvailabilityConstraints;
12702
12726
  }
12703
12727
  interface V2AvailabilityConstraints {
12704
12728
  /**
12705
- * A list of duration options for sessions, in minutes.
12729
+ * A calculated list of all available durations for a service.
12730
+ *
12731
+ * If the service payment is of typed `Varied` with `Duration` option, this list will contain the durations of the variants.
12732
+ * The durations order will reflect the order of the variants.
12733
+ *
12734
+ * For any other type of service or payment this list will mirror the durations specified in `session_durations`.
12735
+ * @readonly
12736
+ */
12737
+ durations?: Duration[];
12738
+ /**
12739
+ * A list of durations for sessions, in minutes.
12706
12740
  *
12707
- * The availability calculation generates slots for sessions with these durations, unless there is a conflict with existing sessions or other availability constraints exist.
12708
- * Required for services of type `APPOINTMENT` to allow the customer to book a session of the service. Not relevant for other service types.
12741
+ * For service type `APPOINTMENT`: The availability calculation generates slots for sessions with these durations,
12742
+ * unless there is a conflict with existing sessions or other availability constraints exist.
12709
12743
  *
12744
+ * For services type `COURSE` and `CLASS`: The sessions_durations will be a computed list of all the sessions durations in the schedule.
12710
12745
  *
12711
12746
  * Min: 1 minute, Max: 30 days, 23 hours, and 59 minutes
12712
12747
  */
@@ -12720,6 +12755,14 @@ interface V2AvailabilityConstraints {
12720
12755
  */
12721
12756
  timeBetweenSessions?: number;
12722
12757
  }
12758
+ interface Duration {
12759
+ /**
12760
+ * The duration of the service in minutes.
12761
+ *
12762
+ * Min: 1 minute, Max: 30 days, 23 hours, and 59 minutes
12763
+ */
12764
+ minutes?: number;
12765
+ }
12723
12766
  interface StaffMember$1 {
12724
12767
  /**
12725
12768
  * ID of the staff member providing the service, can be used to retrieve resource information using wix-bookings-backend resources API.
@@ -15576,7 +15619,11 @@ interface BookingPolicyNonNullableFields$1 {
15576
15619
  cancellationFeePolicy?: CancellationFeePolicyNonNullableFields$1;
15577
15620
  saveCreditCardPolicy?: SaveCreditCardPolicyNonNullableFields$1;
15578
15621
  }
15622
+ interface DurationNonNullableFields {
15623
+ minutes: number;
15624
+ }
15579
15625
  interface V2AvailabilityConstraintsNonNullableFields {
15626
+ durations: DurationNonNullableFields[];
15580
15627
  sessionDurations: number[];
15581
15628
  timeBetweenSessions: number;
15582
15629
  }
@@ -16445,6 +16492,7 @@ type context$6_DisablePricingPlansForServiceResponse = DisablePricingPlansForSer
16445
16492
  type context$6_DisablePricingPlansForServiceResponseNonNullableFields = DisablePricingPlansForServiceResponseNonNullableFields;
16446
16493
  type context$6_Discount = Discount;
16447
16494
  type context$6_DiscountDiscountOneOf = DiscountDiscountOneOf;
16495
+ type context$6_Duration = Duration;
16448
16496
  type context$6_EnablePricingPlansForServiceRequest = EnablePricingPlansForServiceRequest;
16449
16497
  type context$6_EnablePricingPlansForServiceResponse = EnablePricingPlansForServiceResponse;
16450
16498
  type context$6_EnablePricingPlansForServiceResponseNonNullableFields = EnablePricingPlansForServiceResponseNonNullableFields;
@@ -16614,7 +16662,7 @@ declare const context$6_setServiceLocations: typeof setServiceLocations;
16614
16662
  declare const context$6_updateService: typeof updateService;
16615
16663
  declare const context$6_validateSlug: typeof validateSlug;
16616
16664
  declare namespace context$6 {
16617
- export { context$6_Action as Action, type ActionEvent$4 as ActionEvent, type Address$4 as Address, type AddressHint$1 as AddressHint, type AddressLocation$3 as AddressLocation, type AddressStreetOneOf$3 as AddressStreetOneOf, type context$6_Aggregation as Aggregation, type AggregationData$1 as AggregationData, type context$6_AggregationKindOneOf as AggregationKindOneOf, type AggregationResults$1 as AggregationResults, type AggregationResultsResultOneOf$1 as AggregationResultsResultOneOf, type context$6_AggregationResultsScalarResult as AggregationResultsScalarResult, AggregationType$1 as AggregationType, type ApplicationError$2 as ApplicationError, ApprovalStatus$1 as ApprovalStatus, type Availability$1 as Availability, type AvailabilityConstraints$1 as AvailabilityConstraints, type AvailabilityPolicy$1 as AvailabilityPolicy, type AvailabilityPolicyUpdated$1 as AvailabilityPolicyUpdated, type BaseEventMetadata$4 as BaseEventMetadata, type context$6_Behavior as Behavior, type context$6_BehaviorBehaviorOneOf as BehaviorBehaviorOneOf, type context$6_Benefit as Benefit, type context$6_BenefitNotification as BenefitNotification, context$6_BenefitType as BenefitType, type BookAfterStartPolicy$1 as BookAfterStartPolicy, type context$6_BookingForm as BookingForm, type BookingPolicy$1 as BookingPolicy, type context$6_BookingPolicyWithServices as BookingPolicyWithServices, type BulkActionMetadata$2 as BulkActionMetadata, type context$6_BulkCreateServicesRequest as BulkCreateServicesRequest, type context$6_BulkCreateServicesResponse as BulkCreateServicesResponse, type context$6_BulkDeleteServicesByFilterOptions as BulkDeleteServicesByFilterOptions, type context$6_BulkDeleteServicesByFilterRequest as BulkDeleteServicesByFilterRequest, type context$6_BulkDeleteServicesByFilterResponse as BulkDeleteServicesByFilterResponse, type context$6_BulkDeleteServicesByFilterResponseNonNullableFields as BulkDeleteServicesByFilterResponseNonNullableFields, type context$6_BulkDeleteServicesOptions as BulkDeleteServicesOptions, type context$6_BulkDeleteServicesRequest as BulkDeleteServicesRequest, type context$6_BulkDeleteServicesResponse as BulkDeleteServicesResponse, type context$6_BulkDeleteServicesResponseNonNullableFields as BulkDeleteServicesResponseNonNullableFields, type context$6_BulkServiceResult as BulkServiceResult, type context$6_BulkUpdateServicesByFilterOptions as BulkUpdateServicesByFilterOptions, type context$6_BulkUpdateServicesByFilterRequest as BulkUpdateServicesByFilterRequest, type context$6_BulkUpdateServicesByFilterResponse as BulkUpdateServicesByFilterResponse, type context$6_BulkUpdateServicesByFilterResponseNonNullableFields as BulkUpdateServicesByFilterResponseNonNullableFields, type context$6_BulkUpdateServicesOptions as BulkUpdateServicesOptions, type context$6_BulkUpdateServicesRequest as BulkUpdateServicesRequest, type context$6_BulkUpdateServicesResponse as BulkUpdateServicesResponse, type context$6_BulkUpdateServicesResponseNonNullableFields as BulkUpdateServicesResponseNonNullableFields, type context$6_BusinessLocation as BusinessLocation, type context$6_BusinessLocationOptions as BusinessLocationOptions, type context$6_BusinessLocations as BusinessLocations, type BusinessSchedule$2 as BusinessSchedule, type CalendarConference$1 as CalendarConference, type CalendarDateTime$1 as CalendarDateTime, CalendarType$1 as CalendarType, type CancellationFeePolicy$1 as CancellationFeePolicy, type CancellationPolicy$1 as CancellationPolicy, type CancellationWindow$1 as CancellationWindow, type CancellationWindowFeeOneOf$1 as CancellationWindowFeeOneOf, type Categories$1 as Categories, type Category$1 as Category, type CategoryNotification$1 as CategoryNotification, context$6_CategoryNotificationEvent as CategoryNotificationEvent, context$6_CategoryStatus as CategoryStatus, type ChangeContext$1 as ChangeContext, type ChangeContextPayloadOneOf$1 as ChangeContextPayloadOneOf, context$6_CloneErrors as CloneErrors, type context$6_CloneServiceOptions as CloneServiceOptions, type context$6_CloneServiceRequest as CloneServiceRequest, type context$6_CloneServiceResponse as CloneServiceResponse, type context$6_CloneServiceResponseNonNullableFields as CloneServiceResponseNonNullableFields, type context$6_CommonAddress as CommonAddress, type context$6_CommonAddressLocation as CommonAddressLocation, type context$6_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type context$6_CommonStreetAddress as CommonStreetAddress, type ConferenceProvider$1 as ConferenceProvider, ConferenceType$1 as ConferenceType, type context$6_Conferencing as Conferencing, type context$6_ConnectedService as ConnectedService, type ConsentPolicy$1 as ConsentPolicy, type context$6_CountServicesOptions as CountServicesOptions, type context$6_CountServicesRequest as CountServicesRequest, type context$6_CountServicesResponse as CountServicesResponse, type context$6_CountServicesResponseNonNullableFields as CountServicesResponseNonNullableFields, type context$6_CreateServiceRequest as CreateServiceRequest, type context$6_CreateServiceResponse as CreateServiceResponse, type context$6_CreateServiceResponseNonNullableFields as CreateServiceResponseNonNullableFields, context$6_CrudType as CrudType, type CursorPaging$4 as CursorPaging, type CursorPagingMetadata$3 as CursorPagingMetadata, type CursorQuery$2 as CursorQuery, type CursorQueryPagingMethodOneOf$2 as CursorQueryPagingMethodOneOf, type CursorSearch$1 as CursorSearch, type CursorSearchPagingMethodOneOf$1 as CursorSearchPagingMethodOneOf, type Cursors$4 as Cursors, type context$6_CustomLocationOptions as CustomLocationOptions, type context$6_CustomLocations as CustomLocations, type context$6_CustomPayment as CustomPayment, type context$6_CustomerLocations as CustomerLocations, type context$6_DateHistogramAggregation as DateHistogramAggregation, context$6_DateHistogramAggregationInterval as DateHistogramAggregationInterval, type context$6_DateHistogramResult as DateHistogramResult, type context$6_DateHistogramResults as DateHistogramResults, Day$1 as Day, DayOfWeek$2 as DayOfWeek, type context$6_Delete as Delete, type context$6_DeleteServiceOptions as DeleteServiceOptions, type context$6_DeleteServiceRequest as DeleteServiceRequest, type context$6_DeleteServiceResponse as DeleteServiceResponse, type context$6_DisablePricingPlansForServiceOptions as DisablePricingPlansForServiceOptions, type context$6_DisablePricingPlansForServiceRequest as DisablePricingPlansForServiceRequest, type context$6_DisablePricingPlansForServiceResponse as DisablePricingPlansForServiceResponse, type context$6_DisablePricingPlansForServiceResponseNonNullableFields as DisablePricingPlansForServiceResponseNonNullableFields, type context$6_Discount as Discount, type context$6_DiscountDiscountOneOf as DiscountDiscountOneOf, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type Empty$2 as Empty, type context$6_EnablePricingPlansForServiceRequest as EnablePricingPlansForServiceRequest, type context$6_EnablePricingPlansForServiceResponse as EnablePricingPlansForServiceResponse, type context$6_EnablePricingPlansForServiceResponseNonNullableFields as EnablePricingPlansForServiceResponseNonNullableFields, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type context$6_EntryPass as EntryPass, Event$1 as Event, type EventMetadata$3 as EventMetadata, type ExtendedFields$4 as ExtendedFields, type ExternalCalendarInfo$1 as ExternalCalendarInfo, type ExternalCalendarOverrides$1 as ExternalCalendarOverrides, type context$6_FixedPayment as FixedPayment, type context$6_Form as Form, type context$6_FormDetails as FormDetails, type context$6_FormSettings as FormSettings, type Frequency$1 as Frequency, type GeoCoordinates$1 as GeoCoordinates, type context$6_GetServiceAvailabilityConstraintsRequest as GetServiceAvailabilityConstraintsRequest, type context$6_GetServiceAvailabilityConstraintsResponse as GetServiceAvailabilityConstraintsResponse, type context$6_GetServiceRequest as GetServiceRequest, type context$6_GetServiceResponse as GetServiceResponse, type context$6_GetServiceResponseNonNullableFields as GetServiceResponseNonNullableFields, type context$6_GroupByAggregation as GroupByAggregation, type context$6_GroupByAggregationKindOneOf as GroupByAggregationKindOneOf, type GroupByValueResults$1 as GroupByValueResults, type context$6_HtmlSitePublished as HtmlSitePublished, type IdentificationData$6 as IdentificationData, type IdentificationDataIdOneOf$6 as IdentificationDataIdOneOf, type context$6_IncludeMissingValuesOptions as IncludeMissingValuesOptions, type Interval$1 as Interval, type IntervalSplit$1 as IntervalSplit, type context$6_InvalidPricingPlan as InvalidPricingPlan, context$6_InvalidSlugError as InvalidSlugError, type ItemMetadata$2 as ItemMetadata, type context$6_Keyword as Keyword, type LimitEarlyBookingPolicy$1 as LimitEarlyBookingPolicy, type LimitLateBookingPolicy$1 as LimitLateBookingPolicy, type LinkedSchedule$1 as LinkedSchedule, type LocalDateTime$1 as LocalDateTime, type Locale$1 as Locale, type Location$3 as Location, LocationStatus$1 as LocationStatus, LocationType$3 as LocationType, context$6_LocationTypeEnumLocationType as LocationTypeEnumLocationType, type LocationsAddress$1 as LocationsAddress, type LocationsAddressLocation$1 as LocationsAddressLocation, type LocationsLocation$1 as LocationsLocation, LocationsLocationType$1 as LocationsLocationType, type LocationsStreetAddress$1 as LocationsStreetAddress, type context$6_MaskedService as MaskedService, type context$6_Media as Media, type MediaItem$1 as MediaItem, type context$6_MediaItemItemOneOf as MediaItemItemOneOf, type MessageEnvelope$5 as MessageEnvelope, type MigrationData$1 as MigrationData, type MigrationEvent$1 as MigrationEvent, context$6_MissingValues as MissingValues, Mode$1 as Mode, type Money$1 as Money, type context$6_MoveToNewLocationsOptions as MoveToNewLocationsOptions, type context$6_MultiServiceEnabledNotification as MultiServiceEnabledNotification, type Multilingual$1 as Multilingual, type MultipleSessionsCreated$1 as MultipleSessionsCreated, type context$6_NestedAggregation as NestedAggregation, type context$6_NestedAggregationItem as NestedAggregationItem, type context$6_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type NestedAggregationResults$1 as NestedAggregationResults, type NestedAggregationResultsResultOneOf$1 as NestedAggregationResultsResultOneOf, context$6_NestedAggregationType as NestedAggregationType, type context$6_NestedResultValue as NestedResultValue, type context$6_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type context$6_NestedResults as NestedResults, type NestedValueAggregationResult$1 as NestedValueAggregationResult, type context$6_OnlineBooking as OnlineBooking, type context$6_Page as Page, type Paging$2 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type Participant$1 as Participant, type ParticipantNotification$4 as ParticipantNotification, type ParticipantsPolicy$1 as ParticipantsPolicy, type context$6_Payment as Payment, type context$6_PaymentOptions as PaymentOptions, type context$6_PaymentRateOneOf as PaymentRateOneOf, PlacementType$1 as PlacementType, type PolicyDescription$1 as PolicyDescription, type Price$1 as Price, type Properties$1 as Properties, type PropertiesChange$1 as PropertiesChange, type context$6_QueryBookingFormsRequest as QueryBookingFormsRequest, type context$6_QueryBookingFormsResponse as QueryBookingFormsResponse, type context$6_QueryCategoriesFilter as QueryCategoriesFilter, type context$6_QueryCategoriesOptions as QueryCategoriesOptions, type context$6_QueryCategoriesRequest as QueryCategoriesRequest, type context$6_QueryCategoriesResponse as QueryCategoriesResponse, type context$6_QueryCategoriesResponseNonNullableFields as QueryCategoriesResponseNonNullableFields, type context$6_QueryLocationsFilter as QueryLocationsFilter, type context$6_QueryLocationsOptions as QueryLocationsOptions, type context$6_QueryLocationsRequest as QueryLocationsRequest, type context$6_QueryLocationsResponse as QueryLocationsResponse, type context$6_QueryLocationsResponseNonNullableFields as QueryLocationsResponseNonNullableFields, type context$6_QueryPoliciesRequest as QueryPoliciesRequest, type context$6_QueryPoliciesResponse as QueryPoliciesResponse, type context$6_QueryPoliciesResponseNonNullableFields as QueryPoliciesResponseNonNullableFields, type context$6_QueryServicesMultiLanguageRequest as QueryServicesMultiLanguageRequest, type context$6_QueryServicesMultiLanguageResponse as QueryServicesMultiLanguageResponse, type context$6_QueryServicesOptions as QueryServicesOptions, type context$6_QueryServicesRequest as QueryServicesRequest, type context$6_QueryServicesResponse as QueryServicesResponse, type context$6_QueryServicesResponseNonNullableFields as QueryServicesResponseNonNullableFields, type QueryV2$2 as QueryV2, type QueryV2PagingMethodOneOf$2 as QueryV2PagingMethodOneOf, type context$6_RangeAggregation as RangeAggregation, type RangeAggregationResult$1 as RangeAggregationResult, type context$6_RangeBucket as RangeBucket, type context$6_RangeResult as RangeResult, type RangeResults$1 as RangeResults, type Rate$1 as Rate, context$6_RateType as RateType, type RecurringInterval$1 as RecurringInterval, RecurringIntervalType$1 as RecurringIntervalType, type RecurringSessionSplit$1 as RecurringSessionSplit, type RecurringSessionsUpdated$1 as RecurringSessionsUpdated, type context$6_ReindexMessage as ReindexMessage, type context$6_ReindexMessageActionOneOf as ReindexMessageActionOneOf, type context$6_RemovedLocationSessionsAction as RemovedLocationSessionsAction, type context$6_RemovedLocationSessionsActionActionOptionsOneOf as RemovedLocationSessionsActionActionOptionsOneOf, RequestedFields$1 as RequestedFields, type ReschedulePolicy$1 as ReschedulePolicy, ResolutionMethod$1 as ResolutionMethod, type Resource$1 as Resource, type context$6_ResourceGroup as ResourceGroup, type context$6_ResourceIds as ResourceIds, type context$6_ResourceNotification as ResourceNotification, context$6_ResourceNotificationEvent as ResourceNotificationEvent, context$6_ResourceStatus as ResourceStatus, type context$6_ResourceType as ResourceType, type ResourcesPolicy$1 as ResourcesPolicy, type RestoreInfo$4 as RestoreInfo, type context$6_Results as Results, type SaveCreditCardPolicy$1 as SaveCreditCardPolicy, type context$6_ScalarAggregation as ScalarAggregation, type ScalarResult$1 as ScalarResult, ScalarType$1 as ScalarType, type Schedule$1 as Schedule, type ScheduleCancelled$1 as ScheduleCancelled, type ScheduleCreated$1 as ScheduleCreated, type ScheduleNotification$1 as ScheduleNotification, type ScheduleNotificationEventOneOf$1 as ScheduleNotificationEventOneOf, ScheduleStatus$1 as ScheduleStatus, type ScheduleUnassignedFromUser$1 as ScheduleUnassignedFromUser, type ScheduleUpdated$1 as ScheduleUpdated, type ScheduleWithSessions$1 as ScheduleWithSessions, type context$6_Schema as Schema, type SearchDetails$1 as SearchDetails, type context$6_SearchServicesRequest as SearchServicesRequest, type context$6_SearchServicesResponse as SearchServicesResponse, type context$6_SearchServicesResponseNonNullableFields as SearchServicesResponseNonNullableFields, type context$6_SeoSchema as SeoSchema, type context$6_Service as Service, type context$6_ServiceAvailabilityConstraints as ServiceAvailabilityConstraints, type context$6_ServiceCreatedEnvelope as ServiceCreatedEnvelope, type context$6_ServiceDeletedEnvelope as ServiceDeletedEnvelope, type context$6_ServiceNonNullableFields as ServiceNonNullableFields, type context$6_ServiceResource as ServiceResource, type context$6_ServiceResourceSelectionOneOf as ServiceResourceSelectionOneOf, context$6_ServiceType as ServiceType, type context$6_ServiceUpdatedEnvelope as ServiceUpdatedEnvelope, type context$6_ServicesQueryBuilder as ServicesQueryBuilder, type context$6_ServicesQueryResult as ServicesQueryResult, type context$6_ServicesUrlsChanged as ServicesUrlsChanged, type Session$1 as Session, type SessionCancelled$1 as SessionCancelled, type SessionCreated$1 as SessionCreated, SessionType$1 as SessionType, type SessionUpdated$1 as SessionUpdated, type SessionVersion$1 as SessionVersion, type context$6_SetCustomSlugEvent as SetCustomSlugEvent, type context$6_SetCustomSlugRequest as SetCustomSlugRequest, type context$6_SetCustomSlugResponse as SetCustomSlugResponse, type context$6_SetCustomSlugResponseNonNullableFields as SetCustomSlugResponseNonNullableFields, type context$6_SetServiceLocationsOptions as SetServiceLocationsOptions, type context$6_SetServiceLocationsRequest as SetServiceLocationsRequest, type context$6_SetServiceLocationsResponse as SetServiceLocationsResponse, type context$6_SetServiceLocationsResponseNonNullableFields as SetServiceLocationsResponseNonNullableFields, type context$6_Settings as Settings, type SiteCloned$1 as SiteCloned, type SiteCreated$2 as SiteCreated, type SitePropertiesEvent$1 as SitePropertiesEvent, type SitePropertiesNotification$1 as SitePropertiesNotification, type SitePropertiesOnScheduleCreation$1 as SitePropertiesOnScheduleCreation, type context$6_Slug as Slug, context$6_SortDirection as SortDirection, SortOrder$4 as SortOrder, context$6_SortType as SortType, type Sorting$4 as Sorting, type SpecialHourPeriod$2 as SpecialHourPeriod, type SplitInterval$1 as SplitInterval, type StaffData$1 as StaffData, type context$6_StaffMediaItem as StaffMediaItem, type context$6_StaffMediaItemItemOneOf as StaffMediaItemItemOneOf, type StaffMember$1 as StaffMember, type context$6_StaffMemberDetails as StaffMemberDetails, Status$2 as Status, type StreetAddress$3 as StreetAddress, type Subdivision$3 as Subdivision, type SupportedLanguage$1 as SupportedLanguage, type context$6_Tag as Tag, type TimePeriod$2 as TimePeriod, type Translation$1 as Translation, Transparency$1 as Transparency, type context$6_URLs as URLs, type context$6_UpdateService as UpdateService, type context$6_UpdateServiceRequest as UpdateServiceRequest, type context$6_UpdateServiceResponse as UpdateServiceResponse, type context$6_UpdateServiceResponseNonNullableFields as UpdateServiceResponseNonNullableFields, type context$6_Upsert as Upsert, type context$6_UserDomainInfoChangedEvent as UserDomainInfoChangedEvent, type context$6_V1SplitInterval as V1SplitInterval, type context$6_V2AvailabilityConstraints as V2AvailabilityConstraints, type context$6_V2Category as V2Category, type context$6_V2Location as V2Location, type context$6_V2LocationOptionsOneOf as V2LocationOptionsOneOf, type context$6_V2ParticipantNotification as V2ParticipantNotification, type context$6_V2Schedule as V2Schedule, type context$6_V4Address as V4Address, type context$6_ValidateSlugOptions as ValidateSlugOptions, type context$6_ValidateSlugRequest as ValidateSlugRequest, type context$6_ValidateSlugResponse as ValidateSlugResponse, type context$6_ValidateSlugResponseNonNullableFields as ValidateSlugResponseNonNullableFields, type context$6_ValueAggregation as ValueAggregation, type context$6_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type ValueAggregationResult$1 as ValueAggregationResult, type context$6_ValueResult as ValueResult, type ValueResults$1 as ValueResults, type context$6_VariedPayment as VariedPayment, type Version$1 as Version, type WaitlistPolicy$1 as WaitlistPolicy, WebhookIdentityType$5 as WebhookIdentityType, type context$6__publicOnServiceCreatedType as _publicOnServiceCreatedType, type context$6__publicOnServiceDeletedType as _publicOnServiceDeletedType, type context$6__publicOnServiceUpdatedType as _publicOnServiceUpdatedType, context$6_bulkDeleteServices as bulkDeleteServices, context$6_bulkDeleteServicesByFilter as bulkDeleteServicesByFilter, context$6_bulkUpdateServices as bulkUpdateServices, context$6_bulkUpdateServicesByFilter as bulkUpdateServicesByFilter, context$6_cloneService as cloneService, context$6_countServices as countServices, context$6_createService as createService, context$6_deleteService as deleteService, context$6_disablePricingPlansForService as disablePricingPlansForService, context$6_enablePricingPlansForService as enablePricingPlansForService, context$6_getService as getService, context$6_onServiceCreated as onServiceCreated, context$6_onServiceDeleted as onServiceDeleted, context$6_onServiceUpdated as onServiceUpdated, onServiceCreated$1 as publicOnServiceCreated, onServiceDeleted$1 as publicOnServiceDeleted, onServiceUpdated$1 as publicOnServiceUpdated, context$6_queryCategories as queryCategories, context$6_queryLocations as queryLocations, context$6_queryPolicies as queryPolicies, context$6_queryServices as queryServices, context$6_searchServices as searchServices, context$6_setCustomSlug as setCustomSlug, context$6_setServiceLocations as setServiceLocations, context$6_updateService as updateService, context$6_validateSlug as validateSlug };
16665
+ export { context$6_Action as Action, type ActionEvent$4 as ActionEvent, type Address$4 as Address, type AddressHint$1 as AddressHint, type AddressLocation$3 as AddressLocation, type AddressStreetOneOf$3 as AddressStreetOneOf, type context$6_Aggregation as Aggregation, type AggregationData$1 as AggregationData, type context$6_AggregationKindOneOf as AggregationKindOneOf, type AggregationResults$1 as AggregationResults, type AggregationResultsResultOneOf$1 as AggregationResultsResultOneOf, type context$6_AggregationResultsScalarResult as AggregationResultsScalarResult, AggregationType$1 as AggregationType, type ApplicationError$2 as ApplicationError, ApprovalStatus$1 as ApprovalStatus, type Availability$1 as Availability, type AvailabilityConstraints$1 as AvailabilityConstraints, type AvailabilityPolicy$1 as AvailabilityPolicy, type AvailabilityPolicyUpdated$1 as AvailabilityPolicyUpdated, type BaseEventMetadata$4 as BaseEventMetadata, type context$6_Behavior as Behavior, type context$6_BehaviorBehaviorOneOf as BehaviorBehaviorOneOf, type context$6_Benefit as Benefit, type context$6_BenefitNotification as BenefitNotification, context$6_BenefitType as BenefitType, type BookAfterStartPolicy$1 as BookAfterStartPolicy, type context$6_BookingForm as BookingForm, type BookingPolicy$1 as BookingPolicy, type context$6_BookingPolicyWithServices as BookingPolicyWithServices, type BulkActionMetadata$2 as BulkActionMetadata, type context$6_BulkCreateServicesRequest as BulkCreateServicesRequest, type context$6_BulkCreateServicesResponse as BulkCreateServicesResponse, type context$6_BulkDeleteServicesByFilterOptions as BulkDeleteServicesByFilterOptions, type context$6_BulkDeleteServicesByFilterRequest as BulkDeleteServicesByFilterRequest, type context$6_BulkDeleteServicesByFilterResponse as BulkDeleteServicesByFilterResponse, type context$6_BulkDeleteServicesByFilterResponseNonNullableFields as BulkDeleteServicesByFilterResponseNonNullableFields, type context$6_BulkDeleteServicesOptions as BulkDeleteServicesOptions, type context$6_BulkDeleteServicesRequest as BulkDeleteServicesRequest, type context$6_BulkDeleteServicesResponse as BulkDeleteServicesResponse, type context$6_BulkDeleteServicesResponseNonNullableFields as BulkDeleteServicesResponseNonNullableFields, type context$6_BulkServiceResult as BulkServiceResult, type context$6_BulkUpdateServicesByFilterOptions as BulkUpdateServicesByFilterOptions, type context$6_BulkUpdateServicesByFilterRequest as BulkUpdateServicesByFilterRequest, type context$6_BulkUpdateServicesByFilterResponse as BulkUpdateServicesByFilterResponse, type context$6_BulkUpdateServicesByFilterResponseNonNullableFields as BulkUpdateServicesByFilterResponseNonNullableFields, type context$6_BulkUpdateServicesOptions as BulkUpdateServicesOptions, type context$6_BulkUpdateServicesRequest as BulkUpdateServicesRequest, type context$6_BulkUpdateServicesResponse as BulkUpdateServicesResponse, type context$6_BulkUpdateServicesResponseNonNullableFields as BulkUpdateServicesResponseNonNullableFields, type context$6_BusinessLocation as BusinessLocation, type context$6_BusinessLocationOptions as BusinessLocationOptions, type context$6_BusinessLocations as BusinessLocations, type BusinessSchedule$2 as BusinessSchedule, type CalendarConference$1 as CalendarConference, type CalendarDateTime$1 as CalendarDateTime, CalendarType$1 as CalendarType, type CancellationFeePolicy$1 as CancellationFeePolicy, type CancellationPolicy$1 as CancellationPolicy, type CancellationWindow$1 as CancellationWindow, type CancellationWindowFeeOneOf$1 as CancellationWindowFeeOneOf, type Categories$1 as Categories, type Category$1 as Category, type CategoryNotification$1 as CategoryNotification, context$6_CategoryNotificationEvent as CategoryNotificationEvent, context$6_CategoryStatus as CategoryStatus, type ChangeContext$1 as ChangeContext, type ChangeContextPayloadOneOf$1 as ChangeContextPayloadOneOf, context$6_CloneErrors as CloneErrors, type context$6_CloneServiceOptions as CloneServiceOptions, type context$6_CloneServiceRequest as CloneServiceRequest, type context$6_CloneServiceResponse as CloneServiceResponse, type context$6_CloneServiceResponseNonNullableFields as CloneServiceResponseNonNullableFields, type context$6_CommonAddress as CommonAddress, type context$6_CommonAddressLocation as CommonAddressLocation, type context$6_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type context$6_CommonStreetAddress as CommonStreetAddress, type ConferenceProvider$1 as ConferenceProvider, ConferenceType$1 as ConferenceType, type context$6_Conferencing as Conferencing, type context$6_ConnectedService as ConnectedService, type ConsentPolicy$1 as ConsentPolicy, type context$6_CountServicesOptions as CountServicesOptions, type context$6_CountServicesRequest as CountServicesRequest, type context$6_CountServicesResponse as CountServicesResponse, type context$6_CountServicesResponseNonNullableFields as CountServicesResponseNonNullableFields, type context$6_CreateServiceRequest as CreateServiceRequest, type context$6_CreateServiceResponse as CreateServiceResponse, type context$6_CreateServiceResponseNonNullableFields as CreateServiceResponseNonNullableFields, context$6_CrudType as CrudType, type CursorPaging$4 as CursorPaging, type CursorPagingMetadata$3 as CursorPagingMetadata, type CursorQuery$2 as CursorQuery, type CursorQueryPagingMethodOneOf$2 as CursorQueryPagingMethodOneOf, type CursorSearch$1 as CursorSearch, type CursorSearchPagingMethodOneOf$1 as CursorSearchPagingMethodOneOf, type Cursors$4 as Cursors, type context$6_CustomLocationOptions as CustomLocationOptions, type context$6_CustomLocations as CustomLocations, type context$6_CustomPayment as CustomPayment, type context$6_CustomerLocations as CustomerLocations, type context$6_DateHistogramAggregation as DateHistogramAggregation, context$6_DateHistogramAggregationInterval as DateHistogramAggregationInterval, type context$6_DateHistogramResult as DateHistogramResult, type context$6_DateHistogramResults as DateHistogramResults, Day$1 as Day, DayOfWeek$2 as DayOfWeek, type context$6_Delete as Delete, type context$6_DeleteServiceOptions as DeleteServiceOptions, type context$6_DeleteServiceRequest as DeleteServiceRequest, type context$6_DeleteServiceResponse as DeleteServiceResponse, type context$6_DisablePricingPlansForServiceOptions as DisablePricingPlansForServiceOptions, type context$6_DisablePricingPlansForServiceRequest as DisablePricingPlansForServiceRequest, type context$6_DisablePricingPlansForServiceResponse as DisablePricingPlansForServiceResponse, type context$6_DisablePricingPlansForServiceResponseNonNullableFields as DisablePricingPlansForServiceResponseNonNullableFields, type context$6_Discount as Discount, type context$6_DiscountDiscountOneOf as DiscountDiscountOneOf, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type context$6_Duration as Duration, type Empty$2 as Empty, type context$6_EnablePricingPlansForServiceRequest as EnablePricingPlansForServiceRequest, type context$6_EnablePricingPlansForServiceResponse as EnablePricingPlansForServiceResponse, type context$6_EnablePricingPlansForServiceResponseNonNullableFields as EnablePricingPlansForServiceResponseNonNullableFields, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type context$6_EntryPass as EntryPass, Event$1 as Event, type EventMetadata$3 as EventMetadata, type ExtendedFields$4 as ExtendedFields, type ExternalCalendarInfo$1 as ExternalCalendarInfo, type ExternalCalendarOverrides$1 as ExternalCalendarOverrides, type context$6_FixedPayment as FixedPayment, type context$6_Form as Form, type context$6_FormDetails as FormDetails, type context$6_FormSettings as FormSettings, type Frequency$1 as Frequency, type GeoCoordinates$1 as GeoCoordinates, type context$6_GetServiceAvailabilityConstraintsRequest as GetServiceAvailabilityConstraintsRequest, type context$6_GetServiceAvailabilityConstraintsResponse as GetServiceAvailabilityConstraintsResponse, type context$6_GetServiceRequest as GetServiceRequest, type context$6_GetServiceResponse as GetServiceResponse, type context$6_GetServiceResponseNonNullableFields as GetServiceResponseNonNullableFields, type context$6_GroupByAggregation as GroupByAggregation, type context$6_GroupByAggregationKindOneOf as GroupByAggregationKindOneOf, type GroupByValueResults$1 as GroupByValueResults, type context$6_HtmlSitePublished as HtmlSitePublished, type IdentificationData$6 as IdentificationData, type IdentificationDataIdOneOf$6 as IdentificationDataIdOneOf, type context$6_IncludeMissingValuesOptions as IncludeMissingValuesOptions, type Interval$1 as Interval, type IntervalSplit$1 as IntervalSplit, type context$6_InvalidPricingPlan as InvalidPricingPlan, context$6_InvalidSlugError as InvalidSlugError, type ItemMetadata$2 as ItemMetadata, type context$6_Keyword as Keyword, type LimitEarlyBookingPolicy$1 as LimitEarlyBookingPolicy, type LimitLateBookingPolicy$1 as LimitLateBookingPolicy, type LinkedSchedule$1 as LinkedSchedule, type LocalDateTime$1 as LocalDateTime, type Locale$1 as Locale, type Location$3 as Location, LocationStatus$1 as LocationStatus, LocationType$3 as LocationType, context$6_LocationTypeEnumLocationType as LocationTypeEnumLocationType, type LocationsAddress$1 as LocationsAddress, type LocationsAddressLocation$1 as LocationsAddressLocation, type LocationsLocation$1 as LocationsLocation, LocationsLocationType$1 as LocationsLocationType, type LocationsStreetAddress$1 as LocationsStreetAddress, type context$6_MaskedService as MaskedService, type context$6_Media as Media, type MediaItem$1 as MediaItem, type context$6_MediaItemItemOneOf as MediaItemItemOneOf, type MessageEnvelope$5 as MessageEnvelope, type MigrationData$1 as MigrationData, type MigrationEvent$1 as MigrationEvent, context$6_MissingValues as MissingValues, Mode$1 as Mode, type Money$1 as Money, type context$6_MoveToNewLocationsOptions as MoveToNewLocationsOptions, type context$6_MultiServiceEnabledNotification as MultiServiceEnabledNotification, type Multilingual$1 as Multilingual, type MultipleSessionsCreated$1 as MultipleSessionsCreated, type context$6_NestedAggregation as NestedAggregation, type context$6_NestedAggregationItem as NestedAggregationItem, type context$6_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type NestedAggregationResults$1 as NestedAggregationResults, type NestedAggregationResultsResultOneOf$1 as NestedAggregationResultsResultOneOf, context$6_NestedAggregationType as NestedAggregationType, type context$6_NestedResultValue as NestedResultValue, type context$6_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type context$6_NestedResults as NestedResults, type NestedValueAggregationResult$1 as NestedValueAggregationResult, type context$6_OnlineBooking as OnlineBooking, type context$6_Page as Page, type Paging$2 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type Participant$1 as Participant, type ParticipantNotification$4 as ParticipantNotification, type ParticipantsPolicy$1 as ParticipantsPolicy, type context$6_Payment as Payment, type context$6_PaymentOptions as PaymentOptions, type context$6_PaymentRateOneOf as PaymentRateOneOf, PlacementType$1 as PlacementType, type PolicyDescription$1 as PolicyDescription, type Price$1 as Price, type Properties$1 as Properties, type PropertiesChange$1 as PropertiesChange, type context$6_QueryBookingFormsRequest as QueryBookingFormsRequest, type context$6_QueryBookingFormsResponse as QueryBookingFormsResponse, type context$6_QueryCategoriesFilter as QueryCategoriesFilter, type context$6_QueryCategoriesOptions as QueryCategoriesOptions, type context$6_QueryCategoriesRequest as QueryCategoriesRequest, type context$6_QueryCategoriesResponse as QueryCategoriesResponse, type context$6_QueryCategoriesResponseNonNullableFields as QueryCategoriesResponseNonNullableFields, type context$6_QueryLocationsFilter as QueryLocationsFilter, type context$6_QueryLocationsOptions as QueryLocationsOptions, type context$6_QueryLocationsRequest as QueryLocationsRequest, type context$6_QueryLocationsResponse as QueryLocationsResponse, type context$6_QueryLocationsResponseNonNullableFields as QueryLocationsResponseNonNullableFields, type context$6_QueryPoliciesRequest as QueryPoliciesRequest, type context$6_QueryPoliciesResponse as QueryPoliciesResponse, type context$6_QueryPoliciesResponseNonNullableFields as QueryPoliciesResponseNonNullableFields, type context$6_QueryServicesMultiLanguageRequest as QueryServicesMultiLanguageRequest, type context$6_QueryServicesMultiLanguageResponse as QueryServicesMultiLanguageResponse, type context$6_QueryServicesOptions as QueryServicesOptions, type context$6_QueryServicesRequest as QueryServicesRequest, type context$6_QueryServicesResponse as QueryServicesResponse, type context$6_QueryServicesResponseNonNullableFields as QueryServicesResponseNonNullableFields, type QueryV2$2 as QueryV2, type QueryV2PagingMethodOneOf$2 as QueryV2PagingMethodOneOf, type context$6_RangeAggregation as RangeAggregation, type RangeAggregationResult$1 as RangeAggregationResult, type context$6_RangeBucket as RangeBucket, type context$6_RangeResult as RangeResult, type RangeResults$1 as RangeResults, type Rate$1 as Rate, context$6_RateType as RateType, type RecurringInterval$1 as RecurringInterval, RecurringIntervalType$1 as RecurringIntervalType, type RecurringSessionSplit$1 as RecurringSessionSplit, type RecurringSessionsUpdated$1 as RecurringSessionsUpdated, type context$6_ReindexMessage as ReindexMessage, type context$6_ReindexMessageActionOneOf as ReindexMessageActionOneOf, type context$6_RemovedLocationSessionsAction as RemovedLocationSessionsAction, type context$6_RemovedLocationSessionsActionActionOptionsOneOf as RemovedLocationSessionsActionActionOptionsOneOf, RequestedFields$1 as RequestedFields, type ReschedulePolicy$1 as ReschedulePolicy, ResolutionMethod$1 as ResolutionMethod, type Resource$1 as Resource, type context$6_ResourceGroup as ResourceGroup, type context$6_ResourceIds as ResourceIds, type context$6_ResourceNotification as ResourceNotification, context$6_ResourceNotificationEvent as ResourceNotificationEvent, context$6_ResourceStatus as ResourceStatus, type context$6_ResourceType as ResourceType, type ResourcesPolicy$1 as ResourcesPolicy, type RestoreInfo$4 as RestoreInfo, type context$6_Results as Results, type SaveCreditCardPolicy$1 as SaveCreditCardPolicy, type context$6_ScalarAggregation as ScalarAggregation, type ScalarResult$1 as ScalarResult, ScalarType$1 as ScalarType, type Schedule$1 as Schedule, type ScheduleCancelled$1 as ScheduleCancelled, type ScheduleCreated$1 as ScheduleCreated, type ScheduleNotification$1 as ScheduleNotification, type ScheduleNotificationEventOneOf$1 as ScheduleNotificationEventOneOf, ScheduleStatus$1 as ScheduleStatus, type ScheduleUnassignedFromUser$1 as ScheduleUnassignedFromUser, type ScheduleUpdated$1 as ScheduleUpdated, type ScheduleWithSessions$1 as ScheduleWithSessions, type context$6_Schema as Schema, type SearchDetails$1 as SearchDetails, type context$6_SearchServicesRequest as SearchServicesRequest, type context$6_SearchServicesResponse as SearchServicesResponse, type context$6_SearchServicesResponseNonNullableFields as SearchServicesResponseNonNullableFields, type context$6_SeoSchema as SeoSchema, type context$6_Service as Service, type context$6_ServiceAvailabilityConstraints as ServiceAvailabilityConstraints, type context$6_ServiceCreatedEnvelope as ServiceCreatedEnvelope, type context$6_ServiceDeletedEnvelope as ServiceDeletedEnvelope, type context$6_ServiceNonNullableFields as ServiceNonNullableFields, type context$6_ServiceResource as ServiceResource, type context$6_ServiceResourceSelectionOneOf as ServiceResourceSelectionOneOf, context$6_ServiceType as ServiceType, type context$6_ServiceUpdatedEnvelope as ServiceUpdatedEnvelope, type context$6_ServicesQueryBuilder as ServicesQueryBuilder, type context$6_ServicesQueryResult as ServicesQueryResult, type context$6_ServicesUrlsChanged as ServicesUrlsChanged, type Session$1 as Session, type SessionCancelled$1 as SessionCancelled, type SessionCreated$1 as SessionCreated, SessionType$1 as SessionType, type SessionUpdated$1 as SessionUpdated, type SessionVersion$1 as SessionVersion, type context$6_SetCustomSlugEvent as SetCustomSlugEvent, type context$6_SetCustomSlugRequest as SetCustomSlugRequest, type context$6_SetCustomSlugResponse as SetCustomSlugResponse, type context$6_SetCustomSlugResponseNonNullableFields as SetCustomSlugResponseNonNullableFields, type context$6_SetServiceLocationsOptions as SetServiceLocationsOptions, type context$6_SetServiceLocationsRequest as SetServiceLocationsRequest, type context$6_SetServiceLocationsResponse as SetServiceLocationsResponse, type context$6_SetServiceLocationsResponseNonNullableFields as SetServiceLocationsResponseNonNullableFields, type context$6_Settings as Settings, type SiteCloned$1 as SiteCloned, type SiteCreated$2 as SiteCreated, type SitePropertiesEvent$1 as SitePropertiesEvent, type SitePropertiesNotification$1 as SitePropertiesNotification, type SitePropertiesOnScheduleCreation$1 as SitePropertiesOnScheduleCreation, type context$6_Slug as Slug, context$6_SortDirection as SortDirection, SortOrder$4 as SortOrder, context$6_SortType as SortType, type Sorting$4 as Sorting, type SpecialHourPeriod$2 as SpecialHourPeriod, type SplitInterval$1 as SplitInterval, type StaffData$1 as StaffData, type context$6_StaffMediaItem as StaffMediaItem, type context$6_StaffMediaItemItemOneOf as StaffMediaItemItemOneOf, type StaffMember$1 as StaffMember, type context$6_StaffMemberDetails as StaffMemberDetails, Status$2 as Status, type StreetAddress$3 as StreetAddress, type Subdivision$3 as Subdivision, type SupportedLanguage$1 as SupportedLanguage, type context$6_Tag as Tag, type TimePeriod$2 as TimePeriod, type Translation$1 as Translation, Transparency$1 as Transparency, type context$6_URLs as URLs, type context$6_UpdateService as UpdateService, type context$6_UpdateServiceRequest as UpdateServiceRequest, type context$6_UpdateServiceResponse as UpdateServiceResponse, type context$6_UpdateServiceResponseNonNullableFields as UpdateServiceResponseNonNullableFields, type context$6_Upsert as Upsert, type context$6_UserDomainInfoChangedEvent as UserDomainInfoChangedEvent, type context$6_V1SplitInterval as V1SplitInterval, type context$6_V2AvailabilityConstraints as V2AvailabilityConstraints, type context$6_V2Category as V2Category, type context$6_V2Location as V2Location, type context$6_V2LocationOptionsOneOf as V2LocationOptionsOneOf, type context$6_V2ParticipantNotification as V2ParticipantNotification, type context$6_V2Schedule as V2Schedule, type context$6_V4Address as V4Address, type context$6_ValidateSlugOptions as ValidateSlugOptions, type context$6_ValidateSlugRequest as ValidateSlugRequest, type context$6_ValidateSlugResponse as ValidateSlugResponse, type context$6_ValidateSlugResponseNonNullableFields as ValidateSlugResponseNonNullableFields, type context$6_ValueAggregation as ValueAggregation, type context$6_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type ValueAggregationResult$1 as ValueAggregationResult, type context$6_ValueResult as ValueResult, type ValueResults$1 as ValueResults, type context$6_VariedPayment as VariedPayment, type Version$1 as Version, type WaitlistPolicy$1 as WaitlistPolicy, WebhookIdentityType$5 as WebhookIdentityType, type context$6__publicOnServiceCreatedType as _publicOnServiceCreatedType, type context$6__publicOnServiceDeletedType as _publicOnServiceDeletedType, type context$6__publicOnServiceUpdatedType as _publicOnServiceUpdatedType, context$6_bulkDeleteServices as bulkDeleteServices, context$6_bulkDeleteServicesByFilter as bulkDeleteServicesByFilter, context$6_bulkUpdateServices as bulkUpdateServices, context$6_bulkUpdateServicesByFilter as bulkUpdateServicesByFilter, context$6_cloneService as cloneService, context$6_countServices as countServices, context$6_createService as createService, context$6_deleteService as deleteService, context$6_disablePricingPlansForService as disablePricingPlansForService, context$6_enablePricingPlansForService as enablePricingPlansForService, context$6_getService as getService, context$6_onServiceCreated as onServiceCreated, context$6_onServiceDeleted as onServiceDeleted, context$6_onServiceUpdated as onServiceUpdated, onServiceCreated$1 as publicOnServiceCreated, onServiceDeleted$1 as publicOnServiceDeleted, onServiceUpdated$1 as publicOnServiceUpdated, context$6_queryCategories as queryCategories, context$6_queryLocations as queryLocations, context$6_queryPolicies as queryPolicies, context$6_queryServices as queryServices, context$6_searchServices as searchServices, context$6_setCustomSlug as setCustomSlug, context$6_setServiceLocations as setServiceLocations, context$6_updateService as updateService, context$6_validateSlug as validateSlug };
16618
16666
  }
16619
16667
 
16620
16668
  /** StaffMember is the main entity of Bookings StaffMembers. used to manage staff providing services */
@@ -5142,6 +5142,7 @@ interface ServiceOptionsAndVariants {
5142
5142
  interface ServiceOption extends ServiceOptionOptionSpecificDataOneOf {
5143
5143
  /** Details about the custom option. Available only for `CUSTOM` options. */
5144
5144
  customData?: CustomServiceOption;
5145
+ durationData?: DurationServiceOption;
5145
5146
  /** ID of the service option. */
5146
5147
  _id?: string;
5147
5148
  /** Type of the service option. */
@@ -5151,11 +5152,13 @@ interface ServiceOption extends ServiceOptionOptionSpecificDataOneOf {
5151
5152
  interface ServiceOptionOptionSpecificDataOneOf {
5152
5153
  /** Details about the custom option. Available only for `CUSTOM` options. */
5153
5154
  customData?: CustomServiceOption;
5155
+ durationData?: DurationServiceOption;
5154
5156
  }
5155
5157
  declare enum ServiceOptionType {
5156
5158
  UNKNOWN = "UNKNOWN",
5157
5159
  CUSTOM = "CUSTOM",
5158
- STAFF_MEMBER = "STAFF_MEMBER"
5160
+ STAFF_MEMBER = "STAFF_MEMBER",
5161
+ DURATION = "DURATION"
5159
5162
  }
5160
5163
  interface CustomServiceOption {
5161
5164
  /**
@@ -5174,6 +5177,10 @@ interface CustomServiceOption {
5174
5177
  */
5175
5178
  choices?: string[];
5176
5179
  }
5180
+ interface DurationServiceOption {
5181
+ /** Optional name of the duration service option. For example, `Short Class, or Extended Class` which will correspond with a certain duration. */
5182
+ name?: string | null;
5183
+ }
5177
5184
  interface ServiceVariant {
5178
5185
  /**
5179
5186
  * Choices for the service option. Currently, only a single choice is supported
@@ -5195,6 +5202,8 @@ interface ServiceChoice$3 extends ServiceChoiceChoiceOneOf$3 {
5195
5202
  * `availability.linkedSchedules`.
5196
5203
  */
5197
5204
  staffMemberId?: string;
5205
+ /** Duration and an optional name */
5206
+ duration?: Duration$1;
5198
5207
  /** ID of the service option. */
5199
5208
  optionId?: string;
5200
5209
  }
@@ -5209,6 +5218,20 @@ interface ServiceChoiceChoiceOneOf$3 {
5209
5218
  * `availability.linkedSchedules`.
5210
5219
  */
5211
5220
  staffMemberId?: string;
5221
+ /** Duration and an optional name */
5222
+ duration?: Duration$1;
5223
+ }
5224
+ interface Duration$1 {
5225
+ /**
5226
+ * Duration of the service in minutes.
5227
+ * Min: 1 minute, Max: 30 days, 23 hours, and 59 minutes
5228
+ */
5229
+ minutes?: number | null;
5230
+ /**
5231
+ * Name of the duration option.
5232
+ * Defaults to the formatted duration e.g. "1 hour, 30 minutes".
5233
+ */
5234
+ name?: string | null;
5212
5235
  }
5213
5236
  /**
5214
5237
  * Money.
@@ -7094,6 +7117,7 @@ type index_d$d_CustomServiceOption = CustomServiceOption;
7094
7117
  type index_d$d_DeleteServiceOptionsAndVariantsOptions = DeleteServiceOptionsAndVariantsOptions;
7095
7118
  type index_d$d_DeleteServiceOptionsAndVariantsRequest = DeleteServiceOptionsAndVariantsRequest;
7096
7119
  type index_d$d_DeleteServiceOptionsAndVariantsResponse = DeleteServiceOptionsAndVariantsResponse;
7120
+ type index_d$d_DurationServiceOption = DurationServiceOption;
7097
7121
  type index_d$d_GetServiceOptionsAndVariantsByServiceIdRequest = GetServiceOptionsAndVariantsByServiceIdRequest;
7098
7122
  type index_d$d_GetServiceOptionsAndVariantsByServiceIdResponse = GetServiceOptionsAndVariantsByServiceIdResponse;
7099
7123
  type index_d$d_GetServiceOptionsAndVariantsByServiceIdResponseNonNullableFields = GetServiceOptionsAndVariantsByServiceIdResponseNonNullableFields;
@@ -7135,7 +7159,7 @@ declare const index_d$d_onServiceOptionsAndVariantsUpdated: typeof onServiceOpti
7135
7159
  declare const index_d$d_queryServiceOptionsAndVariants: typeof queryServiceOptionsAndVariants;
7136
7160
  declare const index_d$d_updateServiceOptionsAndVariants: typeof updateServiceOptionsAndVariants;
7137
7161
  declare namespace index_d$d {
7138
- export { type ActionEvent$a as ActionEvent, type Address$6 as Address, type AddressHint$2 as AddressHint, type AddressLocation$5 as AddressLocation, type AddressStreetOneOf$5 as AddressStreetOneOf, ApprovalStatus$2 as ApprovalStatus, type Availability$2 as Availability, type AvailabilityConstraints$2 as AvailabilityConstraints, type AvailabilityPolicy$2 as AvailabilityPolicy, type AvailabilityPolicyUpdated$2 as AvailabilityPolicyUpdated, type BaseEventMetadata$8 as BaseEventMetadata, type BusinessLocation$3 as BusinessLocation, type BusinessSchedule$3 as BusinessSchedule, type CalendarConference$2 as CalendarConference, type CalendarDateTime$2 as CalendarDateTime, CalendarType$2 as CalendarType, type Categories$2 as Categories, type ChangeContext$2 as ChangeContext, type ChangeContextPayloadOneOf$2 as ChangeContextPayloadOneOf, type index_d$d_CloneServiceOptionsAndVariantsRequest as CloneServiceOptionsAndVariantsRequest, type index_d$d_CloneServiceOptionsAndVariantsResponse as CloneServiceOptionsAndVariantsResponse, type index_d$d_CloneServiceOptionsAndVariantsResponseNonNullableFields as CloneServiceOptionsAndVariantsResponseNonNullableFields, type ConferenceProvider$2 as ConferenceProvider, ConferenceType$2 as ConferenceType, type ConsentPolicy$2 as ConsentPolicy, type index_d$d_CreateServiceOptionsAndVariantsRequest as CreateServiceOptionsAndVariantsRequest, type index_d$d_CreateServiceOptionsAndVariantsResponse as CreateServiceOptionsAndVariantsResponse, type index_d$d_CreateServiceOptionsAndVariantsResponseNonNullableFields as CreateServiceOptionsAndVariantsResponseNonNullableFields, type CursorPaging$9 as CursorPaging, type Cursors$a as Cursors, type index_d$d_CustomServiceOption as CustomServiceOption, Day$2 as Day, DayOfWeek$3 as DayOfWeek, type index_d$d_DeleteServiceOptionsAndVariantsOptions as DeleteServiceOptionsAndVariantsOptions, type index_d$d_DeleteServiceOptionsAndVariantsRequest as DeleteServiceOptionsAndVariantsRequest, type index_d$d_DeleteServiceOptionsAndVariantsResponse as DeleteServiceOptionsAndVariantsResponse, type DomainEvent$a as DomainEvent, type DomainEventBodyOneOf$a as DomainEventBodyOneOf, type Empty$6 as Empty, type EntityCreatedEvent$a as EntityCreatedEvent, type EntityDeletedEvent$a as EntityDeletedEvent, type EntityUpdatedEvent$a as EntityUpdatedEvent, Event$2 as Event, type EventMetadata$7 as EventMetadata, type ExtendedFields$9 as ExtendedFields, type ExternalCalendarInfo$2 as ExternalCalendarInfo, type ExternalCalendarOverrides$2 as ExternalCalendarOverrides, type Frequency$2 as Frequency, type GeoCoordinates$2 as GeoCoordinates, type index_d$d_GetServiceOptionsAndVariantsByServiceIdRequest as GetServiceOptionsAndVariantsByServiceIdRequest, type index_d$d_GetServiceOptionsAndVariantsByServiceIdResponse as GetServiceOptionsAndVariantsByServiceIdResponse, type index_d$d_GetServiceOptionsAndVariantsByServiceIdResponseNonNullableFields as GetServiceOptionsAndVariantsByServiceIdResponseNonNullableFields, type index_d$d_GetServiceOptionsAndVariantsRequest as GetServiceOptionsAndVariantsRequest, type index_d$d_GetServiceOptionsAndVariantsResponse as GetServiceOptionsAndVariantsResponse, type index_d$d_GetServiceOptionsAndVariantsResponseNonNullableFields as GetServiceOptionsAndVariantsResponseNonNullableFields, type IdentificationData$c as IdentificationData, type IdentificationDataIdOneOf$c as IdentificationDataIdOneOf, type Interval$3 as Interval, type IntervalSplit$2 as IntervalSplit, type LinkedSchedule$2 as LinkedSchedule, type LocalDateTime$2 as LocalDateTime, type Locale$2 as Locale, type Location$5 as Location, LocationStatus$2 as LocationStatus, LocationType$5 as LocationType, type LocationsAddress$2 as LocationsAddress, type LocationsAddressLocation$2 as LocationsAddressLocation, type LocationsLocation$2 as LocationsLocation, LocationsLocationType$2 as LocationsLocationType, type LocationsStreetAddress$2 as LocationsStreetAddress, type MessageEnvelope$a as MessageEnvelope, type MigrationData$2 as MigrationData, type MigrationEvent$2 as MigrationEvent, type Money$4 as Money, type Multilingual$2 as Multilingual, type MultipleSessionsCreated$2 as MultipleSessionsCreated, type Paging$4 as Paging, type PagingMetadataV2$3 as PagingMetadataV2, type Participant$2 as Participant, type ParticipantNotification$6 as ParticipantNotification, PlacementType$2 as PlacementType, type Price$3 as Price, type Properties$2 as Properties, type PropertiesChange$2 as PropertiesChange, type index_d$d_QueryServiceOptionsAndVariantsRequest as QueryServiceOptionsAndVariantsRequest, type index_d$d_QueryServiceOptionsAndVariantsResponse as QueryServiceOptionsAndVariantsResponse, type index_d$d_QueryServiceOptionsAndVariantsResponseNonNullableFields as QueryServiceOptionsAndVariantsResponseNonNullableFields, type QueryV2$4 as QueryV2, type QueryV2PagingMethodOneOf$4 as QueryV2PagingMethodOneOf, type Rate$2 as Rate, type RecurringInterval$2 as RecurringInterval, RecurringIntervalType$2 as RecurringIntervalType, type RecurringSessionSplit$2 as RecurringSessionSplit, type RecurringSessionsUpdated$2 as RecurringSessionsUpdated, ResolutionMethod$2 as ResolutionMethod, type Resource$3 as Resource, type ResourceNotification$1 as ResourceNotification, ResourceStatus$1 as ResourceStatus, type RestoreInfo$a as RestoreInfo, type Schedule$3 as Schedule, type ScheduleCancelled$2 as ScheduleCancelled, type ScheduleCreated$2 as ScheduleCreated, type ScheduleNotification$2 as ScheduleNotification, type ScheduleNotificationEventOneOf$2 as ScheduleNotificationEventOneOf, ScheduleStatus$2 as ScheduleStatus, type ScheduleUnassignedFromUser$2 as ScheduleUnassignedFromUser, type ScheduleUpdated$2 as ScheduleUpdated, type ScheduleWithSessions$2 as ScheduleWithSessions, type ServiceChoice$3 as ServiceChoice, type ServiceChoiceChoiceOneOf$3 as ServiceChoiceChoiceOneOf, type index_d$d_ServiceOption as ServiceOption, type index_d$d_ServiceOptionOptionSpecificDataOneOf as ServiceOptionOptionSpecificDataOneOf, index_d$d_ServiceOptionType as ServiceOptionType, type index_d$d_ServiceOptions as ServiceOptions, type index_d$d_ServiceOptionsAndVariants as ServiceOptionsAndVariants, type index_d$d_ServiceOptionsAndVariantsCreatedEnvelope as ServiceOptionsAndVariantsCreatedEnvelope, type index_d$d_ServiceOptionsAndVariantsDeletedEnvelope as ServiceOptionsAndVariantsDeletedEnvelope, type index_d$d_ServiceOptionsAndVariantsListQueryBuilder as ServiceOptionsAndVariantsListQueryBuilder, type index_d$d_ServiceOptionsAndVariantsListQueryResult as ServiceOptionsAndVariantsListQueryResult, type index_d$d_ServiceOptionsAndVariantsNonNullableFields as ServiceOptionsAndVariantsNonNullableFields, type index_d$d_ServiceOptionsAndVariantsUpdatedEnvelope as ServiceOptionsAndVariantsUpdatedEnvelope, type index_d$d_ServiceVariant as ServiceVariant, type index_d$d_ServiceVariants as ServiceVariants, type Session$2 as Session, type SessionCancelled$2 as SessionCancelled, type SessionCreated$2 as SessionCreated, SessionType$2 as SessionType, type SessionUpdated$2 as SessionUpdated, type SessionVersion$2 as SessionVersion, type SiteCloned$2 as SiteCloned, type SiteCreated$4 as SiteCreated, type SitePropertiesEvent$2 as SitePropertiesEvent, type SitePropertiesNotification$2 as SitePropertiesNotification, type SitePropertiesOnScheduleCreation$2 as SitePropertiesOnScheduleCreation, SortOrder$9 as SortOrder, type Sorting$9 as Sorting, type SpecialHourPeriod$3 as SpecialHourPeriod, type SplitInterval$2 as SplitInterval, type StaffData$2 as StaffData, Status$3 as Status, type StreetAddress$5 as StreetAddress, type Subdivision$5 as Subdivision, type SupportedLanguage$2 as SupportedLanguage, type TimePeriod$3 as TimePeriod, type Translation$2 as Translation, Transparency$2 as Transparency, type index_d$d_UpdateServiceOptionsAndVariants as UpdateServiceOptionsAndVariants, type index_d$d_UpdateServiceOptionsAndVariantsRequest as UpdateServiceOptionsAndVariantsRequest, type index_d$d_UpdateServiceOptionsAndVariantsResponse as UpdateServiceOptionsAndVariantsResponse, type index_d$d_UpdateServiceOptionsAndVariantsResponseNonNullableFields as UpdateServiceOptionsAndVariantsResponseNonNullableFields, type V4Address$1 as V4Address, type Version$2 as Version, WebhookIdentityType$a as WebhookIdentityType, type index_d$d__publicOnServiceOptionsAndVariantsCreatedType as _publicOnServiceOptionsAndVariantsCreatedType, type index_d$d__publicOnServiceOptionsAndVariantsDeletedType as _publicOnServiceOptionsAndVariantsDeletedType, type index_d$d__publicOnServiceOptionsAndVariantsUpdatedType as _publicOnServiceOptionsAndVariantsUpdatedType, index_d$d_cloneServiceOptionsAndVariants as cloneServiceOptionsAndVariants, index_d$d_createServiceOptionsAndVariants as createServiceOptionsAndVariants, index_d$d_deleteServiceOptionsAndVariants as deleteServiceOptionsAndVariants, index_d$d_getServiceOptionsAndVariants as getServiceOptionsAndVariants, index_d$d_getServiceOptionsAndVariantsByServiceId as getServiceOptionsAndVariantsByServiceId, index_d$d_onServiceOptionsAndVariantsCreated as onServiceOptionsAndVariantsCreated, index_d$d_onServiceOptionsAndVariantsDeleted as onServiceOptionsAndVariantsDeleted, index_d$d_onServiceOptionsAndVariantsUpdated as onServiceOptionsAndVariantsUpdated, onServiceOptionsAndVariantsCreated$1 as publicOnServiceOptionsAndVariantsCreated, onServiceOptionsAndVariantsDeleted$1 as publicOnServiceOptionsAndVariantsDeleted, onServiceOptionsAndVariantsUpdated$1 as publicOnServiceOptionsAndVariantsUpdated, index_d$d_queryServiceOptionsAndVariants as queryServiceOptionsAndVariants, index_d$d_updateServiceOptionsAndVariants as updateServiceOptionsAndVariants };
7162
+ export { type ActionEvent$a as ActionEvent, type Address$6 as Address, type AddressHint$2 as AddressHint, type AddressLocation$5 as AddressLocation, type AddressStreetOneOf$5 as AddressStreetOneOf, ApprovalStatus$2 as ApprovalStatus, type Availability$2 as Availability, type AvailabilityConstraints$2 as AvailabilityConstraints, type AvailabilityPolicy$2 as AvailabilityPolicy, type AvailabilityPolicyUpdated$2 as AvailabilityPolicyUpdated, type BaseEventMetadata$8 as BaseEventMetadata, type BusinessLocation$3 as BusinessLocation, type BusinessSchedule$3 as BusinessSchedule, type CalendarConference$2 as CalendarConference, type CalendarDateTime$2 as CalendarDateTime, CalendarType$2 as CalendarType, type Categories$2 as Categories, type ChangeContext$2 as ChangeContext, type ChangeContextPayloadOneOf$2 as ChangeContextPayloadOneOf, type index_d$d_CloneServiceOptionsAndVariantsRequest as CloneServiceOptionsAndVariantsRequest, type index_d$d_CloneServiceOptionsAndVariantsResponse as CloneServiceOptionsAndVariantsResponse, type index_d$d_CloneServiceOptionsAndVariantsResponseNonNullableFields as CloneServiceOptionsAndVariantsResponseNonNullableFields, type ConferenceProvider$2 as ConferenceProvider, ConferenceType$2 as ConferenceType, type ConsentPolicy$2 as ConsentPolicy, type index_d$d_CreateServiceOptionsAndVariantsRequest as CreateServiceOptionsAndVariantsRequest, type index_d$d_CreateServiceOptionsAndVariantsResponse as CreateServiceOptionsAndVariantsResponse, type index_d$d_CreateServiceOptionsAndVariantsResponseNonNullableFields as CreateServiceOptionsAndVariantsResponseNonNullableFields, type CursorPaging$9 as CursorPaging, type Cursors$a as Cursors, type index_d$d_CustomServiceOption as CustomServiceOption, Day$2 as Day, DayOfWeek$3 as DayOfWeek, type index_d$d_DeleteServiceOptionsAndVariantsOptions as DeleteServiceOptionsAndVariantsOptions, type index_d$d_DeleteServiceOptionsAndVariantsRequest as DeleteServiceOptionsAndVariantsRequest, type index_d$d_DeleteServiceOptionsAndVariantsResponse as DeleteServiceOptionsAndVariantsResponse, type DomainEvent$a as DomainEvent, type DomainEventBodyOneOf$a as DomainEventBodyOneOf, type Duration$1 as Duration, type index_d$d_DurationServiceOption as DurationServiceOption, type Empty$6 as Empty, type EntityCreatedEvent$a as EntityCreatedEvent, type EntityDeletedEvent$a as EntityDeletedEvent, type EntityUpdatedEvent$a as EntityUpdatedEvent, Event$2 as Event, type EventMetadata$7 as EventMetadata, type ExtendedFields$9 as ExtendedFields, type ExternalCalendarInfo$2 as ExternalCalendarInfo, type ExternalCalendarOverrides$2 as ExternalCalendarOverrides, type Frequency$2 as Frequency, type GeoCoordinates$2 as GeoCoordinates, type index_d$d_GetServiceOptionsAndVariantsByServiceIdRequest as GetServiceOptionsAndVariantsByServiceIdRequest, type index_d$d_GetServiceOptionsAndVariantsByServiceIdResponse as GetServiceOptionsAndVariantsByServiceIdResponse, type index_d$d_GetServiceOptionsAndVariantsByServiceIdResponseNonNullableFields as GetServiceOptionsAndVariantsByServiceIdResponseNonNullableFields, type index_d$d_GetServiceOptionsAndVariantsRequest as GetServiceOptionsAndVariantsRequest, type index_d$d_GetServiceOptionsAndVariantsResponse as GetServiceOptionsAndVariantsResponse, type index_d$d_GetServiceOptionsAndVariantsResponseNonNullableFields as GetServiceOptionsAndVariantsResponseNonNullableFields, type IdentificationData$c as IdentificationData, type IdentificationDataIdOneOf$c as IdentificationDataIdOneOf, type Interval$3 as Interval, type IntervalSplit$2 as IntervalSplit, type LinkedSchedule$2 as LinkedSchedule, type LocalDateTime$2 as LocalDateTime, type Locale$2 as Locale, type Location$5 as Location, LocationStatus$2 as LocationStatus, LocationType$5 as LocationType, type LocationsAddress$2 as LocationsAddress, type LocationsAddressLocation$2 as LocationsAddressLocation, type LocationsLocation$2 as LocationsLocation, LocationsLocationType$2 as LocationsLocationType, type LocationsStreetAddress$2 as LocationsStreetAddress, type MessageEnvelope$a as MessageEnvelope, type MigrationData$2 as MigrationData, type MigrationEvent$2 as MigrationEvent, type Money$4 as Money, type Multilingual$2 as Multilingual, type MultipleSessionsCreated$2 as MultipleSessionsCreated, type Paging$4 as Paging, type PagingMetadataV2$3 as PagingMetadataV2, type Participant$2 as Participant, type ParticipantNotification$6 as ParticipantNotification, PlacementType$2 as PlacementType, type Price$3 as Price, type Properties$2 as Properties, type PropertiesChange$2 as PropertiesChange, type index_d$d_QueryServiceOptionsAndVariantsRequest as QueryServiceOptionsAndVariantsRequest, type index_d$d_QueryServiceOptionsAndVariantsResponse as QueryServiceOptionsAndVariantsResponse, type index_d$d_QueryServiceOptionsAndVariantsResponseNonNullableFields as QueryServiceOptionsAndVariantsResponseNonNullableFields, type QueryV2$4 as QueryV2, type QueryV2PagingMethodOneOf$4 as QueryV2PagingMethodOneOf, type Rate$2 as Rate, type RecurringInterval$2 as RecurringInterval, RecurringIntervalType$2 as RecurringIntervalType, type RecurringSessionSplit$2 as RecurringSessionSplit, type RecurringSessionsUpdated$2 as RecurringSessionsUpdated, ResolutionMethod$2 as ResolutionMethod, type Resource$3 as Resource, type ResourceNotification$1 as ResourceNotification, ResourceStatus$1 as ResourceStatus, type RestoreInfo$a as RestoreInfo, type Schedule$3 as Schedule, type ScheduleCancelled$2 as ScheduleCancelled, type ScheduleCreated$2 as ScheduleCreated, type ScheduleNotification$2 as ScheduleNotification, type ScheduleNotificationEventOneOf$2 as ScheduleNotificationEventOneOf, ScheduleStatus$2 as ScheduleStatus, type ScheduleUnassignedFromUser$2 as ScheduleUnassignedFromUser, type ScheduleUpdated$2 as ScheduleUpdated, type ScheduleWithSessions$2 as ScheduleWithSessions, type ServiceChoice$3 as ServiceChoice, type ServiceChoiceChoiceOneOf$3 as ServiceChoiceChoiceOneOf, type index_d$d_ServiceOption as ServiceOption, type index_d$d_ServiceOptionOptionSpecificDataOneOf as ServiceOptionOptionSpecificDataOneOf, index_d$d_ServiceOptionType as ServiceOptionType, type index_d$d_ServiceOptions as ServiceOptions, type index_d$d_ServiceOptionsAndVariants as ServiceOptionsAndVariants, type index_d$d_ServiceOptionsAndVariantsCreatedEnvelope as ServiceOptionsAndVariantsCreatedEnvelope, type index_d$d_ServiceOptionsAndVariantsDeletedEnvelope as ServiceOptionsAndVariantsDeletedEnvelope, type index_d$d_ServiceOptionsAndVariantsListQueryBuilder as ServiceOptionsAndVariantsListQueryBuilder, type index_d$d_ServiceOptionsAndVariantsListQueryResult as ServiceOptionsAndVariantsListQueryResult, type index_d$d_ServiceOptionsAndVariantsNonNullableFields as ServiceOptionsAndVariantsNonNullableFields, type index_d$d_ServiceOptionsAndVariantsUpdatedEnvelope as ServiceOptionsAndVariantsUpdatedEnvelope, type index_d$d_ServiceVariant as ServiceVariant, type index_d$d_ServiceVariants as ServiceVariants, type Session$2 as Session, type SessionCancelled$2 as SessionCancelled, type SessionCreated$2 as SessionCreated, SessionType$2 as SessionType, type SessionUpdated$2 as SessionUpdated, type SessionVersion$2 as SessionVersion, type SiteCloned$2 as SiteCloned, type SiteCreated$4 as SiteCreated, type SitePropertiesEvent$2 as SitePropertiesEvent, type SitePropertiesNotification$2 as SitePropertiesNotification, type SitePropertiesOnScheduleCreation$2 as SitePropertiesOnScheduleCreation, SortOrder$9 as SortOrder, type Sorting$9 as Sorting, type SpecialHourPeriod$3 as SpecialHourPeriod, type SplitInterval$2 as SplitInterval, type StaffData$2 as StaffData, Status$3 as Status, type StreetAddress$5 as StreetAddress, type Subdivision$5 as Subdivision, type SupportedLanguage$2 as SupportedLanguage, type TimePeriod$3 as TimePeriod, type Translation$2 as Translation, Transparency$2 as Transparency, type index_d$d_UpdateServiceOptionsAndVariants as UpdateServiceOptionsAndVariants, type index_d$d_UpdateServiceOptionsAndVariantsRequest as UpdateServiceOptionsAndVariantsRequest, type index_d$d_UpdateServiceOptionsAndVariantsResponse as UpdateServiceOptionsAndVariantsResponse, type index_d$d_UpdateServiceOptionsAndVariantsResponseNonNullableFields as UpdateServiceOptionsAndVariantsResponseNonNullableFields, type V4Address$1 as V4Address, type Version$2 as Version, WebhookIdentityType$a as WebhookIdentityType, type index_d$d__publicOnServiceOptionsAndVariantsCreatedType as _publicOnServiceOptionsAndVariantsCreatedType, type index_d$d__publicOnServiceOptionsAndVariantsDeletedType as _publicOnServiceOptionsAndVariantsDeletedType, type index_d$d__publicOnServiceOptionsAndVariantsUpdatedType as _publicOnServiceOptionsAndVariantsUpdatedType, index_d$d_cloneServiceOptionsAndVariants as cloneServiceOptionsAndVariants, index_d$d_createServiceOptionsAndVariants as createServiceOptionsAndVariants, index_d$d_deleteServiceOptionsAndVariants as deleteServiceOptionsAndVariants, index_d$d_getServiceOptionsAndVariants as getServiceOptionsAndVariants, index_d$d_getServiceOptionsAndVariantsByServiceId as getServiceOptionsAndVariantsByServiceId, index_d$d_onServiceOptionsAndVariantsCreated as onServiceOptionsAndVariantsCreated, index_d$d_onServiceOptionsAndVariantsDeleted as onServiceOptionsAndVariantsDeleted, index_d$d_onServiceOptionsAndVariantsUpdated as onServiceOptionsAndVariantsUpdated, onServiceOptionsAndVariantsCreated$1 as publicOnServiceOptionsAndVariantsCreated, onServiceOptionsAndVariantsDeleted$1 as publicOnServiceOptionsAndVariantsDeleted, onServiceOptionsAndVariantsUpdated$1 as publicOnServiceOptionsAndVariantsUpdated, index_d$d_queryServiceOptionsAndVariants as queryServiceOptionsAndVariants, index_d$d_updateServiceOptionsAndVariants as updateServiceOptionsAndVariants };
7139
7163
  }
7140
7164
 
7141
7165
  /**
@@ -12697,16 +12721,27 @@ interface V2Schedule {
12697
12721
  * @readonly
12698
12722
  */
12699
12723
  lastSessionEnd?: Date | null;
12700
- /** Limitations dictating the way session availability is calculated. For appointments only. */
12724
+ /** Limitations affecting the availability of the service. */
12701
12725
  availabilityConstraints?: V2AvailabilityConstraints;
12702
12726
  }
12703
12727
  interface V2AvailabilityConstraints {
12704
12728
  /**
12705
- * A list of duration options for sessions, in minutes.
12729
+ * A calculated list of all available durations for a service.
12730
+ *
12731
+ * If the service payment is of typed `Varied` with `Duration` option, this list will contain the durations of the variants.
12732
+ * The durations order will reflect the order of the variants.
12733
+ *
12734
+ * For any other type of service or payment this list will mirror the durations specified in `session_durations`.
12735
+ * @readonly
12736
+ */
12737
+ durations?: Duration[];
12738
+ /**
12739
+ * A list of durations for sessions, in minutes.
12706
12740
  *
12707
- * The availability calculation generates slots for sessions with these durations, unless there is a conflict with existing sessions or other availability constraints exist.
12708
- * Required for services of type `APPOINTMENT` to allow the customer to book a session of the service. Not relevant for other service types.
12741
+ * For service type `APPOINTMENT`: The availability calculation generates slots for sessions with these durations,
12742
+ * unless there is a conflict with existing sessions or other availability constraints exist.
12709
12743
  *
12744
+ * For services type `COURSE` and `CLASS`: The sessions_durations will be a computed list of all the sessions durations in the schedule.
12710
12745
  *
12711
12746
  * Min: 1 minute, Max: 30 days, 23 hours, and 59 minutes
12712
12747
  */
@@ -12720,6 +12755,14 @@ interface V2AvailabilityConstraints {
12720
12755
  */
12721
12756
  timeBetweenSessions?: number;
12722
12757
  }
12758
+ interface Duration {
12759
+ /**
12760
+ * The duration of the service in minutes.
12761
+ *
12762
+ * Min: 1 minute, Max: 30 days, 23 hours, and 59 minutes
12763
+ */
12764
+ minutes?: number;
12765
+ }
12723
12766
  interface StaffMember$1 {
12724
12767
  /**
12725
12768
  * ID of the staff member providing the service, can be used to retrieve resource information using wix-bookings-backend resources API.
@@ -15576,7 +15619,11 @@ interface BookingPolicyNonNullableFields$1 {
15576
15619
  cancellationFeePolicy?: CancellationFeePolicyNonNullableFields$1;
15577
15620
  saveCreditCardPolicy?: SaveCreditCardPolicyNonNullableFields$1;
15578
15621
  }
15622
+ interface DurationNonNullableFields {
15623
+ minutes: number;
15624
+ }
15579
15625
  interface V2AvailabilityConstraintsNonNullableFields {
15626
+ durations: DurationNonNullableFields[];
15580
15627
  sessionDurations: number[];
15581
15628
  timeBetweenSessions: number;
15582
15629
  }
@@ -16445,6 +16492,7 @@ type index_d$6_DisablePricingPlansForServiceResponse = DisablePricingPlansForSer
16445
16492
  type index_d$6_DisablePricingPlansForServiceResponseNonNullableFields = DisablePricingPlansForServiceResponseNonNullableFields;
16446
16493
  type index_d$6_Discount = Discount;
16447
16494
  type index_d$6_DiscountDiscountOneOf = DiscountDiscountOneOf;
16495
+ type index_d$6_Duration = Duration;
16448
16496
  type index_d$6_EnablePricingPlansForServiceRequest = EnablePricingPlansForServiceRequest;
16449
16497
  type index_d$6_EnablePricingPlansForServiceResponse = EnablePricingPlansForServiceResponse;
16450
16498
  type index_d$6_EnablePricingPlansForServiceResponseNonNullableFields = EnablePricingPlansForServiceResponseNonNullableFields;
@@ -16614,7 +16662,7 @@ declare const index_d$6_setServiceLocations: typeof setServiceLocations;
16614
16662
  declare const index_d$6_updateService: typeof updateService;
16615
16663
  declare const index_d$6_validateSlug: typeof validateSlug;
16616
16664
  declare namespace index_d$6 {
16617
- export { index_d$6_Action as Action, type ActionEvent$4 as ActionEvent, type Address$4 as Address, type AddressHint$1 as AddressHint, type AddressLocation$3 as AddressLocation, type AddressStreetOneOf$3 as AddressStreetOneOf, type index_d$6_Aggregation as Aggregation, type AggregationData$1 as AggregationData, type index_d$6_AggregationKindOneOf as AggregationKindOneOf, type AggregationResults$1 as AggregationResults, type AggregationResultsResultOneOf$1 as AggregationResultsResultOneOf, type index_d$6_AggregationResultsScalarResult as AggregationResultsScalarResult, AggregationType$1 as AggregationType, type ApplicationError$2 as ApplicationError, ApprovalStatus$1 as ApprovalStatus, type Availability$1 as Availability, type AvailabilityConstraints$1 as AvailabilityConstraints, type AvailabilityPolicy$1 as AvailabilityPolicy, type AvailabilityPolicyUpdated$1 as AvailabilityPolicyUpdated, type BaseEventMetadata$4 as BaseEventMetadata, type index_d$6_Behavior as Behavior, type index_d$6_BehaviorBehaviorOneOf as BehaviorBehaviorOneOf, type index_d$6_Benefit as Benefit, type index_d$6_BenefitNotification as BenefitNotification, index_d$6_BenefitType as BenefitType, type BookAfterStartPolicy$1 as BookAfterStartPolicy, type index_d$6_BookingForm as BookingForm, type BookingPolicy$1 as BookingPolicy, type index_d$6_BookingPolicyWithServices as BookingPolicyWithServices, type BulkActionMetadata$2 as BulkActionMetadata, type index_d$6_BulkCreateServicesRequest as BulkCreateServicesRequest, type index_d$6_BulkCreateServicesResponse as BulkCreateServicesResponse, type index_d$6_BulkDeleteServicesByFilterOptions as BulkDeleteServicesByFilterOptions, type index_d$6_BulkDeleteServicesByFilterRequest as BulkDeleteServicesByFilterRequest, type index_d$6_BulkDeleteServicesByFilterResponse as BulkDeleteServicesByFilterResponse, type index_d$6_BulkDeleteServicesByFilterResponseNonNullableFields as BulkDeleteServicesByFilterResponseNonNullableFields, type index_d$6_BulkDeleteServicesOptions as BulkDeleteServicesOptions, type index_d$6_BulkDeleteServicesRequest as BulkDeleteServicesRequest, type index_d$6_BulkDeleteServicesResponse as BulkDeleteServicesResponse, type index_d$6_BulkDeleteServicesResponseNonNullableFields as BulkDeleteServicesResponseNonNullableFields, type index_d$6_BulkServiceResult as BulkServiceResult, type index_d$6_BulkUpdateServicesByFilterOptions as BulkUpdateServicesByFilterOptions, type index_d$6_BulkUpdateServicesByFilterRequest as BulkUpdateServicesByFilterRequest, type index_d$6_BulkUpdateServicesByFilterResponse as BulkUpdateServicesByFilterResponse, type index_d$6_BulkUpdateServicesByFilterResponseNonNullableFields as BulkUpdateServicesByFilterResponseNonNullableFields, type index_d$6_BulkUpdateServicesOptions as BulkUpdateServicesOptions, type index_d$6_BulkUpdateServicesRequest as BulkUpdateServicesRequest, type index_d$6_BulkUpdateServicesResponse as BulkUpdateServicesResponse, type index_d$6_BulkUpdateServicesResponseNonNullableFields as BulkUpdateServicesResponseNonNullableFields, type index_d$6_BusinessLocation as BusinessLocation, type index_d$6_BusinessLocationOptions as BusinessLocationOptions, type index_d$6_BusinessLocations as BusinessLocations, type BusinessSchedule$2 as BusinessSchedule, type CalendarConference$1 as CalendarConference, type CalendarDateTime$1 as CalendarDateTime, CalendarType$1 as CalendarType, type CancellationFeePolicy$1 as CancellationFeePolicy, type CancellationPolicy$1 as CancellationPolicy, type CancellationWindow$1 as CancellationWindow, type CancellationWindowFeeOneOf$1 as CancellationWindowFeeOneOf, type Categories$1 as Categories, type Category$1 as Category, type CategoryNotification$1 as CategoryNotification, index_d$6_CategoryNotificationEvent as CategoryNotificationEvent, index_d$6_CategoryStatus as CategoryStatus, type ChangeContext$1 as ChangeContext, type ChangeContextPayloadOneOf$1 as ChangeContextPayloadOneOf, index_d$6_CloneErrors as CloneErrors, type index_d$6_CloneServiceOptions as CloneServiceOptions, type index_d$6_CloneServiceRequest as CloneServiceRequest, type index_d$6_CloneServiceResponse as CloneServiceResponse, type index_d$6_CloneServiceResponseNonNullableFields as CloneServiceResponseNonNullableFields, type index_d$6_CommonAddress as CommonAddress, type index_d$6_CommonAddressLocation as CommonAddressLocation, type index_d$6_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type index_d$6_CommonStreetAddress as CommonStreetAddress, type ConferenceProvider$1 as ConferenceProvider, ConferenceType$1 as ConferenceType, type index_d$6_Conferencing as Conferencing, type index_d$6_ConnectedService as ConnectedService, type ConsentPolicy$1 as ConsentPolicy, type index_d$6_CountServicesOptions as CountServicesOptions, type index_d$6_CountServicesRequest as CountServicesRequest, type index_d$6_CountServicesResponse as CountServicesResponse, type index_d$6_CountServicesResponseNonNullableFields as CountServicesResponseNonNullableFields, type index_d$6_CreateServiceRequest as CreateServiceRequest, type index_d$6_CreateServiceResponse as CreateServiceResponse, type index_d$6_CreateServiceResponseNonNullableFields as CreateServiceResponseNonNullableFields, index_d$6_CrudType as CrudType, type CursorPaging$4 as CursorPaging, type CursorPagingMetadata$3 as CursorPagingMetadata, type CursorQuery$2 as CursorQuery, type CursorQueryPagingMethodOneOf$2 as CursorQueryPagingMethodOneOf, type CursorSearch$1 as CursorSearch, type CursorSearchPagingMethodOneOf$1 as CursorSearchPagingMethodOneOf, type Cursors$4 as Cursors, type index_d$6_CustomLocationOptions as CustomLocationOptions, type index_d$6_CustomLocations as CustomLocations, type index_d$6_CustomPayment as CustomPayment, type index_d$6_CustomerLocations as CustomerLocations, type index_d$6_DateHistogramAggregation as DateHistogramAggregation, index_d$6_DateHistogramAggregationInterval as DateHistogramAggregationInterval, type index_d$6_DateHistogramResult as DateHistogramResult, type index_d$6_DateHistogramResults as DateHistogramResults, Day$1 as Day, DayOfWeek$2 as DayOfWeek, type index_d$6_Delete as Delete, type index_d$6_DeleteServiceOptions as DeleteServiceOptions, type index_d$6_DeleteServiceRequest as DeleteServiceRequest, type index_d$6_DeleteServiceResponse as DeleteServiceResponse, type index_d$6_DisablePricingPlansForServiceOptions as DisablePricingPlansForServiceOptions, type index_d$6_DisablePricingPlansForServiceRequest as DisablePricingPlansForServiceRequest, type index_d$6_DisablePricingPlansForServiceResponse as DisablePricingPlansForServiceResponse, type index_d$6_DisablePricingPlansForServiceResponseNonNullableFields as DisablePricingPlansForServiceResponseNonNullableFields, type index_d$6_Discount as Discount, type index_d$6_DiscountDiscountOneOf as DiscountDiscountOneOf, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type Empty$2 as Empty, type index_d$6_EnablePricingPlansForServiceRequest as EnablePricingPlansForServiceRequest, type index_d$6_EnablePricingPlansForServiceResponse as EnablePricingPlansForServiceResponse, type index_d$6_EnablePricingPlansForServiceResponseNonNullableFields as EnablePricingPlansForServiceResponseNonNullableFields, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type index_d$6_EntryPass as EntryPass, Event$1 as Event, type EventMetadata$3 as EventMetadata, type ExtendedFields$4 as ExtendedFields, type ExternalCalendarInfo$1 as ExternalCalendarInfo, type ExternalCalendarOverrides$1 as ExternalCalendarOverrides, type index_d$6_FixedPayment as FixedPayment, type index_d$6_Form as Form, type index_d$6_FormDetails as FormDetails, type index_d$6_FormSettings as FormSettings, type Frequency$1 as Frequency, type GeoCoordinates$1 as GeoCoordinates, type index_d$6_GetServiceAvailabilityConstraintsRequest as GetServiceAvailabilityConstraintsRequest, type index_d$6_GetServiceAvailabilityConstraintsResponse as GetServiceAvailabilityConstraintsResponse, type index_d$6_GetServiceRequest as GetServiceRequest, type index_d$6_GetServiceResponse as GetServiceResponse, type index_d$6_GetServiceResponseNonNullableFields as GetServiceResponseNonNullableFields, type index_d$6_GroupByAggregation as GroupByAggregation, type index_d$6_GroupByAggregationKindOneOf as GroupByAggregationKindOneOf, type GroupByValueResults$1 as GroupByValueResults, type index_d$6_HtmlSitePublished as HtmlSitePublished, type IdentificationData$6 as IdentificationData, type IdentificationDataIdOneOf$6 as IdentificationDataIdOneOf, type index_d$6_IncludeMissingValuesOptions as IncludeMissingValuesOptions, type Interval$1 as Interval, type IntervalSplit$1 as IntervalSplit, type index_d$6_InvalidPricingPlan as InvalidPricingPlan, index_d$6_InvalidSlugError as InvalidSlugError, type ItemMetadata$2 as ItemMetadata, type index_d$6_Keyword as Keyword, type LimitEarlyBookingPolicy$1 as LimitEarlyBookingPolicy, type LimitLateBookingPolicy$1 as LimitLateBookingPolicy, type LinkedSchedule$1 as LinkedSchedule, type LocalDateTime$1 as LocalDateTime, type Locale$1 as Locale, type Location$3 as Location, LocationStatus$1 as LocationStatus, LocationType$3 as LocationType, index_d$6_LocationTypeEnumLocationType as LocationTypeEnumLocationType, type LocationsAddress$1 as LocationsAddress, type LocationsAddressLocation$1 as LocationsAddressLocation, type LocationsLocation$1 as LocationsLocation, LocationsLocationType$1 as LocationsLocationType, type LocationsStreetAddress$1 as LocationsStreetAddress, type index_d$6_MaskedService as MaskedService, type index_d$6_Media as Media, type MediaItem$1 as MediaItem, type index_d$6_MediaItemItemOneOf as MediaItemItemOneOf, type MessageEnvelope$5 as MessageEnvelope, type MigrationData$1 as MigrationData, type MigrationEvent$1 as MigrationEvent, index_d$6_MissingValues as MissingValues, Mode$1 as Mode, type Money$1 as Money, type index_d$6_MoveToNewLocationsOptions as MoveToNewLocationsOptions, type index_d$6_MultiServiceEnabledNotification as MultiServiceEnabledNotification, type Multilingual$1 as Multilingual, type MultipleSessionsCreated$1 as MultipleSessionsCreated, type index_d$6_NestedAggregation as NestedAggregation, type index_d$6_NestedAggregationItem as NestedAggregationItem, type index_d$6_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type NestedAggregationResults$1 as NestedAggregationResults, type NestedAggregationResultsResultOneOf$1 as NestedAggregationResultsResultOneOf, index_d$6_NestedAggregationType as NestedAggregationType, type index_d$6_NestedResultValue as NestedResultValue, type index_d$6_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type index_d$6_NestedResults as NestedResults, type NestedValueAggregationResult$1 as NestedValueAggregationResult, type index_d$6_OnlineBooking as OnlineBooking, type index_d$6_Page as Page, type Paging$2 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type Participant$1 as Participant, type ParticipantNotification$4 as ParticipantNotification, type ParticipantsPolicy$1 as ParticipantsPolicy, type index_d$6_Payment as Payment, type index_d$6_PaymentOptions as PaymentOptions, type index_d$6_PaymentRateOneOf as PaymentRateOneOf, PlacementType$1 as PlacementType, type PolicyDescription$1 as PolicyDescription, type Price$1 as Price, type Properties$1 as Properties, type PropertiesChange$1 as PropertiesChange, type index_d$6_QueryBookingFormsRequest as QueryBookingFormsRequest, type index_d$6_QueryBookingFormsResponse as QueryBookingFormsResponse, type index_d$6_QueryCategoriesFilter as QueryCategoriesFilter, type index_d$6_QueryCategoriesOptions as QueryCategoriesOptions, type index_d$6_QueryCategoriesRequest as QueryCategoriesRequest, type index_d$6_QueryCategoriesResponse as QueryCategoriesResponse, type index_d$6_QueryCategoriesResponseNonNullableFields as QueryCategoriesResponseNonNullableFields, type index_d$6_QueryLocationsFilter as QueryLocationsFilter, type index_d$6_QueryLocationsOptions as QueryLocationsOptions, type index_d$6_QueryLocationsRequest as QueryLocationsRequest, type index_d$6_QueryLocationsResponse as QueryLocationsResponse, type index_d$6_QueryLocationsResponseNonNullableFields as QueryLocationsResponseNonNullableFields, type index_d$6_QueryPoliciesRequest as QueryPoliciesRequest, type index_d$6_QueryPoliciesResponse as QueryPoliciesResponse, type index_d$6_QueryPoliciesResponseNonNullableFields as QueryPoliciesResponseNonNullableFields, type index_d$6_QueryServicesMultiLanguageRequest as QueryServicesMultiLanguageRequest, type index_d$6_QueryServicesMultiLanguageResponse as QueryServicesMultiLanguageResponse, type index_d$6_QueryServicesOptions as QueryServicesOptions, type index_d$6_QueryServicesRequest as QueryServicesRequest, type index_d$6_QueryServicesResponse as QueryServicesResponse, type index_d$6_QueryServicesResponseNonNullableFields as QueryServicesResponseNonNullableFields, type QueryV2$2 as QueryV2, type QueryV2PagingMethodOneOf$2 as QueryV2PagingMethodOneOf, type index_d$6_RangeAggregation as RangeAggregation, type RangeAggregationResult$1 as RangeAggregationResult, type index_d$6_RangeBucket as RangeBucket, type index_d$6_RangeResult as RangeResult, type RangeResults$1 as RangeResults, type Rate$1 as Rate, index_d$6_RateType as RateType, type RecurringInterval$1 as RecurringInterval, RecurringIntervalType$1 as RecurringIntervalType, type RecurringSessionSplit$1 as RecurringSessionSplit, type RecurringSessionsUpdated$1 as RecurringSessionsUpdated, type index_d$6_ReindexMessage as ReindexMessage, type index_d$6_ReindexMessageActionOneOf as ReindexMessageActionOneOf, type index_d$6_RemovedLocationSessionsAction as RemovedLocationSessionsAction, type index_d$6_RemovedLocationSessionsActionActionOptionsOneOf as RemovedLocationSessionsActionActionOptionsOneOf, RequestedFields$1 as RequestedFields, type ReschedulePolicy$1 as ReschedulePolicy, ResolutionMethod$1 as ResolutionMethod, type Resource$1 as Resource, type index_d$6_ResourceGroup as ResourceGroup, type index_d$6_ResourceIds as ResourceIds, type index_d$6_ResourceNotification as ResourceNotification, index_d$6_ResourceNotificationEvent as ResourceNotificationEvent, index_d$6_ResourceStatus as ResourceStatus, type index_d$6_ResourceType as ResourceType, type ResourcesPolicy$1 as ResourcesPolicy, type RestoreInfo$4 as RestoreInfo, type index_d$6_Results as Results, type SaveCreditCardPolicy$1 as SaveCreditCardPolicy, type index_d$6_ScalarAggregation as ScalarAggregation, type ScalarResult$1 as ScalarResult, ScalarType$1 as ScalarType, type Schedule$1 as Schedule, type ScheduleCancelled$1 as ScheduleCancelled, type ScheduleCreated$1 as ScheduleCreated, type ScheduleNotification$1 as ScheduleNotification, type ScheduleNotificationEventOneOf$1 as ScheduleNotificationEventOneOf, ScheduleStatus$1 as ScheduleStatus, type ScheduleUnassignedFromUser$1 as ScheduleUnassignedFromUser, type ScheduleUpdated$1 as ScheduleUpdated, type ScheduleWithSessions$1 as ScheduleWithSessions, type index_d$6_Schema as Schema, type SearchDetails$1 as SearchDetails, type index_d$6_SearchServicesRequest as SearchServicesRequest, type index_d$6_SearchServicesResponse as SearchServicesResponse, type index_d$6_SearchServicesResponseNonNullableFields as SearchServicesResponseNonNullableFields, type index_d$6_SeoSchema as SeoSchema, type index_d$6_Service as Service, type index_d$6_ServiceAvailabilityConstraints as ServiceAvailabilityConstraints, type index_d$6_ServiceCreatedEnvelope as ServiceCreatedEnvelope, type index_d$6_ServiceDeletedEnvelope as ServiceDeletedEnvelope, type index_d$6_ServiceNonNullableFields as ServiceNonNullableFields, type index_d$6_ServiceResource as ServiceResource, type index_d$6_ServiceResourceSelectionOneOf as ServiceResourceSelectionOneOf, index_d$6_ServiceType as ServiceType, type index_d$6_ServiceUpdatedEnvelope as ServiceUpdatedEnvelope, type index_d$6_ServicesQueryBuilder as ServicesQueryBuilder, type index_d$6_ServicesQueryResult as ServicesQueryResult, type index_d$6_ServicesUrlsChanged as ServicesUrlsChanged, type Session$1 as Session, type SessionCancelled$1 as SessionCancelled, type SessionCreated$1 as SessionCreated, SessionType$1 as SessionType, type SessionUpdated$1 as SessionUpdated, type SessionVersion$1 as SessionVersion, type index_d$6_SetCustomSlugEvent as SetCustomSlugEvent, type index_d$6_SetCustomSlugRequest as SetCustomSlugRequest, type index_d$6_SetCustomSlugResponse as SetCustomSlugResponse, type index_d$6_SetCustomSlugResponseNonNullableFields as SetCustomSlugResponseNonNullableFields, type index_d$6_SetServiceLocationsOptions as SetServiceLocationsOptions, type index_d$6_SetServiceLocationsRequest as SetServiceLocationsRequest, type index_d$6_SetServiceLocationsResponse as SetServiceLocationsResponse, type index_d$6_SetServiceLocationsResponseNonNullableFields as SetServiceLocationsResponseNonNullableFields, type index_d$6_Settings as Settings, type SiteCloned$1 as SiteCloned, type SiteCreated$2 as SiteCreated, type SitePropertiesEvent$1 as SitePropertiesEvent, type SitePropertiesNotification$1 as SitePropertiesNotification, type SitePropertiesOnScheduleCreation$1 as SitePropertiesOnScheduleCreation, type index_d$6_Slug as Slug, index_d$6_SortDirection as SortDirection, SortOrder$4 as SortOrder, index_d$6_SortType as SortType, type Sorting$4 as Sorting, type SpecialHourPeriod$2 as SpecialHourPeriod, type SplitInterval$1 as SplitInterval, type StaffData$1 as StaffData, type index_d$6_StaffMediaItem as StaffMediaItem, type index_d$6_StaffMediaItemItemOneOf as StaffMediaItemItemOneOf, type StaffMember$1 as StaffMember, type index_d$6_StaffMemberDetails as StaffMemberDetails, Status$2 as Status, type StreetAddress$3 as StreetAddress, type Subdivision$3 as Subdivision, type SupportedLanguage$1 as SupportedLanguage, type index_d$6_Tag as Tag, type TimePeriod$2 as TimePeriod, type Translation$1 as Translation, Transparency$1 as Transparency, type index_d$6_URLs as URLs, type index_d$6_UpdateService as UpdateService, type index_d$6_UpdateServiceRequest as UpdateServiceRequest, type index_d$6_UpdateServiceResponse as UpdateServiceResponse, type index_d$6_UpdateServiceResponseNonNullableFields as UpdateServiceResponseNonNullableFields, type index_d$6_Upsert as Upsert, type index_d$6_UserDomainInfoChangedEvent as UserDomainInfoChangedEvent, type index_d$6_V1SplitInterval as V1SplitInterval, type index_d$6_V2AvailabilityConstraints as V2AvailabilityConstraints, type index_d$6_V2Category as V2Category, type index_d$6_V2Location as V2Location, type index_d$6_V2LocationOptionsOneOf as V2LocationOptionsOneOf, type index_d$6_V2ParticipantNotification as V2ParticipantNotification, type index_d$6_V2Schedule as V2Schedule, type index_d$6_V4Address as V4Address, type index_d$6_ValidateSlugOptions as ValidateSlugOptions, type index_d$6_ValidateSlugRequest as ValidateSlugRequest, type index_d$6_ValidateSlugResponse as ValidateSlugResponse, type index_d$6_ValidateSlugResponseNonNullableFields as ValidateSlugResponseNonNullableFields, type index_d$6_ValueAggregation as ValueAggregation, type index_d$6_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type ValueAggregationResult$1 as ValueAggregationResult, type index_d$6_ValueResult as ValueResult, type ValueResults$1 as ValueResults, type index_d$6_VariedPayment as VariedPayment, type Version$1 as Version, type WaitlistPolicy$1 as WaitlistPolicy, WebhookIdentityType$5 as WebhookIdentityType, type index_d$6__publicOnServiceCreatedType as _publicOnServiceCreatedType, type index_d$6__publicOnServiceDeletedType as _publicOnServiceDeletedType, type index_d$6__publicOnServiceUpdatedType as _publicOnServiceUpdatedType, index_d$6_bulkDeleteServices as bulkDeleteServices, index_d$6_bulkDeleteServicesByFilter as bulkDeleteServicesByFilter, index_d$6_bulkUpdateServices as bulkUpdateServices, index_d$6_bulkUpdateServicesByFilter as bulkUpdateServicesByFilter, index_d$6_cloneService as cloneService, index_d$6_countServices as countServices, index_d$6_createService as createService, index_d$6_deleteService as deleteService, index_d$6_disablePricingPlansForService as disablePricingPlansForService, index_d$6_enablePricingPlansForService as enablePricingPlansForService, index_d$6_getService as getService, index_d$6_onServiceCreated as onServiceCreated, index_d$6_onServiceDeleted as onServiceDeleted, index_d$6_onServiceUpdated as onServiceUpdated, onServiceCreated$1 as publicOnServiceCreated, onServiceDeleted$1 as publicOnServiceDeleted, onServiceUpdated$1 as publicOnServiceUpdated, index_d$6_queryCategories as queryCategories, index_d$6_queryLocations as queryLocations, index_d$6_queryPolicies as queryPolicies, index_d$6_queryServices as queryServices, index_d$6_searchServices as searchServices, index_d$6_setCustomSlug as setCustomSlug, index_d$6_setServiceLocations as setServiceLocations, index_d$6_updateService as updateService, index_d$6_validateSlug as validateSlug };
16665
+ export { index_d$6_Action as Action, type ActionEvent$4 as ActionEvent, type Address$4 as Address, type AddressHint$1 as AddressHint, type AddressLocation$3 as AddressLocation, type AddressStreetOneOf$3 as AddressStreetOneOf, type index_d$6_Aggregation as Aggregation, type AggregationData$1 as AggregationData, type index_d$6_AggregationKindOneOf as AggregationKindOneOf, type AggregationResults$1 as AggregationResults, type AggregationResultsResultOneOf$1 as AggregationResultsResultOneOf, type index_d$6_AggregationResultsScalarResult as AggregationResultsScalarResult, AggregationType$1 as AggregationType, type ApplicationError$2 as ApplicationError, ApprovalStatus$1 as ApprovalStatus, type Availability$1 as Availability, type AvailabilityConstraints$1 as AvailabilityConstraints, type AvailabilityPolicy$1 as AvailabilityPolicy, type AvailabilityPolicyUpdated$1 as AvailabilityPolicyUpdated, type BaseEventMetadata$4 as BaseEventMetadata, type index_d$6_Behavior as Behavior, type index_d$6_BehaviorBehaviorOneOf as BehaviorBehaviorOneOf, type index_d$6_Benefit as Benefit, type index_d$6_BenefitNotification as BenefitNotification, index_d$6_BenefitType as BenefitType, type BookAfterStartPolicy$1 as BookAfterStartPolicy, type index_d$6_BookingForm as BookingForm, type BookingPolicy$1 as BookingPolicy, type index_d$6_BookingPolicyWithServices as BookingPolicyWithServices, type BulkActionMetadata$2 as BulkActionMetadata, type index_d$6_BulkCreateServicesRequest as BulkCreateServicesRequest, type index_d$6_BulkCreateServicesResponse as BulkCreateServicesResponse, type index_d$6_BulkDeleteServicesByFilterOptions as BulkDeleteServicesByFilterOptions, type index_d$6_BulkDeleteServicesByFilterRequest as BulkDeleteServicesByFilterRequest, type index_d$6_BulkDeleteServicesByFilterResponse as BulkDeleteServicesByFilterResponse, type index_d$6_BulkDeleteServicesByFilterResponseNonNullableFields as BulkDeleteServicesByFilterResponseNonNullableFields, type index_d$6_BulkDeleteServicesOptions as BulkDeleteServicesOptions, type index_d$6_BulkDeleteServicesRequest as BulkDeleteServicesRequest, type index_d$6_BulkDeleteServicesResponse as BulkDeleteServicesResponse, type index_d$6_BulkDeleteServicesResponseNonNullableFields as BulkDeleteServicesResponseNonNullableFields, type index_d$6_BulkServiceResult as BulkServiceResult, type index_d$6_BulkUpdateServicesByFilterOptions as BulkUpdateServicesByFilterOptions, type index_d$6_BulkUpdateServicesByFilterRequest as BulkUpdateServicesByFilterRequest, type index_d$6_BulkUpdateServicesByFilterResponse as BulkUpdateServicesByFilterResponse, type index_d$6_BulkUpdateServicesByFilterResponseNonNullableFields as BulkUpdateServicesByFilterResponseNonNullableFields, type index_d$6_BulkUpdateServicesOptions as BulkUpdateServicesOptions, type index_d$6_BulkUpdateServicesRequest as BulkUpdateServicesRequest, type index_d$6_BulkUpdateServicesResponse as BulkUpdateServicesResponse, type index_d$6_BulkUpdateServicesResponseNonNullableFields as BulkUpdateServicesResponseNonNullableFields, type index_d$6_BusinessLocation as BusinessLocation, type index_d$6_BusinessLocationOptions as BusinessLocationOptions, type index_d$6_BusinessLocations as BusinessLocations, type BusinessSchedule$2 as BusinessSchedule, type CalendarConference$1 as CalendarConference, type CalendarDateTime$1 as CalendarDateTime, CalendarType$1 as CalendarType, type CancellationFeePolicy$1 as CancellationFeePolicy, type CancellationPolicy$1 as CancellationPolicy, type CancellationWindow$1 as CancellationWindow, type CancellationWindowFeeOneOf$1 as CancellationWindowFeeOneOf, type Categories$1 as Categories, type Category$1 as Category, type CategoryNotification$1 as CategoryNotification, index_d$6_CategoryNotificationEvent as CategoryNotificationEvent, index_d$6_CategoryStatus as CategoryStatus, type ChangeContext$1 as ChangeContext, type ChangeContextPayloadOneOf$1 as ChangeContextPayloadOneOf, index_d$6_CloneErrors as CloneErrors, type index_d$6_CloneServiceOptions as CloneServiceOptions, type index_d$6_CloneServiceRequest as CloneServiceRequest, type index_d$6_CloneServiceResponse as CloneServiceResponse, type index_d$6_CloneServiceResponseNonNullableFields as CloneServiceResponseNonNullableFields, type index_d$6_CommonAddress as CommonAddress, type index_d$6_CommonAddressLocation as CommonAddressLocation, type index_d$6_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type index_d$6_CommonStreetAddress as CommonStreetAddress, type ConferenceProvider$1 as ConferenceProvider, ConferenceType$1 as ConferenceType, type index_d$6_Conferencing as Conferencing, type index_d$6_ConnectedService as ConnectedService, type ConsentPolicy$1 as ConsentPolicy, type index_d$6_CountServicesOptions as CountServicesOptions, type index_d$6_CountServicesRequest as CountServicesRequest, type index_d$6_CountServicesResponse as CountServicesResponse, type index_d$6_CountServicesResponseNonNullableFields as CountServicesResponseNonNullableFields, type index_d$6_CreateServiceRequest as CreateServiceRequest, type index_d$6_CreateServiceResponse as CreateServiceResponse, type index_d$6_CreateServiceResponseNonNullableFields as CreateServiceResponseNonNullableFields, index_d$6_CrudType as CrudType, type CursorPaging$4 as CursorPaging, type CursorPagingMetadata$3 as CursorPagingMetadata, type CursorQuery$2 as CursorQuery, type CursorQueryPagingMethodOneOf$2 as CursorQueryPagingMethodOneOf, type CursorSearch$1 as CursorSearch, type CursorSearchPagingMethodOneOf$1 as CursorSearchPagingMethodOneOf, type Cursors$4 as Cursors, type index_d$6_CustomLocationOptions as CustomLocationOptions, type index_d$6_CustomLocations as CustomLocations, type index_d$6_CustomPayment as CustomPayment, type index_d$6_CustomerLocations as CustomerLocations, type index_d$6_DateHistogramAggregation as DateHistogramAggregation, index_d$6_DateHistogramAggregationInterval as DateHistogramAggregationInterval, type index_d$6_DateHistogramResult as DateHistogramResult, type index_d$6_DateHistogramResults as DateHistogramResults, Day$1 as Day, DayOfWeek$2 as DayOfWeek, type index_d$6_Delete as Delete, type index_d$6_DeleteServiceOptions as DeleteServiceOptions, type index_d$6_DeleteServiceRequest as DeleteServiceRequest, type index_d$6_DeleteServiceResponse as DeleteServiceResponse, type index_d$6_DisablePricingPlansForServiceOptions as DisablePricingPlansForServiceOptions, type index_d$6_DisablePricingPlansForServiceRequest as DisablePricingPlansForServiceRequest, type index_d$6_DisablePricingPlansForServiceResponse as DisablePricingPlansForServiceResponse, type index_d$6_DisablePricingPlansForServiceResponseNonNullableFields as DisablePricingPlansForServiceResponseNonNullableFields, type index_d$6_Discount as Discount, type index_d$6_DiscountDiscountOneOf as DiscountDiscountOneOf, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type index_d$6_Duration as Duration, type Empty$2 as Empty, type index_d$6_EnablePricingPlansForServiceRequest as EnablePricingPlansForServiceRequest, type index_d$6_EnablePricingPlansForServiceResponse as EnablePricingPlansForServiceResponse, type index_d$6_EnablePricingPlansForServiceResponseNonNullableFields as EnablePricingPlansForServiceResponseNonNullableFields, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type index_d$6_EntryPass as EntryPass, Event$1 as Event, type EventMetadata$3 as EventMetadata, type ExtendedFields$4 as ExtendedFields, type ExternalCalendarInfo$1 as ExternalCalendarInfo, type ExternalCalendarOverrides$1 as ExternalCalendarOverrides, type index_d$6_FixedPayment as FixedPayment, type index_d$6_Form as Form, type index_d$6_FormDetails as FormDetails, type index_d$6_FormSettings as FormSettings, type Frequency$1 as Frequency, type GeoCoordinates$1 as GeoCoordinates, type index_d$6_GetServiceAvailabilityConstraintsRequest as GetServiceAvailabilityConstraintsRequest, type index_d$6_GetServiceAvailabilityConstraintsResponse as GetServiceAvailabilityConstraintsResponse, type index_d$6_GetServiceRequest as GetServiceRequest, type index_d$6_GetServiceResponse as GetServiceResponse, type index_d$6_GetServiceResponseNonNullableFields as GetServiceResponseNonNullableFields, type index_d$6_GroupByAggregation as GroupByAggregation, type index_d$6_GroupByAggregationKindOneOf as GroupByAggregationKindOneOf, type GroupByValueResults$1 as GroupByValueResults, type index_d$6_HtmlSitePublished as HtmlSitePublished, type IdentificationData$6 as IdentificationData, type IdentificationDataIdOneOf$6 as IdentificationDataIdOneOf, type index_d$6_IncludeMissingValuesOptions as IncludeMissingValuesOptions, type Interval$1 as Interval, type IntervalSplit$1 as IntervalSplit, type index_d$6_InvalidPricingPlan as InvalidPricingPlan, index_d$6_InvalidSlugError as InvalidSlugError, type ItemMetadata$2 as ItemMetadata, type index_d$6_Keyword as Keyword, type LimitEarlyBookingPolicy$1 as LimitEarlyBookingPolicy, type LimitLateBookingPolicy$1 as LimitLateBookingPolicy, type LinkedSchedule$1 as LinkedSchedule, type LocalDateTime$1 as LocalDateTime, type Locale$1 as Locale, type Location$3 as Location, LocationStatus$1 as LocationStatus, LocationType$3 as LocationType, index_d$6_LocationTypeEnumLocationType as LocationTypeEnumLocationType, type LocationsAddress$1 as LocationsAddress, type LocationsAddressLocation$1 as LocationsAddressLocation, type LocationsLocation$1 as LocationsLocation, LocationsLocationType$1 as LocationsLocationType, type LocationsStreetAddress$1 as LocationsStreetAddress, type index_d$6_MaskedService as MaskedService, type index_d$6_Media as Media, type MediaItem$1 as MediaItem, type index_d$6_MediaItemItemOneOf as MediaItemItemOneOf, type MessageEnvelope$5 as MessageEnvelope, type MigrationData$1 as MigrationData, type MigrationEvent$1 as MigrationEvent, index_d$6_MissingValues as MissingValues, Mode$1 as Mode, type Money$1 as Money, type index_d$6_MoveToNewLocationsOptions as MoveToNewLocationsOptions, type index_d$6_MultiServiceEnabledNotification as MultiServiceEnabledNotification, type Multilingual$1 as Multilingual, type MultipleSessionsCreated$1 as MultipleSessionsCreated, type index_d$6_NestedAggregation as NestedAggregation, type index_d$6_NestedAggregationItem as NestedAggregationItem, type index_d$6_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type NestedAggregationResults$1 as NestedAggregationResults, type NestedAggregationResultsResultOneOf$1 as NestedAggregationResultsResultOneOf, index_d$6_NestedAggregationType as NestedAggregationType, type index_d$6_NestedResultValue as NestedResultValue, type index_d$6_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type index_d$6_NestedResults as NestedResults, type NestedValueAggregationResult$1 as NestedValueAggregationResult, type index_d$6_OnlineBooking as OnlineBooking, type index_d$6_Page as Page, type Paging$2 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type Participant$1 as Participant, type ParticipantNotification$4 as ParticipantNotification, type ParticipantsPolicy$1 as ParticipantsPolicy, type index_d$6_Payment as Payment, type index_d$6_PaymentOptions as PaymentOptions, type index_d$6_PaymentRateOneOf as PaymentRateOneOf, PlacementType$1 as PlacementType, type PolicyDescription$1 as PolicyDescription, type Price$1 as Price, type Properties$1 as Properties, type PropertiesChange$1 as PropertiesChange, type index_d$6_QueryBookingFormsRequest as QueryBookingFormsRequest, type index_d$6_QueryBookingFormsResponse as QueryBookingFormsResponse, type index_d$6_QueryCategoriesFilter as QueryCategoriesFilter, type index_d$6_QueryCategoriesOptions as QueryCategoriesOptions, type index_d$6_QueryCategoriesRequest as QueryCategoriesRequest, type index_d$6_QueryCategoriesResponse as QueryCategoriesResponse, type index_d$6_QueryCategoriesResponseNonNullableFields as QueryCategoriesResponseNonNullableFields, type index_d$6_QueryLocationsFilter as QueryLocationsFilter, type index_d$6_QueryLocationsOptions as QueryLocationsOptions, type index_d$6_QueryLocationsRequest as QueryLocationsRequest, type index_d$6_QueryLocationsResponse as QueryLocationsResponse, type index_d$6_QueryLocationsResponseNonNullableFields as QueryLocationsResponseNonNullableFields, type index_d$6_QueryPoliciesRequest as QueryPoliciesRequest, type index_d$6_QueryPoliciesResponse as QueryPoliciesResponse, type index_d$6_QueryPoliciesResponseNonNullableFields as QueryPoliciesResponseNonNullableFields, type index_d$6_QueryServicesMultiLanguageRequest as QueryServicesMultiLanguageRequest, type index_d$6_QueryServicesMultiLanguageResponse as QueryServicesMultiLanguageResponse, type index_d$6_QueryServicesOptions as QueryServicesOptions, type index_d$6_QueryServicesRequest as QueryServicesRequest, type index_d$6_QueryServicesResponse as QueryServicesResponse, type index_d$6_QueryServicesResponseNonNullableFields as QueryServicesResponseNonNullableFields, type QueryV2$2 as QueryV2, type QueryV2PagingMethodOneOf$2 as QueryV2PagingMethodOneOf, type index_d$6_RangeAggregation as RangeAggregation, type RangeAggregationResult$1 as RangeAggregationResult, type index_d$6_RangeBucket as RangeBucket, type index_d$6_RangeResult as RangeResult, type RangeResults$1 as RangeResults, type Rate$1 as Rate, index_d$6_RateType as RateType, type RecurringInterval$1 as RecurringInterval, RecurringIntervalType$1 as RecurringIntervalType, type RecurringSessionSplit$1 as RecurringSessionSplit, type RecurringSessionsUpdated$1 as RecurringSessionsUpdated, type index_d$6_ReindexMessage as ReindexMessage, type index_d$6_ReindexMessageActionOneOf as ReindexMessageActionOneOf, type index_d$6_RemovedLocationSessionsAction as RemovedLocationSessionsAction, type index_d$6_RemovedLocationSessionsActionActionOptionsOneOf as RemovedLocationSessionsActionActionOptionsOneOf, RequestedFields$1 as RequestedFields, type ReschedulePolicy$1 as ReschedulePolicy, ResolutionMethod$1 as ResolutionMethod, type Resource$1 as Resource, type index_d$6_ResourceGroup as ResourceGroup, type index_d$6_ResourceIds as ResourceIds, type index_d$6_ResourceNotification as ResourceNotification, index_d$6_ResourceNotificationEvent as ResourceNotificationEvent, index_d$6_ResourceStatus as ResourceStatus, type index_d$6_ResourceType as ResourceType, type ResourcesPolicy$1 as ResourcesPolicy, type RestoreInfo$4 as RestoreInfo, type index_d$6_Results as Results, type SaveCreditCardPolicy$1 as SaveCreditCardPolicy, type index_d$6_ScalarAggregation as ScalarAggregation, type ScalarResult$1 as ScalarResult, ScalarType$1 as ScalarType, type Schedule$1 as Schedule, type ScheduleCancelled$1 as ScheduleCancelled, type ScheduleCreated$1 as ScheduleCreated, type ScheduleNotification$1 as ScheduleNotification, type ScheduleNotificationEventOneOf$1 as ScheduleNotificationEventOneOf, ScheduleStatus$1 as ScheduleStatus, type ScheduleUnassignedFromUser$1 as ScheduleUnassignedFromUser, type ScheduleUpdated$1 as ScheduleUpdated, type ScheduleWithSessions$1 as ScheduleWithSessions, type index_d$6_Schema as Schema, type SearchDetails$1 as SearchDetails, type index_d$6_SearchServicesRequest as SearchServicesRequest, type index_d$6_SearchServicesResponse as SearchServicesResponse, type index_d$6_SearchServicesResponseNonNullableFields as SearchServicesResponseNonNullableFields, type index_d$6_SeoSchema as SeoSchema, type index_d$6_Service as Service, type index_d$6_ServiceAvailabilityConstraints as ServiceAvailabilityConstraints, type index_d$6_ServiceCreatedEnvelope as ServiceCreatedEnvelope, type index_d$6_ServiceDeletedEnvelope as ServiceDeletedEnvelope, type index_d$6_ServiceNonNullableFields as ServiceNonNullableFields, type index_d$6_ServiceResource as ServiceResource, type index_d$6_ServiceResourceSelectionOneOf as ServiceResourceSelectionOneOf, index_d$6_ServiceType as ServiceType, type index_d$6_ServiceUpdatedEnvelope as ServiceUpdatedEnvelope, type index_d$6_ServicesQueryBuilder as ServicesQueryBuilder, type index_d$6_ServicesQueryResult as ServicesQueryResult, type index_d$6_ServicesUrlsChanged as ServicesUrlsChanged, type Session$1 as Session, type SessionCancelled$1 as SessionCancelled, type SessionCreated$1 as SessionCreated, SessionType$1 as SessionType, type SessionUpdated$1 as SessionUpdated, type SessionVersion$1 as SessionVersion, type index_d$6_SetCustomSlugEvent as SetCustomSlugEvent, type index_d$6_SetCustomSlugRequest as SetCustomSlugRequest, type index_d$6_SetCustomSlugResponse as SetCustomSlugResponse, type index_d$6_SetCustomSlugResponseNonNullableFields as SetCustomSlugResponseNonNullableFields, type index_d$6_SetServiceLocationsOptions as SetServiceLocationsOptions, type index_d$6_SetServiceLocationsRequest as SetServiceLocationsRequest, type index_d$6_SetServiceLocationsResponse as SetServiceLocationsResponse, type index_d$6_SetServiceLocationsResponseNonNullableFields as SetServiceLocationsResponseNonNullableFields, type index_d$6_Settings as Settings, type SiteCloned$1 as SiteCloned, type SiteCreated$2 as SiteCreated, type SitePropertiesEvent$1 as SitePropertiesEvent, type SitePropertiesNotification$1 as SitePropertiesNotification, type SitePropertiesOnScheduleCreation$1 as SitePropertiesOnScheduleCreation, type index_d$6_Slug as Slug, index_d$6_SortDirection as SortDirection, SortOrder$4 as SortOrder, index_d$6_SortType as SortType, type Sorting$4 as Sorting, type SpecialHourPeriod$2 as SpecialHourPeriod, type SplitInterval$1 as SplitInterval, type StaffData$1 as StaffData, type index_d$6_StaffMediaItem as StaffMediaItem, type index_d$6_StaffMediaItemItemOneOf as StaffMediaItemItemOneOf, type StaffMember$1 as StaffMember, type index_d$6_StaffMemberDetails as StaffMemberDetails, Status$2 as Status, type StreetAddress$3 as StreetAddress, type Subdivision$3 as Subdivision, type SupportedLanguage$1 as SupportedLanguage, type index_d$6_Tag as Tag, type TimePeriod$2 as TimePeriod, type Translation$1 as Translation, Transparency$1 as Transparency, type index_d$6_URLs as URLs, type index_d$6_UpdateService as UpdateService, type index_d$6_UpdateServiceRequest as UpdateServiceRequest, type index_d$6_UpdateServiceResponse as UpdateServiceResponse, type index_d$6_UpdateServiceResponseNonNullableFields as UpdateServiceResponseNonNullableFields, type index_d$6_Upsert as Upsert, type index_d$6_UserDomainInfoChangedEvent as UserDomainInfoChangedEvent, type index_d$6_V1SplitInterval as V1SplitInterval, type index_d$6_V2AvailabilityConstraints as V2AvailabilityConstraints, type index_d$6_V2Category as V2Category, type index_d$6_V2Location as V2Location, type index_d$6_V2LocationOptionsOneOf as V2LocationOptionsOneOf, type index_d$6_V2ParticipantNotification as V2ParticipantNotification, type index_d$6_V2Schedule as V2Schedule, type index_d$6_V4Address as V4Address, type index_d$6_ValidateSlugOptions as ValidateSlugOptions, type index_d$6_ValidateSlugRequest as ValidateSlugRequest, type index_d$6_ValidateSlugResponse as ValidateSlugResponse, type index_d$6_ValidateSlugResponseNonNullableFields as ValidateSlugResponseNonNullableFields, type index_d$6_ValueAggregation as ValueAggregation, type index_d$6_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type ValueAggregationResult$1 as ValueAggregationResult, type index_d$6_ValueResult as ValueResult, type ValueResults$1 as ValueResults, type index_d$6_VariedPayment as VariedPayment, type Version$1 as Version, type WaitlistPolicy$1 as WaitlistPolicy, WebhookIdentityType$5 as WebhookIdentityType, type index_d$6__publicOnServiceCreatedType as _publicOnServiceCreatedType, type index_d$6__publicOnServiceDeletedType as _publicOnServiceDeletedType, type index_d$6__publicOnServiceUpdatedType as _publicOnServiceUpdatedType, index_d$6_bulkDeleteServices as bulkDeleteServices, index_d$6_bulkDeleteServicesByFilter as bulkDeleteServicesByFilter, index_d$6_bulkUpdateServices as bulkUpdateServices, index_d$6_bulkUpdateServicesByFilter as bulkUpdateServicesByFilter, index_d$6_cloneService as cloneService, index_d$6_countServices as countServices, index_d$6_createService as createService, index_d$6_deleteService as deleteService, index_d$6_disablePricingPlansForService as disablePricingPlansForService, index_d$6_enablePricingPlansForService as enablePricingPlansForService, index_d$6_getService as getService, index_d$6_onServiceCreated as onServiceCreated, index_d$6_onServiceDeleted as onServiceDeleted, index_d$6_onServiceUpdated as onServiceUpdated, onServiceCreated$1 as publicOnServiceCreated, onServiceDeleted$1 as publicOnServiceDeleted, onServiceUpdated$1 as publicOnServiceUpdated, index_d$6_queryCategories as queryCategories, index_d$6_queryLocations as queryLocations, index_d$6_queryPolicies as queryPolicies, index_d$6_queryServices as queryServices, index_d$6_searchServices as searchServices, index_d$6_setCustomSlug as setCustomSlug, index_d$6_setServiceLocations as setServiceLocations, index_d$6_updateService as updateService, index_d$6_validateSlug as validateSlug };
16618
16666
  }
16619
16667
 
16620
16668
  /** StaffMember is the main entity of Bookings StaffMembers. used to manage staff providing services */
@@ -3423,6 +3423,7 @@ interface ServiceOptionsAndVariants$1 {
3423
3423
  interface ServiceOption$1 extends ServiceOptionOptionSpecificDataOneOf$1 {
3424
3424
  /** Details about the custom option. Available only for `CUSTOM` options. */
3425
3425
  customData?: CustomServiceOption$1;
3426
+ durationData?: DurationServiceOption$1;
3426
3427
  /** ID of the service option. */
3427
3428
  id?: string;
3428
3429
  /** Type of the service option. */
@@ -3432,11 +3433,13 @@ interface ServiceOption$1 extends ServiceOptionOptionSpecificDataOneOf$1 {
3432
3433
  interface ServiceOptionOptionSpecificDataOneOf$1 {
3433
3434
  /** Details about the custom option. Available only for `CUSTOM` options. */
3434
3435
  customData?: CustomServiceOption$1;
3436
+ durationData?: DurationServiceOption$1;
3435
3437
  }
3436
3438
  declare enum ServiceOptionType$1 {
3437
3439
  UNKNOWN = "UNKNOWN",
3438
3440
  CUSTOM = "CUSTOM",
3439
- STAFF_MEMBER = "STAFF_MEMBER"
3441
+ STAFF_MEMBER = "STAFF_MEMBER",
3442
+ DURATION = "DURATION"
3440
3443
  }
3441
3444
  interface CustomServiceOption$1 {
3442
3445
  /**
@@ -3455,6 +3458,10 @@ interface CustomServiceOption$1 {
3455
3458
  */
3456
3459
  choices?: string[];
3457
3460
  }
3461
+ interface DurationServiceOption$1 {
3462
+ /** Optional name of the duration service option. For example, `Short Class, or Extended Class` which will correspond with a certain duration. */
3463
+ name?: string | null;
3464
+ }
3458
3465
  interface ServiceVariant$1 {
3459
3466
  /**
3460
3467
  * Choices for the service option. Currently, only a single choice is supported
@@ -3476,6 +3483,8 @@ interface ServiceChoice$7 extends ServiceChoiceChoiceOneOf$7 {
3476
3483
  * `availability.linkedSchedules`.
3477
3484
  */
3478
3485
  staffMemberId?: string;
3486
+ /** Duration and an optional name */
3487
+ duration?: Duration$3;
3479
3488
  /** ID of the service option. */
3480
3489
  optionId?: string;
3481
3490
  }
@@ -3490,6 +3499,20 @@ interface ServiceChoiceChoiceOneOf$7 {
3490
3499
  * `availability.linkedSchedules`.
3491
3500
  */
3492
3501
  staffMemberId?: string;
3502
+ /** Duration and an optional name */
3503
+ duration?: Duration$3;
3504
+ }
3505
+ interface Duration$3 {
3506
+ /**
3507
+ * Duration of the service in minutes.
3508
+ * Min: 1 minute, Max: 30 days, 23 hours, and 59 minutes
3509
+ */
3510
+ minutes?: number | null;
3511
+ /**
3512
+ * Name of the duration option.
3513
+ * Defaults to the formatted duration e.g. "1 hour, 30 minutes".
3514
+ */
3515
+ name?: string | null;
3493
3516
  }
3494
3517
  /**
3495
3518
  * Money.
@@ -3751,6 +3774,7 @@ interface ServiceOptionsAndVariants {
3751
3774
  interface ServiceOption extends ServiceOptionOptionSpecificDataOneOf {
3752
3775
  /** Details about the custom option. Available only for `CUSTOM` options. */
3753
3776
  customData?: CustomServiceOption;
3777
+ durationData?: DurationServiceOption;
3754
3778
  /** ID of the service option. */
3755
3779
  _id?: string;
3756
3780
  /** Type of the service option. */
@@ -3760,11 +3784,13 @@ interface ServiceOption extends ServiceOptionOptionSpecificDataOneOf {
3760
3784
  interface ServiceOptionOptionSpecificDataOneOf {
3761
3785
  /** Details about the custom option. Available only for `CUSTOM` options. */
3762
3786
  customData?: CustomServiceOption;
3787
+ durationData?: DurationServiceOption;
3763
3788
  }
3764
3789
  declare enum ServiceOptionType {
3765
3790
  UNKNOWN = "UNKNOWN",
3766
3791
  CUSTOM = "CUSTOM",
3767
- STAFF_MEMBER = "STAFF_MEMBER"
3792
+ STAFF_MEMBER = "STAFF_MEMBER",
3793
+ DURATION = "DURATION"
3768
3794
  }
3769
3795
  interface CustomServiceOption {
3770
3796
  /**
@@ -3783,6 +3809,10 @@ interface CustomServiceOption {
3783
3809
  */
3784
3810
  choices?: string[];
3785
3811
  }
3812
+ interface DurationServiceOption {
3813
+ /** Optional name of the duration service option. For example, `Short Class, or Extended Class` which will correspond with a certain duration. */
3814
+ name?: string | null;
3815
+ }
3786
3816
  interface ServiceVariant {
3787
3817
  /**
3788
3818
  * Choices for the service option. Currently, only a single choice is supported
@@ -3804,6 +3834,8 @@ interface ServiceChoice$6 extends ServiceChoiceChoiceOneOf$6 {
3804
3834
  * `availability.linkedSchedules`.
3805
3835
  */
3806
3836
  staffMemberId?: string;
3837
+ /** Duration and an optional name */
3838
+ duration?: Duration$2;
3807
3839
  /** ID of the service option. */
3808
3840
  optionId?: string;
3809
3841
  }
@@ -3818,6 +3850,20 @@ interface ServiceChoiceChoiceOneOf$6 {
3818
3850
  * `availability.linkedSchedules`.
3819
3851
  */
3820
3852
  staffMemberId?: string;
3853
+ /** Duration and an optional name */
3854
+ duration?: Duration$2;
3855
+ }
3856
+ interface Duration$2 {
3857
+ /**
3858
+ * Duration of the service in minutes.
3859
+ * Min: 1 minute, Max: 30 days, 23 hours, and 59 minutes
3860
+ */
3861
+ minutes?: number | null;
3862
+ /**
3863
+ * Name of the duration option.
3864
+ * Defaults to the formatted duration e.g. "1 hour, 30 minutes".
3865
+ */
3866
+ name?: string | null;
3821
3867
  }
3822
3868
  /**
3823
3869
  * Money.
@@ -8991,16 +9037,27 @@ interface V2Schedule$1 {
8991
9037
  * @readonly
8992
9038
  */
8993
9039
  lastSessionEnd?: Date | null;
8994
- /** Limitations dictating the way session availability is calculated. For appointments only. */
9040
+ /** Limitations affecting the availability of the service. */
8995
9041
  availabilityConstraints?: V2AvailabilityConstraints$1;
8996
9042
  }
8997
9043
  interface V2AvailabilityConstraints$1 {
8998
9044
  /**
8999
- * A list of duration options for sessions, in minutes.
9045
+ * A calculated list of all available durations for a service.
9046
+ *
9047
+ * If the service payment is of typed `Varied` with `Duration` option, this list will contain the durations of the variants.
9048
+ * The durations order will reflect the order of the variants.
9049
+ *
9050
+ * For any other type of service or payment this list will mirror the durations specified in `session_durations`.
9051
+ * @readonly
9052
+ */
9053
+ durations?: Duration$1[];
9054
+ /**
9055
+ * A list of durations for sessions, in minutes.
9000
9056
  *
9001
- * The availability calculation generates slots for sessions with these durations, unless there is a conflict with existing sessions or other availability constraints exist.
9002
- * Required for services of type `APPOINTMENT` to allow the customer to book a session of the service. Not relevant for other service types.
9057
+ * For service type `APPOINTMENT`: The availability calculation generates slots for sessions with these durations,
9058
+ * unless there is a conflict with existing sessions or other availability constraints exist.
9003
9059
  *
9060
+ * For services type `COURSE` and `CLASS`: The sessions_durations will be a computed list of all the sessions durations in the schedule.
9004
9061
  *
9005
9062
  * Min: 1 minute, Max: 30 days, 23 hours, and 59 minutes
9006
9063
  */
@@ -9014,6 +9071,14 @@ interface V2AvailabilityConstraints$1 {
9014
9071
  */
9015
9072
  timeBetweenSessions?: number;
9016
9073
  }
9074
+ interface Duration$1 {
9075
+ /**
9076
+ * The duration of the service in minutes.
9077
+ *
9078
+ * Min: 1 minute, Max: 30 days, 23 hours, and 59 minutes
9079
+ */
9080
+ minutes?: number;
9081
+ }
9017
9082
  interface Slug$1 {
9018
9083
  /** The unique part of service's URL that identifies the service's information page. For example, `service-1` in `https:/example.com/services/service-1`. */
9019
9084
  name?: string;
@@ -10109,7 +10174,11 @@ interface BookingPolicyNonNullableFields$3 {
10109
10174
  cancellationFeePolicy?: CancellationFeePolicyNonNullableFields$3;
10110
10175
  saveCreditCardPolicy?: SaveCreditCardPolicyNonNullableFields$3;
10111
10176
  }
10177
+ interface DurationNonNullableFields$1 {
10178
+ minutes: number;
10179
+ }
10112
10180
  interface V2AvailabilityConstraintsNonNullableFields$1 {
10181
+ durations: DurationNonNullableFields$1[];
10113
10182
  sessionDurations: number[];
10114
10183
  timeBetweenSessions: number;
10115
10184
  }
@@ -11053,16 +11122,27 @@ interface V2Schedule {
11053
11122
  * @readonly
11054
11123
  */
11055
11124
  lastSessionEnd?: Date | null;
11056
- /** Limitations dictating the way session availability is calculated. For appointments only. */
11125
+ /** Limitations affecting the availability of the service. */
11057
11126
  availabilityConstraints?: V2AvailabilityConstraints;
11058
11127
  }
11059
11128
  interface V2AvailabilityConstraints {
11060
11129
  /**
11061
- * A list of duration options for sessions, in minutes.
11130
+ * A calculated list of all available durations for a service.
11131
+ *
11132
+ * If the service payment is of typed `Varied` with `Duration` option, this list will contain the durations of the variants.
11133
+ * The durations order will reflect the order of the variants.
11134
+ *
11135
+ * For any other type of service or payment this list will mirror the durations specified in `session_durations`.
11136
+ * @readonly
11137
+ */
11138
+ durations?: Duration[];
11139
+ /**
11140
+ * A list of durations for sessions, in minutes.
11062
11141
  *
11063
- * The availability calculation generates slots for sessions with these durations, unless there is a conflict with existing sessions or other availability constraints exist.
11064
- * Required for services of type `APPOINTMENT` to allow the customer to book a session of the service. Not relevant for other service types.
11142
+ * For service type `APPOINTMENT`: The availability calculation generates slots for sessions with these durations,
11143
+ * unless there is a conflict with existing sessions or other availability constraints exist.
11065
11144
  *
11145
+ * For services type `COURSE` and `CLASS`: The sessions_durations will be a computed list of all the sessions durations in the schedule.
11066
11146
  *
11067
11147
  * Min: 1 minute, Max: 30 days, 23 hours, and 59 minutes
11068
11148
  */
@@ -11076,6 +11156,14 @@ interface V2AvailabilityConstraints {
11076
11156
  */
11077
11157
  timeBetweenSessions?: number;
11078
11158
  }
11159
+ interface Duration {
11160
+ /**
11161
+ * The duration of the service in minutes.
11162
+ *
11163
+ * Min: 1 minute, Max: 30 days, 23 hours, and 59 minutes
11164
+ */
11165
+ minutes?: number;
11166
+ }
11079
11167
  interface Slug {
11080
11168
  /** The unique part of service's URL that identifies the service's information page. For example, `service-1` in `https:/example.com/services/service-1`. */
11081
11169
  name?: string;
@@ -12159,7 +12247,11 @@ interface BookingPolicyNonNullableFields$2 {
12159
12247
  cancellationFeePolicy?: CancellationFeePolicyNonNullableFields$2;
12160
12248
  saveCreditCardPolicy?: SaveCreditCardPolicyNonNullableFields$2;
12161
12249
  }
12250
+ interface DurationNonNullableFields {
12251
+ minutes: number;
12252
+ }
12162
12253
  interface V2AvailabilityConstraintsNonNullableFields {
12254
+ durations: DurationNonNullableFields[];
12163
12255
  sessionDurations: number[];
12164
12256
  timeBetweenSessions: number;
12165
12257
  }