@wix/bookings 1.0.484 → 1.0.485
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.
|
|
3
|
+
"version": "1.0.485",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -36,7 +36,7 @@
|
|
|
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.
|
|
39
|
+
"@wix/bookings_service-options-and-variants": "1.0.55",
|
|
40
40
|
"@wix/bookings_services": "1.0.78",
|
|
41
41
|
"@wix/bookings_staff-members": "1.0.15"
|
|
42
42
|
},
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"fqdn": ""
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
|
-
"falconPackageHash": "
|
|
66
|
+
"falconPackageHash": "5ed704634e71bc56df3899b3b715d41bb288687bf0741b97a821208c"
|
|
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;
|
|
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;
|
|
5223
|
+
}
|
|
5224
|
+
interface Duration {
|
|
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,8 @@ 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_Duration = Duration;
|
|
7121
|
+
type context$d_DurationServiceOption = DurationServiceOption;
|
|
7097
7122
|
type context$d_GetServiceOptionsAndVariantsByServiceIdRequest = GetServiceOptionsAndVariantsByServiceIdRequest;
|
|
7098
7123
|
type context$d_GetServiceOptionsAndVariantsByServiceIdResponse = GetServiceOptionsAndVariantsByServiceIdResponse;
|
|
7099
7124
|
type context$d_GetServiceOptionsAndVariantsByServiceIdResponseNonNullableFields = GetServiceOptionsAndVariantsByServiceIdResponseNonNullableFields;
|
|
@@ -7135,7 +7160,7 @@ declare const context$d_onServiceOptionsAndVariantsUpdated: typeof onServiceOpti
|
|
|
7135
7160
|
declare const context$d_queryServiceOptionsAndVariants: typeof queryServiceOptionsAndVariants;
|
|
7136
7161
|
declare const context$d_updateServiceOptionsAndVariants: typeof updateServiceOptionsAndVariants;
|
|
7137
7162
|
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 };
|
|
7163
|
+
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 context$d_Duration 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
7164
|
}
|
|
7140
7165
|
|
|
7141
7166
|
/**
|
|
@@ -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;
|
|
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;
|
|
5223
|
+
}
|
|
5224
|
+
interface Duration {
|
|
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,8 @@ 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_Duration = Duration;
|
|
7121
|
+
type index_d$d_DurationServiceOption = DurationServiceOption;
|
|
7097
7122
|
type index_d$d_GetServiceOptionsAndVariantsByServiceIdRequest = GetServiceOptionsAndVariantsByServiceIdRequest;
|
|
7098
7123
|
type index_d$d_GetServiceOptionsAndVariantsByServiceIdResponse = GetServiceOptionsAndVariantsByServiceIdResponse;
|
|
7099
7124
|
type index_d$d_GetServiceOptionsAndVariantsByServiceIdResponseNonNullableFields = GetServiceOptionsAndVariantsByServiceIdResponseNonNullableFields;
|
|
@@ -7135,7 +7160,7 @@ declare const index_d$d_onServiceOptionsAndVariantsUpdated: typeof onServiceOpti
|
|
|
7135
7160
|
declare const index_d$d_queryServiceOptionsAndVariants: typeof queryServiceOptionsAndVariants;
|
|
7136
7161
|
declare const index_d$d_updateServiceOptionsAndVariants: typeof updateServiceOptionsAndVariants;
|
|
7137
7162
|
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 };
|
|
7163
|
+
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 index_d$d_Duration 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
7164
|
}
|
|
7140
7165
|
|
|
7141
7166
|
/**
|
|
@@ -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$1;
|
|
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$1;
|
|
3504
|
+
}
|
|
3505
|
+
interface Duration$1 {
|
|
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;
|
|
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;
|
|
3855
|
+
}
|
|
3856
|
+
interface Duration {
|
|
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.
|