@wix/auto_sdk_bookings_bookings 1.0.107 → 1.0.109
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 +83 -83
- package/build/cjs/index.js +211 -211
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +386 -371
- package/build/cjs/index.typings.js +193 -193
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +266 -251
- package/build/cjs/meta.js +171 -171
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +83 -83
- package/build/es/index.mjs +211 -211
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +386 -371
- package/build/es/index.typings.mjs +193 -193
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +266 -251
- package/build/es/meta.mjs +171 -171
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +83 -83
- package/build/internal/cjs/index.js +211 -211
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +378 -385
- package/build/internal/cjs/index.typings.js +193 -193
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +266 -251
- package/build/internal/cjs/meta.js +171 -171
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +83 -83
- package/build/internal/es/index.mjs +211 -211
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +378 -385
- package/build/internal/es/index.typings.mjs +193 -193
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +266 -251
- package/build/internal/es/meta.mjs +171 -171
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -301,13 +301,9 @@ interface BookedSlot {
|
|
|
301
301
|
/** Location where the session takes place. */
|
|
302
302
|
location?: Location;
|
|
303
303
|
/**
|
|
304
|
-
*
|
|
305
|
-
*
|
|
306
|
-
*
|
|
307
|
-
* - `SPECIFIC_RESOURCE`: The customer explicitly chose a particular staff member or resource.
|
|
308
|
-
* - `ANY_RESOURCE`: The customer chose any available resource of that type.
|
|
309
|
-
* - `NO_SELECTION`: The customer made no selection for this resource type.
|
|
310
|
-
* @internal
|
|
304
|
+
* Information about how the customer has selected resources for the booking.
|
|
305
|
+
* Each resource type may have a different selection method.
|
|
306
|
+
* Check `resource` for resource details.
|
|
311
307
|
* @maxSize 3
|
|
312
308
|
*/
|
|
313
309
|
resourceSelections?: ResourceSelection[];
|
|
@@ -372,20 +368,21 @@ interface V2PhoneCall {
|
|
|
372
368
|
}
|
|
373
369
|
interface ResourceSelection {
|
|
374
370
|
/**
|
|
375
|
-
*
|
|
371
|
+
* ID of the [resource type](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).
|
|
376
372
|
* @format GUID
|
|
377
373
|
*/
|
|
378
374
|
resourceTypeId?: string | null;
|
|
379
|
-
/**
|
|
375
|
+
/** Information about how the customer has selected the resource for this resource type. */
|
|
380
376
|
selectionMethod?: SelectionMethodWithLiterals;
|
|
381
377
|
}
|
|
382
378
|
declare enum SelectionMethod {
|
|
379
|
+
/** There is no information about the resource selection method for this resource type. */
|
|
383
380
|
UNKNOWN_SELECTION_METHOD = "UNKNOWN_SELECTION_METHOD",
|
|
384
|
-
/**
|
|
381
|
+
/** The customer explicitly chose a particular resource. */
|
|
385
382
|
SPECIFIC_RESOURCE = "SPECIFIC_RESOURCE",
|
|
386
|
-
/**
|
|
383
|
+
/** The customer explicitly chose "any available resource" for this resource type. */
|
|
387
384
|
ANY_RESOURCE = "ANY_RESOURCE",
|
|
388
|
-
/**
|
|
385
|
+
/** The customer wasn't offered a resource selection or agreement option for this resource type. */
|
|
389
386
|
NO_SELECTION = "NO_SELECTION"
|
|
390
387
|
}
|
|
391
388
|
/** @enumType */
|
|
@@ -887,6 +884,229 @@ interface BookingFormFilled {
|
|
|
887
884
|
*/
|
|
888
885
|
formId?: string | null;
|
|
889
886
|
}
|
|
887
|
+
interface ConfirmOrDeclineBookingRequest {
|
|
888
|
+
/**
|
|
889
|
+
* ID of the booking to confirm or decline.
|
|
890
|
+
* @format GUID
|
|
891
|
+
*/
|
|
892
|
+
bookingId: string;
|
|
893
|
+
/**
|
|
894
|
+
* Current payment status of the booking when using a custom checkout page and
|
|
895
|
+
* not the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
896
|
+
*
|
|
897
|
+
* The booking is declined if there is a double booking conflict and you provide
|
|
898
|
+
* one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
|
|
899
|
+
*/
|
|
900
|
+
paymentStatus?: PaymentStatusWithLiterals;
|
|
901
|
+
}
|
|
902
|
+
interface ConfirmOrDeclineBookingResponse {
|
|
903
|
+
/** Updated booking. */
|
|
904
|
+
booking?: Booking;
|
|
905
|
+
}
|
|
906
|
+
interface BulkConfirmOrDeclineBookingRequest {
|
|
907
|
+
/**
|
|
908
|
+
* Bookings to confirm or decline.
|
|
909
|
+
* @minSize 1
|
|
910
|
+
* @maxSize 300
|
|
911
|
+
*/
|
|
912
|
+
details: BulkConfirmOrDeclineBookingRequestBookingDetails[];
|
|
913
|
+
/** Whether to return the confirmed or declined booking objects. */
|
|
914
|
+
returnEntity?: boolean;
|
|
915
|
+
}
|
|
916
|
+
interface BulkConfirmOrDeclineBookingRequestBookingDetails {
|
|
917
|
+
/**
|
|
918
|
+
* ID of the booking to confirm or decline.
|
|
919
|
+
* @format GUID
|
|
920
|
+
*/
|
|
921
|
+
bookingId?: string;
|
|
922
|
+
/**
|
|
923
|
+
* Current payment status of the booking when using a custom checkout page and
|
|
924
|
+
* not the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
925
|
+
*
|
|
926
|
+
* The booking is declined if there is a double booking conflict and you provide
|
|
927
|
+
* one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
|
|
928
|
+
*/
|
|
929
|
+
paymentStatus?: PaymentStatusWithLiterals;
|
|
930
|
+
}
|
|
931
|
+
interface BulkConfirmOrDeclineBookingResponse {
|
|
932
|
+
/** List of confirmed or declined bookings, including metadata. */
|
|
933
|
+
results?: BulkBookingResult[];
|
|
934
|
+
/** Total successes and failures of the Bulk Confirm Or Decline call. */
|
|
935
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
936
|
+
}
|
|
937
|
+
interface BulkBookingResult {
|
|
938
|
+
/**
|
|
939
|
+
* Information about the booking that was created or updated.
|
|
940
|
+
* Including its ID, index in the bulk request and whether it was
|
|
941
|
+
* successfully created or updated.
|
|
942
|
+
*/
|
|
943
|
+
itemMetadata?: ItemMetadata;
|
|
944
|
+
/**
|
|
945
|
+
* Created or updated booking. Available only if you requested
|
|
946
|
+
* to return the booking entity.
|
|
947
|
+
*/
|
|
948
|
+
item?: Booking;
|
|
949
|
+
}
|
|
950
|
+
interface ItemMetadata {
|
|
951
|
+
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
952
|
+
_id?: string | null;
|
|
953
|
+
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
954
|
+
originalIndex?: number;
|
|
955
|
+
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
956
|
+
success?: boolean;
|
|
957
|
+
/** Details about the error in case of failure. */
|
|
958
|
+
error?: ApplicationError;
|
|
959
|
+
}
|
|
960
|
+
interface ApplicationError {
|
|
961
|
+
/** Error code. */
|
|
962
|
+
code?: string;
|
|
963
|
+
/** Description of the error. */
|
|
964
|
+
description?: string;
|
|
965
|
+
/** Data related to the error. */
|
|
966
|
+
data?: Record<string, any> | null;
|
|
967
|
+
}
|
|
968
|
+
interface BulkActionMetadata {
|
|
969
|
+
/** Number of items that were successfully processed. */
|
|
970
|
+
totalSuccesses?: number;
|
|
971
|
+
/** Number of items that couldn't be processed. */
|
|
972
|
+
totalFailures?: number;
|
|
973
|
+
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
974
|
+
undetailedFailures?: number;
|
|
975
|
+
}
|
|
976
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
977
|
+
createdEvent?: EntityCreatedEvent;
|
|
978
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
979
|
+
deletedEvent?: EntityDeletedEvent;
|
|
980
|
+
actionEvent?: ActionEvent;
|
|
981
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
982
|
+
_id?: string;
|
|
983
|
+
/**
|
|
984
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
985
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
986
|
+
*/
|
|
987
|
+
entityFqdn?: string;
|
|
988
|
+
/**
|
|
989
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
990
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
991
|
+
*/
|
|
992
|
+
slug?: string;
|
|
993
|
+
/** ID of the entity associated with the event. */
|
|
994
|
+
entityId?: string;
|
|
995
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
996
|
+
eventTime?: Date | null;
|
|
997
|
+
/**
|
|
998
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
999
|
+
* (for example, GDPR).
|
|
1000
|
+
*/
|
|
1001
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
1002
|
+
/** If present, indicates the action that triggered the event. */
|
|
1003
|
+
originatedFrom?: string | null;
|
|
1004
|
+
/**
|
|
1005
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
1006
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
1007
|
+
*/
|
|
1008
|
+
entityEventSequence?: string | null;
|
|
1009
|
+
}
|
|
1010
|
+
/** @oneof */
|
|
1011
|
+
interface DomainEventBodyOneOf {
|
|
1012
|
+
createdEvent?: EntityCreatedEvent;
|
|
1013
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
1014
|
+
deletedEvent?: EntityDeletedEvent;
|
|
1015
|
+
actionEvent?: ActionEvent;
|
|
1016
|
+
}
|
|
1017
|
+
interface EntityCreatedEvent {
|
|
1018
|
+
entity?: string;
|
|
1019
|
+
}
|
|
1020
|
+
interface RestoreInfo {
|
|
1021
|
+
deletedDate?: Date | null;
|
|
1022
|
+
}
|
|
1023
|
+
interface EntityUpdatedEvent {
|
|
1024
|
+
/**
|
|
1025
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
1026
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
1027
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
1028
|
+
*/
|
|
1029
|
+
currentEntity?: string;
|
|
1030
|
+
}
|
|
1031
|
+
interface EntityDeletedEvent {
|
|
1032
|
+
/** Entity that was deleted. */
|
|
1033
|
+
deletedEntity?: string | null;
|
|
1034
|
+
}
|
|
1035
|
+
interface ActionEvent {
|
|
1036
|
+
body?: string;
|
|
1037
|
+
}
|
|
1038
|
+
interface MessageEnvelope {
|
|
1039
|
+
/**
|
|
1040
|
+
* App instance ID.
|
|
1041
|
+
* @format GUID
|
|
1042
|
+
*/
|
|
1043
|
+
instanceId?: string | null;
|
|
1044
|
+
/**
|
|
1045
|
+
* Event type.
|
|
1046
|
+
* @maxLength 150
|
|
1047
|
+
*/
|
|
1048
|
+
eventType?: string;
|
|
1049
|
+
/** The identification type and identity data. */
|
|
1050
|
+
identity?: WebhooksIdentificationData;
|
|
1051
|
+
/** Stringify payload. */
|
|
1052
|
+
data?: string;
|
|
1053
|
+
}
|
|
1054
|
+
interface WebhooksIdentificationData extends WebhooksIdentificationDataIdOneOf {
|
|
1055
|
+
/**
|
|
1056
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1057
|
+
* @format GUID
|
|
1058
|
+
*/
|
|
1059
|
+
anonymousVisitorId?: string;
|
|
1060
|
+
/**
|
|
1061
|
+
* ID of a site visitor that has logged in to the site.
|
|
1062
|
+
* @format GUID
|
|
1063
|
+
*/
|
|
1064
|
+
memberId?: string;
|
|
1065
|
+
/**
|
|
1066
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
1067
|
+
* @format GUID
|
|
1068
|
+
*/
|
|
1069
|
+
wixUserId?: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* ID of an app.
|
|
1072
|
+
* @format GUID
|
|
1073
|
+
*/
|
|
1074
|
+
appId?: string;
|
|
1075
|
+
/** @readonly */
|
|
1076
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
1077
|
+
}
|
|
1078
|
+
/** @oneof */
|
|
1079
|
+
interface WebhooksIdentificationDataIdOneOf {
|
|
1080
|
+
/**
|
|
1081
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1082
|
+
* @format GUID
|
|
1083
|
+
*/
|
|
1084
|
+
anonymousVisitorId?: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* ID of a site visitor that has logged in to the site.
|
|
1087
|
+
* @format GUID
|
|
1088
|
+
*/
|
|
1089
|
+
memberId?: string;
|
|
1090
|
+
/**
|
|
1091
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
1092
|
+
* @format GUID
|
|
1093
|
+
*/
|
|
1094
|
+
wixUserId?: string;
|
|
1095
|
+
/**
|
|
1096
|
+
* ID of an app.
|
|
1097
|
+
* @format GUID
|
|
1098
|
+
*/
|
|
1099
|
+
appId?: string;
|
|
1100
|
+
}
|
|
1101
|
+
declare enum WebhookIdentityType {
|
|
1102
|
+
UNKNOWN = "UNKNOWN",
|
|
1103
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1104
|
+
MEMBER = "MEMBER",
|
|
1105
|
+
WIX_USER = "WIX_USER",
|
|
1106
|
+
APP = "APP"
|
|
1107
|
+
}
|
|
1108
|
+
/** @enumType */
|
|
1109
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
890
1110
|
interface V2CreateBookingRequest extends V2CreateBookingRequestBookableItemOneOf, V2CreateBookingRequestParticipantsInfoOneOf {
|
|
891
1111
|
/**
|
|
892
1112
|
* Information about the slot to create a booking for.
|
|
@@ -1270,140 +1490,6 @@ interface V2UpdateNumberOfParticipantsResponse {
|
|
|
1270
1490
|
/** Booking with updated number of participants. */
|
|
1271
1491
|
booking?: Booking;
|
|
1272
1492
|
}
|
|
1273
|
-
interface DomainEvent extends DomainEventBodyOneOf {
|
|
1274
|
-
createdEvent?: EntityCreatedEvent;
|
|
1275
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
1276
|
-
deletedEvent?: EntityDeletedEvent;
|
|
1277
|
-
actionEvent?: ActionEvent;
|
|
1278
|
-
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
1279
|
-
_id?: string;
|
|
1280
|
-
/**
|
|
1281
|
-
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
1282
|
-
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
1283
|
-
*/
|
|
1284
|
-
entityFqdn?: string;
|
|
1285
|
-
/**
|
|
1286
|
-
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
1287
|
-
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
1288
|
-
*/
|
|
1289
|
-
slug?: string;
|
|
1290
|
-
/** ID of the entity associated with the event. */
|
|
1291
|
-
entityId?: string;
|
|
1292
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
1293
|
-
eventTime?: Date | null;
|
|
1294
|
-
/**
|
|
1295
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
1296
|
-
* (for example, GDPR).
|
|
1297
|
-
*/
|
|
1298
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
1299
|
-
/** If present, indicates the action that triggered the event. */
|
|
1300
|
-
originatedFrom?: string | null;
|
|
1301
|
-
/**
|
|
1302
|
-
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
1303
|
-
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
1304
|
-
*/
|
|
1305
|
-
entityEventSequence?: string | null;
|
|
1306
|
-
}
|
|
1307
|
-
/** @oneof */
|
|
1308
|
-
interface DomainEventBodyOneOf {
|
|
1309
|
-
createdEvent?: EntityCreatedEvent;
|
|
1310
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
1311
|
-
deletedEvent?: EntityDeletedEvent;
|
|
1312
|
-
actionEvent?: ActionEvent;
|
|
1313
|
-
}
|
|
1314
|
-
interface EntityCreatedEvent {
|
|
1315
|
-
entity?: string;
|
|
1316
|
-
}
|
|
1317
|
-
interface RestoreInfo {
|
|
1318
|
-
deletedDate?: Date | null;
|
|
1319
|
-
}
|
|
1320
|
-
interface EntityUpdatedEvent {
|
|
1321
|
-
/**
|
|
1322
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
1323
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
1324
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
1325
|
-
*/
|
|
1326
|
-
currentEntity?: string;
|
|
1327
|
-
}
|
|
1328
|
-
interface EntityDeletedEvent {
|
|
1329
|
-
/** Entity that was deleted. */
|
|
1330
|
-
deletedEntity?: string | null;
|
|
1331
|
-
}
|
|
1332
|
-
interface ActionEvent {
|
|
1333
|
-
body?: string;
|
|
1334
|
-
}
|
|
1335
|
-
interface MessageEnvelope {
|
|
1336
|
-
/**
|
|
1337
|
-
* App instance ID.
|
|
1338
|
-
* @format GUID
|
|
1339
|
-
*/
|
|
1340
|
-
instanceId?: string | null;
|
|
1341
|
-
/**
|
|
1342
|
-
* Event type.
|
|
1343
|
-
* @maxLength 150
|
|
1344
|
-
*/
|
|
1345
|
-
eventType?: string;
|
|
1346
|
-
/** The identification type and identity data. */
|
|
1347
|
-
identity?: WebhooksIdentificationData;
|
|
1348
|
-
/** Stringify payload. */
|
|
1349
|
-
data?: string;
|
|
1350
|
-
}
|
|
1351
|
-
interface WebhooksIdentificationData extends WebhooksIdentificationDataIdOneOf {
|
|
1352
|
-
/**
|
|
1353
|
-
* ID of a site visitor that has not logged in to the site.
|
|
1354
|
-
* @format GUID
|
|
1355
|
-
*/
|
|
1356
|
-
anonymousVisitorId?: string;
|
|
1357
|
-
/**
|
|
1358
|
-
* ID of a site visitor that has logged in to the site.
|
|
1359
|
-
* @format GUID
|
|
1360
|
-
*/
|
|
1361
|
-
memberId?: string;
|
|
1362
|
-
/**
|
|
1363
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
1364
|
-
* @format GUID
|
|
1365
|
-
*/
|
|
1366
|
-
wixUserId?: string;
|
|
1367
|
-
/**
|
|
1368
|
-
* ID of an app.
|
|
1369
|
-
* @format GUID
|
|
1370
|
-
*/
|
|
1371
|
-
appId?: string;
|
|
1372
|
-
/** @readonly */
|
|
1373
|
-
identityType?: WebhookIdentityTypeWithLiterals;
|
|
1374
|
-
}
|
|
1375
|
-
/** @oneof */
|
|
1376
|
-
interface WebhooksIdentificationDataIdOneOf {
|
|
1377
|
-
/**
|
|
1378
|
-
* ID of a site visitor that has not logged in to the site.
|
|
1379
|
-
* @format GUID
|
|
1380
|
-
*/
|
|
1381
|
-
anonymousVisitorId?: string;
|
|
1382
|
-
/**
|
|
1383
|
-
* ID of a site visitor that has logged in to the site.
|
|
1384
|
-
* @format GUID
|
|
1385
|
-
*/
|
|
1386
|
-
memberId?: string;
|
|
1387
|
-
/**
|
|
1388
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
1389
|
-
* @format GUID
|
|
1390
|
-
*/
|
|
1391
|
-
wixUserId?: string;
|
|
1392
|
-
/**
|
|
1393
|
-
* ID of an app.
|
|
1394
|
-
* @format GUID
|
|
1395
|
-
*/
|
|
1396
|
-
appId?: string;
|
|
1397
|
-
}
|
|
1398
|
-
declare enum WebhookIdentityType {
|
|
1399
|
-
UNKNOWN = "UNKNOWN",
|
|
1400
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1401
|
-
MEMBER = "MEMBER",
|
|
1402
|
-
WIX_USER = "WIX_USER",
|
|
1403
|
-
APP = "APP"
|
|
1404
|
-
}
|
|
1405
|
-
/** @enumType */
|
|
1406
|
-
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1407
1493
|
interface CreateMultiServiceBookingRequest {
|
|
1408
1494
|
/**
|
|
1409
1495
|
* Between 2 to 8 new single-service booking specifications to create and combine in a multi-service booking.
|
|
@@ -1561,13 +1647,9 @@ interface V2Slot {
|
|
|
1561
1647
|
*/
|
|
1562
1648
|
eventId?: string | null;
|
|
1563
1649
|
/**
|
|
1564
|
-
*
|
|
1565
|
-
*
|
|
1566
|
-
*
|
|
1567
|
-
* - `SPECIFIC_RESOURCE`: The customer explicitly chose a particular staff member or resource.
|
|
1568
|
-
* - `ANY_RESOURCE`: The customer chose any available resource of that type.
|
|
1569
|
-
* - `NO_SELECTION`: The customer made no selection for this resource type.
|
|
1570
|
-
* @internal
|
|
1650
|
+
* Information about how the customer has selected resources for the booking.
|
|
1651
|
+
* Each resource type may have a different selection method.
|
|
1652
|
+
* Check `resource` for resource details.
|
|
1571
1653
|
* @maxSize 3
|
|
1572
1654
|
*/
|
|
1573
1655
|
resourceSelections?: ResourceSelection[];
|
|
@@ -2128,24 +2210,6 @@ interface BulkCalculateAllowedActionsResult {
|
|
|
2128
2210
|
/** Booking entity. */
|
|
2129
2211
|
item?: AllowedActions;
|
|
2130
2212
|
}
|
|
2131
|
-
interface ItemMetadata {
|
|
2132
|
-
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
2133
|
-
_id?: string | null;
|
|
2134
|
-
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
2135
|
-
originalIndex?: number;
|
|
2136
|
-
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
2137
|
-
success?: boolean;
|
|
2138
|
-
/** Details about the error in case of failure. */
|
|
2139
|
-
error?: ApplicationError;
|
|
2140
|
-
}
|
|
2141
|
-
interface ApplicationError {
|
|
2142
|
-
/** Error code. */
|
|
2143
|
-
code?: string;
|
|
2144
|
-
/** Description of the error. */
|
|
2145
|
-
description?: string;
|
|
2146
|
-
/** Data related to the error. */
|
|
2147
|
-
data?: Record<string, any> | null;
|
|
2148
|
-
}
|
|
2149
2213
|
/** Possible actions allowed for the booking. */
|
|
2150
2214
|
interface AllowedActions {
|
|
2151
2215
|
/** Whether canceling the booking is allowed. */
|
|
@@ -2153,14 +2217,6 @@ interface AllowedActions {
|
|
|
2153
2217
|
/** Whether rescheduling the booking is allowed. */
|
|
2154
2218
|
reschedule?: boolean;
|
|
2155
2219
|
}
|
|
2156
|
-
interface BulkActionMetadata {
|
|
2157
|
-
/** Number of items that were successfully processed. */
|
|
2158
|
-
totalSuccesses?: number;
|
|
2159
|
-
/** Number of items that couldn't be processed. */
|
|
2160
|
-
totalFailures?: number;
|
|
2161
|
-
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
2162
|
-
undetailedFailures?: number;
|
|
2163
|
-
}
|
|
2164
2220
|
interface GetMultiServiceBookingRequest {
|
|
2165
2221
|
/**
|
|
2166
2222
|
* ID of the multi-service booking.
|
|
@@ -2196,109 +2252,46 @@ interface AddBookingsToMultiServiceBookingRequest {
|
|
|
2196
2252
|
* Whether to return the single-service bookings that were added to the multi-service booking.
|
|
2197
2253
|
*
|
|
2198
2254
|
* Default: `false`
|
|
2199
|
-
*/
|
|
2200
|
-
returnFullEntity?: boolean;
|
|
2201
|
-
}
|
|
2202
|
-
interface BookingIdAndRevision {
|
|
2203
|
-
/**
|
|
2204
|
-
* ID of the single-service booking.
|
|
2205
|
-
* @format GUID
|
|
2206
|
-
*/
|
|
2207
|
-
bookingId?: string | null;
|
|
2208
|
-
/**
|
|
2209
|
-
* Revision number, which increments by 1 each time the booking is updated.
|
|
2210
|
-
* To prevent conflicting changes, the current revision must be specified when managing the booking.
|
|
2211
|
-
*/
|
|
2212
|
-
revision?: string | null;
|
|
2213
|
-
}
|
|
2214
|
-
interface AddBookingsToMultiServiceBookingResponse {
|
|
2215
|
-
/** Single-service bookings that were added to the multi-service booking. */
|
|
2216
|
-
bookings?: BookingResult[];
|
|
2217
|
-
}
|
|
2218
|
-
interface RemoveBookingsFromMultiServiceBookingRequest {
|
|
2219
|
-
/**
|
|
2220
|
-
* ID of the multi-service booking.
|
|
2221
|
-
* @format GUID
|
|
2222
|
-
*/
|
|
2223
|
-
multiServiceBookingId: string | null;
|
|
2224
|
-
/**
|
|
2225
|
-
* List of single-service booking IDs and their revision.
|
|
2226
|
-
* @maxSize 8
|
|
2227
|
-
*/
|
|
2228
|
-
bookings?: BookingIdAndRevision[];
|
|
2229
|
-
/**
|
|
2230
|
-
* Whether to return the single-service bookings.
|
|
2231
|
-
*
|
|
2232
|
-
* Default: `false`
|
|
2233
|
-
*/
|
|
2234
|
-
returnFullEntity?: boolean;
|
|
2235
|
-
}
|
|
2236
|
-
interface RemoveBookingsFromMultiServiceBookingResponse {
|
|
2237
|
-
/** Single-service bookings that were removed from the multi-service booking. */
|
|
2238
|
-
bookings?: BookingResult[];
|
|
2239
|
-
}
|
|
2240
|
-
interface ConfirmOrDeclineBookingRequest {
|
|
2241
|
-
/**
|
|
2242
|
-
* ID of the booking to confirm or decline.
|
|
2243
|
-
* @format GUID
|
|
2244
|
-
*/
|
|
2245
|
-
bookingId: string;
|
|
2246
|
-
/**
|
|
2247
|
-
* Current payment status of the booking when using a custom checkout page and
|
|
2248
|
-
* not the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
2249
|
-
*
|
|
2250
|
-
* The booking is declined if there is a double booking conflict and you provide
|
|
2251
|
-
* one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
|
|
2252
|
-
*/
|
|
2253
|
-
paymentStatus?: PaymentStatusWithLiterals;
|
|
2254
|
-
}
|
|
2255
|
-
interface ConfirmOrDeclineBookingResponse {
|
|
2256
|
-
/** Updated booking. */
|
|
2257
|
-
booking?: Booking;
|
|
2258
|
-
}
|
|
2259
|
-
interface BulkConfirmOrDeclineBookingRequest {
|
|
2260
|
-
/**
|
|
2261
|
-
* Bookings to confirm or decline.
|
|
2262
|
-
* @minSize 1
|
|
2263
|
-
* @maxSize 300
|
|
2264
|
-
*/
|
|
2265
|
-
details: BulkConfirmOrDeclineBookingRequestBookingDetails[];
|
|
2266
|
-
/** Whether to return the confirmed or declined booking objects. */
|
|
2267
|
-
returnEntity?: boolean;
|
|
2255
|
+
*/
|
|
2256
|
+
returnFullEntity?: boolean;
|
|
2268
2257
|
}
|
|
2269
|
-
interface
|
|
2258
|
+
interface BookingIdAndRevision {
|
|
2270
2259
|
/**
|
|
2271
|
-
* ID of the booking
|
|
2260
|
+
* ID of the single-service booking.
|
|
2272
2261
|
* @format GUID
|
|
2273
2262
|
*/
|
|
2274
|
-
bookingId?: string;
|
|
2263
|
+
bookingId?: string | null;
|
|
2275
2264
|
/**
|
|
2276
|
-
*
|
|
2277
|
-
*
|
|
2278
|
-
*
|
|
2279
|
-
* The booking is declined if there is a double booking conflict and you provide
|
|
2280
|
-
* one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
|
|
2265
|
+
* Revision number, which increments by 1 each time the booking is updated.
|
|
2266
|
+
* To prevent conflicting changes, the current revision must be specified when managing the booking.
|
|
2281
2267
|
*/
|
|
2282
|
-
|
|
2268
|
+
revision?: string | null;
|
|
2283
2269
|
}
|
|
2284
|
-
interface
|
|
2285
|
-
/**
|
|
2286
|
-
|
|
2287
|
-
/** Total successes and failures of the Bulk Confirm Or Decline call. */
|
|
2288
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
2270
|
+
interface AddBookingsToMultiServiceBookingResponse {
|
|
2271
|
+
/** Single-service bookings that were added to the multi-service booking. */
|
|
2272
|
+
bookings?: BookingResult[];
|
|
2289
2273
|
}
|
|
2290
|
-
interface
|
|
2274
|
+
interface RemoveBookingsFromMultiServiceBookingRequest {
|
|
2291
2275
|
/**
|
|
2292
|
-
*
|
|
2293
|
-
*
|
|
2294
|
-
* successfully created or updated.
|
|
2276
|
+
* ID of the multi-service booking.
|
|
2277
|
+
* @format GUID
|
|
2295
2278
|
*/
|
|
2296
|
-
|
|
2279
|
+
multiServiceBookingId: string | null;
|
|
2297
2280
|
/**
|
|
2298
|
-
*
|
|
2299
|
-
*
|
|
2281
|
+
* List of single-service booking IDs and their revision.
|
|
2282
|
+
* @maxSize 8
|
|
2300
2283
|
*/
|
|
2301
|
-
|
|
2284
|
+
bookings?: BookingIdAndRevision[];
|
|
2285
|
+
/**
|
|
2286
|
+
* Whether to return the single-service bookings.
|
|
2287
|
+
*
|
|
2288
|
+
* Default: `false`
|
|
2289
|
+
*/
|
|
2290
|
+
returnFullEntity?: boolean;
|
|
2291
|
+
}
|
|
2292
|
+
interface RemoveBookingsFromMultiServiceBookingResponse {
|
|
2293
|
+
/** Single-service bookings that were removed from the multi-service booking. */
|
|
2294
|
+
bookings?: BookingResult[];
|
|
2302
2295
|
}
|
|
2303
2296
|
interface BookingChanged {
|
|
2304
2297
|
/** The booking before the changes. */
|
|
@@ -3181,6 +3174,22 @@ interface AllowedActionsAnonymously {
|
|
|
3181
3174
|
reschedule?: boolean;
|
|
3182
3175
|
}
|
|
3183
3176
|
/** @docsIgnore */
|
|
3177
|
+
type ConfirmOrDeclineBookingApplicationErrors = {
|
|
3178
|
+
code?: 'INVALID_BOOKING_STATUS';
|
|
3179
|
+
description?: string;
|
|
3180
|
+
data?: Record<string, any>;
|
|
3181
|
+
} | {
|
|
3182
|
+
code?: 'BOOKING_NOT_FOUND';
|
|
3183
|
+
description?: string;
|
|
3184
|
+
data?: Record<string, any>;
|
|
3185
|
+
};
|
|
3186
|
+
/** @docsIgnore */
|
|
3187
|
+
type BulkConfirmOrDeclineBookingApplicationErrors = {
|
|
3188
|
+
code?: 'DUPLICATED_BOOKINGS';
|
|
3189
|
+
description?: string;
|
|
3190
|
+
data?: Record<string, any>;
|
|
3191
|
+
};
|
|
3192
|
+
/** @docsIgnore */
|
|
3184
3193
|
type CreateMultiServiceBookingApplicationErrors = {
|
|
3185
3194
|
code?: 'VALIDATION_FAILURE';
|
|
3186
3195
|
description?: string;
|
|
@@ -3451,22 +3460,6 @@ type RemoveBookingsFromMultiServiceBookingApplicationErrors = {
|
|
|
3451
3460
|
data?: Record<string, any>;
|
|
3452
3461
|
};
|
|
3453
3462
|
/** @docsIgnore */
|
|
3454
|
-
type ConfirmOrDeclineBookingApplicationErrors = {
|
|
3455
|
-
code?: 'INVALID_BOOKING_STATUS';
|
|
3456
|
-
description?: string;
|
|
3457
|
-
data?: Record<string, any>;
|
|
3458
|
-
} | {
|
|
3459
|
-
code?: 'BOOKING_NOT_FOUND';
|
|
3460
|
-
description?: string;
|
|
3461
|
-
data?: Record<string, any>;
|
|
3462
|
-
};
|
|
3463
|
-
/** @docsIgnore */
|
|
3464
|
-
type BulkConfirmOrDeclineBookingApplicationErrors = {
|
|
3465
|
-
code?: 'DUPLICATED_BOOKINGS';
|
|
3466
|
-
description?: string;
|
|
3467
|
-
data?: Record<string, any>;
|
|
3468
|
-
};
|
|
3469
|
-
/** @docsIgnore */
|
|
3470
3463
|
type CreateBookingApplicationErrors = {
|
|
3471
3464
|
code?: 'SESSION_NOT_FOUND';
|
|
3472
3465
|
description?: string;
|
|
@@ -3987,6 +3980,94 @@ interface BookingNumberOfParticipantsUpdatedEnvelope {
|
|
|
3987
3980
|
* @slug number_of_participants_updated
|
|
3988
3981
|
*/
|
|
3989
3982
|
declare function onBookingNumberOfParticipantsUpdated(handler: (event: BookingNumberOfParticipantsUpdatedEnvelope) => void | Promise<void>): void;
|
|
3983
|
+
/**
|
|
3984
|
+
* Updates the booking `status` to `CONFIRMED`, `PENDING`, or `DECLINED` based
|
|
3985
|
+
* on the `paymentStatus` you provide, double booking conflicts, and whether
|
|
3986
|
+
* the service requires business approval.
|
|
3987
|
+
*
|
|
3988
|
+
* ### eCommerce checkout restriction
|
|
3989
|
+
*
|
|
3990
|
+
* Call this method only when using a custom checkout page.
|
|
3991
|
+
* Don't call it when using a [Wix eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
3992
|
+
* In such cases, Wix Bookings automatically updates the booking status based on the `paymentStatus` of the corresponding [Wix eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction).
|
|
3993
|
+
*
|
|
3994
|
+
* ### When to call Confirm Booking or Decline Booking instead
|
|
3995
|
+
*
|
|
3996
|
+
* This method has specific limitations based on payment status and double booking conflicts.
|
|
3997
|
+
* Use the alternative methods in these scenarios:
|
|
3998
|
+
* + **To force confirm double-booked free bookings:** Call [Confirm Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-booking).
|
|
3999
|
+
* Confirm Or Decline Booking can't confirm double-booked free bookings.
|
|
4000
|
+
* + **To decline bookings without double booking conflicts:** Call [Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/decline-booking).
|
|
4001
|
+
* Confirm Or Decline Booking only declines bookings when both a double booking conflict exists and payment status is unpaid.
|
|
4002
|
+
*
|
|
4003
|
+
* ### New booking status
|
|
4004
|
+
*
|
|
4005
|
+
* The booking `status` is set to `DECLINED` if both of the following conditions
|
|
4006
|
+
* are met:
|
|
4007
|
+
* + You provide `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT` as payment status.
|
|
4008
|
+
* + There is a double booking conflict.
|
|
4009
|
+
*
|
|
4010
|
+
* If only one or none of these conditions is met, `status` is set to `PENDING`
|
|
4011
|
+
* or `CONFIRMED` depending on whether the service requires business approval.
|
|
4012
|
+
*
|
|
4013
|
+
* ### Double bookings
|
|
4014
|
+
*
|
|
4015
|
+
* If there is a double booking conflict, but the booking has already been at least
|
|
4016
|
+
* partially paid, the method still marks the booking as `PENDING` or `CONFIRMED`.
|
|
4017
|
+
* Then, it also sets `doubleBooked` to `true`.
|
|
4018
|
+
*
|
|
4019
|
+
* ### Admin overwrites
|
|
4020
|
+
*
|
|
4021
|
+
* There are small but important differences in confirmation behavior if the
|
|
4022
|
+
* booking was created with special `flowControlSettings`:
|
|
4023
|
+
* + If the booking's `flowControlSettings.skipAvailabilityValidation` was set to
|
|
4024
|
+
* `true`, the booking is never declined regardless of double booking conflicts.
|
|
4025
|
+
* Instead, it's marked `CONFIRMED` or `PENDING`, depending on whether the
|
|
4026
|
+
* service requires business approval.
|
|
4027
|
+
* + If the booking's `flowControlSettings.skipBusinessConfirmation` was set to
|
|
4028
|
+
* `true`, the booking skips `PENDING` status and is marked `CONFIRMED`
|
|
4029
|
+
* immediately.
|
|
4030
|
+
* @param bookingId - ID of the booking to confirm or decline.
|
|
4031
|
+
* @public
|
|
4032
|
+
* @requiredField bookingId
|
|
4033
|
+
* @permissionId BOOKINGS.BOOKING_CONFIRM_OR_DECLINE
|
|
4034
|
+
* @applicableIdentity APP
|
|
4035
|
+
* @fqn com.wixpress.bookings.confirmator.v2.Confirmator.ConfirmOrDeclineBooking
|
|
4036
|
+
*/
|
|
4037
|
+
declare function confirmOrDeclineBooking(bookingId: string, options?: ConfirmOrDeclineBookingOptions): Promise<NonNullablePaths<ConfirmOrDeclineBookingResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.slot.resourceSelections` | `booking.bookedEntity.slot.resourceSelections.${number}.selectionMethod` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7> & {
|
|
4038
|
+
__applicationErrorsType?: ConfirmOrDeclineBookingApplicationErrors;
|
|
4039
|
+
}>;
|
|
4040
|
+
interface ConfirmOrDeclineBookingOptions {
|
|
4041
|
+
/**
|
|
4042
|
+
* Current payment status of the booking when using a custom checkout page and
|
|
4043
|
+
* not the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
4044
|
+
*
|
|
4045
|
+
* The booking is declined if there is a double booking conflict and you provide
|
|
4046
|
+
* one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
|
|
4047
|
+
*/
|
|
4048
|
+
paymentStatus?: PaymentStatusWithLiterals;
|
|
4049
|
+
}
|
|
4050
|
+
/**
|
|
4051
|
+
* Confirms or declines up to 300 bookings.
|
|
4052
|
+
*
|
|
4053
|
+
*
|
|
4054
|
+
* See [Confirm Or Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking)
|
|
4055
|
+
* for details about when a booking is confirmed or declined.
|
|
4056
|
+
* @param details - Bookings to confirm or decline.
|
|
4057
|
+
* @public
|
|
4058
|
+
* @requiredField details
|
|
4059
|
+
* @requiredField details.bookingId
|
|
4060
|
+
* @permissionId BOOKINGS.BOOKING_CONFIRM_OR_DECLINE
|
|
4061
|
+
* @applicableIdentity APP
|
|
4062
|
+
* @fqn com.wixpress.bookings.confirmator.v2.Confirmator.BulkConfirmOrDeclineBooking
|
|
4063
|
+
*/
|
|
4064
|
+
declare function bulkConfirmOrDeclineBooking(details: NonNullablePaths<BulkConfirmOrDeclineBookingRequestBookingDetails, `bookingId`, 2>[], options?: BulkConfirmOrDeclineBookingOptions): Promise<NonNullablePaths<BulkConfirmOrDeclineBookingResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.totalParticipants` | `results.${number}.item.status` | `results.${number}.item.paymentStatus` | `results.${number}.item.selectedPaymentOption` | `results.${number}.item.createdBy.anonymousVisitorId` | `results.${number}.item.createdBy.memberId` | `results.${number}.item.createdBy.wixUserId` | `results.${number}.item.createdBy.appId` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6> & {
|
|
4065
|
+
__applicationErrorsType?: BulkConfirmOrDeclineBookingApplicationErrors;
|
|
4066
|
+
}>;
|
|
4067
|
+
interface BulkConfirmOrDeclineBookingOptions {
|
|
4068
|
+
/** Whether to return the confirmed or declined booking objects. */
|
|
4069
|
+
returnEntity?: boolean;
|
|
4070
|
+
}
|
|
3990
4071
|
/**
|
|
3991
4072
|
* Creates a multi-service booking and all included single-service bookings simultaneously.
|
|
3992
4073
|
*
|
|
@@ -4450,94 +4531,6 @@ interface RemoveBookingsFromMultiServiceBookingOptions {
|
|
|
4450
4531
|
*/
|
|
4451
4532
|
returnFullEntity?: boolean;
|
|
4452
4533
|
}
|
|
4453
|
-
/**
|
|
4454
|
-
* Updates the booking `status` to `CONFIRMED`, `PENDING`, or `DECLINED` based
|
|
4455
|
-
* on the `paymentStatus` you provide, double booking conflicts, and whether
|
|
4456
|
-
* the service requires business approval.
|
|
4457
|
-
*
|
|
4458
|
-
* ### eCommerce checkout restriction
|
|
4459
|
-
*
|
|
4460
|
-
* Call this method only when using a custom checkout page.
|
|
4461
|
-
* Don't call it when using a [Wix eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
4462
|
-
* In such cases, Wix Bookings automatically updates the booking status based on the `paymentStatus` of the corresponding [Wix eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction).
|
|
4463
|
-
*
|
|
4464
|
-
* ### When to call Confirm Booking or Decline Booking instead
|
|
4465
|
-
*
|
|
4466
|
-
* This method has specific limitations based on payment status and double booking conflicts.
|
|
4467
|
-
* Use the alternative methods in these scenarios:
|
|
4468
|
-
* + **To force confirm double-booked free bookings:** Call [Confirm Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-booking).
|
|
4469
|
-
* Confirm Or Decline Booking can't confirm double-booked free bookings.
|
|
4470
|
-
* + **To decline bookings without double booking conflicts:** Call [Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/decline-booking).
|
|
4471
|
-
* Confirm Or Decline Booking only declines bookings when both a double booking conflict exists and payment status is unpaid.
|
|
4472
|
-
*
|
|
4473
|
-
* ### New booking status
|
|
4474
|
-
*
|
|
4475
|
-
* The booking `status` is set to `DECLINED` if both of the following conditions
|
|
4476
|
-
* are met:
|
|
4477
|
-
* + You provide `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT` as payment status.
|
|
4478
|
-
* + There is a double booking conflict.
|
|
4479
|
-
*
|
|
4480
|
-
* If only one or none of these conditions is met, `status` is set to `PENDING`
|
|
4481
|
-
* or `CONFIRMED` depending on whether the service requires business approval.
|
|
4482
|
-
*
|
|
4483
|
-
* ### Double bookings
|
|
4484
|
-
*
|
|
4485
|
-
* If there is a double booking conflict, but the booking has already been at least
|
|
4486
|
-
* partially paid, the method still marks the booking as `PENDING` or `CONFIRMED`.
|
|
4487
|
-
* Then, it also sets `doubleBooked` to `true`.
|
|
4488
|
-
*
|
|
4489
|
-
* ### Admin overwrites
|
|
4490
|
-
*
|
|
4491
|
-
* There are small but important differences in confirmation behavior if the
|
|
4492
|
-
* booking was created with special `flowControlSettings`:
|
|
4493
|
-
* + If the booking's `flowControlSettings.skipAvailabilityValidation` was set to
|
|
4494
|
-
* `true`, the booking is never declined regardless of double booking conflicts.
|
|
4495
|
-
* Instead, it's marked `CONFIRMED` or `PENDING`, depending on whether the
|
|
4496
|
-
* service requires business approval.
|
|
4497
|
-
* + If the booking's `flowControlSettings.skipBusinessConfirmation` was set to
|
|
4498
|
-
* `true`, the booking skips `PENDING` status and is marked `CONFIRMED`
|
|
4499
|
-
* immediately.
|
|
4500
|
-
* @param bookingId - ID of the booking to confirm or decline.
|
|
4501
|
-
* @public
|
|
4502
|
-
* @requiredField bookingId
|
|
4503
|
-
* @permissionId BOOKINGS.BOOKING_CONFIRM_OR_DECLINE
|
|
4504
|
-
* @applicableIdentity APP
|
|
4505
|
-
* @fqn com.wixpress.bookings.confirmator.v2.Confirmator.ConfirmOrDeclineBooking
|
|
4506
|
-
*/
|
|
4507
|
-
declare function confirmOrDeclineBooking(bookingId: string, options?: ConfirmOrDeclineBookingOptions): Promise<NonNullablePaths<ConfirmOrDeclineBookingResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7> & {
|
|
4508
|
-
__applicationErrorsType?: ConfirmOrDeclineBookingApplicationErrors;
|
|
4509
|
-
}>;
|
|
4510
|
-
interface ConfirmOrDeclineBookingOptions {
|
|
4511
|
-
/**
|
|
4512
|
-
* Current payment status of the booking when using a custom checkout page and
|
|
4513
|
-
* not the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
4514
|
-
*
|
|
4515
|
-
* The booking is declined if there is a double booking conflict and you provide
|
|
4516
|
-
* one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
|
|
4517
|
-
*/
|
|
4518
|
-
paymentStatus?: PaymentStatusWithLiterals;
|
|
4519
|
-
}
|
|
4520
|
-
/**
|
|
4521
|
-
* Confirms or declines up to 300 bookings.
|
|
4522
|
-
*
|
|
4523
|
-
*
|
|
4524
|
-
* See [Confirm Or Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking)
|
|
4525
|
-
* for details about when a booking is confirmed or declined.
|
|
4526
|
-
* @param details - Bookings to confirm or decline.
|
|
4527
|
-
* @public
|
|
4528
|
-
* @requiredField details
|
|
4529
|
-
* @requiredField details.bookingId
|
|
4530
|
-
* @permissionId BOOKINGS.BOOKING_CONFIRM_OR_DECLINE
|
|
4531
|
-
* @applicableIdentity APP
|
|
4532
|
-
* @fqn com.wixpress.bookings.confirmator.v2.Confirmator.BulkConfirmOrDeclineBooking
|
|
4533
|
-
*/
|
|
4534
|
-
declare function bulkConfirmOrDeclineBooking(details: NonNullablePaths<BulkConfirmOrDeclineBookingRequestBookingDetails, `bookingId`, 2>[], options?: BulkConfirmOrDeclineBookingOptions): Promise<NonNullablePaths<BulkConfirmOrDeclineBookingResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.totalParticipants` | `results.${number}.item.status` | `results.${number}.item.paymentStatus` | `results.${number}.item.selectedPaymentOption` | `results.${number}.item.createdBy.anonymousVisitorId` | `results.${number}.item.createdBy.memberId` | `results.${number}.item.createdBy.wixUserId` | `results.${number}.item.createdBy.appId` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6> & {
|
|
4535
|
-
__applicationErrorsType?: BulkConfirmOrDeclineBookingApplicationErrors;
|
|
4536
|
-
}>;
|
|
4537
|
-
interface BulkConfirmOrDeclineBookingOptions {
|
|
4538
|
-
/** Whether to return the confirmed or declined booking objects. */
|
|
4539
|
-
returnEntity?: boolean;
|
|
4540
|
-
}
|
|
4541
4534
|
/**
|
|
4542
4535
|
* Creates a booking.
|
|
4543
4536
|
*
|
|
@@ -4658,7 +4651,7 @@ interface BulkConfirmOrDeclineBookingOptions {
|
|
|
4658
4651
|
* @applicableIdentity APP
|
|
4659
4652
|
* @fqn com.wixpress.bookings.bookings.v2.Bookings.CreateBooking
|
|
4660
4653
|
*/
|
|
4661
|
-
declare function createBooking(booking: NonNullablePaths<Booking, `additionalFields.${number}._id` | `bookedEntity`, 4>, options?: CreateBookingOptions): Promise<NonNullablePaths<CreateBookingResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7> & {
|
|
4654
|
+
declare function createBooking(booking: NonNullablePaths<Booking, `additionalFields.${number}._id` | `bookedEntity`, 4>, options?: CreateBookingOptions): Promise<NonNullablePaths<CreateBookingResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.slot.resourceSelections` | `booking.bookedEntity.slot.resourceSelections.${number}.selectionMethod` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7> & {
|
|
4662
4655
|
__applicationErrorsType?: CreateBookingApplicationErrors;
|
|
4663
4656
|
}>;
|
|
4664
4657
|
interface CreateBookingOptions {
|
|
@@ -4798,7 +4791,7 @@ interface BulkCreateBookingOptions {
|
|
|
4798
4791
|
* @applicableIdentity MEMBER
|
|
4799
4792
|
* @fqn com.wixpress.bookings.bookings.v2.Bookings.RescheduleBooking
|
|
4800
4793
|
*/
|
|
4801
|
-
declare function rescheduleBooking(bookingId: string, slot: V2Slot, options?: NonNullablePaths<RescheduleBookingOptions, `revision`, 2>): Promise<NonNullablePaths<RescheduleBookingResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7> & {
|
|
4794
|
+
declare function rescheduleBooking(bookingId: string, slot: V2Slot, options?: NonNullablePaths<RescheduleBookingOptions, `revision`, 2>): Promise<NonNullablePaths<RescheduleBookingResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.slot.resourceSelections` | `booking.bookedEntity.slot.resourceSelections.${number}.selectionMethod` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7> & {
|
|
4802
4795
|
__applicationErrorsType?: RescheduleBookingApplicationErrors;
|
|
4803
4796
|
}>;
|
|
4804
4797
|
interface RescheduleBookingOptions extends RescheduleBookingOptionsParticipantsInfoOneOf {
|
|
@@ -4915,7 +4908,7 @@ interface RescheduleBookingOptionsParticipantsInfoOneOf {
|
|
|
4915
4908
|
* @applicableIdentity APP
|
|
4916
4909
|
* @fqn com.wixpress.bookings.bookings.v2.Bookings.ConfirmBooking
|
|
4917
4910
|
*/
|
|
4918
|
-
declare function confirmBooking(bookingId: string, revision: string, options?: ConfirmBookingOptions): Promise<NonNullablePaths<ConfirmBookingResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7> & {
|
|
4911
|
+
declare function confirmBooking(bookingId: string, revision: string, options?: ConfirmBookingOptions): Promise<NonNullablePaths<ConfirmBookingResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.slot.resourceSelections` | `booking.bookedEntity.slot.resourceSelections.${number}.selectionMethod` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7> & {
|
|
4919
4912
|
__applicationErrorsType?: ConfirmBookingApplicationErrors;
|
|
4920
4913
|
}>;
|
|
4921
4914
|
interface ConfirmBookingOptions {
|
|
@@ -4951,7 +4944,7 @@ interface ConfirmBookingOptions {
|
|
|
4951
4944
|
* @applicableIdentity APP
|
|
4952
4945
|
* @fqn com.wixpress.bookings.bookings.v2.Bookings.SetBookingSubmissionId
|
|
4953
4946
|
*/
|
|
4954
|
-
declare function setBookingSubmissionId(bookingId: string, submissionId: string): Promise<NonNullablePaths<SetBookingSubmissionIdResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7> & {
|
|
4947
|
+
declare function setBookingSubmissionId(bookingId: string, submissionId: string): Promise<NonNullablePaths<SetBookingSubmissionIdResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.slot.resourceSelections` | `booking.bookedEntity.slot.resourceSelections.${number}.selectionMethod` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7> & {
|
|
4955
4948
|
__applicationErrorsType?: SetBookingSubmissionIdApplicationErrors;
|
|
4956
4949
|
}>;
|
|
4957
4950
|
/**
|
|
@@ -5029,7 +5022,7 @@ interface UpdateExtendedFieldsOptions {
|
|
|
5029
5022
|
* @applicableIdentity APP
|
|
5030
5023
|
* @fqn com.wixpress.bookings.bookings.v2.Bookings.DeclineBooking
|
|
5031
5024
|
*/
|
|
5032
|
-
declare function declineBooking(bookingId: string, revision: string, options?: DeclineBookingOptions): Promise<NonNullablePaths<DeclineBookingResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7> & {
|
|
5025
|
+
declare function declineBooking(bookingId: string, revision: string, options?: DeclineBookingOptions): Promise<NonNullablePaths<DeclineBookingResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.slot.resourceSelections` | `booking.bookedEntity.slot.resourceSelections.${number}.selectionMethod` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7> & {
|
|
5033
5026
|
__applicationErrorsType?: DeclineBookingApplicationErrors;
|
|
5034
5027
|
}>;
|
|
5035
5028
|
interface DeclineBookingOptions {
|
|
@@ -5104,7 +5097,7 @@ interface DeclineBookingOptions {
|
|
|
5104
5097
|
* @applicableIdentity MEMBER
|
|
5105
5098
|
* @fqn com.wixpress.bookings.bookings.v2.Bookings.CancelBooking
|
|
5106
5099
|
*/
|
|
5107
|
-
declare function cancelBooking(bookingId: string, options?: NonNullablePaths<CancelBookingOptions, `revision`, 2>): Promise<NonNullablePaths<CancelBookingResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7> & {
|
|
5100
|
+
declare function cancelBooking(bookingId: string, options?: NonNullablePaths<CancelBookingOptions, `revision`, 2>): Promise<NonNullablePaths<CancelBookingResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.slot.resourceSelections` | `booking.bookedEntity.slot.resourceSelections.${number}.selectionMethod` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7> & {
|
|
5108
5101
|
__applicationErrorsType?: CancelBookingApplicationErrors;
|
|
5109
5102
|
}>;
|
|
5110
5103
|
interface CancelBookingOptions {
|
|
@@ -5149,7 +5142,7 @@ interface CancelBookingOptions {
|
|
|
5149
5142
|
* @applicableIdentity APP
|
|
5150
5143
|
* @fqn com.wixpress.bookings.bookings.v2.Bookings.UpdateNumberOfParticipants
|
|
5151
5144
|
*/
|
|
5152
|
-
declare function updateNumberOfParticipants(bookingId: string, options?: NonNullablePaths<UpdateNumberOfParticipantsOptions, `revision`, 2>): Promise<NonNullablePaths<UpdateNumberOfParticipantsResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7> & {
|
|
5145
|
+
declare function updateNumberOfParticipants(bookingId: string, options?: NonNullablePaths<UpdateNumberOfParticipantsOptions, `revision`, 2>): Promise<NonNullablePaths<UpdateNumberOfParticipantsResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.slot.resourceSelections` | `booking.bookedEntity.slot.resourceSelections.${number}.selectionMethod` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7> & {
|
|
5153
5146
|
__applicationErrorsType?: UpdateNumberOfParticipantsApplicationErrors;
|
|
5154
5147
|
}>;
|
|
5155
5148
|
interface UpdateNumberOfParticipantsOptions extends UpdateNumberOfParticipantsOptionsParticipantsInfoOneOf {
|
|
@@ -5273,7 +5266,7 @@ declare function bulkCalculateAllowedActions(bookingIds: string[]): Promise<NonN
|
|
|
5273
5266
|
* @applicableIdentity APP
|
|
5274
5267
|
* @fqn com.wixpress.bookings.bookings.v2.Bookings.MarkBookingAsPending
|
|
5275
5268
|
*/
|
|
5276
|
-
declare function markBookingAsPending(bookingId: string, revision: string, options?: MarkBookingAsPendingOptions): Promise<NonNullablePaths<MarkBookingAsPendingResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7> & {
|
|
5269
|
+
declare function markBookingAsPending(bookingId: string, revision: string, options?: MarkBookingAsPendingOptions): Promise<NonNullablePaths<MarkBookingAsPendingResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.slot.resourceSelections` | `booking.bookedEntity.slot.resourceSelections.${number}.selectionMethod` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7> & {
|
|
5277
5270
|
__applicationErrorsType?: MarkBookingAsPendingApplicationErrors;
|
|
5278
5271
|
}>;
|
|
5279
5272
|
interface MarkBookingAsPendingOptions {
|
|
@@ -5322,7 +5315,7 @@ interface GetAnonymousActionDetailsOptions {
|
|
|
5322
5315
|
* @returns Response for CancelBookingAnonymously
|
|
5323
5316
|
* @fqn com.wixpress.bookings.bookings.v2.AnonymousBookingActions.CancelBookingAnonymously
|
|
5324
5317
|
*/
|
|
5325
|
-
declare function cancelBookingAnonymously(token: string, options?: CancelBookingAnonymouslyOptions): Promise<NonNullablePaths<CancelBookingAnonymouslyResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7>>;
|
|
5318
|
+
declare function cancelBookingAnonymously(token: string, options?: CancelBookingAnonymouslyOptions): Promise<NonNullablePaths<CancelBookingAnonymouslyResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.slot.resourceSelections` | `booking.bookedEntity.slot.resourceSelections.${number}.selectionMethod` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7>>;
|
|
5326
5319
|
interface CancelBookingAnonymouslyOptions {
|
|
5327
5320
|
/**
|
|
5328
5321
|
* Revision number, which increments by 1 each time the booking is updated.
|
|
@@ -5344,7 +5337,7 @@ interface CancelBookingAnonymouslyOptions {
|
|
|
5344
5337
|
* @returns Response for RescheduleBookingAnonymously
|
|
5345
5338
|
* @fqn com.wixpress.bookings.bookings.v2.AnonymousBookingActions.RescheduleBookingAnonymously
|
|
5346
5339
|
*/
|
|
5347
|
-
declare function rescheduleBookingAnonymously(token: string, slot: V2Slot, options: NonNullablePaths<RescheduleBookingAnonymouslyOptions, `revision`, 2>): Promise<NonNullablePaths<RescheduleBookingAnonymouslyResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7>>;
|
|
5340
|
+
declare function rescheduleBookingAnonymously(token: string, slot: V2Slot, options: NonNullablePaths<RescheduleBookingAnonymouslyOptions, `revision`, 2>): Promise<NonNullablePaths<RescheduleBookingAnonymouslyResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.slot.resourceSelections` | `booking.bookedEntity.slot.resourceSelections.${number}.selectionMethod` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId`, 7>>;
|
|
5348
5341
|
interface RescheduleBookingAnonymouslyOptions {
|
|
5349
5342
|
/**
|
|
5350
5343
|
* Revision number, which increments by 1 each time the booking is rescheduled.
|
|
@@ -5362,6 +5355,6 @@ interface RescheduleBookingAnonymouslyOptions {
|
|
|
5362
5355
|
* @returns Response for GetBookingAnonymously
|
|
5363
5356
|
* @fqn com.wixpress.bookings.bookings.v2.AnonymousBookingActions.GetBookingAnonymously
|
|
5364
5357
|
*/
|
|
5365
|
-
declare function getBookingAnonymously(token: string): Promise<NonNullablePaths<GetBookingAnonymouslyResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId` | `allowedActionsAnonymously.cancel` | `allowedActionsAnonymously.reschedule`, 7>>;
|
|
5358
|
+
declare function getBookingAnonymously(token: string): Promise<NonNullablePaths<GetBookingAnonymouslyResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.slot.resourceSelections` | `booking.bookedEntity.slot.resourceSelections.${number}.selectionMethod` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `booking.bookedAddOns` | `booking.bookedAddOns.${number}._id` | `booking.bookedAddOns.${number}.groupId` | `allowedActionsAnonymously.cancel` | `allowedActionsAnonymously.reschedule`, 7>>;
|
|
5366
5359
|
|
|
5367
5360
|
export { type ActionEvent, Actor, type ActorWithLiterals, type AddBookingsToMultiServiceBookingApplicationErrors, type AddBookingsToMultiServiceBookingOptions, type AddBookingsToMultiServiceBookingRequest, type AddBookingsToMultiServiceBookingResponse, type Address, type AddressLocation, type AddressStreetOneOf, type AllowedActions, type AllowedActionsAnonymously, type AnonymousBookingUrls, type ApplicationError, type AvailableResources, type BaseEventMetadata, type BookedAddOn, type BookedEntity, type BookedEntityItemOneOf, type BookedResource, type BookedSchedule, type BookedSlot, type Booking, type BookingCanceled, type BookingCanceledEnvelope, type BookingChanged, type BookingConfirmed, type BookingConfirmedEnvelope, type BookingCreatedEnvelope, type BookingDeclined, type BookingDeclinedEnvelope, type BookingDetails, type BookingFormFilled, type BookingIdAndRevision, type BookingInfo, type BookingMarkedAsPending, type BookingMarkedAsPendingEnvelope, type BookingNumberOfParticipantsUpdatedEnvelope, type BookingParticipantsInfoOneOf, type BookingPolicySettings, type BookingPolicyViolations, type BookingRescheduled, type BookingRescheduledEnvelope, type BookingRescheduledPreviousParticipantsInfoOneOf, type BookingResult, type BookingSource, BookingStatus, type BookingStatusWithLiterals, type BookingUpdatedEnvelope, type BulkActionMetadata, type BulkBookingResult, type BulkCalculateAllowedActionsRequest, type BulkCalculateAllowedActionsResponse, type BulkCalculateAllowedActionsResult, type BulkConfirmOrDeclineBookingApplicationErrors, type BulkConfirmOrDeclineBookingOptions, type BulkConfirmOrDeclineBookingRequest, type BulkConfirmOrDeclineBookingRequestBookingDetails, type BulkConfirmOrDeclineBookingResponse, type BulkCreateBookingApplicationErrors, type BulkCreateBookingOptions, type BulkCreateBookingRequest, type BulkCreateBookingResponse, type BulkGetMultiServiceBookingAllowedActionsRequest, type BulkGetMultiServiceBookingAllowedActionsResponse, type BulkRescheduleBookingRequest, type BulkRescheduleBookingRequestBooking, type BulkRescheduleBookingResponse, type BulkUpdateBookedScheduleRequest, type BulkUpdateBookedScheduleResponse, type BulkUpdateBookingRequest, type BulkUpdateBookingResponse, type CancelBookingAnonymouslyOptions, type CancelBookingAnonymouslyRequest, type CancelBookingAnonymouslyResponse, type CancelBookingApplicationErrors, type CancelBookingFlowControlSettings, type CancelBookingOptions, type CancelBookingRequest, type CancelBookingRequestFlowControlSettings, type CancelBookingResponse, type CancelMultiServiceBookingApplicationErrors, type CancelMultiServiceBookingOptions, type CancelMultiServiceBookingRequest, type CancelMultiServiceBookingResponse, type Clash, type CommonIdentificationData, type CommonIdentificationDataIdOneOf, type ConfirmBookingApplicationErrors, type ConfirmBookingFlowControlSettings, type ConfirmBookingOptions, type ConfirmBookingRequest, type ConfirmBookingResponse, type ConfirmMultiServiceBookingApplicationErrors, type ConfirmMultiServiceBookingOptions, type ConfirmMultiServiceBookingRequest, type ConfirmMultiServiceBookingResponse, type ConfirmOrDeclineBookingApplicationErrors, type ConfirmOrDeclineBookingOptions, type ConfirmOrDeclineBookingRequest, type ConfirmOrDeclineBookingResponse, type ConfirmRequest, type ConfirmResponse, type ConsistentQueryBookingsRequest, type ConsistentQueryBookingsResponse, type ContactDetails, type CountBookingsRequest, type CountBookingsResponse, type CreateBookingApplicationErrors, type CreateBookingFlowControlSettings, type CreateBookingInfo, type CreateBookingOptions, type CreateBookingRequest, type CreateBookingRequestFlowControlSettings, type CreateBookingResponse, type CreateMultiServiceBookingApplicationErrors, type CreateMultiServiceBookingOptions, type CreateMultiServiceBookingRequest, type CreateMultiServiceBookingResponse, type CursorPaging, type Cursors, type CustomFormField, type DeclineBookingApplicationErrors, type DeclineBookingFlowControlSettings, type DeclineBookingOptions, type DeclineBookingRequest, type DeclineBookingResponse, type DeclineMultiServiceBookingApplicationErrors, type DeclineMultiServiceBookingOptions, type DeclineMultiServiceBookingRequest, type DeclineMultiServiceBookingResponse, type DomainEvent, type DomainEventBodyOneOf, type Duration, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type FlowControlSettings, type GetAnonymousActionDetailsOptions, type GetAnonymousActionDetailsRequest, type GetAnonymousActionDetailsResponse, type GetBookingAnonymouslyRequest, type GetBookingAnonymouslyResponse, type GetMultiServiceBookingAvailabilityApplicationErrors, type GetMultiServiceBookingAvailabilityRequest, type GetMultiServiceBookingAvailabilityResponse, type GetMultiServiceBookingAvailabilityResponseBookingInfo, type GetMultiServiceBookingRequest, type GetMultiServiceBookingResponse, type GetScheduleAvailabilityRequest, type GetScheduleAvailabilityResponse, type GetSlotAvailabilityRequest, type GetSlotAvailabilityResponse, type IdentificationData, type IdentificationDataIdOneOf, IdentificationDataIdentityType, type IdentificationDataIdentityTypeWithLiterals, IdentityType, type IdentityTypeWithLiterals, type ItemMetadata, type LegacyCreateBookingRequest, type LegacyCreateBookingResponse, type Location, LocationLocationType, type LocationLocationTypeWithLiterals, LocationType, type LocationTypeWithLiterals, type MarkBookingAsPendingApplicationErrors, type MarkBookingAsPendingFlowControlSettings, type MarkBookingAsPendingOptions, type MarkBookingAsPendingRequest, type MarkBookingAsPendingResponse, type MarkMultiServiceBookingAsPendingApplicationErrors, type MarkMultiServiceBookingAsPendingOptions, type MarkMultiServiceBookingAsPendingRequest, type MarkMultiServiceBookingAsPendingResponse, type MaskedBooking, type MessageEnvelope, type MigrationCheckIfClashesWithBlockedTimeRequest, type MigrationCheckIfClashesWithBlockedTimeResponse, type MsidAndBookingId, type MultiServiceBooking, type MultiServiceBookingInfo, type MultiServiceBookingMetadata, MultiServiceBookingType, type MultiServiceBookingTypeWithLiterals, type NumberOfParticipantsUpdated, type NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf, type Paging, type PagingMetadataV2, type ParticipantChoices, type ParticipantNotification, PaymentStatus, type PaymentStatusWithLiterals, type PhoneCall, Platform, type PlatformWithLiterals, type QueryBookingsRequest, type QueryBookingsResponse, type QueryV2, type QueryV2PagingMethodOneOf, type RemoveBookingsFromMultiServiceBookingApplicationErrors, type RemoveBookingsFromMultiServiceBookingOptions, type RemoveBookingsFromMultiServiceBookingRequest, type RemoveBookingsFromMultiServiceBookingResponse, type RescheduleBookingAnonymouslyOptions, type RescheduleBookingAnonymouslyRequest, type RescheduleBookingAnonymouslyResponse, type RescheduleBookingApplicationErrors, type RescheduleBookingFlowControlSettings, type RescheduleBookingInfo, type RescheduleBookingInfoParticipantsInfoOneOf, type RescheduleBookingOptions, type RescheduleBookingOptionsParticipantsInfoOneOf, type RescheduleBookingRequest, type RescheduleBookingRequestFlowControlSettings, type RescheduleBookingRequestParticipantsInfoOneOf, type RescheduleBookingResponse, type RescheduleMultiServiceBookingApplicationErrors, type RescheduleMultiServiceBookingOptions, type RescheduleMultiServiceBookingRequest, type RescheduleMultiServiceBookingResponse, type ResourceSelection, type RestoreInfo, type ScheduleAvailability, SelectedPaymentOption, type SelectedPaymentOptionWithLiterals, SelectionMethod, type SelectionMethodWithLiterals, type ServiceChoice, type ServiceChoiceChoiceOneOf, type ServiceChoices, type SetBookingSessionIdRequest, type SetBookingSessionIdResponse, type SetBookingSubmissionIdApplicationErrors, type SetBookingSubmissionIdRequest, type SetBookingSubmissionIdResponse, type Slot, type SlotAvailability, type SlotBookings, type SlotLocation, type SlotResource, type SlotSlotResource, SortOrder, type SortOrderWithLiterals, type Sorting, type StreetAddress, type Subdivision, type UpdateBookingRequest, type UpdateBookingResponse, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateNumberOfParticipantsApplicationErrors, type UpdateNumberOfParticipantsOptions, type UpdateNumberOfParticipantsOptionsParticipantsInfoOneOf, type UpdateNumberOfParticipantsRequest, type UpdateNumberOfParticipantsRequestParticipantsInfoOneOf, type UpdateNumberOfParticipantsResponse, type V2CancelBookingRequest, type V2CancelBookingResponse, type V2ConfirmBookingRequest, type V2ConfirmBookingResponse, type V2CreateBookingRequest, type V2CreateBookingRequestBookableItemOneOf, type V2CreateBookingRequestParticipantsInfoOneOf, type V2CreateBookingResponse, type V2DeclineBookingRequest, type V2DeclineBookingResponse, type V2PhoneCall, type V2RescheduleBookingRequest, type V2RescheduleBookingRequestParticipantsInfoOneOf, type V2RescheduleBookingResponse, type V2Slot, type V2UpdateNumberOfParticipantsRequest, type V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf, type V2UpdateNumberOfParticipantsResponse, ValueType, type ValueTypeWithLiterals, type WaitingList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WebhooksIdentificationData, type WebhooksIdentificationDataIdOneOf, addBookingsToMultiServiceBooking, bulkCalculateAllowedActions, bulkConfirmOrDeclineBooking, bulkCreateBooking, bulkGetMultiServiceBookingAllowedActions, cancelBooking, cancelBookingAnonymously, cancelMultiServiceBooking, confirmBooking, confirmMultiServiceBooking, confirmOrDeclineBooking, createBooking, createMultiServiceBooking, declineBooking, declineMultiServiceBooking, getAnonymousActionDetails, getBookingAnonymously, getMultiServiceBooking, getMultiServiceBookingAvailability, markBookingAsPending, markMultiServiceBookingAsPending, onBookingCanceled, onBookingConfirmed, onBookingCreated, onBookingDeclined, onBookingMarkedAsPending, onBookingNumberOfParticipantsUpdated, onBookingRescheduled, onBookingUpdated, removeBookingsFromMultiServiceBooking, rescheduleBooking, rescheduleBookingAnonymously, rescheduleMultiServiceBooking, setBookingSubmissionId, updateExtendedFields, updateNumberOfParticipants };
|