@wix/auto_sdk_bookings_bookings 1.0.110 → 1.0.112

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +74 -74
  2. package/build/cjs/index.js +211 -211
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +359 -343
  5. package/build/cjs/index.typings.js +193 -193
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +264 -248
  8. package/build/cjs/meta.js +171 -171
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +74 -74
  11. package/build/es/index.mjs +211 -211
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +359 -343
  14. package/build/es/index.typings.mjs +193 -193
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +264 -248
  17. package/build/es/meta.mjs +171 -171
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +74 -74
  20. package/build/internal/cjs/index.js +211 -211
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +359 -343
  23. package/build/internal/cjs/index.typings.js +193 -193
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +264 -248
  26. package/build/internal/cjs/meta.js +171 -171
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +74 -74
  29. package/build/internal/es/index.mjs +211 -211
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +359 -343
  32. package/build/internal/es/index.typings.mjs +193 -193
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +264 -248
  35. package/build/internal/es/meta.mjs +171 -171
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -884,229 +884,6 @@ interface BookingFormFilled {
884
884
  */
885
885
  formId?: string | null;
886
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';
1110
887
  interface V2CreateBookingRequest extends V2CreateBookingRequestBookableItemOneOf, V2CreateBookingRequestParticipantsInfoOneOf {
1111
888
  /**
1112
889
  * Information about the slot to create a booking for.
@@ -1490,6 +1267,140 @@ interface V2UpdateNumberOfParticipantsResponse {
1490
1267
  /** Booking with updated number of participants. */
1491
1268
  booking?: Booking;
1492
1269
  }
1270
+ interface DomainEvent extends DomainEventBodyOneOf {
1271
+ createdEvent?: EntityCreatedEvent;
1272
+ updatedEvent?: EntityUpdatedEvent;
1273
+ deletedEvent?: EntityDeletedEvent;
1274
+ actionEvent?: ActionEvent;
1275
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1276
+ _id?: string;
1277
+ /**
1278
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1279
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1280
+ */
1281
+ entityFqdn?: string;
1282
+ /**
1283
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1284
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1285
+ */
1286
+ slug?: string;
1287
+ /** ID of the entity associated with the event. */
1288
+ entityId?: string;
1289
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1290
+ eventTime?: Date | null;
1291
+ /**
1292
+ * Whether the event was triggered as a result of a privacy regulation application
1293
+ * (for example, GDPR).
1294
+ */
1295
+ triggeredByAnonymizeRequest?: boolean | null;
1296
+ /** If present, indicates the action that triggered the event. */
1297
+ originatedFrom?: string | null;
1298
+ /**
1299
+ * 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.
1300
+ * 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.
1301
+ */
1302
+ entityEventSequence?: string | null;
1303
+ }
1304
+ /** @oneof */
1305
+ interface DomainEventBodyOneOf {
1306
+ createdEvent?: EntityCreatedEvent;
1307
+ updatedEvent?: EntityUpdatedEvent;
1308
+ deletedEvent?: EntityDeletedEvent;
1309
+ actionEvent?: ActionEvent;
1310
+ }
1311
+ interface EntityCreatedEvent {
1312
+ entity?: string;
1313
+ }
1314
+ interface RestoreInfo {
1315
+ deletedDate?: Date | null;
1316
+ }
1317
+ interface EntityUpdatedEvent {
1318
+ /**
1319
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1320
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1321
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1322
+ */
1323
+ currentEntity?: string;
1324
+ }
1325
+ interface EntityDeletedEvent {
1326
+ /** Entity that was deleted. */
1327
+ deletedEntity?: string | null;
1328
+ }
1329
+ interface ActionEvent {
1330
+ body?: string;
1331
+ }
1332
+ interface MessageEnvelope {
1333
+ /**
1334
+ * App instance ID.
1335
+ * @format GUID
1336
+ */
1337
+ instanceId?: string | null;
1338
+ /**
1339
+ * Event type.
1340
+ * @maxLength 150
1341
+ */
1342
+ eventType?: string;
1343
+ /** The identification type and identity data. */
1344
+ identity?: WebhooksIdentificationData;
1345
+ /** Stringify payload. */
1346
+ data?: string;
1347
+ }
1348
+ interface WebhooksIdentificationData extends WebhooksIdentificationDataIdOneOf {
1349
+ /**
1350
+ * ID of a site visitor that has not logged in to the site.
1351
+ * @format GUID
1352
+ */
1353
+ anonymousVisitorId?: string;
1354
+ /**
1355
+ * ID of a site visitor that has logged in to the site.
1356
+ * @format GUID
1357
+ */
1358
+ memberId?: string;
1359
+ /**
1360
+ * ID of a Wix user (site owner, contributor, etc.).
1361
+ * @format GUID
1362
+ */
1363
+ wixUserId?: string;
1364
+ /**
1365
+ * ID of an app.
1366
+ * @format GUID
1367
+ */
1368
+ appId?: string;
1369
+ /** @readonly */
1370
+ identityType?: WebhookIdentityTypeWithLiterals;
1371
+ }
1372
+ /** @oneof */
1373
+ interface WebhooksIdentificationDataIdOneOf {
1374
+ /**
1375
+ * ID of a site visitor that has not logged in to the site.
1376
+ * @format GUID
1377
+ */
1378
+ anonymousVisitorId?: string;
1379
+ /**
1380
+ * ID of a site visitor that has logged in to the site.
1381
+ * @format GUID
1382
+ */
1383
+ memberId?: string;
1384
+ /**
1385
+ * ID of a Wix user (site owner, contributor, etc.).
1386
+ * @format GUID
1387
+ */
1388
+ wixUserId?: string;
1389
+ /**
1390
+ * ID of an app.
1391
+ * @format GUID
1392
+ */
1393
+ appId?: string;
1394
+ }
1395
+ declare enum WebhookIdentityType {
1396
+ UNKNOWN = "UNKNOWN",
1397
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1398
+ MEMBER = "MEMBER",
1399
+ WIX_USER = "WIX_USER",
1400
+ APP = "APP"
1401
+ }
1402
+ /** @enumType */
1403
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1493
1404
  interface CreateMultiServiceBookingRequest {
1494
1405
  /**
1495
1406
  * Between 2 to 8 new single-service booking specifications to create and combine in a multi-service booking.
@@ -2210,6 +2121,24 @@ interface BulkCalculateAllowedActionsResult {
2210
2121
  /** Booking entity. */
2211
2122
  item?: AllowedActions;
2212
2123
  }
2124
+ interface ItemMetadata {
2125
+ /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
2126
+ _id?: string | null;
2127
+ /** Index of the item within the request array. Allows for correlation between request and response items. */
2128
+ originalIndex?: number;
2129
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
2130
+ success?: boolean;
2131
+ /** Details about the error in case of failure. */
2132
+ error?: ApplicationError;
2133
+ }
2134
+ interface ApplicationError {
2135
+ /** Error code. */
2136
+ code?: string;
2137
+ /** Description of the error. */
2138
+ description?: string;
2139
+ /** Data related to the error. */
2140
+ data?: Record<string, any> | null;
2141
+ }
2213
2142
  /** Possible actions allowed for the booking. */
2214
2143
  interface AllowedActions {
2215
2144
  /** Whether canceling the booking is allowed. */
@@ -2217,6 +2146,14 @@ interface AllowedActions {
2217
2146
  /** Whether rescheduling the booking is allowed. */
2218
2147
  reschedule?: boolean;
2219
2148
  }
2149
+ interface BulkActionMetadata {
2150
+ /** Number of items that were successfully processed. */
2151
+ totalSuccesses?: number;
2152
+ /** Number of items that couldn't be processed. */
2153
+ totalFailures?: number;
2154
+ /** Number of failures without details because detailed failure threshold was exceeded. */
2155
+ undetailedFailures?: number;
2156
+ }
2220
2157
  interface GetMultiServiceBookingRequest {
2221
2158
  /**
2222
2159
  * ID of the multi-service booking.
@@ -2273,25 +2210,88 @@ interface AddBookingsToMultiServiceBookingResponse {
2273
2210
  }
2274
2211
  interface RemoveBookingsFromMultiServiceBookingRequest {
2275
2212
  /**
2276
- * ID of the multi-service booking.
2213
+ * ID of the multi-service booking.
2214
+ * @format GUID
2215
+ */
2216
+ multiServiceBookingId: string | null;
2217
+ /**
2218
+ * List of single-service booking IDs and their revision.
2219
+ * @maxSize 8
2220
+ */
2221
+ bookings?: BookingIdAndRevision[];
2222
+ /**
2223
+ * Whether to return the single-service bookings.
2224
+ *
2225
+ * Default: `false`
2226
+ */
2227
+ returnFullEntity?: boolean;
2228
+ }
2229
+ interface RemoveBookingsFromMultiServiceBookingResponse {
2230
+ /** Single-service bookings that were removed from the multi-service booking. */
2231
+ bookings?: BookingResult[];
2232
+ }
2233
+ interface ConfirmOrDeclineBookingRequest {
2234
+ /**
2235
+ * ID of the booking to confirm or decline.
2236
+ * @format GUID
2237
+ */
2238
+ bookingId: string;
2239
+ /**
2240
+ * Current payment status of the booking when using a custom checkout page and
2241
+ * not the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
2242
+ *
2243
+ * The booking is declined if there is a double booking conflict and you provide
2244
+ * one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
2245
+ */
2246
+ paymentStatus?: PaymentStatusWithLiterals;
2247
+ }
2248
+ interface ConfirmOrDeclineBookingResponse {
2249
+ /** Updated booking. */
2250
+ booking?: Booking;
2251
+ }
2252
+ interface BulkConfirmOrDeclineBookingRequest {
2253
+ /**
2254
+ * Bookings to confirm or decline.
2255
+ * @minSize 1
2256
+ * @maxSize 300
2257
+ */
2258
+ details: BulkConfirmOrDeclineBookingRequestBookingDetails[];
2259
+ /** Whether to return the confirmed or declined booking objects. */
2260
+ returnEntity?: boolean;
2261
+ }
2262
+ interface BulkConfirmOrDeclineBookingRequestBookingDetails {
2263
+ /**
2264
+ * ID of the booking to confirm or decline.
2277
2265
  * @format GUID
2278
2266
  */
2279
- multiServiceBookingId: string | null;
2280
- /**
2281
- * List of single-service booking IDs and their revision.
2282
- * @maxSize 8
2283
- */
2284
- bookings?: BookingIdAndRevision[];
2267
+ bookingId?: string;
2285
2268
  /**
2286
- * Whether to return the single-service bookings.
2269
+ * Current payment status of the booking when using a custom checkout page and
2270
+ * not the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
2287
2271
  *
2288
- * Default: `false`
2272
+ * The booking is declined if there is a double booking conflict and you provide
2273
+ * one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
2289
2274
  */
2290
- returnFullEntity?: boolean;
2275
+ paymentStatus?: PaymentStatusWithLiterals;
2291
2276
  }
2292
- interface RemoveBookingsFromMultiServiceBookingResponse {
2293
- /** Single-service bookings that were removed from the multi-service booking. */
2294
- bookings?: BookingResult[];
2277
+ interface BulkConfirmOrDeclineBookingResponse {
2278
+ /** List of confirmed or declined bookings, including metadata. */
2279
+ results?: BulkBookingResult[];
2280
+ /** Total successes and failures of the Bulk Confirm Or Decline call. */
2281
+ bulkActionMetadata?: BulkActionMetadata;
2282
+ }
2283
+ interface BulkBookingResult {
2284
+ /**
2285
+ * Information about the booking that was created or updated.
2286
+ * Including its ID, index in the bulk request and whether it was
2287
+ * successfully created or updated.
2288
+ */
2289
+ itemMetadata?: ItemMetadata;
2290
+ /**
2291
+ * Created or updated booking. Available only if you requested
2292
+ * to return the booking entity.
2293
+ */
2294
+ item?: Booking;
2295
2295
  }
2296
2296
  interface BookingChanged {
2297
2297
  /** The booking before the changes. */
@@ -3163,8 +3163,17 @@ interface GetBookingAnonymouslyRequest {
3163
3163
  /** Response for GetBookingAnonymously */
3164
3164
  interface GetBookingAnonymouslyResponse {
3165
3165
  booking?: Booking;
3166
- /** Allowed actions for the booking, such as canceling or rescheduling. */
3166
+ /**
3167
+ * Allowed actions for the booking, such as canceling or rescheduling.
3168
+ * deprecated: use allowed_anonymous_actions instead
3169
+ * @deprecated Allowed actions for the booking, such as canceling or rescheduling.
3170
+ * deprecated: use allowed_anonymous_actions instead
3171
+ * @replacedBy allowed_anonymous_actions
3172
+ * @targetRemovalDate 2026-03-17
3173
+ */
3167
3174
  allowedActionsAnonymously?: AllowedActionsAnonymously;
3175
+ /** Allowed actions for the booking, such as canceling or rescheduling. */
3176
+ allowedAnonymousActions?: AllowedAnonymousActions;
3168
3177
  }
3169
3178
  /** Possible allowed actions for a Booking */
3170
3179
  interface AllowedActionsAnonymously {
@@ -3173,6 +3182,13 @@ interface AllowedActionsAnonymously {
3173
3182
  /** Whether the customer is allowed to reschedule the booking. */
3174
3183
  reschedule?: boolean;
3175
3184
  }
3185
+ /** Possible allowed actions for a Booking */
3186
+ interface AllowedAnonymousActions {
3187
+ /** Whether the customer is allowed to cancel the booking. */
3188
+ cancel?: boolean;
3189
+ /** Whether the customer is allowed to reschedule the booking. */
3190
+ reschedule?: boolean;
3191
+ }
3176
3192
  /** Request for GetSchedulingUrl */
3177
3193
  interface GetSchedulingUrlRequest {
3178
3194
  /**
@@ -3190,22 +3206,6 @@ interface GetSchedulingUrlResponse {
3190
3206
  schedulingUrl?: string | null;
3191
3207
  }
3192
3208
  /** @docsIgnore */
3193
- type ConfirmOrDeclineBookingApplicationErrors = {
3194
- code?: 'INVALID_BOOKING_STATUS';
3195
- description?: string;
3196
- data?: Record<string, any>;
3197
- } | {
3198
- code?: 'BOOKING_NOT_FOUND';
3199
- description?: string;
3200
- data?: Record<string, any>;
3201
- };
3202
- /** @docsIgnore */
3203
- type BulkConfirmOrDeclineBookingApplicationErrors = {
3204
- code?: 'DUPLICATED_BOOKINGS';
3205
- description?: string;
3206
- data?: Record<string, any>;
3207
- };
3208
- /** @docsIgnore */
3209
3209
  type CreateMultiServiceBookingApplicationErrors = {
3210
3210
  code?: 'VALIDATION_FAILURE';
3211
3211
  description?: string;
@@ -3476,6 +3476,22 @@ type RemoveBookingsFromMultiServiceBookingApplicationErrors = {
3476
3476
  data?: Record<string, any>;
3477
3477
  };
3478
3478
  /** @docsIgnore */
3479
+ type ConfirmOrDeclineBookingApplicationErrors = {
3480
+ code?: 'INVALID_BOOKING_STATUS';
3481
+ description?: string;
3482
+ data?: Record<string, any>;
3483
+ } | {
3484
+ code?: 'BOOKING_NOT_FOUND';
3485
+ description?: string;
3486
+ data?: Record<string, any>;
3487
+ };
3488
+ /** @docsIgnore */
3489
+ type BulkConfirmOrDeclineBookingApplicationErrors = {
3490
+ code?: 'DUPLICATED_BOOKINGS';
3491
+ description?: string;
3492
+ data?: Record<string, any>;
3493
+ };
3494
+ /** @docsIgnore */
3479
3495
  type CreateBookingApplicationErrors = {
3480
3496
  code?: 'SESSION_NOT_FOUND';
3481
3497
  description?: string;
@@ -3996,94 +4012,6 @@ interface BookingNumberOfParticipantsUpdatedEnvelope {
3996
4012
  * @slug number_of_participants_updated
3997
4013
  */
3998
4014
  declare function onBookingNumberOfParticipantsUpdated(handler: (event: BookingNumberOfParticipantsUpdatedEnvelope) => void | Promise<void>): void;
3999
- /**
4000
- * Updates the booking `status` to `CONFIRMED`, `PENDING`, or `DECLINED` based
4001
- * on the `paymentStatus` you provide, double booking conflicts, and whether
4002
- * the service requires business approval.
4003
- *
4004
- * ### eCommerce checkout restriction
4005
- *
4006
- * Call this method only when using a custom checkout page.
4007
- * Don't call it when using a [Wix eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
4008
- * 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).
4009
- *
4010
- * ### When to call Confirm Booking or Decline Booking instead
4011
- *
4012
- * This method has specific limitations based on payment status and double booking conflicts.
4013
- * Use the alternative methods in these scenarios:
4014
- * + **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).
4015
- * Confirm Or Decline Booking can't confirm double-booked free bookings.
4016
- * + **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).
4017
- * Confirm Or Decline Booking only declines bookings when both a double booking conflict exists and payment status is unpaid.
4018
- *
4019
- * ### New booking status
4020
- *
4021
- * The booking `status` is set to `DECLINED` if both of the following conditions
4022
- * are met:
4023
- * + You provide `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT` as payment status.
4024
- * + There is a double booking conflict.
4025
- *
4026
- * If only one or none of these conditions is met, `status` is set to `PENDING`
4027
- * or `CONFIRMED` depending on whether the service requires business approval.
4028
- *
4029
- * ### Double bookings
4030
- *
4031
- * If there is a double booking conflict, but the booking has already been at least
4032
- * partially paid, the method still marks the booking as `PENDING` or `CONFIRMED`.
4033
- * Then, it also sets `doubleBooked` to `true`.
4034
- *
4035
- * ### Admin overwrites
4036
- *
4037
- * There are small but important differences in confirmation behavior if the
4038
- * booking was created with special `flowControlSettings`:
4039
- * + If the booking's `flowControlSettings.skipAvailabilityValidation` was set to
4040
- * `true`, the booking is never declined regardless of double booking conflicts.
4041
- * Instead, it's marked `CONFIRMED` or `PENDING`, depending on whether the
4042
- * service requires business approval.
4043
- * + If the booking's `flowControlSettings.skipBusinessConfirmation` was set to
4044
- * `true`, the booking skips `PENDING` status and is marked `CONFIRMED`
4045
- * immediately.
4046
- * @param bookingId - ID of the booking to confirm or decline.
4047
- * @public
4048
- * @requiredField bookingId
4049
- * @permissionId BOOKINGS.BOOKING_CONFIRM_OR_DECLINE
4050
- * @applicableIdentity APP
4051
- * @fqn com.wixpress.bookings.confirmator.v2.Confirmator.ConfirmOrDeclineBooking
4052
- */
4053
- 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> & {
4054
- __applicationErrorsType?: ConfirmOrDeclineBookingApplicationErrors;
4055
- }>;
4056
- interface ConfirmOrDeclineBookingOptions {
4057
- /**
4058
- * Current payment status of the booking when using a custom checkout page and
4059
- * not the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
4060
- *
4061
- * The booking is declined if there is a double booking conflict and you provide
4062
- * one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
4063
- */
4064
- paymentStatus?: PaymentStatusWithLiterals;
4065
- }
4066
- /**
4067
- * Confirms or declines up to 300 bookings.
4068
- *
4069
- *
4070
- * See [Confirm Or Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking)
4071
- * for details about when a booking is confirmed or declined.
4072
- * @param details - Bookings to confirm or decline.
4073
- * @public
4074
- * @requiredField details
4075
- * @requiredField details.bookingId
4076
- * @permissionId BOOKINGS.BOOKING_CONFIRM_OR_DECLINE
4077
- * @applicableIdentity APP
4078
- * @fqn com.wixpress.bookings.confirmator.v2.Confirmator.BulkConfirmOrDeclineBooking
4079
- */
4080
- 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> & {
4081
- __applicationErrorsType?: BulkConfirmOrDeclineBookingApplicationErrors;
4082
- }>;
4083
- interface BulkConfirmOrDeclineBookingOptions {
4084
- /** Whether to return the confirmed or declined booking objects. */
4085
- returnEntity?: boolean;
4086
- }
4087
4015
  /**
4088
4016
  * Creates a multi-service booking and all included single-service bookings simultaneously.
4089
4017
  *
@@ -4547,6 +4475,94 @@ interface RemoveBookingsFromMultiServiceBookingOptions {
4547
4475
  */
4548
4476
  returnFullEntity?: boolean;
4549
4477
  }
4478
+ /**
4479
+ * Updates the booking `status` to `CONFIRMED`, `PENDING`, or `DECLINED` based
4480
+ * on the `paymentStatus` you provide, double booking conflicts, and whether
4481
+ * the service requires business approval.
4482
+ *
4483
+ * ### eCommerce checkout restriction
4484
+ *
4485
+ * Call this method only when using a custom checkout page.
4486
+ * Don't call it when using a [Wix eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
4487
+ * 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).
4488
+ *
4489
+ * ### When to call Confirm Booking or Decline Booking instead
4490
+ *
4491
+ * This method has specific limitations based on payment status and double booking conflicts.
4492
+ * Use the alternative methods in these scenarios:
4493
+ * + **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).
4494
+ * Confirm Or Decline Booking can't confirm double-booked free bookings.
4495
+ * + **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).
4496
+ * Confirm Or Decline Booking only declines bookings when both a double booking conflict exists and payment status is unpaid.
4497
+ *
4498
+ * ### New booking status
4499
+ *
4500
+ * The booking `status` is set to `DECLINED` if both of the following conditions
4501
+ * are met:
4502
+ * + You provide `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT` as payment status.
4503
+ * + There is a double booking conflict.
4504
+ *
4505
+ * If only one or none of these conditions is met, `status` is set to `PENDING`
4506
+ * or `CONFIRMED` depending on whether the service requires business approval.
4507
+ *
4508
+ * ### Double bookings
4509
+ *
4510
+ * If there is a double booking conflict, but the booking has already been at least
4511
+ * partially paid, the method still marks the booking as `PENDING` or `CONFIRMED`.
4512
+ * Then, it also sets `doubleBooked` to `true`.
4513
+ *
4514
+ * ### Admin overwrites
4515
+ *
4516
+ * There are small but important differences in confirmation behavior if the
4517
+ * booking was created with special `flowControlSettings`:
4518
+ * + If the booking's `flowControlSettings.skipAvailabilityValidation` was set to
4519
+ * `true`, the booking is never declined regardless of double booking conflicts.
4520
+ * Instead, it's marked `CONFIRMED` or `PENDING`, depending on whether the
4521
+ * service requires business approval.
4522
+ * + If the booking's `flowControlSettings.skipBusinessConfirmation` was set to
4523
+ * `true`, the booking skips `PENDING` status and is marked `CONFIRMED`
4524
+ * immediately.
4525
+ * @param bookingId - ID of the booking to confirm or decline.
4526
+ * @public
4527
+ * @requiredField bookingId
4528
+ * @permissionId BOOKINGS.BOOKING_CONFIRM_OR_DECLINE
4529
+ * @applicableIdentity APP
4530
+ * @fqn com.wixpress.bookings.confirmator.v2.Confirmator.ConfirmOrDeclineBooking
4531
+ */
4532
+ 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> & {
4533
+ __applicationErrorsType?: ConfirmOrDeclineBookingApplicationErrors;
4534
+ }>;
4535
+ interface ConfirmOrDeclineBookingOptions {
4536
+ /**
4537
+ * Current payment status of the booking when using a custom checkout page and
4538
+ * not the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
4539
+ *
4540
+ * The booking is declined if there is a double booking conflict and you provide
4541
+ * one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
4542
+ */
4543
+ paymentStatus?: PaymentStatusWithLiterals;
4544
+ }
4545
+ /**
4546
+ * Confirms or declines up to 300 bookings.
4547
+ *
4548
+ *
4549
+ * See [Confirm Or Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking)
4550
+ * for details about when a booking is confirmed or declined.
4551
+ * @param details - Bookings to confirm or decline.
4552
+ * @public
4553
+ * @requiredField details
4554
+ * @requiredField details.bookingId
4555
+ * @permissionId BOOKINGS.BOOKING_CONFIRM_OR_DECLINE
4556
+ * @applicableIdentity APP
4557
+ * @fqn com.wixpress.bookings.confirmator.v2.Confirmator.BulkConfirmOrDeclineBooking
4558
+ */
4559
+ 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> & {
4560
+ __applicationErrorsType?: BulkConfirmOrDeclineBookingApplicationErrors;
4561
+ }>;
4562
+ interface BulkConfirmOrDeclineBookingOptions {
4563
+ /** Whether to return the confirmed or declined booking objects. */
4564
+ returnEntity?: boolean;
4565
+ }
4550
4566
  /**
4551
4567
  * Creates a booking.
4552
4568
  *
@@ -5371,7 +5387,7 @@ interface RescheduleBookingAnonymouslyOptions {
5371
5387
  * @returns Response for GetBookingAnonymously
5372
5388
  * @fqn com.wixpress.bookings.bookings.v2.AnonymousBookingActions.GetBookingAnonymously
5373
5389
  */
5374
- 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>>;
5390
+ 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` | `allowedAnonymousActions.cancel` | `allowedAnonymousActions.reschedule`, 7>>;
5375
5391
  /**
5376
5392
  * Get scheduling URL for a service
5377
5393
  * The scheduling URL can be shared with customers to allow them to book a service.
@@ -5385,4 +5401,4 @@ declare function getBookingAnonymously(token: string): Promise<NonNullablePaths<
5385
5401
  */
5386
5402
  declare function getSchedulingUrl(serviceId: string): Promise<GetSchedulingUrlResponse>;
5387
5403
 
5388
- 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 GetSchedulingUrlRequest, type GetSchedulingUrlResponse, 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, getSchedulingUrl, markBookingAsPending, markMultiServiceBookingAsPending, onBookingCanceled, onBookingConfirmed, onBookingCreated, onBookingDeclined, onBookingMarkedAsPending, onBookingNumberOfParticipantsUpdated, onBookingRescheduled, onBookingUpdated, removeBookingsFromMultiServiceBooking, rescheduleBooking, rescheduleBookingAnonymously, rescheduleMultiServiceBooking, setBookingSubmissionId, updateExtendedFields, updateNumberOfParticipants };
5404
+ 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 AllowedAnonymousActions, 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 GetSchedulingUrlRequest, type GetSchedulingUrlResponse, 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, getSchedulingUrl, markBookingAsPending, markMultiServiceBookingAsPending, onBookingCanceled, onBookingConfirmed, onBookingCreated, onBookingDeclined, onBookingMarkedAsPending, onBookingNumberOfParticipantsUpdated, onBookingRescheduled, onBookingUpdated, removeBookingsFromMultiServiceBooking, rescheduleBooking, rescheduleBookingAnonymously, rescheduleMultiServiceBooking, setBookingSubmissionId, updateExtendedFields, updateNumberOfParticipants };