@wix/auto_sdk_bookings_bookings 1.0.18 → 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-CI-yMoXr.d.mts → cjs/src/bookings-v2-booking-bookings.types.d.ts} +233 -627
- 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-CI-yMoXr.d.ts → es/src/bookings-v2-booking-bookings.types.d.ts} +233 -627
- 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-CI-yMoXr.d.ts → cjs/src/bookings-v2-booking-bookings.types.d.ts} +233 -627
- 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-CI-yMoXr.d.mts → es/src/bookings-v2-booking-bookings.types.d.ts} +233 -627
- 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,17 +701,17 @@ 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 extends BookedAddOnAddOnInfoOneOf {
|
|
714
|
+
export interface BookedAddOn extends BookedAddOnAddOnInfoOneOf {
|
|
715
715
|
/**
|
|
716
716
|
* The Add-On duration in minutes at the time of Booking.
|
|
717
717
|
* @min 1
|
|
@@ -729,7 +729,7 @@ interface BookedAddOn extends BookedAddOnAddOnInfoOneOf {
|
|
|
729
729
|
* The ID of the Add-On.
|
|
730
730
|
* @format GUID
|
|
731
731
|
*/
|
|
732
|
-
|
|
732
|
+
id?: string;
|
|
733
733
|
/**
|
|
734
734
|
* The ID of the Add-Ons group.
|
|
735
735
|
* @format GUID
|
|
@@ -737,7 +737,7 @@ interface BookedAddOn extends BookedAddOnAddOnInfoOneOf {
|
|
|
737
737
|
groupId?: string;
|
|
738
738
|
}
|
|
739
739
|
/** @oneof */
|
|
740
|
-
interface BookedAddOnAddOnInfoOneOf {
|
|
740
|
+
export interface BookedAddOnAddOnInfoOneOf {
|
|
741
741
|
/**
|
|
742
742
|
* The Add-On duration in minutes at the time of Booking.
|
|
743
743
|
* @min 1
|
|
@@ -752,7 +752,7 @@ interface BookedAddOnAddOnInfoOneOf {
|
|
|
752
752
|
*/
|
|
753
753
|
quantity?: number;
|
|
754
754
|
}
|
|
755
|
-
interface BookingFormFilled {
|
|
755
|
+
export interface BookingFormFilled {
|
|
756
756
|
/** The booking object that form was filled for. */
|
|
757
757
|
booking?: Booking;
|
|
758
758
|
/**
|
|
@@ -768,7 +768,7 @@ interface BookingFormFilled {
|
|
|
768
768
|
*/
|
|
769
769
|
formId?: string | null;
|
|
770
770
|
}
|
|
771
|
-
interface SetBookingFormAndSubmissionIdRequest extends SetBookingFormAndSubmissionIdRequestCreatedByOneOf {
|
|
771
|
+
export interface SetBookingFormAndSubmissionIdRequest extends SetBookingFormAndSubmissionIdRequestCreatedByOneOf {
|
|
772
772
|
/**
|
|
773
773
|
* The visitor who created the booking.
|
|
774
774
|
* @format GUID
|
|
@@ -811,7 +811,7 @@ interface SetBookingFormAndSubmissionIdRequest extends SetBookingFormAndSubmissi
|
|
|
811
811
|
instanceId?: string | null;
|
|
812
812
|
}
|
|
813
813
|
/** @oneof */
|
|
814
|
-
interface SetBookingFormAndSubmissionIdRequestCreatedByOneOf {
|
|
814
|
+
export interface SetBookingFormAndSubmissionIdRequestCreatedByOneOf {
|
|
815
815
|
/**
|
|
816
816
|
* The visitor who created the booking.
|
|
817
817
|
* @format GUID
|
|
@@ -828,11 +828,11 @@ interface SetBookingFormAndSubmissionIdRequestCreatedByOneOf {
|
|
|
828
828
|
*/
|
|
829
829
|
appId?: string | null;
|
|
830
830
|
}
|
|
831
|
-
interface SetBookingFormAndSubmissionIdResponse {
|
|
831
|
+
export interface SetBookingFormAndSubmissionIdResponse {
|
|
832
832
|
/** Updated booking. */
|
|
833
833
|
booking?: Booking;
|
|
834
834
|
}
|
|
835
|
-
interface DomainEvent extends DomainEventBodyOneOf {
|
|
835
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
836
836
|
createdEvent?: EntityCreatedEvent;
|
|
837
837
|
updatedEvent?: EntityUpdatedEvent;
|
|
838
838
|
deletedEvent?: EntityDeletedEvent;
|
|
@@ -841,7 +841,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
841
841
|
* Unique event ID.
|
|
842
842
|
* Allows clients to ignore duplicate webhooks.
|
|
843
843
|
*/
|
|
844
|
-
|
|
844
|
+
id?: string;
|
|
845
845
|
/**
|
|
846
846
|
* Assumes actions are also always typed to an entity_type
|
|
847
847
|
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
@@ -875,34 +875,36 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
875
875
|
entityEventSequence?: string | null;
|
|
876
876
|
}
|
|
877
877
|
/** @oneof */
|
|
878
|
-
interface DomainEventBodyOneOf {
|
|
878
|
+
export interface DomainEventBodyOneOf {
|
|
879
879
|
createdEvent?: EntityCreatedEvent;
|
|
880
880
|
updatedEvent?: EntityUpdatedEvent;
|
|
881
881
|
deletedEvent?: EntityDeletedEvent;
|
|
882
882
|
actionEvent?: ActionEvent;
|
|
883
883
|
}
|
|
884
|
-
interface EntityCreatedEvent {
|
|
885
|
-
|
|
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;
|
|
886
888
|
}
|
|
887
|
-
interface RestoreInfo {
|
|
889
|
+
export interface RestoreInfo {
|
|
888
890
|
deletedDate?: Date | null;
|
|
889
891
|
}
|
|
890
|
-
interface EntityUpdatedEvent {
|
|
892
|
+
export interface EntityUpdatedEvent {
|
|
891
893
|
/**
|
|
892
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.
|
|
893
895
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
894
896
|
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
895
897
|
*/
|
|
896
|
-
|
|
898
|
+
currentEntityAsJson?: string;
|
|
897
899
|
}
|
|
898
|
-
interface EntityDeletedEvent {
|
|
900
|
+
export interface EntityDeletedEvent {
|
|
899
901
|
/** Entity that was deleted */
|
|
900
|
-
|
|
902
|
+
deletedEntityAsJson?: string | null;
|
|
901
903
|
}
|
|
902
|
-
interface ActionEvent {
|
|
903
|
-
|
|
904
|
+
export interface ActionEvent {
|
|
905
|
+
bodyAsJson?: string;
|
|
904
906
|
}
|
|
905
|
-
interface MessageEnvelope {
|
|
907
|
+
export interface MessageEnvelope {
|
|
906
908
|
/**
|
|
907
909
|
* App instance ID.
|
|
908
910
|
* @format GUID
|
|
@@ -918,7 +920,7 @@ interface MessageEnvelope {
|
|
|
918
920
|
/** Stringify payload. */
|
|
919
921
|
data?: string;
|
|
920
922
|
}
|
|
921
|
-
interface WebhooksIdentificationData extends WebhooksIdentificationDataIdOneOf {
|
|
923
|
+
export interface WebhooksIdentificationData extends WebhooksIdentificationDataIdOneOf {
|
|
922
924
|
/**
|
|
923
925
|
* ID of a site visitor that has not logged in to the site.
|
|
924
926
|
* @format GUID
|
|
@@ -943,7 +945,7 @@ interface WebhooksIdentificationData extends WebhooksIdentificationDataIdOneOf {
|
|
|
943
945
|
identityType?: WebhookIdentityType;
|
|
944
946
|
}
|
|
945
947
|
/** @oneof */
|
|
946
|
-
interface WebhooksIdentificationDataIdOneOf {
|
|
948
|
+
export interface WebhooksIdentificationDataIdOneOf {
|
|
947
949
|
/**
|
|
948
950
|
* ID of a site visitor that has not logged in to the site.
|
|
949
951
|
* @format GUID
|
|
@@ -965,14 +967,14 @@ interface WebhooksIdentificationDataIdOneOf {
|
|
|
965
967
|
*/
|
|
966
968
|
appId?: string;
|
|
967
969
|
}
|
|
968
|
-
declare enum WebhookIdentityType {
|
|
970
|
+
export declare enum WebhookIdentityType {
|
|
969
971
|
UNKNOWN = "UNKNOWN",
|
|
970
972
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
971
973
|
MEMBER = "MEMBER",
|
|
972
974
|
WIX_USER = "WIX_USER",
|
|
973
975
|
APP = "APP"
|
|
974
976
|
}
|
|
975
|
-
interface V2CreateBookingRequest extends V2CreateBookingRequestBookableItemOneOf, V2CreateBookingRequestParticipantsInfoOneOf {
|
|
977
|
+
export interface V2CreateBookingRequest extends V2CreateBookingRequestBookableItemOneOf, V2CreateBookingRequestParticipantsInfoOneOf {
|
|
976
978
|
/**
|
|
977
979
|
* Information about the slot to create a booking for.
|
|
978
980
|
* If you set `slot.location.locationType` to `CUSTOM`, the created slot's
|
|
@@ -1068,7 +1070,7 @@ interface V2CreateBookingRequest extends V2CreateBookingRequestBookableItemOneOf
|
|
|
1068
1070
|
flowControlSettings?: CreateBookingRequestFlowControlSettings;
|
|
1069
1071
|
}
|
|
1070
1072
|
/** @oneof */
|
|
1071
|
-
interface V2CreateBookingRequestBookableItemOneOf {
|
|
1073
|
+
export interface V2CreateBookingRequestBookableItemOneOf {
|
|
1072
1074
|
/**
|
|
1073
1075
|
* Information about the slot to create a booking for.
|
|
1074
1076
|
* If you set `slot.location.locationType` to `CUSTOM`, the created slot's
|
|
@@ -1080,9 +1082,9 @@ interface V2CreateBookingRequestBookableItemOneOf {
|
|
|
1080
1082
|
schedule?: BookedSchedule;
|
|
1081
1083
|
}
|
|
1082
1084
|
/** @oneof */
|
|
1083
|
-
interface V2CreateBookingRequestParticipantsInfoOneOf {
|
|
1085
|
+
export interface V2CreateBookingRequestParticipantsInfoOneOf {
|
|
1084
1086
|
}
|
|
1085
|
-
interface Slot {
|
|
1087
|
+
export interface Slot {
|
|
1086
1088
|
/**
|
|
1087
1089
|
* ID for the slot's corresponding session, when the session is either a single session
|
|
1088
1090
|
* or a specific session generated from a recurring session.
|
|
@@ -1140,20 +1142,20 @@ interface Slot {
|
|
|
1140
1142
|
*/
|
|
1141
1143
|
eventId?: string | null;
|
|
1142
1144
|
}
|
|
1143
|
-
interface SlotResource {
|
|
1145
|
+
export interface SlotResource {
|
|
1144
1146
|
/**
|
|
1145
1147
|
* Resource ID.
|
|
1146
1148
|
* @format GUID
|
|
1147
1149
|
* @readonly
|
|
1148
1150
|
*/
|
|
1149
|
-
|
|
1151
|
+
id?: string | null;
|
|
1150
1152
|
/**
|
|
1151
1153
|
* Resource name. Read only.
|
|
1152
1154
|
* @maxLength 1200
|
|
1153
1155
|
*/
|
|
1154
1156
|
name?: string | null;
|
|
1155
1157
|
}
|
|
1156
|
-
interface CreateBookingRequestFlowControlSettings {
|
|
1158
|
+
export interface CreateBookingRequestFlowControlSettings {
|
|
1157
1159
|
/**
|
|
1158
1160
|
* Whether the availability is checked before creating the booking. When
|
|
1159
1161
|
* passing `false` a booking is only created when the slot or schedule is
|
|
@@ -1182,11 +1184,11 @@ interface CreateBookingRequestFlowControlSettings {
|
|
|
1182
1184
|
*/
|
|
1183
1185
|
skipSelectedPaymentOptionValidation?: boolean;
|
|
1184
1186
|
}
|
|
1185
|
-
interface V2CreateBookingResponse {
|
|
1187
|
+
export interface V2CreateBookingResponse {
|
|
1186
1188
|
/** Created booking. */
|
|
1187
1189
|
booking?: Booking;
|
|
1188
1190
|
}
|
|
1189
|
-
interface V2CancelBookingRequest {
|
|
1191
|
+
export interface V2CancelBookingRequest {
|
|
1190
1192
|
/**
|
|
1191
1193
|
* ID of the booking to cancel.
|
|
1192
1194
|
* @format GUID
|
|
@@ -1204,7 +1206,7 @@ interface V2CancelBookingRequest {
|
|
|
1204
1206
|
*/
|
|
1205
1207
|
revision?: string | null;
|
|
1206
1208
|
}
|
|
1207
|
-
interface CancelBookingRequestFlowControlSettings {
|
|
1209
|
+
export interface CancelBookingRequestFlowControlSettings {
|
|
1208
1210
|
/**
|
|
1209
1211
|
* Whether the cancellation policy applies when canceling the booking. When
|
|
1210
1212
|
* passing `false` you can only cancel a booking if the cancellation policy
|
|
@@ -1226,11 +1228,11 @@ interface CancelBookingRequestFlowControlSettings {
|
|
|
1226
1228
|
*/
|
|
1227
1229
|
withRefund?: boolean | null;
|
|
1228
1230
|
}
|
|
1229
|
-
interface V2CancelBookingResponse {
|
|
1231
|
+
export interface V2CancelBookingResponse {
|
|
1230
1232
|
/** Canceled booking. */
|
|
1231
1233
|
booking?: Booking;
|
|
1232
1234
|
}
|
|
1233
|
-
interface V2RescheduleBookingRequest extends V2RescheduleBookingRequestParticipantsInfoOneOf {
|
|
1235
|
+
export interface V2RescheduleBookingRequest extends V2RescheduleBookingRequestParticipantsInfoOneOf {
|
|
1234
1236
|
/**
|
|
1235
1237
|
* Id of the booking to reschedule.
|
|
1236
1238
|
* @format GUID
|
|
@@ -1251,9 +1253,9 @@ interface V2RescheduleBookingRequest extends V2RescheduleBookingRequestParticipa
|
|
|
1251
1253
|
participantNotification?: ParticipantNotification;
|
|
1252
1254
|
}
|
|
1253
1255
|
/** @oneof */
|
|
1254
|
-
interface V2RescheduleBookingRequestParticipantsInfoOneOf {
|
|
1256
|
+
export interface V2RescheduleBookingRequestParticipantsInfoOneOf {
|
|
1255
1257
|
}
|
|
1256
|
-
interface RescheduleBookingRequestFlowControlSettings {
|
|
1258
|
+
export interface RescheduleBookingRequestFlowControlSettings {
|
|
1257
1259
|
/**
|
|
1258
1260
|
* Whether the rescheduling policy applies when rescheduling the booking.
|
|
1259
1261
|
* When passing `false` you can only cancel a booking if the rescheduling
|
|
@@ -1282,11 +1284,11 @@ interface RescheduleBookingRequestFlowControlSettings {
|
|
|
1282
1284
|
*/
|
|
1283
1285
|
skipBusinessConfirmation?: boolean;
|
|
1284
1286
|
}
|
|
1285
|
-
interface V2RescheduleBookingResponse {
|
|
1287
|
+
export interface V2RescheduleBookingResponse {
|
|
1286
1288
|
/** Rescheduled booking. */
|
|
1287
1289
|
booking?: Booking;
|
|
1288
1290
|
}
|
|
1289
|
-
interface V2ConfirmBookingRequest {
|
|
1291
|
+
export interface V2ConfirmBookingRequest {
|
|
1290
1292
|
/**
|
|
1291
1293
|
* ID of the booking to confirm.
|
|
1292
1294
|
* @format GUID
|
|
@@ -1304,10 +1306,10 @@ interface V2ConfirmBookingRequest {
|
|
|
1304
1306
|
*/
|
|
1305
1307
|
participantNotification?: ParticipantNotification;
|
|
1306
1308
|
}
|
|
1307
|
-
interface V2ConfirmBookingResponse {
|
|
1309
|
+
export interface V2ConfirmBookingResponse {
|
|
1308
1310
|
booking?: Booking;
|
|
1309
1311
|
}
|
|
1310
|
-
interface V2DeclineBookingRequest {
|
|
1312
|
+
export interface V2DeclineBookingRequest {
|
|
1311
1313
|
/**
|
|
1312
1314
|
* ID of the booking to decline.
|
|
1313
1315
|
* @format GUID
|
|
@@ -1325,11 +1327,11 @@ interface V2DeclineBookingRequest {
|
|
|
1325
1327
|
*/
|
|
1326
1328
|
participantNotification?: ParticipantNotification;
|
|
1327
1329
|
}
|
|
1328
|
-
interface V2DeclineBookingResponse {
|
|
1330
|
+
export interface V2DeclineBookingResponse {
|
|
1329
1331
|
/** Declined booking. */
|
|
1330
1332
|
booking?: Booking;
|
|
1331
1333
|
}
|
|
1332
|
-
interface V2UpdateNumberOfParticipantsRequest extends V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
1334
|
+
export interface V2UpdateNumberOfParticipantsRequest extends V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
1333
1335
|
/**
|
|
1334
1336
|
* ID of the booking to update the number of participants for.
|
|
1335
1337
|
* @format GUID
|
|
@@ -1345,13 +1347,13 @@ interface V2UpdateNumberOfParticipantsRequest extends V2UpdateNumberOfParticipan
|
|
|
1345
1347
|
revision?: string | null;
|
|
1346
1348
|
}
|
|
1347
1349
|
/** @oneof */
|
|
1348
|
-
interface V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
1350
|
+
export interface V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
1349
1351
|
}
|
|
1350
|
-
interface V2UpdateNumberOfParticipantsResponse {
|
|
1352
|
+
export interface V2UpdateNumberOfParticipantsResponse {
|
|
1351
1353
|
/** Booking with updated number of participants. */
|
|
1352
1354
|
booking?: Booking;
|
|
1353
1355
|
}
|
|
1354
|
-
interface ConfirmOrDeclineBookingRequest {
|
|
1356
|
+
export interface ConfirmOrDeclineBookingRequest {
|
|
1355
1357
|
/**
|
|
1356
1358
|
* ID of the booking to confirm or decline.
|
|
1357
1359
|
* @format GUID
|
|
@@ -1367,11 +1369,11 @@ interface ConfirmOrDeclineBookingRequest {
|
|
|
1367
1369
|
*/
|
|
1368
1370
|
paymentStatus?: PaymentStatus;
|
|
1369
1371
|
}
|
|
1370
|
-
interface ConfirmOrDeclineBookingResponse {
|
|
1372
|
+
export interface ConfirmOrDeclineBookingResponse {
|
|
1371
1373
|
/** Updated booking. */
|
|
1372
1374
|
booking?: Booking;
|
|
1373
1375
|
}
|
|
1374
|
-
interface BulkConfirmOrDeclineBookingRequest {
|
|
1376
|
+
export interface BulkConfirmOrDeclineBookingRequest {
|
|
1375
1377
|
/**
|
|
1376
1378
|
* Bookings to confirm or decline.
|
|
1377
1379
|
* @minSize 1
|
|
@@ -1381,7 +1383,7 @@ interface BulkConfirmOrDeclineBookingRequest {
|
|
|
1381
1383
|
/** Whether to return the confirmed or declined booking objects. */
|
|
1382
1384
|
returnEntity?: boolean;
|
|
1383
1385
|
}
|
|
1384
|
-
interface BulkConfirmOrDeclineBookingRequestBookingDetails {
|
|
1386
|
+
export interface BulkConfirmOrDeclineBookingRequestBookingDetails {
|
|
1385
1387
|
/**
|
|
1386
1388
|
* ID of the booking to confirm or decline.
|
|
1387
1389
|
* @format GUID
|
|
@@ -1397,13 +1399,13 @@ interface BulkConfirmOrDeclineBookingRequestBookingDetails {
|
|
|
1397
1399
|
*/
|
|
1398
1400
|
paymentStatus?: PaymentStatus;
|
|
1399
1401
|
}
|
|
1400
|
-
interface BulkConfirmOrDeclineBookingResponse {
|
|
1402
|
+
export interface BulkConfirmOrDeclineBookingResponse {
|
|
1401
1403
|
/** List of confirmed or declined bookings, including metadata. */
|
|
1402
1404
|
results?: BulkBookingResult[];
|
|
1403
1405
|
/** Total successes and failures of the Bulk Confirm Or Decline call. */
|
|
1404
1406
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1405
1407
|
}
|
|
1406
|
-
interface BulkBookingResult {
|
|
1408
|
+
export interface BulkBookingResult {
|
|
1407
1409
|
/**
|
|
1408
1410
|
* Information about the booking that was created or updated.
|
|
1409
1411
|
* Including its ID, index in the bulk request and whether it was
|
|
@@ -1416,9 +1418,9 @@ interface BulkBookingResult {
|
|
|
1416
1418
|
*/
|
|
1417
1419
|
item?: Booking;
|
|
1418
1420
|
}
|
|
1419
|
-
interface ItemMetadata {
|
|
1421
|
+
export interface ItemMetadata {
|
|
1420
1422
|
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
1421
|
-
|
|
1423
|
+
id?: string | null;
|
|
1422
1424
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
1423
1425
|
originalIndex?: number;
|
|
1424
1426
|
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
@@ -1426,7 +1428,7 @@ interface ItemMetadata {
|
|
|
1426
1428
|
/** Details about the error in case of failure. */
|
|
1427
1429
|
error?: ApplicationError;
|
|
1428
1430
|
}
|
|
1429
|
-
interface ApplicationError {
|
|
1431
|
+
export interface ApplicationError {
|
|
1430
1432
|
/** Error code. */
|
|
1431
1433
|
code?: string;
|
|
1432
1434
|
/** Description of the error. */
|
|
@@ -1434,7 +1436,7 @@ interface ApplicationError {
|
|
|
1434
1436
|
/** Data related to the error. */
|
|
1435
1437
|
data?: Record<string, any> | null;
|
|
1436
1438
|
}
|
|
1437
|
-
interface BulkActionMetadata {
|
|
1439
|
+
export interface BulkActionMetadata {
|
|
1438
1440
|
/** Number of items that were successfully processed. */
|
|
1439
1441
|
totalSuccesses?: number;
|
|
1440
1442
|
/** Number of items that couldn't be processed. */
|
|
@@ -1442,13 +1444,13 @@ interface BulkActionMetadata {
|
|
|
1442
1444
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
1443
1445
|
undetailedFailures?: number;
|
|
1444
1446
|
}
|
|
1445
|
-
interface BookingChanged {
|
|
1447
|
+
export interface BookingChanged {
|
|
1446
1448
|
/** The booking before the changes. */
|
|
1447
1449
|
previousBooking?: Booking;
|
|
1448
1450
|
/** The booking after the changes. */
|
|
1449
1451
|
currentBooking?: Booking;
|
|
1450
1452
|
}
|
|
1451
|
-
interface CreateBookingRequest {
|
|
1453
|
+
export interface CreateBookingRequest {
|
|
1452
1454
|
/** The booking to create. */
|
|
1453
1455
|
booking: Booking;
|
|
1454
1456
|
/**
|
|
@@ -1468,7 +1470,7 @@ interface CreateBookingRequest {
|
|
|
1468
1470
|
*/
|
|
1469
1471
|
flowControlSettings?: CreateBookingFlowControlSettings;
|
|
1470
1472
|
}
|
|
1471
|
-
interface CreateBookingFlowControlSettings {
|
|
1473
|
+
export interface CreateBookingFlowControlSettings {
|
|
1472
1474
|
/**
|
|
1473
1475
|
* Whether the availability is checked before creating the booking.
|
|
1474
1476
|
*
|
|
@@ -1495,7 +1497,7 @@ interface CreateBookingFlowControlSettings {
|
|
|
1495
1497
|
*/
|
|
1496
1498
|
skipSelectedPaymentOptionValidation?: boolean;
|
|
1497
1499
|
}
|
|
1498
|
-
interface CreateBookingResponse {
|
|
1500
|
+
export interface CreateBookingResponse {
|
|
1499
1501
|
/** Created booking. */
|
|
1500
1502
|
booking?: Booking;
|
|
1501
1503
|
}
|
|
@@ -1503,30 +1505,30 @@ interface CreateBookingResponse {
|
|
|
1503
1505
|
* The `fieldMask` should not include both the `numberOfParticipants` and `participantsInfo` paths. Including both results
|
|
1504
1506
|
* in an error. `participantsInfo` is preferred over `numberOfParticipants`.
|
|
1505
1507
|
*/
|
|
1506
|
-
interface UpdateBookingRequest {
|
|
1508
|
+
export interface UpdateBookingRequest {
|
|
1507
1509
|
booking?: Booking;
|
|
1508
1510
|
}
|
|
1509
|
-
interface UpdateBookingResponse {
|
|
1511
|
+
export interface UpdateBookingResponse {
|
|
1510
1512
|
booking?: Booking;
|
|
1511
1513
|
}
|
|
1512
|
-
interface LegacyCreateBookingRequest {
|
|
1514
|
+
export interface LegacyCreateBookingRequest {
|
|
1513
1515
|
booking?: Booking;
|
|
1514
1516
|
}
|
|
1515
|
-
interface LegacyCreateBookingResponse {
|
|
1517
|
+
export interface LegacyCreateBookingResponse {
|
|
1516
1518
|
booking?: Booking;
|
|
1517
1519
|
}
|
|
1518
1520
|
/**
|
|
1519
1521
|
* The `fieldMask` for each booking should not include both the `numberOfParticipants` and `participantsInfo` paths. Including both results
|
|
1520
1522
|
* in an error. `participantsInfo` is preferred over `numberOfParticipants`.
|
|
1521
1523
|
*/
|
|
1522
|
-
interface BulkUpdateBookingRequest {
|
|
1524
|
+
export interface BulkUpdateBookingRequest {
|
|
1523
1525
|
bookings?: MaskedBooking[];
|
|
1524
1526
|
}
|
|
1525
|
-
interface MaskedBooking {
|
|
1527
|
+
export interface MaskedBooking {
|
|
1526
1528
|
booking?: Booking;
|
|
1527
1529
|
mask?: string[];
|
|
1528
1530
|
}
|
|
1529
|
-
interface BulkUpdateBookingResponse {
|
|
1531
|
+
export interface BulkUpdateBookingResponse {
|
|
1530
1532
|
/**
|
|
1531
1533
|
* Information about the booking that was updated.
|
|
1532
1534
|
* Including its ID, index in the bulk request and whether it was
|
|
@@ -1536,7 +1538,7 @@ interface BulkUpdateBookingResponse {
|
|
|
1536
1538
|
/** Total number of successes and failures for Bulk Update Bookings. */
|
|
1537
1539
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1538
1540
|
}
|
|
1539
|
-
interface BulkCreateBookingRequest {
|
|
1541
|
+
export interface BulkCreateBookingRequest {
|
|
1540
1542
|
/**
|
|
1541
1543
|
* Bookings to create.
|
|
1542
1544
|
*
|
|
@@ -1548,7 +1550,7 @@ interface BulkCreateBookingRequest {
|
|
|
1548
1550
|
/** Whether to return the created bookings. */
|
|
1549
1551
|
returnFullEntity?: boolean;
|
|
1550
1552
|
}
|
|
1551
|
-
interface CreateBookingInfo {
|
|
1553
|
+
export interface CreateBookingInfo {
|
|
1552
1554
|
/** Booking to create. */
|
|
1553
1555
|
booking?: Booking;
|
|
1554
1556
|
/**
|
|
@@ -1568,13 +1570,13 @@ interface CreateBookingInfo {
|
|
|
1568
1570
|
*/
|
|
1569
1571
|
flowControlSettings?: CreateBookingFlowControlSettings;
|
|
1570
1572
|
}
|
|
1571
|
-
interface BulkCreateBookingResponse {
|
|
1573
|
+
export interface BulkCreateBookingResponse {
|
|
1572
1574
|
/** List of individual Bulk Create Bookings results. */
|
|
1573
1575
|
results?: BulkBookingResult[];
|
|
1574
1576
|
/** Total number of successes and failures for Bulk Create Bookings. */
|
|
1575
1577
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1576
1578
|
}
|
|
1577
|
-
interface RescheduleBookingRequest extends RescheduleBookingRequestParticipantsInfoOneOf {
|
|
1579
|
+
export interface RescheduleBookingRequest extends RescheduleBookingRequestParticipantsInfoOneOf {
|
|
1578
1580
|
/**
|
|
1579
1581
|
* Total number of participants. Specify when all participants have booked the
|
|
1580
1582
|
* same service variant.
|
|
@@ -1610,7 +1612,7 @@ interface RescheduleBookingRequest extends RescheduleBookingRequestParticipantsI
|
|
|
1610
1612
|
flowControlSettings?: RescheduleBookingFlowControlSettings;
|
|
1611
1613
|
}
|
|
1612
1614
|
/** @oneof */
|
|
1613
|
-
interface RescheduleBookingRequestParticipantsInfoOneOf {
|
|
1615
|
+
export interface RescheduleBookingRequestParticipantsInfoOneOf {
|
|
1614
1616
|
/**
|
|
1615
1617
|
* Total number of participants. Specify when all participants have booked the
|
|
1616
1618
|
* same service variant.
|
|
@@ -1622,7 +1624,7 @@ interface RescheduleBookingRequestParticipantsInfoOneOf {
|
|
|
1622
1624
|
*/
|
|
1623
1625
|
participantsChoices?: ParticipantChoices;
|
|
1624
1626
|
}
|
|
1625
|
-
interface V2Slot {
|
|
1627
|
+
export interface V2Slot {
|
|
1626
1628
|
/** Identifier for the underlying session when the session is a single session or generated from a recurring session. */
|
|
1627
1629
|
sessionId?: string | null;
|
|
1628
1630
|
/** Service identifier. Required. */
|
|
@@ -1654,7 +1656,7 @@ interface V2Slot {
|
|
|
1654
1656
|
*/
|
|
1655
1657
|
eventId?: string | null;
|
|
1656
1658
|
}
|
|
1657
|
-
declare enum LocationLocationType {
|
|
1659
|
+
export declare enum LocationLocationType {
|
|
1658
1660
|
/** Undefined location type. */
|
|
1659
1661
|
UNDEFINED = "UNDEFINED",
|
|
1660
1662
|
/** The business address as set in the site’s general settings. */
|
|
@@ -1664,25 +1666,25 @@ declare enum LocationLocationType {
|
|
|
1664
1666
|
/** The address set for the individual session. */
|
|
1665
1667
|
CUSTOM = "CUSTOM"
|
|
1666
1668
|
}
|
|
1667
|
-
interface SlotSlotResource {
|
|
1669
|
+
export interface SlotSlotResource {
|
|
1668
1670
|
/**
|
|
1669
1671
|
* Resource ID.
|
|
1670
1672
|
* @format GUID
|
|
1671
1673
|
* @readonly
|
|
1672
1674
|
*/
|
|
1673
|
-
|
|
1675
|
+
id?: string | null;
|
|
1674
1676
|
/**
|
|
1675
1677
|
* Resource name.
|
|
1676
1678
|
* @maxLength 1200
|
|
1677
1679
|
*/
|
|
1678
1680
|
name?: string | null;
|
|
1679
1681
|
}
|
|
1680
|
-
interface SlotLocation {
|
|
1682
|
+
export interface SlotLocation {
|
|
1681
1683
|
/**
|
|
1682
1684
|
* Business Location ID. Present if the location is a business location.
|
|
1683
1685
|
* @format GUID
|
|
1684
1686
|
*/
|
|
1685
|
-
|
|
1687
|
+
id?: string | null;
|
|
1686
1688
|
/** Location name. */
|
|
1687
1689
|
name?: string | null;
|
|
1688
1690
|
/** A string containing the full address of this location. */
|
|
@@ -1690,7 +1692,7 @@ interface SlotLocation {
|
|
|
1690
1692
|
/** Location type. */
|
|
1691
1693
|
locationType?: LocationLocationType;
|
|
1692
1694
|
}
|
|
1693
|
-
interface RescheduleBookingFlowControlSettings {
|
|
1695
|
+
export interface RescheduleBookingFlowControlSettings {
|
|
1694
1696
|
/**
|
|
1695
1697
|
* Whether the rescheduling policy applies when rescheduling the booking.
|
|
1696
1698
|
*
|
|
@@ -1715,11 +1717,11 @@ interface RescheduleBookingFlowControlSettings {
|
|
|
1715
1717
|
*/
|
|
1716
1718
|
skipBusinessConfirmation?: boolean;
|
|
1717
1719
|
}
|
|
1718
|
-
interface RescheduleBookingResponse {
|
|
1720
|
+
export interface RescheduleBookingResponse {
|
|
1719
1721
|
/** Rescheduled booking. */
|
|
1720
1722
|
booking?: Booking;
|
|
1721
1723
|
}
|
|
1722
|
-
interface BookingRescheduled extends BookingRescheduledPreviousParticipantsInfoOneOf {
|
|
1724
|
+
export interface BookingRescheduled extends BookingRescheduledPreviousParticipantsInfoOneOf {
|
|
1723
1725
|
/**
|
|
1724
1726
|
* The previous total number of participants. Available only when the booking includes
|
|
1725
1727
|
* a single service variant.
|
|
@@ -1761,7 +1763,7 @@ interface BookingRescheduled extends BookingRescheduledPreviousParticipantsInfoO
|
|
|
1761
1763
|
previousEndDate?: Date | null;
|
|
1762
1764
|
}
|
|
1763
1765
|
/** @oneof */
|
|
1764
|
-
interface BookingRescheduledPreviousParticipantsInfoOneOf {
|
|
1766
|
+
export interface BookingRescheduledPreviousParticipantsInfoOneOf {
|
|
1765
1767
|
/**
|
|
1766
1768
|
* The previous total number of participants. Available only when the booking includes
|
|
1767
1769
|
* a single service variant.
|
|
@@ -1773,7 +1775,7 @@ interface BookingRescheduledPreviousParticipantsInfoOneOf {
|
|
|
1773
1775
|
*/
|
|
1774
1776
|
previousParticipantsChoices?: ParticipantChoices;
|
|
1775
1777
|
}
|
|
1776
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
1778
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
1777
1779
|
/**
|
|
1778
1780
|
* ID of a site visitor that has not logged in to the site.
|
|
1779
1781
|
* @format GUID
|
|
@@ -1802,7 +1804,7 @@ interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
1802
1804
|
contactId?: string | null;
|
|
1803
1805
|
}
|
|
1804
1806
|
/** @oneof */
|
|
1805
|
-
interface IdentificationDataIdOneOf {
|
|
1807
|
+
export interface IdentificationDataIdOneOf {
|
|
1806
1808
|
/**
|
|
1807
1809
|
* ID of a site visitor that has not logged in to the site.
|
|
1808
1810
|
* @format GUID
|
|
@@ -1824,14 +1826,14 @@ interface IdentificationDataIdOneOf {
|
|
|
1824
1826
|
*/
|
|
1825
1827
|
appId?: string;
|
|
1826
1828
|
}
|
|
1827
|
-
declare enum IdentityType {
|
|
1829
|
+
export declare enum IdentityType {
|
|
1828
1830
|
UNKNOWN = "UNKNOWN",
|
|
1829
1831
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1830
1832
|
MEMBER = "MEMBER",
|
|
1831
1833
|
WIX_USER = "WIX_USER",
|
|
1832
1834
|
APP = "APP"
|
|
1833
1835
|
}
|
|
1834
|
-
interface BulkRescheduleBookingRequest {
|
|
1836
|
+
export interface BulkRescheduleBookingRequest {
|
|
1835
1837
|
/**
|
|
1836
1838
|
* Reschedule multiple bookings to multiple slots.
|
|
1837
1839
|
* @minSize 1
|
|
@@ -1843,12 +1845,12 @@ interface BulkRescheduleBookingRequest {
|
|
|
1843
1845
|
*/
|
|
1844
1846
|
participantNotification?: ParticipantNotification;
|
|
1845
1847
|
}
|
|
1846
|
-
interface BulkRescheduleBookingRequestBooking {
|
|
1848
|
+
export interface BulkRescheduleBookingRequestBooking {
|
|
1847
1849
|
/**
|
|
1848
1850
|
* ID of the booking to reschedule.
|
|
1849
1851
|
* @format GUID
|
|
1850
1852
|
*/
|
|
1851
|
-
|
|
1853
|
+
id?: string;
|
|
1852
1854
|
/**
|
|
1853
1855
|
* Revision number, which increments by 1 each time the booking is rescheduled.
|
|
1854
1856
|
* To prevent conflicting changes,
|
|
@@ -1857,7 +1859,7 @@ interface BulkRescheduleBookingRequestBooking {
|
|
|
1857
1859
|
revision?: string | null;
|
|
1858
1860
|
}
|
|
1859
1861
|
/** Bookings to be rescheduled to the given slot. */
|
|
1860
|
-
interface SlotBookings {
|
|
1862
|
+
export interface SlotBookings {
|
|
1861
1863
|
/**
|
|
1862
1864
|
* The bookings details.
|
|
1863
1865
|
* @minSize 1
|
|
@@ -1869,7 +1871,7 @@ interface SlotBookings {
|
|
|
1869
1871
|
*/
|
|
1870
1872
|
slot?: BookedSlot;
|
|
1871
1873
|
}
|
|
1872
|
-
interface BulkRescheduleBookingResponse {
|
|
1874
|
+
export interface BulkRescheduleBookingResponse {
|
|
1873
1875
|
/**
|
|
1874
1876
|
* Information about the booking that was rescheduled.
|
|
1875
1877
|
* Including its ID, index in the bulk request and whether it was
|
|
@@ -1880,7 +1882,7 @@ interface BulkRescheduleBookingResponse {
|
|
|
1880
1882
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1881
1883
|
}
|
|
1882
1884
|
/** Update the booked schedule of multiple bookings to the given schedule. */
|
|
1883
|
-
interface BulkUpdateBookedScheduleRequest {
|
|
1885
|
+
export interface BulkUpdateBookedScheduleRequest {
|
|
1884
1886
|
/**
|
|
1885
1887
|
* The bookings whose booked schedule is to be updated to the given schedule.
|
|
1886
1888
|
* @minSize 1
|
|
@@ -1894,15 +1896,15 @@ interface BulkUpdateBookedScheduleRequest {
|
|
|
1894
1896
|
*/
|
|
1895
1897
|
participantNotification?: ParticipantNotification;
|
|
1896
1898
|
}
|
|
1897
|
-
interface BookingDetails {
|
|
1899
|
+
export interface BookingDetails {
|
|
1898
1900
|
/**
|
|
1899
1901
|
* ID of the bookings to be updated.
|
|
1900
1902
|
* @format GUID
|
|
1901
1903
|
*/
|
|
1902
|
-
|
|
1904
|
+
id?: string;
|
|
1903
1905
|
revision?: string | null;
|
|
1904
1906
|
}
|
|
1905
|
-
interface BulkUpdateBookedScheduleResponse {
|
|
1907
|
+
export interface BulkUpdateBookedScheduleResponse {
|
|
1906
1908
|
/**
|
|
1907
1909
|
* Information about the schedule that was updated.
|
|
1908
1910
|
* Including its ID, index in the bulk request and whether it was
|
|
@@ -1912,11 +1914,11 @@ interface BulkUpdateBookedScheduleResponse {
|
|
|
1912
1914
|
/** Total number of successes and failures for Bulk Updated Booked Schedules. */
|
|
1913
1915
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1914
1916
|
}
|
|
1915
|
-
interface QueryBookingsRequest {
|
|
1917
|
+
export interface QueryBookingsRequest {
|
|
1916
1918
|
/** Information about filters, paging, and sorting. */
|
|
1917
1919
|
query?: QueryV2;
|
|
1918
1920
|
}
|
|
1919
|
-
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
1921
|
+
export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
1920
1922
|
/** Paging options to limit and skip the number of items. */
|
|
1921
1923
|
paging?: Paging;
|
|
1922
1924
|
/**
|
|
@@ -1946,7 +1948,7 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
1946
1948
|
fieldsets?: string[];
|
|
1947
1949
|
}
|
|
1948
1950
|
/** @oneof */
|
|
1949
|
-
interface QueryV2PagingMethodOneOf {
|
|
1951
|
+
export interface QueryV2PagingMethodOneOf {
|
|
1950
1952
|
/** Paging options to limit and skip the number of items. */
|
|
1951
1953
|
paging?: Paging;
|
|
1952
1954
|
/**
|
|
@@ -1957,7 +1959,7 @@ interface QueryV2PagingMethodOneOf {
|
|
|
1957
1959
|
*/
|
|
1958
1960
|
cursorPaging?: CursorPaging;
|
|
1959
1961
|
}
|
|
1960
|
-
interface Sorting {
|
|
1962
|
+
export interface Sorting {
|
|
1961
1963
|
/**
|
|
1962
1964
|
* Name of the field to sort by.
|
|
1963
1965
|
* @maxLength 512
|
|
@@ -1966,17 +1968,17 @@ interface Sorting {
|
|
|
1966
1968
|
/** Sort order. */
|
|
1967
1969
|
order?: SortOrder;
|
|
1968
1970
|
}
|
|
1969
|
-
declare enum SortOrder {
|
|
1971
|
+
export declare enum SortOrder {
|
|
1970
1972
|
ASC = "ASC",
|
|
1971
1973
|
DESC = "DESC"
|
|
1972
1974
|
}
|
|
1973
|
-
interface Paging {
|
|
1975
|
+
export interface Paging {
|
|
1974
1976
|
/** Number of items to load. */
|
|
1975
1977
|
limit?: number | null;
|
|
1976
1978
|
/** Number of items to skip in the current sort order. */
|
|
1977
1979
|
offset?: number | null;
|
|
1978
1980
|
}
|
|
1979
|
-
interface CursorPaging {
|
|
1981
|
+
export interface CursorPaging {
|
|
1980
1982
|
/**
|
|
1981
1983
|
* Maximum number of items to return in the results.
|
|
1982
1984
|
* @max 100
|
|
@@ -1991,13 +1993,13 @@ interface CursorPaging {
|
|
|
1991
1993
|
*/
|
|
1992
1994
|
cursor?: string | null;
|
|
1993
1995
|
}
|
|
1994
|
-
interface QueryBookingsResponse {
|
|
1996
|
+
export interface QueryBookingsResponse {
|
|
1995
1997
|
/** Retrieved bookings. */
|
|
1996
1998
|
bookings?: Booking[];
|
|
1997
1999
|
/** Paging metadata. */
|
|
1998
2000
|
pagingMetadata?: PagingMetadataV2;
|
|
1999
2001
|
}
|
|
2000
|
-
interface PagingMetadataV2 {
|
|
2002
|
+
export interface PagingMetadataV2 {
|
|
2001
2003
|
/** Number of items returned in the response. */
|
|
2002
2004
|
count?: number | null;
|
|
2003
2005
|
/** Offset that was requested. */
|
|
@@ -2009,7 +2011,7 @@ interface PagingMetadataV2 {
|
|
|
2009
2011
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
2010
2012
|
cursors?: Cursors;
|
|
2011
2013
|
}
|
|
2012
|
-
interface Cursors {
|
|
2014
|
+
export interface Cursors {
|
|
2013
2015
|
/**
|
|
2014
2016
|
* Cursor string pointing to the next page in the list of results.
|
|
2015
2017
|
* @maxLength 16000
|
|
@@ -2021,25 +2023,25 @@ interface Cursors {
|
|
|
2021
2023
|
*/
|
|
2022
2024
|
prev?: string | null;
|
|
2023
2025
|
}
|
|
2024
|
-
interface ConfirmRequest {
|
|
2026
|
+
export interface ConfirmRequest {
|
|
2025
2027
|
/**
|
|
2026
2028
|
* ID of the booking to confirm.
|
|
2027
2029
|
* @format GUID
|
|
2028
2030
|
*/
|
|
2029
|
-
|
|
2031
|
+
id?: string;
|
|
2030
2032
|
/**
|
|
2031
2033
|
* Information about whether to notify the customer about the confirmation and
|
|
2032
2034
|
* the message to send.
|
|
2033
2035
|
*/
|
|
2034
2036
|
participantNotification?: ParticipantNotification;
|
|
2035
2037
|
}
|
|
2036
|
-
interface ConfirmResponse {
|
|
2038
|
+
export interface ConfirmResponse {
|
|
2037
2039
|
/** Confirmed booking. */
|
|
2038
2040
|
booking?: Booking;
|
|
2039
2041
|
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
2040
2042
|
doubleBooked?: boolean | null;
|
|
2041
2043
|
}
|
|
2042
|
-
interface ConfirmBookingRequest {
|
|
2044
|
+
export interface ConfirmBookingRequest {
|
|
2043
2045
|
/**
|
|
2044
2046
|
* ID of the booking to confirm.
|
|
2045
2047
|
* @format GUID
|
|
@@ -2071,7 +2073,7 @@ interface ConfirmBookingRequest {
|
|
|
2071
2073
|
*/
|
|
2072
2074
|
flowControlSettings?: ConfirmBookingFlowControlSettings;
|
|
2073
2075
|
}
|
|
2074
|
-
interface ConfirmBookingFlowControlSettings {
|
|
2076
|
+
export interface ConfirmBookingFlowControlSettings {
|
|
2075
2077
|
/**
|
|
2076
2078
|
* Whether the availability is checked before confirming the booking.
|
|
2077
2079
|
*
|
|
@@ -2080,11 +2082,11 @@ interface ConfirmBookingFlowControlSettings {
|
|
|
2080
2082
|
*/
|
|
2081
2083
|
checkAvailabilityValidation?: boolean;
|
|
2082
2084
|
}
|
|
2083
|
-
interface ConfirmBookingResponse {
|
|
2085
|
+
export interface ConfirmBookingResponse {
|
|
2084
2086
|
/** Confirmed booking. */
|
|
2085
2087
|
booking?: Booking;
|
|
2086
2088
|
}
|
|
2087
|
-
interface BookingConfirmed {
|
|
2089
|
+
export interface BookingConfirmed {
|
|
2088
2090
|
/** The confirmed booking object. */
|
|
2089
2091
|
booking?: Booking;
|
|
2090
2092
|
/** Information about whether to notify the customer about the confirmation and the message to send. */
|
|
@@ -2103,30 +2105,30 @@ interface BookingConfirmed {
|
|
|
2103
2105
|
/** The previous payment status of the booking. */
|
|
2104
2106
|
previousPaymentStatus?: PaymentStatus;
|
|
2105
2107
|
}
|
|
2106
|
-
interface ConsistentQueryBookingsRequest {
|
|
2108
|
+
export interface ConsistentQueryBookingsRequest {
|
|
2107
2109
|
/** Information about filters, paging, and sorting. */
|
|
2108
2110
|
query?: QueryV2;
|
|
2109
2111
|
}
|
|
2110
|
-
interface ConsistentQueryBookingsResponse {
|
|
2112
|
+
export interface ConsistentQueryBookingsResponse {
|
|
2111
2113
|
/** Retrieved bookings. */
|
|
2112
2114
|
bookings?: Booking[];
|
|
2113
2115
|
/** Paging metadata. */
|
|
2114
2116
|
pagingMetadata?: PagingMetadataV2;
|
|
2115
2117
|
}
|
|
2116
|
-
interface SetBookingSessionIdRequest {
|
|
2118
|
+
export interface SetBookingSessionIdRequest {
|
|
2117
2119
|
/**
|
|
2118
2120
|
* ID of the booking to set `sessionId` for.
|
|
2119
2121
|
* @format GUID
|
|
2120
2122
|
*/
|
|
2121
|
-
|
|
2123
|
+
id?: string;
|
|
2122
2124
|
/** ID of the session to set on the booking. */
|
|
2123
2125
|
sessionId?: string;
|
|
2124
2126
|
}
|
|
2125
|
-
interface SetBookingSessionIdResponse {
|
|
2127
|
+
export interface SetBookingSessionIdResponse {
|
|
2126
2128
|
/** Updated booking. */
|
|
2127
2129
|
booking?: Booking;
|
|
2128
2130
|
}
|
|
2129
|
-
interface SetBookingSubmissionIdRequest {
|
|
2131
|
+
export interface SetBookingSubmissionIdRequest {
|
|
2130
2132
|
/**
|
|
2131
2133
|
* ID of the booking to set `submissionId` for.
|
|
2132
2134
|
* @format GUID
|
|
@@ -2138,19 +2140,19 @@ interface SetBookingSubmissionIdRequest {
|
|
|
2138
2140
|
*/
|
|
2139
2141
|
submissionId?: string;
|
|
2140
2142
|
}
|
|
2141
|
-
interface SetBookingSubmissionIdResponse {
|
|
2143
|
+
export interface SetBookingSubmissionIdResponse {
|
|
2142
2144
|
/** Updated booking. */
|
|
2143
2145
|
booking?: Booking;
|
|
2144
2146
|
}
|
|
2145
|
-
interface UpdateExtendedFieldsRequest {
|
|
2147
|
+
export interface UpdateExtendedFieldsRequest {
|
|
2146
2148
|
/** ID of the entity to update. */
|
|
2147
|
-
|
|
2149
|
+
id: string;
|
|
2148
2150
|
/** Identifier for the app whose extended fields are being updated. */
|
|
2149
2151
|
namespace: string;
|
|
2150
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. */
|
|
2151
2153
|
namespaceData: Record<string, any> | null;
|
|
2152
2154
|
}
|
|
2153
|
-
interface UpdateExtendedFieldsResponse {
|
|
2155
|
+
export interface UpdateExtendedFieldsResponse {
|
|
2154
2156
|
/**
|
|
2155
2157
|
* Updated namespace.
|
|
2156
2158
|
* @maxLength 164
|
|
@@ -2159,7 +2161,7 @@ interface UpdateExtendedFieldsResponse {
|
|
|
2159
2161
|
/** Updated data. */
|
|
2160
2162
|
namespaceData?: Record<string, any> | null;
|
|
2161
2163
|
}
|
|
2162
|
-
interface DeclineBookingRequest {
|
|
2164
|
+
export interface DeclineBookingRequest {
|
|
2163
2165
|
/**
|
|
2164
2166
|
* ID of the booking to decline.
|
|
2165
2167
|
* @format GUID
|
|
@@ -2188,7 +2190,7 @@ interface DeclineBookingRequest {
|
|
|
2188
2190
|
*/
|
|
2189
2191
|
flowControlSettings?: DeclineBookingFlowControlSettings;
|
|
2190
2192
|
}
|
|
2191
|
-
interface DeclineBookingFlowControlSettings {
|
|
2193
|
+
export interface DeclineBookingFlowControlSettings {
|
|
2192
2194
|
/**
|
|
2193
2195
|
* Whether to issue a refund when declining the booking.
|
|
2194
2196
|
*
|
|
@@ -2202,11 +2204,11 @@ interface DeclineBookingFlowControlSettings {
|
|
|
2202
2204
|
*/
|
|
2203
2205
|
withRefund?: boolean | null;
|
|
2204
2206
|
}
|
|
2205
|
-
interface DeclineBookingResponse {
|
|
2207
|
+
export interface DeclineBookingResponse {
|
|
2206
2208
|
/** Declined booking. */
|
|
2207
2209
|
booking?: Booking;
|
|
2208
2210
|
}
|
|
2209
|
-
interface BookingDeclined {
|
|
2211
|
+
export interface BookingDeclined {
|
|
2210
2212
|
/** The declined booking object. */
|
|
2211
2213
|
booking?: Booking;
|
|
2212
2214
|
/** Information about whether to notify the customer about the decline and the message to send. */
|
|
@@ -2225,7 +2227,7 @@ interface BookingDeclined {
|
|
|
2225
2227
|
*/
|
|
2226
2228
|
flowControlSettings?: DeclineBookingFlowControlSettings;
|
|
2227
2229
|
}
|
|
2228
|
-
interface CancelBookingRequest {
|
|
2230
|
+
export interface CancelBookingRequest {
|
|
2229
2231
|
/**
|
|
2230
2232
|
* ID of the booking to cancel.
|
|
2231
2233
|
* @format GUID
|
|
@@ -2250,7 +2252,7 @@ interface CancelBookingRequest {
|
|
|
2250
2252
|
*/
|
|
2251
2253
|
revision: string | null;
|
|
2252
2254
|
}
|
|
2253
|
-
interface CancelBookingFlowControlSettings {
|
|
2255
|
+
export interface CancelBookingFlowControlSettings {
|
|
2254
2256
|
/**
|
|
2255
2257
|
* Whether the cancellation policy applies when canceling the booking.
|
|
2256
2258
|
*
|
|
@@ -2271,11 +2273,11 @@ interface CancelBookingFlowControlSettings {
|
|
|
2271
2273
|
*/
|
|
2272
2274
|
withRefund?: boolean | null;
|
|
2273
2275
|
}
|
|
2274
|
-
interface CancelBookingResponse {
|
|
2276
|
+
export interface CancelBookingResponse {
|
|
2275
2277
|
/** Canceled booking. */
|
|
2276
2278
|
booking?: Booking;
|
|
2277
2279
|
}
|
|
2278
|
-
interface BookingCanceled {
|
|
2280
|
+
export interface BookingCanceled {
|
|
2279
2281
|
/** The canceled booking object. */
|
|
2280
2282
|
booking?: Booking;
|
|
2281
2283
|
/** Information about whether to notify the customer about the cancellation and the message to send. */
|
|
@@ -2292,7 +2294,7 @@ interface BookingCanceled {
|
|
|
2292
2294
|
/** The previous status of the booking. */
|
|
2293
2295
|
previousStatus?: BookingStatus;
|
|
2294
2296
|
}
|
|
2295
|
-
interface UpdateNumberOfParticipantsRequest extends UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
2297
|
+
export interface UpdateNumberOfParticipantsRequest extends UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
2296
2298
|
/**
|
|
2297
2299
|
* Total number of participants. Specify when all participants have booked the
|
|
2298
2300
|
* same service variant.
|
|
@@ -2317,7 +2319,7 @@ interface UpdateNumberOfParticipantsRequest extends UpdateNumberOfParticipantsRe
|
|
|
2317
2319
|
revision: string | null;
|
|
2318
2320
|
}
|
|
2319
2321
|
/** @oneof */
|
|
2320
|
-
interface UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
2322
|
+
export interface UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
2321
2323
|
/**
|
|
2322
2324
|
* Total number of participants. Specify when all participants have booked the
|
|
2323
2325
|
* same service variant.
|
|
@@ -2329,11 +2331,11 @@ interface UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
|
2329
2331
|
*/
|
|
2330
2332
|
participantsChoices?: ParticipantChoices;
|
|
2331
2333
|
}
|
|
2332
|
-
interface UpdateNumberOfParticipantsResponse {
|
|
2334
|
+
export interface UpdateNumberOfParticipantsResponse {
|
|
2333
2335
|
/** Updated booking. */
|
|
2334
2336
|
booking?: Booking;
|
|
2335
2337
|
}
|
|
2336
|
-
interface NumberOfParticipantsUpdated extends NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf {
|
|
2338
|
+
export interface NumberOfParticipantsUpdated extends NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf {
|
|
2337
2339
|
/**
|
|
2338
2340
|
* The previous total number of participants. Available only when the booking includes
|
|
2339
2341
|
* a single service variant.
|
|
@@ -2350,7 +2352,7 @@ interface NumberOfParticipantsUpdated extends NumberOfParticipantsUpdatedPreviou
|
|
|
2350
2352
|
initiatedBy?: IdentificationData;
|
|
2351
2353
|
}
|
|
2352
2354
|
/** @oneof */
|
|
2353
|
-
interface NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf {
|
|
2355
|
+
export interface NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf {
|
|
2354
2356
|
/**
|
|
2355
2357
|
* The previous total number of participants. Available only when the booking includes
|
|
2356
2358
|
* a single service variant.
|
|
@@ -2362,42 +2364,42 @@ interface NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf {
|
|
|
2362
2364
|
*/
|
|
2363
2365
|
previousParticipantsChoices?: ParticipantChoices;
|
|
2364
2366
|
}
|
|
2365
|
-
interface BulkCalculateAllowedActionsRequest {
|
|
2367
|
+
export interface BulkCalculateAllowedActionsRequest {
|
|
2366
2368
|
/**
|
|
2367
2369
|
* The booking IDs for which we want to calculate the allowed actions.
|
|
2368
2370
|
* @minSize 1
|
|
2369
2371
|
*/
|
|
2370
2372
|
bookingIds?: string[] | null;
|
|
2371
2373
|
}
|
|
2372
|
-
interface BulkCalculateAllowedActionsResponse {
|
|
2374
|
+
export interface BulkCalculateAllowedActionsResponse {
|
|
2373
2375
|
results?: BulkCalculateAllowedActionsResult[];
|
|
2374
2376
|
/** Total number of successes and failures for Bulk Calculate Allowed Actions. */
|
|
2375
2377
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2376
2378
|
}
|
|
2377
|
-
interface BulkCalculateAllowedActionsResult {
|
|
2379
|
+
export interface BulkCalculateAllowedActionsResult {
|
|
2378
2380
|
/** Metadata for the booking. Including ID, index in the provided sequence, success status, and error. */
|
|
2379
2381
|
itemMetadata?: ItemMetadata;
|
|
2380
2382
|
/** Booking entity. */
|
|
2381
2383
|
item?: AllowedActions;
|
|
2382
2384
|
}
|
|
2383
2385
|
/** Possible actions allowed for the booking. */
|
|
2384
|
-
interface AllowedActions {
|
|
2386
|
+
export interface AllowedActions {
|
|
2385
2387
|
/** Whether canceling the booking is allowed. */
|
|
2386
2388
|
cancel?: boolean;
|
|
2387
2389
|
/** Whether rescheduling the booking is allowed. */
|
|
2388
2390
|
reschedule?: boolean;
|
|
2389
2391
|
}
|
|
2390
|
-
interface GetSlotAvailabilityRequest {
|
|
2392
|
+
export interface GetSlotAvailabilityRequest {
|
|
2391
2393
|
/** The slot for which the availability is checked. */
|
|
2392
2394
|
slot?: V2Slot;
|
|
2393
2395
|
/** The timezone for which availability is to be calculated. */
|
|
2394
2396
|
timezone?: string | null;
|
|
2395
2397
|
}
|
|
2396
|
-
interface GetSlotAvailabilityResponse {
|
|
2398
|
+
export interface GetSlotAvailabilityResponse {
|
|
2397
2399
|
availability?: SlotAvailability;
|
|
2398
2400
|
bookingPolicySettings?: BookingPolicySettings;
|
|
2399
2401
|
}
|
|
2400
|
-
interface SlotAvailability {
|
|
2402
|
+
export interface SlotAvailability {
|
|
2401
2403
|
/** Identifier for the underlying session when the session is a single session or generated from a recurring session. Required. */
|
|
2402
2404
|
slot?: V2Slot;
|
|
2403
2405
|
/** Whether this available slot is bookable. */
|
|
@@ -2419,7 +2421,7 @@ interface SlotAvailability {
|
|
|
2419
2421
|
/** Indicates whether this slot is locked. */
|
|
2420
2422
|
locked?: boolean | null;
|
|
2421
2423
|
}
|
|
2422
|
-
interface WaitingList {
|
|
2424
|
+
export interface WaitingList {
|
|
2423
2425
|
/**
|
|
2424
2426
|
* Total number of spots and open spots for this waiting list.
|
|
2425
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.
|
|
@@ -2427,7 +2429,7 @@ interface WaitingList {
|
|
|
2427
2429
|
totalSpots?: number | null;
|
|
2428
2430
|
openSpots?: number | null;
|
|
2429
2431
|
}
|
|
2430
|
-
interface BookingPolicyViolations {
|
|
2432
|
+
export interface BookingPolicyViolations {
|
|
2431
2433
|
/** Booking policy violation: Too early to book this slot. */
|
|
2432
2434
|
tooEarlyToBook?: boolean | null;
|
|
2433
2435
|
/** Booking policy violation: Too late to book this slot. */
|
|
@@ -2435,11 +2437,11 @@ interface BookingPolicyViolations {
|
|
|
2435
2437
|
/** Booking policy violation: Online booking is disabled for this slot. */
|
|
2436
2438
|
bookOnlineDisabled?: boolean | null;
|
|
2437
2439
|
}
|
|
2438
|
-
interface BookingPolicySettings {
|
|
2440
|
+
export interface BookingPolicySettings {
|
|
2439
2441
|
/** Booking policy settings for a given slot or schedule. */
|
|
2440
2442
|
maxParticipantsPerBooking?: number | null;
|
|
2441
2443
|
}
|
|
2442
|
-
interface AvailableResources {
|
|
2444
|
+
export interface AvailableResources {
|
|
2443
2445
|
/**
|
|
2444
2446
|
* Resource type ID.
|
|
2445
2447
|
* @format GUID
|
|
@@ -2454,18 +2456,18 @@ interface AvailableResources {
|
|
|
2454
2456
|
*/
|
|
2455
2457
|
resourceIds?: string[];
|
|
2456
2458
|
}
|
|
2457
|
-
interface GetScheduleAvailabilityRequest {
|
|
2459
|
+
export interface GetScheduleAvailabilityRequest {
|
|
2458
2460
|
/**
|
|
2459
2461
|
* ID of the schedule for which to check availability.
|
|
2460
2462
|
* @format GUID
|
|
2461
2463
|
*/
|
|
2462
2464
|
scheduleId?: string;
|
|
2463
2465
|
}
|
|
2464
|
-
interface GetScheduleAvailabilityResponse {
|
|
2466
|
+
export interface GetScheduleAvailabilityResponse {
|
|
2465
2467
|
availability?: ScheduleAvailability;
|
|
2466
2468
|
bookingPolicySettings?: BookingPolicySettings;
|
|
2467
2469
|
}
|
|
2468
|
-
interface ScheduleAvailability {
|
|
2470
|
+
export interface ScheduleAvailability {
|
|
2469
2471
|
/** Total number of spots. */
|
|
2470
2472
|
totalSpots?: number | null;
|
|
2471
2473
|
/** Number of remaining open spots. */
|
|
@@ -2473,7 +2475,7 @@ interface ScheduleAvailability {
|
|
|
2473
2475
|
/** Indicators of booking policy violations for the specified schedule. */
|
|
2474
2476
|
bookingPolicyViolations?: BookingPolicyViolations;
|
|
2475
2477
|
}
|
|
2476
|
-
interface MarkBookingAsPendingRequest {
|
|
2478
|
+
export interface MarkBookingAsPendingRequest {
|
|
2477
2479
|
/**
|
|
2478
2480
|
* ID of the booking to mark as `PENDING`.
|
|
2479
2481
|
* @format GUID
|
|
@@ -2506,7 +2508,7 @@ interface MarkBookingAsPendingRequest {
|
|
|
2506
2508
|
*/
|
|
2507
2509
|
flowControlSettings?: MarkBookingAsPendingFlowControlSettings;
|
|
2508
2510
|
}
|
|
2509
|
-
interface MarkBookingAsPendingFlowControlSettings {
|
|
2511
|
+
export interface MarkBookingAsPendingFlowControlSettings {
|
|
2510
2512
|
/**
|
|
2511
2513
|
* Whether to check for double bookings before updating the booking as pending.
|
|
2512
2514
|
*
|
|
@@ -2522,11 +2524,11 @@ interface MarkBookingAsPendingFlowControlSettings {
|
|
|
2522
2524
|
*/
|
|
2523
2525
|
skipPendingApprovalServiceValidation?: boolean;
|
|
2524
2526
|
}
|
|
2525
|
-
interface MarkBookingAsPendingResponse {
|
|
2527
|
+
export interface MarkBookingAsPendingResponse {
|
|
2526
2528
|
/** Updated booking. */
|
|
2527
2529
|
booking?: Booking;
|
|
2528
2530
|
}
|
|
2529
|
-
interface BookingMarkedAsPending {
|
|
2531
|
+
export interface BookingMarkedAsPending {
|
|
2530
2532
|
/** The booking object that was marked as pending. */
|
|
2531
2533
|
booking?: Booking;
|
|
2532
2534
|
/** Information about whether to notify the customer upon manual confirmation of the pending booking and the message to send. */
|
|
@@ -2545,24 +2547,24 @@ interface BookingMarkedAsPending {
|
|
|
2545
2547
|
/** The previous payment status of the booking. */
|
|
2546
2548
|
previousPaymentStatus?: PaymentStatus;
|
|
2547
2549
|
}
|
|
2548
|
-
interface MigrationCheckIfClashesWithBlockedTimeRequest {
|
|
2550
|
+
export interface MigrationCheckIfClashesWithBlockedTimeRequest {
|
|
2549
2551
|
msidAndBookingIds?: MsidAndBookingId[];
|
|
2550
2552
|
}
|
|
2551
|
-
interface MsidAndBookingId {
|
|
2553
|
+
export interface MsidAndBookingId {
|
|
2552
2554
|
msid?: string;
|
|
2553
2555
|
bookingId?: string;
|
|
2554
2556
|
}
|
|
2555
|
-
interface MigrationCheckIfClashesWithBlockedTimeResponse {
|
|
2557
|
+
export interface MigrationCheckIfClashesWithBlockedTimeResponse {
|
|
2556
2558
|
clashes?: Clash[];
|
|
2557
2559
|
}
|
|
2558
|
-
interface Clash {
|
|
2560
|
+
export interface Clash {
|
|
2559
2561
|
msid?: string;
|
|
2560
2562
|
bookingId?: string;
|
|
2561
2563
|
sessionId?: string;
|
|
2562
2564
|
resourceName?: string;
|
|
2563
2565
|
contactName?: string;
|
|
2564
2566
|
}
|
|
2565
|
-
interface CountBookingsRequest {
|
|
2567
|
+
export interface CountBookingsRequest {
|
|
2566
2568
|
/**
|
|
2567
2569
|
* Filter object in the following format:
|
|
2568
2570
|
* `"filter" : {
|
|
@@ -2573,11 +2575,11 @@ interface CountBookingsRequest {
|
|
|
2573
2575
|
*/
|
|
2574
2576
|
filter?: Record<string, any> | null;
|
|
2575
2577
|
}
|
|
2576
|
-
interface CountBookingsResponse {
|
|
2578
|
+
export interface CountBookingsResponse {
|
|
2577
2579
|
/** Number of bookings matching the specified filter. */
|
|
2578
2580
|
count?: number;
|
|
2579
2581
|
}
|
|
2580
|
-
interface CreateMultiServiceBookingRequest {
|
|
2582
|
+
export interface CreateMultiServiceBookingRequest {
|
|
2581
2583
|
/**
|
|
2582
2584
|
* Single-service bookings to combine in a multi-service booking.
|
|
2583
2585
|
* @minSize 2
|
|
@@ -2606,23 +2608,23 @@ interface CreateMultiServiceBookingRequest {
|
|
|
2606
2608
|
/** Multi service booking type. */
|
|
2607
2609
|
multiServiceBookingType?: MultiServiceBookingType;
|
|
2608
2610
|
}
|
|
2609
|
-
interface CreateMultiServiceBookingResponse {
|
|
2611
|
+
export interface CreateMultiServiceBookingResponse {
|
|
2610
2612
|
/**
|
|
2611
2613
|
* Created multi service booking.
|
|
2612
2614
|
* Contains the booking results in the same order as specified in the request.
|
|
2613
2615
|
*/
|
|
2614
2616
|
multiServiceBooking?: MultiServiceBooking;
|
|
2615
2617
|
}
|
|
2616
|
-
interface MultiServiceBooking {
|
|
2618
|
+
export interface MultiServiceBooking {
|
|
2617
2619
|
/**
|
|
2618
2620
|
* Multi-service booking ID.
|
|
2619
2621
|
* @format GUID
|
|
2620
2622
|
*/
|
|
2621
|
-
|
|
2623
|
+
id?: string | null;
|
|
2622
2624
|
/** The created bookings that are part of the multi-service booking. */
|
|
2623
2625
|
bookings?: BookingResult[];
|
|
2624
2626
|
}
|
|
2625
|
-
interface BookingResult {
|
|
2627
|
+
export interface BookingResult {
|
|
2626
2628
|
/**
|
|
2627
2629
|
* Booking ID.
|
|
2628
2630
|
* @format GUID
|
|
@@ -2631,7 +2633,7 @@ interface BookingResult {
|
|
|
2631
2633
|
/** Booking entity. */
|
|
2632
2634
|
booking?: Booking;
|
|
2633
2635
|
}
|
|
2634
|
-
interface RescheduleMultiServiceBookingRequest {
|
|
2636
|
+
export interface RescheduleMultiServiceBookingRequest {
|
|
2635
2637
|
/**
|
|
2636
2638
|
* ID of the multi service booking to reschedule.
|
|
2637
2639
|
* @format GUID
|
|
@@ -2654,7 +2656,7 @@ interface RescheduleMultiServiceBookingRequest {
|
|
|
2654
2656
|
/** Whether to return the rescheduled bookings entities. */
|
|
2655
2657
|
returnFullEntity?: boolean;
|
|
2656
2658
|
}
|
|
2657
|
-
interface RescheduleBookingInfo extends RescheduleBookingInfoParticipantsInfoOneOf {
|
|
2659
|
+
export interface RescheduleBookingInfo extends RescheduleBookingInfoParticipantsInfoOneOf {
|
|
2658
2660
|
/**
|
|
2659
2661
|
* Total number of participants. Available only for services with variants.
|
|
2660
2662
|
* Specify when all participants book the same variant.
|
|
@@ -2681,7 +2683,7 @@ interface RescheduleBookingInfo extends RescheduleBookingInfoParticipantsInfoOne
|
|
|
2681
2683
|
revision?: string | null;
|
|
2682
2684
|
}
|
|
2683
2685
|
/** @oneof */
|
|
2684
|
-
interface RescheduleBookingInfoParticipantsInfoOneOf {
|
|
2686
|
+
export interface RescheduleBookingInfoParticipantsInfoOneOf {
|
|
2685
2687
|
/**
|
|
2686
2688
|
* Total number of participants. Available only for services with variants.
|
|
2687
2689
|
* Specify when all participants book the same variant.
|
|
@@ -2694,18 +2696,18 @@ interface RescheduleBookingInfoParticipantsInfoOneOf {
|
|
|
2694
2696
|
*/
|
|
2695
2697
|
participantsChoices?: ParticipantChoices;
|
|
2696
2698
|
}
|
|
2697
|
-
interface RescheduleMultiServiceBookingResponse {
|
|
2699
|
+
export interface RescheduleMultiServiceBookingResponse {
|
|
2698
2700
|
/** Rescheduled multi-service booking. */
|
|
2699
2701
|
multiServiceBooking?: MultiServiceBooking;
|
|
2700
2702
|
}
|
|
2701
|
-
interface GetMultiServiceBookingAvailabilityRequest {
|
|
2703
|
+
export interface GetMultiServiceBookingAvailabilityRequest {
|
|
2702
2704
|
/**
|
|
2703
2705
|
* ID of the multi-service booking to retrieve.
|
|
2704
2706
|
* @format GUID
|
|
2705
2707
|
*/
|
|
2706
2708
|
multiServiceBookingId: string | null;
|
|
2707
2709
|
}
|
|
2708
|
-
interface GetMultiServiceBookingAvailabilityResponse {
|
|
2710
|
+
export interface GetMultiServiceBookingAvailabilityResponse {
|
|
2709
2711
|
/** Whether all contained single-service bookings are bookable. */
|
|
2710
2712
|
bookable?: boolean;
|
|
2711
2713
|
/** Total number of spots. */
|
|
@@ -2719,14 +2721,14 @@ interface GetMultiServiceBookingAvailabilityResponse {
|
|
|
2719
2721
|
/** Info of the bookings this availability was calculated for. */
|
|
2720
2722
|
multiServiceBookingInfo?: GetMultiServiceBookingAvailabilityResponseBookingInfo[];
|
|
2721
2723
|
}
|
|
2722
|
-
interface GetMultiServiceBookingAvailabilityResponseBookingInfo {
|
|
2724
|
+
export interface GetMultiServiceBookingAvailabilityResponseBookingInfo {
|
|
2723
2725
|
/**
|
|
2724
2726
|
* Booking ID.
|
|
2725
2727
|
* @format GUID
|
|
2726
2728
|
*/
|
|
2727
2729
|
bookingId?: string | null;
|
|
2728
2730
|
}
|
|
2729
|
-
interface CancelMultiServiceBookingRequest {
|
|
2731
|
+
export interface CancelMultiServiceBookingRequest {
|
|
2730
2732
|
/**
|
|
2731
2733
|
* ID of the multi-service booking to cancel.
|
|
2732
2734
|
* @format GUID
|
|
@@ -2747,11 +2749,11 @@ interface CancelMultiServiceBookingRequest {
|
|
|
2747
2749
|
/** Whether to return the canceled single-service bookings. */
|
|
2748
2750
|
returnFullEntity?: boolean;
|
|
2749
2751
|
}
|
|
2750
|
-
interface CancelMultiServiceBookingResponse {
|
|
2752
|
+
export interface CancelMultiServiceBookingResponse {
|
|
2751
2753
|
/** Canceled multi-service booking. */
|
|
2752
2754
|
multiServiceBooking?: MultiServiceBooking;
|
|
2753
2755
|
}
|
|
2754
|
-
interface MarkMultiServiceBookingAsPendingRequest {
|
|
2756
|
+
export interface MarkMultiServiceBookingAsPendingRequest {
|
|
2755
2757
|
/**
|
|
2756
2758
|
* ID of the multi-service booking to mark as `PENDING`.
|
|
2757
2759
|
* @format GUID
|
|
@@ -2782,7 +2784,7 @@ interface MarkMultiServiceBookingAsPendingRequest {
|
|
|
2782
2784
|
*/
|
|
2783
2785
|
flowControlSettings?: MarkBookingAsPendingFlowControlSettings;
|
|
2784
2786
|
}
|
|
2785
|
-
interface BookingInfo {
|
|
2787
|
+
export interface BookingInfo {
|
|
2786
2788
|
/**
|
|
2787
2789
|
* ID of the single-service booking.
|
|
2788
2790
|
* @format GUID
|
|
@@ -2797,11 +2799,11 @@ interface BookingInfo {
|
|
|
2797
2799
|
/** Payment status to set for the single-service booking. */
|
|
2798
2800
|
paymentStatus?: PaymentStatus;
|
|
2799
2801
|
}
|
|
2800
|
-
interface MarkMultiServiceBookingAsPendingResponse {
|
|
2802
|
+
export interface MarkMultiServiceBookingAsPendingResponse {
|
|
2801
2803
|
/** Updated multi-service booking. */
|
|
2802
2804
|
multiServiceBooking?: MultiServiceBooking;
|
|
2803
2805
|
}
|
|
2804
|
-
interface ConfirmMultiServiceBookingRequest {
|
|
2806
|
+
export interface ConfirmMultiServiceBookingRequest {
|
|
2805
2807
|
/**
|
|
2806
2808
|
* ID of the multi-service booking to confirm its related bookings.
|
|
2807
2809
|
* @format GUID
|
|
@@ -2832,11 +2834,11 @@ interface ConfirmMultiServiceBookingRequest {
|
|
|
2832
2834
|
*/
|
|
2833
2835
|
flowControlSettings?: ConfirmBookingFlowControlSettings;
|
|
2834
2836
|
}
|
|
2835
|
-
interface ConfirmMultiServiceBookingResponse {
|
|
2837
|
+
export interface ConfirmMultiServiceBookingResponse {
|
|
2836
2838
|
/** Confirmed multi service booking. */
|
|
2837
2839
|
multiServiceBooking?: MultiServiceBooking;
|
|
2838
2840
|
}
|
|
2839
|
-
interface DeclineMultiServiceBookingRequest {
|
|
2841
|
+
export interface DeclineMultiServiceBookingRequest {
|
|
2840
2842
|
/**
|
|
2841
2843
|
* ID of the multi service booking to decline.
|
|
2842
2844
|
* @format GUID
|
|
@@ -2859,11 +2861,11 @@ interface DeclineMultiServiceBookingRequest {
|
|
|
2859
2861
|
*/
|
|
2860
2862
|
flowControlSettings?: DeclineBookingFlowControlSettings;
|
|
2861
2863
|
}
|
|
2862
|
-
interface DeclineMultiServiceBookingResponse {
|
|
2864
|
+
export interface DeclineMultiServiceBookingResponse {
|
|
2863
2865
|
/** Declined multi-service booking. */
|
|
2864
2866
|
multiServiceBooking?: MultiServiceBooking;
|
|
2865
2867
|
}
|
|
2866
|
-
interface BulkGetMultiServiceBookingAllowedActionsRequest {
|
|
2868
|
+
export interface BulkGetMultiServiceBookingAllowedActionsRequest {
|
|
2867
2869
|
/**
|
|
2868
2870
|
* IDs of the multi-service bookings to retrieve allowed actions for.
|
|
2869
2871
|
* @format GUID
|
|
@@ -2872,7 +2874,7 @@ interface BulkGetMultiServiceBookingAllowedActionsRequest {
|
|
|
2872
2874
|
*/
|
|
2873
2875
|
multiServiceBookingIds: string[] | null;
|
|
2874
2876
|
}
|
|
2875
|
-
interface BulkGetMultiServiceBookingAllowedActionsResponse {
|
|
2877
|
+
export interface BulkGetMultiServiceBookingAllowedActionsResponse {
|
|
2876
2878
|
/**
|
|
2877
2879
|
* Information about the multi-service bookings that were retrieved.
|
|
2878
2880
|
* Including their ID, index in the bulk request and whether they were
|
|
@@ -2882,20 +2884,20 @@ interface BulkGetMultiServiceBookingAllowedActionsResponse {
|
|
|
2882
2884
|
/** Total number of successes and failures for Bulk Update Bookings. */
|
|
2883
2885
|
bulkActionMetadata?: BulkActionMetadata;
|
|
2884
2886
|
}
|
|
2885
|
-
interface GetMultiServiceBookingRequest {
|
|
2887
|
+
export interface GetMultiServiceBookingRequest {
|
|
2886
2888
|
/**
|
|
2887
2889
|
* ID of the multi-service booking.
|
|
2888
2890
|
* @format GUID
|
|
2889
2891
|
*/
|
|
2890
2892
|
multiServiceBookingId: string | null;
|
|
2891
2893
|
}
|
|
2892
|
-
interface GetMultiServiceBookingResponse {
|
|
2894
|
+
export interface GetMultiServiceBookingResponse {
|
|
2893
2895
|
/** Retrieved multi-service booking. */
|
|
2894
2896
|
multiServiceBooking?: MultiServiceBooking;
|
|
2895
2897
|
/** Details about how many single-service bookings belong to the multi-service booking. */
|
|
2896
2898
|
metadata?: MultiServiceBookingMetadata;
|
|
2897
2899
|
}
|
|
2898
|
-
interface MultiServiceBookingMetadata {
|
|
2900
|
+
export interface MultiServiceBookingMetadata {
|
|
2899
2901
|
/**
|
|
2900
2902
|
* Total number of `CONFIRMED` and `PENDING` single-service bookings belonging
|
|
2901
2903
|
* to the multi-service booking. The total includes the number of single-service
|
|
@@ -2903,7 +2905,7 @@ interface MultiServiceBookingMetadata {
|
|
|
2903
2905
|
*/
|
|
2904
2906
|
totalNumberOfScheduledBookings?: number | null;
|
|
2905
2907
|
}
|
|
2906
|
-
interface AddBookingsToMultiServiceBookingRequest {
|
|
2908
|
+
export interface AddBookingsToMultiServiceBookingRequest {
|
|
2907
2909
|
/**
|
|
2908
2910
|
* ID of the multi-service booking.
|
|
2909
2911
|
* @format GUID
|
|
@@ -2917,7 +2919,7 @@ interface AddBookingsToMultiServiceBookingRequest {
|
|
|
2917
2919
|
/** Whether to return the single-service bookings that were added to the multi-service booking. */
|
|
2918
2920
|
returnFullEntity?: boolean;
|
|
2919
2921
|
}
|
|
2920
|
-
interface BookingIdAndRevision {
|
|
2922
|
+
export interface BookingIdAndRevision {
|
|
2921
2923
|
/**
|
|
2922
2924
|
* ID of the booking.
|
|
2923
2925
|
* @format GUID
|
|
@@ -2930,11 +2932,11 @@ interface BookingIdAndRevision {
|
|
|
2930
2932
|
*/
|
|
2931
2933
|
revision?: string | null;
|
|
2932
2934
|
}
|
|
2933
|
-
interface AddBookingsToMultiServiceBookingResponse {
|
|
2935
|
+
export interface AddBookingsToMultiServiceBookingResponse {
|
|
2934
2936
|
/** Single-service bookings that were added to the multi-service booking. */
|
|
2935
2937
|
bookings?: BookingResult[];
|
|
2936
2938
|
}
|
|
2937
|
-
interface RemoveBookingsFromMultiServiceBookingRequest {
|
|
2939
|
+
export interface RemoveBookingsFromMultiServiceBookingRequest {
|
|
2938
2940
|
/**
|
|
2939
2941
|
* ID of the multi-service booking.
|
|
2940
2942
|
* @format GUID
|
|
@@ -2948,403 +2950,7 @@ interface RemoveBookingsFromMultiServiceBookingRequest {
|
|
|
2948
2950
|
/** Whether to return the single-service bookings. */
|
|
2949
2951
|
returnFullEntity?: boolean;
|
|
2950
2952
|
}
|
|
2951
|
-
interface RemoveBookingsFromMultiServiceBookingResponse {
|
|
2953
|
+
export interface RemoveBookingsFromMultiServiceBookingResponse {
|
|
2952
2954
|
/** Single-service bookings that were removed from the multi-service booking. */
|
|
2953
2955
|
bookings?: BookingResult[];
|
|
2954
2956
|
}
|
|
2955
|
-
interface BaseEventMetadata {
|
|
2956
|
-
/**
|
|
2957
|
-
* App instance ID.
|
|
2958
|
-
* @format GUID
|
|
2959
|
-
*/
|
|
2960
|
-
instanceId?: string | null;
|
|
2961
|
-
/**
|
|
2962
|
-
* Event type.
|
|
2963
|
-
* @maxLength 150
|
|
2964
|
-
*/
|
|
2965
|
-
eventType?: string;
|
|
2966
|
-
/** The identification type and identity data. */
|
|
2967
|
-
identity?: WebhooksIdentificationData;
|
|
2968
|
-
}
|
|
2969
|
-
interface EventMetadata extends BaseEventMetadata {
|
|
2970
|
-
/**
|
|
2971
|
-
* Unique event ID.
|
|
2972
|
-
* Allows clients to ignore duplicate webhooks.
|
|
2973
|
-
*/
|
|
2974
|
-
_id?: string;
|
|
2975
|
-
/**
|
|
2976
|
-
* Assumes actions are also always typed to an entity_type
|
|
2977
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
2978
|
-
*/
|
|
2979
|
-
entityFqdn?: string;
|
|
2980
|
-
/**
|
|
2981
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
2982
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
2983
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
2984
|
-
*/
|
|
2985
|
-
slug?: string;
|
|
2986
|
-
/** ID of the entity associated with the event. */
|
|
2987
|
-
entityId?: string;
|
|
2988
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
2989
|
-
eventTime?: Date | null;
|
|
2990
|
-
/**
|
|
2991
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
2992
|
-
* (for example, GDPR).
|
|
2993
|
-
*/
|
|
2994
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
2995
|
-
/** If present, indicates the action that triggered the event. */
|
|
2996
|
-
originatedFrom?: string | null;
|
|
2997
|
-
/**
|
|
2998
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
2999
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
3000
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
3001
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
3002
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
3003
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
3004
|
-
*/
|
|
3005
|
-
entityEventSequence?: string | null;
|
|
3006
|
-
}
|
|
3007
|
-
interface BookingCanceledEnvelope {
|
|
3008
|
-
data: BookingCanceled;
|
|
3009
|
-
metadata: EventMetadata;
|
|
3010
|
-
}
|
|
3011
|
-
interface BookingConfirmedEnvelope {
|
|
3012
|
-
data: BookingConfirmed;
|
|
3013
|
-
metadata: EventMetadata;
|
|
3014
|
-
}
|
|
3015
|
-
interface BookingCreatedEnvelope {
|
|
3016
|
-
entity: Booking;
|
|
3017
|
-
metadata: EventMetadata;
|
|
3018
|
-
}
|
|
3019
|
-
interface BookingDeclinedEnvelope {
|
|
3020
|
-
data: BookingDeclined;
|
|
3021
|
-
metadata: EventMetadata;
|
|
3022
|
-
}
|
|
3023
|
-
interface BookingNumberOfParticipantsUpdatedEnvelope {
|
|
3024
|
-
data: NumberOfParticipantsUpdated;
|
|
3025
|
-
metadata: EventMetadata;
|
|
3026
|
-
}
|
|
3027
|
-
interface BookingRescheduledEnvelope {
|
|
3028
|
-
data: BookingRescheduled;
|
|
3029
|
-
metadata: EventMetadata;
|
|
3030
|
-
}
|
|
3031
|
-
interface BookingUpdatedEnvelope {
|
|
3032
|
-
entity: Booking;
|
|
3033
|
-
metadata: EventMetadata;
|
|
3034
|
-
}
|
|
3035
|
-
interface ConfirmOrDeclineBookingOptions {
|
|
3036
|
-
/**
|
|
3037
|
-
* Current payment status of the booking when using a custom checkout page and
|
|
3038
|
-
* not the *eCommerce checkout*
|
|
3039
|
-
* ([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)).
|
|
3040
|
-
*
|
|
3041
|
-
* The booking is declined if there is a double booking conflict and you provide
|
|
3042
|
-
* one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
|
|
3043
|
-
*/
|
|
3044
|
-
paymentStatus?: PaymentStatus;
|
|
3045
|
-
}
|
|
3046
|
-
interface BulkConfirmOrDeclineBookingOptions {
|
|
3047
|
-
/** Whether to return the confirmed or declined booking objects. */
|
|
3048
|
-
returnEntity?: boolean;
|
|
3049
|
-
}
|
|
3050
|
-
interface CreateBookingOptions {
|
|
3051
|
-
/**
|
|
3052
|
-
* Information about whether to notify the customer and
|
|
3053
|
-
* the message to send.
|
|
3054
|
-
*/
|
|
3055
|
-
participantNotification?: ParticipantNotification;
|
|
3056
|
-
/**
|
|
3057
|
-
* Whether to send an SMS reminder to the customer 24 hours before the
|
|
3058
|
-
* session starts. The phone number is taken from `contactDetails.phone`.
|
|
3059
|
-
* Default: `true`.
|
|
3060
|
-
*/
|
|
3061
|
-
sendSmsReminder?: boolean | null;
|
|
3062
|
-
/**
|
|
3063
|
-
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
3064
|
-
* For example, whether to check availability when creating a booking.
|
|
3065
|
-
*/
|
|
3066
|
-
flowControlSettings?: CreateBookingFlowControlSettings;
|
|
3067
|
-
}
|
|
3068
|
-
interface BulkCreateBookingOptions {
|
|
3069
|
-
/** Whether to return the created bookings. */
|
|
3070
|
-
returnFullEntity?: boolean;
|
|
3071
|
-
}
|
|
3072
|
-
interface RescheduleBookingOptions extends RescheduleBookingOptionsParticipantsInfoOneOf {
|
|
3073
|
-
/**
|
|
3074
|
-
* Revision number, which increments by 1 each time the booking is rescheduled.
|
|
3075
|
-
* To prevent conflicting changes, the current revision must be passed when
|
|
3076
|
-
* rescheduling the booking.
|
|
3077
|
-
*/
|
|
3078
|
-
revision: string | null;
|
|
3079
|
-
/**
|
|
3080
|
-
* Information about whether to notify the customer about the rescheduling and
|
|
3081
|
-
* the message to send.
|
|
3082
|
-
*/
|
|
3083
|
-
participantNotification?: ParticipantNotification;
|
|
3084
|
-
/**
|
|
3085
|
-
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
3086
|
-
* For example, whether to check availability when rescheduling a booking.
|
|
3087
|
-
*/
|
|
3088
|
-
flowControlSettings?: RescheduleBookingFlowControlSettings;
|
|
3089
|
-
/**
|
|
3090
|
-
* Total number of participants. Specify when all participants have booked the
|
|
3091
|
-
* same service variant.
|
|
3092
|
-
*/
|
|
3093
|
-
totalParticipants?: number;
|
|
3094
|
-
/**
|
|
3095
|
-
* Information about the service choices to book. Specify when not all
|
|
3096
|
-
* participants have booked the same service variant.
|
|
3097
|
-
*/
|
|
3098
|
-
participantsChoices?: ParticipantChoices;
|
|
3099
|
-
}
|
|
3100
|
-
/** @oneof */
|
|
3101
|
-
interface RescheduleBookingOptionsParticipantsInfoOneOf {
|
|
3102
|
-
/**
|
|
3103
|
-
* Total number of participants. Specify when all participants have booked the
|
|
3104
|
-
* same service variant.
|
|
3105
|
-
*/
|
|
3106
|
-
totalParticipants?: number;
|
|
3107
|
-
/**
|
|
3108
|
-
* Information about the service choices to book. Specify when not all
|
|
3109
|
-
* participants have booked the same service variant.
|
|
3110
|
-
*/
|
|
3111
|
-
participantsChoices?: ParticipantChoices;
|
|
3112
|
-
}
|
|
3113
|
-
interface ConfirmBookingOptions {
|
|
3114
|
-
/**
|
|
3115
|
-
* Information about whether to notify the customer about the confirmation and
|
|
3116
|
-
* the message to send.
|
|
3117
|
-
*/
|
|
3118
|
-
participantNotification?: ParticipantNotification;
|
|
3119
|
-
/**
|
|
3120
|
-
* Whether to send an SMS reminder to the customer 24 hours before the
|
|
3121
|
-
* session starts. The phone number is taken from `contactDetails.phone`.
|
|
3122
|
-
*/
|
|
3123
|
-
sendSmsReminder?: boolean | null;
|
|
3124
|
-
/** Payment status to set for the booking. */
|
|
3125
|
-
paymentStatus?: PaymentStatus;
|
|
3126
|
-
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
3127
|
-
doubleBooked?: boolean | null;
|
|
3128
|
-
/**
|
|
3129
|
-
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
3130
|
-
* For example, whether to check availability when confirming a booking.
|
|
3131
|
-
*/
|
|
3132
|
-
flowControlSettings?: ConfirmBookingFlowControlSettings;
|
|
3133
|
-
}
|
|
3134
|
-
interface UpdateExtendedFieldsOptions {
|
|
3135
|
-
/** 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. */
|
|
3136
|
-
namespaceData: Record<string, any> | null;
|
|
3137
|
-
}
|
|
3138
|
-
interface DeclineBookingOptions {
|
|
3139
|
-
/**
|
|
3140
|
-
* Information about whether to notify the customer and
|
|
3141
|
-
* the message to send.
|
|
3142
|
-
*/
|
|
3143
|
-
participantNotification?: ParticipantNotification;
|
|
3144
|
-
/** Payment status to set for the booking. */
|
|
3145
|
-
paymentStatus?: PaymentStatus;
|
|
3146
|
-
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
3147
|
-
doubleBooked?: boolean | null;
|
|
3148
|
-
/**
|
|
3149
|
-
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
3150
|
-
* For example, whether to refund a declined booking.
|
|
3151
|
-
*/
|
|
3152
|
-
flowControlSettings?: DeclineBookingFlowControlSettings;
|
|
3153
|
-
}
|
|
3154
|
-
interface CancelBookingOptions {
|
|
3155
|
-
/**
|
|
3156
|
-
* Information about whether to notify the customer about the cancellation and
|
|
3157
|
-
* the message to send.
|
|
3158
|
-
*/
|
|
3159
|
-
participantNotification?: ParticipantNotification;
|
|
3160
|
-
/**
|
|
3161
|
-
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
3162
|
-
* For example, whether to allow a cancellation even though the service's
|
|
3163
|
-
* policy doesn't allow it.
|
|
3164
|
-
*/
|
|
3165
|
-
flowControlSettings?: CancelBookingFlowControlSettings;
|
|
3166
|
-
/**
|
|
3167
|
-
* Revision number, which increments by 1 each time the booking is updated.
|
|
3168
|
-
*
|
|
3169
|
-
* To prevent conflicting changes, the current revision must be specified when
|
|
3170
|
-
* managing the booking.
|
|
3171
|
-
*/
|
|
3172
|
-
revision: string | null;
|
|
3173
|
-
}
|
|
3174
|
-
interface UpdateNumberOfParticipantsOptions extends UpdateNumberOfParticipantsOptionsParticipantsInfoOneOf {
|
|
3175
|
-
/**
|
|
3176
|
-
* Revision number, which increments by 1 each time the booking is updated.
|
|
3177
|
-
*
|
|
3178
|
-
* To prevent conflicting changes, the current revision must be specified
|
|
3179
|
-
* when updating the booking.
|
|
3180
|
-
*/
|
|
3181
|
-
revision: string | null;
|
|
3182
|
-
/**
|
|
3183
|
-
* Total number of participants. Specify when all participants have booked the
|
|
3184
|
-
* same service variant.
|
|
3185
|
-
*/
|
|
3186
|
-
totalParticipants?: number;
|
|
3187
|
-
/**
|
|
3188
|
-
* Information about the service choices the participants have booked. Specify
|
|
3189
|
-
* when not all participants have booked the same service variant.
|
|
3190
|
-
*/
|
|
3191
|
-
participantsChoices?: ParticipantChoices;
|
|
3192
|
-
}
|
|
3193
|
-
/** @oneof */
|
|
3194
|
-
interface UpdateNumberOfParticipantsOptionsParticipantsInfoOneOf {
|
|
3195
|
-
/**
|
|
3196
|
-
* Total number of participants. Specify when all participants have booked the
|
|
3197
|
-
* same service variant.
|
|
3198
|
-
*/
|
|
3199
|
-
totalParticipants?: number;
|
|
3200
|
-
/**
|
|
3201
|
-
* Information about the service choices the participants have booked. Specify
|
|
3202
|
-
* when not all participants have booked the same service variant.
|
|
3203
|
-
*/
|
|
3204
|
-
participantsChoices?: ParticipantChoices;
|
|
3205
|
-
}
|
|
3206
|
-
interface CreateMultiServiceBookingOptions {
|
|
3207
|
-
/**
|
|
3208
|
-
* Information about whether to notify the customer and
|
|
3209
|
-
* the message to send.
|
|
3210
|
-
*/
|
|
3211
|
-
participantNotification?: ParticipantNotification;
|
|
3212
|
-
/**
|
|
3213
|
-
* Whether to send an SMS reminder to the customer 24 hours before the
|
|
3214
|
-
* session starts. The phone number is taken from `contactDetails.phone`.
|
|
3215
|
-
*
|
|
3216
|
-
* Default: `true`
|
|
3217
|
-
*/
|
|
3218
|
-
sendSmsReminder?: boolean | null;
|
|
3219
|
-
/**
|
|
3220
|
-
* Whether to ignore specific standard procedures of the Wix Bookings flow.
|
|
3221
|
-
* For example, whether to check availability before updating the status.
|
|
3222
|
-
*/
|
|
3223
|
-
flowControlSettings?: CreateBookingFlowControlSettings;
|
|
3224
|
-
/** Whether to return the created single-service bookings. */
|
|
3225
|
-
returnFullEntity?: boolean;
|
|
3226
|
-
/** Multi service booking type. */
|
|
3227
|
-
multiServiceBookingType?: MultiServiceBookingType;
|
|
3228
|
-
}
|
|
3229
|
-
interface RescheduleMultiServiceBookingOptions {
|
|
3230
|
-
/**
|
|
3231
|
-
* Information about whether to notify the customer and
|
|
3232
|
-
* the message to send.
|
|
3233
|
-
*/
|
|
3234
|
-
participantNotification?: ParticipantNotification;
|
|
3235
|
-
/**
|
|
3236
|
-
* Information about whether specific procedures of the standard Wix Bookings
|
|
3237
|
-
* rescheduling flow are changed. For example, whether the availability of
|
|
3238
|
-
* the new slot is checked before rescheduling the booking or if you can
|
|
3239
|
-
* reschedule the booking even though the rescheduling policy doesn't allow it.
|
|
3240
|
-
*/
|
|
3241
|
-
flowControlSettings?: RescheduleBookingFlowControlSettings;
|
|
3242
|
-
/** Whether to return the rescheduled bookings entities. */
|
|
3243
|
-
returnFullEntity?: boolean;
|
|
3244
|
-
}
|
|
3245
|
-
interface CancelMultiServiceBookingOptions {
|
|
3246
|
-
/**
|
|
3247
|
-
* Information about whether to notify the customer and
|
|
3248
|
-
* the message to send.
|
|
3249
|
-
*/
|
|
3250
|
-
participantNotification?: ParticipantNotification;
|
|
3251
|
-
/**
|
|
3252
|
-
* Information about whether specific procedures of the standard Wix Bookings
|
|
3253
|
-
* cancellation flow are changed. For example, whether you can cancel
|
|
3254
|
-
* a booking even though the cancellation policy doesn't allow it or whether
|
|
3255
|
-
* to issue a refund.
|
|
3256
|
-
*/
|
|
3257
|
-
flowControlSettings?: CancelBookingFlowControlSettings;
|
|
3258
|
-
/** Whether to return the canceled single-service bookings. */
|
|
3259
|
-
returnFullEntity?: boolean;
|
|
3260
|
-
}
|
|
3261
|
-
interface MarkMultiServiceBookingAsPendingOptions {
|
|
3262
|
-
/** Information about the single-service bookings to mark as `PENDING`. */
|
|
3263
|
-
markAsPendingBookingsInfo?: BookingInfo[];
|
|
3264
|
-
/**
|
|
3265
|
-
* Information about whether to notify the customer and
|
|
3266
|
-
* the message to send.
|
|
3267
|
-
*/
|
|
3268
|
-
participantNotification?: ParticipantNotification;
|
|
3269
|
-
/**
|
|
3270
|
-
* Whether to send an SMS reminder to the customer 24 hours before the
|
|
3271
|
-
* session starts. The phone number is taken from `contactDetails.phone`.
|
|
3272
|
-
*
|
|
3273
|
-
* Default: `true`
|
|
3274
|
-
*/
|
|
3275
|
-
sendSmsReminder?: boolean | null;
|
|
3276
|
-
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
3277
|
-
doubleBooked?: boolean | null;
|
|
3278
|
-
/** Whether to return the single-service bookings that were marked as `PENDING`. */
|
|
3279
|
-
returnFullEntity?: boolean;
|
|
3280
|
-
/**
|
|
3281
|
-
* Information about whether specific procedures of the standard Wix Bookings
|
|
3282
|
-
* creation flow are changed. For example, whether the availability is checked
|
|
3283
|
-
* before updating the booking.
|
|
3284
|
-
*/
|
|
3285
|
-
flowControlSettings?: MarkBookingAsPendingFlowControlSettings;
|
|
3286
|
-
}
|
|
3287
|
-
interface ConfirmMultiServiceBookingOptions {
|
|
3288
|
-
/** Information about the single-service bookings to confirm. */
|
|
3289
|
-
confirmBookingsInfo?: BookingInfo[];
|
|
3290
|
-
/**
|
|
3291
|
-
* Information about whether to notify the customer and
|
|
3292
|
-
* the message to send.
|
|
3293
|
-
*/
|
|
3294
|
-
participantNotification?: ParticipantNotification;
|
|
3295
|
-
/**
|
|
3296
|
-
* Whether to send an SMS reminder to the customer 24 hours before the
|
|
3297
|
-
* session starts. The phone number is taken from `contactDetails.phone`.
|
|
3298
|
-
*
|
|
3299
|
-
* Default: `true`
|
|
3300
|
-
*/
|
|
3301
|
-
sendSmsReminder?: boolean | null;
|
|
3302
|
-
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
3303
|
-
doubleBooked?: boolean | null;
|
|
3304
|
-
/** Whether to return the confirmed single-service bookings. */
|
|
3305
|
-
returnFullEntity?: boolean;
|
|
3306
|
-
/**
|
|
3307
|
-
* Information about whether specific procedures of the standard Wix Bookings
|
|
3308
|
-
* confirmation flow are changed. For example, whether the availability is
|
|
3309
|
-
* checked before confirming the booking.
|
|
3310
|
-
*/
|
|
3311
|
-
flowControlSettings?: ConfirmBookingFlowControlSettings;
|
|
3312
|
-
}
|
|
3313
|
-
interface DeclineMultiServiceBookingOptions {
|
|
3314
|
-
/** Information about the single-service bookings to decline. */
|
|
3315
|
-
declineBookingsInfo?: BookingInfo[];
|
|
3316
|
-
/**
|
|
3317
|
-
* Information about whether to notify the customer and
|
|
3318
|
-
* the message to send.
|
|
3319
|
-
*/
|
|
3320
|
-
participantNotification?: ParticipantNotification;
|
|
3321
|
-
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
3322
|
-
doubleBooked?: boolean | null;
|
|
3323
|
-
/** Whether to return the declined single-service bookings. */
|
|
3324
|
-
returnFullEntity?: boolean;
|
|
3325
|
-
/**
|
|
3326
|
-
* Information about whether specific procedures of the standard Wix Bookings
|
|
3327
|
-
* declining flow are changed. For example, whether to issue a refund.
|
|
3328
|
-
*/
|
|
3329
|
-
flowControlSettings?: DeclineBookingFlowControlSettings;
|
|
3330
|
-
}
|
|
3331
|
-
interface AddBookingsToMultiServiceBookingOptions {
|
|
3332
|
-
/**
|
|
3333
|
-
* List of single-service booking IDs and their revision.
|
|
3334
|
-
* @maxSize 8
|
|
3335
|
-
*/
|
|
3336
|
-
bookings: BookingIdAndRevision[];
|
|
3337
|
-
/** Whether to return the single-service bookings that were added to the multi-service booking. */
|
|
3338
|
-
returnFullEntity?: boolean;
|
|
3339
|
-
}
|
|
3340
|
-
interface RemoveBookingsFromMultiServiceBookingOptions {
|
|
3341
|
-
/**
|
|
3342
|
-
* List of single-service booking IDs and their revision.
|
|
3343
|
-
* @maxSize 8
|
|
3344
|
-
*/
|
|
3345
|
-
bookings?: BookingIdAndRevision[];
|
|
3346
|
-
/** Whether to return the single-service bookings. */
|
|
3347
|
-
returnFullEntity?: boolean;
|
|
3348
|
-
}
|
|
3349
|
-
|
|
3350
|
-
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 V2UpdateNumberOfParticipantsRequest 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 DomainEventBodyOneOf as aA, type EntityCreatedEvent as aB, type RestoreInfo as aC, type EntityUpdatedEvent as aD, type EntityDeletedEvent as aE, type ActionEvent as aF, type MessageEnvelope as aG, type WebhooksIdentificationData as aH, type WebhooksIdentificationDataIdOneOf as aI, type V2CreateBookingRequest as aJ, type V2CreateBookingRequestBookableItemOneOf as aK, type V2CreateBookingRequestParticipantsInfoOneOf as aL, type Slot as aM, type SlotResource as aN, type CreateBookingRequestFlowControlSettings as aO, type V2CreateBookingResponse as aP, type V2CancelBookingRequest as aQ, type CancelBookingRequestFlowControlSettings as aR, type V2CancelBookingResponse as aS, type V2RescheduleBookingRequest as aT, type V2RescheduleBookingRequestParticipantsInfoOneOf as aU, type RescheduleBookingRequestFlowControlSettings as aV, type V2RescheduleBookingResponse as aW, type V2ConfirmBookingRequest as aX, type V2ConfirmBookingResponse as aY, type V2DeclineBookingRequest as aZ, type V2DeclineBookingResponse 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 BookedAddOnAddOnInfoOneOf as au, type BookingFormFilled as av, type SetBookingFormAndSubmissionIdRequest as aw, type SetBookingFormAndSubmissionIdRequestCreatedByOneOf as ax, type SetBookingFormAndSubmissionIdResponse as ay, type DomainEvent as az, type BulkConfirmOrDeclineBookingOptions as b, type UpdateNumberOfParticipantsRequestParticipantsInfoOneOf as b$, type V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf as b0, type V2UpdateNumberOfParticipantsResponse as b1, type ConfirmOrDeclineBookingRequest as b2, type BulkConfirmOrDeclineBookingRequest as b3, type BulkBookingResult as b4, type ItemMetadata as b5, type ApplicationError as b6, type BulkActionMetadata as b7, type BookingChanged as b8, type CreateBookingRequest as b9, type QueryV2 as bA, type QueryV2PagingMethodOneOf as bB, type Sorting as bC, type Paging as bD, type CursorPaging as bE, type QueryBookingsResponse as bF, type PagingMetadataV2 as bG, type Cursors as bH, type ConfirmRequest as bI, type ConfirmResponse as bJ, type ConfirmBookingRequest as bK, type ConfirmBookingFlowControlSettings as bL, type BookingConfirmed as bM, type ConsistentQueryBookingsRequest as bN, type ConsistentQueryBookingsResponse as bO, type SetBookingSessionIdRequest as bP, type SetBookingSessionIdResponse as bQ, type SetBookingSubmissionIdRequest as bR, type SetBookingSubmissionIdResponse as bS, type UpdateExtendedFieldsRequest as bT, type DeclineBookingRequest as bU, type DeclineBookingFlowControlSettings as bV, type BookingDeclined as bW, type CancelBookingRequest as bX, type CancelBookingFlowControlSettings as bY, type BookingCanceled as bZ, type UpdateNumberOfParticipantsRequest as b_, type CreateBookingFlowControlSettings as ba, type UpdateBookingRequest as bb, type UpdateBookingResponse as bc, type LegacyCreateBookingRequest as bd, type LegacyCreateBookingResponse as be, type BulkUpdateBookingRequest as bf, type MaskedBooking as bg, type BulkUpdateBookingResponse as bh, type BulkCreateBookingRequest as bi, type RescheduleBookingRequest as bj, type RescheduleBookingRequestParticipantsInfoOneOf as bk, type SlotSlotResource as bl, type SlotLocation as bm, type RescheduleBookingFlowControlSettings as bn, type BookingRescheduled as bo, type BookingRescheduledPreviousParticipantsInfoOneOf as bp, type IdentificationData as bq, type IdentificationDataIdOneOf as br, type BulkRescheduleBookingRequest as bs, type BulkRescheduleBookingRequestBooking as bt, type SlotBookings as bu, type BulkRescheduleBookingResponse as bv, type BulkUpdateBookedScheduleRequest as bw, type BookingDetails as bx, type BulkUpdateBookedScheduleResponse as by, type QueryBookingsRequest as bz, type BulkConfirmOrDeclineBookingResponse as c, type NumberOfParticipantsUpdated as c0, type NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf as c1, type BulkCalculateAllowedActionsRequest as c2, type BulkCalculateAllowedActionsResponse as c3, type BulkCalculateAllowedActionsResult as c4, type AllowedActions as c5, type GetSlotAvailabilityRequest as c6, type GetSlotAvailabilityResponse as c7, type SlotAvailability as c8, type WaitingList as c9, type DeclineMultiServiceBookingRequest as cA, type BulkGetMultiServiceBookingAllowedActionsRequest as cB, type GetMultiServiceBookingRequest as cC, type GetMultiServiceBookingResponse as cD, type MultiServiceBookingMetadata as cE, type AddBookingsToMultiServiceBookingRequest as cF, type BookingIdAndRevision as cG, type RemoveBookingsFromMultiServiceBookingRequest as cH, type BaseEventMetadata as cI, type EventMetadata as cJ, type BookingCanceledEnvelope as cK, type BookingConfirmedEnvelope as cL, type BookingCreatedEnvelope as cM, type BookingDeclinedEnvelope as cN, type BookingNumberOfParticipantsUpdatedEnvelope as cO, type BookingRescheduledEnvelope as cP, type BookingUpdatedEnvelope as cQ, type RescheduleBookingOptionsParticipantsInfoOneOf as cR, type UpdateNumberOfParticipantsOptionsParticipantsInfoOneOf as cS, type BookingPolicyViolations as ca, type BookingPolicySettings as cb, type AvailableResources as cc, type GetScheduleAvailabilityRequest as cd, type GetScheduleAvailabilityResponse as ce, type ScheduleAvailability as cf, type MarkBookingAsPendingRequest as cg, type MarkBookingAsPendingFlowControlSettings as ch, type MarkBookingAsPendingResponse as ci, type BookingMarkedAsPending as cj, type MigrationCheckIfClashesWithBlockedTimeRequest as ck, type MsidAndBookingId as cl, type MigrationCheckIfClashesWithBlockedTimeResponse as cm, type Clash as cn, type CountBookingsRequest as co, type CountBookingsResponse as cp, type CreateMultiServiceBookingRequest as cq, type BookingResult as cr, type RescheduleMultiServiceBookingRequest as cs, type RescheduleBookingInfoParticipantsInfoOneOf as ct, type GetMultiServiceBookingAvailabilityRequest as cu, type GetMultiServiceBookingAvailabilityResponseBookingInfo as cv, type CancelMultiServiceBookingRequest as cw, type MarkMultiServiceBookingAsPendingRequest as cx, type BookingInfo as cy, type ConfirmMultiServiceBookingRequest 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 };
|