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