@wix/auto_sdk_bookings_bookings 1.0.88 → 1.0.90
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/build/cjs/index.d.ts +490 -490
- package/build/cjs/index.js +931 -931
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2384 -2459
- package/build/cjs/index.typings.js +803 -803
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1354 -1409
- package/build/cjs/meta.js +646 -646
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +490 -490
- package/build/es/index.mjs +931 -931
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2384 -2459
- package/build/es/index.typings.mjs +803 -803
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1354 -1409
- package/build/es/meta.mjs +646 -646
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +490 -490
- package/build/internal/cjs/index.js +931 -931
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2389 -2464
- package/build/internal/cjs/index.typings.js +803 -803
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1354 -1409
- package/build/internal/cjs/meta.js +646 -646
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +490 -490
- package/build/internal/es/index.mjs +931 -931
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2389 -2464
- package/build/internal/es/index.typings.mjs +803 -803
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1354 -1409
- package/build/internal/es/meta.mjs +646 -646
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ConfirmOrDeclineBookingRequest as ConfirmOrDeclineBookingRequest$1, ConfirmOrDeclineBookingResponse as ConfirmOrDeclineBookingResponse$1, BulkConfirmOrDeclineBookingRequest as BulkConfirmOrDeclineBookingRequest$1, BulkConfirmOrDeclineBookingResponse as BulkConfirmOrDeclineBookingResponse$1, CreateMultiServiceBookingRequest as CreateMultiServiceBookingRequest$1, CreateMultiServiceBookingResponse as CreateMultiServiceBookingResponse$1, RescheduleMultiServiceBookingRequest as RescheduleMultiServiceBookingRequest$1, RescheduleMultiServiceBookingResponse as RescheduleMultiServiceBookingResponse$1, GetMultiServiceBookingAvailabilityRequest as GetMultiServiceBookingAvailabilityRequest$1, GetMultiServiceBookingAvailabilityResponse as GetMultiServiceBookingAvailabilityResponse$1, CancelMultiServiceBookingRequest as CancelMultiServiceBookingRequest$1, CancelMultiServiceBookingResponse as CancelMultiServiceBookingResponse$1, MarkMultiServiceBookingAsPendingRequest as MarkMultiServiceBookingAsPendingRequest$1, MarkMultiServiceBookingAsPendingResponse as MarkMultiServiceBookingAsPendingResponse$1, ConfirmMultiServiceBookingRequest as ConfirmMultiServiceBookingRequest$1, ConfirmMultiServiceBookingResponse as ConfirmMultiServiceBookingResponse$1, DeclineMultiServiceBookingRequest as DeclineMultiServiceBookingRequest$1, DeclineMultiServiceBookingResponse as DeclineMultiServiceBookingResponse$1, BulkGetMultiServiceBookingAllowedActionsRequest as BulkGetMultiServiceBookingAllowedActionsRequest$1, BulkGetMultiServiceBookingAllowedActionsResponse as BulkGetMultiServiceBookingAllowedActionsResponse$1, GetMultiServiceBookingRequest as GetMultiServiceBookingRequest$1, GetMultiServiceBookingResponse as GetMultiServiceBookingResponse$1, AddBookingsToMultiServiceBookingRequest as AddBookingsToMultiServiceBookingRequest$1, AddBookingsToMultiServiceBookingResponse as AddBookingsToMultiServiceBookingResponse$1, RemoveBookingsFromMultiServiceBookingRequest as RemoveBookingsFromMultiServiceBookingRequest$1, RemoveBookingsFromMultiServiceBookingResponse as RemoveBookingsFromMultiServiceBookingResponse$1, CreateBookingRequest as CreateBookingRequest$1, CreateBookingResponse as CreateBookingResponse$1, BulkCreateBookingRequest as BulkCreateBookingRequest$1, BulkCreateBookingResponse as BulkCreateBookingResponse$1, RescheduleBookingRequest as RescheduleBookingRequest$1, RescheduleBookingResponse as RescheduleBookingResponse$1, ConfirmBookingRequest as ConfirmBookingRequest$1, ConfirmBookingResponse as ConfirmBookingResponse$1, SetBookingSubmissionIdRequest as SetBookingSubmissionIdRequest$1, SetBookingSubmissionIdResponse as SetBookingSubmissionIdResponse$1, UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequest$1, UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponse$1, DeclineBookingRequest as DeclineBookingRequest$1, DeclineBookingResponse as DeclineBookingResponse$1, CancelBookingRequest as CancelBookingRequest$1, CancelBookingResponse as CancelBookingResponse$1, UpdateNumberOfParticipantsRequest as UpdateNumberOfParticipantsRequest$1, UpdateNumberOfParticipantsResponse as UpdateNumberOfParticipantsResponse$1, MarkBookingAsPendingRequest as MarkBookingAsPendingRequest$1, MarkBookingAsPendingResponse as MarkBookingAsPendingResponse$1, GetAnonymousActionDetailsRequest as GetAnonymousActionDetailsRequest$1, GetAnonymousActionDetailsResponse as GetAnonymousActionDetailsResponse$1, CancelBookingAnonymouslyRequest as CancelBookingAnonymouslyRequest$1, CancelBookingAnonymouslyResponse as CancelBookingAnonymouslyResponse$1, RescheduleBookingAnonymouslyRequest as RescheduleBookingAnonymouslyRequest$1, RescheduleBookingAnonymouslyResponse as RescheduleBookingAnonymouslyResponse$1, GetBookingAnonymouslyRequest as GetBookingAnonymouslyRequest$1, GetBookingAnonymouslyResponse as GetBookingAnonymouslyResponse$1 } from './index.typings.mjs';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/** An entity representing a scheduled appointment, class session, or course. */
|
|
@@ -355,6 +355,11 @@ declare enum LocationType {
|
|
|
355
355
|
}
|
|
356
356
|
/** @enumType */
|
|
357
357
|
type LocationTypeWithLiterals = LocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
|
|
358
|
+
/** TODO: should we import it from services-2? */
|
|
359
|
+
interface V2PhoneCall {
|
|
360
|
+
/** Whether the service is delivered via phone call. */
|
|
361
|
+
enabled?: boolean | null;
|
|
362
|
+
}
|
|
358
363
|
interface ResourceSelection {
|
|
359
364
|
/**
|
|
360
365
|
* Resource type.
|
|
@@ -867,172 +872,94 @@ interface BookingFormFilled {
|
|
|
867
872
|
*/
|
|
868
873
|
formId?: string | null;
|
|
869
874
|
}
|
|
870
|
-
|
|
871
|
-
interface GetAnonymousActionDetailsRequest {
|
|
872
|
-
/** @format GUID */
|
|
873
|
-
bookingId?: string | null;
|
|
874
|
-
}
|
|
875
|
-
/** Response for GetAnonymousActionDetails */
|
|
876
|
-
interface GetAnonymousActionDetailsResponse {
|
|
877
|
-
/**
|
|
878
|
-
* Token for anonymous access to manage the booking.
|
|
879
|
-
* It represents a symmetrically encrypted and URL-safe string containing the booking ID.
|
|
880
|
-
* This token is required for canceling or rescheduling the booking without authentication.
|
|
881
|
-
* @minLength 32
|
|
882
|
-
* @maxLength 2048
|
|
883
|
-
*/
|
|
884
|
-
token?: string | null;
|
|
885
|
-
/** @format GUID */
|
|
886
|
-
clientId?: string | null;
|
|
887
|
-
anonymousBookingUrls?: AnonymousBookingUrls;
|
|
888
|
-
}
|
|
889
|
-
interface AnonymousBookingUrls {
|
|
890
|
-
/**
|
|
891
|
-
* The base URL for the booking links
|
|
892
|
-
* @maxLength 2048
|
|
893
|
-
*/
|
|
894
|
-
baseUrl?: string | null;
|
|
895
|
-
/**
|
|
896
|
-
* The cancellation URL for the booking, which contains an anonymous token and AOth clientId
|
|
897
|
-
* @maxLength 2048
|
|
898
|
-
*/
|
|
899
|
-
anonymousCancellationUrl?: string | null;
|
|
900
|
-
/**
|
|
901
|
-
* The reschedule URL for the booking, which contains an anonymous token and AOth clientId
|
|
902
|
-
* @maxLength 2048
|
|
903
|
-
*/
|
|
904
|
-
anonymousRescheduleUrl?: string | null;
|
|
905
|
-
}
|
|
906
|
-
/** Request for CancelBookingAnonymously */
|
|
907
|
-
interface CancelBookingAnonymouslyRequest {
|
|
875
|
+
interface ConfirmOrDeclineBookingRequest {
|
|
908
876
|
/**
|
|
909
|
-
*
|
|
910
|
-
* @
|
|
877
|
+
* ID of the booking to confirm or decline.
|
|
878
|
+
* @format GUID
|
|
911
879
|
*/
|
|
912
|
-
|
|
880
|
+
bookingId: string;
|
|
913
881
|
/**
|
|
914
|
-
*
|
|
915
|
-
*
|
|
916
|
-
*
|
|
882
|
+
* Current payment status of the booking when using a custom checkout page and
|
|
883
|
+
* not the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
884
|
+
*
|
|
885
|
+
* The booking is declined if there is a double booking conflict and you provide
|
|
886
|
+
* one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
|
|
917
887
|
*/
|
|
918
|
-
|
|
888
|
+
paymentStatus?: PaymentStatusWithLiterals;
|
|
919
889
|
}
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
/** Canceled booking. */
|
|
890
|
+
interface ConfirmOrDeclineBookingResponse {
|
|
891
|
+
/** Updated booking. */
|
|
923
892
|
booking?: Booking;
|
|
924
893
|
}
|
|
925
|
-
|
|
926
|
-
interface RescheduleBookingAnonymouslyRequest {
|
|
927
|
-
/**
|
|
928
|
-
* The token provided in the booking links for anonymous access
|
|
929
|
-
* @maxLength 2048
|
|
930
|
-
*/
|
|
931
|
-
token: string | null;
|
|
932
|
-
/** New slot of the booking. */
|
|
933
|
-
slot: V2Slot;
|
|
894
|
+
interface BulkConfirmOrDeclineBookingRequest {
|
|
934
895
|
/**
|
|
935
|
-
*
|
|
936
|
-
*
|
|
937
|
-
*
|
|
896
|
+
* Bookings to confirm or decline.
|
|
897
|
+
* @minSize 1
|
|
898
|
+
* @maxSize 300
|
|
938
899
|
*/
|
|
939
|
-
|
|
900
|
+
details: BulkConfirmOrDeclineBookingRequestBookingDetails[];
|
|
901
|
+
/** Whether to return the confirmed or declined booking objects. */
|
|
902
|
+
returnEntity?: boolean;
|
|
940
903
|
}
|
|
941
|
-
interface
|
|
942
|
-
/** Identifier for the underlying session when the session is a single session or generated from a recurring session. */
|
|
943
|
-
sessionId?: string | null;
|
|
944
|
-
/** Service identifier. Required. */
|
|
945
|
-
serviceId?: string;
|
|
946
|
-
/** Schedule identifier. Required. */
|
|
947
|
-
scheduleId?: string;
|
|
948
|
-
/** The start time of this slot in `YYYY-MM-DDThh:mm:ss`, `YYYY-MM-DDThh:mm:ss:SSS`, or `YYYY-MM-DDThh:mm:ss:SSSZZ` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-01-30T13:30:00`, `2026-01-30T13:30:00:000`, or `2026-01-30T13:30:00:000-05:00`. */
|
|
949
|
-
startDate?: string | null;
|
|
950
|
-
/** The end time of this slot in `YYYY-MM-DDThh:mm:ss`, `YYYY-MM-DDThh:mm:ss:SSS`, or `YYYY-MM-DDThh:mm:ss:SSSZZ` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-01-30T13:30:00`, `2026-01-30T13:30:00:000`, or `2026-01-30T13:30:00:000-05:00`. */
|
|
951
|
-
endDate?: string | null;
|
|
952
|
-
/** The timezone according to which the slot is calculated and presented. */
|
|
953
|
-
timezone?: string | null;
|
|
904
|
+
interface BulkConfirmOrDeclineBookingRequestBookingDetails {
|
|
954
905
|
/**
|
|
955
|
-
*
|
|
956
|
-
*
|
|
957
|
-
* When empty, if `skip_availability_validation` is `false`, a random available resource will be assigned to the slot upon confirmation.
|
|
958
|
-
* Otherwise, one of the service resources will be assigned to the slot randomly upon confirmation.
|
|
906
|
+
* ID of the booking to confirm or decline.
|
|
907
|
+
* @format GUID
|
|
959
908
|
*/
|
|
960
|
-
|
|
961
|
-
/** Geographic location of the slot. */
|
|
962
|
-
location?: SlotLocation;
|
|
909
|
+
bookingId?: string;
|
|
963
910
|
/**
|
|
964
|
-
*
|
|
965
|
-
*
|
|
966
|
-
*
|
|
967
|
-
*
|
|
968
|
-
*
|
|
969
|
-
* @maxLength 250
|
|
911
|
+
* Current payment status of the booking when using a custom checkout page and
|
|
912
|
+
* not the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
913
|
+
*
|
|
914
|
+
* The booking is declined if there is a double booking conflict and you provide
|
|
915
|
+
* one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
|
|
970
916
|
*/
|
|
971
|
-
|
|
917
|
+
paymentStatus?: PaymentStatusWithLiterals;
|
|
972
918
|
}
|
|
973
|
-
|
|
974
|
-
/**
|
|
975
|
-
|
|
976
|
-
/**
|
|
977
|
-
|
|
978
|
-
/** The address set when creating the service. */
|
|
979
|
-
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
980
|
-
/** The address set for the individual session. */
|
|
981
|
-
CUSTOM = "CUSTOM"
|
|
919
|
+
interface BulkConfirmOrDeclineBookingResponse {
|
|
920
|
+
/** List of confirmed or declined bookings, including metadata. */
|
|
921
|
+
results?: BulkBookingResult[];
|
|
922
|
+
/** Total successes and failures of the Bulk Confirm Or Decline call. */
|
|
923
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
982
924
|
}
|
|
983
|
-
|
|
984
|
-
type LocationLocationTypeWithLiterals = LocationLocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
|
|
985
|
-
interface SlotSlotResource {
|
|
925
|
+
interface BulkBookingResult {
|
|
986
926
|
/**
|
|
987
|
-
*
|
|
988
|
-
*
|
|
989
|
-
*
|
|
927
|
+
* Information about the booking that was created or updated.
|
|
928
|
+
* Including its ID, index in the bulk request and whether it was
|
|
929
|
+
* successfully created or updated.
|
|
990
930
|
*/
|
|
991
|
-
|
|
931
|
+
itemMetadata?: ItemMetadata;
|
|
992
932
|
/**
|
|
993
|
-
*
|
|
994
|
-
*
|
|
933
|
+
* Created or updated booking. Available only if you requested
|
|
934
|
+
* to return the booking entity.
|
|
995
935
|
*/
|
|
996
|
-
|
|
936
|
+
item?: Booking;
|
|
997
937
|
}
|
|
998
|
-
interface
|
|
999
|
-
/**
|
|
1000
|
-
* Business Location ID. Present if the location is a business location.
|
|
1001
|
-
* @format GUID
|
|
1002
|
-
*/
|
|
938
|
+
interface ItemMetadata {
|
|
939
|
+
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
1003
940
|
id?: string | null;
|
|
1004
|
-
/**
|
|
1005
|
-
|
|
1006
|
-
/**
|
|
1007
|
-
|
|
1008
|
-
/**
|
|
1009
|
-
|
|
1010
|
-
}
|
|
1011
|
-
/** Response for RescheduleBookingAnonymously */
|
|
1012
|
-
interface RescheduleBookingAnonymouslyResponse {
|
|
1013
|
-
/** Rescheduled booking. */
|
|
1014
|
-
booking?: Booking;
|
|
1015
|
-
}
|
|
1016
|
-
/** Request for GetBookingAnonymously */
|
|
1017
|
-
interface GetBookingAnonymouslyRequest {
|
|
1018
|
-
/**
|
|
1019
|
-
* The token provided in the booking links for anonymous access
|
|
1020
|
-
* @maxLength 2048
|
|
1021
|
-
*/
|
|
1022
|
-
token: string | null;
|
|
941
|
+
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
942
|
+
originalIndex?: number;
|
|
943
|
+
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
944
|
+
success?: boolean;
|
|
945
|
+
/** Details about the error in case of failure. */
|
|
946
|
+
error?: ApplicationError;
|
|
1023
947
|
}
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
/**
|
|
1028
|
-
|
|
948
|
+
interface ApplicationError {
|
|
949
|
+
/** Error code. */
|
|
950
|
+
code?: string;
|
|
951
|
+
/** Description of the error. */
|
|
952
|
+
description?: string;
|
|
953
|
+
/** Data related to the error. */
|
|
954
|
+
data?: Record<string, any> | null;
|
|
1029
955
|
}
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
956
|
+
interface BulkActionMetadata {
|
|
957
|
+
/** Number of items that were successfully processed. */
|
|
958
|
+
totalSuccesses?: number;
|
|
959
|
+
/** Number of items that couldn't be processed. */
|
|
960
|
+
totalFailures?: number;
|
|
961
|
+
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
962
|
+
undetailedFailures?: number;
|
|
1036
963
|
}
|
|
1037
964
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
1038
965
|
createdEvent?: EntityCreatedEvent;
|
|
@@ -1170,70 +1097,6 @@ declare enum WebhookIdentityType {
|
|
|
1170
1097
|
}
|
|
1171
1098
|
/** @enumType */
|
|
1172
1099
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1173
|
-
interface SetBookingFormAndSubmissionIdRequest extends SetBookingFormAndSubmissionIdRequestCreatedByOneOf {
|
|
1174
|
-
/**
|
|
1175
|
-
* The visitor who created the booking.
|
|
1176
|
-
* @format GUID
|
|
1177
|
-
*/
|
|
1178
|
-
visitorId?: string | null;
|
|
1179
|
-
/**
|
|
1180
|
-
* The member that created the booking.
|
|
1181
|
-
* @format GUID
|
|
1182
|
-
*/
|
|
1183
|
-
memberId?: string | null;
|
|
1184
|
-
/**
|
|
1185
|
-
* The app that created the booking.
|
|
1186
|
-
* @format GUID
|
|
1187
|
-
*/
|
|
1188
|
-
appId?: string | null;
|
|
1189
|
-
/**
|
|
1190
|
-
* ID of the booking to set `formId` and `submissionId` for.
|
|
1191
|
-
* @format GUID
|
|
1192
|
-
*/
|
|
1193
|
-
bookingId?: string | null;
|
|
1194
|
-
/**
|
|
1195
|
-
* ID of the form to set on the booking.
|
|
1196
|
-
* @format GUID
|
|
1197
|
-
*/
|
|
1198
|
-
formId?: string | null;
|
|
1199
|
-
/**
|
|
1200
|
-
* ID of the form submission to set on the booking.
|
|
1201
|
-
* @format GUID
|
|
1202
|
-
*/
|
|
1203
|
-
submissionId?: string | null;
|
|
1204
|
-
/**
|
|
1205
|
-
* MetaSite ID
|
|
1206
|
-
* @format GUID
|
|
1207
|
-
*/
|
|
1208
|
-
msid?: string | null;
|
|
1209
|
-
/**
|
|
1210
|
-
* Instance ID
|
|
1211
|
-
* @format GUID
|
|
1212
|
-
*/
|
|
1213
|
-
instanceId?: string | null;
|
|
1214
|
-
}
|
|
1215
|
-
/** @oneof */
|
|
1216
|
-
interface SetBookingFormAndSubmissionIdRequestCreatedByOneOf {
|
|
1217
|
-
/**
|
|
1218
|
-
* The visitor who created the booking.
|
|
1219
|
-
* @format GUID
|
|
1220
|
-
*/
|
|
1221
|
-
visitorId?: string | null;
|
|
1222
|
-
/**
|
|
1223
|
-
* The member that created the booking.
|
|
1224
|
-
* @format GUID
|
|
1225
|
-
*/
|
|
1226
|
-
memberId?: string | null;
|
|
1227
|
-
/**
|
|
1228
|
-
* The app that created the booking.
|
|
1229
|
-
* @format GUID
|
|
1230
|
-
*/
|
|
1231
|
-
appId?: string | null;
|
|
1232
|
-
}
|
|
1233
|
-
interface SetBookingFormAndSubmissionIdResponse {
|
|
1234
|
-
/** Updated booking. */
|
|
1235
|
-
booking?: Booking;
|
|
1236
|
-
}
|
|
1237
1100
|
interface V2CreateBookingRequest extends V2CreateBookingRequestBookableItemOneOf, V2CreateBookingRequestParticipantsInfoOneOf {
|
|
1238
1101
|
/**
|
|
1239
1102
|
* Information about the slot to create a booking for.
|
|
@@ -1415,6 +1278,10 @@ interface SlotResource {
|
|
|
1415
1278
|
*/
|
|
1416
1279
|
name?: string | null;
|
|
1417
1280
|
}
|
|
1281
|
+
interface PhoneCall {
|
|
1282
|
+
/** Whether the service is delivered via phone call. */
|
|
1283
|
+
enabled?: boolean | null;
|
|
1284
|
+
}
|
|
1418
1285
|
interface CreateBookingRequestFlowControlSettings {
|
|
1419
1286
|
/**
|
|
1420
1287
|
* Whether the availability is checked before creating the booking. When
|
|
@@ -1613,120 +1480,40 @@ interface V2UpdateNumberOfParticipantsResponse {
|
|
|
1613
1480
|
/** Booking with updated number of participants. */
|
|
1614
1481
|
booking?: Booking;
|
|
1615
1482
|
}
|
|
1616
|
-
interface
|
|
1483
|
+
interface CreateMultiServiceBookingRequest {
|
|
1617
1484
|
/**
|
|
1618
|
-
*
|
|
1619
|
-
* @format GUID
|
|
1620
|
-
*/
|
|
1621
|
-
bookingId: string;
|
|
1622
|
-
/**
|
|
1623
|
-
* Current payment status of the booking when using a custom checkout page and
|
|
1624
|
-
* not the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
1485
|
+
* Between 2 to 8 new single-service booking specifications to create and combine in a multi-service booking.
|
|
1625
1486
|
*
|
|
1626
|
-
*
|
|
1627
|
-
*
|
|
1628
|
-
*/
|
|
1629
|
-
paymentStatus?: PaymentStatusWithLiterals;
|
|
1630
|
-
}
|
|
1631
|
-
interface ConfirmOrDeclineBookingResponse {
|
|
1632
|
-
/** Updated booking. */
|
|
1633
|
-
booking?: Booking;
|
|
1634
|
-
}
|
|
1635
|
-
interface BulkConfirmOrDeclineBookingRequest {
|
|
1636
|
-
/**
|
|
1637
|
-
* Bookings to confirm or decline.
|
|
1638
|
-
* @minSize 1
|
|
1639
|
-
* @maxSize 300
|
|
1640
|
-
*/
|
|
1641
|
-
details: BulkConfirmOrDeclineBookingRequestBookingDetails[];
|
|
1642
|
-
/** Whether to return the confirmed or declined booking objects. */
|
|
1643
|
-
returnEntity?: boolean;
|
|
1644
|
-
}
|
|
1645
|
-
interface BulkConfirmOrDeclineBookingRequestBookingDetails {
|
|
1646
|
-
/**
|
|
1647
|
-
* ID of the booking to confirm or decline.
|
|
1648
|
-
* @format GUID
|
|
1649
|
-
*/
|
|
1650
|
-
bookingId?: string;
|
|
1651
|
-
/**
|
|
1652
|
-
* Current payment status of the booking when using a custom checkout page and
|
|
1653
|
-
* not the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
1487
|
+
* Each single-service booking specification must include `slot` details (`scheduleId`, `startDate`, and `endDate`).
|
|
1488
|
+
* Specify contact details, number of participants, and any additional fields as needed.
|
|
1654
1489
|
*
|
|
1655
|
-
*
|
|
1656
|
-
*
|
|
1657
|
-
|
|
1658
|
-
paymentStatus?: PaymentStatusWithLiterals;
|
|
1659
|
-
}
|
|
1660
|
-
interface BulkConfirmOrDeclineBookingResponse {
|
|
1661
|
-
/** List of confirmed or declined bookings, including metadata. */
|
|
1662
|
-
results?: BulkBookingResult[];
|
|
1663
|
-
/** Total successes and failures of the Bulk Confirm Or Decline call. */
|
|
1664
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
1665
|
-
}
|
|
1666
|
-
interface BulkBookingResult {
|
|
1667
|
-
/**
|
|
1668
|
-
* Information about the booking that was created or updated.
|
|
1669
|
-
* Including its ID, index in the bulk request and whether it was
|
|
1670
|
-
* successfully created or updated.
|
|
1671
|
-
*/
|
|
1672
|
-
itemMetadata?: ItemMetadata;
|
|
1673
|
-
/**
|
|
1674
|
-
* Created or updated booking. Available only if you requested
|
|
1675
|
-
* to return the booking entity.
|
|
1676
|
-
*/
|
|
1677
|
-
item?: Booking;
|
|
1678
|
-
}
|
|
1679
|
-
interface ItemMetadata {
|
|
1680
|
-
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
1681
|
-
id?: string | null;
|
|
1682
|
-
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
1683
|
-
originalIndex?: number;
|
|
1684
|
-
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
1685
|
-
success?: boolean;
|
|
1686
|
-
/** Details about the error in case of failure. */
|
|
1687
|
-
error?: ApplicationError;
|
|
1688
|
-
}
|
|
1689
|
-
interface ApplicationError {
|
|
1690
|
-
/** Error code. */
|
|
1691
|
-
code?: string;
|
|
1692
|
-
/** Description of the error. */
|
|
1693
|
-
description?: string;
|
|
1694
|
-
/** Data related to the error. */
|
|
1695
|
-
data?: Record<string, any> | null;
|
|
1696
|
-
}
|
|
1697
|
-
interface BulkActionMetadata {
|
|
1698
|
-
/** Number of items that were successfully processed. */
|
|
1699
|
-
totalSuccesses?: number;
|
|
1700
|
-
/** Number of items that couldn't be processed. */
|
|
1701
|
-
totalFailures?: number;
|
|
1702
|
-
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
1703
|
-
undetailedFailures?: number;
|
|
1704
|
-
}
|
|
1705
|
-
interface BookingChanged {
|
|
1706
|
-
/** The booking before the changes. */
|
|
1707
|
-
previousBooking?: Booking;
|
|
1708
|
-
/** The booking after the changes. */
|
|
1709
|
-
currentBooking?: Booking;
|
|
1710
|
-
}
|
|
1711
|
-
interface CreateBookingRequest {
|
|
1712
|
-
/** The booking to create. */
|
|
1713
|
-
booking: Booking;
|
|
1714
|
-
/**
|
|
1715
|
-
* Information about whether to notify the customer and
|
|
1716
|
-
* the message to send.
|
|
1490
|
+
* For sequential bookings, ensure the timing allows services to be scheduled back-to-back.
|
|
1491
|
+
* @minSize 2
|
|
1492
|
+
* @maxSize 8
|
|
1717
1493
|
*/
|
|
1494
|
+
bookings: Booking[];
|
|
1495
|
+
/** Information about whether to notify the customer and the message to send. */
|
|
1718
1496
|
participantNotification?: ParticipantNotification;
|
|
1719
1497
|
/**
|
|
1720
|
-
* Whether to send an SMS reminder to the customer 24 hours before the
|
|
1721
|
-
*
|
|
1722
|
-
*
|
|
1498
|
+
* Whether to send an SMS reminder to the customer 24 hours before the session starts.
|
|
1499
|
+
* Wix Bookings takes the phone number from `contactDetails.phone`.
|
|
1500
|
+
*
|
|
1501
|
+
* Default: `true`
|
|
1723
1502
|
*/
|
|
1724
1503
|
sendSmsReminder?: boolean | null;
|
|
1725
1504
|
/**
|
|
1726
1505
|
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
1727
|
-
* For example, whether to
|
|
1506
|
+
* For example, whether to skip checking availability before updating the status.
|
|
1728
1507
|
*/
|
|
1729
1508
|
flowControlSettings?: CreateBookingFlowControlSettings;
|
|
1509
|
+
/** Whether to return the created single-service bookings. */
|
|
1510
|
+
returnFullEntity?: boolean;
|
|
1511
|
+
/**
|
|
1512
|
+
* Multi-service booking type.
|
|
1513
|
+
*
|
|
1514
|
+
* Currently only `SEQUENTIAL_BOOKINGS` is supported.
|
|
1515
|
+
*/
|
|
1516
|
+
multiServiceBookingType?: MultiServiceBookingTypeWithLiterals;
|
|
1730
1517
|
}
|
|
1731
1518
|
interface CreateBookingFlowControlSettings {
|
|
1732
1519
|
/**
|
|
@@ -1770,136 +1557,166 @@ interface CreateBookingFlowControlSettings {
|
|
|
1770
1557
|
*/
|
|
1771
1558
|
skipAddOnValidation?: boolean;
|
|
1772
1559
|
}
|
|
1773
|
-
interface
|
|
1774
|
-
/**
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
* in an error. `participantsInfo` is preferred over `numberOfParticipants`.
|
|
1780
|
-
*/
|
|
1781
|
-
interface UpdateBookingRequest {
|
|
1782
|
-
booking?: Booking;
|
|
1783
|
-
}
|
|
1784
|
-
interface UpdateBookingResponse {
|
|
1785
|
-
booking?: Booking;
|
|
1786
|
-
}
|
|
1787
|
-
interface LegacyCreateBookingRequest {
|
|
1788
|
-
booking?: Booking;
|
|
1789
|
-
}
|
|
1790
|
-
interface LegacyCreateBookingResponse {
|
|
1791
|
-
booking?: Booking;
|
|
1560
|
+
interface CreateMultiServiceBookingResponse {
|
|
1561
|
+
/**
|
|
1562
|
+
* Created multi-service booking.
|
|
1563
|
+
* Contains the single-service bookings in the same order as specified in the request.
|
|
1564
|
+
*/
|
|
1565
|
+
multiServiceBooking?: MultiServiceBooking;
|
|
1792
1566
|
}
|
|
1793
1567
|
/**
|
|
1794
|
-
*
|
|
1795
|
-
*
|
|
1568
|
+
* A multi-service booking combines multiple single-service bookings into a package.
|
|
1569
|
+
*
|
|
1570
|
+
* Currently, multi-service bookings support only sequential scheduling where services are scheduled back-to-back at the same location, with each single-service booking starting when the previous 1 ends.
|
|
1796
1571
|
*/
|
|
1797
|
-
interface
|
|
1798
|
-
bookings?: MaskedBooking[];
|
|
1799
|
-
}
|
|
1800
|
-
interface MaskedBooking {
|
|
1801
|
-
booking?: Booking;
|
|
1802
|
-
mask?: string[];
|
|
1803
|
-
}
|
|
1804
|
-
interface BulkUpdateBookingResponse {
|
|
1572
|
+
interface MultiServiceBooking {
|
|
1805
1573
|
/**
|
|
1806
|
-
*
|
|
1807
|
-
*
|
|
1808
|
-
* successfully updated.
|
|
1574
|
+
* Multi-service booking ID.
|
|
1575
|
+
* @format GUID
|
|
1809
1576
|
*/
|
|
1810
|
-
|
|
1811
|
-
/**
|
|
1812
|
-
|
|
1577
|
+
id?: string | null;
|
|
1578
|
+
/** The single-service bookings that make up the multi-service booking package. */
|
|
1579
|
+
bookings?: BookingResult[];
|
|
1813
1580
|
}
|
|
1814
|
-
interface
|
|
1581
|
+
interface BookingResult {
|
|
1815
1582
|
/**
|
|
1816
|
-
*
|
|
1817
|
-
*
|
|
1818
|
-
* Max: 8 bookings
|
|
1819
|
-
* @minSize 1
|
|
1820
|
-
* @maxSize 12
|
|
1583
|
+
* Booking ID.
|
|
1584
|
+
* @format GUID
|
|
1821
1585
|
*/
|
|
1822
|
-
|
|
1823
|
-
/**
|
|
1824
|
-
returnFullEntity?: boolean;
|
|
1825
|
-
}
|
|
1826
|
-
interface CreateBookingInfo {
|
|
1827
|
-
/** Booking to create. */
|
|
1586
|
+
bookingId?: string | null;
|
|
1587
|
+
/** Booking entity. */
|
|
1828
1588
|
booking?: Booking;
|
|
1589
|
+
}
|
|
1590
|
+
interface RescheduleMultiServiceBookingRequest {
|
|
1829
1591
|
/**
|
|
1830
|
-
*
|
|
1831
|
-
*
|
|
1592
|
+
* ID of the multi-service booking to reschedule.
|
|
1593
|
+
* @format GUID
|
|
1832
1594
|
*/
|
|
1595
|
+
multiServiceBookingId: string | null;
|
|
1596
|
+
/** Information about the single-service bookings to reschedule. */
|
|
1597
|
+
rescheduleBookingsInfo: RescheduleBookingInfo[];
|
|
1598
|
+
/** Information about whether to notify the customer and the message to send. */
|
|
1833
1599
|
participantNotification?: ParticipantNotification;
|
|
1834
1600
|
/**
|
|
1835
|
-
*
|
|
1836
|
-
*
|
|
1837
|
-
* Default: `true`.
|
|
1838
|
-
*/
|
|
1839
|
-
sendSmsReminder?: boolean | null;
|
|
1840
|
-
/**
|
|
1841
|
-
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
1842
|
-
* For example, whether to check availability when creating a booking.
|
|
1601
|
+
* Information about whether specific procedures of the standard Wix Bookings rescheduling flow are changed.
|
|
1602
|
+
* For example, whether the availability of the new slot is checked before rescheduling the booking or if the customer can reschedule the booking even though the service's rescheduling policy doesn't allow it.
|
|
1843
1603
|
*/
|
|
1844
|
-
flowControlSettings?:
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
/** List of individual Bulk Create Bookings results. */
|
|
1848
|
-
results?: BulkBookingResult[];
|
|
1849
|
-
/** Total number of successes and failures for Bulk Create Bookings. */
|
|
1850
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
1604
|
+
flowControlSettings?: RescheduleBookingFlowControlSettings;
|
|
1605
|
+
/** Whether to return the rescheduled bookings entities. */
|
|
1606
|
+
returnFullEntity?: boolean;
|
|
1851
1607
|
}
|
|
1852
|
-
interface
|
|
1853
|
-
/**
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1608
|
+
interface V2Slot {
|
|
1609
|
+
/** Identifier for the underlying session when the session is a single session or generated from a recurring session. */
|
|
1610
|
+
sessionId?: string | null;
|
|
1611
|
+
/** Service identifier. Required. */
|
|
1612
|
+
serviceId?: string;
|
|
1613
|
+
/** Schedule identifier. Required. */
|
|
1614
|
+
scheduleId?: string;
|
|
1615
|
+
/** The start time of this slot in `YYYY-MM-DDThh:mm:ss`, `YYYY-MM-DDThh:mm:ss:SSS`, or `YYYY-MM-DDThh:mm:ss:SSSZZ` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-01-30T13:30:00`, `2026-01-30T13:30:00:000`, or `2026-01-30T13:30:00:000-05:00`. */
|
|
1616
|
+
startDate?: string | null;
|
|
1617
|
+
/** The end time of this slot in `YYYY-MM-DDThh:mm:ss`, `YYYY-MM-DDThh:mm:ss:SSS`, or `YYYY-MM-DDThh:mm:ss:SSSZZ` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-01-30T13:30:00`, `2026-01-30T13:30:00:000`, or `2026-01-30T13:30:00:000-05:00`. */
|
|
1618
|
+
endDate?: string | null;
|
|
1619
|
+
/** The timezone according to which the slot is calculated and presented. */
|
|
1620
|
+
timezone?: string | null;
|
|
1858
1621
|
/**
|
|
1859
|
-
*
|
|
1860
|
-
*
|
|
1622
|
+
* The resource required for this slot.
|
|
1623
|
+
* When populated, the specified resource will be assigned to the slot upon confirmation according to its availability.
|
|
1624
|
+
* When empty, if `skip_availability_validation` is `false`, a random available resource will be assigned to the slot upon confirmation.
|
|
1625
|
+
* Otherwise, one of the service resources will be assigned to the slot randomly upon confirmation.
|
|
1861
1626
|
*/
|
|
1862
|
-
|
|
1627
|
+
resource?: SlotSlotResource;
|
|
1628
|
+
/** Geographic location of the slot. */
|
|
1629
|
+
location?: SlotLocation;
|
|
1863
1630
|
/**
|
|
1864
|
-
*
|
|
1865
|
-
*
|
|
1631
|
+
* Calendar event ID - not supported.
|
|
1632
|
+
* If not empty, on all write flows (create/update), it takes priority over `sessionId`.
|
|
1633
|
+
* So if both `sessionId` and `eventId` are provided, the `sessionId` will be based on the `eventId`.
|
|
1634
|
+
* Otherwise, if `eventId` is empty on write flow,
|
|
1635
|
+
* @minLength 36
|
|
1636
|
+
* @maxLength 250
|
|
1866
1637
|
*/
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1638
|
+
eventId?: string | null;
|
|
1639
|
+
}
|
|
1640
|
+
declare enum LocationLocationType {
|
|
1641
|
+
/** Undefined location type. */
|
|
1642
|
+
UNDEFINED = "UNDEFINED",
|
|
1643
|
+
/** The business address as set in the site’s general settings. */
|
|
1644
|
+
OWNER_BUSINESS = "OWNER_BUSINESS",
|
|
1645
|
+
/** The address set when creating the service. */
|
|
1646
|
+
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
1647
|
+
/** The address set for the individual session. */
|
|
1648
|
+
CUSTOM = "CUSTOM"
|
|
1649
|
+
}
|
|
1650
|
+
/** @enumType */
|
|
1651
|
+
type LocationLocationTypeWithLiterals = LocationLocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
|
|
1652
|
+
interface SlotSlotResource {
|
|
1870
1653
|
/**
|
|
1871
|
-
*
|
|
1872
|
-
*
|
|
1873
|
-
*
|
|
1654
|
+
* Resource ID.
|
|
1655
|
+
* @format GUID
|
|
1656
|
+
* @readonly
|
|
1874
1657
|
*/
|
|
1875
|
-
|
|
1658
|
+
id?: string | null;
|
|
1876
1659
|
/**
|
|
1877
|
-
*
|
|
1878
|
-
*
|
|
1660
|
+
* Resource name.
|
|
1661
|
+
* @maxLength 1200
|
|
1879
1662
|
*/
|
|
1880
|
-
|
|
1663
|
+
name?: string | null;
|
|
1664
|
+
}
|
|
1665
|
+
interface SlotLocation {
|
|
1881
1666
|
/**
|
|
1882
|
-
*
|
|
1883
|
-
*
|
|
1667
|
+
* Business Location ID. Present if the location is a business location.
|
|
1668
|
+
* @format GUID
|
|
1884
1669
|
*/
|
|
1885
|
-
|
|
1670
|
+
id?: string | null;
|
|
1671
|
+
/** Location name. */
|
|
1672
|
+
name?: string | null;
|
|
1673
|
+
/** A string containing the full address of this location. */
|
|
1674
|
+
formattedAddress?: string | null;
|
|
1675
|
+
/** Location type. */
|
|
1676
|
+
locationType?: LocationLocationTypeWithLiterals;
|
|
1677
|
+
}
|
|
1678
|
+
interface RescheduleBookingInfo extends RescheduleBookingInfoParticipantsInfoOneOf {
|
|
1886
1679
|
/**
|
|
1887
|
-
*
|
|
1888
|
-
*
|
|
1680
|
+
* Total number of participants. Available only for services with [variants](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
1681
|
+
* Specify when all participants book the same variant.
|
|
1682
|
+
*/
|
|
1683
|
+
totalParticipants?: number;
|
|
1684
|
+
/**
|
|
1685
|
+
* Information about the service choices to book. Available only for services with [variants](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
1686
|
+
* Specify when not all participants book the same variant.
|
|
1687
|
+
*/
|
|
1688
|
+
participantsChoices?: ParticipantChoices;
|
|
1689
|
+
/**
|
|
1690
|
+
* ID of the booking to reschedule.
|
|
1691
|
+
* @format GUID
|
|
1692
|
+
*/
|
|
1693
|
+
bookingId?: string | null;
|
|
1694
|
+
/** Information about the new slot. */
|
|
1695
|
+
slot?: V2Slot;
|
|
1696
|
+
/**
|
|
1697
|
+
* Revision number, which increments by 1 each time the booking is updated.
|
|
1698
|
+
* To prevent conflicting changes, the current revision must be specified when managing the booking.
|
|
1699
|
+
*/
|
|
1700
|
+
revision?: string | null;
|
|
1701
|
+
/**
|
|
1702
|
+
* List of [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) associated with the booking.
|
|
1703
|
+
* You can only specify add-ons if both of these conditions are met:
|
|
1704
|
+
* - The booking must have been created with `flowControlSettings.allowAddOnChanges` set to `true`.
|
|
1705
|
+
* - You must have `BOOKINGS.MANAGE_ADDONS` permissions and specify `flowControlSettings.allowAddOnChanges` as `true`.
|
|
1889
1706
|
* @maxSize 21
|
|
1890
1707
|
*/
|
|
1891
1708
|
bookedAddOns?: BookedAddOn[];
|
|
1892
1709
|
}
|
|
1893
1710
|
/** @oneof */
|
|
1894
|
-
interface
|
|
1711
|
+
interface RescheduleBookingInfoParticipantsInfoOneOf {
|
|
1895
1712
|
/**
|
|
1896
|
-
* Total number of participants.
|
|
1897
|
-
* same
|
|
1713
|
+
* Total number of participants. Available only for services with [variants](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
1714
|
+
* Specify when all participants book the same variant.
|
|
1898
1715
|
*/
|
|
1899
1716
|
totalParticipants?: number;
|
|
1900
1717
|
/**
|
|
1901
|
-
* Information about the service choices to book.
|
|
1902
|
-
* participants
|
|
1718
|
+
* Information about the service choices to book. Available only for services with [variants](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
1719
|
+
* Specify when not all participants book the same variant.
|
|
1903
1720
|
*/
|
|
1904
1721
|
participantsChoices?: ParticipantChoices;
|
|
1905
1722
|
}
|
|
@@ -1935,9 +1752,9 @@ interface RescheduleBookingFlowControlSettings {
|
|
|
1935
1752
|
*/
|
|
1936
1753
|
allowAddOnChanges?: boolean;
|
|
1937
1754
|
}
|
|
1938
|
-
interface
|
|
1939
|
-
/** Rescheduled booking. */
|
|
1940
|
-
|
|
1755
|
+
interface RescheduleMultiServiceBookingResponse {
|
|
1756
|
+
/** Rescheduled multi-service booking. */
|
|
1757
|
+
multiServiceBooking?: MultiServiceBooking;
|
|
1941
1758
|
}
|
|
1942
1759
|
interface BookingRescheduled extends BookingRescheduledPreviousParticipantsInfoOneOf {
|
|
1943
1760
|
/**
|
|
@@ -2058,245 +1875,199 @@ declare enum IdentityType {
|
|
|
2058
1875
|
}
|
|
2059
1876
|
/** @enumType */
|
|
2060
1877
|
type IdentityTypeWithLiterals = IdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
2061
|
-
interface
|
|
1878
|
+
interface GetMultiServiceBookingAvailabilityRequest {
|
|
2062
1879
|
/**
|
|
2063
|
-
*
|
|
2064
|
-
* @
|
|
1880
|
+
* ID of the multi-service booking to retrieve.
|
|
1881
|
+
* @format GUID
|
|
2065
1882
|
*/
|
|
2066
|
-
|
|
1883
|
+
multiServiceBookingId: string | null;
|
|
1884
|
+
}
|
|
1885
|
+
interface GetMultiServiceBookingAvailabilityResponse {
|
|
1886
|
+
/** Whether all contained single-service bookings are bookable. */
|
|
1887
|
+
bookable?: boolean;
|
|
1888
|
+
/** Total number of spots. */
|
|
1889
|
+
totalCapacity?: number | null;
|
|
1890
|
+
/** Number of open spots. */
|
|
1891
|
+
remainingCapacity?: number | null;
|
|
1892
|
+
/** Indicators for policy violations of the multi-service booking. */
|
|
1893
|
+
policyViolations?: BookingPolicyViolations;
|
|
1894
|
+
/** Multi-service booking policy settings. */
|
|
1895
|
+
policySettings?: BookingPolicySettings;
|
|
1896
|
+
/** Details of the multi-service booking. */
|
|
1897
|
+
multiServiceBookingInfo?: GetMultiServiceBookingAvailabilityResponseBookingInfo[];
|
|
1898
|
+
}
|
|
1899
|
+
interface BookingPolicyViolations {
|
|
1900
|
+
/** Booking policy violation: Too early to book this slot. */
|
|
1901
|
+
tooEarlyToBook?: boolean | null;
|
|
1902
|
+
/** Booking policy violation: Too late to book this slot. */
|
|
1903
|
+
tooLateToBook?: boolean | null;
|
|
1904
|
+
/** Booking policy violation: Online booking is disabled for this slot. */
|
|
1905
|
+
bookOnlineDisabled?: boolean | null;
|
|
1906
|
+
}
|
|
1907
|
+
interface BookingPolicySettings {
|
|
1908
|
+
/** Booking policy settings for a given slot or schedule. */
|
|
1909
|
+
maxParticipantsPerBooking?: number | null;
|
|
1910
|
+
}
|
|
1911
|
+
interface GetMultiServiceBookingAvailabilityResponseBookingInfo {
|
|
2067
1912
|
/**
|
|
2068
|
-
*
|
|
2069
|
-
*
|
|
1913
|
+
* Booking ID.
|
|
1914
|
+
* @format GUID
|
|
2070
1915
|
*/
|
|
2071
|
-
|
|
1916
|
+
bookingId?: string | null;
|
|
2072
1917
|
}
|
|
2073
|
-
interface
|
|
1918
|
+
interface CancelMultiServiceBookingRequest {
|
|
2074
1919
|
/**
|
|
2075
|
-
* ID of the booking to
|
|
1920
|
+
* ID of the multi-service booking to cancel.
|
|
2076
1921
|
* @format GUID
|
|
2077
1922
|
*/
|
|
2078
|
-
|
|
1923
|
+
multiServiceBookingId: string | null;
|
|
1924
|
+
/** Information about whether to notify the customer and the message to send. */
|
|
1925
|
+
participantNotification?: ParticipantNotification;
|
|
2079
1926
|
/**
|
|
2080
|
-
*
|
|
2081
|
-
*
|
|
2082
|
-
* the current revision must be specified when rescheduling the booking.
|
|
1927
|
+
* Information about whether specific procedures of the standard Wix Bookings cancellation flow are changed.
|
|
1928
|
+
* For example, whether the customer can cancel the booking even though the service's cancellation policy doesn't allow it or whether to issue a refund upon cancellation.
|
|
2083
1929
|
*/
|
|
2084
|
-
|
|
1930
|
+
flowControlSettings?: CancelBookingFlowControlSettings;
|
|
1931
|
+
/** Whether to return the canceled single-service bookings. */
|
|
1932
|
+
returnFullEntity?: boolean;
|
|
2085
1933
|
}
|
|
2086
|
-
|
|
2087
|
-
interface SlotBookings {
|
|
1934
|
+
interface CancelBookingFlowControlSettings {
|
|
2088
1935
|
/**
|
|
2089
|
-
*
|
|
2090
|
-
*
|
|
1936
|
+
* Whether the cancellation policy applies when canceling the booking.
|
|
1937
|
+
*
|
|
1938
|
+
* When passing `false`, you can only cancel a booking if the cancellation policy allows it.
|
|
1939
|
+
* Default: `false`.
|
|
2091
1940
|
*/
|
|
2092
|
-
|
|
1941
|
+
ignoreCancellationPolicy?: boolean | null;
|
|
2093
1942
|
/**
|
|
2094
|
-
*
|
|
2095
|
-
*
|
|
1943
|
+
* Whether to issue a refund when canceling the booking.
|
|
1944
|
+
*
|
|
1945
|
+
* The refund will be issued only if the booking is refundable.
|
|
1946
|
+
* Currently, a booking is considered refundable when it was paid by membership.
|
|
1947
|
+
* If you specify `true`, the booking flow control settings is set to include a refund.
|
|
1948
|
+
* If `false` is specified or the field remains empty,
|
|
1949
|
+
* the booking flow control settings are set without refund.
|
|
1950
|
+
*
|
|
1951
|
+
* Default: `false`.
|
|
2096
1952
|
*/
|
|
2097
|
-
|
|
1953
|
+
withRefund?: boolean | null;
|
|
2098
1954
|
}
|
|
2099
|
-
interface
|
|
1955
|
+
interface CancelMultiServiceBookingResponse {
|
|
1956
|
+
/** Canceled multi-service booking. */
|
|
1957
|
+
multiServiceBooking?: MultiServiceBooking;
|
|
1958
|
+
}
|
|
1959
|
+
interface BookingCanceled {
|
|
1960
|
+
/** The canceled booking object. */
|
|
1961
|
+
booking?: Booking;
|
|
1962
|
+
/** Information about whether to notify the customer about the cancellation and the message to send. */
|
|
1963
|
+
participantNotification?: ParticipantNotification;
|
|
2100
1964
|
/**
|
|
2101
|
-
* Information about the
|
|
2102
|
-
*
|
|
2103
|
-
*
|
|
1965
|
+
* Information about whether specific procedures of the standard Wix Bookings
|
|
1966
|
+
* cancellation flow are changed. For example, whether you can cancel
|
|
1967
|
+
* a booking even though the cancellation policy doesn't allow it or whether
|
|
1968
|
+
* to issue a refund.
|
|
2104
1969
|
*/
|
|
2105
|
-
|
|
2106
|
-
/**
|
|
2107
|
-
|
|
1970
|
+
flowControlSettings?: CancelBookingFlowControlSettings;
|
|
1971
|
+
/** ID of the cancellation initiator. */
|
|
1972
|
+
initiatedBy?: IdentificationData;
|
|
1973
|
+
/** The previous status of the booking. */
|
|
1974
|
+
previousStatus?: BookingStatusWithLiterals;
|
|
2108
1975
|
}
|
|
2109
|
-
|
|
2110
|
-
interface BulkUpdateBookedScheduleRequest {
|
|
1976
|
+
interface MarkMultiServiceBookingAsPendingRequest {
|
|
2111
1977
|
/**
|
|
2112
|
-
*
|
|
2113
|
-
* @
|
|
1978
|
+
* ID of the multi-service booking to mark as `PENDING`.
|
|
1979
|
+
* @format GUID
|
|
2114
1980
|
*/
|
|
2115
|
-
|
|
2116
|
-
/**
|
|
2117
|
-
|
|
1981
|
+
multiServiceBookingId: string | null;
|
|
1982
|
+
/** Information about the single-service bookings to mark as `PENDING`. */
|
|
1983
|
+
markAsPendingBookingsInfo?: BookingInfo[];
|
|
1984
|
+
/** Information about whether to notify the customer and the message to send. */
|
|
1985
|
+
participantNotification?: ParticipantNotification;
|
|
2118
1986
|
/**
|
|
2119
|
-
*
|
|
2120
|
-
* the
|
|
1987
|
+
* Whether to send an SMS reminder to the customer 24 hours before the session starts.
|
|
1988
|
+
* Wix Bookings takes the phone number from `contactDetails.phone`.
|
|
1989
|
+
*
|
|
1990
|
+
* Default: `true`
|
|
2121
1991
|
*/
|
|
2122
|
-
|
|
1992
|
+
sendSmsReminder?: boolean | null;
|
|
1993
|
+
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
1994
|
+
doubleBooked?: boolean | null;
|
|
1995
|
+
/**
|
|
1996
|
+
* Whether to return the single-service bookings that were marked as `PENDING`.
|
|
1997
|
+
*
|
|
1998
|
+
* Default: `false`
|
|
1999
|
+
*/
|
|
2000
|
+
returnFullEntity?: boolean;
|
|
2001
|
+
/**
|
|
2002
|
+
* Information about whether specific procedures of the standard Wix Bookings creation flow are changed.
|
|
2003
|
+
* For example, whether Wix Bookings checks availability before updating the booking.
|
|
2004
|
+
*/
|
|
2005
|
+
flowControlSettings?: MarkBookingAsPendingFlowControlSettings;
|
|
2123
2006
|
}
|
|
2124
|
-
interface
|
|
2007
|
+
interface BookingInfo {
|
|
2125
2008
|
/**
|
|
2126
|
-
* ID of the
|
|
2009
|
+
* ID of the single-service booking.
|
|
2127
2010
|
* @format GUID
|
|
2128
2011
|
*/
|
|
2129
|
-
|
|
2130
|
-
revision?: string | null;
|
|
2131
|
-
}
|
|
2132
|
-
interface BulkUpdateBookedScheduleResponse {
|
|
2012
|
+
bookingId?: string | null;
|
|
2133
2013
|
/**
|
|
2134
|
-
*
|
|
2135
|
-
*
|
|
2136
|
-
* succesfully updated.
|
|
2014
|
+
* Revision number, which increments by 1 each time the booking is updated.
|
|
2015
|
+
* To prevent conflicting changes, the current revision must be specified when managing the booking.
|
|
2137
2016
|
*/
|
|
2138
|
-
|
|
2139
|
-
/**
|
|
2140
|
-
|
|
2017
|
+
revision?: string | null;
|
|
2018
|
+
/** Payment status to set for the single-service booking. */
|
|
2019
|
+
paymentStatus?: PaymentStatusWithLiterals;
|
|
2141
2020
|
}
|
|
2142
|
-
interface
|
|
2143
|
-
/** Information about filters, paging, and sorting. */
|
|
2144
|
-
query?: QueryV2;
|
|
2145
|
-
}
|
|
2146
|
-
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
2147
|
-
/** Paging options to limit and skip the number of items. */
|
|
2148
|
-
paging?: Paging;
|
|
2149
|
-
/**
|
|
2150
|
-
* Cursor token pointing to a page of results. In the first request,
|
|
2151
|
-
* specify `cursorPaging.limit`. For following requests, specify the
|
|
2152
|
-
* retrieved `cursorPaging.cursor` token and not `query.filter` or
|
|
2153
|
-
* `query.sort`.
|
|
2154
|
-
*/
|
|
2155
|
-
cursorPaging?: CursorPaging;
|
|
2156
|
-
/**
|
|
2157
|
-
* Filter object in the following format:
|
|
2158
|
-
* `"filter" : {
|
|
2159
|
-
* "fieldName1": "value1",
|
|
2160
|
-
* "fieldName2":{"$operator":"value2"}
|
|
2161
|
-
* }`
|
|
2162
|
-
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
2163
|
-
*/
|
|
2164
|
-
filter?: Record<string, any> | null;
|
|
2165
|
-
/**
|
|
2166
|
-
* Sort object in the following format:
|
|
2167
|
-
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
2168
|
-
*/
|
|
2169
|
-
sort?: Sorting[];
|
|
2170
|
-
/** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
2171
|
-
fields?: string[];
|
|
2172
|
-
/** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
2173
|
-
fieldsets?: string[];
|
|
2174
|
-
}
|
|
2175
|
-
/** @oneof */
|
|
2176
|
-
interface QueryV2PagingMethodOneOf {
|
|
2177
|
-
/** Paging options to limit and skip the number of items. */
|
|
2178
|
-
paging?: Paging;
|
|
2179
|
-
/**
|
|
2180
|
-
* Cursor token pointing to a page of results. In the first request,
|
|
2181
|
-
* specify `cursorPaging.limit`. For following requests, specify the
|
|
2182
|
-
* retrieved `cursorPaging.cursor` token and not `query.filter` or
|
|
2183
|
-
* `query.sort`.
|
|
2184
|
-
*/
|
|
2185
|
-
cursorPaging?: CursorPaging;
|
|
2186
|
-
}
|
|
2187
|
-
interface Sorting {
|
|
2188
|
-
/**
|
|
2189
|
-
* Name of the field to sort by.
|
|
2190
|
-
* @maxLength 512
|
|
2191
|
-
*/
|
|
2192
|
-
fieldName?: string;
|
|
2193
|
-
/** Sort order. */
|
|
2194
|
-
order?: SortOrderWithLiterals;
|
|
2195
|
-
}
|
|
2196
|
-
declare enum SortOrder {
|
|
2197
|
-
ASC = "ASC",
|
|
2198
|
-
DESC = "DESC"
|
|
2199
|
-
}
|
|
2200
|
-
/** @enumType */
|
|
2201
|
-
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
2202
|
-
interface Paging {
|
|
2203
|
-
/** Number of items to load. */
|
|
2204
|
-
limit?: number | null;
|
|
2205
|
-
/** Number of items to skip in the current sort order. */
|
|
2206
|
-
offset?: number | null;
|
|
2207
|
-
}
|
|
2208
|
-
interface CursorPaging {
|
|
2209
|
-
/**
|
|
2210
|
-
* Maximum number of items to return in the results.
|
|
2211
|
-
* @max 100
|
|
2212
|
-
*/
|
|
2213
|
-
limit?: number | null;
|
|
2021
|
+
interface MarkBookingAsPendingFlowControlSettings {
|
|
2214
2022
|
/**
|
|
2215
|
-
*
|
|
2023
|
+
* Whether to check for double booking conflicts when updating the status.
|
|
2216
2024
|
*
|
|
2217
|
-
*
|
|
2218
|
-
*
|
|
2219
|
-
*
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
interface QueryBookingsResponse {
|
|
2224
|
-
/** Retrieved bookings. */
|
|
2225
|
-
bookings?: Booking[];
|
|
2226
|
-
/** Paging metadata. */
|
|
2227
|
-
pagingMetadata?: PagingMetadataV2;
|
|
2228
|
-
}
|
|
2229
|
-
interface PagingMetadataV2 {
|
|
2230
|
-
/** Number of items returned in the response. */
|
|
2231
|
-
count?: number | null;
|
|
2232
|
-
/** Offset that was requested. */
|
|
2233
|
-
offset?: number | null;
|
|
2234
|
-
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
2235
|
-
total?: number | null;
|
|
2236
|
-
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
2237
|
-
tooManyToCount?: boolean | null;
|
|
2238
|
-
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
2239
|
-
cursors?: Cursors;
|
|
2240
|
-
}
|
|
2241
|
-
interface Cursors {
|
|
2242
|
-
/**
|
|
2243
|
-
* Cursor string pointing to the next page in the list of results.
|
|
2244
|
-
* @maxLength 16000
|
|
2245
|
-
*/
|
|
2246
|
-
next?: string | null;
|
|
2247
|
-
/**
|
|
2248
|
-
* Cursor pointing to the previous page in the list of results.
|
|
2249
|
-
* @maxLength 16000
|
|
2250
|
-
*/
|
|
2251
|
-
prev?: string | null;
|
|
2252
|
-
}
|
|
2253
|
-
interface ConfirmRequest {
|
|
2254
|
-
/**
|
|
2255
|
-
* ID of the booking to confirm.
|
|
2256
|
-
* @format GUID
|
|
2025
|
+
* - `true`: Checks for availability conflicts and sets `doubleBooked` to `true`
|
|
2026
|
+
* if conflicts exist.
|
|
2027
|
+
* The booking is still marked as `PENDING` for the business to resolve manually.
|
|
2028
|
+
* - `false`: No availability checking is performed.
|
|
2029
|
+
*
|
|
2030
|
+
* Default: `false`
|
|
2257
2031
|
*/
|
|
2258
|
-
|
|
2032
|
+
checkAvailabilityValidation?: boolean;
|
|
2259
2033
|
/**
|
|
2260
|
-
*
|
|
2261
|
-
*
|
|
2034
|
+
* Whether to allow marking any booking as pending, even if the service doesn't require manual approval.
|
|
2035
|
+
*
|
|
2036
|
+
* - `true`: Bypasses the validation that checks if the service has `service.onlineBooking.requireManualApproval` set to `true`.
|
|
2037
|
+
* - `false`: Only services that require manual approval can have their bookings marked as pending.
|
|
2038
|
+
*
|
|
2039
|
+
* Default: `false`.
|
|
2262
2040
|
*/
|
|
2263
|
-
|
|
2041
|
+
skipPendingApprovalServiceValidation?: boolean;
|
|
2264
2042
|
}
|
|
2265
|
-
interface
|
|
2266
|
-
/**
|
|
2267
|
-
|
|
2268
|
-
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
2269
|
-
doubleBooked?: boolean | null;
|
|
2043
|
+
interface MarkMultiServiceBookingAsPendingResponse {
|
|
2044
|
+
/** Updated multi-service booking. */
|
|
2045
|
+
multiServiceBooking?: MultiServiceBooking;
|
|
2270
2046
|
}
|
|
2271
|
-
interface
|
|
2047
|
+
interface ConfirmMultiServiceBookingRequest {
|
|
2272
2048
|
/**
|
|
2273
|
-
* ID of the booking to confirm.
|
|
2049
|
+
* ID of the multi-service booking to confirm its related bookings.
|
|
2274
2050
|
* @format GUID
|
|
2275
2051
|
*/
|
|
2276
|
-
|
|
2277
|
-
/**
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
* updating the booking.
|
|
2281
|
-
*/
|
|
2282
|
-
revision: string | null;
|
|
2283
|
-
/**
|
|
2284
|
-
* Information about whether to notify the customer about the confirmation and
|
|
2285
|
-
* the message to send.
|
|
2286
|
-
*/
|
|
2052
|
+
multiServiceBookingId: string | null;
|
|
2053
|
+
/** Information about the single-service bookings to confirm. */
|
|
2054
|
+
confirmBookingsInfo?: BookingInfo[];
|
|
2055
|
+
/** Information about whether to notify the customer and the message to send. */
|
|
2287
2056
|
participantNotification?: ParticipantNotification;
|
|
2288
2057
|
/**
|
|
2289
|
-
* Whether to send an SMS reminder to the customer 24 hours before the
|
|
2290
|
-
*
|
|
2058
|
+
* Whether to send an SMS reminder to the customer 24 hours before the session starts.
|
|
2059
|
+
* Wix Bookings takes the phone number from `contactDetails.phone`.
|
|
2060
|
+
*
|
|
2061
|
+
* Default: `true`
|
|
2291
2062
|
*/
|
|
2292
2063
|
sendSmsReminder?: boolean | null;
|
|
2293
|
-
/** Payment status to set for the booking. */
|
|
2294
|
-
paymentStatus?: PaymentStatusWithLiterals;
|
|
2295
2064
|
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
2296
2065
|
doubleBooked?: boolean | null;
|
|
2066
|
+
/** Whether to return the confirmed single-service bookings. */
|
|
2067
|
+
returnFullEntity?: boolean;
|
|
2297
2068
|
/**
|
|
2298
|
-
*
|
|
2299
|
-
* For example, whether
|
|
2069
|
+
* Information about whether specific procedures of the standard Wix Bookings confirmation flow are changed.
|
|
2070
|
+
* For example, whether Wix Bookings checks availability before confirming the booking.
|
|
2300
2071
|
*/
|
|
2301
2072
|
flowControlSettings?: ConfirmBookingFlowControlSettings;
|
|
2302
2073
|
}
|
|
@@ -2309,9 +2080,9 @@ interface ConfirmBookingFlowControlSettings {
|
|
|
2309
2080
|
*/
|
|
2310
2081
|
checkAvailabilityValidation?: boolean;
|
|
2311
2082
|
}
|
|
2312
|
-
interface
|
|
2313
|
-
/** Confirmed booking. */
|
|
2314
|
-
|
|
2083
|
+
interface ConfirmMultiServiceBookingResponse {
|
|
2084
|
+
/** Confirmed multi-service booking. */
|
|
2085
|
+
multiServiceBooking?: MultiServiceBooking;
|
|
2315
2086
|
}
|
|
2316
2087
|
interface BookingConfirmed {
|
|
2317
2088
|
/** The confirmed booking object. */
|
|
@@ -2332,391 +2103,557 @@ interface BookingConfirmed {
|
|
|
2332
2103
|
/** The previous payment status of the booking. */
|
|
2333
2104
|
previousPaymentStatus?: PaymentStatusWithLiterals;
|
|
2334
2105
|
}
|
|
2335
|
-
interface
|
|
2336
|
-
/** Information about filters, paging, and sorting. */
|
|
2337
|
-
query?: QueryV2;
|
|
2338
|
-
}
|
|
2339
|
-
interface ConsistentQueryBookingsResponse {
|
|
2340
|
-
/** Retrieved bookings. */
|
|
2341
|
-
bookings?: Booking[];
|
|
2342
|
-
/** Paging metadata. */
|
|
2343
|
-
pagingMetadata?: PagingMetadataV2;
|
|
2344
|
-
}
|
|
2345
|
-
interface SetBookingSessionIdRequest {
|
|
2106
|
+
interface DeclineMultiServiceBookingRequest {
|
|
2346
2107
|
/**
|
|
2347
|
-
* ID of the booking to
|
|
2108
|
+
* ID of the multi-service booking to decline.
|
|
2348
2109
|
* @format GUID
|
|
2349
2110
|
*/
|
|
2350
|
-
|
|
2351
|
-
/**
|
|
2352
|
-
|
|
2111
|
+
multiServiceBookingId: string | null;
|
|
2112
|
+
/** Information about the single-service bookings to decline. */
|
|
2113
|
+
declineBookingsInfo?: BookingInfo[];
|
|
2114
|
+
/** Information about whether to notify the customer and the message to send. */
|
|
2115
|
+
participantNotification?: ParticipantNotification;
|
|
2116
|
+
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
2117
|
+
doubleBooked?: boolean | null;
|
|
2118
|
+
/** Whether to return the declined single-service bookings. */
|
|
2119
|
+
returnFullEntity?: boolean;
|
|
2120
|
+
/**
|
|
2121
|
+
* Information about whether specific procedures of the standard Wix Bookings declining flow are changed.
|
|
2122
|
+
* For example, whether to issue a refund upon cancellation.
|
|
2123
|
+
*/
|
|
2124
|
+
flowControlSettings?: DeclineBookingFlowControlSettings;
|
|
2353
2125
|
}
|
|
2354
|
-
interface
|
|
2355
|
-
/**
|
|
2356
|
-
|
|
2126
|
+
interface DeclineBookingFlowControlSettings {
|
|
2127
|
+
/**
|
|
2128
|
+
* Whether to issue a refund when declining the booking.
|
|
2129
|
+
*
|
|
2130
|
+
* The refund will be issued only if the booking is refundable.
|
|
2131
|
+
* Currently, a booking is considered refundable when it was paid by membership.
|
|
2132
|
+
* If specifying `true`, the booking flow control settings will be set with a refund.
|
|
2133
|
+
* If you specify `false` or an empty field,
|
|
2134
|
+
* the booking flow control settings are set without refund.
|
|
2135
|
+
*
|
|
2136
|
+
* Default: `false`.
|
|
2137
|
+
*/
|
|
2138
|
+
withRefund?: boolean | null;
|
|
2357
2139
|
}
|
|
2358
|
-
interface
|
|
2140
|
+
interface DeclineMultiServiceBookingResponse {
|
|
2141
|
+
/** Declined multi-service booking. */
|
|
2142
|
+
multiServiceBooking?: MultiServiceBooking;
|
|
2143
|
+
}
|
|
2144
|
+
interface BookingDeclined {
|
|
2145
|
+
/** The declined booking object. */
|
|
2146
|
+
booking?: Booking;
|
|
2147
|
+
/** Information about whether to notify the customer about the decline and the message to send. */
|
|
2148
|
+
participantNotification?: ParticipantNotification;
|
|
2149
|
+
/** Whether this booking overlaps with another existing confirmed booking. */
|
|
2150
|
+
doubleBooked?: boolean | null;
|
|
2151
|
+
/** ID of the decline initiator. */
|
|
2152
|
+
initiatedBy?: IdentificationData;
|
|
2153
|
+
/** The previous status of the booking. */
|
|
2154
|
+
previousStatus?: BookingStatusWithLiterals;
|
|
2155
|
+
/** The previous payment status of the booking. */
|
|
2156
|
+
previousPaymentStatus?: PaymentStatusWithLiterals;
|
|
2359
2157
|
/**
|
|
2360
|
-
*
|
|
2361
|
-
*
|
|
2158
|
+
* Information about whether specific procedures of the standard Wix Bookings
|
|
2159
|
+
* declining flow are changed. For example, whether to issue a refund.
|
|
2362
2160
|
*/
|
|
2363
|
-
|
|
2161
|
+
flowControlSettings?: DeclineBookingFlowControlSettings;
|
|
2162
|
+
}
|
|
2163
|
+
interface BulkGetMultiServiceBookingAllowedActionsRequest {
|
|
2364
2164
|
/**
|
|
2365
|
-
*
|
|
2165
|
+
* IDs of the multi-service bookings to retrieve allowed actions for.
|
|
2366
2166
|
* @format GUID
|
|
2167
|
+
* @minSize 1
|
|
2168
|
+
* @maxSize 50
|
|
2367
2169
|
*/
|
|
2368
|
-
|
|
2170
|
+
multiServiceBookingIds: string[] | null;
|
|
2369
2171
|
}
|
|
2370
|
-
interface
|
|
2371
|
-
/** Updated booking. */
|
|
2372
|
-
booking?: Booking;
|
|
2373
|
-
}
|
|
2374
|
-
interface UpdateExtendedFieldsRequest {
|
|
2375
|
-
/** ID of the entity to update. */
|
|
2376
|
-
id: string;
|
|
2377
|
-
/** Identifier for the app whose extended fields are being updated. */
|
|
2378
|
-
namespace: string;
|
|
2379
|
-
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
2380
|
-
namespaceData: Record<string, any> | null;
|
|
2381
|
-
}
|
|
2382
|
-
interface UpdateExtendedFieldsResponse {
|
|
2172
|
+
interface BulkGetMultiServiceBookingAllowedActionsResponse {
|
|
2383
2173
|
/**
|
|
2384
|
-
*
|
|
2385
|
-
*
|
|
2174
|
+
* Information about the multi-service bookings that were retrieved.
|
|
2175
|
+
* Includes their ID, index in the bulk request and whether they were successfully processed.
|
|
2386
2176
|
*/
|
|
2387
|
-
|
|
2388
|
-
/**
|
|
2389
|
-
|
|
2177
|
+
results?: BulkCalculateAllowedActionsResult[];
|
|
2178
|
+
/** Total number of successes and failures for Bulk Get Multi Service Booking Allowed Actions. */
|
|
2179
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
2390
2180
|
}
|
|
2391
|
-
interface
|
|
2181
|
+
interface BulkCalculateAllowedActionsResult {
|
|
2182
|
+
/** Metadata for the booking. Including ID, index in the provided sequence, success status, and error. */
|
|
2183
|
+
itemMetadata?: ItemMetadata;
|
|
2184
|
+
/** Booking entity. */
|
|
2185
|
+
item?: AllowedActions;
|
|
2186
|
+
}
|
|
2187
|
+
/** Possible actions allowed for the booking. */
|
|
2188
|
+
interface AllowedActions {
|
|
2189
|
+
/** Whether canceling the booking is allowed. */
|
|
2190
|
+
cancel?: boolean;
|
|
2191
|
+
/** Whether rescheduling the booking is allowed. */
|
|
2192
|
+
reschedule?: boolean;
|
|
2193
|
+
}
|
|
2194
|
+
interface GetMultiServiceBookingRequest {
|
|
2392
2195
|
/**
|
|
2393
|
-
* ID of the booking
|
|
2196
|
+
* ID of the multi-service booking.
|
|
2394
2197
|
* @format GUID
|
|
2395
2198
|
*/
|
|
2396
|
-
|
|
2199
|
+
multiServiceBookingId: string | null;
|
|
2200
|
+
}
|
|
2201
|
+
interface GetMultiServiceBookingResponse {
|
|
2202
|
+
/** Retrieved multi-service booking. */
|
|
2203
|
+
multiServiceBooking?: MultiServiceBooking;
|
|
2204
|
+
/** Details about how many single-service bookings belong to the multi-service booking. */
|
|
2205
|
+
metadata?: MultiServiceBookingMetadata;
|
|
2206
|
+
}
|
|
2207
|
+
interface MultiServiceBookingMetadata {
|
|
2397
2208
|
/**
|
|
2398
|
-
*
|
|
2399
|
-
*
|
|
2400
|
-
* To prevent conflicting changes, the current revision must be specified when
|
|
2401
|
-
* declining the booking.
|
|
2402
|
-
* @min 1
|
|
2209
|
+
* Total number of `CONFIRMED` and `PENDING` single-service bookings belonging to the multi-service booking.
|
|
2210
|
+
* The total includes the number of single-service bookings which couldn't be retrieved due to lack of permissions.
|
|
2403
2211
|
*/
|
|
2404
|
-
|
|
2212
|
+
totalNumberOfScheduledBookings?: number | null;
|
|
2213
|
+
}
|
|
2214
|
+
interface AddBookingsToMultiServiceBookingRequest {
|
|
2405
2215
|
/**
|
|
2406
|
-
*
|
|
2407
|
-
*
|
|
2216
|
+
* ID of the multi-service booking.
|
|
2217
|
+
* @format GUID
|
|
2408
2218
|
*/
|
|
2409
|
-
|
|
2410
|
-
/** Payment status to set for the booking. */
|
|
2411
|
-
paymentStatus?: PaymentStatusWithLiterals;
|
|
2412
|
-
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
2413
|
-
doubleBooked?: boolean | null;
|
|
2219
|
+
multiServiceBookingId: string | null;
|
|
2414
2220
|
/**
|
|
2415
|
-
*
|
|
2416
|
-
*
|
|
2221
|
+
* List of single-service booking IDs and their revision.
|
|
2222
|
+
* @maxSize 8
|
|
2417
2223
|
*/
|
|
2418
|
-
|
|
2419
|
-
}
|
|
2420
|
-
interface DeclineBookingFlowControlSettings {
|
|
2224
|
+
bookings: BookingIdAndRevision[];
|
|
2421
2225
|
/**
|
|
2422
|
-
* Whether to
|
|
2423
|
-
*
|
|
2424
|
-
* The refund will be issued only if the booking is refundable.
|
|
2425
|
-
* Currently, a booking is considered refundable when it was paid by membership.
|
|
2426
|
-
* If specifying `true`, the booking flow control settings will be set with a refund.
|
|
2427
|
-
* If you specify `false` or an empty field,
|
|
2428
|
-
* the booking flow control settings are set without refund.
|
|
2226
|
+
* Whether to return the single-service bookings that were added to the multi-service booking.
|
|
2429
2227
|
*
|
|
2430
|
-
* Default: `false
|
|
2228
|
+
* Default: `false`
|
|
2431
2229
|
*/
|
|
2432
|
-
|
|
2433
|
-
}
|
|
2434
|
-
interface DeclineBookingResponse {
|
|
2435
|
-
/** Declined booking. */
|
|
2436
|
-
booking?: Booking;
|
|
2230
|
+
returnFullEntity?: boolean;
|
|
2437
2231
|
}
|
|
2438
|
-
interface
|
|
2439
|
-
/** The declined booking object. */
|
|
2440
|
-
booking?: Booking;
|
|
2441
|
-
/** Information about whether to notify the customer about the decline and the message to send. */
|
|
2442
|
-
participantNotification?: ParticipantNotification;
|
|
2443
|
-
/** Whether this booking overlaps with another existing confirmed booking. */
|
|
2444
|
-
doubleBooked?: boolean | null;
|
|
2445
|
-
/** ID of the decline initiator. */
|
|
2446
|
-
initiatedBy?: IdentificationData;
|
|
2447
|
-
/** The previous status of the booking. */
|
|
2448
|
-
previousStatus?: BookingStatusWithLiterals;
|
|
2449
|
-
/** The previous payment status of the booking. */
|
|
2450
|
-
previousPaymentStatus?: PaymentStatusWithLiterals;
|
|
2232
|
+
interface BookingIdAndRevision {
|
|
2451
2233
|
/**
|
|
2452
|
-
*
|
|
2453
|
-
*
|
|
2234
|
+
* ID of the single-service booking.
|
|
2235
|
+
* @format GUID
|
|
2454
2236
|
*/
|
|
2455
|
-
|
|
2237
|
+
bookingId?: string | null;
|
|
2238
|
+
/**
|
|
2239
|
+
* Revision number, which increments by 1 each time the booking is updated.
|
|
2240
|
+
* To prevent conflicting changes, the current revision must be specified when managing the booking.
|
|
2241
|
+
*/
|
|
2242
|
+
revision?: string | null;
|
|
2456
2243
|
}
|
|
2457
|
-
interface
|
|
2244
|
+
interface AddBookingsToMultiServiceBookingResponse {
|
|
2245
|
+
/** Single-service bookings that were added to the multi-service booking. */
|
|
2246
|
+
bookings?: BookingResult[];
|
|
2247
|
+
}
|
|
2248
|
+
interface RemoveBookingsFromMultiServiceBookingRequest {
|
|
2458
2249
|
/**
|
|
2459
|
-
* ID of the booking
|
|
2250
|
+
* ID of the multi-service booking.
|
|
2460
2251
|
* @format GUID
|
|
2461
2252
|
*/
|
|
2462
|
-
|
|
2253
|
+
multiServiceBookingId: string | null;
|
|
2463
2254
|
/**
|
|
2464
|
-
*
|
|
2255
|
+
* List of single-service booking IDs and their revision.
|
|
2256
|
+
* @maxSize 8
|
|
2257
|
+
*/
|
|
2258
|
+
bookings?: BookingIdAndRevision[];
|
|
2259
|
+
/**
|
|
2260
|
+
* Whether to return the single-service bookings.
|
|
2261
|
+
*
|
|
2262
|
+
* Default: `false`
|
|
2263
|
+
*/
|
|
2264
|
+
returnFullEntity?: boolean;
|
|
2265
|
+
}
|
|
2266
|
+
interface RemoveBookingsFromMultiServiceBookingResponse {
|
|
2267
|
+
/** Single-service bookings that were removed from the multi-service booking. */
|
|
2268
|
+
bookings?: BookingResult[];
|
|
2269
|
+
}
|
|
2270
|
+
interface BookingChanged {
|
|
2271
|
+
/** The booking before the changes. */
|
|
2272
|
+
previousBooking?: Booking;
|
|
2273
|
+
/** The booking after the changes. */
|
|
2274
|
+
currentBooking?: Booking;
|
|
2275
|
+
}
|
|
2276
|
+
interface CreateBookingRequest {
|
|
2277
|
+
/** The booking to create. */
|
|
2278
|
+
booking: Booking;
|
|
2279
|
+
/**
|
|
2280
|
+
* Information about whether to notify the customer and
|
|
2465
2281
|
* the message to send.
|
|
2466
2282
|
*/
|
|
2467
2283
|
participantNotification?: ParticipantNotification;
|
|
2468
2284
|
/**
|
|
2469
|
-
* Whether to
|
|
2470
|
-
*
|
|
2471
|
-
*
|
|
2285
|
+
* Whether to send an SMS reminder to the customer 24 hours before the
|
|
2286
|
+
* session starts. The phone number is taken from `contactDetails.phone`.
|
|
2287
|
+
* Default: `true`.
|
|
2472
2288
|
*/
|
|
2473
|
-
|
|
2289
|
+
sendSmsReminder?: boolean | null;
|
|
2474
2290
|
/**
|
|
2475
|
-
*
|
|
2476
|
-
*
|
|
2477
|
-
* To prevent conflicting changes, the current revision must be specified when
|
|
2478
|
-
* managing the booking.
|
|
2291
|
+
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
2292
|
+
* For example, whether to check availability when creating a booking.
|
|
2479
2293
|
*/
|
|
2480
|
-
|
|
2294
|
+
flowControlSettings?: CreateBookingFlowControlSettings;
|
|
2481
2295
|
}
|
|
2482
|
-
interface
|
|
2296
|
+
interface CreateBookingResponse {
|
|
2297
|
+
/** Created booking. */
|
|
2298
|
+
booking?: Booking;
|
|
2299
|
+
}
|
|
2300
|
+
/**
|
|
2301
|
+
* The `fieldMask` should not include both the `numberOfParticipants` and `participantsInfo` paths. Including both results
|
|
2302
|
+
* in an error. `participantsInfo` is preferred over `numberOfParticipants`.
|
|
2303
|
+
*/
|
|
2304
|
+
interface UpdateBookingRequest {
|
|
2305
|
+
booking?: Booking;
|
|
2306
|
+
}
|
|
2307
|
+
interface UpdateBookingResponse {
|
|
2308
|
+
booking?: Booking;
|
|
2309
|
+
}
|
|
2310
|
+
interface LegacyCreateBookingRequest {
|
|
2311
|
+
booking?: Booking;
|
|
2312
|
+
}
|
|
2313
|
+
interface LegacyCreateBookingResponse {
|
|
2314
|
+
booking?: Booking;
|
|
2315
|
+
}
|
|
2316
|
+
/**
|
|
2317
|
+
* The `fieldMask` for each booking should not include both the `numberOfParticipants` and `participantsInfo` paths. Including both results
|
|
2318
|
+
* in an error. `participantsInfo` is preferred over `numberOfParticipants`.
|
|
2319
|
+
*/
|
|
2320
|
+
interface BulkUpdateBookingRequest {
|
|
2321
|
+
bookings?: MaskedBooking[];
|
|
2322
|
+
}
|
|
2323
|
+
interface MaskedBooking {
|
|
2324
|
+
booking?: Booking;
|
|
2325
|
+
mask?: string[];
|
|
2326
|
+
}
|
|
2327
|
+
interface BulkUpdateBookingResponse {
|
|
2483
2328
|
/**
|
|
2484
|
-
*
|
|
2485
|
-
*
|
|
2486
|
-
*
|
|
2487
|
-
* Default: `false`.
|
|
2329
|
+
* Information about the booking that was updated.
|
|
2330
|
+
* Including its ID, index in the bulk request and whether it was
|
|
2331
|
+
* successfully updated.
|
|
2488
2332
|
*/
|
|
2489
|
-
|
|
2333
|
+
results?: ItemMetadata[];
|
|
2334
|
+
/** Total number of successes and failures for Bulk Update Bookings. */
|
|
2335
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
2336
|
+
}
|
|
2337
|
+
interface BulkCreateBookingRequest {
|
|
2490
2338
|
/**
|
|
2491
|
-
*
|
|
2492
|
-
*
|
|
2493
|
-
* The refund will be issued only if the booking is refundable.
|
|
2494
|
-
* Currently, a booking is considered refundable when it was paid by membership.
|
|
2495
|
-
* If you specify `true`, the booking flow control settings is set to include a refund.
|
|
2496
|
-
* If `false` is specified or the field remains empty,
|
|
2497
|
-
* the booking flow control settings are set without refund.
|
|
2339
|
+
* Bookings to create.
|
|
2498
2340
|
*
|
|
2499
|
-
*
|
|
2341
|
+
* Max: 8 bookings
|
|
2342
|
+
* @minSize 1
|
|
2343
|
+
* @maxSize 12
|
|
2500
2344
|
*/
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
/** Canceled booking. */
|
|
2505
|
-
booking?: Booking;
|
|
2345
|
+
createBookingsInfo: CreateBookingInfo[];
|
|
2346
|
+
/** Whether to return the created bookings. */
|
|
2347
|
+
returnFullEntity?: boolean;
|
|
2506
2348
|
}
|
|
2507
|
-
interface
|
|
2508
|
-
/**
|
|
2349
|
+
interface CreateBookingInfo {
|
|
2350
|
+
/** Booking to create. */
|
|
2509
2351
|
booking?: Booking;
|
|
2510
|
-
/**
|
|
2352
|
+
/**
|
|
2353
|
+
* Information about whether to notify the customer and
|
|
2354
|
+
* the message to send.
|
|
2355
|
+
*/
|
|
2511
2356
|
participantNotification?: ParticipantNotification;
|
|
2512
2357
|
/**
|
|
2513
|
-
*
|
|
2514
|
-
*
|
|
2515
|
-
*
|
|
2516
|
-
* to issue a refund.
|
|
2358
|
+
* Whether to send an SMS reminder to the customer 24 hours before the
|
|
2359
|
+
* session starts. The phone number is taken from `contactDetails.phone`.
|
|
2360
|
+
* Default: `true`.
|
|
2517
2361
|
*/
|
|
2518
|
-
|
|
2519
|
-
/**
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2362
|
+
sendSmsReminder?: boolean | null;
|
|
2363
|
+
/**
|
|
2364
|
+
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
2365
|
+
* For example, whether to check availability when creating a booking.
|
|
2366
|
+
*/
|
|
2367
|
+
flowControlSettings?: CreateBookingFlowControlSettings;
|
|
2523
2368
|
}
|
|
2524
|
-
interface
|
|
2369
|
+
interface BulkCreateBookingResponse {
|
|
2370
|
+
/** List of individual Bulk Create Bookings results. */
|
|
2371
|
+
results?: BulkBookingResult[];
|
|
2372
|
+
/** Total number of successes and failures for Bulk Create Bookings. */
|
|
2373
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
2374
|
+
}
|
|
2375
|
+
interface RescheduleBookingRequest extends RescheduleBookingRequestParticipantsInfoOneOf {
|
|
2525
2376
|
/**
|
|
2526
2377
|
* Total number of participants. Specify when all participants have booked the
|
|
2527
2378
|
* same service variant.
|
|
2528
2379
|
*/
|
|
2529
2380
|
totalParticipants?: number;
|
|
2530
2381
|
/**
|
|
2531
|
-
* Information about the service choices
|
|
2532
|
-
*
|
|
2382
|
+
* Information about the service choices to book. Specify when not all
|
|
2383
|
+
* participants have booked the same service variant.
|
|
2533
2384
|
*/
|
|
2534
2385
|
participantsChoices?: ParticipantChoices;
|
|
2535
2386
|
/**
|
|
2536
|
-
* ID of the booking to
|
|
2387
|
+
* ID of the booking to reschedule.
|
|
2537
2388
|
* @format GUID
|
|
2538
2389
|
*/
|
|
2539
2390
|
bookingId: string;
|
|
2391
|
+
/** New slot of the booking. */
|
|
2392
|
+
slot: V2Slot;
|
|
2540
2393
|
/**
|
|
2541
|
-
* Revision number, which increments by 1 each time the booking is
|
|
2542
|
-
*
|
|
2543
|
-
*
|
|
2544
|
-
* when updating the booking.
|
|
2394
|
+
* Revision number, which increments by 1 each time the booking is rescheduled.
|
|
2395
|
+
* To prevent conflicting changes, the current revision must be passed when
|
|
2396
|
+
* rescheduling the booking.
|
|
2545
2397
|
*/
|
|
2546
2398
|
revision: string | null;
|
|
2399
|
+
/**
|
|
2400
|
+
* Information about whether to notify the customer about the rescheduling and
|
|
2401
|
+
* the message to send.
|
|
2402
|
+
*/
|
|
2403
|
+
participantNotification?: ParticipantNotification;
|
|
2404
|
+
/**
|
|
2405
|
+
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
2406
|
+
* For example, whether to check availability when rescheduling a booking.
|
|
2407
|
+
*/
|
|
2408
|
+
flowControlSettings?: RescheduleBookingFlowControlSettings;
|
|
2409
|
+
/**
|
|
2410
|
+
* List of [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) added to the booking.
|
|
2411
|
+
* The booking must have been created with `flowControlSettings.allowAddOnChanges` set to `true`, when rescheduling while specifying a new list of add-ons. Otherwise, the call fails.
|
|
2412
|
+
* @maxSize 21
|
|
2413
|
+
*/
|
|
2414
|
+
bookedAddOns?: BookedAddOn[];
|
|
2547
2415
|
}
|
|
2548
2416
|
/** @oneof */
|
|
2549
|
-
interface
|
|
2417
|
+
interface RescheduleBookingRequestParticipantsInfoOneOf {
|
|
2550
2418
|
/**
|
|
2551
2419
|
* Total number of participants. Specify when all participants have booked the
|
|
2552
2420
|
* same service variant.
|
|
2553
2421
|
*/
|
|
2554
2422
|
totalParticipants?: number;
|
|
2555
2423
|
/**
|
|
2556
|
-
* Information about the service choices
|
|
2557
|
-
*
|
|
2424
|
+
* Information about the service choices to book. Specify when not all
|
|
2425
|
+
* participants have booked the same service variant.
|
|
2558
2426
|
*/
|
|
2559
2427
|
participantsChoices?: ParticipantChoices;
|
|
2560
2428
|
}
|
|
2561
|
-
interface
|
|
2562
|
-
/**
|
|
2429
|
+
interface RescheduleBookingResponse {
|
|
2430
|
+
/** Rescheduled booking. */
|
|
2563
2431
|
booking?: Booking;
|
|
2564
2432
|
}
|
|
2565
|
-
interface
|
|
2433
|
+
interface BulkRescheduleBookingRequest {
|
|
2566
2434
|
/**
|
|
2567
|
-
*
|
|
2568
|
-
*
|
|
2435
|
+
* Reschedule multiple bookings to multiple slots.
|
|
2436
|
+
* @minSize 1
|
|
2569
2437
|
*/
|
|
2570
|
-
|
|
2438
|
+
slotsBookings?: SlotBookings[];
|
|
2571
2439
|
/**
|
|
2572
|
-
* Information about the
|
|
2573
|
-
*
|
|
2440
|
+
* Information about whether to notify the customer about the rescheduling and
|
|
2441
|
+
* the message to send.
|
|
2574
2442
|
*/
|
|
2575
|
-
|
|
2576
|
-
/** The updated booking object. */
|
|
2577
|
-
booking?: Booking;
|
|
2578
|
-
/** ID of the participant number update initiator. */
|
|
2579
|
-
initiatedBy?: IdentificationData;
|
|
2443
|
+
participantNotification?: ParticipantNotification;
|
|
2580
2444
|
}
|
|
2581
|
-
|
|
2582
|
-
interface NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf {
|
|
2445
|
+
interface BulkRescheduleBookingRequestBooking {
|
|
2583
2446
|
/**
|
|
2584
|
-
*
|
|
2585
|
-
*
|
|
2447
|
+
* ID of the booking to reschedule.
|
|
2448
|
+
* @format GUID
|
|
2449
|
+
*/
|
|
2450
|
+
id?: string;
|
|
2451
|
+
/**
|
|
2452
|
+
* Revision number, which increments by 1 each time the booking is rescheduled.
|
|
2453
|
+
* To prevent conflicting changes,
|
|
2454
|
+
* the current revision must be specified when rescheduling the booking.
|
|
2455
|
+
*/
|
|
2456
|
+
revision?: string | null;
|
|
2457
|
+
}
|
|
2458
|
+
/** Bookings to be rescheduled to the given slot. */
|
|
2459
|
+
interface SlotBookings {
|
|
2460
|
+
/**
|
|
2461
|
+
* The bookings details.
|
|
2462
|
+
* @minSize 1
|
|
2463
|
+
*/
|
|
2464
|
+
bookings?: BulkRescheduleBookingRequestBooking[];
|
|
2465
|
+
/**
|
|
2466
|
+
* The slot to which the bookings were rescheduled.
|
|
2467
|
+
* These bookings are automatically assigned to the session, if given. Otherwise, a new session is created.
|
|
2468
|
+
*/
|
|
2469
|
+
slot?: BookedSlot;
|
|
2470
|
+
}
|
|
2471
|
+
interface BulkRescheduleBookingResponse {
|
|
2472
|
+
/**
|
|
2473
|
+
* Information about the booking that was rescheduled.
|
|
2474
|
+
* Including its ID, index in the bulk request and whether it was
|
|
2475
|
+
* successfully rescheduled.
|
|
2476
|
+
*/
|
|
2477
|
+
results?: ItemMetadata[];
|
|
2478
|
+
/** Total number of successes and failures for Bulk Reschedule Bookings. */
|
|
2479
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
2480
|
+
}
|
|
2481
|
+
/** Update the booked schedule of multiple bookings to the given schedule. */
|
|
2482
|
+
interface BulkUpdateBookedScheduleRequest {
|
|
2483
|
+
/**
|
|
2484
|
+
* The bookings whose booked schedule is to be updated to the given schedule.
|
|
2485
|
+
* @minSize 1
|
|
2486
|
+
*/
|
|
2487
|
+
bookings?: BookingDetails[];
|
|
2488
|
+
/** ID of the schedule to update. */
|
|
2489
|
+
scheduleId?: string;
|
|
2490
|
+
/**
|
|
2491
|
+
* Information about whether to notify the customer about the rescheduling and
|
|
2492
|
+
* the message to send.
|
|
2493
|
+
*/
|
|
2494
|
+
participantNotification?: ParticipantNotification;
|
|
2495
|
+
}
|
|
2496
|
+
interface BookingDetails {
|
|
2497
|
+
/**
|
|
2498
|
+
* ID of the bookings to be updated.
|
|
2499
|
+
* @format GUID
|
|
2500
|
+
*/
|
|
2501
|
+
id?: string;
|
|
2502
|
+
revision?: string | null;
|
|
2503
|
+
}
|
|
2504
|
+
interface BulkUpdateBookedScheduleResponse {
|
|
2505
|
+
/**
|
|
2506
|
+
* Information about the schedule that was updated.
|
|
2507
|
+
* Including its ID, index in the bulk request and whether it was
|
|
2508
|
+
* succesfully updated.
|
|
2509
|
+
*/
|
|
2510
|
+
results?: ItemMetadata[];
|
|
2511
|
+
/** Total number of successes and failures for Bulk Updated Booked Schedules. */
|
|
2512
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
2513
|
+
}
|
|
2514
|
+
interface QueryBookingsRequest {
|
|
2515
|
+
/** Information about filters, paging, and sorting. */
|
|
2516
|
+
query?: QueryV2;
|
|
2517
|
+
}
|
|
2518
|
+
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
2519
|
+
/** Paging options to limit and skip the number of items. */
|
|
2520
|
+
paging?: Paging;
|
|
2521
|
+
/**
|
|
2522
|
+
* Cursor token pointing to a page of results. In the first request,
|
|
2523
|
+
* specify `cursorPaging.limit`. For following requests, specify the
|
|
2524
|
+
* retrieved `cursorPaging.cursor` token and not `query.filter` or
|
|
2525
|
+
* `query.sort`.
|
|
2526
|
+
*/
|
|
2527
|
+
cursorPaging?: CursorPaging;
|
|
2528
|
+
/**
|
|
2529
|
+
* Filter object in the following format:
|
|
2530
|
+
* `"filter" : {
|
|
2531
|
+
* "fieldName1": "value1",
|
|
2532
|
+
* "fieldName2":{"$operator":"value2"}
|
|
2533
|
+
* }`
|
|
2534
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
2586
2535
|
*/
|
|
2587
|
-
|
|
2536
|
+
filter?: Record<string, any> | null;
|
|
2588
2537
|
/**
|
|
2589
|
-
*
|
|
2590
|
-
*
|
|
2538
|
+
* Sort object in the following format:
|
|
2539
|
+
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
2591
2540
|
*/
|
|
2592
|
-
|
|
2541
|
+
sort?: Sorting[];
|
|
2542
|
+
/** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
2543
|
+
fields?: string[];
|
|
2544
|
+
/** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
2545
|
+
fieldsets?: string[];
|
|
2593
2546
|
}
|
|
2594
|
-
|
|
2547
|
+
/** @oneof */
|
|
2548
|
+
interface QueryV2PagingMethodOneOf {
|
|
2549
|
+
/** Paging options to limit and skip the number of items. */
|
|
2550
|
+
paging?: Paging;
|
|
2595
2551
|
/**
|
|
2596
|
-
*
|
|
2597
|
-
*
|
|
2552
|
+
* Cursor token pointing to a page of results. In the first request,
|
|
2553
|
+
* specify `cursorPaging.limit`. For following requests, specify the
|
|
2554
|
+
* retrieved `cursorPaging.cursor` token and not `query.filter` or
|
|
2555
|
+
* `query.sort`.
|
|
2598
2556
|
*/
|
|
2599
|
-
|
|
2600
|
-
}
|
|
2601
|
-
interface BulkCalculateAllowedActionsResponse {
|
|
2602
|
-
results?: BulkCalculateAllowedActionsResult[];
|
|
2603
|
-
/** Total number of successes and failures for Bulk Calculate Allowed Actions. */
|
|
2604
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
2605
|
-
}
|
|
2606
|
-
interface BulkCalculateAllowedActionsResult {
|
|
2607
|
-
/** Metadata for the booking. Including ID, index in the provided sequence, success status, and error. */
|
|
2608
|
-
itemMetadata?: ItemMetadata;
|
|
2609
|
-
/** Booking entity. */
|
|
2610
|
-
item?: AllowedActions;
|
|
2557
|
+
cursorPaging?: CursorPaging;
|
|
2611
2558
|
}
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2559
|
+
interface Sorting {
|
|
2560
|
+
/**
|
|
2561
|
+
* Name of the field to sort by.
|
|
2562
|
+
* @maxLength 512
|
|
2563
|
+
*/
|
|
2564
|
+
fieldName?: string;
|
|
2565
|
+
/** Sort order. */
|
|
2566
|
+
order?: SortOrderWithLiterals;
|
|
2618
2567
|
}
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
/** The timezone for which availability is to be calculated. */
|
|
2623
|
-
timezone?: string | null;
|
|
2568
|
+
declare enum SortOrder {
|
|
2569
|
+
ASC = "ASC",
|
|
2570
|
+
DESC = "DESC"
|
|
2624
2571
|
}
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2572
|
+
/** @enumType */
|
|
2573
|
+
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
2574
|
+
interface Paging {
|
|
2575
|
+
/** Number of items to load. */
|
|
2576
|
+
limit?: number | null;
|
|
2577
|
+
/** Number of items to skip in the current sort order. */
|
|
2578
|
+
offset?: number | null;
|
|
2628
2579
|
}
|
|
2629
|
-
interface
|
|
2630
|
-
/** Identifier for the underlying session when the session is a single session or generated from a recurring session. Required. */
|
|
2631
|
-
slot?: V2Slot;
|
|
2632
|
-
/** Whether this available slot is bookable. */
|
|
2633
|
-
bookable?: boolean;
|
|
2634
|
-
/**
|
|
2635
|
-
* Total number of spots for this availability.
|
|
2636
|
-
* For example, for a class of 10 spots with 3 spots booked, `totalSpots` is 10 and `openSpots` is 7.
|
|
2637
|
-
*/
|
|
2638
|
-
totalSpots?: number | null;
|
|
2580
|
+
interface CursorPaging {
|
|
2639
2581
|
/**
|
|
2640
|
-
*
|
|
2641
|
-
*
|
|
2582
|
+
* Maximum number of items to return in the results.
|
|
2583
|
+
* @max 100
|
|
2642
2584
|
*/
|
|
2643
|
-
|
|
2644
|
-
/** An object describing the slot's waiting list and its occupancy. */
|
|
2645
|
-
waitingList?: WaitingList;
|
|
2646
|
-
/** Indicators for booking policy violations for the slot. */
|
|
2647
|
-
bookingPolicyViolations?: BookingPolicyViolations;
|
|
2648
|
-
/** Indicates whether this slot is locked. */
|
|
2649
|
-
locked?: boolean | null;
|
|
2650
|
-
}
|
|
2651
|
-
interface WaitingList {
|
|
2585
|
+
limit?: number | null;
|
|
2652
2586
|
/**
|
|
2653
|
-
*
|
|
2654
|
-
*
|
|
2587
|
+
* Pointer to the next or previous page in the list of results.
|
|
2588
|
+
*
|
|
2589
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
2590
|
+
* Not relevant for the first request.
|
|
2591
|
+
* @maxLength 16000
|
|
2655
2592
|
*/
|
|
2656
|
-
|
|
2657
|
-
openSpots?: number | null;
|
|
2593
|
+
cursor?: string | null;
|
|
2658
2594
|
}
|
|
2659
|
-
interface
|
|
2660
|
-
/**
|
|
2661
|
-
|
|
2662
|
-
/**
|
|
2663
|
-
|
|
2664
|
-
/** Booking policy violation: Online booking is disabled for this slot. */
|
|
2665
|
-
bookOnlineDisabled?: boolean | null;
|
|
2595
|
+
interface QueryBookingsResponse {
|
|
2596
|
+
/** Retrieved bookings. */
|
|
2597
|
+
bookings?: Booking[];
|
|
2598
|
+
/** Paging metadata. */
|
|
2599
|
+
pagingMetadata?: PagingMetadataV2;
|
|
2666
2600
|
}
|
|
2667
|
-
interface
|
|
2668
|
-
/**
|
|
2669
|
-
|
|
2601
|
+
interface PagingMetadataV2 {
|
|
2602
|
+
/** Number of items returned in the response. */
|
|
2603
|
+
count?: number | null;
|
|
2604
|
+
/** Offset that was requested. */
|
|
2605
|
+
offset?: number | null;
|
|
2606
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
2607
|
+
total?: number | null;
|
|
2608
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
2609
|
+
tooManyToCount?: boolean | null;
|
|
2610
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
2611
|
+
cursors?: Cursors;
|
|
2670
2612
|
}
|
|
2671
|
-
interface
|
|
2613
|
+
interface Cursors {
|
|
2672
2614
|
/**
|
|
2673
|
-
*
|
|
2674
|
-
* @
|
|
2615
|
+
* Cursor string pointing to the next page in the list of results.
|
|
2616
|
+
* @maxLength 16000
|
|
2675
2617
|
*/
|
|
2676
|
-
|
|
2618
|
+
next?: string | null;
|
|
2677
2619
|
/**
|
|
2678
|
-
*
|
|
2679
|
-
*
|
|
2680
|
-
* `Availability-2` currently has no `maxSize` defined.
|
|
2681
|
-
* @format GUID
|
|
2682
|
-
* @maxSize 275
|
|
2620
|
+
* Cursor pointing to the previous page in the list of results.
|
|
2621
|
+
* @maxLength 16000
|
|
2683
2622
|
*/
|
|
2684
|
-
|
|
2623
|
+
prev?: string | null;
|
|
2685
2624
|
}
|
|
2686
|
-
interface
|
|
2625
|
+
interface ConfirmRequest {
|
|
2687
2626
|
/**
|
|
2688
|
-
* ID of the
|
|
2627
|
+
* ID of the booking to confirm.
|
|
2689
2628
|
* @format GUID
|
|
2690
2629
|
*/
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2630
|
+
id?: string;
|
|
2631
|
+
/**
|
|
2632
|
+
* Information about whether to notify the customer about the confirmation and
|
|
2633
|
+
* the message to send.
|
|
2634
|
+
*/
|
|
2635
|
+
participantNotification?: ParticipantNotification;
|
|
2696
2636
|
}
|
|
2697
|
-
interface
|
|
2698
|
-
/**
|
|
2699
|
-
|
|
2700
|
-
/**
|
|
2701
|
-
|
|
2702
|
-
/** Indicators of booking policy violations for the specified schedule. */
|
|
2703
|
-
bookingPolicyViolations?: BookingPolicyViolations;
|
|
2637
|
+
interface ConfirmResponse {
|
|
2638
|
+
/** Confirmed booking. */
|
|
2639
|
+
booking?: Booking;
|
|
2640
|
+
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
2641
|
+
doubleBooked?: boolean | null;
|
|
2704
2642
|
}
|
|
2705
|
-
interface
|
|
2643
|
+
interface ConfirmBookingRequest {
|
|
2706
2644
|
/**
|
|
2707
|
-
* ID of the booking to
|
|
2645
|
+
* ID of the booking to confirm.
|
|
2708
2646
|
* @format GUID
|
|
2709
2647
|
*/
|
|
2710
2648
|
bookingId: string;
|
|
2711
2649
|
/**
|
|
2712
2650
|
* Revision number, which increments by 1 each time the booking is updated.
|
|
2713
|
-
*
|
|
2714
|
-
*
|
|
2715
|
-
* managing the booking.
|
|
2651
|
+
* To prevent conflicting changes, the current revision must be passed when
|
|
2652
|
+
* updating the booking.
|
|
2716
2653
|
*/
|
|
2717
2654
|
revision: string | null;
|
|
2718
2655
|
/**
|
|
2719
|
-
* Information about whether to notify the customer and
|
|
2656
|
+
* Information about whether to notify the customer about the confirmation and
|
|
2720
2657
|
* the message to send.
|
|
2721
2658
|
*/
|
|
2722
2659
|
participantNotification?: ParticipantNotification;
|
|
@@ -2731,464 +2668,472 @@ interface MarkBookingAsPendingRequest {
|
|
|
2731
2668
|
doubleBooked?: boolean | null;
|
|
2732
2669
|
/**
|
|
2733
2670
|
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
2734
|
-
* For example, whether to check availability
|
|
2671
|
+
* For example, whether to check availability when confirming a booking.
|
|
2735
2672
|
*/
|
|
2736
|
-
flowControlSettings?:
|
|
2673
|
+
flowControlSettings?: ConfirmBookingFlowControlSettings;
|
|
2737
2674
|
}
|
|
2738
|
-
interface
|
|
2739
|
-
/**
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2675
|
+
interface ConfirmBookingResponse {
|
|
2676
|
+
/** Confirmed booking. */
|
|
2677
|
+
booking?: Booking;
|
|
2678
|
+
}
|
|
2679
|
+
interface ConsistentQueryBookingsRequest {
|
|
2680
|
+
/** Information about filters, paging, and sorting. */
|
|
2681
|
+
query?: QueryV2;
|
|
2682
|
+
}
|
|
2683
|
+
interface ConsistentQueryBookingsResponse {
|
|
2684
|
+
/** Retrieved bookings. */
|
|
2685
|
+
bookings?: Booking[];
|
|
2686
|
+
/** Paging metadata. */
|
|
2687
|
+
pagingMetadata?: PagingMetadataV2;
|
|
2688
|
+
}
|
|
2689
|
+
interface SetBookingSessionIdRequest {
|
|
2750
2690
|
/**
|
|
2751
|
-
*
|
|
2752
|
-
*
|
|
2753
|
-
* - `true`: Bypasses the validation that checks if the service has `service.onlineBooking.requireManualApproval` set to `true`.
|
|
2754
|
-
* - `false`: Only services that require manual approval can have their bookings marked as pending.
|
|
2755
|
-
*
|
|
2756
|
-
* Default: `false`.
|
|
2691
|
+
* ID of the booking to set `sessionId` for.
|
|
2692
|
+
* @format GUID
|
|
2757
2693
|
*/
|
|
2758
|
-
|
|
2694
|
+
id?: string;
|
|
2695
|
+
/** ID of the session to set on the booking. */
|
|
2696
|
+
sessionId?: string;
|
|
2759
2697
|
}
|
|
2760
|
-
interface
|
|
2698
|
+
interface SetBookingSessionIdResponse {
|
|
2761
2699
|
/** Updated booking. */
|
|
2762
2700
|
booking?: Booking;
|
|
2763
2701
|
}
|
|
2764
|
-
interface
|
|
2765
|
-
/** The booking object that was marked as pending. */
|
|
2766
|
-
booking?: Booking;
|
|
2767
|
-
/** Information about whether to notify the customer upon manual confirmation of the pending booking and the message to send. */
|
|
2768
|
-
participantNotification?: ParticipantNotification;
|
|
2702
|
+
interface SetBookingSubmissionIdRequest {
|
|
2769
2703
|
/**
|
|
2770
|
-
*
|
|
2771
|
-
*
|
|
2772
|
-
*/
|
|
2773
|
-
|
|
2774
|
-
/**
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
previousStatus?: BookingStatusWithLiterals;
|
|
2780
|
-
/** The previous payment status of the booking. */
|
|
2781
|
-
previousPaymentStatus?: PaymentStatusWithLiterals;
|
|
2782
|
-
}
|
|
2783
|
-
interface MigrationCheckIfClashesWithBlockedTimeRequest {
|
|
2784
|
-
msidAndBookingIds?: MsidAndBookingId[];
|
|
2785
|
-
}
|
|
2786
|
-
interface MsidAndBookingId {
|
|
2787
|
-
msid?: string;
|
|
2788
|
-
bookingId?: string;
|
|
2704
|
+
* ID of the booking to set `submissionId` for.
|
|
2705
|
+
* @format GUID
|
|
2706
|
+
*/
|
|
2707
|
+
bookingId: string;
|
|
2708
|
+
/**
|
|
2709
|
+
* ID of the form submission to set on the booking.
|
|
2710
|
+
* @format GUID
|
|
2711
|
+
*/
|
|
2712
|
+
submissionId: string;
|
|
2789
2713
|
}
|
|
2790
|
-
interface
|
|
2791
|
-
|
|
2714
|
+
interface SetBookingSubmissionIdResponse {
|
|
2715
|
+
/** Updated booking. */
|
|
2716
|
+
booking?: Booking;
|
|
2792
2717
|
}
|
|
2793
|
-
interface
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2718
|
+
interface UpdateExtendedFieldsRequest {
|
|
2719
|
+
/** ID of the entity to update. */
|
|
2720
|
+
id: string;
|
|
2721
|
+
/** Identifier for the app whose extended fields are being updated. */
|
|
2722
|
+
namespace: string;
|
|
2723
|
+
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
2724
|
+
namespaceData: Record<string, any> | null;
|
|
2799
2725
|
}
|
|
2800
|
-
interface
|
|
2726
|
+
interface UpdateExtendedFieldsResponse {
|
|
2801
2727
|
/**
|
|
2802
|
-
*
|
|
2803
|
-
*
|
|
2804
|
-
* "fieldName1": "value1",
|
|
2805
|
-
* "fieldName2":{"$operator":"value2"}
|
|
2806
|
-
* }`
|
|
2807
|
-
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
2728
|
+
* Updated namespace.
|
|
2729
|
+
* @maxLength 164
|
|
2808
2730
|
*/
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
/** Number of bookings matching the specified filter. */
|
|
2813
|
-
count?: number;
|
|
2731
|
+
namespace?: string;
|
|
2732
|
+
/** Updated data. */
|
|
2733
|
+
namespaceData?: Record<string, any> | null;
|
|
2814
2734
|
}
|
|
2815
|
-
interface
|
|
2735
|
+
interface DeclineBookingRequest {
|
|
2816
2736
|
/**
|
|
2817
|
-
*
|
|
2818
|
-
*
|
|
2819
|
-
* Each single-service booking specification must include `slot` details (`scheduleId`, `startDate`, and `endDate`).
|
|
2820
|
-
* Specify contact details, number of participants, and any additional fields as needed.
|
|
2821
|
-
*
|
|
2822
|
-
* For sequential bookings, ensure the timing allows services to be scheduled back-to-back.
|
|
2823
|
-
* @minSize 2
|
|
2824
|
-
* @maxSize 8
|
|
2737
|
+
* ID of the booking to decline.
|
|
2738
|
+
* @format GUID
|
|
2825
2739
|
*/
|
|
2826
|
-
|
|
2827
|
-
/** Information about whether to notify the customer and the message to send. */
|
|
2828
|
-
participantNotification?: ParticipantNotification;
|
|
2740
|
+
bookingId: string;
|
|
2829
2741
|
/**
|
|
2830
|
-
*
|
|
2831
|
-
* Wix Bookings takes the phone number from `contactDetails.phone`.
|
|
2742
|
+
* Revision number, which increments by 1 each time the booking is updated.
|
|
2832
2743
|
*
|
|
2833
|
-
*
|
|
2744
|
+
* To prevent conflicting changes, the current revision must be specified when
|
|
2745
|
+
* declining the booking.
|
|
2746
|
+
* @min 1
|
|
2834
2747
|
*/
|
|
2835
|
-
|
|
2748
|
+
revision: string | null;
|
|
2836
2749
|
/**
|
|
2837
|
-
*
|
|
2838
|
-
*
|
|
2750
|
+
* Information about whether to notify the customer and
|
|
2751
|
+
* the message to send.
|
|
2839
2752
|
*/
|
|
2840
|
-
|
|
2841
|
-
/**
|
|
2842
|
-
|
|
2753
|
+
participantNotification?: ParticipantNotification;
|
|
2754
|
+
/** Payment status to set for the booking. */
|
|
2755
|
+
paymentStatus?: PaymentStatusWithLiterals;
|
|
2756
|
+
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
2757
|
+
doubleBooked?: boolean | null;
|
|
2843
2758
|
/**
|
|
2844
|
-
*
|
|
2845
|
-
*
|
|
2846
|
-
* Currently only `SEQUENTIAL_BOOKINGS` is supported.
|
|
2759
|
+
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
2760
|
+
* For example, whether to refund a declined booking.
|
|
2847
2761
|
*/
|
|
2848
|
-
|
|
2762
|
+
flowControlSettings?: DeclineBookingFlowControlSettings;
|
|
2849
2763
|
}
|
|
2850
|
-
interface
|
|
2851
|
-
/**
|
|
2852
|
-
|
|
2853
|
-
* Contains the single-service bookings in the same order as specified in the request.
|
|
2854
|
-
*/
|
|
2855
|
-
multiServiceBooking?: MultiServiceBooking;
|
|
2764
|
+
interface DeclineBookingResponse {
|
|
2765
|
+
/** Declined booking. */
|
|
2766
|
+
booking?: Booking;
|
|
2856
2767
|
}
|
|
2857
|
-
|
|
2858
|
-
* A multi-service booking combines multiple single-service bookings into a package.
|
|
2859
|
-
*
|
|
2860
|
-
* Currently, multi-service bookings support only sequential scheduling where services are scheduled back-to-back at the same location, with each single-service booking starting when the previous 1 ends.
|
|
2861
|
-
*/
|
|
2862
|
-
interface MultiServiceBooking {
|
|
2768
|
+
interface CancelBookingRequest {
|
|
2863
2769
|
/**
|
|
2864
|
-
*
|
|
2770
|
+
* ID of the booking to cancel.
|
|
2865
2771
|
* @format GUID
|
|
2866
2772
|
*/
|
|
2867
|
-
|
|
2868
|
-
/** The single-service bookings that make up the multi-service booking package. */
|
|
2869
|
-
bookings?: BookingResult[];
|
|
2870
|
-
}
|
|
2871
|
-
interface BookingResult {
|
|
2773
|
+
bookingId: string;
|
|
2872
2774
|
/**
|
|
2873
|
-
*
|
|
2874
|
-
*
|
|
2775
|
+
* Information about whether to notify the customer about the cancellation and
|
|
2776
|
+
* the message to send.
|
|
2875
2777
|
*/
|
|
2876
|
-
|
|
2877
|
-
/** Booking entity. */
|
|
2878
|
-
booking?: Booking;
|
|
2879
|
-
}
|
|
2880
|
-
interface RescheduleMultiServiceBookingRequest {
|
|
2778
|
+
participantNotification?: ParticipantNotification;
|
|
2881
2779
|
/**
|
|
2882
|
-
*
|
|
2883
|
-
*
|
|
2780
|
+
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
2781
|
+
* For example, whether to allow a cancellation even though the service's
|
|
2782
|
+
* policy doesn't allow it.
|
|
2884
2783
|
*/
|
|
2885
|
-
|
|
2886
|
-
/** Information about the single-service bookings to reschedule. */
|
|
2887
|
-
rescheduleBookingsInfo: RescheduleBookingInfo[];
|
|
2888
|
-
/** Information about whether to notify the customer and the message to send. */
|
|
2889
|
-
participantNotification?: ParticipantNotification;
|
|
2784
|
+
flowControlSettings?: CancelBookingFlowControlSettings;
|
|
2890
2785
|
/**
|
|
2891
|
-
*
|
|
2892
|
-
*
|
|
2786
|
+
* Revision number, which increments by 1 each time the booking is updated.
|
|
2787
|
+
*
|
|
2788
|
+
* To prevent conflicting changes, the current revision must be specified when
|
|
2789
|
+
* managing the booking.
|
|
2893
2790
|
*/
|
|
2894
|
-
|
|
2895
|
-
/** Whether to return the rescheduled bookings entities. */
|
|
2896
|
-
returnFullEntity?: boolean;
|
|
2791
|
+
revision: string | null;
|
|
2897
2792
|
}
|
|
2898
|
-
interface
|
|
2793
|
+
interface CancelBookingResponse {
|
|
2794
|
+
/** Canceled booking. */
|
|
2795
|
+
booking?: Booking;
|
|
2796
|
+
}
|
|
2797
|
+
interface UpdateNumberOfParticipantsRequest extends UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
2899
2798
|
/**
|
|
2900
|
-
* Total number of participants.
|
|
2901
|
-
*
|
|
2799
|
+
* Total number of participants. Specify when all participants have booked the
|
|
2800
|
+
* same service variant.
|
|
2902
2801
|
*/
|
|
2903
2802
|
totalParticipants?: number;
|
|
2904
2803
|
/**
|
|
2905
|
-
* Information about the service choices
|
|
2906
|
-
*
|
|
2804
|
+
* Information about the service choices the participants have booked. Specify
|
|
2805
|
+
* when not all participants have booked the same service variant.
|
|
2907
2806
|
*/
|
|
2908
2807
|
participantsChoices?: ParticipantChoices;
|
|
2909
2808
|
/**
|
|
2910
|
-
* ID of the booking to
|
|
2809
|
+
* ID of the booking to update the number of participants for.
|
|
2911
2810
|
* @format GUID
|
|
2912
2811
|
*/
|
|
2913
|
-
bookingId
|
|
2914
|
-
/** Information about the new slot. */
|
|
2915
|
-
slot?: V2Slot;
|
|
2812
|
+
bookingId: string;
|
|
2916
2813
|
/**
|
|
2917
2814
|
* Revision number, which increments by 1 each time the booking is updated.
|
|
2918
|
-
*
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
/**
|
|
2922
|
-
* List of [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) associated with the booking.
|
|
2923
|
-
* You can only specify add-ons if both of these conditions are met:
|
|
2924
|
-
* - The booking must have been created with `flowControlSettings.allowAddOnChanges` set to `true`.
|
|
2925
|
-
* - You must have `BOOKINGS.MANAGE_ADDONS` permissions and specify `flowControlSettings.allowAddOnChanges` as `true`.
|
|
2926
|
-
* @maxSize 21
|
|
2815
|
+
*
|
|
2816
|
+
* To prevent conflicting changes, the current revision must be specified
|
|
2817
|
+
* when updating the booking.
|
|
2927
2818
|
*/
|
|
2928
|
-
|
|
2819
|
+
revision: string | null;
|
|
2929
2820
|
}
|
|
2930
2821
|
/** @oneof */
|
|
2931
|
-
interface
|
|
2822
|
+
interface UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
2932
2823
|
/**
|
|
2933
|
-
* Total number of participants.
|
|
2934
|
-
*
|
|
2824
|
+
* Total number of participants. Specify when all participants have booked the
|
|
2825
|
+
* same service variant.
|
|
2935
2826
|
*/
|
|
2936
2827
|
totalParticipants?: number;
|
|
2937
2828
|
/**
|
|
2938
|
-
* Information about the service choices
|
|
2939
|
-
*
|
|
2829
|
+
* Information about the service choices the participants have booked. Specify
|
|
2830
|
+
* when not all participants have booked the same service variant.
|
|
2940
2831
|
*/
|
|
2941
2832
|
participantsChoices?: ParticipantChoices;
|
|
2942
2833
|
}
|
|
2943
|
-
interface
|
|
2944
|
-
/**
|
|
2945
|
-
|
|
2834
|
+
interface UpdateNumberOfParticipantsResponse {
|
|
2835
|
+
/** Updated booking. */
|
|
2836
|
+
booking?: Booking;
|
|
2946
2837
|
}
|
|
2947
|
-
interface
|
|
2838
|
+
interface NumberOfParticipantsUpdated extends NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf {
|
|
2948
2839
|
/**
|
|
2949
|
-
*
|
|
2950
|
-
*
|
|
2840
|
+
* The previous total number of participants. Available only when the booking includes
|
|
2841
|
+
* a single service variant.
|
|
2951
2842
|
*/
|
|
2952
|
-
|
|
2843
|
+
previousTotalParticipants?: number;
|
|
2844
|
+
/**
|
|
2845
|
+
* Information about the previous booked service choices and participants.
|
|
2846
|
+
* Available only when the booking includes multiple service variants.
|
|
2847
|
+
*/
|
|
2848
|
+
previousParticipantsChoices?: ParticipantChoices;
|
|
2849
|
+
/** The updated booking object. */
|
|
2850
|
+
booking?: Booking;
|
|
2851
|
+
/** ID of the participant number update initiator. */
|
|
2852
|
+
initiatedBy?: IdentificationData;
|
|
2953
2853
|
}
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
/**
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2854
|
+
/** @oneof */
|
|
2855
|
+
interface NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf {
|
|
2856
|
+
/**
|
|
2857
|
+
* The previous total number of participants. Available only when the booking includes
|
|
2858
|
+
* a single service variant.
|
|
2859
|
+
*/
|
|
2860
|
+
previousTotalParticipants?: number;
|
|
2861
|
+
/**
|
|
2862
|
+
* Information about the previous booked service choices and participants.
|
|
2863
|
+
* Available only when the booking includes multiple service variants.
|
|
2864
|
+
*/
|
|
2865
|
+
previousParticipantsChoices?: ParticipantChoices;
|
|
2866
|
+
}
|
|
2867
|
+
interface BulkCalculateAllowedActionsRequest {
|
|
2868
|
+
/**
|
|
2869
|
+
* The booking IDs for which we want to calculate the allowed actions.
|
|
2870
|
+
* @minSize 1
|
|
2871
|
+
*/
|
|
2872
|
+
bookingIds?: string[] | null;
|
|
2873
|
+
}
|
|
2874
|
+
interface BulkCalculateAllowedActionsResponse {
|
|
2875
|
+
results?: BulkCalculateAllowedActionsResult[];
|
|
2876
|
+
/** Total number of successes and failures for Bulk Calculate Allowed Actions. */
|
|
2877
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
2878
|
+
}
|
|
2879
|
+
interface GetSlotAvailabilityRequest {
|
|
2880
|
+
/** The slot for which the availability is checked. */
|
|
2881
|
+
slot?: V2Slot;
|
|
2882
|
+
/** The timezone for which availability is to be calculated. */
|
|
2883
|
+
timezone?: string | null;
|
|
2884
|
+
}
|
|
2885
|
+
interface GetSlotAvailabilityResponse {
|
|
2886
|
+
availability?: SlotAvailability;
|
|
2887
|
+
bookingPolicySettings?: BookingPolicySettings;
|
|
2967
2888
|
}
|
|
2968
|
-
interface
|
|
2889
|
+
interface SlotAvailability {
|
|
2890
|
+
/** Identifier for the underlying session when the session is a single session or generated from a recurring session. Required. */
|
|
2891
|
+
slot?: V2Slot;
|
|
2892
|
+
/** Whether this available slot is bookable. */
|
|
2893
|
+
bookable?: boolean;
|
|
2969
2894
|
/**
|
|
2970
|
-
*
|
|
2971
|
-
*
|
|
2895
|
+
* Total number of spots for this availability.
|
|
2896
|
+
* For example, for a class of 10 spots with 3 spots booked, `totalSpots` is 10 and `openSpots` is 7.
|
|
2972
2897
|
*/
|
|
2973
|
-
|
|
2974
|
-
}
|
|
2975
|
-
interface CancelMultiServiceBookingRequest {
|
|
2898
|
+
totalSpots?: number | null;
|
|
2976
2899
|
/**
|
|
2977
|
-
*
|
|
2978
|
-
*
|
|
2900
|
+
* Number of open spots for this availability.
|
|
2901
|
+
* For appointments, if there are existing bookings with overlapping time, service & resource, `openSpots` is 0. Otherwise, `openSpots` is 1.
|
|
2979
2902
|
*/
|
|
2980
|
-
|
|
2981
|
-
/**
|
|
2982
|
-
|
|
2903
|
+
openSpots?: number | null;
|
|
2904
|
+
/** An object describing the slot's waiting list and its occupancy. */
|
|
2905
|
+
waitingList?: WaitingList;
|
|
2906
|
+
/** Indicators for booking policy violations for the slot. */
|
|
2907
|
+
bookingPolicyViolations?: BookingPolicyViolations;
|
|
2908
|
+
/** Indicates whether this slot is locked. */
|
|
2909
|
+
locked?: boolean | null;
|
|
2910
|
+
}
|
|
2911
|
+
interface WaitingList {
|
|
2983
2912
|
/**
|
|
2984
|
-
*
|
|
2985
|
-
* For example,
|
|
2913
|
+
* Total number of spots and open spots for this waiting list.
|
|
2914
|
+
* For example, a Yoga class of 10 waiting list spots with 3 registered on the waiting list has `total_spots`: 10 and `open_spots`: 7.
|
|
2986
2915
|
*/
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
returnFullEntity?: boolean;
|
|
2990
|
-
}
|
|
2991
|
-
interface CancelMultiServiceBookingResponse {
|
|
2992
|
-
/** Canceled multi-service booking. */
|
|
2993
|
-
multiServiceBooking?: MultiServiceBooking;
|
|
2916
|
+
totalSpots?: number | null;
|
|
2917
|
+
openSpots?: number | null;
|
|
2994
2918
|
}
|
|
2995
|
-
interface
|
|
2919
|
+
interface AvailableResources {
|
|
2996
2920
|
/**
|
|
2997
|
-
*
|
|
2921
|
+
* Resource type ID.
|
|
2998
2922
|
* @format GUID
|
|
2999
2923
|
*/
|
|
3000
|
-
|
|
3001
|
-
/** Information about the single-service bookings to mark as `PENDING`. */
|
|
3002
|
-
markAsPendingBookingsInfo?: BookingInfo[];
|
|
3003
|
-
/** Information about whether to notify the customer and the message to send. */
|
|
3004
|
-
participantNotification?: ParticipantNotification;
|
|
3005
|
-
/**
|
|
3006
|
-
* Whether to send an SMS reminder to the customer 24 hours before the session starts.
|
|
3007
|
-
* Wix Bookings takes the phone number from `contactDetails.phone`.
|
|
3008
|
-
*
|
|
3009
|
-
* Default: `true`
|
|
3010
|
-
*/
|
|
3011
|
-
sendSmsReminder?: boolean | null;
|
|
3012
|
-
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
3013
|
-
doubleBooked?: boolean | null;
|
|
2924
|
+
resourceTypeId?: string | null;
|
|
3014
2925
|
/**
|
|
3015
|
-
*
|
|
3016
|
-
*
|
|
3017
|
-
*
|
|
2926
|
+
* Available resources for the slot.
|
|
2927
|
+
* `maxSize` is defined by 135 staff members + 3 resource types and 50 resources per type.
|
|
2928
|
+
* `Availability-2` currently has no `maxSize` defined.
|
|
2929
|
+
* @format GUID
|
|
2930
|
+
* @maxSize 275
|
|
3018
2931
|
*/
|
|
3019
|
-
|
|
2932
|
+
resourceIds?: string[];
|
|
2933
|
+
}
|
|
2934
|
+
interface GetScheduleAvailabilityRequest {
|
|
3020
2935
|
/**
|
|
3021
|
-
*
|
|
3022
|
-
*
|
|
2936
|
+
* ID of the schedule for which to check availability.
|
|
2937
|
+
* @format GUID
|
|
3023
2938
|
*/
|
|
3024
|
-
|
|
2939
|
+
scheduleId?: string;
|
|
3025
2940
|
}
|
|
3026
|
-
interface
|
|
2941
|
+
interface GetScheduleAvailabilityResponse {
|
|
2942
|
+
availability?: ScheduleAvailability;
|
|
2943
|
+
bookingPolicySettings?: BookingPolicySettings;
|
|
2944
|
+
}
|
|
2945
|
+
interface ScheduleAvailability {
|
|
2946
|
+
/** Total number of spots. */
|
|
2947
|
+
totalSpots?: number | null;
|
|
2948
|
+
/** Number of remaining open spots. */
|
|
2949
|
+
openSpots?: number | null;
|
|
2950
|
+
/** Indicators of booking policy violations for the specified schedule. */
|
|
2951
|
+
bookingPolicyViolations?: BookingPolicyViolations;
|
|
2952
|
+
}
|
|
2953
|
+
interface MarkBookingAsPendingRequest {
|
|
3027
2954
|
/**
|
|
3028
|
-
* ID of the
|
|
2955
|
+
* ID of the booking to mark as `PENDING`.
|
|
3029
2956
|
* @format GUID
|
|
3030
2957
|
*/
|
|
3031
|
-
bookingId
|
|
2958
|
+
bookingId: string;
|
|
3032
2959
|
/**
|
|
3033
2960
|
* Revision number, which increments by 1 each time the booking is updated.
|
|
3034
|
-
*
|
|
2961
|
+
*
|
|
2962
|
+
* To prevent conflicting changes, the current revision must be specified when
|
|
2963
|
+
* managing the booking.
|
|
3035
2964
|
*/
|
|
3036
|
-
revision
|
|
3037
|
-
/** Payment status to set for the single-service booking. */
|
|
3038
|
-
paymentStatus?: PaymentStatusWithLiterals;
|
|
3039
|
-
}
|
|
3040
|
-
interface MarkMultiServiceBookingAsPendingResponse {
|
|
3041
|
-
/** Updated multi-service booking. */
|
|
3042
|
-
multiServiceBooking?: MultiServiceBooking;
|
|
3043
|
-
}
|
|
3044
|
-
interface ConfirmMultiServiceBookingRequest {
|
|
2965
|
+
revision: string | null;
|
|
3045
2966
|
/**
|
|
3046
|
-
*
|
|
3047
|
-
*
|
|
2967
|
+
* Information about whether to notify the customer and
|
|
2968
|
+
* the message to send.
|
|
3048
2969
|
*/
|
|
3049
|
-
multiServiceBookingId: string | null;
|
|
3050
|
-
/** Information about the single-service bookings to confirm. */
|
|
3051
|
-
confirmBookingsInfo?: BookingInfo[];
|
|
3052
|
-
/** Information about whether to notify the customer and the message to send. */
|
|
3053
2970
|
participantNotification?: ParticipantNotification;
|
|
3054
2971
|
/**
|
|
3055
|
-
* Whether to send an SMS reminder to the customer 24 hours before the
|
|
3056
|
-
*
|
|
3057
|
-
*
|
|
3058
|
-
* Default: `true`
|
|
2972
|
+
* Whether to send an SMS reminder to the customer 24 hours before the
|
|
2973
|
+
* session starts. The phone number is taken from `contactDetails.phone`.
|
|
3059
2974
|
*/
|
|
3060
2975
|
sendSmsReminder?: boolean | null;
|
|
2976
|
+
/** Payment status to set for the booking. */
|
|
2977
|
+
paymentStatus?: PaymentStatusWithLiterals;
|
|
3061
2978
|
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
3062
2979
|
doubleBooked?: boolean | null;
|
|
3063
|
-
/** Whether to return the confirmed single-service bookings. */
|
|
3064
|
-
returnFullEntity?: boolean;
|
|
3065
2980
|
/**
|
|
3066
|
-
*
|
|
3067
|
-
* For example, whether
|
|
2981
|
+
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
2982
|
+
* For example, whether to check availability before updating the status.
|
|
3068
2983
|
*/
|
|
3069
|
-
flowControlSettings?:
|
|
2984
|
+
flowControlSettings?: MarkBookingAsPendingFlowControlSettings;
|
|
3070
2985
|
}
|
|
3071
|
-
interface
|
|
3072
|
-
/**
|
|
3073
|
-
|
|
2986
|
+
interface MarkBookingAsPendingResponse {
|
|
2987
|
+
/** Updated booking. */
|
|
2988
|
+
booking?: Booking;
|
|
3074
2989
|
}
|
|
3075
|
-
interface
|
|
3076
|
-
/**
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
*/
|
|
3080
|
-
multiServiceBookingId: string | null;
|
|
3081
|
-
/** Information about the single-service bookings to decline. */
|
|
3082
|
-
declineBookingsInfo?: BookingInfo[];
|
|
3083
|
-
/** Information about whether to notify the customer and the message to send. */
|
|
2990
|
+
interface BookingMarkedAsPending {
|
|
2991
|
+
/** The booking object that was marked as pending. */
|
|
2992
|
+
booking?: Booking;
|
|
2993
|
+
/** Information about whether to notify the customer upon manual confirmation of the pending booking and the message to send. */
|
|
3084
2994
|
participantNotification?: ParticipantNotification;
|
|
3085
|
-
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
3086
|
-
doubleBooked?: boolean | null;
|
|
3087
|
-
/** Whether to return the declined single-service bookings. */
|
|
3088
|
-
returnFullEntity?: boolean;
|
|
3089
2995
|
/**
|
|
3090
|
-
*
|
|
3091
|
-
*
|
|
2996
|
+
* Whether to send an SMS reminder to the customer 24 hours before the session starts.
|
|
2997
|
+
* The phone number is taken from `contactDetails.phone`.
|
|
3092
2998
|
*/
|
|
3093
|
-
|
|
2999
|
+
sendSmsReminder?: boolean | null;
|
|
3000
|
+
/** Whether this booking overlaps with another existing confirmed booking. */
|
|
3001
|
+
doubleBooked?: boolean | null;
|
|
3002
|
+
/** ID of the mark as pending initiator. */
|
|
3003
|
+
initiatedBy?: IdentificationData;
|
|
3004
|
+
/** The previous status of the booking. */
|
|
3005
|
+
previousStatus?: BookingStatusWithLiterals;
|
|
3006
|
+
/** The previous payment status of the booking. */
|
|
3007
|
+
previousPaymentStatus?: PaymentStatusWithLiterals;
|
|
3094
3008
|
}
|
|
3095
|
-
interface
|
|
3096
|
-
|
|
3097
|
-
multiServiceBooking?: MultiServiceBooking;
|
|
3009
|
+
interface MigrationCheckIfClashesWithBlockedTimeRequest {
|
|
3010
|
+
msidAndBookingIds?: MsidAndBookingId[];
|
|
3098
3011
|
}
|
|
3099
|
-
interface
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
* @format GUID
|
|
3103
|
-
* @minSize 1
|
|
3104
|
-
* @maxSize 50
|
|
3105
|
-
*/
|
|
3106
|
-
multiServiceBookingIds: string[] | null;
|
|
3012
|
+
interface MsidAndBookingId {
|
|
3013
|
+
msid?: string;
|
|
3014
|
+
bookingId?: string;
|
|
3107
3015
|
}
|
|
3108
|
-
interface
|
|
3109
|
-
|
|
3110
|
-
* Information about the multi-service bookings that were retrieved.
|
|
3111
|
-
* Includes their ID, index in the bulk request and whether they were successfully processed.
|
|
3112
|
-
*/
|
|
3113
|
-
results?: BulkCalculateAllowedActionsResult[];
|
|
3114
|
-
/** Total number of successes and failures for Bulk Get Multi Service Booking Allowed Actions. */
|
|
3115
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
3016
|
+
interface MigrationCheckIfClashesWithBlockedTimeResponse {
|
|
3017
|
+
clashes?: Clash[];
|
|
3116
3018
|
}
|
|
3117
|
-
interface
|
|
3019
|
+
interface Clash {
|
|
3020
|
+
msid?: string;
|
|
3021
|
+
bookingId?: string;
|
|
3022
|
+
sessionId?: string;
|
|
3023
|
+
resourceName?: string;
|
|
3024
|
+
contactName?: string;
|
|
3025
|
+
}
|
|
3026
|
+
interface CountBookingsRequest {
|
|
3118
3027
|
/**
|
|
3119
|
-
*
|
|
3120
|
-
*
|
|
3028
|
+
* Filter object in the following format:
|
|
3029
|
+
* `"filter" : {
|
|
3030
|
+
* "fieldName1": "value1",
|
|
3031
|
+
* "fieldName2":{"$operator":"value2"}
|
|
3032
|
+
* }`
|
|
3033
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
3121
3034
|
*/
|
|
3122
|
-
|
|
3035
|
+
filter?: Record<string, any> | null;
|
|
3123
3036
|
}
|
|
3124
|
-
interface
|
|
3125
|
-
/**
|
|
3126
|
-
|
|
3127
|
-
/** Details about how many single-service bookings belong to the multi-service booking. */
|
|
3128
|
-
metadata?: MultiServiceBookingMetadata;
|
|
3037
|
+
interface CountBookingsResponse {
|
|
3038
|
+
/** Number of bookings matching the specified filter. */
|
|
3039
|
+
count?: number;
|
|
3129
3040
|
}
|
|
3130
|
-
|
|
3041
|
+
/** Request for GetAnonymousActionDetails */
|
|
3042
|
+
interface GetAnonymousActionDetailsRequest {
|
|
3043
|
+
/** @format GUID */
|
|
3044
|
+
bookingId?: string | null;
|
|
3045
|
+
}
|
|
3046
|
+
/** Response for GetAnonymousActionDetails */
|
|
3047
|
+
interface GetAnonymousActionDetailsResponse {
|
|
3131
3048
|
/**
|
|
3132
|
-
*
|
|
3133
|
-
*
|
|
3049
|
+
* Token for anonymous access to manage the booking.
|
|
3050
|
+
* It represents a symmetrically encrypted and URL-safe string containing the booking ID.
|
|
3051
|
+
* This token is required for canceling or rescheduling the booking without authentication.
|
|
3052
|
+
* @minLength 32
|
|
3053
|
+
* @maxLength 2048
|
|
3134
3054
|
*/
|
|
3135
|
-
|
|
3055
|
+
token?: string | null;
|
|
3056
|
+
/** @format GUID */
|
|
3057
|
+
clientId?: string | null;
|
|
3058
|
+
anonymousBookingUrls?: AnonymousBookingUrls;
|
|
3136
3059
|
}
|
|
3137
|
-
interface
|
|
3060
|
+
interface AnonymousBookingUrls {
|
|
3138
3061
|
/**
|
|
3139
|
-
*
|
|
3140
|
-
* @
|
|
3062
|
+
* The base URL for the booking links
|
|
3063
|
+
* @maxLength 2048
|
|
3141
3064
|
*/
|
|
3142
|
-
|
|
3065
|
+
baseUrl?: string | null;
|
|
3143
3066
|
/**
|
|
3144
|
-
*
|
|
3145
|
-
* @
|
|
3067
|
+
* The cancellation URL for the booking, which contains an anonymous token and AOth clientId
|
|
3068
|
+
* @maxLength 2048
|
|
3146
3069
|
*/
|
|
3147
|
-
|
|
3070
|
+
anonymousCancellationUrl?: string | null;
|
|
3148
3071
|
/**
|
|
3149
|
-
*
|
|
3150
|
-
*
|
|
3151
|
-
* Default: `false`
|
|
3072
|
+
* The reschedule URL for the booking, which contains an anonymous token and AOth clientId
|
|
3073
|
+
* @maxLength 2048
|
|
3152
3074
|
*/
|
|
3153
|
-
|
|
3075
|
+
anonymousRescheduleUrl?: string | null;
|
|
3154
3076
|
}
|
|
3155
|
-
|
|
3077
|
+
/** Request for CancelBookingAnonymously */
|
|
3078
|
+
interface CancelBookingAnonymouslyRequest {
|
|
3156
3079
|
/**
|
|
3157
|
-
*
|
|
3158
|
-
* @
|
|
3080
|
+
* The token provided in the booking links for anonymous access
|
|
3081
|
+
* @maxLength 2048
|
|
3159
3082
|
*/
|
|
3160
|
-
|
|
3083
|
+
token: string | null;
|
|
3161
3084
|
/**
|
|
3162
3085
|
* Revision number, which increments by 1 each time the booking is updated.
|
|
3163
|
-
* To prevent conflicting changes, the current revision must be specified when
|
|
3086
|
+
* To prevent conflicting changes, the current revision must be specified when
|
|
3087
|
+
* managing the booking.
|
|
3164
3088
|
*/
|
|
3165
3089
|
revision?: string | null;
|
|
3166
3090
|
}
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3091
|
+
/** Response for CancelBookingAnonymously */
|
|
3092
|
+
interface CancelBookingAnonymouslyResponse {
|
|
3093
|
+
/** Canceled booking. */
|
|
3094
|
+
booking?: Booking;
|
|
3170
3095
|
}
|
|
3171
|
-
|
|
3096
|
+
/** Request for RescheduleBookingAnonymously */
|
|
3097
|
+
interface RescheduleBookingAnonymouslyRequest {
|
|
3172
3098
|
/**
|
|
3173
|
-
*
|
|
3174
|
-
* @
|
|
3099
|
+
* The token provided in the booking links for anonymous access
|
|
3100
|
+
* @maxLength 2048
|
|
3175
3101
|
*/
|
|
3176
|
-
|
|
3102
|
+
token: string | null;
|
|
3103
|
+
/** New slot of the booking. */
|
|
3104
|
+
slot: V2Slot;
|
|
3177
3105
|
/**
|
|
3178
|
-
*
|
|
3179
|
-
*
|
|
3106
|
+
* Revision number, which increments by 1 each time the booking is rescheduled.
|
|
3107
|
+
* To prevent conflicting changes, the current revision must be passed when
|
|
3108
|
+
* rescheduling the booking.
|
|
3180
3109
|
*/
|
|
3181
|
-
|
|
3110
|
+
revision: string | null;
|
|
3111
|
+
}
|
|
3112
|
+
/** Response for RescheduleBookingAnonymously */
|
|
3113
|
+
interface RescheduleBookingAnonymouslyResponse {
|
|
3114
|
+
/** Rescheduled booking. */
|
|
3115
|
+
booking?: Booking;
|
|
3116
|
+
}
|
|
3117
|
+
/** Request for GetBookingAnonymously */
|
|
3118
|
+
interface GetBookingAnonymouslyRequest {
|
|
3182
3119
|
/**
|
|
3183
|
-
*
|
|
3184
|
-
*
|
|
3185
|
-
* Default: `false`
|
|
3120
|
+
* The token provided in the booking links for anonymous access
|
|
3121
|
+
* @maxLength 2048
|
|
3186
3122
|
*/
|
|
3187
|
-
|
|
3123
|
+
token: string | null;
|
|
3188
3124
|
}
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3125
|
+
/** Response for GetBookingAnonymously */
|
|
3126
|
+
interface GetBookingAnonymouslyResponse {
|
|
3127
|
+
booking?: Booking;
|
|
3128
|
+
/** Allowed actions for the booking, such as canceling or rescheduling. */
|
|
3129
|
+
allowedActionsAnonymously?: AllowedActionsAnonymously;
|
|
3130
|
+
}
|
|
3131
|
+
/** Possible allowed actions for a Booking */
|
|
3132
|
+
interface AllowedActionsAnonymously {
|
|
3133
|
+
/** Whether the customer is allowed to cancel the booking. */
|
|
3134
|
+
cancel?: boolean;
|
|
3135
|
+
/** Whether the customer is allowed to reschedule the booking. */
|
|
3136
|
+
reschedule?: boolean;
|
|
3192
3137
|
}
|
|
3193
3138
|
/** @docsIgnore */
|
|
3194
3139
|
type ConfirmOrDeclineBookingApplicationErrors = {
|
|
@@ -3207,8 +3152,8 @@ type BulkConfirmOrDeclineBookingApplicationErrors = {
|
|
|
3207
3152
|
data?: Record<string, any>;
|
|
3208
3153
|
};
|
|
3209
3154
|
/** @docsIgnore */
|
|
3210
|
-
type
|
|
3211
|
-
code?: '
|
|
3155
|
+
type CreateMultiServiceBookingApplicationErrors = {
|
|
3156
|
+
code?: 'VALIDATION_FAILURE';
|
|
3212
3157
|
description?: string;
|
|
3213
3158
|
data?: Record<string, any>;
|
|
3214
3159
|
} | {
|
|
@@ -3216,201 +3161,195 @@ type CreateBookingApplicationErrors = {
|
|
|
3216
3161
|
description?: string;
|
|
3217
3162
|
data?: Record<string, any>;
|
|
3218
3163
|
} | {
|
|
3219
|
-
code?: '
|
|
3164
|
+
code?: 'RESOURCE_NOT_FOUND';
|
|
3220
3165
|
description?: string;
|
|
3221
3166
|
data?: Record<string, any>;
|
|
3222
3167
|
} | {
|
|
3223
|
-
code?: '
|
|
3168
|
+
code?: 'EMPTY_FORM_INFO';
|
|
3224
3169
|
description?: string;
|
|
3225
3170
|
data?: Record<string, any>;
|
|
3226
3171
|
} | {
|
|
3227
|
-
code?: '
|
|
3172
|
+
code?: 'FAILED_RESOLVING_CUSTOM_CHOICES';
|
|
3228
3173
|
description?: string;
|
|
3229
3174
|
data?: Record<string, any>;
|
|
3230
3175
|
} | {
|
|
3231
|
-
code?: '
|
|
3176
|
+
code?: 'INVALID_CHOICES';
|
|
3232
3177
|
description?: string;
|
|
3233
3178
|
data?: Record<string, any>;
|
|
3234
3179
|
} | {
|
|
3235
|
-
code?: '
|
|
3180
|
+
code?: 'SLOT_NOT_AVAILABLE';
|
|
3236
3181
|
description?: string;
|
|
3237
3182
|
data?: Record<string, any>;
|
|
3238
3183
|
} | {
|
|
3239
|
-
code?: '
|
|
3184
|
+
code?: 'UNAUTHORIZED_OPERATION';
|
|
3240
3185
|
description?: string;
|
|
3241
3186
|
data?: Record<string, any>;
|
|
3242
3187
|
} | {
|
|
3243
|
-
code?: '
|
|
3188
|
+
code?: 'CAN_NOT_SKIP_AVAILABILITY_VALIDATION_IF_RESOURCE_NOT_PROVIDED';
|
|
3244
3189
|
description?: string;
|
|
3245
3190
|
data?: Record<string, any>;
|
|
3246
|
-
}
|
|
3247
|
-
|
|
3191
|
+
};
|
|
3192
|
+
/** @docsIgnore */
|
|
3193
|
+
type RescheduleMultiServiceBookingApplicationErrors = {
|
|
3194
|
+
code?: 'MULTI_SERVICE_BOOKING_NOT_FOUND';
|
|
3248
3195
|
description?: string;
|
|
3249
3196
|
data?: Record<string, any>;
|
|
3250
3197
|
} | {
|
|
3251
|
-
code?: '
|
|
3198
|
+
code?: 'BOOKING_NOT_FOUND';
|
|
3252
3199
|
description?: string;
|
|
3253
3200
|
data?: Record<string, any>;
|
|
3254
3201
|
} | {
|
|
3255
|
-
code?: '
|
|
3202
|
+
code?: 'REVISION_MISSING';
|
|
3256
3203
|
description?: string;
|
|
3257
3204
|
data?: Record<string, any>;
|
|
3258
3205
|
} | {
|
|
3259
|
-
code?: '
|
|
3206
|
+
code?: 'NOT_ALL_BOOKINGS_WERE_SENT';
|
|
3260
3207
|
description?: string;
|
|
3261
3208
|
data?: Record<string, any>;
|
|
3262
3209
|
} | {
|
|
3263
|
-
code?: '
|
|
3210
|
+
code?: 'DUPLICATE_BOOKING_INFO';
|
|
3264
3211
|
description?: string;
|
|
3265
3212
|
data?: Record<string, any>;
|
|
3266
3213
|
} | {
|
|
3267
|
-
code?: '
|
|
3214
|
+
code?: 'SOME_BOOKINGS_UPDATES_FAILED';
|
|
3268
3215
|
description?: string;
|
|
3269
3216
|
data?: Record<string, any>;
|
|
3270
3217
|
} | {
|
|
3271
|
-
code?: '
|
|
3218
|
+
code?: 'BOOKING_REVISION_MISMATCH';
|
|
3272
3219
|
description?: string;
|
|
3273
3220
|
data?: Record<string, any>;
|
|
3274
3221
|
} | {
|
|
3275
|
-
code?: '
|
|
3222
|
+
code?: 'NO_OPEN_SPOTS';
|
|
3276
3223
|
description?: string;
|
|
3277
3224
|
data?: Record<string, any>;
|
|
3278
3225
|
} | {
|
|
3279
|
-
code?: '
|
|
3226
|
+
code?: 'MULTI_SERVICE_BOOKING_INCLUDES_MULTIPLE_STAFF_MEMBERS';
|
|
3280
3227
|
description?: string;
|
|
3281
3228
|
data?: Record<string, any>;
|
|
3282
3229
|
};
|
|
3283
3230
|
/** @docsIgnore */
|
|
3284
|
-
type
|
|
3285
|
-
code?: '
|
|
3286
|
-
description?: string;
|
|
3287
|
-
data?: Record<string, any>;
|
|
3288
|
-
} | {
|
|
3289
|
-
code?: 'SCHEDULE_NOT_FOUND';
|
|
3290
|
-
description?: string;
|
|
3291
|
-
data?: Record<string, any>;
|
|
3292
|
-
} | {
|
|
3293
|
-
code?: 'RESOURCE_NOT_FOUND';
|
|
3294
|
-
description?: string;
|
|
3295
|
-
data?: Record<string, any>;
|
|
3296
|
-
} | {
|
|
3297
|
-
code?: 'FAILED_RESOLVING_CUSTOM_CHOICES';
|
|
3231
|
+
type GetMultiServiceBookingAvailabilityApplicationErrors = {
|
|
3232
|
+
code?: 'MULTI_SERVICE_BOOKING_NOT_FOUND';
|
|
3298
3233
|
description?: string;
|
|
3299
3234
|
data?: Record<string, any>;
|
|
3300
|
-
}
|
|
3301
|
-
|
|
3235
|
+
};
|
|
3236
|
+
/** @docsIgnore */
|
|
3237
|
+
type CancelMultiServiceBookingApplicationErrors = {
|
|
3238
|
+
code?: 'MULTI_SERVICE_BOOKING_NOT_FOUND';
|
|
3302
3239
|
description?: string;
|
|
3303
3240
|
data?: Record<string, any>;
|
|
3304
3241
|
} | {
|
|
3305
|
-
code?: '
|
|
3242
|
+
code?: 'ALL_BOOKINGS_ARE_ALREADY_DECLINED';
|
|
3306
3243
|
description?: string;
|
|
3307
3244
|
data?: Record<string, any>;
|
|
3308
3245
|
} | {
|
|
3309
|
-
code?: '
|
|
3246
|
+
code?: 'ALL_BOOKINGS_ARE_ALREADY_CANCELED';
|
|
3310
3247
|
description?: string;
|
|
3311
3248
|
data?: Record<string, any>;
|
|
3312
3249
|
} | {
|
|
3313
|
-
code?: '
|
|
3250
|
+
code?: 'MULTI_SERVICE_BOOKING_INCLUDES_MULTIPLE_STAFF_MEMBERS';
|
|
3314
3251
|
description?: string;
|
|
3315
3252
|
data?: Record<string, any>;
|
|
3316
|
-
}
|
|
3317
|
-
|
|
3253
|
+
};
|
|
3254
|
+
/** @docsIgnore */
|
|
3255
|
+
type MarkMultiServiceBookingAsPendingApplicationErrors = {
|
|
3256
|
+
code?: 'MULTI_SERVICE_BOOKING_NOT_FOUND';
|
|
3318
3257
|
description?: string;
|
|
3319
3258
|
data?: Record<string, any>;
|
|
3320
3259
|
} | {
|
|
3321
|
-
code?: 'CAN_NOT_SKIP_AVAILABILITY_VALIDATION_IF_RESOURCE_NOT_PROVIDED';
|
|
3322
|
-
description?: string;
|
|
3323
|
-
data?: Record<string, any>;
|
|
3324
|
-
};
|
|
3325
|
-
/** @docsIgnore */
|
|
3326
|
-
type RescheduleBookingApplicationErrors = {
|
|
3327
3260
|
code?: 'BOOKING_NOT_FOUND';
|
|
3328
3261
|
description?: string;
|
|
3329
3262
|
data?: Record<string, any>;
|
|
3330
3263
|
} | {
|
|
3331
|
-
code?: '
|
|
3264
|
+
code?: 'REVISION_MISSING';
|
|
3332
3265
|
description?: string;
|
|
3333
3266
|
data?: Record<string, any>;
|
|
3334
3267
|
} | {
|
|
3335
|
-
code?: '
|
|
3268
|
+
code?: 'NOT_ALL_BOOKINGS_WERE_SENT';
|
|
3336
3269
|
description?: string;
|
|
3337
3270
|
data?: Record<string, any>;
|
|
3338
3271
|
} | {
|
|
3339
|
-
code?: '
|
|
3272
|
+
code?: 'DUPLICATE_BOOKING_INFO';
|
|
3340
3273
|
description?: string;
|
|
3341
3274
|
data?: Record<string, any>;
|
|
3342
3275
|
} | {
|
|
3343
|
-
code?: '
|
|
3276
|
+
code?: 'SOME_BOOKINGS_UPDATES_FAILED';
|
|
3344
3277
|
description?: string;
|
|
3345
3278
|
data?: Record<string, any>;
|
|
3346
3279
|
} | {
|
|
3347
|
-
code?: '
|
|
3280
|
+
code?: 'BOOKING_REVISION_MISMATCH';
|
|
3348
3281
|
description?: string;
|
|
3349
3282
|
data?: Record<string, any>;
|
|
3350
3283
|
} | {
|
|
3351
|
-
code?: '
|
|
3284
|
+
code?: 'NO_OPEN_SPOTS';
|
|
3352
3285
|
description?: string;
|
|
3353
3286
|
data?: Record<string, any>;
|
|
3354
3287
|
} | {
|
|
3355
|
-
code?: '
|
|
3288
|
+
code?: 'MULTI_SERVICE_BOOKING_INCLUDES_MULTIPLE_STAFF_MEMBERS';
|
|
3356
3289
|
description?: string;
|
|
3357
3290
|
data?: Record<string, any>;
|
|
3358
|
-
}
|
|
3359
|
-
|
|
3291
|
+
};
|
|
3292
|
+
/** @docsIgnore */
|
|
3293
|
+
type ConfirmMultiServiceBookingApplicationErrors = {
|
|
3294
|
+
code?: 'MULTI_SERVICE_BOOKING_NOT_FOUND';
|
|
3360
3295
|
description?: string;
|
|
3361
3296
|
data?: Record<string, any>;
|
|
3362
3297
|
} | {
|
|
3363
|
-
code?: '
|
|
3298
|
+
code?: 'BOOKING_NOT_FOUND';
|
|
3364
3299
|
description?: string;
|
|
3365
3300
|
data?: Record<string, any>;
|
|
3366
3301
|
} | {
|
|
3367
|
-
code?: '
|
|
3302
|
+
code?: 'REVISION_MISSING';
|
|
3368
3303
|
description?: string;
|
|
3369
3304
|
data?: Record<string, any>;
|
|
3370
3305
|
} | {
|
|
3371
|
-
code?: '
|
|
3306
|
+
code?: 'INVALID_BOOKING_STATUS';
|
|
3372
3307
|
description?: string;
|
|
3373
3308
|
data?: Record<string, any>;
|
|
3374
3309
|
} | {
|
|
3375
|
-
code?: '
|
|
3310
|
+
code?: 'ALL_BOOKINGS_ARE_ALREADY_CONFIRMED';
|
|
3376
3311
|
description?: string;
|
|
3377
3312
|
data?: Record<string, any>;
|
|
3378
3313
|
} | {
|
|
3379
|
-
code?: '
|
|
3314
|
+
code?: 'NOT_ALL_BOOKINGS_WERE_SENT';
|
|
3380
3315
|
description?: string;
|
|
3381
3316
|
data?: Record<string, any>;
|
|
3382
3317
|
} | {
|
|
3383
|
-
code?: '
|
|
3318
|
+
code?: 'DUPLICATE_BOOKING_INFO';
|
|
3384
3319
|
description?: string;
|
|
3385
3320
|
data?: Record<string, any>;
|
|
3386
3321
|
} | {
|
|
3387
|
-
code?: '
|
|
3322
|
+
code?: 'SOME_BOOKINGS_UPDATES_FAILED';
|
|
3388
3323
|
description?: string;
|
|
3389
3324
|
data?: Record<string, any>;
|
|
3390
3325
|
} | {
|
|
3391
|
-
code?: '
|
|
3326
|
+
code?: 'BOOKING_REVISION_MISMATCH';
|
|
3392
3327
|
description?: string;
|
|
3393
3328
|
data?: Record<string, any>;
|
|
3394
3329
|
} | {
|
|
3395
|
-
code?: '
|
|
3330
|
+
code?: 'NO_OPEN_SPOTS';
|
|
3396
3331
|
description?: string;
|
|
3397
3332
|
data?: Record<string, any>;
|
|
3398
3333
|
} | {
|
|
3399
|
-
code?: '
|
|
3334
|
+
code?: 'MULTI_SERVICE_BOOKING_INCLUDES_MULTIPLE_STAFF_MEMBERS';
|
|
3400
3335
|
description?: string;
|
|
3401
3336
|
data?: Record<string, any>;
|
|
3402
3337
|
} | {
|
|
3403
|
-
code?: '
|
|
3338
|
+
code?: 'NOT_ALL_BOOKINGS_HAVE_START_AND_END_DATE';
|
|
3404
3339
|
description?: string;
|
|
3405
3340
|
data?: Record<string, any>;
|
|
3406
3341
|
};
|
|
3407
3342
|
/** @docsIgnore */
|
|
3408
|
-
type
|
|
3343
|
+
type DeclineMultiServiceBookingApplicationErrors = {
|
|
3344
|
+
code?: 'MULTI_SERVICE_BOOKING_NOT_FOUND';
|
|
3345
|
+
description?: string;
|
|
3346
|
+
data?: Record<string, any>;
|
|
3347
|
+
} | {
|
|
3409
3348
|
code?: 'BOOKING_NOT_FOUND';
|
|
3410
3349
|
description?: string;
|
|
3411
3350
|
data?: Record<string, any>;
|
|
3412
3351
|
} | {
|
|
3413
|
-
code?: '
|
|
3352
|
+
code?: 'REVISION_MISSING';
|
|
3414
3353
|
description?: string;
|
|
3415
3354
|
data?: Record<string, any>;
|
|
3416
3355
|
} | {
|
|
@@ -3418,285 +3357,275 @@ type BookingsConfirmBookingApplicationErrors = {
|
|
|
3418
3357
|
description?: string;
|
|
3419
3358
|
data?: Record<string, any>;
|
|
3420
3359
|
} | {
|
|
3421
|
-
code?: '
|
|
3360
|
+
code?: 'ALL_BOOKINGS_ARE_ALREADY_DECLINED';
|
|
3422
3361
|
description?: string;
|
|
3423
3362
|
data?: Record<string, any>;
|
|
3424
|
-
}
|
|
3425
|
-
|
|
3426
|
-
type SetBookingSubmissionIdApplicationErrors = {
|
|
3427
|
-
code?: 'BOOKING_NOT_FOUND';
|
|
3363
|
+
} | {
|
|
3364
|
+
code?: 'NOT_ALL_BOOKINGS_WERE_SENT';
|
|
3428
3365
|
description?: string;
|
|
3429
3366
|
data?: Record<string, any>;
|
|
3430
|
-
}
|
|
3431
|
-
|
|
3432
|
-
type UpdateExtendedFieldsApplicationErrors = {
|
|
3433
|
-
code?: 'BOOKING_NOT_FOUND';
|
|
3367
|
+
} | {
|
|
3368
|
+
code?: 'DUPLICATE_BOOKING_INFO';
|
|
3434
3369
|
description?: string;
|
|
3435
3370
|
data?: Record<string, any>;
|
|
3436
|
-
}
|
|
3437
|
-
|
|
3438
|
-
type BookingsDeclineBookingApplicationErrors = {
|
|
3439
|
-
code?: 'BOOKING_NOT_FOUND';
|
|
3371
|
+
} | {
|
|
3372
|
+
code?: 'SOME_BOOKINGS_UPDATES_FAILED';
|
|
3440
3373
|
description?: string;
|
|
3441
3374
|
data?: Record<string, any>;
|
|
3442
3375
|
} | {
|
|
3443
|
-
code?: '
|
|
3376
|
+
code?: 'BOOKING_REVISION_MISMATCH';
|
|
3444
3377
|
description?: string;
|
|
3445
3378
|
data?: Record<string, any>;
|
|
3446
3379
|
} | {
|
|
3447
|
-
code?: '
|
|
3380
|
+
code?: 'MULTI_SERVICE_BOOKING_INCLUDES_MULTIPLE_STAFF_MEMBERS';
|
|
3448
3381
|
description?: string;
|
|
3449
3382
|
data?: Record<string, any>;
|
|
3450
3383
|
};
|
|
3451
3384
|
/** @docsIgnore */
|
|
3452
|
-
type
|
|
3453
|
-
code?: '
|
|
3385
|
+
type AddBookingsToMultiServiceBookingApplicationErrors = {
|
|
3386
|
+
code?: 'MULTI_SERVICE_BOOKING_NOT_FOUND';
|
|
3454
3387
|
description?: string;
|
|
3455
3388
|
data?: Record<string, any>;
|
|
3456
3389
|
} | {
|
|
3457
|
-
code?: '
|
|
3390
|
+
code?: 'BOOKING_NOT_FOUND';
|
|
3458
3391
|
description?: string;
|
|
3459
3392
|
data?: Record<string, any>;
|
|
3460
3393
|
} | {
|
|
3461
|
-
code?: '
|
|
3394
|
+
code?: 'BOOKING_REVISION_MISMATCH';
|
|
3462
3395
|
description?: string;
|
|
3463
3396
|
data?: Record<string, any>;
|
|
3464
3397
|
} | {
|
|
3465
|
-
code?: '
|
|
3398
|
+
code?: 'BOOKING_ALREADY_PART_OF_ANOTHER_MULTI_SERVICE_BOOKING';
|
|
3466
3399
|
description?: string;
|
|
3467
3400
|
data?: Record<string, any>;
|
|
3468
3401
|
} | {
|
|
3469
|
-
code?: '
|
|
3402
|
+
code?: 'MULTI_SERVICE_BOOKING_ALREADY_INCLUDES_BOOKING';
|
|
3470
3403
|
description?: string;
|
|
3471
3404
|
data?: Record<string, any>;
|
|
3472
3405
|
} | {
|
|
3473
|
-
code?: '
|
|
3406
|
+
code?: 'BOOKING_TO_ADD_STATUS_NOT_VALID';
|
|
3474
3407
|
description?: string;
|
|
3475
3408
|
data?: Record<string, any>;
|
|
3476
3409
|
};
|
|
3477
3410
|
/** @docsIgnore */
|
|
3478
|
-
type
|
|
3411
|
+
type RemoveBookingsFromMultiServiceBookingApplicationErrors = {
|
|
3412
|
+
code?: 'MULTI_SERVICE_BOOKING_NOT_FOUND';
|
|
3413
|
+
description?: string;
|
|
3414
|
+
data?: Record<string, any>;
|
|
3415
|
+
} | {
|
|
3479
3416
|
code?: 'BOOKING_NOT_FOUND';
|
|
3480
3417
|
description?: string;
|
|
3481
3418
|
data?: Record<string, any>;
|
|
3419
|
+
} | {
|
|
3420
|
+
code?: 'BOOKING_REVISION_MISMATCH';
|
|
3421
|
+
description?: string;
|
|
3422
|
+
data?: Record<string, any>;
|
|
3482
3423
|
};
|
|
3483
3424
|
/** @docsIgnore */
|
|
3484
|
-
type
|
|
3485
|
-
code?: '
|
|
3425
|
+
type CreateBookingApplicationErrors = {
|
|
3426
|
+
code?: 'SESSION_NOT_FOUND';
|
|
3486
3427
|
description?: string;
|
|
3487
3428
|
data?: Record<string, any>;
|
|
3488
3429
|
} | {
|
|
3489
|
-
code?: '
|
|
3430
|
+
code?: 'SCHEDULE_NOT_FOUND';
|
|
3490
3431
|
description?: string;
|
|
3491
3432
|
data?: Record<string, any>;
|
|
3492
3433
|
} | {
|
|
3493
|
-
code?: '
|
|
3434
|
+
code?: 'FAILED_RESOLVING_CUSTOM_CHOICES';
|
|
3494
3435
|
description?: string;
|
|
3495
3436
|
data?: Record<string, any>;
|
|
3496
3437
|
} | {
|
|
3497
|
-
code?: '
|
|
3438
|
+
code?: 'INVALID_CHOICES';
|
|
3498
3439
|
description?: string;
|
|
3499
3440
|
data?: Record<string, any>;
|
|
3500
|
-
}
|
|
3501
|
-
/** @docsIgnore */
|
|
3502
|
-
type CreateMultiServiceBookingApplicationErrors = {
|
|
3441
|
+
} | {
|
|
3503
3442
|
code?: 'VALIDATION_FAILURE';
|
|
3504
3443
|
description?: string;
|
|
3505
3444
|
data?: Record<string, any>;
|
|
3506
3445
|
} | {
|
|
3507
|
-
code?: '
|
|
3446
|
+
code?: 'SESSION_CAPACITY_EXCEEDED';
|
|
3508
3447
|
description?: string;
|
|
3509
3448
|
data?: Record<string, any>;
|
|
3510
3449
|
} | {
|
|
3511
|
-
code?: '
|
|
3450
|
+
code?: 'SCHEDULE_CAPACITY_EXCEEDED';
|
|
3512
3451
|
description?: string;
|
|
3513
3452
|
data?: Record<string, any>;
|
|
3514
3453
|
} | {
|
|
3515
|
-
code?: '
|
|
3454
|
+
code?: 'SLOT_NOT_AVAILABLE';
|
|
3516
3455
|
description?: string;
|
|
3517
3456
|
data?: Record<string, any>;
|
|
3518
3457
|
} | {
|
|
3519
|
-
code?: '
|
|
3458
|
+
code?: 'FAILED_VALIDATING_AVAILABILITY';
|
|
3520
3459
|
description?: string;
|
|
3521
3460
|
data?: Record<string, any>;
|
|
3522
3461
|
} | {
|
|
3523
|
-
code?: '
|
|
3462
|
+
code?: 'BOOKING_POLICY_VIOLATION';
|
|
3524
3463
|
description?: string;
|
|
3525
3464
|
data?: Record<string, any>;
|
|
3526
3465
|
} | {
|
|
3527
|
-
code?: '
|
|
3466
|
+
code?: 'UNAUTHORIZED_OPERATION';
|
|
3528
3467
|
description?: string;
|
|
3529
3468
|
data?: Record<string, any>;
|
|
3530
3469
|
} | {
|
|
3531
|
-
code?: '
|
|
3470
|
+
code?: 'INVALID_SERVICE_CHOICES';
|
|
3532
3471
|
description?: string;
|
|
3533
3472
|
data?: Record<string, any>;
|
|
3534
3473
|
} | {
|
|
3535
|
-
code?: '
|
|
3474
|
+
code?: 'INVALID_FLOW_SELECTED_RESOURCES';
|
|
3536
3475
|
description?: string;
|
|
3537
3476
|
data?: Record<string, any>;
|
|
3538
|
-
}
|
|
3539
|
-
|
|
3540
|
-
type RescheduleMultiServiceBookingApplicationErrors = {
|
|
3541
|
-
code?: 'MULTI_SERVICE_BOOKING_NOT_FOUND';
|
|
3477
|
+
} | {
|
|
3478
|
+
code?: 'CAN_NOT_CREATE_BOOKING_WITH_MULTI_SERVICE_BOOKING_INFO';
|
|
3542
3479
|
description?: string;
|
|
3543
3480
|
data?: Record<string, any>;
|
|
3544
3481
|
} | {
|
|
3545
|
-
code?: '
|
|
3482
|
+
code?: 'CAN_NOT_SKIP_AVAILABILITY_VALIDATION_IF_RESOURCE_NOT_PROVIDED';
|
|
3546
3483
|
description?: string;
|
|
3547
3484
|
data?: Record<string, any>;
|
|
3548
3485
|
} | {
|
|
3549
|
-
code?: '
|
|
3486
|
+
code?: 'INVALID_DATE_FORMAT';
|
|
3550
3487
|
description?: string;
|
|
3551
3488
|
data?: Record<string, any>;
|
|
3552
3489
|
} | {
|
|
3553
|
-
code?: '
|
|
3490
|
+
code?: 'INVALID_TIME_ZONE';
|
|
3554
3491
|
description?: string;
|
|
3555
3492
|
data?: Record<string, any>;
|
|
3556
3493
|
} | {
|
|
3557
|
-
code?: '
|
|
3494
|
+
code?: 'CONTACT_DETAILS_CONFLICT';
|
|
3495
|
+
description?: string;
|
|
3496
|
+
data?: Record<string, any>;
|
|
3497
|
+
};
|
|
3498
|
+
/** @docsIgnore */
|
|
3499
|
+
type BulkCreateBookingApplicationErrors = {
|
|
3500
|
+
code?: 'SESSION_NOT_FOUND';
|
|
3558
3501
|
description?: string;
|
|
3559
3502
|
data?: Record<string, any>;
|
|
3560
3503
|
} | {
|
|
3561
|
-
code?: '
|
|
3504
|
+
code?: 'SCHEDULE_NOT_FOUND';
|
|
3562
3505
|
description?: string;
|
|
3563
3506
|
data?: Record<string, any>;
|
|
3564
3507
|
} | {
|
|
3565
|
-
code?: '
|
|
3508
|
+
code?: 'RESOURCE_NOT_FOUND';
|
|
3566
3509
|
description?: string;
|
|
3567
3510
|
data?: Record<string, any>;
|
|
3568
3511
|
} | {
|
|
3569
|
-
code?: '
|
|
3512
|
+
code?: 'FAILED_RESOLVING_CUSTOM_CHOICES';
|
|
3570
3513
|
description?: string;
|
|
3571
3514
|
data?: Record<string, any>;
|
|
3572
3515
|
} | {
|
|
3573
|
-
code?: '
|
|
3516
|
+
code?: 'INVALID_CHOICES';
|
|
3574
3517
|
description?: string;
|
|
3575
3518
|
data?: Record<string, any>;
|
|
3576
|
-
}
|
|
3577
|
-
|
|
3578
|
-
type GetMultiServiceBookingAvailabilityApplicationErrors = {
|
|
3579
|
-
code?: 'MULTI_SERVICE_BOOKING_NOT_FOUND';
|
|
3519
|
+
} | {
|
|
3520
|
+
code?: 'VALIDATION_FAILURE';
|
|
3580
3521
|
description?: string;
|
|
3581
3522
|
data?: Record<string, any>;
|
|
3582
|
-
}
|
|
3583
|
-
|
|
3584
|
-
type CancelMultiServiceBookingApplicationErrors = {
|
|
3585
|
-
code?: 'MULTI_SERVICE_BOOKING_NOT_FOUND';
|
|
3523
|
+
} | {
|
|
3524
|
+
code?: 'SLOT_NOT_AVAILABLE';
|
|
3586
3525
|
description?: string;
|
|
3587
3526
|
data?: Record<string, any>;
|
|
3588
3527
|
} | {
|
|
3589
|
-
code?: '
|
|
3528
|
+
code?: 'EMPTY_FORM_INFO';
|
|
3590
3529
|
description?: string;
|
|
3591
3530
|
data?: Record<string, any>;
|
|
3592
3531
|
} | {
|
|
3593
|
-
code?: '
|
|
3532
|
+
code?: 'UNAUTHORIZED_OPERATION';
|
|
3594
3533
|
description?: string;
|
|
3595
3534
|
data?: Record<string, any>;
|
|
3596
3535
|
} | {
|
|
3597
|
-
code?: '
|
|
3536
|
+
code?: 'CAN_NOT_SKIP_AVAILABILITY_VALIDATION_IF_RESOURCE_NOT_PROVIDED';
|
|
3598
3537
|
description?: string;
|
|
3599
3538
|
data?: Record<string, any>;
|
|
3600
3539
|
};
|
|
3601
3540
|
/** @docsIgnore */
|
|
3602
|
-
type
|
|
3603
|
-
code?: 'MULTI_SERVICE_BOOKING_NOT_FOUND';
|
|
3604
|
-
description?: string;
|
|
3605
|
-
data?: Record<string, any>;
|
|
3606
|
-
} | {
|
|
3541
|
+
type RescheduleBookingApplicationErrors = {
|
|
3607
3542
|
code?: 'BOOKING_NOT_FOUND';
|
|
3608
3543
|
description?: string;
|
|
3609
3544
|
data?: Record<string, any>;
|
|
3610
3545
|
} | {
|
|
3611
|
-
code?: '
|
|
3546
|
+
code?: 'BOOKING_POLICY_VIOLATION';
|
|
3612
3547
|
description?: string;
|
|
3613
3548
|
data?: Record<string, any>;
|
|
3614
3549
|
} | {
|
|
3615
|
-
code?: '
|
|
3550
|
+
code?: 'UNAUTHORIZED_OPERATION';
|
|
3616
3551
|
description?: string;
|
|
3617
3552
|
data?: Record<string, any>;
|
|
3618
3553
|
} | {
|
|
3619
|
-
code?: '
|
|
3554
|
+
code?: 'SESSION_CAPACITY_EXCEEDED';
|
|
3620
3555
|
description?: string;
|
|
3621
3556
|
data?: Record<string, any>;
|
|
3622
3557
|
} | {
|
|
3623
|
-
code?: '
|
|
3558
|
+
code?: 'SCHEDULE_CAPACITY_EXCEEDED';
|
|
3624
3559
|
description?: string;
|
|
3625
3560
|
data?: Record<string, any>;
|
|
3626
3561
|
} | {
|
|
3627
|
-
code?: '
|
|
3562
|
+
code?: 'SLOT_NOT_AVAILABLE';
|
|
3628
3563
|
description?: string;
|
|
3629
3564
|
data?: Record<string, any>;
|
|
3630
3565
|
} | {
|
|
3631
|
-
code?: '
|
|
3566
|
+
code?: 'VALIDATION_FAILURE';
|
|
3632
3567
|
description?: string;
|
|
3633
3568
|
data?: Record<string, any>;
|
|
3634
3569
|
} | {
|
|
3635
|
-
code?: '
|
|
3570
|
+
code?: 'EMPTY_FORM_INFO';
|
|
3636
3571
|
description?: string;
|
|
3637
3572
|
data?: Record<string, any>;
|
|
3638
|
-
}
|
|
3639
|
-
|
|
3640
|
-
type ConfirmMultiServiceBookingApplicationErrors = {
|
|
3641
|
-
code?: 'MULTI_SERVICE_BOOKING_NOT_FOUND';
|
|
3573
|
+
} | {
|
|
3574
|
+
code?: 'SESSION_NOT_FOUND';
|
|
3642
3575
|
description?: string;
|
|
3643
3576
|
data?: Record<string, any>;
|
|
3644
3577
|
} | {
|
|
3645
|
-
code?: '
|
|
3578
|
+
code?: 'SCHEDULE_NOT_FOUND';
|
|
3646
3579
|
description?: string;
|
|
3647
3580
|
data?: Record<string, any>;
|
|
3648
3581
|
} | {
|
|
3649
|
-
code?: '
|
|
3582
|
+
code?: 'RESOURCE_NOT_FOUND';
|
|
3650
3583
|
description?: string;
|
|
3651
3584
|
data?: Record<string, any>;
|
|
3652
3585
|
} | {
|
|
3653
|
-
code?: '
|
|
3586
|
+
code?: 'FAILED_VALIDATING_AVAILABILITY';
|
|
3654
3587
|
description?: string;
|
|
3655
3588
|
data?: Record<string, any>;
|
|
3656
3589
|
} | {
|
|
3657
|
-
code?: '
|
|
3590
|
+
code?: 'FAILED_RESOLVING_SESSION';
|
|
3658
3591
|
description?: string;
|
|
3659
3592
|
data?: Record<string, any>;
|
|
3660
3593
|
} | {
|
|
3661
|
-
code?: '
|
|
3594
|
+
code?: 'FAILED_RESOLVING_SCHEDULE';
|
|
3662
3595
|
description?: string;
|
|
3663
3596
|
data?: Record<string, any>;
|
|
3664
3597
|
} | {
|
|
3665
|
-
code?: '
|
|
3598
|
+
code?: 'INVALID_SERVICE_CHOICES';
|
|
3666
3599
|
description?: string;
|
|
3667
3600
|
data?: Record<string, any>;
|
|
3668
3601
|
} | {
|
|
3669
|
-
code?: '
|
|
3602
|
+
code?: 'NOT_ALLOWED_TO_UPDATE_BOOKING_IN_MULTI_SERVICE_BOOKING';
|
|
3670
3603
|
description?: string;
|
|
3671
3604
|
data?: Record<string, any>;
|
|
3672
3605
|
} | {
|
|
3673
|
-
code?: '
|
|
3606
|
+
code?: 'ADD_ON_NOT_FOUND';
|
|
3674
3607
|
description?: string;
|
|
3675
3608
|
data?: Record<string, any>;
|
|
3676
3609
|
} | {
|
|
3677
|
-
code?: '
|
|
3610
|
+
code?: 'ADD_ON_CHANGES_NOT_ALLOWED';
|
|
3678
3611
|
description?: string;
|
|
3679
3612
|
data?: Record<string, any>;
|
|
3680
3613
|
} | {
|
|
3681
|
-
code?: '
|
|
3614
|
+
code?: 'ADD_ON_GROUP_NOT_FOUND';
|
|
3682
3615
|
description?: string;
|
|
3683
3616
|
data?: Record<string, any>;
|
|
3684
3617
|
} | {
|
|
3685
|
-
code?: '
|
|
3618
|
+
code?: 'PRICE_CHANGE_NOT_ALLOWED';
|
|
3686
3619
|
description?: string;
|
|
3687
3620
|
data?: Record<string, any>;
|
|
3688
3621
|
};
|
|
3689
3622
|
/** @docsIgnore */
|
|
3690
|
-
type
|
|
3691
|
-
code?: 'MULTI_SERVICE_BOOKING_NOT_FOUND';
|
|
3692
|
-
description?: string;
|
|
3693
|
-
data?: Record<string, any>;
|
|
3694
|
-
} | {
|
|
3623
|
+
type BookingsConfirmBookingApplicationErrors = {
|
|
3695
3624
|
code?: 'BOOKING_NOT_FOUND';
|
|
3696
3625
|
description?: string;
|
|
3697
3626
|
data?: Record<string, any>;
|
|
3698
3627
|
} | {
|
|
3699
|
-
code?: '
|
|
3628
|
+
code?: 'FAILED_CONFIRMING_NON_PENDING_BOOKING';
|
|
3700
3629
|
description?: string;
|
|
3701
3630
|
data?: Record<string, any>;
|
|
3702
3631
|
} | {
|
|
@@ -3704,59 +3633,71 @@ type DeclineMultiServiceBookingApplicationErrors = {
|
|
|
3704
3633
|
description?: string;
|
|
3705
3634
|
data?: Record<string, any>;
|
|
3706
3635
|
} | {
|
|
3707
|
-
code?: '
|
|
3636
|
+
code?: 'NO_OPEN_SPOTS';
|
|
3708
3637
|
description?: string;
|
|
3709
3638
|
data?: Record<string, any>;
|
|
3710
|
-
}
|
|
3711
|
-
|
|
3639
|
+
};
|
|
3640
|
+
/** @docsIgnore */
|
|
3641
|
+
type SetBookingSubmissionIdApplicationErrors = {
|
|
3642
|
+
code?: 'BOOKING_NOT_FOUND';
|
|
3712
3643
|
description?: string;
|
|
3713
3644
|
data?: Record<string, any>;
|
|
3714
|
-
}
|
|
3715
|
-
|
|
3645
|
+
};
|
|
3646
|
+
/** @docsIgnore */
|
|
3647
|
+
type UpdateExtendedFieldsApplicationErrors = {
|
|
3648
|
+
code?: 'BOOKING_NOT_FOUND';
|
|
3716
3649
|
description?: string;
|
|
3717
3650
|
data?: Record<string, any>;
|
|
3718
|
-
}
|
|
3719
|
-
|
|
3651
|
+
};
|
|
3652
|
+
/** @docsIgnore */
|
|
3653
|
+
type BookingsDeclineBookingApplicationErrors = {
|
|
3654
|
+
code?: 'BOOKING_NOT_FOUND';
|
|
3720
3655
|
description?: string;
|
|
3721
3656
|
data?: Record<string, any>;
|
|
3722
3657
|
} | {
|
|
3723
|
-
code?: '
|
|
3658
|
+
code?: 'FAILED_DECLINE_NON_PENDING_BOOKING';
|
|
3724
3659
|
description?: string;
|
|
3725
3660
|
data?: Record<string, any>;
|
|
3726
3661
|
} | {
|
|
3727
|
-
code?: '
|
|
3662
|
+
code?: 'INVALID_BOOKING_STATUS';
|
|
3728
3663
|
description?: string;
|
|
3729
3664
|
data?: Record<string, any>;
|
|
3730
3665
|
};
|
|
3731
3666
|
/** @docsIgnore */
|
|
3732
|
-
type
|
|
3733
|
-
code?: '
|
|
3667
|
+
type BookingsCancelBookingApplicationErrors = {
|
|
3668
|
+
code?: 'BOOKING_NOT_FOUND';
|
|
3734
3669
|
description?: string;
|
|
3735
3670
|
data?: Record<string, any>;
|
|
3736
3671
|
} | {
|
|
3737
|
-
code?: '
|
|
3672
|
+
code?: 'BOOKING_POLICY_VIOLATION';
|
|
3738
3673
|
description?: string;
|
|
3739
3674
|
data?: Record<string, any>;
|
|
3740
3675
|
} | {
|
|
3741
|
-
code?: '
|
|
3676
|
+
code?: 'VALIDATION_FAILURE';
|
|
3742
3677
|
description?: string;
|
|
3743
3678
|
data?: Record<string, any>;
|
|
3744
3679
|
} | {
|
|
3745
|
-
code?: '
|
|
3680
|
+
code?: 'FEATURE_LIMIT_EXCEEDED';
|
|
3746
3681
|
description?: string;
|
|
3747
3682
|
data?: Record<string, any>;
|
|
3748
3683
|
} | {
|
|
3749
|
-
code?: '
|
|
3684
|
+
code?: 'REFUND_NOT_ALLOWED';
|
|
3750
3685
|
description?: string;
|
|
3751
3686
|
data?: Record<string, any>;
|
|
3752
3687
|
} | {
|
|
3753
|
-
code?: '
|
|
3688
|
+
code?: 'NOT_ALLOWED_TO_UPDATE_BOOKING_IN_MULTI_SERVICE_BOOKING';
|
|
3754
3689
|
description?: string;
|
|
3755
3690
|
data?: Record<string, any>;
|
|
3756
3691
|
};
|
|
3757
3692
|
/** @docsIgnore */
|
|
3758
|
-
type
|
|
3759
|
-
code?: '
|
|
3693
|
+
type BookingsUpdateNumberOfParticipantsApplicationErrors = {
|
|
3694
|
+
code?: 'BOOKING_NOT_FOUND';
|
|
3695
|
+
description?: string;
|
|
3696
|
+
data?: Record<string, any>;
|
|
3697
|
+
};
|
|
3698
|
+
/** @docsIgnore */
|
|
3699
|
+
type MarkBookingAsPendingApplicationErrors = {
|
|
3700
|
+
code?: 'BOOKING_MARK_BOOKING_AS_PENDING';
|
|
3760
3701
|
description?: string;
|
|
3761
3702
|
data?: Record<string, any>;
|
|
3762
3703
|
} | {
|
|
@@ -3764,7 +3705,11 @@ type RemoveBookingsFromMultiServiceBookingApplicationErrors = {
|
|
|
3764
3705
|
description?: string;
|
|
3765
3706
|
data?: Record<string, any>;
|
|
3766
3707
|
} | {
|
|
3767
|
-
code?: '
|
|
3708
|
+
code?: 'NO_OPEN_SPOTS';
|
|
3709
|
+
description?: string;
|
|
3710
|
+
data?: Record<string, any>;
|
|
3711
|
+
} | {
|
|
3712
|
+
code?: 'NOT_PENDING_APPROVAL_SERVICE';
|
|
3768
3713
|
description?: string;
|
|
3769
3714
|
data?: Record<string, any>;
|
|
3770
3715
|
};
|
|
@@ -3779,20 +3724,35 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
|
|
|
3779
3724
|
__responseType: Q;
|
|
3780
3725
|
__originalResponseType: R;
|
|
3781
3726
|
};
|
|
3782
|
-
declare function getAnonymousActionDetails(): __PublicMethodMetaInfo<'GET', {}, GetAnonymousActionDetailsRequest$1, GetAnonymousActionDetailsRequest, GetAnonymousActionDetailsResponse$1, GetAnonymousActionDetailsResponse>;
|
|
3783
|
-
declare function cancelBookingAnonymously(): __PublicMethodMetaInfo<'POST', {
|
|
3784
|
-
token: string;
|
|
3785
|
-
}, CancelBookingAnonymouslyRequest$1, CancelBookingAnonymouslyRequest, CancelBookingAnonymouslyResponse$1, CancelBookingAnonymouslyResponse>;
|
|
3786
|
-
declare function rescheduleBookingAnonymously(): __PublicMethodMetaInfo<'POST', {
|
|
3787
|
-
token: string;
|
|
3788
|
-
}, RescheduleBookingAnonymouslyRequest$1, RescheduleBookingAnonymouslyRequest, RescheduleBookingAnonymouslyResponse$1, RescheduleBookingAnonymouslyResponse>;
|
|
3789
|
-
declare function getBookingAnonymously(): __PublicMethodMetaInfo<'GET', {
|
|
3790
|
-
token: string;
|
|
3791
|
-
}, GetBookingAnonymouslyRequest$1, GetBookingAnonymouslyRequest, GetBookingAnonymouslyResponse$1, GetBookingAnonymouslyResponse>;
|
|
3792
3727
|
declare function confirmOrDeclineBooking(): __PublicMethodMetaInfo<'POST', {
|
|
3793
3728
|
bookingId: string;
|
|
3794
3729
|
}, ConfirmOrDeclineBookingRequest$1, ConfirmOrDeclineBookingRequest, ConfirmOrDeclineBookingResponse$1, ConfirmOrDeclineBookingResponse>;
|
|
3795
3730
|
declare function bulkConfirmOrDeclineBooking(): __PublicMethodMetaInfo<'POST', {}, BulkConfirmOrDeclineBookingRequest$1, BulkConfirmOrDeclineBookingRequest, BulkConfirmOrDeclineBookingResponse$1, BulkConfirmOrDeclineBookingResponse>;
|
|
3731
|
+
declare function createMultiServiceBooking(): __PublicMethodMetaInfo<'POST', {}, CreateMultiServiceBookingRequest$1, CreateMultiServiceBookingRequest, CreateMultiServiceBookingResponse$1, CreateMultiServiceBookingResponse>;
|
|
3732
|
+
declare function rescheduleMultiServiceBooking(): __PublicMethodMetaInfo<'POST', {
|
|
3733
|
+
multiServiceBookingId: string;
|
|
3734
|
+
}, RescheduleMultiServiceBookingRequest$1, RescheduleMultiServiceBookingRequest, RescheduleMultiServiceBookingResponse$1, RescheduleMultiServiceBookingResponse>;
|
|
3735
|
+
declare function getMultiServiceBookingAvailability(): __PublicMethodMetaInfo<'POST', {
|
|
3736
|
+
multiServiceBookingId: string;
|
|
3737
|
+
}, GetMultiServiceBookingAvailabilityRequest$1, GetMultiServiceBookingAvailabilityRequest, GetMultiServiceBookingAvailabilityResponse$1, GetMultiServiceBookingAvailabilityResponse>;
|
|
3738
|
+
declare function cancelMultiServiceBooking(): __PublicMethodMetaInfo<'POST', {
|
|
3739
|
+
multiServiceBookingId: string;
|
|
3740
|
+
}, CancelMultiServiceBookingRequest$1, CancelMultiServiceBookingRequest, CancelMultiServiceBookingResponse$1, CancelMultiServiceBookingResponse>;
|
|
3741
|
+
declare function markMultiServiceBookingAsPending(): __PublicMethodMetaInfo<'POST', {
|
|
3742
|
+
multiServiceBookingId: string;
|
|
3743
|
+
}, MarkMultiServiceBookingAsPendingRequest$1, MarkMultiServiceBookingAsPendingRequest, MarkMultiServiceBookingAsPendingResponse$1, MarkMultiServiceBookingAsPendingResponse>;
|
|
3744
|
+
declare function confirmMultiServiceBooking(): __PublicMethodMetaInfo<'POST', {
|
|
3745
|
+
multiServiceBookingId: string;
|
|
3746
|
+
}, ConfirmMultiServiceBookingRequest$1, ConfirmMultiServiceBookingRequest, ConfirmMultiServiceBookingResponse$1, ConfirmMultiServiceBookingResponse>;
|
|
3747
|
+
declare function declineMultiServiceBooking(): __PublicMethodMetaInfo<'POST', {
|
|
3748
|
+
multiServiceBookingId: string;
|
|
3749
|
+
}, DeclineMultiServiceBookingRequest$1, DeclineMultiServiceBookingRequest, DeclineMultiServiceBookingResponse$1, DeclineMultiServiceBookingResponse>;
|
|
3750
|
+
declare function bulkGetMultiServiceBookingAllowedActions(): __PublicMethodMetaInfo<'POST', {}, BulkGetMultiServiceBookingAllowedActionsRequest$1, BulkGetMultiServiceBookingAllowedActionsRequest, BulkGetMultiServiceBookingAllowedActionsResponse$1, BulkGetMultiServiceBookingAllowedActionsResponse>;
|
|
3751
|
+
declare function getMultiServiceBooking(): __PublicMethodMetaInfo<'GET', {
|
|
3752
|
+
multiServiceBookingId: string;
|
|
3753
|
+
}, GetMultiServiceBookingRequest$1, GetMultiServiceBookingRequest, GetMultiServiceBookingResponse$1, GetMultiServiceBookingResponse>;
|
|
3754
|
+
declare function addBookingsToMultiServiceBooking(): __PublicMethodMetaInfo<'POST', {}, AddBookingsToMultiServiceBookingRequest$1, AddBookingsToMultiServiceBookingRequest, AddBookingsToMultiServiceBookingResponse$1, AddBookingsToMultiServiceBookingResponse>;
|
|
3755
|
+
declare function removeBookingsFromMultiServiceBooking(): __PublicMethodMetaInfo<'POST', {}, RemoveBookingsFromMultiServiceBookingRequest$1, RemoveBookingsFromMultiServiceBookingRequest, RemoveBookingsFromMultiServiceBookingResponse$1, RemoveBookingsFromMultiServiceBookingResponse>;
|
|
3796
3756
|
declare function createBooking(): __PublicMethodMetaInfo<'POST', {}, CreateBookingRequest$1, CreateBookingRequest, CreateBookingResponse$1, CreateBookingResponse>;
|
|
3797
3757
|
declare function bulkCreateBooking(): __PublicMethodMetaInfo<'POST', {}, BulkCreateBookingRequest$1, BulkCreateBookingRequest, BulkCreateBookingResponse$1, BulkCreateBookingResponse>;
|
|
3798
3758
|
declare function rescheduleBooking(): __PublicMethodMetaInfo<'POST', {
|
|
@@ -3819,30 +3779,15 @@ declare function updateNumberOfParticipants(): __PublicMethodMetaInfo<'POST', {
|
|
|
3819
3779
|
declare function markBookingAsPending(): __PublicMethodMetaInfo<'POST', {
|
|
3820
3780
|
bookingId: string;
|
|
3821
3781
|
}, MarkBookingAsPendingRequest$1, MarkBookingAsPendingRequest, MarkBookingAsPendingResponse$1, MarkBookingAsPendingResponse>;
|
|
3822
|
-
declare function
|
|
3823
|
-
declare function
|
|
3824
|
-
|
|
3825
|
-
},
|
|
3826
|
-
declare function
|
|
3827
|
-
|
|
3828
|
-
},
|
|
3829
|
-
declare function
|
|
3830
|
-
|
|
3831
|
-
},
|
|
3832
|
-
declare function markMultiServiceBookingAsPending(): __PublicMethodMetaInfo<'POST', {
|
|
3833
|
-
multiServiceBookingId: string;
|
|
3834
|
-
}, MarkMultiServiceBookingAsPendingRequest$1, MarkMultiServiceBookingAsPendingRequest, MarkMultiServiceBookingAsPendingResponse$1, MarkMultiServiceBookingAsPendingResponse>;
|
|
3835
|
-
declare function confirmMultiServiceBooking(): __PublicMethodMetaInfo<'POST', {
|
|
3836
|
-
multiServiceBookingId: string;
|
|
3837
|
-
}, ConfirmMultiServiceBookingRequest$1, ConfirmMultiServiceBookingRequest, ConfirmMultiServiceBookingResponse$1, ConfirmMultiServiceBookingResponse>;
|
|
3838
|
-
declare function declineMultiServiceBooking(): __PublicMethodMetaInfo<'POST', {
|
|
3839
|
-
multiServiceBookingId: string;
|
|
3840
|
-
}, DeclineMultiServiceBookingRequest$1, DeclineMultiServiceBookingRequest, DeclineMultiServiceBookingResponse$1, DeclineMultiServiceBookingResponse>;
|
|
3841
|
-
declare function bulkGetMultiServiceBookingAllowedActions(): __PublicMethodMetaInfo<'POST', {}, BulkGetMultiServiceBookingAllowedActionsRequest$1, BulkGetMultiServiceBookingAllowedActionsRequest, BulkGetMultiServiceBookingAllowedActionsResponse$1, BulkGetMultiServiceBookingAllowedActionsResponse>;
|
|
3842
|
-
declare function getMultiServiceBooking(): __PublicMethodMetaInfo<'GET', {
|
|
3843
|
-
multiServiceBookingId: string;
|
|
3844
|
-
}, GetMultiServiceBookingRequest$1, GetMultiServiceBookingRequest, GetMultiServiceBookingResponse$1, GetMultiServiceBookingResponse>;
|
|
3845
|
-
declare function addBookingsToMultiServiceBooking(): __PublicMethodMetaInfo<'POST', {}, AddBookingsToMultiServiceBookingRequest$1, AddBookingsToMultiServiceBookingRequest, AddBookingsToMultiServiceBookingResponse$1, AddBookingsToMultiServiceBookingResponse>;
|
|
3846
|
-
declare function removeBookingsFromMultiServiceBooking(): __PublicMethodMetaInfo<'POST', {}, RemoveBookingsFromMultiServiceBookingRequest$1, RemoveBookingsFromMultiServiceBookingRequest, RemoveBookingsFromMultiServiceBookingResponse$1, RemoveBookingsFromMultiServiceBookingResponse>;
|
|
3782
|
+
declare function getAnonymousActionDetails(): __PublicMethodMetaInfo<'GET', {}, GetAnonymousActionDetailsRequest$1, GetAnonymousActionDetailsRequest, GetAnonymousActionDetailsResponse$1, GetAnonymousActionDetailsResponse>;
|
|
3783
|
+
declare function cancelBookingAnonymously(): __PublicMethodMetaInfo<'POST', {
|
|
3784
|
+
token: string;
|
|
3785
|
+
}, CancelBookingAnonymouslyRequest$1, CancelBookingAnonymouslyRequest, CancelBookingAnonymouslyResponse$1, CancelBookingAnonymouslyResponse>;
|
|
3786
|
+
declare function rescheduleBookingAnonymously(): __PublicMethodMetaInfo<'POST', {
|
|
3787
|
+
token: string;
|
|
3788
|
+
}, RescheduleBookingAnonymouslyRequest$1, RescheduleBookingAnonymouslyRequest, RescheduleBookingAnonymouslyResponse$1, RescheduleBookingAnonymouslyResponse>;
|
|
3789
|
+
declare function getBookingAnonymously(): __PublicMethodMetaInfo<'GET', {
|
|
3790
|
+
token: string;
|
|
3791
|
+
}, GetBookingAnonymouslyRequest$1, GetBookingAnonymouslyRequest, GetBookingAnonymouslyResponse$1, GetBookingAnonymouslyResponse>;
|
|
3847
3792
|
|
|
3848
|
-
export { type ActionEvent as ActionEventOriginal, Actor as ActorOriginal, type ActorWithLiterals as ActorWithLiteralsOriginal, type AddBookingsToMultiServiceBookingApplicationErrors as AddBookingsToMultiServiceBookingApplicationErrorsOriginal, type AddBookingsToMultiServiceBookingRequest as AddBookingsToMultiServiceBookingRequestOriginal, type AddBookingsToMultiServiceBookingResponse as AddBookingsToMultiServiceBookingResponseOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, type AllowedActionsAnonymously as AllowedActionsAnonymouslyOriginal, type AllowedActions as AllowedActionsOriginal, type AnonymousBookingUrls as AnonymousBookingUrlsOriginal, type ApplicationError as ApplicationErrorOriginal, type AvailableResources as AvailableResourcesOriginal, type BookedAddOn as BookedAddOnOriginal, type BookedEntityItemOneOf as BookedEntityItemOneOfOriginal, type BookedEntity as BookedEntityOriginal, type BookedResource as BookedResourceOriginal, type BookedSchedule as BookedScheduleOriginal, type BookedSlot as BookedSlotOriginal, type BookingCanceled as BookingCanceledOriginal, type BookingChanged as BookingChangedOriginal, type BookingConfirmed as BookingConfirmedOriginal, type BookingDeclined as BookingDeclinedOriginal, type BookingDetails as BookingDetailsOriginal, type BookingFormFilled as BookingFormFilledOriginal, type BookingIdAndRevision as BookingIdAndRevisionOriginal, type BookingInfo as BookingInfoOriginal, type BookingMarkedAsPending as BookingMarkedAsPendingOriginal, type Booking as BookingOriginal, type BookingParticipantsInfoOneOf as BookingParticipantsInfoOneOfOriginal, type BookingPolicySettings as BookingPolicySettingsOriginal, type BookingPolicyViolations as BookingPolicyViolationsOriginal, type BookingRescheduled as BookingRescheduledOriginal, type BookingRescheduledPreviousParticipantsInfoOneOf as BookingRescheduledPreviousParticipantsInfoOneOfOriginal, type BookingResult as BookingResultOriginal, type BookingSource as BookingSourceOriginal, BookingStatus as BookingStatusOriginal, type BookingStatusWithLiterals as BookingStatusWithLiteralsOriginal, type BookingsCancelBookingApplicationErrors as BookingsCancelBookingApplicationErrorsOriginal, type BookingsConfirmBookingApplicationErrors as BookingsConfirmBookingApplicationErrorsOriginal, type BookingsDeclineBookingApplicationErrors as BookingsDeclineBookingApplicationErrorsOriginal, type BookingsUpdateNumberOfParticipantsApplicationErrors as BookingsUpdateNumberOfParticipantsApplicationErrorsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkBookingResult as BulkBookingResultOriginal, type BulkCalculateAllowedActionsRequest as BulkCalculateAllowedActionsRequestOriginal, type BulkCalculateAllowedActionsResponse as BulkCalculateAllowedActionsResponseOriginal, type BulkCalculateAllowedActionsResult as BulkCalculateAllowedActionsResultOriginal, type BulkConfirmOrDeclineBookingApplicationErrors as BulkConfirmOrDeclineBookingApplicationErrorsOriginal, type BulkConfirmOrDeclineBookingRequestBookingDetails as BulkConfirmOrDeclineBookingRequestBookingDetailsOriginal, type BulkConfirmOrDeclineBookingRequest as BulkConfirmOrDeclineBookingRequestOriginal, type BulkConfirmOrDeclineBookingResponse as BulkConfirmOrDeclineBookingResponseOriginal, type BulkCreateBookingApplicationErrors as BulkCreateBookingApplicationErrorsOriginal, type BulkCreateBookingRequest as BulkCreateBookingRequestOriginal, type BulkCreateBookingResponse as BulkCreateBookingResponseOriginal, type BulkGetMultiServiceBookingAllowedActionsRequest as BulkGetMultiServiceBookingAllowedActionsRequestOriginal, type BulkGetMultiServiceBookingAllowedActionsResponse as BulkGetMultiServiceBookingAllowedActionsResponseOriginal, type BulkRescheduleBookingRequestBooking as BulkRescheduleBookingRequestBookingOriginal, type BulkRescheduleBookingRequest as BulkRescheduleBookingRequestOriginal, type BulkRescheduleBookingResponse as BulkRescheduleBookingResponseOriginal, type BulkUpdateBookedScheduleRequest as BulkUpdateBookedScheduleRequestOriginal, type BulkUpdateBookedScheduleResponse as BulkUpdateBookedScheduleResponseOriginal, type BulkUpdateBookingRequest as BulkUpdateBookingRequestOriginal, type BulkUpdateBookingResponse as BulkUpdateBookingResponseOriginal, type CancelBookingAnonymouslyRequest as CancelBookingAnonymouslyRequestOriginal, type CancelBookingAnonymouslyResponse as CancelBookingAnonymouslyResponseOriginal, type CancelBookingFlowControlSettings as CancelBookingFlowControlSettingsOriginal, type CancelBookingRequestFlowControlSettings as CancelBookingRequestFlowControlSettingsOriginal, type CancelBookingRequest as CancelBookingRequestOriginal, type CancelBookingResponse as CancelBookingResponseOriginal, type CancelMultiServiceBookingApplicationErrors as CancelMultiServiceBookingApplicationErrorsOriginal, type CancelMultiServiceBookingRequest as CancelMultiServiceBookingRequestOriginal, type CancelMultiServiceBookingResponse as CancelMultiServiceBookingResponseOriginal, type Clash as ClashOriginal, type CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOfOriginal, type CommonIdentificationData as CommonIdentificationDataOriginal, type ConfirmBookingFlowControlSettings as ConfirmBookingFlowControlSettingsOriginal, type ConfirmBookingRequest as ConfirmBookingRequestOriginal, type ConfirmBookingResponse as ConfirmBookingResponseOriginal, type ConfirmMultiServiceBookingApplicationErrors as ConfirmMultiServiceBookingApplicationErrorsOriginal, type ConfirmMultiServiceBookingRequest as ConfirmMultiServiceBookingRequestOriginal, type ConfirmMultiServiceBookingResponse as ConfirmMultiServiceBookingResponseOriginal, type ConfirmOrDeclineBookingApplicationErrors as ConfirmOrDeclineBookingApplicationErrorsOriginal, type ConfirmOrDeclineBookingRequest as ConfirmOrDeclineBookingRequestOriginal, type ConfirmOrDeclineBookingResponse as ConfirmOrDeclineBookingResponseOriginal, type ConfirmRequest as ConfirmRequestOriginal, type ConfirmResponse as ConfirmResponseOriginal, type ConsistentQueryBookingsRequest as ConsistentQueryBookingsRequestOriginal, type ConsistentQueryBookingsResponse as ConsistentQueryBookingsResponseOriginal, type ContactDetails as ContactDetailsOriginal, type CountBookingsRequest as CountBookingsRequestOriginal, type CountBookingsResponse as CountBookingsResponseOriginal, type CreateBookingApplicationErrors as CreateBookingApplicationErrorsOriginal, type CreateBookingFlowControlSettings as CreateBookingFlowControlSettingsOriginal, type CreateBookingInfo as CreateBookingInfoOriginal, type CreateBookingRequestFlowControlSettings as CreateBookingRequestFlowControlSettingsOriginal, type CreateBookingRequest as CreateBookingRequestOriginal, type CreateBookingResponse as CreateBookingResponseOriginal, type CreateMultiServiceBookingApplicationErrors as CreateMultiServiceBookingApplicationErrorsOriginal, type CreateMultiServiceBookingRequest as CreateMultiServiceBookingRequestOriginal, type CreateMultiServiceBookingResponse as CreateMultiServiceBookingResponseOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type CustomFormField as CustomFormFieldOriginal, type DeclineBookingFlowControlSettings as DeclineBookingFlowControlSettingsOriginal, type DeclineBookingRequest as DeclineBookingRequestOriginal, type DeclineBookingResponse as DeclineBookingResponseOriginal, type DeclineMultiServiceBookingApplicationErrors as DeclineMultiServiceBookingApplicationErrorsOriginal, type DeclineMultiServiceBookingRequest as DeclineMultiServiceBookingRequestOriginal, type DeclineMultiServiceBookingResponse as DeclineMultiServiceBookingResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Duration as DurationOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FlowControlSettings as FlowControlSettingsOriginal, type GetAnonymousActionDetailsRequest as GetAnonymousActionDetailsRequestOriginal, type GetAnonymousActionDetailsResponse as GetAnonymousActionDetailsResponseOriginal, type GetBookingAnonymouslyRequest as GetBookingAnonymouslyRequestOriginal, type GetBookingAnonymouslyResponse as GetBookingAnonymouslyResponseOriginal, type GetMultiServiceBookingAvailabilityApplicationErrors as GetMultiServiceBookingAvailabilityApplicationErrorsOriginal, type GetMultiServiceBookingAvailabilityRequest as GetMultiServiceBookingAvailabilityRequestOriginal, type GetMultiServiceBookingAvailabilityResponseBookingInfo as GetMultiServiceBookingAvailabilityResponseBookingInfoOriginal, type GetMultiServiceBookingAvailabilityResponse as GetMultiServiceBookingAvailabilityResponseOriginal, type GetMultiServiceBookingRequest as GetMultiServiceBookingRequestOriginal, type GetMultiServiceBookingResponse as GetMultiServiceBookingResponseOriginal, type GetScheduleAvailabilityRequest as GetScheduleAvailabilityRequestOriginal, type GetScheduleAvailabilityResponse as GetScheduleAvailabilityResponseOriginal, type GetSlotAvailabilityRequest as GetSlotAvailabilityRequestOriginal, type GetSlotAvailabilityResponse as GetSlotAvailabilityResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, IdentificationDataIdentityType as IdentificationDataIdentityTypeOriginal, type IdentificationDataIdentityTypeWithLiterals as IdentificationDataIdentityTypeWithLiteralsOriginal, type IdentificationData as IdentificationDataOriginal, IdentityType as IdentityTypeOriginal, type IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal, type ItemMetadata as ItemMetadataOriginal, type LegacyCreateBookingRequest as LegacyCreateBookingRequestOriginal, type LegacyCreateBookingResponse as LegacyCreateBookingResponseOriginal, LocationLocationType as LocationLocationTypeOriginal, type LocationLocationTypeWithLiterals as LocationLocationTypeWithLiteralsOriginal, type Location as LocationOriginal, LocationType as LocationTypeOriginal, type LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal, type MarkBookingAsPendingApplicationErrors as MarkBookingAsPendingApplicationErrorsOriginal, type MarkBookingAsPendingFlowControlSettings as MarkBookingAsPendingFlowControlSettingsOriginal, type MarkBookingAsPendingRequest as MarkBookingAsPendingRequestOriginal, type MarkBookingAsPendingResponse as MarkBookingAsPendingResponseOriginal, type MarkMultiServiceBookingAsPendingApplicationErrors as MarkMultiServiceBookingAsPendingApplicationErrorsOriginal, type MarkMultiServiceBookingAsPendingRequest as MarkMultiServiceBookingAsPendingRequestOriginal, type MarkMultiServiceBookingAsPendingResponse as MarkMultiServiceBookingAsPendingResponseOriginal, type MaskedBooking as MaskedBookingOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MigrationCheckIfClashesWithBlockedTimeRequest as MigrationCheckIfClashesWithBlockedTimeRequestOriginal, type MigrationCheckIfClashesWithBlockedTimeResponse as MigrationCheckIfClashesWithBlockedTimeResponseOriginal, type MsidAndBookingId as MsidAndBookingIdOriginal, type MultiServiceBookingInfo as MultiServiceBookingInfoOriginal, type MultiServiceBookingMetadata as MultiServiceBookingMetadataOriginal, type MultiServiceBooking as MultiServiceBookingOriginal, MultiServiceBookingType as MultiServiceBookingTypeOriginal, type MultiServiceBookingTypeWithLiterals as MultiServiceBookingTypeWithLiteralsOriginal, type NumberOfParticipantsUpdated as NumberOfParticipantsUpdatedOriginal, type NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf as NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOfOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type ParticipantChoices as ParticipantChoicesOriginal, type ParticipantNotification as ParticipantNotificationOriginal, PaymentStatus as PaymentStatusOriginal, type PaymentStatusWithLiterals as PaymentStatusWithLiteralsOriginal, Platform as PlatformOriginal, type PlatformWithLiterals as PlatformWithLiteralsOriginal, type QueryBookingsRequest as QueryBookingsRequestOriginal, type QueryBookingsResponse as QueryBookingsResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, type RemoveBookingsFromMultiServiceBookingApplicationErrors as RemoveBookingsFromMultiServiceBookingApplicationErrorsOriginal, type RemoveBookingsFromMultiServiceBookingRequest as RemoveBookingsFromMultiServiceBookingRequestOriginal, type RemoveBookingsFromMultiServiceBookingResponse as RemoveBookingsFromMultiServiceBookingResponseOriginal, type RescheduleBookingAnonymouslyRequest as RescheduleBookingAnonymouslyRequestOriginal, type RescheduleBookingAnonymouslyResponse as RescheduleBookingAnonymouslyResponseOriginal, type RescheduleBookingApplicationErrors as RescheduleBookingApplicationErrorsOriginal, type RescheduleBookingFlowControlSettings as RescheduleBookingFlowControlSettingsOriginal, type RescheduleBookingInfo as RescheduleBookingInfoOriginal, type RescheduleBookingInfoParticipantsInfoOneOf as RescheduleBookingInfoParticipantsInfoOneOfOriginal, type RescheduleBookingRequestFlowControlSettings as RescheduleBookingRequestFlowControlSettingsOriginal, type RescheduleBookingRequest as RescheduleBookingRequestOriginal, type RescheduleBookingRequestParticipantsInfoOneOf as RescheduleBookingRequestParticipantsInfoOneOfOriginal, type RescheduleBookingResponse as RescheduleBookingResponseOriginal, type RescheduleMultiServiceBookingApplicationErrors as RescheduleMultiServiceBookingApplicationErrorsOriginal, type RescheduleMultiServiceBookingRequest as RescheduleMultiServiceBookingRequestOriginal, type RescheduleMultiServiceBookingResponse as RescheduleMultiServiceBookingResponseOriginal, type ResourceSelection as ResourceSelectionOriginal, type RestoreInfo as RestoreInfoOriginal, type ScheduleAvailability as ScheduleAvailabilityOriginal, SelectedPaymentOption as SelectedPaymentOptionOriginal, type SelectedPaymentOptionWithLiterals as SelectedPaymentOptionWithLiteralsOriginal, SelectionMethod as SelectionMethodOriginal, type SelectionMethodWithLiterals as SelectionMethodWithLiteralsOriginal, type ServiceChoiceChoiceOneOf as ServiceChoiceChoiceOneOfOriginal, type ServiceChoice as ServiceChoiceOriginal, type ServiceChoices as ServiceChoicesOriginal, type SetBookingFormAndSubmissionIdRequestCreatedByOneOf as SetBookingFormAndSubmissionIdRequestCreatedByOneOfOriginal, type SetBookingFormAndSubmissionIdRequest as SetBookingFormAndSubmissionIdRequestOriginal, type SetBookingFormAndSubmissionIdResponse as SetBookingFormAndSubmissionIdResponseOriginal, type SetBookingSessionIdRequest as SetBookingSessionIdRequestOriginal, type SetBookingSessionIdResponse as SetBookingSessionIdResponseOriginal, type SetBookingSubmissionIdApplicationErrors as SetBookingSubmissionIdApplicationErrorsOriginal, type SetBookingSubmissionIdRequest as SetBookingSubmissionIdRequestOriginal, type SetBookingSubmissionIdResponse as SetBookingSubmissionIdResponseOriginal, type SlotAvailability as SlotAvailabilityOriginal, type SlotBookings as SlotBookingsOriginal, type SlotLocation as SlotLocationOriginal, type Slot as SlotOriginal, type SlotResource as SlotResourceOriginal, type SlotSlotResource as SlotSlotResourceOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type StreetAddress as StreetAddressOriginal, type Subdivision as SubdivisionOriginal, type UpdateBookingRequest as UpdateBookingRequestOriginal, type UpdateBookingResponse as UpdateBookingResponseOriginal, type UpdateExtendedFieldsApplicationErrors as UpdateExtendedFieldsApplicationErrorsOriginal, type UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal, type UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal, type UpdateNumberOfParticipantsRequest as UpdateNumberOfParticipantsRequestOriginal, type UpdateNumberOfParticipantsRequestParticipantsInfoOneOf as UpdateNumberOfParticipantsRequestParticipantsInfoOneOfOriginal, type UpdateNumberOfParticipantsResponse as UpdateNumberOfParticipantsResponseOriginal, type V2CancelBookingRequest as V2CancelBookingRequestOriginal, type V2CancelBookingResponse as V2CancelBookingResponseOriginal, type V2ConfirmBookingRequest as V2ConfirmBookingRequestOriginal, type V2ConfirmBookingResponse as V2ConfirmBookingResponseOriginal, type V2CreateBookingRequestBookableItemOneOf as V2CreateBookingRequestBookableItemOneOfOriginal, type V2CreateBookingRequest as V2CreateBookingRequestOriginal, type V2CreateBookingRequestParticipantsInfoOneOf as V2CreateBookingRequestParticipantsInfoOneOfOriginal, type V2CreateBookingResponse as V2CreateBookingResponseOriginal, type V2DeclineBookingRequest as V2DeclineBookingRequestOriginal, type V2DeclineBookingResponse as V2DeclineBookingResponseOriginal, type V2RescheduleBookingRequest as V2RescheduleBookingRequestOriginal, type V2RescheduleBookingRequestParticipantsInfoOneOf as V2RescheduleBookingRequestParticipantsInfoOneOfOriginal, type V2RescheduleBookingResponse as V2RescheduleBookingResponseOriginal, type V2Slot as V2SlotOriginal, type V2UpdateNumberOfParticipantsRequest as V2UpdateNumberOfParticipantsRequestOriginal, type V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf as V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOfOriginal, type V2UpdateNumberOfParticipantsResponse as V2UpdateNumberOfParticipantsResponseOriginal, ValueType as ValueTypeOriginal, type ValueTypeWithLiterals as ValueTypeWithLiteralsOriginal, type WaitingList as WaitingListOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WebhooksIdentificationDataIdOneOf as WebhooksIdentificationDataIdOneOfOriginal, type WebhooksIdentificationData as WebhooksIdentificationDataOriginal, type __PublicMethodMetaInfo, addBookingsToMultiServiceBooking, bulkConfirmOrDeclineBooking, bulkCreateBooking, bulkGetMultiServiceBookingAllowedActions, cancelBooking, cancelBookingAnonymously, cancelMultiServiceBooking, confirmBooking, confirmMultiServiceBooking, confirmOrDeclineBooking, createBooking, createMultiServiceBooking, declineBooking, declineMultiServiceBooking, getAnonymousActionDetails, getBookingAnonymously, getMultiServiceBooking, getMultiServiceBookingAvailability, markBookingAsPending, markMultiServiceBookingAsPending, removeBookingsFromMultiServiceBooking, rescheduleBooking, rescheduleBookingAnonymously, rescheduleMultiServiceBooking, setBookingSubmissionId, updateExtendedFields, updateNumberOfParticipants };
|
|
3793
|
+
export { type ActionEvent as ActionEventOriginal, Actor as ActorOriginal, type ActorWithLiterals as ActorWithLiteralsOriginal, type AddBookingsToMultiServiceBookingApplicationErrors as AddBookingsToMultiServiceBookingApplicationErrorsOriginal, type AddBookingsToMultiServiceBookingRequest as AddBookingsToMultiServiceBookingRequestOriginal, type AddBookingsToMultiServiceBookingResponse as AddBookingsToMultiServiceBookingResponseOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, type AllowedActionsAnonymously as AllowedActionsAnonymouslyOriginal, type AllowedActions as AllowedActionsOriginal, type AnonymousBookingUrls as AnonymousBookingUrlsOriginal, type ApplicationError as ApplicationErrorOriginal, type AvailableResources as AvailableResourcesOriginal, type BookedAddOn as BookedAddOnOriginal, type BookedEntityItemOneOf as BookedEntityItemOneOfOriginal, type BookedEntity as BookedEntityOriginal, type BookedResource as BookedResourceOriginal, type BookedSchedule as BookedScheduleOriginal, type BookedSlot as BookedSlotOriginal, type BookingCanceled as BookingCanceledOriginal, type BookingChanged as BookingChangedOriginal, type BookingConfirmed as BookingConfirmedOriginal, type BookingDeclined as BookingDeclinedOriginal, type BookingDetails as BookingDetailsOriginal, type BookingFormFilled as BookingFormFilledOriginal, type BookingIdAndRevision as BookingIdAndRevisionOriginal, type BookingInfo as BookingInfoOriginal, type BookingMarkedAsPending as BookingMarkedAsPendingOriginal, type Booking as BookingOriginal, type BookingParticipantsInfoOneOf as BookingParticipantsInfoOneOfOriginal, type BookingPolicySettings as BookingPolicySettingsOriginal, type BookingPolicyViolations as BookingPolicyViolationsOriginal, type BookingRescheduled as BookingRescheduledOriginal, type BookingRescheduledPreviousParticipantsInfoOneOf as BookingRescheduledPreviousParticipantsInfoOneOfOriginal, type BookingResult as BookingResultOriginal, type BookingSource as BookingSourceOriginal, BookingStatus as BookingStatusOriginal, type BookingStatusWithLiterals as BookingStatusWithLiteralsOriginal, type BookingsCancelBookingApplicationErrors as BookingsCancelBookingApplicationErrorsOriginal, type BookingsConfirmBookingApplicationErrors as BookingsConfirmBookingApplicationErrorsOriginal, type BookingsDeclineBookingApplicationErrors as BookingsDeclineBookingApplicationErrorsOriginal, type BookingsUpdateNumberOfParticipantsApplicationErrors as BookingsUpdateNumberOfParticipantsApplicationErrorsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkBookingResult as BulkBookingResultOriginal, type BulkCalculateAllowedActionsRequest as BulkCalculateAllowedActionsRequestOriginal, type BulkCalculateAllowedActionsResponse as BulkCalculateAllowedActionsResponseOriginal, type BulkCalculateAllowedActionsResult as BulkCalculateAllowedActionsResultOriginal, type BulkConfirmOrDeclineBookingApplicationErrors as BulkConfirmOrDeclineBookingApplicationErrorsOriginal, type BulkConfirmOrDeclineBookingRequestBookingDetails as BulkConfirmOrDeclineBookingRequestBookingDetailsOriginal, type BulkConfirmOrDeclineBookingRequest as BulkConfirmOrDeclineBookingRequestOriginal, type BulkConfirmOrDeclineBookingResponse as BulkConfirmOrDeclineBookingResponseOriginal, type BulkCreateBookingApplicationErrors as BulkCreateBookingApplicationErrorsOriginal, type BulkCreateBookingRequest as BulkCreateBookingRequestOriginal, type BulkCreateBookingResponse as BulkCreateBookingResponseOriginal, type BulkGetMultiServiceBookingAllowedActionsRequest as BulkGetMultiServiceBookingAllowedActionsRequestOriginal, type BulkGetMultiServiceBookingAllowedActionsResponse as BulkGetMultiServiceBookingAllowedActionsResponseOriginal, type BulkRescheduleBookingRequestBooking as BulkRescheduleBookingRequestBookingOriginal, type BulkRescheduleBookingRequest as BulkRescheduleBookingRequestOriginal, type BulkRescheduleBookingResponse as BulkRescheduleBookingResponseOriginal, type BulkUpdateBookedScheduleRequest as BulkUpdateBookedScheduleRequestOriginal, type BulkUpdateBookedScheduleResponse as BulkUpdateBookedScheduleResponseOriginal, type BulkUpdateBookingRequest as BulkUpdateBookingRequestOriginal, type BulkUpdateBookingResponse as BulkUpdateBookingResponseOriginal, type CancelBookingAnonymouslyRequest as CancelBookingAnonymouslyRequestOriginal, type CancelBookingAnonymouslyResponse as CancelBookingAnonymouslyResponseOriginal, type CancelBookingFlowControlSettings as CancelBookingFlowControlSettingsOriginal, type CancelBookingRequestFlowControlSettings as CancelBookingRequestFlowControlSettingsOriginal, type CancelBookingRequest as CancelBookingRequestOriginal, type CancelBookingResponse as CancelBookingResponseOriginal, type CancelMultiServiceBookingApplicationErrors as CancelMultiServiceBookingApplicationErrorsOriginal, type CancelMultiServiceBookingRequest as CancelMultiServiceBookingRequestOriginal, type CancelMultiServiceBookingResponse as CancelMultiServiceBookingResponseOriginal, type Clash as ClashOriginal, type CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOfOriginal, type CommonIdentificationData as CommonIdentificationDataOriginal, type ConfirmBookingFlowControlSettings as ConfirmBookingFlowControlSettingsOriginal, type ConfirmBookingRequest as ConfirmBookingRequestOriginal, type ConfirmBookingResponse as ConfirmBookingResponseOriginal, type ConfirmMultiServiceBookingApplicationErrors as ConfirmMultiServiceBookingApplicationErrorsOriginal, type ConfirmMultiServiceBookingRequest as ConfirmMultiServiceBookingRequestOriginal, type ConfirmMultiServiceBookingResponse as ConfirmMultiServiceBookingResponseOriginal, type ConfirmOrDeclineBookingApplicationErrors as ConfirmOrDeclineBookingApplicationErrorsOriginal, type ConfirmOrDeclineBookingRequest as ConfirmOrDeclineBookingRequestOriginal, type ConfirmOrDeclineBookingResponse as ConfirmOrDeclineBookingResponseOriginal, type ConfirmRequest as ConfirmRequestOriginal, type ConfirmResponse as ConfirmResponseOriginal, type ConsistentQueryBookingsRequest as ConsistentQueryBookingsRequestOriginal, type ConsistentQueryBookingsResponse as ConsistentQueryBookingsResponseOriginal, type ContactDetails as ContactDetailsOriginal, type CountBookingsRequest as CountBookingsRequestOriginal, type CountBookingsResponse as CountBookingsResponseOriginal, type CreateBookingApplicationErrors as CreateBookingApplicationErrorsOriginal, type CreateBookingFlowControlSettings as CreateBookingFlowControlSettingsOriginal, type CreateBookingInfo as CreateBookingInfoOriginal, type CreateBookingRequestFlowControlSettings as CreateBookingRequestFlowControlSettingsOriginal, type CreateBookingRequest as CreateBookingRequestOriginal, type CreateBookingResponse as CreateBookingResponseOriginal, type CreateMultiServiceBookingApplicationErrors as CreateMultiServiceBookingApplicationErrorsOriginal, type CreateMultiServiceBookingRequest as CreateMultiServiceBookingRequestOriginal, type CreateMultiServiceBookingResponse as CreateMultiServiceBookingResponseOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type CustomFormField as CustomFormFieldOriginal, type DeclineBookingFlowControlSettings as DeclineBookingFlowControlSettingsOriginal, type DeclineBookingRequest as DeclineBookingRequestOriginal, type DeclineBookingResponse as DeclineBookingResponseOriginal, type DeclineMultiServiceBookingApplicationErrors as DeclineMultiServiceBookingApplicationErrorsOriginal, type DeclineMultiServiceBookingRequest as DeclineMultiServiceBookingRequestOriginal, type DeclineMultiServiceBookingResponse as DeclineMultiServiceBookingResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Duration as DurationOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FlowControlSettings as FlowControlSettingsOriginal, type GetAnonymousActionDetailsRequest as GetAnonymousActionDetailsRequestOriginal, type GetAnonymousActionDetailsResponse as GetAnonymousActionDetailsResponseOriginal, type GetBookingAnonymouslyRequest as GetBookingAnonymouslyRequestOriginal, type GetBookingAnonymouslyResponse as GetBookingAnonymouslyResponseOriginal, type GetMultiServiceBookingAvailabilityApplicationErrors as GetMultiServiceBookingAvailabilityApplicationErrorsOriginal, type GetMultiServiceBookingAvailabilityRequest as GetMultiServiceBookingAvailabilityRequestOriginal, type GetMultiServiceBookingAvailabilityResponseBookingInfo as GetMultiServiceBookingAvailabilityResponseBookingInfoOriginal, type GetMultiServiceBookingAvailabilityResponse as GetMultiServiceBookingAvailabilityResponseOriginal, type GetMultiServiceBookingRequest as GetMultiServiceBookingRequestOriginal, type GetMultiServiceBookingResponse as GetMultiServiceBookingResponseOriginal, type GetScheduleAvailabilityRequest as GetScheduleAvailabilityRequestOriginal, type GetScheduleAvailabilityResponse as GetScheduleAvailabilityResponseOriginal, type GetSlotAvailabilityRequest as GetSlotAvailabilityRequestOriginal, type GetSlotAvailabilityResponse as GetSlotAvailabilityResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, IdentificationDataIdentityType as IdentificationDataIdentityTypeOriginal, type IdentificationDataIdentityTypeWithLiterals as IdentificationDataIdentityTypeWithLiteralsOriginal, type IdentificationData as IdentificationDataOriginal, IdentityType as IdentityTypeOriginal, type IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal, type ItemMetadata as ItemMetadataOriginal, type LegacyCreateBookingRequest as LegacyCreateBookingRequestOriginal, type LegacyCreateBookingResponse as LegacyCreateBookingResponseOriginal, LocationLocationType as LocationLocationTypeOriginal, type LocationLocationTypeWithLiterals as LocationLocationTypeWithLiteralsOriginal, type Location as LocationOriginal, LocationType as LocationTypeOriginal, type LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal, type MarkBookingAsPendingApplicationErrors as MarkBookingAsPendingApplicationErrorsOriginal, type MarkBookingAsPendingFlowControlSettings as MarkBookingAsPendingFlowControlSettingsOriginal, type MarkBookingAsPendingRequest as MarkBookingAsPendingRequestOriginal, type MarkBookingAsPendingResponse as MarkBookingAsPendingResponseOriginal, type MarkMultiServiceBookingAsPendingApplicationErrors as MarkMultiServiceBookingAsPendingApplicationErrorsOriginal, type MarkMultiServiceBookingAsPendingRequest as MarkMultiServiceBookingAsPendingRequestOriginal, type MarkMultiServiceBookingAsPendingResponse as MarkMultiServiceBookingAsPendingResponseOriginal, type MaskedBooking as MaskedBookingOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MigrationCheckIfClashesWithBlockedTimeRequest as MigrationCheckIfClashesWithBlockedTimeRequestOriginal, type MigrationCheckIfClashesWithBlockedTimeResponse as MigrationCheckIfClashesWithBlockedTimeResponseOriginal, type MsidAndBookingId as MsidAndBookingIdOriginal, type MultiServiceBookingInfo as MultiServiceBookingInfoOriginal, type MultiServiceBookingMetadata as MultiServiceBookingMetadataOriginal, type MultiServiceBooking as MultiServiceBookingOriginal, MultiServiceBookingType as MultiServiceBookingTypeOriginal, type MultiServiceBookingTypeWithLiterals as MultiServiceBookingTypeWithLiteralsOriginal, type NumberOfParticipantsUpdated as NumberOfParticipantsUpdatedOriginal, type NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf as NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOfOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type ParticipantChoices as ParticipantChoicesOriginal, type ParticipantNotification as ParticipantNotificationOriginal, PaymentStatus as PaymentStatusOriginal, type PaymentStatusWithLiterals as PaymentStatusWithLiteralsOriginal, type PhoneCall as PhoneCallOriginal, Platform as PlatformOriginal, type PlatformWithLiterals as PlatformWithLiteralsOriginal, type QueryBookingsRequest as QueryBookingsRequestOriginal, type QueryBookingsResponse as QueryBookingsResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, type RemoveBookingsFromMultiServiceBookingApplicationErrors as RemoveBookingsFromMultiServiceBookingApplicationErrorsOriginal, type RemoveBookingsFromMultiServiceBookingRequest as RemoveBookingsFromMultiServiceBookingRequestOriginal, type RemoveBookingsFromMultiServiceBookingResponse as RemoveBookingsFromMultiServiceBookingResponseOriginal, type RescheduleBookingAnonymouslyRequest as RescheduleBookingAnonymouslyRequestOriginal, type RescheduleBookingAnonymouslyResponse as RescheduleBookingAnonymouslyResponseOriginal, type RescheduleBookingApplicationErrors as RescheduleBookingApplicationErrorsOriginal, type RescheduleBookingFlowControlSettings as RescheduleBookingFlowControlSettingsOriginal, type RescheduleBookingInfo as RescheduleBookingInfoOriginal, type RescheduleBookingInfoParticipantsInfoOneOf as RescheduleBookingInfoParticipantsInfoOneOfOriginal, type RescheduleBookingRequestFlowControlSettings as RescheduleBookingRequestFlowControlSettingsOriginal, type RescheduleBookingRequest as RescheduleBookingRequestOriginal, type RescheduleBookingRequestParticipantsInfoOneOf as RescheduleBookingRequestParticipantsInfoOneOfOriginal, type RescheduleBookingResponse as RescheduleBookingResponseOriginal, type RescheduleMultiServiceBookingApplicationErrors as RescheduleMultiServiceBookingApplicationErrorsOriginal, type RescheduleMultiServiceBookingRequest as RescheduleMultiServiceBookingRequestOriginal, type RescheduleMultiServiceBookingResponse as RescheduleMultiServiceBookingResponseOriginal, type ResourceSelection as ResourceSelectionOriginal, type RestoreInfo as RestoreInfoOriginal, type ScheduleAvailability as ScheduleAvailabilityOriginal, SelectedPaymentOption as SelectedPaymentOptionOriginal, type SelectedPaymentOptionWithLiterals as SelectedPaymentOptionWithLiteralsOriginal, SelectionMethod as SelectionMethodOriginal, type SelectionMethodWithLiterals as SelectionMethodWithLiteralsOriginal, type ServiceChoiceChoiceOneOf as ServiceChoiceChoiceOneOfOriginal, type ServiceChoice as ServiceChoiceOriginal, type ServiceChoices as ServiceChoicesOriginal, type SetBookingSessionIdRequest as SetBookingSessionIdRequestOriginal, type SetBookingSessionIdResponse as SetBookingSessionIdResponseOriginal, type SetBookingSubmissionIdApplicationErrors as SetBookingSubmissionIdApplicationErrorsOriginal, type SetBookingSubmissionIdRequest as SetBookingSubmissionIdRequestOriginal, type SetBookingSubmissionIdResponse as SetBookingSubmissionIdResponseOriginal, type SlotAvailability as SlotAvailabilityOriginal, type SlotBookings as SlotBookingsOriginal, type SlotLocation as SlotLocationOriginal, type Slot as SlotOriginal, type SlotResource as SlotResourceOriginal, type SlotSlotResource as SlotSlotResourceOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type StreetAddress as StreetAddressOriginal, type Subdivision as SubdivisionOriginal, type UpdateBookingRequest as UpdateBookingRequestOriginal, type UpdateBookingResponse as UpdateBookingResponseOriginal, type UpdateExtendedFieldsApplicationErrors as UpdateExtendedFieldsApplicationErrorsOriginal, type UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal, type UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal, type UpdateNumberOfParticipantsRequest as UpdateNumberOfParticipantsRequestOriginal, type UpdateNumberOfParticipantsRequestParticipantsInfoOneOf as UpdateNumberOfParticipantsRequestParticipantsInfoOneOfOriginal, type UpdateNumberOfParticipantsResponse as UpdateNumberOfParticipantsResponseOriginal, type V2CancelBookingRequest as V2CancelBookingRequestOriginal, type V2CancelBookingResponse as V2CancelBookingResponseOriginal, type V2ConfirmBookingRequest as V2ConfirmBookingRequestOriginal, type V2ConfirmBookingResponse as V2ConfirmBookingResponseOriginal, type V2CreateBookingRequestBookableItemOneOf as V2CreateBookingRequestBookableItemOneOfOriginal, type V2CreateBookingRequest as V2CreateBookingRequestOriginal, type V2CreateBookingRequestParticipantsInfoOneOf as V2CreateBookingRequestParticipantsInfoOneOfOriginal, type V2CreateBookingResponse as V2CreateBookingResponseOriginal, type V2DeclineBookingRequest as V2DeclineBookingRequestOriginal, type V2DeclineBookingResponse as V2DeclineBookingResponseOriginal, type V2PhoneCall as V2PhoneCallOriginal, type V2RescheduleBookingRequest as V2RescheduleBookingRequestOriginal, type V2RescheduleBookingRequestParticipantsInfoOneOf as V2RescheduleBookingRequestParticipantsInfoOneOfOriginal, type V2RescheduleBookingResponse as V2RescheduleBookingResponseOriginal, type V2Slot as V2SlotOriginal, type V2UpdateNumberOfParticipantsRequest as V2UpdateNumberOfParticipantsRequestOriginal, type V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf as V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOfOriginal, type V2UpdateNumberOfParticipantsResponse as V2UpdateNumberOfParticipantsResponseOriginal, ValueType as ValueTypeOriginal, type ValueTypeWithLiterals as ValueTypeWithLiteralsOriginal, type WaitingList as WaitingListOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WebhooksIdentificationDataIdOneOf as WebhooksIdentificationDataIdOneOfOriginal, type WebhooksIdentificationData as WebhooksIdentificationDataOriginal, type __PublicMethodMetaInfo, addBookingsToMultiServiceBooking, bulkConfirmOrDeclineBooking, bulkCreateBooking, bulkGetMultiServiceBookingAllowedActions, cancelBooking, cancelBookingAnonymously, cancelMultiServiceBooking, confirmBooking, confirmMultiServiceBooking, confirmOrDeclineBooking, createBooking, createMultiServiceBooking, declineBooking, declineMultiServiceBooking, getAnonymousActionDetails, getBookingAnonymously, getMultiServiceBooking, getMultiServiceBookingAvailability, markBookingAsPending, markMultiServiceBookingAsPending, removeBookingsFromMultiServiceBooking, rescheduleBooking, rescheduleBookingAnonymously, rescheduleMultiServiceBooking, setBookingSubmissionId, updateExtendedFields, updateNumberOfParticipants };
|