@wix/bookings 1.0.63 → 1.0.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +2 -2
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/src/bookings-reader-v2-extended-booking.types.d.ts +27 -28
  5. package/build/cjs/src/bookings-reader-v2-extended-booking.types.js.map +1 -1
  6. package/build/cjs/src/bookings-reader-v2-extended-booking.universal.d.ts +27 -28
  7. package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
  8. package/build/cjs/src/bookings-services-v2-service.types.d.ts +10 -3
  9. package/build/cjs/src/bookings-services-v2-service.types.js.map +1 -1
  10. package/build/cjs/src/bookings-services-v2-service.universal.d.ts +9 -2
  11. package/build/cjs/src/bookings-services-v2-service.universal.js.map +1 -1
  12. package/build/cjs/src/bookings-v2-booking.http.d.ts +0 -1
  13. package/build/cjs/src/bookings-v2-booking.http.js +0 -1
  14. package/build/cjs/src/bookings-v2-booking.http.js.map +1 -1
  15. package/build/cjs/src/bookings-v2-booking.types.d.ts +27 -28
  16. package/build/cjs/src/bookings-v2-booking.types.js.map +1 -1
  17. package/build/cjs/src/bookings-v2-booking.universal.d.ts +11 -12
  18. package/build/cjs/src/bookings-v2-booking.universal.js +0 -1
  19. package/build/cjs/src/bookings-v2-booking.universal.js.map +1 -1
  20. package/build/cjs/src/bookings-v2-price-info.types.d.ts +27 -28
  21. package/build/cjs/src/bookings-v2-price-info.types.js.map +1 -1
  22. package/build/cjs/src/bookings-v2-price-info.universal.d.ts +27 -28
  23. package/build/cjs/src/bookings-v2-price-info.universal.js.map +1 -1
  24. package/build/es/index.d.ts +1 -1
  25. package/build/es/index.js +1 -1
  26. package/build/es/index.js.map +1 -1
  27. package/build/es/src/bookings-reader-v2-extended-booking.types.d.ts +27 -28
  28. package/build/es/src/bookings-reader-v2-extended-booking.types.js.map +1 -1
  29. package/build/es/src/bookings-reader-v2-extended-booking.universal.d.ts +27 -28
  30. package/build/es/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
  31. package/build/es/src/bookings-services-v2-service.types.d.ts +10 -3
  32. package/build/es/src/bookings-services-v2-service.types.js.map +1 -1
  33. package/build/es/src/bookings-services-v2-service.universal.d.ts +9 -2
  34. package/build/es/src/bookings-services-v2-service.universal.js.map +1 -1
  35. package/build/es/src/bookings-v2-booking.http.d.ts +0 -1
  36. package/build/es/src/bookings-v2-booking.http.js +0 -1
  37. package/build/es/src/bookings-v2-booking.http.js.map +1 -1
  38. package/build/es/src/bookings-v2-booking.types.d.ts +27 -28
  39. package/build/es/src/bookings-v2-booking.types.js.map +1 -1
  40. package/build/es/src/bookings-v2-booking.universal.d.ts +11 -12
  41. package/build/es/src/bookings-v2-booking.universal.js +0 -1
  42. package/build/es/src/bookings-v2-booking.universal.js.map +1 -1
  43. package/build/es/src/bookings-v2-price-info.types.d.ts +27 -28
  44. package/build/es/src/bookings-v2-price-info.types.js.map +1 -1
  45. package/build/es/src/bookings-v2-price-info.universal.d.ts +27 -28
  46. package/build/es/src/bookings-v2-price-info.universal.js.map +1 -1
  47. package/package.json +2 -2
@@ -1,4 +1,5 @@
1
1
  export * as sessionsFeed from './src/bookings-calendar-v2-session-feed-event.public';
2
+ export * as resources from './src/bookings-catalog-v1-resource.public';
2
3
  export * as availabilityCalendar from './src/bookings-availability-v1-slot-availability.public';
3
4
  export * as sessions from './src/bookings-calendar-v1-session.public';
4
5
  export * as sessionsView from './src/bookings-calendar-v2-session-view.public';
@@ -7,4 +8,3 @@ export * as extendedBookings from './src/bookings-reader-v2-extended-booking.pub
7
8
  export * as services from './src/bookings-services-v2-service.public';
8
9
  export * as bookings from './src/bookings-v2-booking.public';
9
10
  export * as bookingsPricing from './src/bookings-v2-price-info.public';
10
- export * as resources from './src/bookings-catalog-v1-resource.public';
@@ -19,8 +19,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
19
19
  return result;
