@wix/auto_sdk_bookings_bookings 1.0.17 → 1.0.19
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 +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/bookings-v2-booking-bookings.context.d.ts +61 -0
- package/build/cjs/src/bookings-v2-booking-bookings.context.js +77 -0
- package/build/cjs/src/bookings-v2-booking-bookings.context.js.map +1 -0
- package/build/cjs/src/bookings-v2-booking-bookings.http.d.ts +510 -0
- package/build/cjs/src/bookings-v2-booking-bookings.http.js +1579 -0
- package/build/cjs/src/bookings-v2-booking-bookings.http.js.map +1 -0
- package/build/cjs/src/bookings-v2-booking-bookings.meta.d.ts +61 -0
- package/build/cjs/src/bookings-v2-booking-bookings.meta.js +427 -0
- package/build/cjs/src/bookings-v2-booking-bookings.meta.js.map +1 -0
- package/build/{internal/index.d.ts → cjs/src/bookings-v2-booking-bookings.public.d.ts} +34 -78
- package/build/cjs/src/bookings-v2-booking-bookings.public.js +313 -0
- package/build/cjs/src/bookings-v2-booking-bookings.public.js.map +1 -0
- package/build/{bookings-v2-booking-bookings.universal-r9r1xC1y.d.mts → cjs/src/bookings-v2-booking-bookings.types.d.ts} +261 -628
- package/build/cjs/src/bookings-v2-booking-bookings.types.js +165 -0
- package/build/cjs/src/bookings-v2-booking-bookings.types.js.map +1 -0
- package/build/cjs/src/bookings-v2-booking-bookings.universal.d.ts +4351 -0
- package/build/cjs/src/bookings-v2-booking-bookings.universal.js +1652 -0
- package/build/cjs/src/bookings-v2-booking-bookings.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/bookings-v2-booking-bookings.context.d.ts +61 -0
- package/build/es/src/bookings-v2-booking-bookings.context.js +61 -0
- package/build/es/src/bookings-v2-booking-bookings.context.js.map +1 -0
- package/build/es/src/bookings-v2-booking-bookings.http.d.ts +510 -0
- package/build/es/src/bookings-v2-booking-bookings.http.js +1555 -0
- package/build/es/src/bookings-v2-booking-bookings.http.js.map +1 -0
- package/build/es/src/bookings-v2-booking-bookings.meta.d.ts +61 -0
- package/build/es/src/bookings-v2-booking-bookings.meta.js +380 -0
- package/build/es/src/bookings-v2-booking-bookings.meta.js.map +1 -0
- package/build/{index.d.ts → es/src/bookings-v2-booking-bookings.public.d.ts} +34 -78
- package/build/es/src/bookings-v2-booking-bookings.public.js +276 -0
- package/build/es/src/bookings-v2-booking-bookings.public.js.map +1 -0
- package/build/{bookings-v2-booking-bookings.universal-r9r1xC1y.d.ts → es/src/bookings-v2-booking-bookings.types.d.ts} +261 -628
- package/build/es/src/bookings-v2-booking-bookings.types.js +162 -0
- package/build/es/src/bookings-v2-booking-bookings.types.js.map +1 -0
- package/build/es/src/bookings-v2-booking-bookings.universal.d.ts +4351 -0
- package/build/es/src/bookings-v2-booking-bookings.universal.js +1605 -0
- package/build/es/src/bookings-v2-booking-bookings.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/bookings-v2-booking-bookings.context.d.ts +61 -0
- package/build/internal/cjs/src/bookings-v2-booking-bookings.context.js +77 -0
- package/build/internal/cjs/src/bookings-v2-booking-bookings.context.js.map +1 -0
- package/build/internal/cjs/src/bookings-v2-booking-bookings.http.d.ts +510 -0
- package/build/internal/cjs/src/bookings-v2-booking-bookings.http.js +1579 -0
- package/build/internal/cjs/src/bookings-v2-booking-bookings.http.js.map +1 -0
- package/build/internal/cjs/src/bookings-v2-booking-bookings.meta.d.ts +61 -0
- package/build/internal/cjs/src/bookings-v2-booking-bookings.meta.js +427 -0
- package/build/internal/cjs/src/bookings-v2-booking-bookings.meta.js.map +1 -0
- package/build/internal/{index.d.mts → cjs/src/bookings-v2-booking-bookings.public.d.ts} +34 -78
- package/build/internal/cjs/src/bookings-v2-booking-bookings.public.js +313 -0
- package/build/internal/cjs/src/bookings-v2-booking-bookings.public.js.map +1 -0
- package/build/internal/{bookings-v2-booking-bookings.universal-r9r1xC1y.d.ts → cjs/src/bookings-v2-booking-bookings.types.d.ts} +261 -628
- package/build/internal/cjs/src/bookings-v2-booking-bookings.types.js +165 -0
- package/build/internal/cjs/src/bookings-v2-booking-bookings.types.js.map +1 -0
- package/build/internal/cjs/src/bookings-v2-booking-bookings.universal.d.ts +4351 -0
- package/build/internal/cjs/src/bookings-v2-booking-bookings.universal.js +1652 -0
- package/build/internal/cjs/src/bookings-v2-booking-bookings.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/bookings-v2-booking-bookings.context.d.ts +61 -0
- package/build/internal/es/src/bookings-v2-booking-bookings.context.js +61 -0
- package/build/internal/es/src/bookings-v2-booking-bookings.context.js.map +1 -0
- package/build/internal/es/src/bookings-v2-booking-bookings.http.d.ts +510 -0
- package/build/internal/es/src/bookings-v2-booking-bookings.http.js +1555 -0
- package/build/internal/es/src/bookings-v2-booking-bookings.http.js.map +1 -0
- package/build/internal/es/src/bookings-v2-booking-bookings.meta.d.ts +61 -0
- package/build/internal/es/src/bookings-v2-booking-bookings.meta.js +380 -0
- package/build/internal/es/src/bookings-v2-booking-bookings.meta.js.map +1 -0
- package/build/{index.d.mts → internal/es/src/bookings-v2-booking-bookings.public.d.ts} +34 -78
- package/build/internal/es/src/bookings-v2-booking-bookings.public.js +276 -0
- package/build/internal/es/src/bookings-v2-booking-bookings.public.js.map +1 -0
- package/build/internal/{bookings-v2-booking-bookings.universal-r9r1xC1y.d.mts → es/src/bookings-v2-booking-bookings.types.d.ts} +261 -628
- package/build/internal/es/src/bookings-v2-booking-bookings.types.js +162 -0
- package/build/internal/es/src/bookings-v2-booking-bookings.types.js.map +1 -0
- package/build/internal/es/src/bookings-v2-booking-bookings.universal.d.ts +4351 -0
- package/build/internal/es/src/bookings-v2-booking-bookings.universal.js +1605 -0
- package/build/internal/es/src/bookings-v2-booking-bookings.universal.js.map +1 -0
- package/package.json +11 -12
- package/build/index.js +0 -2387
- package/build/index.js.map +0 -1
- package/build/index.mjs +0 -2323
- package/build/index.mjs.map +0 -1
- package/build/internal/index.js +0 -2387
- package/build/internal/index.js.map +0 -1
- package/build/internal/index.mjs +0 -2323
- package/build/internal/index.mjs.map +0 -1
- package/build/internal/meta.d.mts +0 -1652
- package/build/internal/meta.d.ts +0 -1652
- package/build/internal/meta.js +0 -1522
- package/build/internal/meta.js.map +0 -1
- package/build/internal/meta.mjs +0 -1475
- package/build/internal/meta.mjs.map +0 -1
- package/build/meta.d.mts +0 -1652
- package/build/meta.d.ts +0 -1652
- package/build/meta.js +0 -1522
- package/build/meta.js.map +0 -1
- package/build/meta.mjs +0 -1475
- package/build/meta.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** An entity representing a scheduled appointment, class session, or course. */
|
|
2
|
-
interface Booking extends BookingParticipantsInfoOneOf {
|
|
2
|
+
export interface Booking extends BookingParticipantsInfoOneOf {
|
|
3
3
|
/**
|
|
4
4
|
* Total number of participants. Available only when the relevant service
|
|
5
5
|
* doesn't have _variants and options_
|
|
@@ -18,7 +18,7 @@ interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
18
18
|
* @format GUID
|
|
19
19
|
* @readonly
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
id?: string | null;
|
|
22
22
|
/**
|
|
23
23
|
* An object describing the *slot*
|
|
24
24
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability))
|
|
@@ -63,7 +63,7 @@ interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
63
63
|
* Date and time the booking was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
64
64
|
* @readonly
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
createdDate?: Date | null;
|
|
67
67
|
/** External user ID that you can provide. */
|
|
68
68
|
externalUserId?: string | null;
|
|
69
69
|
/**
|
|
@@ -95,7 +95,7 @@ interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
95
95
|
* Date and time the booking was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
96
96
|
* @readonly
|
|
97
97
|
*/
|
|
98
|
-
|
|
98
|
+
updatedDate?: Date | null;
|
|
99
99
|
/**
|
|
100
100
|
* Custom field data for this object.
|
|
101
101
|
* Extended fields must be configured in the app dashboard before they can be accessed with API calls.
|
|
@@ -109,7 +109,7 @@ interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
109
109
|
doubleBooked?: boolean | null;
|
|
110
110
|
}
|
|
111
111
|
/** @oneof */
|
|
112
|
-
interface BookingParticipantsInfoOneOf {
|
|
112
|
+
export interface BookingParticipantsInfoOneOf {
|
|
113
113
|
/**
|
|
114
114
|
* Total number of participants. Available only when the relevant service
|
|
115
115
|
* doesn't have _variants and options_
|
|
@@ -130,12 +130,12 @@ interface BookingParticipantsInfoOneOf {
|
|
|
130
130
|
* Multi-service booking is available if each of its bookings is available separately.
|
|
131
131
|
* For `SEQUENTIAL_BOOKINGS`, see `List Multi Service Availability Time Slots` documentation.
|
|
132
132
|
*/
|
|
133
|
-
declare enum MultiServiceBookingType {
|
|
133
|
+
export declare enum MultiServiceBookingType {
|
|
134
134
|
SEQUENTIAL_BOOKINGS = "SEQUENTIAL_BOOKINGS",
|
|
135
135
|
SEPARATE_BOOKINGS = "SEPARATE_BOOKINGS",
|
|
136
136
|
PARALLEL_BOOKINGS = "PARALLEL_BOOKINGS"
|
|
137
137
|
}
|
|
138
|
-
interface BookedEntity extends BookedEntityItemOneOf {
|
|
138
|
+
export interface BookedEntity extends BookedEntityItemOneOf {
|
|
139
139
|
/**
|
|
140
140
|
* Booked *slot*
|
|
141
141
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability)).
|
|
@@ -167,7 +167,7 @@ interface BookedEntity extends BookedEntityItemOneOf {
|
|
|
167
167
|
tags?: string[] | null;
|
|
168
168
|
}
|
|
169
169
|
/** @oneof */
|
|
170
|
-
interface BookedEntityItemOneOf {
|
|
170
|
+
export interface BookedEntityItemOneOf {
|
|
171
171
|
/**
|
|
172
172
|
* Booked *slot*
|
|
173
173
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability)).
|
|
@@ -183,7 +183,7 @@ interface BookedEntityItemOneOf {
|
|
|
183
183
|
*/
|
|
184
184
|
schedule?: BookedSchedule;
|
|
185
185
|
}
|
|
186
|
-
interface BookedSlot {
|
|
186
|
+
export interface BookedSlot {
|
|
187
187
|
/** Session ID. */
|
|
188
188
|
sessionId?: string | null;
|
|
189
189
|
/** Service ID. */
|
|
@@ -225,12 +225,12 @@ interface BookedSlot {
|
|
|
225
225
|
/** Location where the session takes place. */
|
|
226
226
|
location?: Location;
|
|
227
227
|
}
|
|
228
|
-
interface BookedResource {
|
|
228
|
+
export interface BookedResource {
|
|
229
229
|
/**
|
|
230
230
|
* ID of the booking's primary resource.
|
|
231
231
|
* @format GUID
|
|
232
232
|
*/
|
|
233
|
-
|
|
233
|
+
id?: string;
|
|
234
234
|
/**
|
|
235
235
|
* Resource's name at the time of booking.
|
|
236
236
|
* @maxLength 40
|
|
@@ -247,13 +247,13 @@ interface BookedResource {
|
|
|
247
247
|
*/
|
|
248
248
|
scheduleId?: string | null;
|
|
249
249
|
}
|
|
250
|
-
interface Location {
|
|
250
|
+
export interface Location {
|
|
251
251
|
/**
|
|
252
252
|
* Business location ID. Available only for locations that are business locations,
|
|
253
253
|
* meaning the `location_type` is `"OWNER_BUSINESS"`.
|
|
254
254
|
* @format GUID
|
|
255
255
|
*/
|
|
256
|
-
|
|
256
|
+
id?: string | null;
|
|
257
257
|
/** Location name. */
|
|
258
258
|
name?: string | null;
|
|
259
259
|
/** The full address of this location. */
|
|
@@ -272,13 +272,13 @@ interface Location {
|
|
|
272
272
|
*/
|
|
273
273
|
locationType?: LocationType;
|
|
274
274
|
}
|
|
275
|
-
declare enum LocationType {
|
|
275
|
+
export declare enum LocationType {
|
|
276
276
|
UNDEFINED = "UNDEFINED",
|
|
277
277
|
OWNER_BUSINESS = "OWNER_BUSINESS",
|
|
278
278
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
279
279
|
CUSTOM = "CUSTOM"
|
|
280
280
|
}
|
|
281
|
-
interface BookedSchedule {
|
|
281
|
+
export interface BookedSchedule {
|
|
282
282
|
/**
|
|
283
283
|
* _Schedule ID_
|
|
284
284
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)).
|
|
@@ -314,7 +314,7 @@ interface BookedSchedule {
|
|
|
314
314
|
*/
|
|
315
315
|
lastSessionEnd?: string | null;
|
|
316
316
|
}
|
|
317
|
-
interface ContactDetails {
|
|
317
|
+
export interface ContactDetails {
|
|
318
318
|
/**
|
|
319
319
|
* Contact ID.
|
|
320
320
|
* @format GUID
|
|
@@ -353,7 +353,7 @@ interface ContactDetails {
|
|
|
353
353
|
countryCode?: string | null;
|
|
354
354
|
}
|
|
355
355
|
/** Physical address */
|
|
356
|
-
interface Address extends AddressStreetOneOf {
|
|
356
|
+
export interface Address extends AddressStreetOneOf {
|
|
357
357
|
/** Street name, number and apartment number. */
|
|
358
358
|
streetAddress?: StreetAddress;
|
|
359
359
|
/** Main address line, usually street and number, as free text. */
|
|
@@ -383,13 +383,13 @@ interface Address extends AddressStreetOneOf {
|
|
|
383
383
|
subdivisions?: Subdivision[];
|
|
384
384
|
}
|
|
385
385
|
/** @oneof */
|
|
386
|
-
interface AddressStreetOneOf {
|
|
386
|
+
export interface AddressStreetOneOf {
|
|
387
387
|
/** Street name, number and apartment number. */
|
|
388
388
|
streetAddress?: StreetAddress;
|
|
389
389
|
/** Main address line, usually street and number, as free text. */
|
|
390
390
|
addressLine?: string | null;
|
|
391
391
|
}
|
|
392
|
-
interface StreetAddress {
|
|
392
|
+
export interface StreetAddress {
|
|
393
393
|
/** Street number. */
|
|
394
394
|
number?: string;
|
|
395
395
|
/** Street name. */
|
|
@@ -397,24 +397,24 @@ interface StreetAddress {
|
|
|
397
397
|
/** Apartment number. */
|
|
398
398
|
apt?: string;
|
|
399
399
|
}
|
|
400
|
-
interface AddressLocation {
|
|
400
|
+
export interface AddressLocation {
|
|
401
401
|
/** Address latitude. */
|
|
402
402
|
latitude?: number | null;
|
|
403
403
|
/** Address longitude. */
|
|
404
404
|
longitude?: number | null;
|
|
405
405
|
}
|
|
406
|
-
interface Subdivision {
|
|
406
|
+
export interface Subdivision {
|
|
407
407
|
/** Subdivision code. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
|
|
408
408
|
code?: string;
|
|
409
409
|
/** Subdivision full name. */
|
|
410
410
|
name?: string;
|
|
411
411
|
}
|
|
412
|
-
interface CustomFormField {
|
|
412
|
+
export interface CustomFormField {
|
|
413
413
|
/**
|
|
414
414
|
* ID of the form field as defined in the form.
|
|
415
415
|
* @format GUID
|
|
416
416
|
*/
|
|
417
|
-
|
|
417
|
+
id?: string;
|
|
418
418
|
/** Value that was submitted for this field. */
|
|
419
419
|
value?: string | null;
|
|
420
420
|
/**
|
|
@@ -424,7 +424,7 @@ interface CustomFormField {
|
|
|
424
424
|
label?: string | null;
|
|
425
425
|
valueType?: ValueType;
|
|
426
426
|
}
|
|
427
|
-
declare enum ValueType {
|
|
427
|
+
export declare enum ValueType {
|
|
428
428
|
/** Short text. This is the default value type. */
|
|
429
429
|
SHORT_TEXT = "SHORT_TEXT",
|
|
430
430
|
/** Long text. */
|
|
@@ -433,7 +433,7 @@ declare enum ValueType {
|
|
|
433
433
|
CHECK_BOX = "CHECK_BOX"
|
|
434
434
|
}
|
|
435
435
|
/** Booking status. */
|
|
436
|
-
declare enum BookingStatus {
|
|
436
|
+
export declare enum BookingStatus {
|
|
437
437
|
/**
|
|
438
438
|
* The booking was created, but the customer hasn't completed the related
|
|
439
439
|
* eCommerce order yet.
|
|
@@ -474,7 +474,7 @@ declare enum BookingStatus {
|
|
|
474
474
|
* Payment status.
|
|
475
475
|
* Automatically updated when using eCommerce checkout APIs.
|
|
476
476
|
*/
|
|
477
|
-
declare enum PaymentStatus {
|
|
477
|
+
export declare enum PaymentStatus {
|
|
478
478
|
/** Undefined payment status. */
|
|
479
479
|
UNDEFINED = "UNDEFINED",
|
|
480
480
|
/** The booking isn't paid. */
|
|
@@ -495,7 +495,7 @@ declare enum PaymentStatus {
|
|
|
495
495
|
* This field is set when the user selects an option during booking.
|
|
496
496
|
* If left undefined, the payment option is resolved by the service configuration on checkout.
|
|
497
497
|
*/
|
|
498
|
-
declare enum SelectedPaymentOption {
|
|
498
|
+
export declare enum SelectedPaymentOption {
|
|
499
499
|
/** Undefined payment option. */
|
|
500
500
|
UNDEFINED = "UNDEFINED",
|
|
501
501
|
/** Offline payment. */
|
|
@@ -510,7 +510,7 @@ declare enum SelectedPaymentOption {
|
|
|
510
510
|
*/
|
|
511
511
|
MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
|
|
512
512
|
}
|
|
513
|
-
interface BookingSource {
|
|
513
|
+
export interface BookingSource {
|
|
514
514
|
/** Platform from which a booking was created. */
|
|
515
515
|
platform?: Platform;
|
|
516
516
|
/** Actor that created this booking. */
|
|
@@ -527,17 +527,17 @@ interface BookingSource {
|
|
|
527
527
|
*/
|
|
528
528
|
appName?: string | null;
|
|
529
529
|
}
|
|
530
|
-
declare enum Platform {
|
|
530
|
+
export declare enum Platform {
|
|
531
531
|
UNDEFINED_PLATFORM = "UNDEFINED_PLATFORM",
|
|
532
532
|
WEB = "WEB",
|
|
533
533
|
MOBILE_APP = "MOBILE_APP"
|
|
534
534
|
}
|
|
535
|
-
declare enum Actor {
|
|
535
|
+
export declare enum Actor {
|
|
536
536
|
UNDEFINED_ACTOR = "UNDEFINED_ACTOR",
|
|
537
537
|
BUSINESS = "BUSINESS",
|
|
538
538
|
CUSTOMER = "CUSTOMER"
|
|
539
539
|
}
|
|
540
|
-
interface ParticipantNotification {
|
|
540
|
+
export interface ParticipantNotification {
|
|
541
541
|
/**
|
|
542
542
|
* Whether to send the message about the changes to the customer.
|
|
543
543
|
*
|
|
@@ -547,7 +547,7 @@ interface ParticipantNotification {
|
|
|
547
547
|
/** Custom message to send to the participants about the changes to the booking. */
|
|
548
548
|
message?: string | null;
|
|
549
549
|
}
|
|
550
|
-
interface CommonIdentificationData extends CommonIdentificationDataIdOneOf {
|
|
550
|
+
export interface CommonIdentificationData extends CommonIdentificationDataIdOneOf {
|
|
551
551
|
/**
|
|
552
552
|
* ID of a site visitor that has not logged in to the site.
|
|
553
553
|
* @format GUID
|
|
@@ -575,7 +575,7 @@ interface CommonIdentificationData extends CommonIdentificationDataIdOneOf {
|
|
|
575
575
|
contactId?: string | null;
|
|
576
576
|
}
|
|
577
577
|
/** @oneof */
|
|
578
|
-
interface CommonIdentificationDataIdOneOf {
|
|
578
|
+
export interface CommonIdentificationDataIdOneOf {
|
|
579
579
|
/**
|
|
580
580
|
* ID of a site visitor that has not logged in to the site.
|
|
581
581
|
* @format GUID
|
|
@@ -597,14 +597,14 @@ interface CommonIdentificationDataIdOneOf {
|
|
|
597
597
|
*/
|
|
598
598
|
appId?: string;
|
|
599
599
|
}
|
|
600
|
-
declare enum IdentificationDataIdentityType {
|
|
600
|
+
export declare enum IdentificationDataIdentityType {
|
|
601
601
|
UNKNOWN = "UNKNOWN",
|
|
602
602
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
603
603
|
MEMBER = "MEMBER",
|
|
604
604
|
WIX_USER = "WIX_USER",
|
|
605
605
|
APP = "APP"
|
|
606
606
|
}
|
|
607
|
-
interface FlowControlSettings {
|
|
607
|
+
export interface FlowControlSettings {
|
|
608
608
|
/** Whether availability is checked when creating or confirming the booking. */
|
|
609
609
|
skipAvailabilityValidation?: boolean;
|
|
610
610
|
/**
|
|
@@ -626,7 +626,7 @@ interface FlowControlSettings {
|
|
|
626
626
|
*/
|
|
627
627
|
withRefund?: boolean | null;
|
|
628
628
|
}
|
|
629
|
-
interface ExtendedFields {
|
|
629
|
+
export interface ExtendedFields {
|
|
630
630
|
/**
|
|
631
631
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
632
632
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -637,7 +637,7 @@ interface ExtendedFields {
|
|
|
637
637
|
*/
|
|
638
638
|
namespaces?: Record<string, Record<string, any>>;
|
|
639
639
|
}
|
|
640
|
-
interface ParticipantChoices {
|
|
640
|
+
export interface ParticipantChoices {
|
|
641
641
|
/**
|
|
642
642
|
* Information about the booked service choices. Includes the number of participants.
|
|
643
643
|
* @minSize 1
|
|
@@ -645,7 +645,7 @@ interface ParticipantChoices {
|
|
|
645
645
|
*/
|
|
646
646
|
serviceChoices?: ServiceChoices[];
|
|
647
647
|
}
|
|
648
|
-
interface ServiceChoices {
|
|
648
|
+
export interface ServiceChoices {
|
|
649
649
|
/**
|
|
650
650
|
* Number of participants for this _variant_
|
|
651
651
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
@@ -658,7 +658,7 @@ interface ServiceChoices {
|
|
|
658
658
|
*/
|
|
659
659
|
choices?: ServiceChoice[];
|
|
660
660
|
}
|
|
661
|
-
interface ServiceChoice extends ServiceChoiceChoiceOneOf {
|
|
661
|
+
export interface ServiceChoice extends ServiceChoiceChoiceOneOf {
|
|
662
662
|
/**
|
|
663
663
|
* Value for one of the choices in the [`CustomServiceOption.choices`](https://example.com) list.
|
|
664
664
|
* Choices are specific values for an option the customer can choose to book. For example,
|
|
@@ -676,7 +676,7 @@ interface ServiceChoice extends ServiceChoiceChoiceOneOf {
|
|
|
676
676
|
optionId?: string;
|
|
677
677
|
}
|
|
678
678
|
/** @oneof */
|
|
679
|
-
interface ServiceChoiceChoiceOneOf {
|
|
679
|
+
export interface ServiceChoiceChoiceOneOf {
|
|
680
680
|
/**
|
|
681
681
|
* Value for one of the choices in the [`CustomServiceOption.choices`](https://example.com) list.
|
|
682
682
|
* Choices are specific values for an option the customer can choose to book. For example,
|
|
@@ -686,7 +686,7 @@ interface ServiceChoiceChoiceOneOf {
|
|
|
686
686
|
custom?: string;
|
|
687
687
|
duration?: Duration;
|
|
688
688
|
}
|
|
689
|
-
interface Duration {
|
|
689
|
+
export interface Duration {
|
|
690
690
|
/**
|
|
691
691
|
* Duration of the service in minutes.
|
|
692
692
|
* Min: 1 minute, Max: 30 days, 23 hours, and 59 minutes
|
|
@@ -701,31 +701,58 @@ interface Duration {
|
|
|
701
701
|
*/
|
|
702
702
|
name?: string | null;
|
|
703
703
|
}
|
|
704
|
-
interface MultiServiceBookingInfo {
|
|
704
|
+
export interface MultiServiceBookingInfo {
|
|
705
705
|
/**
|
|
706
706
|
* Multi-service booking ID.
|
|
707
707
|
* @format GUID
|
|
708
708
|
* @readonly
|
|
709
709
|
*/
|
|
710
|
-
|
|
710
|
+
id?: string | null;
|
|
711
711
|
/** Type of the multi-service booking. */
|
|
712
712
|
type?: MultiServiceBookingType;
|
|
713
713
|
}
|
|
714
|
-
interface BookedAddOn {
|
|
714
|
+
export interface BookedAddOn extends BookedAddOnAddOnInfoOneOf {
|
|
715
|
+
/**
|
|
716
|
+
* The Add-On duration in minutes at the time of Booking.
|
|
717
|
+
* @min 1
|
|
718
|
+
* @max 1440
|
|
719
|
+
* @readonly
|
|
720
|
+
*/
|
|
721
|
+
durationInMinutes?: number;
|
|
722
|
+
/**
|
|
723
|
+
* The quantity of booked Add-Ons.
|
|
724
|
+
* @min 1
|
|
725
|
+
* @max 1000
|
|
726
|
+
*/
|
|
727
|
+
quantity?: number;
|
|
715
728
|
/**
|
|
716
729
|
* The ID of the Add-On.
|
|
717
730
|
* @format GUID
|
|
718
731
|
*/
|
|
719
|
-
|
|
732
|
+
id?: string;
|
|
720
733
|
/**
|
|
721
734
|
* The ID of the Add-Ons group.
|
|
722
735
|
* @format GUID
|
|
723
736
|
*/
|
|
724
737
|
groupId?: string;
|
|
725
|
-
/** The Add-On duration in minutes at the time of Booking. */
|
|
726
|
-
durationInMinutes?: number | null;
|
|
727
738
|
}
|
|
728
|
-
|
|
739
|
+
/** @oneof */
|
|
740
|
+
export interface BookedAddOnAddOnInfoOneOf {
|
|
741
|
+
/**
|
|
742
|
+
* The Add-On duration in minutes at the time of Booking.
|
|
743
|
+
* @min 1
|
|
744
|
+
* @max 1440
|
|
745
|
+
* @readonly
|
|
746
|
+
*/
|
|
747
|
+
durationInMinutes?: number;
|
|
748
|
+
/**
|
|
749
|
+
* The quantity of booked Add-Ons.
|
|
750
|
+
* @min 1
|
|
751
|
+
* @max 1000
|
|
752
|
+
*/
|
|
753
|
+
quantity?: number;
|
|
754
|
+
}
|
|
755
|
+
export interface BookingFormFilled {
|
|
729
756
|
/** The booking object that form was filled for. */
|
|
730
757
|
booking?: Booking;
|
|
731
758
|
/**
|
|
@@ -741,7 +768,7 @@ interface BookingFormFilled {
|
|
|
741
768
|
*/
|
|
742
769
|
formId?: string | null;
|
|
743
770
|
}
|
|
744
|
-
interface SetBookingFormAndSubmissionIdRequest extends SetBookingFormAndSubmissionIdRequestCreatedByOneOf {
|
|
771
|
+
export interface SetBookingFormAndSubmissionIdRequest extends SetBookingFormAndSubmissionIdRequestCreatedByOneOf {
|
|
745
772
|
/**
|
|
746
773
|
* The visitor who created the booking.
|
|
747
774
|
* @format GUID
|
|
@@ -784,7 +811,7 @@ interface SetBookingFormAndSubmissionIdRequest extends SetBookingFormAndSubmissi
|
|
|
784
811
|
instanceId?: string | null;
|
|
785
812
|
}
|
|
786
813
|
/** @oneof */
|
|
787
|
-
interface SetBookingFormAndSubmissionIdRequestCreatedByOneOf {
|
|
814
|
+
export interface SetBookingFormAndSubmissionIdRequestCreatedByOneOf {
|
|
788
815
|
/**
|
|
789
816
|
* The visitor who created the booking.
|
|
790
817
|
* @format GUID
|
|
@@ -801,11 +828,11 @@ interface SetBookingFormAndSubmissionIdRequestCreatedByOneOf {
|
|
|
801
828
|
*/
|
|
802
829
|
appId?: string | null;
|
|
803
830
|
}
|
|
804
|
-
interface SetBookingFormAndSubmissionIdResponse {
|
|
831
|
+
export interface SetBookingFormAndSubmissionIdResponse {
|
|
805
832
|
/** Updated booking. */
|
|
806
833
|
booking?: Booking;
|
|
807
834
|
}
|
|
808
|
-
interface DomainEvent extends DomainEventBodyOneOf {
|
|
835
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
809
836
|
createdEvent?: EntityCreatedEvent;
|
|
810
837
|
updatedEvent?: EntityUpdatedEvent;
|
|
811
838
|
deletedEvent?: EntityDeletedEvent;
|
|
@@ -814,7 +841,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
814
841
|
* Unique event ID.
|
|
815
842
|
* Allows clients to ignore duplicate webhooks.
|
|
816
843
|
*/
|
|
817
|
-
|
|
844
|
+
id?: string;
|
|
818
845
|
/**
|
|
819
846
|
* Assumes actions are also always typed to an entity_type
|
|
820
847
|
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
@@ -848,34 +875,36 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
848
875
|
entityEventSequence?: string | null;
|
|
849
876
|
}
|
|
850
877
|
/** @oneof */
|
|
851
|
-
interface DomainEventBodyOneOf {
|
|
878
|
+
export interface DomainEventBodyOneOf {
|
|
852
879
|
createdEvent?: EntityCreatedEvent;
|
|
853
880
|
updatedEvent?: EntityUpdatedEvent;
|
|
854
881
|
deletedEvent?: EntityDeletedEvent;
|
|
855
882
|
actionEvent?: ActionEvent;
|
|
856
883
|
}
|
|
857
|
-
interface EntityCreatedEvent {
|
|
858
|
-
|
|
884
|
+
export interface EntityCreatedEvent {
|
|
885
|
+
entityAsJson?: string;
|
|
886
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
887
|
+
restoreInfo?: RestoreInfo;
|
|
859
888
|
}
|
|
860
|
-
interface RestoreInfo {
|
|
889
|
+
export interface RestoreInfo {
|
|
861
890
|
deletedDate?: Date | null;
|
|
862
891
|
}
|
|
863
|
-
interface EntityUpdatedEvent {
|
|
892
|
+
export interface EntityUpdatedEvent {
|
|
864
893
|
/**
|
|
865
894
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
866
895
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
867
896
|
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
868
897
|
*/
|
|
869
|
-
|
|
898
|
+
currentEntityAsJson?: string;
|
|
870
899
|
}
|
|
871
|
-
interface EntityDeletedEvent {
|
|
900
|
+
export interface EntityDeletedEvent {
|
|
872
901
|
/** Entity that was deleted */
|
|
873
|
-
|
|
902
|
+
deletedEntityAsJson?: string | null;
|
|
874
903
|
}
|
|
875
|
-
interface ActionEvent {
|
|
876
|
-
|
|
904
|
+
export interface ActionEvent {
|
|
905
|
+
bodyAsJson?: string;
|
|
877
906
|
}
|
|
878
|
-
interface MessageEnvelope {
|
|
907
|
+
export interface MessageEnvelope {
|
|
879
908
|
/**
|
|
880
909
|
* App instance ID.
|
|
881
910
|
* @format GUID
|
|
@@ -891,7 +920,7 @@ interface MessageEnvelope {
|
|
|
891
920
|
/** Stringify payload. */
|
|
892
921
|
data?: string;
|
|
893
922
|
}
|
|
894
|
-
interface WebhooksIdentificationData extends WebhooksIdentificationDataIdOneOf {
|
|
923
|
+
export interface WebhooksIdentificationData extends WebhooksIdentificationDataIdOneOf {
|
|
895
924
|
/**
|
|
896
925
|
* ID of a site visitor that has not logged in to the site.
|
|
897
926
|
* @format GUID
|
|
@@ -916,7 +945,7 @@ interface WebhooksIdentificationData extends WebhooksIdentificationDataIdOneOf {
|
|
|
916
945
|
identityType?: WebhookIdentityType;
|
|
917
946
|
}
|
|
918
947
|
/** @oneof */
|
|
919
|
-
interface WebhooksIdentificationDataIdOneOf {
|
|
948
|
+
export interface WebhooksIdentificationDataIdOneOf {
|
|
920
949
|
/**
|
|
921
950
|
* ID of a site visitor that has not logged in to the site.
|
|
922
951
|
* @format GUID
|
|
@@ -938,14 +967,14 @@ interface WebhooksIdentificationDataIdOneOf {
|
|
|
938
967
|
*/
|
|
939
968
|
appId?: string;
|
|
940
969
|
}
|
|
941
|
-
declare enum WebhookIdentityType {
|
|
970
|
+
export declare enum WebhookIdentityType {
|
|
942
971
|
UNKNOWN = "UNKNOWN",
|
|
943
972
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
944
973
|
MEMBER = "MEMBER",
|
|
945
974
|
WIX_USER = "WIX_USER",
|
|
946
975
|
APP = "APP"
|
|
947
976
|
}
|
|
948
|
-
interface V2CreateBookingRequest extends V2CreateBookingRequestBookableItemOneOf, V2CreateBookingRequestParticipantsInfoOneOf {
|
|
977
|
+
export interface V2CreateBookingRequest extends V2CreateBookingRequestBookableItemOneOf, V2CreateBookingRequestParticipantsInfoOneOf {
|
|
949
978
|
/**
|
|
950
979
|
* Information about the slot to create a booking for.
|
|
951
980
|
* If you set `slot.location.locationType` to `CUSTOM`, the created slot's
|
|
@@ -1041,7 +1070,7 @@ interface V2CreateBookingRequest extends V2CreateBookingRequestBookableItemOneOf
|
|
|
1041
1070
|
flowControlSettings?: CreateBookingRequestFlowControlSettings;
|
|
1042
1071
|
}
|
|
1043
1072
|
/** @oneof */
|
|
1044
|
-
interface V2CreateBookingRequestBookableItemOneOf {
|
|
1073
|
+
export interface V2CreateBookingRequestBookableItemOneOf {
|
|
1045
1074
|
/**
|
|
1046
1075
|
* Information about the slot to create a booking for.
|
|
1047
1076
|
* If you set `slot.location.locationType` to `CUSTOM`, the created slot's
|
|
@@ -1053,9 +1082,9 @@ interface V2CreateBookingRequestBookableItemOneOf {
|
|
|
1053
1082
|
schedule?: BookedSchedule;
|
|
1054
1083
|
}
|
|
1055
1084
|
/** @oneof */
|
|
1056
|
-
interface V2CreateBookingRequestParticipantsInfoOneOf {
|
|
1085
|
+
export interface V2CreateBookingRequestParticipantsInfoOneOf {
|
|
1057
1086
|
}
|
|
1058
|
-
interface Slot {
|
|
1087
|
+
export interface Slot {
|
|
1059
1088
|
/**
|
|
1060
1089
|
* ID for the slot's corresponding session, when the session is either a single session
|
|
1061
1090
|
* or a specific session generated from a recurring session.
|
|
@@ -1113,20 +1142,20 @@ interface Slot {
|
|
|
1113
1142
|
*/
|
|
1114
1143
|
eventId?: string | null;
|
|
1115
1144
|
}
|
|
1116
|
-
interface SlotResource {
|
|
1145
|
+
export interface SlotResource {
|
|
1117
1146
|
/**
|
|
1118
1147
|
* Resource ID.
|
|
1119
1148
|
* @format GUID
|
|
1120
1149
|
* @readonly
|
|
1121
1150
|
*/
|
|
1122
|
-
|
|
1151
|
+
id?: string | null;
|
|
1123
1152
|
/**
|
|
1124
1153
|
* Resource name. Read only.
|
|
1125
1154
|
* @maxLength 1200
|
|
1126
1155
|
*/
|
|
1127
1156
|
name?: string | null;
|
|
1128
1157
|
}
|
|
1129
|
-
interface CreateBookingRequestFlowControlSettings {
|
|
1158
|
+
export interface CreateBookingRequestFlowControlSettings {
|
|
1130
1159
|
/**
|
|
1131
1160
|
* Whether the availability is checked before creating the booking. When
|
|
1132
1161
|
* passing `false` a booking is only created when the slot or schedule is
|
|
@@ -1155,11 +1184,11 @@ interface CreateBookingRequestFlowControlSettings {
|
|
|
1155
1184
|
*/
|
|
1156
1185
|
skipSelectedPaymentOptionValidation?: boolean;
|
|
1157
1186
|
}
|
|
1158
|
-
interface V2CreateBookingResponse {
|
|
1187
|
+
export interface V2CreateBookingResponse {
|
|
1159
1188
|
/** Created booking. */
|
|
1160
1189
|
booking?: Booking;
|
|
1161
1190
|
}
|
|
1162
|
-
interface V2CancelBookingRequest {
|
|
1191
|
+
export interface V2CancelBookingRequest {
|
|
1163
1192
|
/**
|
|
1164
1193
|
* ID of the booking to cancel.
|
|
1165
1194
|
* @format GUID
|
|
@@ -1177,7 +1206,7 @@ interface V2CancelBookingRequest {
|
|
|
1177
1206
|
*/
|
|
1178
1207
|
revision?: string | null;
|
|
1179
1208
|
}
|
|
1180
|
-
interface CancelBookingRequestFlowControlSettings {
|
|
1209
|
+
export interface CancelBookingRequestFlowControlSettings {
|
|
1181
1210
|
/**
|
|
1182
1211
|
* Whether the cancellation policy applies when canceling the booking. When
|
|
1183
1212
|
* passing `false` you can only cancel a booking if the cancellation policy
|
|
@@ -1199,11 +1228,11 @@ interface CancelBookingRequestFlowControlSettings {
|
|
|
1199
1228
|
*/
|
|
1200
1229
|
withRefund?: boolean | null;
|
|
1201
1230
|
}
|
|
1202
|
-
interface V2CancelBookingResponse {
|
|
1231
|
+
export interface V2CancelBookingResponse {
|
|
1203
1232
|
/** Canceled booking. */
|
|
1204
1233
|
booking?: Booking;
|
|
1205
1234
|
}
|
|
1206
|
-
interface V2RescheduleBookingRequest extends V2RescheduleBookingRequestParticipantsInfoOneOf {
|
|
1235
|
+
export interface V2RescheduleBookingRequest extends V2RescheduleBookingRequestParticipantsInfoOneOf {
|
|
1207
1236
|
/**
|
|
1208
1237
|
* Id of the booking to reschedule.
|
|
1209
1238
|
* @format GUID
|
|
@@ -1224,9 +1253,9 @@ interface V2RescheduleBookingRequest extends V2RescheduleBookingRequestParticipa
|
|
|
1224
1253
|
participantNotification?: ParticipantNotification;
|
|
1225
1254
|
}
|
|
1226
1255
|
/** @oneof */
|
|
1227
|
-
interface V2RescheduleBookingRequestParticipantsInfoOneOf {
|
|
1256
|
+
export interface V2RescheduleBookingRequestParticipantsInfoOneOf {
|
|
1228
1257
|
}
|
|
1229
|
-
interface RescheduleBookingRequestFlowControlSettings {
|
|
1258
|
+
export interface RescheduleBookingRequestFlowControlSettings {
|
|
1230
1259
|
/**
|
|
1231
1260
|
* Whether the rescheduling policy applies when rescheduling the booking.
|
|
1232
1261
|
* When passing `false` you can only cancel a booking if the rescheduling
|
|
@@ -1255,11 +1284,11 @@ interface RescheduleBookingRequestFlowControlSettings {
|
|
|
1255
1284
|
*/
|
|
1256
1285
|
skipBusinessConfirmation?: boolean;
|
|
1257
1286
|
}
|
|
1258
|
-
interface V2RescheduleBookingResponse {
|
|
1287
|
+
export interface V2RescheduleBookingResponse {
|
|
1259
1288
|
/** Rescheduled booking. */
|
|
1260
1289
|
booking?: Booking;
|
|
1261
1290
|
}
|
|
1262
|
-
interface V2ConfirmBookingRequest {
|
|
1291
|
+
export interface V2ConfirmBookingRequest {
|
|
1263
1292
|
/**
|
|
1264
1293
|
* ID of the booking to confirm.
|
|
1265
1294
|
* @format GUID
|
|
@@ -1277,10 +1306,10 @@ interface V2ConfirmBookingRequest {
|
|
|
1277
1306
|
*/
|
|
1278
1307
|
participantNotification?: ParticipantNotification;
|
|
1279
1308
|
}
|
|
1280
|
-
interface V2ConfirmBookingResponse {
|
|
1309
|
+
export interface V2ConfirmBookingResponse {
|
|
1281
1310
|
booking?: Booking;
|
|
1282
1311
|
}
|
|
1283
|
-
interface V2DeclineBookingRequest {
|
|
1312
|
+
export interface V2DeclineBookingRequest {
|
|
1284
1313
|
/**
|
|
1285
1314
|
* ID of the booking to decline.
|
|
1286
1315
|
* @format GUID
|
|
@@ -1298,11 +1327,11 @@ interface V2DeclineBookingRequest {
|
|
|
1298
1327
|
*/
|
|
1299
1328
|
participantNotification?: ParticipantNotification;
|
|
1300
1329
|
}
|
|
1301
|
-
interface V2DeclineBookingResponse {
|
|
1330
|
+
export interface V2DeclineBookingResponse {
|
|
1302
1331
|
/** Declined booking. */
|
|
1303
1332
|
booking?: Booking;
|
|
1304
1333
|
}
|
|
1305
|
-
interface V2UpdateNumberOfParticipantsRequest extends V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
1334
|
+
export interface V2UpdateNumberOfParticipantsRequest extends V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
1306
1335
|
/**
|
|
1307
1336
|
* ID of the booking to update the number of participants for.
|
|
1308
1337
|
* @format GUID
|
|
@@ -1318,13 +1347,13 @@ interface V2UpdateNumberOfParticipantsRequest extends V2UpdateNumberOfParticipan
|
|
|
1318
1347
|
revision?: string | null;
|
|
1319
1348
|
}
|
|
1320
1349
|
/** @oneof */
|
|
1321
|
-
interface V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
1350
|
+
export interface V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
1322
1351
|
}
|
|
1323
|
-
interface V2UpdateNumberOfParticipantsResponse {
|
|
1352
|
+
export interface V2UpdateNumberOfParticipantsResponse {
|
|
1324
1353
|
/** Booking with updated number of participants. */
|
|
1325
1354
|
booking?: Booking;
|
|
1326
1355
|
}
|
|
1327
|
-
interface ConfirmOrDeclineBookingRequest {
|
|
1356
|
+
export interface ConfirmOrDeclineBookingRequest {
|
|
1328
1357
|
/**
|
|
1329
1358
|
* ID of the booking to confirm or decline.
|
|
1330
1359
|
* @format GUID
|
|
@@ -1340,11 +1369,11 @@ interface ConfirmOrDeclineBookingRequest {
|
|
|
1340
1369
|
*/
|
|
1341
1370
|
paymentStatus?: PaymentStatus;
|
|
1342
1371
|
}
|
|
1343
|
-
interface ConfirmOrDeclineBookingResponse {
|
|
1372
|
+
export interface ConfirmOrDeclineBookingResponse {
|
|
1344
1373
|
/** Updated booking. */
|
|
1345
1374
|
booking?: Booking;
|
|
1346
1375
|
}
|
|
1347
|
-
interface BulkConfirmOrDeclineBookingRequest {
|
|
1376
|
+
export interface BulkConfirmOrDeclineBookingRequest {
|
|
1348
1377
|
/**
|
|
1349
1378
|
* Bookings to confirm or decline.
|
|
1350
1379
|
* @minSize 1
|
|
@@ -1354,7 +1383,7 @@ interface BulkConfirmOrDeclineBookingRequest {
|
|
|
1354
1383
|
/** Whether to return the confirmed or declined booking objects. */
|
|
1355
1384
|
returnEntity?: boolean;
|
|
1356
1385
|
}
|
|
1357
|
-
interface BulkConfirmOrDeclineBookingRequestBookingDetails {
|
|
1386
|
+
export interface BulkConfirmOrDeclineBookingRequestBookingDetails {
|
|
1358
1387
|
/**
|
|
1359
1388
|
* ID of the booking to confirm or decline.
|
|
1360
1389
|
* @format GUID
|
|
@@ -1370,13 +1399,13 @@ interface BulkConfirmOrDeclineBookingRequestBookingDetails {
|
|
|
1370
1399
|
*/
|
|
1371
1400
|
paymentStatus?: PaymentStatus;
|
|
1372
1401
|
}
|
|
1373
|
-
interface BulkConfirmOrDeclineBookingResponse {
|
|
1402
|
+
export interface BulkConfirmOrDeclineBookingResponse {
|
|
1374
1403
|
/** List of confirmed or declined bookings, including metadata. */
|
|
1375
1404
|
results?: BulkBookingResult[];
|
|
1376
1405
|
/** Total successes and failures of the Bulk Confirm Or Decline call. */
|
|
1377
1406
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1378
1407
|
}
|
|
1379
|
-
interface BulkBookingResult {
|
|
1408
|
+
export interface BulkBookingResult {
|
|
1380
1409
|
/**
|
|
1381
1410
|
* Information about the booking that was created or updated.
|
|
1382
1411
|
* Including its ID, index in the bulk request and whether it was
|
|
@@ -1389,9 +1418,9 @@ interface BulkBookingResult {
|
|
|
1389
1418
|
*/
|
|
1390
1419
|
item?: Booking;
|
|
1391
1420
|
}
|
|
1392
|
-
interface ItemMetadata {
|
|
1421
|
+
export interface ItemMetadata {
|
|
1393
1422
|
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
1394
|
-
|
|
1423
|
+
id?: string | null;
|
|
1395
1424
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
1396
1425
|
originalIndex?: number;
|
|
1397
1426
|
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
@@ -1399,7 +1428,7 @@ interface ItemMetadata {
|
|
|
1399
1428
|
/** Details about the error in case of failure. */
|
|
1400
1429
|
error?: ApplicationError;
|
|
1401
1430
|
}
|
|
1402
|
-
interface ApplicationError {
|
|
1431
|
+
export interface ApplicationError {
|
|
1403
1432
|
/** Error code. */
|
|
1404
1433
|
code?: string;
|
|
1405
1434
|
/** Description of the error. */
|
|
@@ -1407,7 +1436,7 @@ interface ApplicationError {
|
|
|
1407
1436
|
/** Data related to the error. */
|
|
1408
1437
|
data?: Record<string, any> | null;
|
|
1409
1438
|
}
|
|
1410
|
-
interface BulkActionMetadata {
|
|
1439
|
+
export interface BulkActionMetadata {
|
|
1411
1440
|
/** Number of items that were successfully processed. */
|
|
1412
1441
|
totalSuccesses?: number;
|
|
1413
1442
|
/** Number of items that couldn't be processed. */
|
|
@@ -1415,13 +1444,13 @@ interface BulkActionMetadata {
|
|
|
1415
1444
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
1416
1445
|
undetailedFailures?: number;
|
|
1417
1446
|
}
|
|
1418
|
-
interface BookingChanged {
|
|
1447
|
+
export interface BookingChanged {
|
|
1419
1448
|
/** The booking before the changes. */
|
|
1420
1449
|
previousBooking?: Booking;
|
|
1421
1450
|
/** The booking after the changes. */
|
|
1422
1451
|
currentBooking?: Booking;
|
|
1423
1452
|
}
|
|
1424
|
-
interface CreateBookingRequest {
|
|
1453
|
+
export interface CreateBookingRequest {
|
|
1425
1454
|
/** The booking to create. */
|
|
1426
1455
|
booking: Booking;
|
|
1427
1456
|
/**
|
|
@@ -1441,7 +1470,7 @@ interface CreateBookingRequest {
|
|
|
1441
1470
|
*/
|
|
1442
1471
|
flowControlSettings?: CreateBookingFlowControlSettings;
|
|
1443
1472
|
}
|
|
1444
|
-
interface CreateBookingFlowControlSettings {
|
|
1473
|
+
export interface CreateBookingFlowControlSettings {
|
|
1445
1474
|
/**
|
|
1446
1475
|
* Whether the availability is checked before creating the booking.
|
|
1447
1476
|
*
|
|
@@ -1468,7 +1497,7 @@ interface CreateBookingFlowControlSettings {
|
|
|
1468
1497
|
*/
|
|
1469
1498
|
skipSelectedPaymentOptionValidation?: boolean;
|
|
1470
1499
|
}
|
|
1471
|
-
interface CreateBookingResponse {
|
|
1500
|
+
export interface CreateBookingResponse {
|
|
1472
1501
|
/** Created booking. */
|
|
1473
1502
|
booking?: Booking;
|
|
1474
1503
|
}
|
|
@@ -1476,30 +1505,30 @@ interface CreateBookingResponse {
|
|
|
1476
1505
|
* The `fieldMask` should not include both the `numberOfParticipants` and `participantsInfo` paths. Including both results
|
|
1477
1506
|
* in an error. `participantsInfo` is preferred over `numberOfParticipants`.
|
|
1478
1507
|
*/
|
|
1479
|
-
interface UpdateBookingRequest {
|
|
1508
|
+
export interface UpdateBookingRequest {
|
|
1480
1509
|
booking?: Booking;
|
|
1481
1510
|
}
|
|
1482
|
-
interface UpdateBookingResponse {
|
|
1511
|
+
export interface UpdateBookingResponse {
|
|
1483
1512
|
booking?: Booking;
|
|
1484
1513
|
}
|
|
1485
|
-
interface LegacyCreateBookingRequest {
|
|
1514
|
+
export interface LegacyCreateBookingRequest {
|
|
1486
1515
|
booking?: Booking;
|
|
1487
1516
|
}
|
|
1488
|
-
interface LegacyCreateBookingResponse {
|
|
1517
|
+
export interface LegacyCreateBookingResponse {
|
|
1489
1518
|
booking?: Booking;
|
|
1490
1519
|
}
|
|
1491
1520
|
/**
|
|
1492
1521
|
* The `fieldMask` for each booking should not include both the `numberOfParticipants` and `participantsInfo` paths. Including both results
|
|
1493
1522
|
* in an error. `participantsInfo` is preferred over `numberOfParticipants`.
|
|
1494
1523
|
*/
|
|
1495
|
-
interface BulkUpdateBookingRequest {
|
|
1524
|
+
export interface BulkUpdateBookingRequest {
|
|
1496
1525
|
bookings?: MaskedBooking[];
|
|
1497
1526
|
}
|
|
1498
|
-
interface MaskedBooking {
|
|
1527
|
+
export interface MaskedBooking {
|
|
1499
1528
|
booking?: Booking;
|
|
1500
1529
|
mask?: string[];
|
|
1501
1530
|
}
|
|
1502
|
-
interface BulkUpdateBookingResponse {
|
|
1531
|
+
export interface BulkUpdateBookingResponse {
|
|
1503
1532
|
/**
|
|
1504
1533
|
* Information about the booking that was updated.
|
|
1505
1534
|
* Including its ID, index in the bulk request and whether it was
|
|
@@ -1509,7 +1538,7 @@ interface BulkUpdateBookingResponse {
|
|
|
1509
1538
|
/** Total number of successes and failures for Bulk Update Bookings. */
|
|
1510
1539
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1511
1540
|
}
|
|
1512
|
-
interface BulkCreateBookingRequest {
|
|
1541
|
+
export interface BulkCreateBookingRequest {
|
|
1513
1542
|
/**
|
|
1514
1543
|
* Bookings to create.
|
|
1515
1544
|
*
|
|
@@ -1521,7 +1550,7 @@ interface BulkCreateBookingRequest {
|
|
|
1521
1550
|
/** Whether to return the created bookings. */
|
|
1522
1551
|
returnFullEntity?: boolean;
|
|
1523
1552
|
}
|
|
1524
|
-
interface CreateBookingInfo {
|
|
1553
|
+
export interface CreateBookingInfo {
|
|
1525
1554
|
/** Booking to create. */
|
|
1526
1555
|
booking?: Booking;
|
|
1527
1556
|
/**
|
|
@@ -1541,13 +1570,13 @@ interface CreateBookingInfo {
|
|
|
1541
1570
|
*/
|
|
1542
1571
|
flowControlSettings?: CreateBookingFlowControlSettings;
|
|
1543
1572
|
}
|
|
1544
|
-
interface BulkCreateBookingResponse {
|
|
1573
|
+
export interface BulkCreateBookingResponse {
|
|
1545
1574
|
/** List of individual Bulk Create Bookings results. */
|
|
1546
1575
|
results?: BulkBookingResult[];
|
|
1547
1576
|
/** Total number of successes and failures for Bulk Create Bookings. */
|
|
1548
1577
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1549
1578
|
}
|
|
1550
|
-
interface RescheduleBookingRequest extends RescheduleBookingRequestParticipantsInfoOneOf {
|
|
1579
|
+
export interface RescheduleBookingRequest extends RescheduleBookingRequestParticipantsInfoOneOf {
|
|
1551
1580
|
/**
|
|
1552
1581
|
* Total number of participants. Specify when all participants have booked the
|
|
1553
1582
|
* same service variant.
|
|
@@ -1583,7 +1612,7 @@ interface RescheduleBookingRequest extends RescheduleBookingRequestParticipantsI
|
|
|
1583
1612
|
flowControlSettings?: RescheduleBookingFlowControlSettings;
|
|
1584
1613
|
}
|
|
1585
1614
|
/** @oneof */
|
|
1586
|
-
interface RescheduleBookingRequestParticipantsInfoOneOf {
|
|
1615
|
+
export interface RescheduleBookingRequestParticipantsInfoOneOf {
|
|
1587
1616
|
/**
|
|
1588
1617
|
* Total number of participants. Specify when all participants have booked the
|
|
1589
1618
|
* same service variant.
|
|
@@ -1595,7 +1624,7 @@ interface RescheduleBookingRequestParticipantsInfoOneOf {
|
|
|
1595
1624
|
*/
|
|
1596
1625
|
participantsChoices?: ParticipantChoices;
|
|
1597
1626
|
}
|
|
1598
|
-
interface V2Slot {
|
|
1627
|
+
export interface V2Slot {
|
|
1599
1628
|
/** Identifier for the underlying session when the session is a single session or generated from a recurring session. */
|
|
1600
1629
|
sessionId?: string | null;
|
|
1601
1630
|
/** Service identifier. Required. */
|
|
@@ -1627,7 +1656,7 @@ interface V2Slot {
|
|
|
1627
1656
|
*/
|
|
1628
1657
|
eventId?: string | null;
|
|
1629
1658
|
}
|
|
1630
|
-
declare enum LocationLocationType {
|
|
1659
|
+
export declare enum LocationLocationType {
|
|
1631
1660
|
/** Undefined location type. */
|
|
1632
1661
|
UNDEFINED = "UNDEFINED",
|
|
1633
1662
|
/** The business address as set in the site’s general settings. */
|
|
@@ -1637,25 +1666,25 @@ declare enum LocationLocationType {
|
|
|
1637
1666
|
/** The address set for the individual session. */
|
|
1638
1667
|
CUSTOM = "CUSTOM"
|
|
1639
1668
|
}
|
|
1640
|
-
interface SlotSlotResource {
|
|
1669
|
+
export interface SlotSlotResource {
|
|
1641
1670
|
/**
|
|
1642
1671
|
* Resource ID.
|
|
1643
1672
|
* @format GUID
|
|
1644
1673
|
* @readonly
|
|
1645
1674
|
*/
|
|
1646
|
-
|
|
1675
|
+
id?: string | null;
|
|
1647
1676
|
/**
|
|
1648
1677
|
* Resource name.
|
|
1649
1678
|
* @maxLength 1200
|
|
1650
1679
|
*/
|
|
1651
1680
|
name?: string | null;
|
|
1652
1681
|
}
|
|
1653
|
-
interface SlotLocation {
|
|
1682
|
+
export interface SlotLocation {
|
|
1654
1683
|
/**
|
|
1655
1684
|
* Business Location ID. Present if the location is a business location.
|
|
1656
1685
|
* @format GUID
|
|
1657
1686
|
*/
|
|
1658
|
-
|
|
1687
|
+
id?: string | null;
|
|
1659
1688
|
/** Location name. */
|
|
1660
1689
|
name?: string | null;
|
|
1661
1690
|
/** A string containing the full address of this location. */
|
|
@@ -1663,7 +1692,7 @@ interface SlotLocation {
|
|
|
1663
1692
|
/** Location type. */
|
|
1664
1693
|
locationType?: LocationLocationType;
|
|
1665
1694
|
}
|
|
1666
|
-
interface RescheduleBookingFlowControlSettings {
|
|
1695
|
+
export interface RescheduleBookingFlowControlSettings {
|
|
1667
1696
|
/**
|
|
1668
1697
|
* Whether the rescheduling policy applies when rescheduling the booking.
|
|
1669
1698
|
*
|
|
@@ -1688,11 +1717,11 @@ interface RescheduleBookingFlowControlSettings {
|
|
|
1688
1717
|
*/
|
|
1689
1718
|
skipBusinessConfirmation?: boolean;
|
|
1690
1719
|
}
|
|
1691
|
-
interface RescheduleBookingResponse {
|
|
1720
|
+
export interface RescheduleBookingResponse {
|
|
1692
1721
|
/** Rescheduled booking. */
|
|
1693
1722
|
booking?: Booking;
|
|
1694
1723
|
}
|
|
1695
|
-
interface BookingRescheduled extends BookingRescheduledPreviousParticipantsInfoOneOf {
|
|
1724
|
+
export interface BookingRescheduled extends BookingRescheduledPreviousParticipantsInfoOneOf {
|
|
1696
1725
|
/**
|
|
1697
1726
|
* The previous total number of participants. Available only when the booking includes
|
|
1698
1727
|
* a single service variant.
|
|
@@ -1734,7 +1763,7 @@ interface BookingRescheduled extends BookingRescheduledPreviousParticipantsInfoO
|
|
|
1734
1763
|
previousEndDate?: Date | null;
|
|
1735
1764
|
}
|
|
1736
1765
|
/** @oneof */
|
|
1737
|
-
interface BookingRescheduledPreviousParticipantsInfoOneOf {
|
|
1766
|
+
export interface BookingRescheduledPreviousParticipantsInfoOneOf {
|
|
1738
1767
|
/**
|
|
1739
1768
|
* The previous total number of participants. Available only when the booking includes
|
|
1740
1769
|
* a single service variant.
|
|
@@ -1746,7 +1775,7 @@ interface BookingRescheduledPreviousParticipantsInfoOneOf {
|
|
|
1746
1775
|
*/
|
|
1747
1776
|
previousParticipantsChoices?: ParticipantChoices;
|
|
1748
1777
|
}
|
|
1749
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
1778
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
1750
1779
|
/**
|
|
1751
1780
|
* ID of a site visitor that has not logged in to the site.
|
|
1752
1781
|
* @format GUID
|
|
@@ -1775,7 +1804,7 @@ interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
1775
1804
|
contactId?: string | null;
|
|
1776
1805
|
}
|
|
1777
1806
|
/** @oneof */
|
|
1778
|
-
interface IdentificationDataIdOneOf {
|
|
1807
|
+
export interface IdentificationDataIdOneOf {
|
|
1779
1808
|
/**
|
|
1780
1809
|
* ID of a site visitor that has not logged in to the site.
|
|
1781
1810
|
* @format GUID
|
|
@@ -1797,14 +1826,14 @@ interface IdentificationDataIdOneOf {
|
|
|
1797
1826
|
*/
|
|
1798
1827
|
appId?: string;
|
|
1799
1828
|
}
|
|
1800
|
-
declare enum IdentityType {
|
|
1829
|
+
export declare enum IdentityType {
|
|
1801
1830
|
UNKNOWN = "UNKNOWN",
|
|
1802
1831
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1803
1832
|
MEMBER = "MEMBER",
|
|
1804
1833
|
WIX_USER = "WIX_USER",
|
|
1805
1834
|
APP = "APP"
|
|
1806
1835
|
}
|
|
1807
|
-
interface BulkRescheduleBookingRequest {
|
|
1836
|
+
export interface BulkRescheduleBookingRequest {
|
|
1808
1837
|
/**
|
|
1809
1838
|
* Reschedule multiple bookings to multiple slots.
|
|
1810
1839
|
* @minSize 1
|
|
@@ -1816,12 +1845,12 @@ interface BulkRescheduleBookingRequest {
|
|
|
1816
1845
|
*/
|
|
1817
1846
|
participantNotification?: ParticipantNotification;
|
|
1818
1847
|
}
|
|
1819
|
-
interface BulkRescheduleBookingRequestBooking {
|
|
1848
|
+
export interface BulkRescheduleBookingRequestBooking {
|
|
1820
1849
|
/**
|
|
1821
1850
|
* ID of the booking to reschedule.
|
|
1822
1851
|
* @format GUID
|
|
1823
1852
|
*/
|
|
1824
|
-
|
|
1853
|
+
id?: string;
|
|
1825
1854
|
/**
|
|
1826
1855
|
* Revision number, which increments by 1 each time the booking is rescheduled.
|
|
1827
1856
|
* To prevent conflicting changes,
|
|
@@ -1830,7 +1859,7 @@ interface BulkRescheduleBookingRequestBooking {
|
|
|
1830
1859
|
revision?: string | null;
|
|
1831
1860
|
}
|
|
1832
1861
|
/** Bookings to be rescheduled to the given slot. */
|
|
1833
|
-
interface SlotBookings {
|
|
1862
|
+
export interface SlotBookings {
|
|
1834
1863
|
/**
|
|
1835
1864
|
* The bookings details.
|
|
1836
1865
|
* @minSize 1
|
|
@@ -1842,7 +1871,7 @@ interface SlotBookings {
|
|
|
1842
1871
|
*/
|
|
1843
1872
|
slot?: BookedSlot;
|
|
1844
1873
|
}
|
|
1845
|
-
interface BulkRescheduleBookingResponse {
|
|
1874
|
+
export interface BulkRescheduleBookingResponse {
|
|
1846
1875
|
/**
|
|
1847
1876
|
* Information about the booking that was rescheduled.
|
|
1848
1877
|
* Including its ID, index in the bulk request and whether it was
|
|
@@ -1853,7 +1882,7 @@ interface BulkRescheduleBookingResponse {
|
|
|
1853
1882
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1854
1883
|
}
|
|
1855
1884
|
/** Update the booked schedule of multiple bookings to the given schedule. */
|
|
1856
|
-
interface BulkUpdateBookedScheduleRequest {
|
|
1885
|
+
export interface BulkUpdateBookedScheduleRequest {
|
|
1857
1886
|
/**
|
|
1858
1887
|
* The bookings whose booked schedule is to be updated to the given schedule.
|
|
1859
1888
|
* @minSize 1
|
|
@@ -1867,15 +1896,15 @@ interface BulkUpdateBookedScheduleRequest {
|
|
|
1867
1896
|
*/
|
|
1868
1897
|
participantNotification?: ParticipantNotification;
|
|
1869
1898
|
}
|
|
1870
|
-
interface BookingDetails {
|
|
1899
|
+
export interface BookingDetails {
|
|
1871
1900
|
/**
|
|
1872
1901
|
* ID of the bookings to be updated.
|
|
1873
1902
|
* @format GUID
|
|
1874
1903
|
*/
|
|
1875
|
-
|
|
1904
|
+
id?: string;
|
|
1876
1905
|
revision?: string | null;
|
|
1877
1906
|
}
|
|
1878
|
-
interface BulkUpdateBookedScheduleResponse {
|
|
1907
|
+
export interface BulkUpdateBookedScheduleResponse {
|
|
1879
1908
|
/**
|
|
1880
1909
|
* Information about the schedule that was updated.
|
|
1881
1910
|
* Including its ID, index in the bulk request and whether it was
|
|
@@ -1885,11 +1914,11 @@ interface BulkUpdateBookedScheduleResponse {
|
|
|
1885
1914
|
/** Total number of successes and failures for Bulk Updated Booked Schedules. */
|
|
1886
1915
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1887
1916
|
}
|
|
1888
|
-
interface QueryBookingsRequest {
|
|
1917
|
+
export interface QueryBookingsRequest {
|
|
1889
1918
|
/** Information about filters, paging, and sorting. */
|
|
1890
1919
|
query?: QueryV2;
|
|
1891
1920
|
}
|
|
1892
|
-
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
1921
|
+
export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
1893
1922
|
/** Paging options to limit and skip the number of items. */
|
|
1894
1923
|
paging?: Paging;
|
|
1895
1924
|
/**
|
|
@@ -1919,7 +1948,7 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
1919
1948
|
fieldsets?: string[];
|
|
1920
1949
|
}
|
|
1921
1950
|
/** @oneof */
|
|
1922
|
-
interface QueryV2PagingMethodOneOf {
|
|
1951
|
+
export interface QueryV2PagingMethodOneOf {
|
|
1923
1952
|
/** Paging options to limit and skip the number of items. */
|
|
1924
1953
|
paging?: Paging;
|
|
1925
1954
|
/**
|
|
@@ -1930,7 +1959,7 @@ interface QueryV2PagingMethodOneOf {
|
|
|
1930
1959
|
*/
|
|
1931
1960
|
cursorPaging?: CursorPaging;
|
|
1932
1961
|
}
|
|
1933
|
-
interface Sorting {
|
|
1962
|
+
export interface Sorting {
|
|
1934
1963
|
/**
|
|
1935
1964
|
* Name of the field to sort by.
|
|
1936
1965
|
* @maxLength 512
|
|
@@ -1939,17 +1968,17 @@ interface Sorting {
|
|
|
1939
1968
|
/** Sort order. */
|
|
1940
1969
|
order?: SortOrder;
|
|
1941
1970
|
}
|
|
1942
|
-
declare enum SortOrder {
|
|
1971
|
+
export declare enum SortOrder {
|
|
1943
1972
|
ASC = "ASC",
|
|
1944
1973
|
DESC = "DESC"
|
|
1945
1974
|
}
|
|
1946
|
-
interface Paging {
|
|
1975
|
+
export interface Paging {
|
|
1947
1976
|
/** Number of items to load. */
|
|
1948
1977
|
limit?: number | null;
|
|
1949
1978
|
/** Number of items to skip in the current sort order. */
|
|
1950
1979
|
offset?: number | null;
|
|
1951
1980
|
}
|
|
1952
|
-
interface CursorPaging {
|
|
1981
|
+
export interface CursorPaging {
|
|
1953
1982
|
/**
|
|
1954
1983
|
* Maximum number of items to return in the results.
|
|
1955
1984
|
* @max 100
|
|
@@ -1964,13 +1993,13 @@ interface CursorPaging {
|
|
|
1964
1993
|
*/
|
|
1965
1994
|
cursor?: string | null;
|
|
1966
1995
|
}
|
|
1967
|
-
interface QueryBookingsResponse {
|
|
1996
|
+
export interface QueryBookingsResponse {
|
|
1968
1997
|
/** Retrieved bookings. */
|
|
1969
1998
|
bookings?: Booking[];
|
|
1970
1999
|
/** Paging metadata. */
|
|
1971
2000
|
pagingMetadata?: PagingMetadataV2;
|
|
1972
2001
|
}
|
|
1973
|
-
interface PagingMetadataV2 {
|
|
2002
|
+
export interface PagingMetadataV2 {
|
|
1974
2003
|
/** Number of items returned in the response. */
|
|
1975
2004
|
count?: number | null;
|
|
1976
2005
|
/** Offset that was requested. */
|
|
@@ -1982,7 +2011,7 @@ interface PagingMetadataV2 {
|
|
|
1982
2011
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
1983
2012
|
cursors?: Cursors;
|
|
1984
2013
|
}
|
|
1985
|
-
interface Cursors {
|
|
2014
|
+
export interface Cursors {
|
|
1986
2015
|
/**
|
|
1987
2016
|
* Cursor string pointing to the next page in the list of results.
|
|
1988
2017
|
* @maxLength 16000
|
|
@@ -1994,25 +2023,25 @@ interface Cursors {
|
|
|
1994
2023
|
*/
|
|
1995
2024
|
prev?: string | null;
|
|
1996
2025
|
}
|
|
1997
|
-
interface ConfirmRequest {
|
|
2026
|
+
export interface ConfirmRequest {
|
|
1998
2027
|
/**
|
|
1999
2028
|
* ID of the booking to confirm.
|
|
2000
2029
|
* @format GUID
|
|
2001
2030
|
*/
|
|
2002
|
-
|
|
2031
|
+
id?: string;
|
|
2003
2032
|
/**
|
|
2004
2033
|
* Information about whether to notify the customer about the confirmation and
|
|
2005
2034
|
* the message to send.
|
|
2006
2035
|
*/
|
|
2007
2036
|
participantNotification?: ParticipantNotification;
|
|
2008
2037
|
}
|
|
2009
|
-
interface ConfirmResponse {
|
|
2038
|
+
export interface ConfirmResponse {
|
|
2010
2039
|
/** Confirmed booking. */
|
|
2011
2040
|
booking?: Booking;
|
|
2012
2041
|
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
2013
2042
|
doubleBooked?: boolean | null;
|
|
2014
2043
|
}
|
|
2015
|
-
interface ConfirmBookingRequest {
|
|
2044
|
+
export interface ConfirmBookingRequest {
|
|
2016
2045
|
/**
|
|
2017
2046
|
* ID of the booking to confirm.
|
|
2018
2047
|
* @format GUID
|
|
@@ -2044,7 +2073,7 @@ interface ConfirmBookingRequest {
|
|
|
2044
2073
|
*/
|
|
2045
2074
|
flowControlSettings?: ConfirmBookingFlowControlSettings;
|
|
2046
2075
|
}
|
|
2047
|
-
interface ConfirmBookingFlowControlSettings {
|
|
2076
|
+
export interface ConfirmBookingFlowControlSettings {
|
|
2048
2077
|
/**
|
|
2049
2078
|
* Whether the availability is checked before confirming the booking.
|
|
2050
2079
|
*
|
|
@@ -2053,11 +2082,11 @@ interface ConfirmBookingFlowControlSettings {
|
|
|
2053
2082
|
*/
|
|
2054
2083
|
checkAvailabilityValidation?: boolean;
|
|
2055
2084
|
}
|
|
2056
|
-
interface ConfirmBookingResponse {
|
|
2085
|
+
export interface ConfirmBookingResponse {
|
|
2057
2086
|
/** Confirmed booking. */
|
|
2058
2087
|
booking?: Booking;
|
|
2059
2088
|
}
|
|
2060
|
-
interface BookingConfirmed {
|
|
2089
|
+
export interface BookingConfirmed {
|
|
2061
2090
|
/** The confirmed booking object. */
|
|
2062
2091
|
booking?: Booking;
|
|
2063
2092
|
/** Information about whether to notify the customer about the confirmation and the message to send. */
|
|
@@ -2076,30 +2105,30 @@ interface BookingConfirmed {
|
|
|
2076
2105
|
/** The previous payment status of the booking. */
|
|
2077
2106
|
previousPaymentStatus?: PaymentStatus;
|
|
2078
2107
|
}
|
|
2079
|
-
interface ConsistentQueryBookingsRequest {
|
|
2108
|
+
export interface ConsistentQueryBookingsRequest {
|
|
2080
2109
|
/** Information about filters, paging, and sorting. */
|
|
2081
2110
|
query?: QueryV2;
|
|
2082
2111
|
}
|
|
2083
|
-
interface ConsistentQueryBookingsResponse {
|
|
2112
|
+
export interface ConsistentQueryBookingsResponse {
|
|
2084
2113
|
/** Retrieved bookings. */
|
|
2085
2114
|
bookings?: Booking[];
|
|
2086
2115
|
/** Paging metadata. */
|
|
2087
2116
|
pagingMetadata?: PagingMetadataV2;
|
|
2088
2117
|
}
|
|
2089
|
-
interface SetBookingSessionIdRequest {
|
|
2118
|
+
export interface SetBookingSessionIdRequest {
|
|
2090
2119
|
/**
|
|
2091
2120
|
* ID of the booking to set `sessionId` for.
|
|
2092
2121
|
* @format GUID
|
|
2093
2122
|
*/
|
|
2094
|
-
|
|
2123
|
+
id?: string;
|
|
2095
2124
|
/** ID of the session to set on the booking. */
|
|
2096
2125
|
sessionId?: string;
|
|
2097
2126
|
}
|
|
2098
|
-
interface SetBookingSessionIdResponse {
|
|
2127
|
+
export interface SetBookingSessionIdResponse {
|
|
2099
2128
|
/** Updated booking. */
|
|
2100
2129
|
booking?: Booking;
|
|
2101
2130
|
}
|
|
2102
|
-
interface SetBookingSubmissionIdRequest {
|
|
2131
|
+
export interface SetBookingSubmissionIdRequest {
|
|
2103
2132
|
/**
|
|
2104
2133
|
* ID of the booking to set `submissionId` for.
|
|
2105
2134
|
* @format GUID
|
|
@@ -2111,19 +2140,19 @@ interface SetBookingSubmissionIdRequest {
|
|
|
2111
2140
|
*/
|
|
2112
2141
|
submissionId?: string;
|
|
2113
2142
|
}
|
|
2114
|
-
interface SetBookingSubmissionIdResponse {
|
|
2143
|
+
export interface SetBookingSubmissionIdResponse {
|
|
2115
2144
|
/** Updated booking. */
|
|
2116
2145
|
booking?: Booking;
|
|
2117
2146
|
}
|
|
2118
|
-
interface UpdateExtendedFieldsRequest {
|
|
2147
|
+
export interface UpdateExtendedFieldsRequest {
|
|
2119
2148
|
/** ID of the entity to update. */
|
|
2120
|
-
|
|
2149
|
+
id: string;
|
|
2121
2150
|
/** Identifier for the app whose extended fields are being updated. */
|
|
2122
2151
|
namespace: string;
|
|
2123
2152
|
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
2124
2153
|
namespaceData: Record<string, any> | null;
|
|
2125
2154
|
}
|
|
2126
|
-
interface UpdateExtendedFieldsResponse {
|
|
2155
|
+
export interface UpdateExtendedFieldsResponse {
|
|
2127
2156
|
/**
|
|
2128
2157
|
* Updated namespace.
|
|
2129
2158
|
* @maxLength 164
|
|
@@ -2132,7 +2161,7 @@ interface UpdateExtendedFieldsResponse {
|
|
|
2132
2161
|
/** Updated data. */
|
|
2133
2162
|
namespaceData?: Record<string, any> | null;
|
|
2134
2163
|
}
|
|
2135
|
-
interface DeclineBookingRequest {
|
|
2164
|
+
export interface DeclineBookingRequest {
|
|
2136
2165
|
/**
|
|
2137
2166
|
* ID of the booking to decline.
|
|
2138
2167
|
* @format GUID
|
|
@@ -2161,7 +2190,7 @@ interface DeclineBookingRequest {
|
|
|
2161
2190
|
*/
|
|
2162
2191
|
flowControlSettings?: DeclineBookingFlowControlSettings;
|
|
2163
2192
|
}
|
|
2164
|
-
interface DeclineBookingFlowControlSettings {
|
|
2193
|
+
export interface DeclineBookingFlowControlSettings {
|
|
2165
2194
|
/**
|
|
2166
2195
|
* Whether to issue a refund when declining the booking.
|
|
2167
2196
|
*
|
|
@@ -2175,11 +2204,11 @@ interface DeclineBookingFlowControlSettings {
|
|
|
2175
2204
|
*/
|
|
2176
2205
|
withRefund?: boolean | null;
|
|
2177
2206
|
}
|
|
2178
|
-
interface DeclineBookingResponse {
|
|
2207
|
+
export interface DeclineBookingResponse {
|
|
2179
2208
|
/** Declined booking. */
|
|
2180
2209
|
booking?: Booking;
|
|
2181
2210
|
}
|
|
2182
|
-
interface BookingDeclined {
|
|
2211
|
+
export interface BookingDeclined {
|
|
2183
2212
|
/** The declined booking object. */
|
|
2184
2213
|
booking?: Booking;
|
|
2185
2214
|
/** Information about whether to notify the customer about the decline and the message to send. */
|
|
@@ -2198,7 +2227,7 @@ interface BookingDeclined {
|
|
|
2198
2227
|
*/
|
|
2199
2228
|
flowControlSettings?: DeclineBookingFlowControlSettings;
|
|
2200
2229
|
}
|
|
2201
|
-
interface CancelBookingRequest {
|
|
2230
|
+
export interface CancelBookingRequest {
|
|
2202
2231
|
/**
|
|
2203
2232
|
* ID of the booking to cancel.
|
|
2204
2233
|
* @format GUID
|
|
@@ -2223,7 +2252,7 @@ interface CancelBookingRequest {
|
|
|
2223
2252
|
*/
|
|
2224
2253
|
revision: string | null;
|
|
2225
2254
|
}
|
|
2226
|
-
interface CancelBookingFlowControlSettings {
|
|
2255
|
+
export interface CancelBookingFlowControlSettings {
|
|
2227
2256
|
/**
|
|
2228
2257
|
* Whether the cancellation policy applies when canceling the booking.
|
|
2229
2258
|
*
|
|
@@ -2244,11 +2273,11 @@ interface CancelBookingFlowControlSettings {
|
|
|
2244
2273
|
*/
|
|
2245
2274
|
withRefund?: boolean | null;
|
|
2246
2275
|
}
|
|
2247
|
-
interface CancelBookingResponse {
|
|
2276
|
+
export interface CancelBookingResponse {
|
|
2248
2277
|
/** Canceled booking. */
|
|
2249
2278
|
booking?: Booking;
|
|
2250
2279
|
}
|
|
2251
|
-
interface BookingCanceled {
|
|
2280
|
+
export interface BookingCanceled {
|
|
2252
2281
|
/** The canceled booking object. */
|
|
2253
2282
|
booking?: Booking;
|
|
2254
2283
|
/** Information about whether to notify the customer about the cancellation and the message to send. */
|
|
@@ -2265,7 +2294,7 @@ interface BookingCanceled {
|
|
|
2265
2294
|
/** The previous status of the booking. */
|
|
2266
2295
|
previousStatus?: BookingStatus;
|
|
2267
2296
|
}
|
|
2268
|
-
interface UpdateNumberOfParticipantsRequest extends UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
2297
|
+
export interface UpdateNumberOfParticipantsRequest extends UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
2269
2298
|
/**
|
|
2270
2299
|
* Total number of participants. Specify when all participants have booked the
|
|
2271
2300
|
* same service variant.
|
|
@@ -2290,7 +2319,7 @@ interface UpdateNumberOfParticipantsRequest extends UpdateNumberOfParticipantsRe
|
|
|
2290
2319
|
revision: string | null;
|
|
2291
2320
|
}
|
|
2292
2321
|
/** @oneof */
|
|
2293
|
-
interface UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
2322
|
+
export interface UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
2294
2323
|
/**
|
|
2295
2324
|
* Total number of participants. Specify when all participants have booked the
|
|
2296
2325
|
* same service variant.
|
|
@@ -2302,11 +2331,11 @@ interface UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
|
2302
2331
|
*/
|
|
2303
2332
|
participantsChoices?: ParticipantChoices;
|
|
2304
2333
|
}
|
|
2305
|
-
interface UpdateNumberOfParticipantsResponse {
|
|
2334
|
+
export interface UpdateNumberOfParticipantsResponse {
|
|
2306
2335
|
/** Updated booking. */
|
|
2307
2336
|
booking?: Booking;
|
|
2308
2337
|
}
|
|
2309
|
-
interface NumberOfParticipantsUpdated extends NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf {
|
|
2338
|
+
export interface NumberOfParticipantsUpdated extends NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf {
|
|
2310
2339
|
/**
|
|
2311
2340
|
* The previous total number of participants. Available only when the booking includes
|
|
2312
2341
|
* a single service variant.
|
|
@@ -2323,7 +2352,7 @@ interface NumberOfParticipantsUpdated extends NumberOfParticipantsUpdatedPreviou
|
|
|
2323
2352
|
initiatedBy?: IdentificationData;
|
|
2324
2353
|
}
|
|
2325
2354
|
/** @oneof */
|
|
2326
|
-
interface NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf {
|
|
2355
|
+
export interface NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf {
|
|
2327
2356
|
/**
|
|
2328
2357
|
* The previous total number of participants. Available only when the booking includes
|
|
2329
2358
|
* a single service variant.
|
|
@@ -2335,42 +2364,42 @@ interface NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf {
|
|
|
2335
2364
|
*/
|
|
2336
2365
|
previousParticipantsChoices?: ParticipantChoices;
|
|
2337
2366
|
}
|
|
2338
|
-
interface BulkCalculateAllowedActionsRequest {
|
|
2367
|
+
export interface BulkCalculateAllowedActionsRequest {
|
|
2339
2368
|
/**
|
|
2340
2369
|
* The booking IDs for which we want to calculate the allowed actions.
|
|
2341
2370
|
* @minSize 1
|
|
2342
2371
|
*/
|
|
2343
2372
|
bookingIds?: string[] | null;
|
|
2344
2373
|
}
|
|
2345
|
-
interface BulkCalculateAllowedActionsResponse {
|
|
2374
|
+
export interface BulkCalculateAllowedActionsResponse {
|
|
2346
2375
|
results?: BulkCalculateAllowedActionsResult[];
|
|
2347
2376
|
/** Total number of successes and failures for Bulk Calculate Allowed Actions. */
|
|
2348
2377
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2349
2378
|
}
|
|
2350
|
-
interface BulkCalculateAllowedActionsResult {
|
|
2379
|
+
export interface BulkCalculateAllowedActionsResult {
|
|
2351
2380
|
/** Metadata for the booking. Including ID, index in the provided sequence, success status, and error. */
|
|
2352
2381
|
itemMetadata?: ItemMetadata;
|
|
2353
2382
|
/** Booking entity. */
|
|
2354
2383
|
item?: AllowedActions;
|
|
2355
2384
|
}
|
|
2356
2385
|
/** Possible actions allowed for the booking. */
|
|
2357
|
-
interface AllowedActions {
|
|
2386
|
+
export interface AllowedActions {
|
|
2358
2387
|
/** Whether canceling the booking is allowed. */
|
|
2359
2388
|
cancel?: boolean;
|
|
2360
2389
|
/** Whether rescheduling the booking is allowed. */
|
|
2361
2390
|
reschedule?: boolean;
|
|
2362
2391
|
}
|
|
2363
|
-
interface GetSlotAvailabilityRequest {
|
|
2392
|
+
export interface GetSlotAvailabilityRequest {
|
|
2364
2393
|
/** The slot for which the availability is checked. */
|
|
2365
2394
|
slot?: V2Slot;
|
|
2366
2395
|
/** The timezone for which availability is to be calculated. */
|
|
2367
2396
|
timezone?: string | null;
|
|
2368
2397
|
}
|
|
2369
|
-
interface GetSlotAvailabilityResponse {
|
|
2398
|
+
export interface GetSlotAvailabilityResponse {
|
|
2370
2399
|
availability?: SlotAvailability;
|
|
2371
2400
|
bookingPolicySettings?: BookingPolicySettings;
|
|
2372
2401
|
}
|
|
2373
|
-
interface SlotAvailability {
|
|
2402
|
+
export interface SlotAvailability {
|
|
2374
2403
|
/** Identifier for the underlying session when the session is a single session or generated from a recurring session. Required. */
|
|
2375
2404
|
slot?: V2Slot;
|
|
2376
2405
|
/** Whether this available slot is bookable. */
|
|
@@ -2392,7 +2421,7 @@ interface SlotAvailability {
|
|
|
2392
2421
|
/** Indicates whether this slot is locked. */
|
|
2393
2422
|
locked?: boolean | null;
|
|
2394
2423
|
}
|
|
2395
|
-
interface WaitingList {
|
|
2424
|
+
export interface WaitingList {
|
|
2396
2425
|
/**
|
|
2397
2426
|
* Total number of spots and open spots for this waiting list.
|
|
2398
2427
|
* For example, a Yoga class of 10 waiting list spots with 3 registered on the waiting list has `total_spots`: 10 and `open_spots`: 7.
|
|
@@ -2400,7 +2429,7 @@ interface WaitingList {
|
|
|
2400
2429
|
totalSpots?: number | null;
|
|
2401
2430
|
openSpots?: number | null;
|
|
2402
2431
|
}
|
|
2403
|
-
interface BookingPolicyViolations {
|
|
2432
|
+
export interface BookingPolicyViolations {
|
|
2404
2433
|
/** Booking policy violation: Too early to book this slot. */
|
|
2405
2434
|
tooEarlyToBook?: boolean | null;
|
|
2406
2435
|
/** Booking policy violation: Too late to book this slot. */
|
|
@@ -2408,11 +2437,11 @@ interface BookingPolicyViolations {
|
|
|
2408
2437
|
/** Booking policy violation: Online booking is disabled for this slot. */
|
|
2409
2438
|
bookOnlineDisabled?: boolean | null;
|
|
2410
2439
|
}
|
|
2411
|
-
interface BookingPolicySettings {
|
|
2440
|
+
export interface BookingPolicySettings {
|
|
2412
2441
|
/** Booking policy settings for a given slot or schedule. */
|
|
2413
2442
|
maxParticipantsPerBooking?: number | null;
|
|
2414
2443
|
}
|
|
2415
|
-
interface AvailableResources {
|
|
2444
|
+
export interface AvailableResources {
|
|
2416
2445
|
/**
|
|
2417
2446
|
* Resource type ID.
|
|
2418
2447
|
* @format GUID
|
|
@@ -2427,18 +2456,18 @@ interface AvailableResources {
|
|
|
2427
2456
|
*/
|
|
2428
2457
|
resourceIds?: string[];
|
|
2429
2458
|
}
|
|
2430
|
-
interface GetScheduleAvailabilityRequest {
|
|
2459
|
+
export interface GetScheduleAvailabilityRequest {
|
|
2431
2460
|
/**
|
|
2432
2461
|
* ID of the schedule for which to check availability.
|
|
2433
2462
|
* @format GUID
|
|
2434
2463
|
*/
|
|
2435
2464
|
scheduleId?: string;
|
|
2436
2465
|
}
|
|
2437
|
-
interface GetScheduleAvailabilityResponse {
|
|
2466
|
+
export interface GetScheduleAvailabilityResponse {
|
|
2438
2467
|
availability?: ScheduleAvailability;
|
|
2439
2468
|
bookingPolicySettings?: BookingPolicySettings;
|
|
2440
2469
|
}
|
|
2441
|
-
interface ScheduleAvailability {
|
|
2470
|
+
export interface ScheduleAvailability {
|
|
2442
2471
|
/** Total number of spots. */
|
|
2443
2472
|
totalSpots?: number | null;
|
|
2444
2473
|
/** Number of remaining open spots. */
|
|
@@ -2446,7 +2475,7 @@ interface ScheduleAvailability {
|
|
|
2446
2475
|
/** Indicators of booking policy violations for the specified schedule. */
|
|
2447
2476
|
bookingPolicyViolations?: BookingPolicyViolations;
|
|
2448
2477
|
}
|
|
2449
|
-
interface MarkBookingAsPendingRequest {
|
|
2478
|
+
export interface MarkBookingAsPendingRequest {
|
|
2450
2479
|
/**
|
|
2451
2480
|
* ID of the booking to mark as `PENDING`.
|
|
2452
2481
|
* @format GUID
|
|
@@ -2479,7 +2508,7 @@ interface MarkBookingAsPendingRequest {
|
|
|
2479
2508
|
*/
|
|
2480
2509
|
flowControlSettings?: MarkBookingAsPendingFlowControlSettings;
|
|
2481
2510
|
}
|
|
2482
|
-
interface MarkBookingAsPendingFlowControlSettings {
|
|
2511
|
+
export interface MarkBookingAsPendingFlowControlSettings {
|
|
2483
2512
|
/**
|
|
2484
2513
|
* Whether to check for double bookings before updating the booking as pending.
|
|
2485
2514
|
*
|
|
@@ -2495,11 +2524,11 @@ interface MarkBookingAsPendingFlowControlSettings {
|
|
|
2495
2524
|
*/
|
|
2496
2525
|
skipPendingApprovalServiceValidation?: boolean;
|
|
2497
2526
|
}
|
|
2498
|
-
interface MarkBookingAsPendingResponse {
|
|
2527
|
+
export interface MarkBookingAsPendingResponse {
|
|
2499
2528
|
/** Updated booking. */
|
|
2500
2529
|
booking?: Booking;
|
|
2501
2530
|
}
|
|
2502
|
-
interface BookingMarkedAsPending {
|
|
2531
|
+
export interface BookingMarkedAsPending {
|
|
2503
2532
|
/** The booking object that was marked as pending. */
|
|
2504
2533
|
booking?: Booking;
|
|
2505
2534
|
/** Information about whether to notify the customer upon manual confirmation of the pending booking and the message to send. */
|
|
@@ -2518,24 +2547,24 @@ interface BookingMarkedAsPending {
|
|
|
2518
2547
|
/** The previous payment status of the booking. */
|
|
2519
2548
|
previousPaymentStatus?: PaymentStatus;
|
|
2520
2549
|
}
|
|
2521
|
-
interface MigrationCheckIfClashesWithBlockedTimeRequest {
|
|
2550
|
+
export interface MigrationCheckIfClashesWithBlockedTimeRequest {
|
|
2522
2551
|
msidAndBookingIds?: MsidAndBookingId[];
|
|
2523
2552
|
}
|
|
2524
|
-
interface MsidAndBookingId {
|
|
2553
|
+
export interface MsidAndBookingId {
|
|
2525
2554
|
msid?: string;
|
|
2526
2555
|
bookingId?: string;
|
|
2527
2556
|
}
|
|
2528
|
-
interface MigrationCheckIfClashesWithBlockedTimeResponse {
|
|
2557
|
+
export interface MigrationCheckIfClashesWithBlockedTimeResponse {
|
|
2529
2558
|
clashes?: Clash[];
|
|
2530
2559
|
}
|
|
2531
|
-
interface Clash {
|
|
2560
|
+
export interface Clash {
|
|
2532
2561
|
msid?: string;
|
|
2533
2562
|
bookingId?: string;
|
|
2534
2563
|
sessionId?: string;
|
|
2535
2564
|
resourceName?: string;
|
|
2536
2565
|
contactName?: string;
|
|
2537
2566
|
}
|
|
2538
|
-
interface CountBookingsRequest {
|
|
2567
|
+
export interface CountBookingsRequest {
|
|
2539
2568
|
/**
|
|
2540
2569
|
* Filter object in the following format:
|
|
2541
2570
|
* `"filter" : {
|
|
@@ -2546,11 +2575,11 @@ interface CountBookingsRequest {
|
|
|
2546
2575
|
*/
|
|
2547
2576
|
filter?: Record<string, any> | null;
|
|
2548
2577
|
}
|
|
2549
|
-
interface CountBookingsResponse {
|
|
2578
|
+
export interface CountBookingsResponse {
|
|
2550
2579
|
/** Number of bookings matching the specified filter. */
|
|
2551
2580
|
count?: number;
|
|
2552
2581
|
}
|
|
2553
|
-
interface CreateMultiServiceBookingRequest {
|
|
2582
|
+
export interface CreateMultiServiceBookingRequest {
|
|
2554
2583
|
/**
|
|
2555
2584
|
* Single-service bookings to combine in a multi-service booking.
|
|
2556
2585
|
* @minSize 2
|
|
@@ -2579,23 +2608,23 @@ interface CreateMultiServiceBookingRequest {
|
|
|
2579
2608
|
/** Multi service booking type. */
|
|
2580
2609
|
multiServiceBookingType?: MultiServiceBookingType;
|
|
2581
2610
|
}
|
|
2582
|
-
interface CreateMultiServiceBookingResponse {
|
|
2611
|
+
export interface CreateMultiServiceBookingResponse {
|
|
2583
2612
|
/**
|
|
2584
2613
|
* Created multi service booking.
|
|
2585
2614
|
* Contains the booking results in the same order as specified in the request.
|
|
2586
2615
|
*/
|
|
2587
2616
|
multiServiceBooking?: MultiServiceBooking;
|
|
2588
2617
|
}
|
|
2589
|
-
interface MultiServiceBooking {
|
|
2618
|
+
export interface MultiServiceBooking {
|
|
2590
2619
|
/**
|
|
2591
2620
|
* Multi-service booking ID.
|
|
2592
2621
|
* @format GUID
|
|
2593
2622
|
*/
|
|
2594
|
-
|
|
2623
|
+
id?: string | null;
|
|
2595
2624
|
/** The created bookings that are part of the multi-service booking. */
|
|
2596
2625
|
bookings?: BookingResult[];
|
|
2597
2626
|
}
|
|
2598
|
-
interface BookingResult {
|
|
2627
|
+
export interface BookingResult {
|
|
2599
2628
|
/**
|
|
2600
2629
|
* Booking ID.
|
|
2601
2630
|
* @format GUID
|
|
@@ -2604,7 +2633,7 @@ interface BookingResult {
|
|
|
2604
2633
|
/** Booking entity. */
|
|
2605
2634
|
booking?: Booking;
|
|
2606
2635
|
}
|
|
2607
|
-
interface RescheduleMultiServiceBookingRequest {
|
|
2636
|
+
export interface RescheduleMultiServiceBookingRequest {
|
|
2608
2637
|
/**
|
|
2609
2638
|
* ID of the multi service booking to reschedule.
|
|
2610
2639
|
* @format GUID
|
|
@@ -2627,7 +2656,7 @@ interface RescheduleMultiServiceBookingRequest {
|
|
|
2627
2656
|
/** Whether to return the rescheduled bookings entities. */
|
|
2628
2657
|
returnFullEntity?: boolean;
|
|
2629
2658
|
}
|
|
2630
|
-
interface RescheduleBookingInfo extends RescheduleBookingInfoParticipantsInfoOneOf {
|
|
2659
|
+
export interface RescheduleBookingInfo extends RescheduleBookingInfoParticipantsInfoOneOf {
|
|
2631
2660
|
/**
|
|
2632
2661
|
* Total number of participants. Available only for services with variants.
|
|
2633
2662
|
* Specify when all participants book the same variant.
|
|
@@ -2654,7 +2683,7 @@ interface RescheduleBookingInfo extends RescheduleBookingInfoParticipantsInfoOne
|
|
|
2654
2683
|
revision?: string | null;
|
|
2655
2684
|
}
|
|
2656
2685
|
/** @oneof */
|
|
2657
|
-
interface RescheduleBookingInfoParticipantsInfoOneOf {
|
|
2686
|
+
export interface RescheduleBookingInfoParticipantsInfoOneOf {
|
|
2658
2687
|
/**
|
|
2659
2688
|
* Total number of participants. Available only for services with variants.
|
|
2660
2689
|
* Specify when all participants book the same variant.
|
|
@@ -2667,18 +2696,18 @@ interface RescheduleBookingInfoParticipantsInfoOneOf {
|
|
|
2667
2696
|
*/
|
|
2668
2697
|
participantsChoices?: ParticipantChoices;
|
|
2669
2698
|
}
|
|
2670
|
-
interface RescheduleMultiServiceBookingResponse {
|
|
2699
|
+
export interface RescheduleMultiServiceBookingResponse {
|
|
2671
2700
|
/** Rescheduled multi-service booking. */
|
|
2672
2701
|
multiServiceBooking?: MultiServiceBooking;
|
|
2673
2702
|
}
|
|
2674
|
-
interface GetMultiServiceBookingAvailabilityRequest {
|
|
2703
|
+
export interface GetMultiServiceBookingAvailabilityRequest {
|
|
2675
2704
|
/**
|
|
2676
2705
|
* ID of the multi-service booking to retrieve.
|
|
2677
2706
|
* @format GUID
|
|
2678
2707
|
*/
|
|
2679
2708
|
multiServiceBookingId: string | null;
|
|
2680
2709
|
}
|
|
2681
|
-
interface GetMultiServiceBookingAvailabilityResponse {
|
|
2710
|
+
export interface GetMultiServiceBookingAvailabilityResponse {
|
|
2682
2711
|
/** Whether all contained single-service bookings are bookable. */
|
|
2683
2712
|
bookable?: boolean;
|
|
2684
2713
|
/** Total number of spots. */
|
|
@@ -2692,14 +2721,14 @@ interface GetMultiServiceBookingAvailabilityResponse {
|
|
|
2692
2721
|
/** Info of the bookings this availability was calculated for. */
|
|
2693
2722
|
multiServiceBookingInfo?: GetMultiServiceBookingAvailabilityResponseBookingInfo[];
|
|
2694
2723
|
}
|
|
2695
|
-
interface GetMultiServiceBookingAvailabilityResponseBookingInfo {
|
|
2724
|
+
export interface GetMultiServiceBookingAvailabilityResponseBookingInfo {
|
|
2696
2725
|
/**
|
|
2697
2726
|
* Booking ID.
|
|
2698
2727
|
* @format GUID
|
|
2699
2728
|
*/
|
|
2700
2729
|
bookingId?: string | null;
|
|
2701
2730
|
}
|
|
2702
|
-
interface CancelMultiServiceBookingRequest {
|
|
2731
|
+
export interface CancelMultiServiceBookingRequest {
|
|
2703
2732
|
/**
|
|
2704
2733
|
* ID of the multi-service booking to cancel.
|
|
2705
2734
|
* @format GUID
|
|
@@ -2720,11 +2749,11 @@ interface CancelMultiServiceBookingRequest {
|
|
|
2720
2749
|
/** Whether to return the canceled single-service bookings. */
|
|
2721
2750
|
returnFullEntity?: boolean;
|
|
2722
2751
|
}
|
|
2723
|
-
interface CancelMultiServiceBookingResponse {
|
|
2752
|
+
export interface CancelMultiServiceBookingResponse {
|
|
2724
2753
|
/** Canceled multi-service booking. */
|
|
2725
2754
|
multiServiceBooking?: MultiServiceBooking;
|
|
2726
2755
|
}
|
|
2727
|
-
interface MarkMultiServiceBookingAsPendingRequest {
|
|
2756
|
+
export interface MarkMultiServiceBookingAsPendingRequest {
|
|
2728
2757
|
/**
|
|
2729
2758
|
* ID of the multi-service booking to mark as `PENDING`.
|
|
2730
2759
|
* @format GUID
|
|
@@ -2755,7 +2784,7 @@ interface MarkMultiServiceBookingAsPendingRequest {
|
|
|
2755
2784
|
*/
|
|
2756
2785
|
flowControlSettings?: MarkBookingAsPendingFlowControlSettings;
|
|
2757
2786
|
}
|
|
2758
|
-
interface BookingInfo {
|
|
2787
|
+
export interface BookingInfo {
|
|
2759
2788
|
/**
|
|
2760
2789
|
* ID of the single-service booking.
|
|
2761
2790
|
* @format GUID
|
|
@@ -2770,11 +2799,11 @@ interface BookingInfo {
|
|
|
2770
2799
|
/** Payment status to set for the single-service booking. */
|
|
2771
2800
|
paymentStatus?: PaymentStatus;
|
|
2772
2801
|
}
|
|
2773
|
-
interface MarkMultiServiceBookingAsPendingResponse {
|
|
2802
|
+
export interface MarkMultiServiceBookingAsPendingResponse {
|
|
2774
2803
|
/** Updated multi-service booking. */
|
|
2775
2804
|
multiServiceBooking?: MultiServiceBooking;
|
|
2776
2805
|
}
|
|
2777
|
-
interface ConfirmMultiServiceBookingRequest {
|
|
2806
|
+
export interface ConfirmMultiServiceBookingRequest {
|
|
2778
2807
|
/**
|
|
2779
2808
|
* ID of the multi-service booking to confirm its related bookings.
|
|
2780
2809
|
* @format GUID
|
|
@@ -2805,11 +2834,11 @@ interface ConfirmMultiServiceBookingRequest {
|
|
|
2805
2834
|
*/
|
|
2806
2835
|
flowControlSettings?: ConfirmBookingFlowControlSettings;
|
|
2807
2836
|
}
|
|
2808
|
-
interface ConfirmMultiServiceBookingResponse {
|
|
2837
|
+
export interface ConfirmMultiServiceBookingResponse {
|
|
2809
2838
|
/** Confirmed multi service booking. */
|
|
2810
2839
|
multiServiceBooking?: MultiServiceBooking;
|
|
2811
2840
|
}
|
|
2812
|
-
interface DeclineMultiServiceBookingRequest {
|
|
2841
|
+
export interface DeclineMultiServiceBookingRequest {
|
|
2813
2842
|
/**
|
|
2814
2843
|
* ID of the multi service booking to decline.
|
|
2815
2844
|
* @format GUID
|
|
@@ -2832,11 +2861,11 @@ interface DeclineMultiServiceBookingRequest {
|
|
|
2832
2861
|
*/
|
|
2833
2862
|
flowControlSettings?: DeclineBookingFlowControlSettings;
|
|
2834
2863
|
}
|
|
2835
|
-
interface DeclineMultiServiceBookingResponse {
|
|
2864
|
+
export interface DeclineMultiServiceBookingResponse {
|
|
2836
2865
|
/** Declined multi-service booking. */
|
|
2837
2866
|
multiServiceBooking?: MultiServiceBooking;
|
|
2838
2867
|
}
|
|
2839
|
-
interface BulkGetMultiServiceBookingAllowedActionsRequest {
|
|
2868
|
+
export interface BulkGetMultiServiceBookingAllowedActionsRequest {
|
|
2840
2869
|
/**
|
|
2841
2870
|
* IDs of the multi-service bookings to retrieve allowed actions for.
|
|
2842
2871
|
* @format GUID
|
|
@@ -2845,7 +2874,7 @@ interface BulkGetMultiServiceBookingAllowedActionsRequest {
|
|
|
2845
2874
|
*/
|
|
2846
2875
|
multiServiceBookingIds: string[] | null;
|
|
2847
2876
|
}
|
|
2848
|
-
interface BulkGetMultiServiceBookingAllowedActionsResponse {
|
|
2877
|
+
export interface BulkGetMultiServiceBookingAllowedActionsResponse {
|
|
2849
2878
|
/**
|
|
2850
2879
|
* Information about the multi-service bookings that were retrieved.
|
|
2851
2880
|
* Including their ID, index in the bulk request and whether they were
|
|
@@ -2855,20 +2884,20 @@ interface BulkGetMultiServiceBookingAllowedActionsResponse {
|
|
|
2855
2884
|
/** Total number of successes and failures for Bulk Update Bookings. */
|
|
2856
2885
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2857
2886
|
}
|
|
2858
|
-
interface GetMultiServiceBookingRequest {
|
|
2887
|
+
export interface GetMultiServiceBookingRequest {
|
|
2859
2888
|
/**
|
|
2860
2889
|
* ID of the multi-service booking.
|
|
2861
2890
|
* @format GUID
|
|
2862
2891
|
*/
|
|
2863
2892
|
multiServiceBookingId: string | null;
|
|
2864
2893
|
}
|
|
2865
|
-
interface GetMultiServiceBookingResponse {
|
|
2894
|
+
export interface GetMultiServiceBookingResponse {
|
|
2866
2895
|
/** Retrieved multi-service booking. */
|
|
2867
2896
|
multiServiceBooking?: MultiServiceBooking;
|
|
2868
2897
|
/** Details about how many single-service bookings belong to the multi-service booking. */
|
|
2869
2898
|
metadata?: MultiServiceBookingMetadata;
|
|
2870
2899
|
}
|
|
2871
|
-
interface MultiServiceBookingMetadata {
|
|
2900
|
+
export interface MultiServiceBookingMetadata {
|
|
2872
2901
|
/**
|
|
2873
2902
|
* Total number of `CONFIRMED` and `PENDING` single-service bookings belonging
|
|
2874
2903
|
* to the multi-service booking. The total includes the number of single-service
|
|
@@ -2876,7 +2905,7 @@ interface MultiServiceBookingMetadata {
|
|
|
2876
2905
|
*/
|
|
2877
2906
|
totalNumberOfScheduledBookings?: number | null;
|
|
2878
2907
|
}
|
|
2879
|
-
interface AddBookingsToMultiServiceBookingRequest {
|
|
2908
|
+
export interface AddBookingsToMultiServiceBookingRequest {
|
|
2880
2909
|
/**
|
|
2881
2910
|
* ID of the multi-service booking.
|
|
2882
2911
|
* @format GUID
|
|
@@ -2890,7 +2919,7 @@ interface AddBookingsToMultiServiceBookingRequest {
|
|
|
2890
2919
|
/** Whether to return the single-service bookings that were added to the multi-service booking. */
|
|
2891
2920
|
returnFullEntity?: boolean;
|
|
2892
2921
|
}
|
|
2893
|
-
interface BookingIdAndRevision {
|
|
2922
|
+
export interface BookingIdAndRevision {
|
|
2894
2923
|
/**
|
|
2895
2924
|
* ID of the booking.
|
|
2896
2925
|
* @format GUID
|
|
@@ -2903,11 +2932,11 @@ interface BookingIdAndRevision {
|
|
|
2903
2932
|
*/
|
|
2904
2933
|
revision?: string | null;
|
|
2905
2934
|
}
|
|
2906
|
-
interface AddBookingsToMultiServiceBookingResponse {
|
|
2935
|
+
export interface AddBookingsToMultiServiceBookingResponse {
|
|
2907
2936
|
/** Single-service bookings that were added to the multi-service booking. */
|
|
2908
2937
|
bookings?: BookingResult[];
|
|
2909
2938
|
}
|
|
2910
|
-
interface RemoveBookingsFromMultiServiceBookingRequest {
|
|
2939
|
+
export interface RemoveBookingsFromMultiServiceBookingRequest {
|
|
2911
2940
|
/**
|
|
2912
2941
|
* ID of the multi-service booking.
|
|
2913
2942
|
* @format GUID
|
|
@@ -2921,403 +2950,7 @@ interface RemoveBookingsFromMultiServiceBookingRequest {
|
|
|
2921
2950
|
/** Whether to return the single-service bookings. */
|
|
2922
2951
|
returnFullEntity?: boolean;
|
|
2923
2952
|
}
|
|
2924
|
-
interface RemoveBookingsFromMultiServiceBookingResponse {
|
|
2953
|
+
export interface RemoveBookingsFromMultiServiceBookingResponse {
|
|
2925
2954
|
/** Single-service bookings that were removed from the multi-service booking. */
|
|
2926
2955
|
bookings?: BookingResult[];
|
|
2927
2956
|
}
|
|
2928
|
-
interface BaseEventMetadata {
|
|
2929
|
-
/**
|
|
2930
|
-
* App instance ID.
|
|
2931
|
-
* @format GUID
|
|
2932
|
-
*/
|
|
2933
|
-
instanceId?: string | null;
|
|
2934
|
-
/**
|
|
2935
|
-
* Event type.
|
|
2936
|
-
* @maxLength 150
|
|
2937
|
-
*/
|
|
2938
|
-
eventType?: string;
|
|
2939
|
-
/** The identification type and identity data. */
|
|
2940
|
-
identity?: WebhooksIdentificationData;
|
|
2941
|
-
}
|
|
2942
|
-
interface EventMetadata extends BaseEventMetadata {
|
|
2943
|
-
/**
|
|
2944
|
-
* Unique event ID.
|
|
2945
|
-
* Allows clients to ignore duplicate webhooks.
|
|
2946
|
-
*/
|
|
2947
|
-
_id?: string;
|
|
2948
|
-
/**
|
|
2949
|
-
* Assumes actions are also always typed to an entity_type
|
|
2950
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
2951
|
-
*/
|
|
2952
|
-
entityFqdn?: string;
|
|
2953
|
-
/**
|
|
2954
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
2955
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
2956
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
2957
|
-
*/
|
|
2958
|
-
slug?: string;
|
|
2959
|
-
/** ID of the entity associated with the event. */
|
|
2960
|
-
entityId?: string;
|
|
2961
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
2962
|
-
eventTime?: Date | null;
|
|
2963
|
-
/**
|
|
2964
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
2965
|
-
* (for example, GDPR).
|
|
2966
|
-
*/
|
|
2967
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
2968
|
-
/** If present, indicates the action that triggered the event. */
|
|
2969
|
-
originatedFrom?: string | null;
|
|
2970
|
-
/**
|
|
2971
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
2972
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
2973
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
2974
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
2975
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
2976
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
2977
|
-
*/
|
|
2978
|
-
entityEventSequence?: string | null;
|
|
2979
|
-
}
|
|
2980
|
-
interface BookingCanceledEnvelope {
|
|
2981
|
-
data: BookingCanceled;
|
|
2982
|
-
metadata: EventMetadata;
|
|
2983
|
-
}
|
|
2984
|
-
interface BookingConfirmedEnvelope {
|
|
2985
|
-
data: BookingConfirmed;
|
|
2986
|
-
metadata: EventMetadata;
|
|
2987
|
-
}
|
|
2988
|
-
interface BookingCreatedEnvelope {
|
|
2989
|
-
entity: Booking;
|
|
2990
|
-
metadata: EventMetadata;
|
|
2991
|
-
}
|
|
2992
|
-
interface BookingDeclinedEnvelope {
|
|
2993
|
-
data: BookingDeclined;
|
|
2994
|
-
metadata: EventMetadata;
|
|
2995
|
-
}
|
|
2996
|
-
interface BookingNumberOfParticipantsUpdatedEnvelope {
|
|
2997
|
-
data: NumberOfParticipantsUpdated;
|
|
2998
|
-
metadata: EventMetadata;
|
|
2999
|
-
}
|
|
3000
|
-
interface BookingRescheduledEnvelope {
|
|
3001
|
-
data: BookingRescheduled;
|
|
3002
|
-
metadata: EventMetadata;
|
|
3003
|
-
}
|
|
3004
|
-
interface BookingUpdatedEnvelope {
|
|
3005
|
-
entity: Booking;
|
|
3006
|
-
metadata: EventMetadata;
|
|
3007
|
-
}
|
|
3008
|
-
interface ConfirmOrDeclineBookingOptions {
|
|
3009
|
-
/**
|
|
3010
|
-
* Current payment status of the booking when using a custom checkout page and
|
|
3011
|
-
* not the *eCommerce checkout*
|
|
3012
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)).
|
|
3013
|
-
*
|
|
3014
|
-
* The booking is declined if there is a double booking conflict and you provide
|
|
3015
|
-
* one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
|
|
3016
|
-
*/
|
|
3017
|
-
paymentStatus?: PaymentStatus;
|
|
3018
|
-
}
|
|
3019
|
-
interface BulkConfirmOrDeclineBookingOptions {
|
|
3020
|
-
/** Whether to return the confirmed or declined booking objects. */
|
|
3021
|
-
returnEntity?: boolean;
|
|
3022
|
-
}
|
|
3023
|
-
interface CreateBookingOptions {
|
|
3024
|
-
/**
|
|
3025
|
-
* Information about whether to notify the customer and
|
|
3026
|
-
* the message to send.
|
|
3027
|
-
*/
|
|
3028
|
-
participantNotification?: ParticipantNotification;
|
|
3029
|
-
/**
|
|
3030
|
-
* Whether to send an SMS reminder to the customer 24 hours before the
|
|
3031
|
-
* session starts. The phone number is taken from `contactDetails.phone`.
|
|
3032
|
-
* Default: `true`.
|
|
3033
|
-
*/
|
|
3034
|
-
sendSmsReminder?: boolean | null;
|
|
3035
|
-
/**
|
|
3036
|
-
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
3037
|
-
* For example, whether to check availability when creating a booking.
|
|
3038
|
-
*/
|
|
3039
|
-
flowControlSettings?: CreateBookingFlowControlSettings;
|
|
3040
|
-
}
|
|
3041
|
-
interface BulkCreateBookingOptions {
|
|
3042
|
-
/** Whether to return the created bookings. */
|
|
3043
|
-
returnFullEntity?: boolean;
|
|
3044
|
-
}
|
|
3045
|
-
interface RescheduleBookingOptions extends RescheduleBookingOptionsParticipantsInfoOneOf {
|
|
3046
|
-
/**
|
|
3047
|
-
* Revision number, which increments by 1 each time the booking is rescheduled.
|
|
3048
|
-
* To prevent conflicting changes, the current revision must be passed when
|
|
3049
|
-
* rescheduling the booking.
|
|
3050
|
-
*/
|
|
3051
|
-
revision: string | null;
|
|
3052
|
-
/**
|
|
3053
|
-
* Information about whether to notify the customer about the rescheduling and
|
|
3054
|
-
* the message to send.
|
|
3055
|
-
*/
|
|
3056
|
-
participantNotification?: ParticipantNotification;
|
|
3057
|
-
/**
|
|
3058
|
-
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
3059
|
-
* For example, whether to check availability when rescheduling a booking.
|
|
3060
|
-
*/
|
|
3061
|
-
flowControlSettings?: RescheduleBookingFlowControlSettings;
|
|
3062
|
-
/**
|
|
3063
|
-
* Total number of participants. Specify when all participants have booked the
|
|
3064
|
-
* same service variant.
|
|
3065
|
-
*/
|
|
3066
|
-
totalParticipants?: number;
|
|
3067
|
-
/**
|
|
3068
|
-
* Information about the service choices to book. Specify when not all
|
|
3069
|
-
* participants have booked the same service variant.
|
|
3070
|
-
*/
|
|
3071
|
-
participantsChoices?: ParticipantChoices;
|
|
3072
|
-
}
|
|
3073
|
-
/** @oneof */
|
|
3074
|
-
interface RescheduleBookingOptionsParticipantsInfoOneOf {
|
|
3075
|
-
/**
|
|
3076
|
-
* Total number of participants. Specify when all participants have booked the
|
|
3077
|
-
* same service variant.
|
|
3078
|
-
*/
|
|
3079
|
-
totalParticipants?: number;
|
|
3080
|
-
/**
|
|
3081
|
-
* Information about the service choices to book. Specify when not all
|
|
3082
|
-
* participants have booked the same service variant.
|
|
3083
|
-
*/
|
|
3084
|
-
participantsChoices?: ParticipantChoices;
|
|
3085
|
-
}
|
|
3086
|
-
interface ConfirmBookingOptions {
|
|
3087
|
-
/**
|
|
3088
|
-
* Information about whether to notify the customer about the confirmation and
|
|
3089
|
-
* the message to send.
|
|
3090
|
-
*/
|
|
3091
|
-
participantNotification?: ParticipantNotification;
|
|
3092
|
-
/**
|
|
3093
|
-
* Whether to send an SMS reminder to the customer 24 hours before the
|
|
3094
|
-
* session starts. The phone number is taken from `contactDetails.phone`.
|
|
3095
|
-
*/
|
|
3096
|
-
sendSmsReminder?: boolean | null;
|
|
3097
|
-
/** Payment status to set for the booking. */
|
|
3098
|
-
paymentStatus?: PaymentStatus;
|
|
3099
|
-
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
3100
|
-
doubleBooked?: boolean | null;
|
|
3101
|
-
/**
|
|
3102
|
-
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
3103
|
-
* For example, whether to check availability when confirming a booking.
|
|
3104
|
-
*/
|
|
3105
|
-
flowControlSettings?: ConfirmBookingFlowControlSettings;
|
|
3106
|
-
}
|
|
3107
|
-
interface UpdateExtendedFieldsOptions {
|
|
3108
|
-
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
3109
|
-
namespaceData: Record<string, any> | null;
|
|
3110
|
-
}
|
|
3111
|
-
interface DeclineBookingOptions {
|
|
3112
|
-
/**
|
|
3113
|
-
* Information about whether to notify the customer and
|
|
3114
|
-
* the message to send.
|
|
3115
|
-
*/
|
|
3116
|
-
participantNotification?: ParticipantNotification;
|
|
3117
|
-
/** Payment status to set for the booking. */
|
|
3118
|
-
paymentStatus?: PaymentStatus;
|
|
3119
|
-
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
3120
|
-
doubleBooked?: boolean | null;
|
|
3121
|
-
/**
|
|
3122
|
-
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
3123
|
-
* For example, whether to refund a declined booking.
|
|
3124
|
-
*/
|
|
3125
|
-
flowControlSettings?: DeclineBookingFlowControlSettings;
|
|
3126
|
-
}
|
|
3127
|
-
interface CancelBookingOptions {
|
|
3128
|
-
/**
|
|
3129
|
-
* Information about whether to notify the customer about the cancellation and
|
|
3130
|
-
* the message to send.
|
|
3131
|
-
*/
|
|
3132
|
-
participantNotification?: ParticipantNotification;
|
|
3133
|
-
/**
|
|
3134
|
-
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
3135
|
-
* For example, whether to allow a cancellation even though the service's
|
|
3136
|
-
* policy doesn't allow it.
|
|
3137
|
-
*/
|
|
3138
|
-
flowControlSettings?: CancelBookingFlowControlSettings;
|
|
3139
|
-
/**
|
|
3140
|
-
* Revision number, which increments by 1 each time the booking is updated.
|
|
3141
|
-
*
|
|
3142
|
-
* To prevent conflicting changes, the current revision must be specified when
|
|
3143
|
-
* managing the booking.
|
|
3144
|
-
*/
|
|
3145
|
-
revision: string | null;
|
|
3146
|
-
}
|
|
3147
|
-
interface UpdateNumberOfParticipantsOptions extends UpdateNumberOfParticipantsOptionsParticipantsInfoOneOf {
|
|
3148
|
-
/**
|
|
3149
|
-
* Revision number, which increments by 1 each time the booking is updated.
|
|
3150
|
-
*
|
|
3151
|
-
* To prevent conflicting changes, the current revision must be specified
|
|
3152
|
-
* when updating the booking.
|
|
3153
|
-
*/
|
|
3154
|
-
revision: string | null;
|
|
3155
|
-
/**
|
|
3156
|
-
* Total number of participants. Specify when all participants have booked the
|
|
3157
|
-
* same service variant.
|
|
3158
|
-
*/
|
|
3159
|
-
totalParticipants?: number;
|
|
3160
|
-
/**
|
|
3161
|
-
* Information about the service choices the participants have booked. Specify
|
|
3162
|
-
* when not all participants have booked the same service variant.
|
|
3163
|
-
*/
|
|
3164
|
-
participantsChoices?: ParticipantChoices;
|
|
3165
|
-
}
|
|
3166
|
-
/** @oneof */
|
|
3167
|
-
interface UpdateNumberOfParticipantsOptionsParticipantsInfoOneOf {
|
|
3168
|
-
/**
|
|
3169
|
-
* Total number of participants. Specify when all participants have booked the
|
|
3170
|
-
* same service variant.
|
|
3171
|
-
*/
|
|
3172
|
-
totalParticipants?: number;
|
|
3173
|
-
/**
|
|
3174
|
-
* Information about the service choices the participants have booked. Specify
|
|
3175
|
-
* when not all participants have booked the same service variant.
|
|
3176
|
-
*/
|
|
3177
|
-
participantsChoices?: ParticipantChoices;
|
|
3178
|
-
}
|
|
3179
|
-
interface CreateMultiServiceBookingOptions {
|
|
3180
|
-
/**
|
|
3181
|
-
* Information about whether to notify the customer and
|
|
3182
|
-
* the message to send.
|
|
3183
|
-
*/
|
|
3184
|
-
participantNotification?: ParticipantNotification;
|
|
3185
|
-
/**
|
|
3186
|
-
* Whether to send an SMS reminder to the customer 24 hours before the
|
|
3187
|
-
* session starts. The phone number is taken from `contactDetails.phone`.
|
|
3188
|
-
*
|
|
3189
|
-
* Default: `true`
|
|
3190
|
-
*/
|
|
3191
|
-
sendSmsReminder?: boolean | null;
|
|
3192
|
-
/**
|
|
3193
|
-
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
3194
|
-
* For example, whether to check availability before updating the status.
|
|
3195
|
-
*/
|
|
3196
|
-
flowControlSettings?: CreateBookingFlowControlSettings;
|
|
3197
|
-
/** Whether to return the created single-service bookings. */
|
|
3198
|
-
returnFullEntity?: boolean;
|
|
3199
|
-
/** Multi service booking type. */
|
|
3200
|
-
multiServiceBookingType?: MultiServiceBookingType;
|
|
3201
|
-
}
|
|
3202
|
-
interface RescheduleMultiServiceBookingOptions {
|
|
3203
|
-
/**
|
|
3204
|
-
* Information about whether to notify the customer and
|
|
3205
|
-
* the message to send.
|
|
3206
|
-
*/
|
|
3207
|
-
participantNotification?: ParticipantNotification;
|
|
3208
|
-
/**
|
|
3209
|
-
* Information about whether specific procedures of the standard Wix Bookings
|
|
3210
|
-
* rescheduling flow are changed. For example, whether the availability of
|
|
3211
|
-
* the new slot is checked before rescheduling the booking or if you can
|
|
3212
|
-
* reschedule the booking even though the rescheduling policy doesn't allow it.
|
|
3213
|
-
*/
|
|
3214
|
-
flowControlSettings?: RescheduleBookingFlowControlSettings;
|
|
3215
|
-
/** Whether to return the rescheduled bookings entities. */
|
|
3216
|
-
returnFullEntity?: boolean;
|
|
3217
|
-
}
|
|
3218
|
-
interface CancelMultiServiceBookingOptions {
|
|
3219
|
-
/**
|
|
3220
|
-
* Information about whether to notify the customer and
|
|
3221
|
-
* the message to send.
|
|
3222
|
-
*/
|
|
3223
|
-
participantNotification?: ParticipantNotification;
|
|
3224
|
-
/**
|
|
3225
|
-
* Information about whether specific procedures of the standard Wix Bookings
|
|
3226
|
-
* cancellation flow are changed. For example, whether you can cancel
|
|
3227
|
-
* a booking even though the cancellation policy doesn't allow it or whether
|
|
3228
|
-
* to issue a refund.
|
|
3229
|
-
*/
|
|
3230
|
-
flowControlSettings?: CancelBookingFlowControlSettings;
|
|
3231
|
-
/** Whether to return the canceled single-service bookings. */
|
|
3232
|
-
returnFullEntity?: boolean;
|
|
3233
|
-
}
|
|
3234
|
-
interface MarkMultiServiceBookingAsPendingOptions {
|
|
3235
|
-
/** Information about the single-service bookings to mark as `PENDING`. */
|
|
3236
|
-
markAsPendingBookingsInfo?: BookingInfo[];
|
|
3237
|
-
/**
|
|
3238
|
-
* Information about whether to notify the customer and
|
|
3239
|
-
* the message to send.
|
|
3240
|
-
*/
|
|
3241
|
-
participantNotification?: ParticipantNotification;
|
|
3242
|
-
/**
|
|
3243
|
-
* Whether to send an SMS reminder to the customer 24 hours before the
|
|
3244
|
-
* session starts. The phone number is taken from `contactDetails.phone`.
|
|
3245
|
-
*
|
|
3246
|
-
* Default: `true`
|
|
3247
|
-
*/
|
|
3248
|
-
sendSmsReminder?: boolean | null;
|
|
3249
|
-
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
3250
|
-
doubleBooked?: boolean | null;
|
|
3251
|
-
/** Whether to return the single-service bookings that were marked as `PENDING`. */
|
|
3252
|
-
returnFullEntity?: boolean;
|
|
3253
|
-
/**
|
|
3254
|
-
* Information about whether specific procedures of the standard Wix Bookings
|
|
3255
|
-
* creation flow are changed. For example, whether the availability is checked
|
|
3256
|
-
* before updating the booking.
|
|
3257
|
-
*/
|
|
3258
|
-
flowControlSettings?: MarkBookingAsPendingFlowControlSettings;
|
|
3259
|
-
}
|
|
3260
|
-
interface ConfirmMultiServiceBookingOptions {
|
|
3261
|
-
/** Information about the single-service bookings to confirm. */
|
|
3262
|
-
confirmBookingsInfo?: BookingInfo[];
|
|
3263
|
-
/**
|
|
3264
|
-
* Information about whether to notify the customer and
|
|
3265
|
-
* the message to send.
|
|
3266
|
-
*/
|
|
3267
|
-
participantNotification?: ParticipantNotification;
|
|
3268
|
-
/**
|
|
3269
|
-
* Whether to send an SMS reminder to the customer 24 hours before the
|
|
3270
|
-
* session starts. The phone number is taken from `contactDetails.phone`.
|
|
3271
|
-
*
|
|
3272
|
-
* Default: `true`
|
|
3273
|
-
*/
|
|
3274
|
-
sendSmsReminder?: boolean | null;
|
|
3275
|
-
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
3276
|
-
doubleBooked?: boolean | null;
|
|
3277
|
-
/** Whether to return the confirmed single-service bookings. */
|
|
3278
|
-
returnFullEntity?: boolean;
|
|
3279
|
-
/**
|
|
3280
|
-
* Information about whether specific procedures of the standard Wix Bookings
|
|
3281
|
-
* confirmation flow are changed. For example, whether the availability is
|
|
3282
|
-
* checked before confirming the booking.
|
|
3283
|
-
*/
|
|
3284
|
-
flowControlSettings?: ConfirmBookingFlowControlSettings;
|
|
3285
|
-
}
|
|
3286
|
-
interface DeclineMultiServiceBookingOptions {
|
|
3287
|
-
/** Information about the single-service bookings to decline. */
|
|
3288
|
-
declineBookingsInfo?: BookingInfo[];
|
|
3289
|
-
/**
|
|
3290
|
-
* Information about whether to notify the customer and
|
|
3291
|
-
* the message to send.
|
|
3292
|
-
*/
|
|
3293
|
-
participantNotification?: ParticipantNotification;
|
|
3294
|
-
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
3295
|
-
doubleBooked?: boolean | null;
|
|
3296
|
-
/** Whether to return the declined single-service bookings. */
|
|
3297
|
-
returnFullEntity?: boolean;
|
|
3298
|
-
/**
|
|
3299
|
-
* Information about whether specific procedures of the standard Wix Bookings
|
|
3300
|
-
* declining flow are changed. For example, whether to issue a refund.
|
|
3301
|
-
*/
|
|
3302
|
-
flowControlSettings?: DeclineBookingFlowControlSettings;
|
|
3303
|
-
}
|
|
3304
|
-
interface AddBookingsToMultiServiceBookingOptions {
|
|
3305
|
-
/**
|
|
3306
|
-
* List of single-service booking IDs and their revision.
|
|
3307
|
-
* @maxSize 8
|
|
3308
|
-
*/
|
|
3309
|
-
bookings: BookingIdAndRevision[];
|
|
3310
|
-
/** Whether to return the single-service bookings that were added to the multi-service booking. */
|
|
3311
|
-
returnFullEntity?: boolean;
|
|
3312
|
-
}
|
|
3313
|
-
interface RemoveBookingsFromMultiServiceBookingOptions {
|
|
3314
|
-
/**
|
|
3315
|
-
* List of single-service booking IDs and their revision.
|
|
3316
|
-
* @maxSize 8
|
|
3317
|
-
*/
|
|
3318
|
-
bookings?: BookingIdAndRevision[];
|
|
3319
|
-
/** Whether to return the single-service bookings. */
|
|
3320
|
-
returnFullEntity?: boolean;
|
|
3321
|
-
}
|
|
3322
|
-
|
|
3323
|
-
export { WebhookIdentityType as $, type ConfirmMultiServiceBookingOptions as A, type BulkConfirmOrDeclineBookingRequestBookingDetails as B, type ConfirmOrDeclineBookingOptions as C, type DeclineBookingOptions as D, type ConfirmMultiServiceBookingResponse as E, type DeclineMultiServiceBookingOptions as F, type GetMultiServiceBookingAvailabilityResponse as G, type DeclineMultiServiceBookingResponse as H, type BulkGetMultiServiceBookingAllowedActionsResponse as I, type MultiServiceBooking as J, type AddBookingsToMultiServiceBookingOptions as K, type AddBookingsToMultiServiceBookingResponse as L, type MarkMultiServiceBookingAsPendingOptions as M, type RemoveBookingsFromMultiServiceBookingOptions as N, type RemoveBookingsFromMultiServiceBookingResponse as O, MultiServiceBookingType as P, LocationType as Q, type RescheduleBookingOptions as R, ValueType as S, BookingStatus as T, type UpdateExtendedFieldsOptions as U, type V2Slot as V, PaymentStatus as W, SelectedPaymentOption as X, Platform as Y, Actor as Z, IdentificationDataIdentityType as _, type ConfirmOrDeclineBookingResponse as a, type V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf as a$, LocationLocationType as a0, IdentityType as a1, SortOrder as a2, type BookingParticipantsInfoOneOf as a3, type BookedEntity as a4, type BookedEntityItemOneOf as a5, type BookedSlot as a6, type BookedResource as a7, type Location as a8, type BookedSchedule as a9, type EntityCreatedEvent as aA, type RestoreInfo as aB, type EntityUpdatedEvent as aC, type EntityDeletedEvent as aD, type ActionEvent as aE, type MessageEnvelope as aF, type WebhooksIdentificationData as aG, type WebhooksIdentificationDataIdOneOf as aH, type V2CreateBookingRequest as aI, type V2CreateBookingRequestBookableItemOneOf as aJ, type V2CreateBookingRequestParticipantsInfoOneOf as aK, type Slot as aL, type SlotResource as aM, type CreateBookingRequestFlowControlSettings as aN, type V2CreateBookingResponse as aO, type V2CancelBookingRequest as aP, type CancelBookingRequestFlowControlSettings as aQ, type V2CancelBookingResponse as aR, type V2RescheduleBookingRequest as aS, type V2RescheduleBookingRequestParticipantsInfoOneOf as aT, type RescheduleBookingRequestFlowControlSettings as aU, type V2RescheduleBookingResponse as aV, type V2ConfirmBookingRequest as aW, type V2ConfirmBookingResponse as aX, type V2DeclineBookingRequest as aY, type V2DeclineBookingResponse as aZ, type V2UpdateNumberOfParticipantsRequest as a_, type ContactDetails as aa, type Address as ab, type AddressStreetOneOf as ac, type StreetAddress as ad, type AddressLocation as ae, type Subdivision as af, type CustomFormField as ag, type BookingSource as ah, type ParticipantNotification as ai, type CommonIdentificationData as aj, type CommonIdentificationDataIdOneOf as ak, type FlowControlSettings as al, type ExtendedFields as am, type ParticipantChoices as an, type ServiceChoices as ao, type ServiceChoice as ap, type ServiceChoiceChoiceOneOf as aq, type Duration as ar, type MultiServiceBookingInfo as as, type BookedAddOn as at, type BookingFormFilled as au, type SetBookingFormAndSubmissionIdRequest as av, type SetBookingFormAndSubmissionIdRequestCreatedByOneOf as aw, type SetBookingFormAndSubmissionIdResponse as ax, type DomainEvent as ay, type DomainEventBodyOneOf as az, type BulkConfirmOrDeclineBookingOptions as b, type NumberOfParticipantsUpdated as b$, type V2UpdateNumberOfParticipantsResponse as b0, type ConfirmOrDeclineBookingRequest as b1, type BulkConfirmOrDeclineBookingRequest as b2, type BulkBookingResult as b3, type ItemMetadata as b4, type ApplicationError as b5, type BulkActionMetadata as b6, type BookingChanged as b7, type CreateBookingRequest as b8, type CreateBookingFlowControlSettings as b9, type QueryV2PagingMethodOneOf as bA, type Sorting as bB, type Paging as bC, type CursorPaging as bD, type QueryBookingsResponse as bE, type PagingMetadataV2 as bF, type Cursors as bG, type ConfirmRequest as bH, type ConfirmResponse as bI, type ConfirmBookingRequest as bJ, type ConfirmBookingFlowControlSettings as bK, type BookingConfirmed as bL, type ConsistentQueryBookingsRequest as bM, type ConsistentQueryBookingsResponse as bN, type SetBookingSessionIdRequest as bO, type SetBookingSessionIdResponse as bP, type SetBookingSubmissionIdRequest as bQ, type SetBookingSubmissionIdResponse as bR, type UpdateExtendedFieldsRequest as bS, type DeclineBookingRequest as bT, type DeclineBookingFlowControlSettings as bU, type BookingDeclined as bV, type CancelBookingRequest as bW, type CancelBookingFlowControlSettings as bX, type BookingCanceled as bY, type UpdateNumberOfParticipantsRequest as bZ, type UpdateNumberOfParticipantsRequestParticipantsInfoOneOf as b_, type UpdateBookingRequest as ba, type UpdateBookingResponse as bb, type LegacyCreateBookingRequest as bc, type LegacyCreateBookingResponse as bd, type BulkUpdateBookingRequest as be, type MaskedBooking as bf, type BulkUpdateBookingResponse as bg, type BulkCreateBookingRequest as bh, type RescheduleBookingRequest as bi, type RescheduleBookingRequestParticipantsInfoOneOf as bj, type SlotSlotResource as bk, type SlotLocation as bl, type RescheduleBookingFlowControlSettings as bm, type BookingRescheduled as bn, type BookingRescheduledPreviousParticipantsInfoOneOf as bo, type IdentificationData as bp, type IdentificationDataIdOneOf as bq, type BulkRescheduleBookingRequest as br, type BulkRescheduleBookingRequestBooking as bs, type SlotBookings as bt, type BulkRescheduleBookingResponse as bu, type BulkUpdateBookedScheduleRequest as bv, type BookingDetails as bw, type BulkUpdateBookedScheduleResponse as bx, type QueryBookingsRequest as by, type QueryV2 as bz, type BulkConfirmOrDeclineBookingResponse as c, type NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf as c0, type BulkCalculateAllowedActionsRequest as c1, type BulkCalculateAllowedActionsResponse as c2, type BulkCalculateAllowedActionsResult as c3, type AllowedActions as c4, type GetSlotAvailabilityRequest as c5, type GetSlotAvailabilityResponse as c6, type SlotAvailability as c7, type WaitingList as c8, type BookingPolicyViolations as c9, type BulkGetMultiServiceBookingAllowedActionsRequest as cA, type GetMultiServiceBookingRequest as cB, type GetMultiServiceBookingResponse as cC, type MultiServiceBookingMetadata as cD, type AddBookingsToMultiServiceBookingRequest as cE, type BookingIdAndRevision as cF, type RemoveBookingsFromMultiServiceBookingRequest as cG, type BaseEventMetadata as cH, type EventMetadata as cI, type BookingCanceledEnvelope as cJ, type BookingConfirmedEnvelope as cK, type BookingCreatedEnvelope as cL, type BookingDeclinedEnvelope as cM, type BookingNumberOfParticipantsUpdatedEnvelope as cN, type BookingRescheduledEnvelope as cO, type BookingUpdatedEnvelope as cP, type RescheduleBookingOptionsParticipantsInfoOneOf as cQ, type UpdateNumberOfParticipantsOptionsParticipantsInfoOneOf as cR, type BookingPolicySettings as ca, type AvailableResources as cb, type GetScheduleAvailabilityRequest as cc, type GetScheduleAvailabilityResponse as cd, type ScheduleAvailability as ce, type MarkBookingAsPendingRequest as cf, type MarkBookingAsPendingFlowControlSettings as cg, type MarkBookingAsPendingResponse as ch, type BookingMarkedAsPending as ci, type MigrationCheckIfClashesWithBlockedTimeRequest as cj, type MsidAndBookingId as ck, type MigrationCheckIfClashesWithBlockedTimeResponse as cl, type Clash as cm, type CountBookingsRequest as cn, type CountBookingsResponse as co, type CreateMultiServiceBookingRequest as cp, type BookingResult as cq, type RescheduleMultiServiceBookingRequest as cr, type RescheduleBookingInfoParticipantsInfoOneOf as cs, type GetMultiServiceBookingAvailabilityRequest as ct, type GetMultiServiceBookingAvailabilityResponseBookingInfo as cu, type CancelMultiServiceBookingRequest as cv, type MarkMultiServiceBookingAsPendingRequest as cw, type BookingInfo as cx, type ConfirmMultiServiceBookingRequest as cy, type DeclineMultiServiceBookingRequest as cz, type Booking as d, type CreateBookingOptions as e, type CreateBookingResponse as f, type CreateBookingInfo as g, type BulkCreateBookingOptions as h, type BulkCreateBookingResponse as i, type RescheduleBookingResponse as j, type ConfirmBookingOptions as k, type ConfirmBookingResponse as l, type UpdateExtendedFieldsResponse as m, type DeclineBookingResponse as n, type CancelBookingOptions as o, type CancelBookingResponse as p, type UpdateNumberOfParticipantsOptions as q, type UpdateNumberOfParticipantsResponse as r, type CreateMultiServiceBookingOptions as s, type CreateMultiServiceBookingResponse as t, type RescheduleBookingInfo as u, type RescheduleMultiServiceBookingOptions as v, type RescheduleMultiServiceBookingResponse as w, type CancelMultiServiceBookingOptions as x, type CancelMultiServiceBookingResponse as y, type MarkMultiServiceBookingAsPendingResponse as z };
|