20
20
  };
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
- exports.resources = exports.bookingsPricing = exports.bookings = exports.services = exports.extendedBookings = exports.serviceOptionsAndVariants = exports.sessionsView = exports.sessions = exports.availabilityCalendar = exports.sessionsFeed = void 0;
22
+ exports.bookingsPricing = exports.bookings = exports.services = exports.extendedBookings = exports.serviceOptionsAndVariants = exports.sessionsView = exports.sessions = exports.availabilityCalendar = exports.resources = exports.sessionsFeed = void 0;
23
23
  exports.sessionsFeed = __importStar(require("./src/bookings-calendar-v2-session-feed-event.public"));
24
+ exports.resources = __importStar(require("./src/bookings-catalog-v1-resource.public"));
24
25
  exports.availabilityCalendar = __importStar(require("./src/bookings-availability-v1-slot-availability.public"));
25
26
  exports.sessions = __importStar(require("./src/bookings-calendar-v1-session.public"));
26
27
  exports.sessionsView = __importStar(require("./src/bookings-calendar-v2-session-view.public"));
@@ -29,5 +30,4 @@ exports.extendedBookings = __importStar(require("./src/bookings-reader-v2-extend
29
30
  exports.services = __importStar(require("./src/bookings-services-v2-service.public"));
30
31
  exports.bookings = __importStar(require("./src/bookings-v2-booking.public"));
31
32
  exports.bookingsPricing = __importStar(require("./src/bookings-v2-price-info.public"));
32
- exports.resources = __importStar(require("./src/bookings-catalog-v1-resource.public"));
33
33
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,qGAAqF;AACrF,gHAAgG;AAChG,sFAAsE;AACtE,+FAA+E;AAC/E,2HAA2G;AAC3G,qGAAqF;AACrF,sFAAsE;AACtE,6EAA6D;AAC7D,uFAAuE;AACvE,uFAAuE"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,qGAAqF;AACrF,uFAAuE;AACvE,gHAAgG;AAChG,sFAAsE;AACtE,+FAA+E;AAC/E,2HAA2G;AAC3G,qGAAqF;AACrF,sFAAsE;AACtE,6EAA6D;AAC7D,uFAAuE"}
@@ -36,25 +36,24 @@ export interface Booking extends BookingParticipantsInfoOneOf {
36
36
  * One of:
37
37
  * - `"CREATED"` - The booking was created.
38
38
  * - `"UPDATED"` - The booking was updated.
39
- * - `"CONFIRMED"` - The booking has been confirmed and appears on the bookings calendar.
40
- * Booking can be manually confirmed using the Set As Confirmed endpoint.
41
- * Booking can be automatically confirmed when the following requirements are met:
39
+ * - `"CONFIRMED"` - The booking was confirmed and appears on the bookings calendar.
40
+ * A booking can be manually confirmed using the [`Confirm Or Decline API`](www.example.com).
41
+ * A booking can be automatically confirmed when the following requirements are met:
42
42
  * + The service is configured as automatically confirmed.
43
- * + Invoking eCommerce checkout API and an order has been created.
44
- * - `"CANCELED"` - The booking has been canceled and synced to bookings calendar.
45
- * The booking can be canceled using cancel API.
46
- * - `"PENDING"` - The booking waiting to be confirmed or declined buy the owner and is synced to bookings calendar.
47
- * Bookings can be manually set as pending using setAsPending API, requires manage booking status permissions.
48
- * Booking can be automatically set as pending when the following requirements are met:
49
- * + The Service is configured as manually confirmed.
43
+ * + The system invoked the eCommerce checkout API and created an order.
44
+ * - `"CANCELED"` - The booking has been canceled and synced to the bookings calendar.
45
+ * The booking can be canceled using [`Cancel Booking API`](www.example.com).
46
+ * - `"PENDING"` - The booking is waiting to be confirmed or declined by the owner and the booking is synced to the bookings calendar.
47
+ * Bookings can be manually set as `PENDING` using the [`setAsPending` API](www.example.com), by those with Manage Booking Status permissions scopes.
48
+ * Bookings can be automatically set as `PENDING` when the following requirements are met:
49
+ * + The service is configured as manually confirmed.
50
50
  * + Invoking the eCommerce checkout API and an order has been created.
51
- * - `"WAITING_LIST"` - The booking is pending on a waiting list.
52
- * Booking can be created with this status when invoking waiting list join API.
53
- * - `"DECLINED"` - The booking was declined by the owner and synced to bookings calendar.
54
- * Booking can be manually declined using decline API and requires manage booking permissions.
55
- * Booking can be automatically declined when the following requirements are met:
56
- * + Invoking eCommerce checkout API and the order declined event has been sent.
57
- * + Invoking eCommerce checkout API and order approved event has been sent, but the booking is offline and the booking causes a double booking.
51
+ * - `"WAITING_LIST"` - The booking is on a waiting list.
52
+ * - `"DECLINED"` - The booking was declined by the owner and synced to the Bookings calendar.
53
+ * Bookings can be manually declined using the [`Decline Booking` API](www.example.com) by those with Manage Booking Status permissions scopes.
54
+ * Booking can be automatically declined when one of the following requirements are met:
55
+ * + Invoking the `eCommerce checkout` API and the order declined event has been sent.
56
+ * + Invoking the `eCommerce checkout` API and order approved event has been sent, but the booking is offline and the booking causes a double booking.
58
57
  */
59
58
  status?: BookingStatus;
60
59
  /**
@@ -80,21 +79,21 @@ export interface Booking extends BookingParticipantsInfoOneOf {
80
79
  createdDate?: Date;
81
80
  /** External ID provided by the client app on creation. */
82
81
  externalUserId?: string | null;
83
- /** Revision number to be used when updating, rescheduling, or cancelling the booking. The revision number is automatically incremented when the booing is updated. */
82
+ /** Revision number to be used when updating, rescheduling, or cancelling the booking. Revision number, which increments by 1 each time the booking is updated, rescheduled, or canceled. To prevent conflicting changes,the current revision must be passed when updating the booking. */
84
83
  revision?: string | null;
85
84
  /**
86
- * ID of the creator of the Booking
85
+ * ID of the creator of the Booking.
87
86
  * If `appId` and another ID are present, the other ID takes precedence.
88
87
  * @readonly
89
88
  */
90
89
  createdBy?: IdentificationData;
91
90
  /**
92
- * The start date of this booking. For a slot, this is the start date of the slot. For a schedule, the start date of the first session.
91
+ * The start date of this booking. For a slot, this is the start date of the slot. For a schedule, this is the start date of the first session.
93
92
  * @readonly
94
93
  */
95
94
  startDate?: Date;
96
95
  /**
97
- * The end date of this booking. For a slot, this is the end date of the slot. For a schedule, the end date of the last session.
96
+ * The end date of this booking. For a slot, this is the end date of the slot. For a schedule, this is the end date of the last session.
98
97
  * @readonly
99
98
  */
100
99
  endDate?: Date;
@@ -110,7 +109,7 @@ export interface Booking extends BookingParticipantsInfoOneOf {
110
109
  */
111
110
  extendedFields?: ExtendedFields;
112
111
  /**
113
- * Indicating if this booking overlaps another existing confirmed booking
112
+ * Whether this booking overlaps another existing confirmed booking. Returned when: `true`
114
113
  * @readonly
115
114
  */
116
115
  doubleBooked?: boolean | null;
@@ -143,14 +142,14 @@ export interface BookedEntity extends BookedEntityItemOneOf {
143
142
  * + "COURSE" Courses.
144
143
  */
145
144
  tags?: string[] | null;
146
- /** The booked slot, which once booked becomes a session. The booking is automatically assigned to the session if given, or a session is be created if one doesn't already exist. */
145
+ /** The booked slot, once booked becomes a session, The booking is automatically assigned to the session if it already exists, or creates a session if one doesn't already exist. */
147
146
  slot?: BookedSlot;
148
147
  /** The booked schedule. The booking is automatically assigned to the schedule's sessions. */
149
148
  schedule?: BookedSchedule;
150
149
  }
151
150
  /** @oneof */
152
151
  export interface BookedEntityItemOneOf {
153
- /** The booked slot, which once booked becomes a session. The booking is automatically assigned to the session if given, or a session is be created if one doesn't already exist. */
152
+ /** The booked slot, once booked becomes a session, The booking is automatically assigned to the session if it already exists, or creates a session if one doesn't already exist. */
154
153
  slot?: BookedSlot;
155
154
  /** The booked schedule. The booking is automatically assigned to the schedule's sessions. */
156
155
  schedule?: BookedSchedule;
@@ -158,7 +157,7 @@ export interface BookedEntityItemOneOf {
158
157
  export interface BookedSlot {
159
158
  /**
160
159
  * ID of the underlying session when session is a single session or generated from a recurring session.
161
- * If `sessionId` is defined in the Create Booking request, the `startDate`, `endDate`, timezone, resource, and location fields from the request are ignored and populated from the session's information.
160
+ * If `sessionId` is defined in the `Create Booking` request, the `startDate`, `endDate`, `timezone`, `resource`, and `location` fields are ignored and populated from the existing session's information.
162
161
  */
163
162
  sessionId?: string | null;
164
163
  /** Service ID. */
@@ -177,7 +176,7 @@ export interface BookedSlot {
177
176
  endDate?: string | null;
178
177
  /** The timezone according to which the slot was shown to the user when booking, and should be shown in future. */
179
178
  timezone?: string | null;
180
- /** The resource used on the slot. */
179
+ /** The resource assigned to the slot. */
181
180
  resource?: BookedResource;
182
181
  /** Location where the slot's session takes place. */
183
182
  location?: Location;
@@ -189,7 +188,7 @@ export interface BookedResource {
189
188
  name?: string | null;
190
189
  /** Resource's email at the time of booking. */
191
190
  email?: string | null;
192
- /** Resources schedule ID. */
191
+ /** Resource's schedule ID. */
193
192
  scheduleId?: string | null;
194
193
  }
195
194
  export interface Location {
@@ -220,7 +219,7 @@ export declare enum LocationType {
220
219
  export interface BookedSchedule {
221
220
  /** Schedule ID. */
222
221
  scheduleId?: string;
223
- /** ID of the booked service. */
222
+ /** Booked service ID. */
224
223
  serviceId?: string | null;
225
224
  /**
226
225
  * Location where the schedule's sessions take place. Read only.
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-reader-v2-extended-booking.types.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.types.ts"],"names":[],"mappings":";;;AAgBA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AA0MD,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AA+HD,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,kDAAkD;IAClD,sCAAyB,CAAA;IACzB,gBAAgB;IAChB,oCAAuB,CAAA;IACvB,qGAAqG;IACrG,oCAAuB,CAAA;AACzB,CAAC,EAPW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAOpB;AAED,sBAAsB;AACtB,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,oCAAmB,CAAA;IACnB,sCAAqB,CAAA;IACrB,8CAA6B,CAAA;AAC/B,CAAC,EAPW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAOxB;AAED;;;GAGG;AACH,IAAY,aAQX;AARD,WAAY,aAAa;IACvB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,8BAAa,CAAA;IACb,yBAAyB;IACzB,kDAAiC,CAAA;IACjC,wBAAwB;IACxB,sCAAqB,CAAA;AACvB,CAAC,EARW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAQxB;AAED;;;;;GAKG;AACH,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;IACjB,kDAAyB,CAAA;IACzB,oHAAoH;IACpH,kEAAyC,CAAA;AAC3C,CAAC,EAPW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAOhC;AAiCD,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,qDAAyC,CAAA;IACzC,uBAAW,CAAA;IACX,qCAAyB,CAAA;AAC3B,CAAC,EAJW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAInB;AAED,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4CAAmC,CAAA;IACnC,8BAAqB,CAAA;IACrB,8BAAqB,CAAA;AACvB,CAAC,EAJW,KAAK,GAAL,aAAK,KAAL,aAAK,QAIhB;AAyCD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uDAAuC,CAAA;IACvC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;AACb,CAAC,EANW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAMvB;AA4KD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
1
+ {"version":3,"file":"bookings-reader-v2-extended-booking.types.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended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AAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAOhC;AAiCD,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,qDAAyC,CAAA;IACzC,uBAAW,CAAA;IACX,qCAAyB,CAAA;AAC3B,CAAC,EAJW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAInB;AAED,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4CAAmC,CAAA;IACnC,8BAAqB,CAAA;IACrB,8BAAqB,CAAA;AACvB,CAAC,EAJW,KAAK,GAAL,aAAK,KAAL,aAAK,QAIhB;AAyCD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uDAAuC,CAAA;IACvC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;AACb,CAAC,EANW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAMvB;AA4KD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
@@ -42,25 +42,24 @@ export interface Booking extends BookingParticipantsInfoOneOf {
42
42
  * One of:
43
43
  * - `"CREATED"` - The booking was created.
44
44
  * - `"UPDATED"` - The booking was updated.
45
- * - `"CONFIRMED"` - The booking has been confirmed and appears on the bookings calendar.
46
- * Booking can be manually confirmed using the Set As Confirmed endpoint.
47
- * Booking can be automatically confirmed when the following requirements are met:
45
+ * - `"CONFIRMED"` - The booking was confirmed and appears on the bookings calendar.
46
+ * A booking can be manually confirmed using the [`Confirm Or Decline API`](www.example.com).
47
+ * A booking can be automatically confirmed when the following requirements are met:
48
48
  * + The service is configured as automatically confirmed.
49
- * + Invoking eCommerce checkout API and an order has been created.
50
- * - `"CANCELED"` - The booking has been canceled and synced to bookings calendar.
51
- * The booking can be canceled using cancel API.
52
- * - `"PENDING"` - The booking waiting to be confirmed or declined buy the owner and is synced to bookings calendar.
53
- * Bookings can be manually set as pending using setAsPending API, requires manage booking status permissions.
54
- * Booking can be automatically set as pending when the following requirements are met:
55
- * + The Service is configured as manually confirmed.
49
+ * + The system invoked the eCommerce checkout API and created an order.
50
+ * - `"CANCELED"` - The booking has been canceled and synced to the bookings calendar.
51
+ * The booking can be canceled using [`Cancel Booking API`](www.example.com).
52
+ * - `"PENDING"` - The booking is waiting to be confirmed or declined by the owner and the booking is synced to the bookings calendar.
53
+ * Bookings can be manually set as `PENDING` using the [`setAsPending` API](www.example.com), by those with Manage Booking Status permissions scopes.
54
+ * Bookings can be automatically set as `PENDING` when the following requirements are met:
55
+ * + The service is configured as manually confirmed.
56
56
  * + Invoking the eCommerce checkout API and an order has been created.
57
- * - `"WAITING_LIST"` - The booking is pending on a waiting list.
58
- * Booking can be created with this status when invoking waiting list join API.
59
- * - `"DECLINED"` - The booking was declined by the owner and synced to bookings calendar.
60
- * Booking can be manually declined using decline API and requires manage booking permissions.
61
- * Booking can be automatically declined when the following requirements are met:
62
- * + Invoking eCommerce checkout API and the order declined event has been sent.
63
- * + Invoking eCommerce checkout API and order approved event has been sent, but the booking is offline and the booking causes a double booking.
57
+ * - `"WAITING_LIST"` - The booking is on a waiting list.
58
+ * - `"DECLINED"` - The booking was declined by the owner and synced to the Bookings calendar.
59
+ * Bookings can be manually declined using the [`Decline Booking` API](www.example.com) by those with Manage Booking Status permissions scopes.
60
+ * Booking can be automatically declined when one of the following requirements are met:
61
+ * + Invoking the `eCommerce checkout` API and the order declined event has been sent.
62
+ * + Invoking the `eCommerce checkout` API and order approved event has been sent, but the booking is offline and the booking causes a double booking.
64
63
  */
65
64
  status?: BookingStatus;
66
65
  /**
@@ -86,21 +85,21 @@ export interface Booking extends BookingParticipantsInfoOneOf {
86
85
  _createdDate?: Date;
87
86
  /** External ID provided by the client app on creation. */
88
87
  externalUserId?: string | null;
89
- /** Revision number to be used when updating, rescheduling, or cancelling the booking. The revision number is automatically incremented when the booing is updated. */
88
+ /** Revision number to be used when updating, rescheduling, or cancelling the booking. Revision number, which increments by 1 each time the booking is updated, rescheduled, or canceled. To prevent conflicting changes,the current revision must be passed when updating the booking. */
90
89
  revision?: string | null;
91
90
  /**
92
- * ID of the creator of the Booking
91
+ * ID of the creator of the Booking.
93
92
  * If `appId` and another ID are present, the other ID takes precedence.
94
93
  * @readonly
95
94
  */
96
95
  createdBy?: IdentificationData;
97
96
  /**
98
- * The start date of this booking. For a slot, this is the start date of the slot. For a schedule, the start date of the first session.
97
+ * The start date of this booking. For a slot, this is the start date of the slot. For a schedule, this is the start date of the first session.
99
98
  * @readonly
100
99
  */
101
100
  startDate?: Date;
102
101
  /**
103
- * The end date of this booking. For a slot, this is the end date of the slot. For a schedule, the end date of the last session.
102
+ * The end date of this booking. For a slot, this is the end date of the slot. For a schedule, this is the end date of the last session.
104
103
  * @readonly
105
104
  */
106
105
  endDate?: Date;
@@ -116,7 +115,7 @@ export interface Booking extends BookingParticipantsInfoOneOf {
116
115
  */
117
116
  extendedFields?: ExtendedFields;
118
117
  /**
119
- * Indicating if this booking overlaps another existing confirmed booking
118
+ * Whether this booking overlaps another existing confirmed booking. Returned when: `true`
120
119
  * @readonly
121
120
  */
122
121
  doubleBooked?: boolean | null;
@@ -149,14 +148,14 @@ export interface BookedEntity extends BookedEntityItemOneOf {
149
148
  * + "COURSE" Courses.
150
149
  */
151
150
  tags?: string[] | null;
152
- /** The booked slot, which once booked becomes a session. The booking is automatically assigned to the session if given, or a session is be created if one doesn't already exist. */
151
+ /** The booked slot, once booked becomes a session, The booking is automatically assigned to the session if it already exists, or creates a session if one doesn't already exist. */
153
152
  slot?: BookedSlot;
154
153
  /** The booked schedule. The booking is automatically assigned to the schedule's sessions. */
155
154
  schedule?: BookedSchedule;
156
155
  }
157
156
  /** @oneof */
158
157
  export interface BookedEntityItemOneOf {
159
- /** The booked slot, which once booked becomes a session. The booking is automatically assigned to the session if given, or a session is be created if one doesn't already exist. */
158
+ /** The booked slot, once booked becomes a session, The booking is automatically assigned to the session if it already exists, or creates a session if one doesn't already exist. */
160
159
  slot?: BookedSlot;
161
160
  /** The booked schedule. The booking is automatically assigned to the schedule's sessions. */
162
161
  schedule?: BookedSchedule;
@@ -164,7 +163,7 @@ export interface BookedEntityItemOneOf {
164
163
  export interface BookedSlot {
165
164
  /**
166
165
  * ID of the underlying session when session is a single session or generated from a recurring session.
167
- * If `sessionId` is defined in the Create Booking request, the `startDate`, `endDate`, timezone, resource, and location fields from the request are ignored and populated from the session's information.
166
+ * If `sessionId` is defined in the `Create Booking` request, the `startDate`, `endDate`, `timezone`, `resource`, and `location` fields are ignored and populated from the existing session's information.
168
167
  */
169
168
  sessionId?: string | null;
170
169
  /** Service ID. */
@@ -183,7 +182,7 @@ export interface BookedSlot {
183
182
  endDate?: string | null;
184
183
  /** The timezone according to which the slot was shown to the user when booking, and should be shown in future. */
185
184
  timezone?: string | null;
186
- /** The resource used on the slot. */
185
+ /** The resource assigned to the slot. */
187
186
  resource?: BookedResource;
188
187
  /** Location where the slot's session takes place. */
189
188
  location?: Location;
@@ -195,7 +194,7 @@ export interface BookedResource {
195
194
  name?: string | null;
196
195
  /** Resource's email at the time of booking. */
197
196
  email?: string | null;
198
- /** Resources schedule ID. */
197
+ /** Resource's schedule ID. */
199
198
  scheduleId?: string | null;
200
199
  }
201
200
  export interface Location {
@@ -226,7 +225,7 @@ export declare enum LocationType {
226
225
  export interface BookedSchedule {
227
226
  /** Schedule ID. */
228
227
  scheduleId?: string;
229
- /** ID of the booked service. */
228
+ /** Booked service ID. */
230
229
  serviceId?: string | null;
231
230
  /**
232
231
  * Location where the schedule's sessions take place. Read only.
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-reader-v2-extended-booking.universal.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,yHAA2G;AAE3G,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAA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WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,OAAO;gBACP,SAAS;aACV,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AA3DD,sDA2DC"}
1
+ {"version":3,"file":"bookings-reader-v2-extended-booking.universal.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,yHAA2G;AAE3G,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAkB5B,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAyMD,IAAY,YAKX;AALD,W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E;YACd,kBAAkB,EAAE;gBAClB,KAAK,EAAE,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC;gBACtC,cAAc,EAAE,aAAa;aAC9B;YACD,oBAAoB,EAAE,sBAAsB;SAC7C,CAAC,CAAC;QAEH,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;QAEtD,MAAM,OAAO,GACX,4CAA4C,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;QAE9E,KAAK,CAAC,iDAAiD,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAE7E,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;QAC5B,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,OAAO;gBACP,SAAS;aACV,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AA3DD,sDA2DC"}
@@ -153,7 +153,7 @@ export interface Form {
153
153
  /**
154
154
  * ID of the form associated with the service.
155
155
  * The form information that is submitted when booking includes contact details, participants, and other form fields set up for the service.
156
- * You can manage the service booking form fields using the [Bookings Forms API](https://dev.wix.com/api/rest/wix-bookings/services/form/form-object).
156
+ * You can manage the service booking form fields using the [Bookings Forms API](https://dev.wix.com/api/rest/wix-bookings/services-v2/form/form-object).
157
157
  */
158
158
  id?: string;
159
159
  }
@@ -807,7 +807,7 @@ export interface GetServiceResponse {
807
807
  service?: Service;
808
808
  }
809
809
  export interface UpdateServiceRequest {
810
- /** Service to update. [Partial updates](https:\\example.com) are supported. */
810
+ /** Service to update. [Partial updates](https://dev.wix.com/api/rest/wix-bookings/bookings/patch-endpoints-and-field-masks-in-update-requests) are supported. */
811
811
  service?: Service;
812
812
  /** Explicit list of fields to update. */
813
813
  mask?: string[];
@@ -831,16 +831,23 @@ export interface QueryServicesRequest {
831
831
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
832
832
  /**
833
833
  * Filter object in the following format:
834
+ *
834
835
  * `"filter" : {
835
836
  * "fieldName1": "value1",
836
837
  * "fieldName2":{"$operator":"value2"}
837
838
  * }`
839
+ *
838
840
  * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
841
+ *
842
+ * Read more about [supported fields and operators](https://dev.wix.com/api/rest/wix-bookings/services-v2/filtering-and-sorting).
839
843
  */
840
844
  filter?: Record<string, any> | null;
841
845
  /**
842
846
  * Sort object in the following format:
843
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
847
+ * `[ {"fieldName":"sortField1","order":"ASC"},
848
+ * {"fieldName":"sortField2","order":"DESC"} ]`
849
+ *
850
+ * Read more about [sorting](https://dev.wix.com/api/rest/wix-bookings/services-v2/filtering-and-sorting#wix-bookings_services-v2_filtering-and-sorting_sorting).
844
851
  */
845
852
  sort?: Sorting[];
846
853
  /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-services-v2-service.types.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.types.ts"],"names":[],"mappings":";;;AAsFA,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;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EAA6E;IAC7E,+DAA2C,CAAA;AAC7C,CAAC,EARW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAQ3B"}
1
+ {"version":3,"file":"bookings-services-v2-service.types.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.types.ts"],"names":[],"mappings":";;;AAsFA,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;IAC3B,8BAA8B;IAC9B,8BAAe,CAAA;IACf,+BAA+B;IAC/B,gCAAiB,CAAA;AACnB,CAAC,EARW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAQtB;AA2ID,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,qCAAqC;IACrC,2BAAe,CAAA;IACf,wEAAwE;IACxE,6BAAiB,CAAA;IACjB,uFAAuF;IACvF,6BAAiB,CAAA;IACjB,8CAA8C;IAC9C,6BAAiB,CAAA;AACnB,CAAC,EAVW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAUnB;AA0HD,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,+DAA+C,CAAA;IAC/C,iQAAiQ;IACjQ,iCAAiB,CAAA;IACjB,6JAA6J;IAC7J,qCAAqB,CAAA;IACrB,8IAA8I;IAC9I,qCAAqB,CAAA;AACvB,CAAC,EARW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAQvB;AA2iBD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AAqFD,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,2BAA2B;IAC3B,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,GAAN,cAAM,KAAN,cAAM,QAKjB;AAED,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;AACrB,CAAC,EAJW,KAAK,GAAL,aAAK,KAAL,aAAK,QAIhB;AA4LD,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,6DAAyC,CAAA;IACzC,gFAAgF;IAChF,yDAAqC,CAAA;IACrC,0DAA0D;IAC1D,uFAAmE,CAAA;IACnE,6EAA6E;IAC7E,+DAA2C,CAAA;AAC7C,CAAC,EARW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAQ3B"}
@@ -781,7 +781,7 @@ export interface GetServiceResponse {
781
781
  service?: Service;
782
782
  }
783
783
  export interface UpdateServiceRequest {
784
- /** Service to update. [Partial updates](https:\\example.com) are supported. */
784
+ /** Service to update. [Partial updates](https://dev.wix.com/api/rest/wix-bookings/bookings/patch-endpoints-and-field-masks-in-update-requests) are supported. */
785
785
  service?: Service;
786
786
  /** Explicit list of fields to update. */
787
787
  mask?: string[];
@@ -805,16 +805,23 @@ export interface QueryServicesRequest {
805
805
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
806
806
  /**
807
807
  * Filter object in the following format:
808
+ *
808
809
  * `"filter" : {
809
810
  * "fieldName1": "value1",
810
811
  * "fieldName2":{"$operator":"value2"}
811
812
  * }`
813
+ *
812
814
  * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
815
+ *
816
+ * Read more about [supported fields and operators](https://dev.wix.com/api/rest/wix-bookings/services-v2/filtering-and-sorting).
813
817
  */
814
818
  filter?: Record<string, any> | null;
815
819
  /**
816
820
  * Sort object in the following format:
817
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
821
+ * `[ {"fieldName":"sortField1","order":"ASC"},
822
+ * {"fieldName":"sortField2","order":"DESC"} ]`
823
+ *
824
+ * Read more about [sorting](https://dev.wix.com/api/rest/wix-bookings/services-v2/filtering-and-sorting#wix-bookings_services-v2_filtering-and-sorting_sorting).
818
825
  */
819
826
  sort?: Sorting[];
820
827
  /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-services-v2-service.universal.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,4GAA8F;AAC9F,aAAa;AACb,4FAA6E;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAwF5B,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;IAC3B,8BAA8B;IAC9B,8BAAe,CAAA;IACf,+BAA+B;IAC/B,gCAAiB,CAAA;AACnB,CAAC,EARW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAQtB;AAkHD,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,qCAAqC;IACrC,2BAAe,CAAA;IACf,wEAAwE;IACxE,6BAAiB,CAAA;IACjB,uFAAuF;IACvF,6BAAiB,CAAA;IACjB,8CAA8C;IAC9C,6BAAi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AC;aACX;QACH,CAAC,CAAA;QACD,kBAAkB,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;QACjE,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,IAAA,4CAAqC,EAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC;AAlED,sCAkEC"}
1
+ {"version":3,"file":"bookings-services-v2-service.universal.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,4GAA8F;AAC9F,aAAa;AACb,4FAA6E;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAwF5B,IAAY,WAQX;AARD,WAAY,W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CAAvB,WAAW,CAAgB,CAAC;YAC5B,IAAI;gBACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;gBACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;gBACjC,OAAO,MAAM,CAAC;aACf;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;gBAC5B,MAAM,GAAG,CAAC;aACX;QACH,CAAC,CAAA;QACD,kBAAkB,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;QACjE,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,IAAA,4CAAqC,EAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC;AAlED,sCAkEC"}
@@ -185,7 +185,6 @@ export declare function bookingsUpdateNumberOfParticipants(payload: UpdateNumber
185
185
  *
186
186
  * Bookings are confirmed or denied based on their status. The booking status is determined according to the following criteria:
187
187
  * + **Whether confirmation is required for the booking**. You can bypass the confirmation check by setting the `skipBusinessConfirmation` property to `true` when [creating a booking](https://example.com).
188
- * + **Whether double bookings are allowed**. You can allow [double bookings](https://example.com) by setting the `doubleBooking` property to `true`.
189
188
  * + **Whether the booking is paid for**, either totally or partially. If a payment is received, even a partial payment, the `paymentStatus` property is set to `true`. If the payment status is `PAID` or `PARTIALLY_PAID`, the booking is confirmed regardless of the `doubleBooking` parameter.
190
189
  *
191
190
  *
@@ -410,7 +410,6 @@ exports.bookingsUpdateNumberOfParticipants = bookingsUpdateNumberOfParticipants;
410
410
  *
411
411
  * Bookings are confirmed or denied based on their status. The booking status is determined according to the following criteria:
412
412
  * + **Whether confirmation is required for the booking**. You can bypass the confirmation check by setting the `skipBusinessConfirmation` property to `true` when [creating a booking](https://example.com).
413
- * + **Whether double bookings are allowed**. You can allow [double bookings](https://example.com) by setting the `doubleBooking` property to `true`.
414
413
  * + **Whether the booking is paid for**, either totally or partially. If a payment is received, even a partial payment, the `paymentStatus` property is set to `true`. If the payment status is `PAID` or `PARTIALLY_PAID`, the booking is confirmed regardless of the `doubleBooking` parameter.
415
414
  *
416
415
  *
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-v2-booking.http.js","sourceRoot":"","sources":["../../../src/bookings-v2-booking.http.ts"],"names":[],"mappings":";;;AAAA,8DAA2D;AAC3D,sDAAgD;AAoBhD,MAAM,QAAQ,GAAG,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AACjD,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,6BAA6B;IACvC,SAAS,EAAE,6BAA6B;CACzC,CAAC;AACF,MAAM,QAAQ,GAAG;IACf,WAAW,EAAE,2BAA2B;IACxC,SAAS,EAAE,2BAA2B;IACtC,OAAO,EAAE,2BAA2B;IACpC,WAAW,EAAE,2BAA2B;IACxC,cAAc,EAAE,iBAAiB;CAClC,CAAC;AACF,MAAM,qBAAqB,GAAG,EAAE,CAAC;AACjC,MAAM,sBAAsB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACvD,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAClC,MAAM,uBAAuB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACxD,MAAM,+BAA+B,GAAG,EAAE,CAAC;AAC3C,MAAM,gCAAgC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