@wix/bookings 1.0.102 → 1.0.104

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.http.d.ts +9 -14
  5. package/build/cjs/src/bookings-reader-v2-extended-booking.http.js +9 -14
  6. package/build/cjs/src/bookings-reader-v2-extended-booking.http.js.map +1 -1
  7. package/build/cjs/src/bookings-reader-v2-extended-booking.types.d.ts +2 -2
  8. package/build/cjs/src/bookings-reader-v2-extended-booking.universal.d.ts +24 -39
  9. package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js +11 -16
  10. package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
  11. package/build/cjs/src/bookings-services-v2-service.http.js +4 -0
  12. package/build/cjs/src/bookings-services-v2-service.http.js.map +1 -1
  13. package/build/cjs/src/bookings-v2-booking.types.d.ts +2 -2
  14. package/build/cjs/src/bookings-v2-booking.universal.d.ts +2 -2
  15. package/build/cjs/src/bookings-v2-price-info.http.js +3 -3
  16. package/build/cjs/src/bookings-v2-price-info.http.js.map +1 -1
  17. package/build/cjs/src/bookings-v2-price-info.public.d.ts +3 -3
  18. package/build/cjs/src/bookings-v2-price-info.public.js +1 -1
  19. package/build/cjs/src/bookings-v2-price-info.public.js.map +1 -1
  20. package/build/cjs/src/bookings-v2-price-info.types.d.ts +3 -3
  21. package/build/cjs/src/bookings-v2-price-info.universal.d.ts +32 -38
  22. package/build/cjs/src/bookings-v2-price-info.universal.js +6 -4
  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.http.d.ts +9 -14
  28. package/build/es/src/bookings-reader-v2-extended-booking.http.js +9 -14
  29. package/build/es/src/bookings-reader-v2-extended-booking.http.js.map +1 -1
  30. package/build/es/src/bookings-reader-v2-extended-booking.types.d.ts +2 -2
  31. package/build/es/src/bookings-reader-v2-extended-booking.universal.d.ts +24 -39
  32. package/build/es/src/bookings-reader-v2-extended-booking.universal.js +11 -16
  33. package/build/es/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
  34. package/build/es/src/bookings-services-v2-service.http.js +4 -0
  35. package/build/es/src/bookings-services-v2-service.http.js.map +1 -1
  36. package/build/es/src/bookings-v2-booking.types.d.ts +2 -2
  37. package/build/es/src/bookings-v2-booking.universal.d.ts +2 -2
  38. package/build/es/src/bookings-v2-price-info.http.js +3 -3
  39. package/build/es/src/bookings-v2-price-info.http.js.map +1 -1
  40. package/build/es/src/bookings-v2-price-info.public.d.ts +3 -3
  41. package/build/es/src/bookings-v2-price-info.public.js +1 -1
  42. package/build/es/src/bookings-v2-price-info.public.js.map +1 -1
  43. package/build/es/src/bookings-v2-price-info.types.d.ts +3 -3
  44. package/build/es/src/bookings-v2-price-info.universal.d.ts +32 -38
  45. package/build/es/src/bookings-v2-price-info.universal.js +6 -4
  46. package/build/es/src/bookings-v2-price-info.universal.js.map +1 -1
  47. package/package.json +2 -2
@@ -8,4 +8,4 @@ export * as serviceOptionsAndVariants from './src/bookings-catalog-v1-service-op
8
8
  export * as extendedBookings from './src/bookings-reader-v2-extended-booking.public';
9
9
  export * as services from './src/bookings-services-v2-service.public';
10
10
  export * as bookings from './src/bookings-v2-booking.public';
11
- export * as bookingsPricing from './src/bookings-v2-price-info.public';
11
+ export * as pricing from './src/bookings-v2-price-info.public';
@@ -19,7 +19,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
19
19
  return result;
20
20
  };
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
- exports.bookingsPricing = exports.bookings = exports.services = exports.extendedBookings = exports.serviceOptionsAndVariants = exports.sessionsView = exports.externalCalendars = exports.sessions = exports.availabilityCalendar = exports.resources = exports.sessionsFeed = void 0;
22
+ exports.pricing = exports.bookings = exports.services = exports.extendedBookings = exports.serviceOptionsAndVariants = exports.sessionsView = exports.externalCalendars = 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
24
  exports.resources = __importStar(require("./src/bookings-catalog-v1-resource.public"));
25
25
  exports.availabilityCalendar = __importStar(require("./src/bookings-availability-v1-slot-availability.public"));
@@ -30,5 +30,5 @@ exports.serviceOptionsAndVariants = __importStar(require("./src/bookings-catalog
30
30
  exports.extendedBookings = __importStar(require("./src/bookings-reader-v2-extended-booking.public"));
31
31
  exports.services = __importStar(require("./src/bookings-services-v2-service.public"));
32
32
  exports.bookings = __importStar(require("./src/bookings-v2-booking.public"));
33
- exports.bookingsPricing = __importStar(require("./src/bookings-v2-price-info.public"));
33
+ exports.pricing = __importStar(require("./src/bookings-v2-price-info.public"));
34
34
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,qGAAqF;AACrF,uFAAuE;AACvE,gHAAgG;AAChG,sFAAsE;AACtE,yGAAyF;AACzF,+FAA+E;AAC/E,2HAA2G;AAC3G,qGAAqF;AACrF,sFAAsE;AACtE,6EAA6D;AAC7D,uFAAuE"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,qGAAqF;AACrF,uFAAuE;AACvE,gHAAgG;AAChG,sFAAsE;AACtE,yGAAyF;AACzF,+FAA+E;AAC/E,2HAA2G;AAC3G,qGAAqF;AACrF,sFAAsE;AACtE,6EAA6D;AAC7D,+EAA+D"}
@@ -1,11 +1,11 @@
1
1
  import { RequestOptionsFactory } from '@wix/sdk-types';
2
2
  import { QueryExtendedBookingsRequest, QueryExtendedBookingsResponse } from './bookings-reader-v2-extended-booking.types';
3
3
  /**
4
- * Retrieves a list of bookings, given the provided paging, filtering, and sorting.
4
+ * Retrieves a list of bookings, including additional extended information, given the provided paging, filtering, and sorting.
5
5
  *
6
- * Up to 100 bookings can be returned per request.
6
+ * Up to 100 extended bookings can be returned per request.
7
7
  *
8
- * Query Extended Bookings runs with these defaults, which you can override:
8
+ * `queryExtendedBookings()` runs with these defaults, which you can override:
9
9
  *
10
10
  * - `createdDate` sorted in `DESC` order
11
11
  * - `cursorPaging.limit` is `50`
@@ -15,24 +15,19 @@ import { QueryExtendedBookingsRequest, QueryExtendedBookingsResponse } from './b
15
15
  * for the bookings. To do so, pass `withBookingAllowedActions` as `true`.
16
16
  *
17
17
  *
18
- * For field support see
19
- * [supported filters](https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/supported-filters)
18
+ * For field support, see
19
+ * [supported filters](https://www.wix.com/velo/reference/wix-bookings-v2/extendedbookings/supported-filters)
20
20
  * for more information.
21
21
  *
22
- * You can only specify a filter only once per query. If a filter is provided
23
- * more than once, only the first occurrence affects the returned bookings.
22
+ * You can specify a filter only once per query. If you specify a filter
23
+ * more than once, the first filter determines the extended bookings returns and the second filter is ignored.
24
24
  *
25
- * When using filters for dates, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
25
+ * When filtering by date, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
26
26
  *
27
27
  * Bookings that are part of a schedule don't have a `sessionId`. Therefore you
28
28
  * must use the `sessionId` filter that isn't part of the `query` object to
29
29
  * filter bookings for courses.
30
30
  *
31
- * To learn about working with _Query_ endpoints, see
32
- * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
33
- * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging),
34
- * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
35
- *
36
- * When calling Query Extended Bookings, the retrieved data may not contain your most recent changes.
31
+ * When calling `queryExtendedBookings()`, the retrieved data may not contain your most recent changes.
37
32
  */
38
33
  export declare function queryExtendedBookings(payload: QueryExtendedBookingsRequest): RequestOptionsFactory<QueryExtendedBookingsResponse>;
@@ -53,11 +53,11 @@ function resolveComWixpressBookingsReaderV2BookingsReaderUrl(opts) {
53
53
  return (0, metro_runtime_1.resolveUrl)(Object.assign(opts, { domainToMappings }));
54
54
  }
55
55
  /**
56
- * Retrieves a list of bookings, given the provided paging, filtering, and sorting.
56
+ * Retrieves a list of bookings, including additional extended information, given the provided paging, filtering, and sorting.
57
57
  *
58
- * Up to 100 bookings can be returned per request.
58
+ * Up to 100 extended bookings can be returned per request.
59
59
  *
60
- * Query Extended Bookings runs with these defaults, which you can override:
60
+ * `queryExtendedBookings()` runs with these defaults, which you can override:
61
61
  *
62
62
  * - `createdDate` sorted in `DESC` order
63
63
  * - `cursorPaging.limit` is `50`
@@ -67,25 +67,20 @@ function resolveComWixpressBookingsReaderV2BookingsReaderUrl(opts) {
67
67
  * for the bookings. To do so, pass `withBookingAllowedActions` as `true`.
68
68
  *
69
69
  *
70
- * For field support see
71
- * [supported filters](https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/supported-filters)
70
+ * For field support, see
71
+ * [supported filters](https://www.wix.com/velo/reference/wix-bookings-v2/extendedbookings/supported-filters)
72
72
  * for more information.
73
73
  *
74
- * You can only specify a filter only once per query. If a filter is provided
75
- * more than once, only the first occurrence affects the returned bookings.
74
+ * You can specify a filter only once per query. If you specify a filter
75
+ * more than once, the first filter determines the extended bookings returns and the second filter is ignored.
76
76
  *
77
- * When using filters for dates, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
77
+ * When filtering by date, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
78
78
  *
79
79
  * Bookings that are part of a schedule don't have a `sessionId`. Therefore you
80
80
  * must use the `sessionId` filter that isn't part of the `query` object to
81
81
  * filter bookings for courses.
82
82
  *
83
- * To learn about working with _Query_ endpoints, see
84
- * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
85
- * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging),
86
- * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
87
- *
88
- * When calling Query Extended Bookings, the retrieved data may not contain your most recent changes.
83
+ * When calling `queryExtendedBookings()`, the retrieved data may not contain your most recent changes.
89
84
  */
90
85
  function queryExtendedBookings(payload) {
91
86
  const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_queryExtendedBookingsRequest, {});
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-reader-v2-extended-booking.http.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.http.ts"],"names":[],"mappings":";;;AAAA,8DAA2D;AAC3D,sDAAgD;AAQhD,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,eAAe,GAAG,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC;AACpD,MAAM,gBAAgB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACjD,MAAM,6BAA6B,GAAG,EAAE,CAAC;AACzC,MAAM,8BAA8B,GAAG,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,CAAC;AAEhF,SAAS,mDAAmD,CAC1D,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,CAAC,EAAE;YACD;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,qBAAqB,EAAE;Y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CAAC;AACjC,CAAC;AAlCD,sDAkCC"}
1
+ {"version":3,"file":"bookings-reader-v2-extended-booking.http.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.http.ts"],"names":[],"mappings":";;;AAAA,8DAA2D;AAC3D,sDAAgD;AAQhD,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,eAAe,GAAG,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC;AACpD,MAAM,gBAAgB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACjD,MAAM,6BAA6B,GAAG,EAAE,CAAC;AACzC,MAAM,8BAA8B,GAAG,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,CAAC;AAEhF,SAAS,mDAAmD,CAC1D,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,CAAC,EAAE;YACD;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,qBAAqB,EAAE;YACrB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;YACD;gBACE,OAAO,EAAE,2BAA2B;gBACpC,QAAQ,EAAE,EAAE;aACb;SACF;KACF,CAAC;IAEF,OAAO,IAAA,0BAAU,EAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,qBAAqB,CACnC,OAAqC;IAErC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAA,uBAAU,EACrD,6BAA6B,EAC7B,EAAE,CACH,CAAC;IACF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAA,uBAAU,EAAC,8BAA8B,EAAE;QACvE,QAAQ;QACR,gBAAgB;QAChB,QAAQ;QACR,eAAe;QACf,gBAAgB;KACjB,CAAC,CAAC;IAEH,SAAS,uBAAuB,CAAC,EAAE,IAAI,EAAO;QAC5C,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,MAAM,EAAE,MAAa;YACrB,GAAG,EAAE,mDAAmD,CAAC;gBACvD,SAAS,EAAE,6BAA6B;gBACxC,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,uBAAuB,CAAC,OAAO,GAAG,OAAO,CAAC;IAE1C,OAAO,uBAAuB,CAAC;AACjC,CAAC;AAlCD,sDAkCC"}
@@ -166,12 +166,12 @@ export interface BookedSlot {
166
166
  scheduleId?: string;
167
167
  /**
168
168
  * The start time of this slot in [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
169
- * format. Required.
169
+ * format.
170
170
  */
171
171
  startDate?: string | null;
172
172
  /**
173
173
  * The end time of this slot in [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
174
- * format. Required.
174
+ * format.
175
175
  */
176
176
  endDate?: string | null;
177
177
  /** The timezone according to which the slot was shown to the user when booking, and should be shown in future. */
@@ -14,7 +14,7 @@ export interface ExtendedBooking {
14
14
  */
15
15
  allowedActions?: AllowedActions;
16
16
  /**
17
- * Information about the attendance. Available only when passing
17
+ * Information about attendance. Available only when passing
18
18
  * `withBookingAttendanceInfo` as `true`.
19
19
  */
20
20
  attendance?: Attendance;
@@ -172,12 +172,12 @@ export interface BookedSlot {
172
172
  scheduleId?: string;
173
173
  /**
174
174
  * The start time of this slot in [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
175
- * format. Required.
175
+ * format.
176
176
  */
177
177
  startDate?: string | null;
178
178
  /**
179
179
  * The end time of this slot in [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
180
- * format. Required.
180
+ * format.
181
181
  */
182
182
  endDate?: string | null;
183
183
  /** The timezone according to which the slot was shown to the user when booking, and should be shown in future. */
@@ -549,21 +549,15 @@ export interface Attendance {
549
549
  * General Information about the booking's attendance.
550
550
  *
551
551
  * + `NOT_SET`: There is no available attendance information.
552
- * + `ATTENDED`: At least a single participant has attended the session.
553
- * + `NOT_ATTENDED`: No participant has attended the session.
552
+ * + `ATTENDED`: At least 1 participant attended the session.
553
+ * + `NOT_ATTENDED`: No participant attended the session.
554
554
  */
555
555
  status?: AttendanceStatus;
556
- /**
557
- * Total number of participants who have that attended the session. Can
558
- * be greater than `1` for bookings with multiple participants.
559
- */
556
+ /** Total number of participants that attended the session. */
560
557
  numberOfAttendees?: number;
561
558
  }
562
559
  export interface QueryExtendedBookingRequest {
563
- /**
564
- * Information about filters, paging, and sorting.
565
- * __Note__: `fields` and `fieldsets` aren't supported.
566
- */
560
+ /** Information about filters, paging, and sorting. */
567
561
  query?: QueryV2;
568
562
  /**
569
563
  * Whether information about which actions the customer can perform
@@ -646,8 +640,8 @@ export interface CursorPaging {
646
640
  }
647
641
  export interface QueryExtendedBookingResponse {
648
642
  /**
649
- * Retrieved bookings. May include information about the attendance or actions
650
- * the customer can perform, depending on your request.
643
+ * Retrieved bookings and additional information about attendance or actions
644
+ * the customer can perform
651
645
  */
652
646
  extendedBookings?: ExtendedBooking[];
653
647
  /** Paging metadata. */
@@ -672,10 +666,7 @@ export interface Cursors {
672
666
  prev?: string | null;
673
667
  }
674
668
  export interface QueryExtendedBookingsRequest {
675
- /**
676
- * Information about filters, paging, and sorting.
677
- * __Note__: `fields` and `fieldsets` aren't supported.
678
- */
669
+ /** Information about filters, paging, and sorting. */
679
670
  query: CommonQueryV2;
680
671
  /**
681
672
  * Whether information about which actions the customer can perform
@@ -693,8 +684,7 @@ export interface CommonQueryV2 extends CommonQueryV2PagingMethodOneOf {
693
684
  * "fieldName2":{"$operator":"value2"}
694
685
  * }`
695
686
  * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
696
- *
697
- * See [Supported Filters](https://bo.wix.com/wix-docs/rest/bookings/bookingsreader-v2---wip/supported-filters)
687
+ * See [Supported Filters](https://www.wix.com/velo/reference/wix-bookings-v2/extendedbookings/supported-filters)
698
688
  * for a full list.
699
689
  */
700
690
  filter?: Record<string, any> | null;
@@ -723,19 +713,19 @@ export interface CommonPaging {
723
713
  }
724
714
  export interface QueryExtendedBookingsResponse {
725
715
  /**
726
- * Retrieved bookings. May include information about the attendance or actions
727
- * the customer can perform, depending on your request.
716
+ * Retrieved bookings and additional information, such as information about about the attendance or actions
717
+ * the customer can perform.
728
718
  */
729
719
  extendedBookings?: ExtendedBooking[];
730
720
  /** Paging metadata. */
731
721
  pagingMetadata?: PagingMetadataV2;
732
722
  }
733
723
  /**
734
- * Retrieves a list of bookings, given the provided paging, filtering, and sorting.
724
+ * Retrieves a list of bookings, including additional extended information, given the provided paging, filtering, and sorting.
735
725
  *
736
- * Up to 100 bookings can be returned per request.
726
+ * Up to 100 extended bookings can be returned per request.
737
727
  *
738
- * Query Extended Bookings runs with these defaults, which you can override:
728
+ * `queryExtendedBookings()` runs with these defaults, which you can override:
739
729
  *
740
730
  * - `createdDate` sorted in `DESC` order
741
731
  * - `cursorPaging.limit` is `50`
@@ -745,30 +735,25 @@ export interface QueryExtendedBookingsResponse {
745
735
  * for the bookings. To do so, pass `withBookingAllowedActions` as `true`.
746
736
  *
747
737
  *
748
- * For field support see
749
- * [supported filters](https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/supported-filters)
738
+ * For field support, see
739
+ * [supported filters](https://www.wix.com/velo/reference/wix-bookings-v2/extendedbookings/supported-filters)
750
740
  * for more information.
751
741
  *
752
- * You can only specify a filter only once per query. If a filter is provided
753
- * more than once, only the first occurrence affects the returned bookings.
742
+ * You can specify a filter only once per query. If you specify a filter
743
+ * more than once, the first filter determines the extended bookings returns and the second filter is ignored.
754
744
  *
755
- * When using filters for dates, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
745
+ * When filtering by date, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
756
746
  *
757
747
  * Bookings that are part of a schedule don't have a `sessionId`. Therefore you
758
748
  * must use the `sessionId` filter that isn't part of the `query` object to
759
749
  * filter bookings for courses.
760
750
  *
761
- * To learn about working with _Query_ endpoints, see
762
- * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
763
- * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging),
764
- * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
765
- *
766
- * When calling Query Extended Bookings, the retrieved data may not contain your most recent changes.
767
- * @param query - Information about filters, paging, and sorting.
768
- * __Note__: `fields` and `fieldsets` aren't supported.
751
+ * When calling `queryExtendedBookings()`, the retrieved data may not contain your most recent changes.
769
752
  * @public
770
753
  * @documentationMaturity preview
771
754
  * @requiredField query
755
+ * @param query - Information about filters, paging, and sorting.
756
+ * @param options - Additional options for performing the query.
772
757
  */
773
758
  export declare function queryExtendedBookings(query: CommonQueryV2, options?: QueryExtendedBookingsOptions): Promise<QueryExtendedBookingsResponse>;
774
759
  export interface QueryExtendedBookingsOptions {
@@ -136,11 +136,11 @@ var SortOrder;
136
136
  const _queryExtendedBookingsRequest = {};
137
137
  const _queryExtendedBookingsResponse = {};
138
138
  /**
139
- * Retrieves a list of bookings, given the provided paging, filtering, and sorting.
139
+ * Retrieves a list of bookings, including additional extended information, given the provided paging, filtering, and sorting.
140
140
  *
141
- * Up to 100 bookings can be returned per request.
141
+ * Up to 100 extended bookings can be returned per request.
142
142
  *
143
- * Query Extended Bookings runs with these defaults, which you can override:
143
+ * `queryExtendedBookings()` runs with these defaults, which you can override:
144
144
  *
145
145
  * - `createdDate` sorted in `DESC` order
146
146
  * - `cursorPaging.limit` is `50`
@@ -150,30 +150,25 @@ const _queryExtendedBookingsResponse = {};
150
150
  * for the bookings. To do so, pass `withBookingAllowedActions` as `true`.
151
151
  *
152
152
  *
153
- * For field support see
154
- * [supported filters](https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/supported-filters)
153
+ * For field support, see
154
+ * [supported filters](https://www.wix.com/velo/reference/wix-bookings-v2/extendedbookings/supported-filters)
155
155
  * for more information.
156
156
  *
157
- * You can only specify a filter only once per query. If a filter is provided
158
- * more than once, only the first occurrence affects the returned bookings.
157
+ * You can specify a filter only once per query. If you specify a filter
158
+ * more than once, the first filter determines the extended bookings returns and the second filter is ignored.
159
159
  *
160
- * When using filters for dates, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
160
+ * When filtering by date, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
161
161
  *
162
162
  * Bookings that are part of a schedule don't have a `sessionId`. Therefore you
163
163
  * must use the `sessionId` filter that isn't part of the `query` object to
164
164
  * filter bookings for courses.
165
165
  *
166
- * To learn about working with _Query_ endpoints, see
167
- * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
168
- * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging),
169
- * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
170
- *
171
- * When calling Query Extended Bookings, the retrieved data may not contain your most recent changes.
172
- * @param query - Information about filters, paging, and sorting.
173
- * __Note__: `fields` and `fieldsets` aren't supported.
166
+ * When calling `queryExtendedBookings()`, the retrieved data may not contain your most recent changes.
174
167
  * @public
175
168
  * @documentationMaturity preview
176
169
  * @requiredField query
170
+ * @param query - Information about filters, paging, and sorting.
171
+ * @param options - Additional options for performing the query.
177
172
  */
178
173
  function queryExtendedBookings(query, options) {
179
174
  var _a, _b, _c;
@@ -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,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,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB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AAC,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"}
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,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AAC,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"}
@@ -59,6 +59,10 @@ function resolveWixBookingsServicesV2ServicesServiceUrl(opts) {
59
59
  srcPath: '/_api/bookings/v2/services',
60
60
  destPath: '/v2/services',
61
61
  },
62
+ {
63
+ srcPath: '/bookings/v2/services',
64
+ destPath: '/v2/services',
65
+ },
62
66
  ],
63
67
  'manage._base_domain_': [
64
68
  {
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-services-v2-service.http.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AAUhD,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,cAAc,GAAG;IACrB,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,2BAA2B;CACzC,CAAC;AACF,MAAM,wBAAwB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACzD,MAAM,sBAAsB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACvD,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAC9B,MAAM,mBAAmB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACpD,MAAM,MAAM,GAAG,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,CAAC;AAClE,MAAM,S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AyCC;AAED;;;;;;;;;;GAUG;AACH,SAAgB,aAAa,CAC3B,OAA6B;IAE7B,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAA,uBAAU,EACrD,qBAAqB,EACrB,EAAE,CACH,CAAC;IACF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAA,uBAAU,EAAC,sBAAsB,EAAE;QAC/D,QAAQ;QACR,gBAAgB;QAChB,cAAc;QACd,wBAAwB;QACxB,sBAAsB;QACtB,MAAM;QACN,SAAS;QACT,MAAM;QACN,UAAU;QACV,SAAS;QACT,QAAQ;QACR,KAAK;KACN,CAAC,CAAC;IAEH,SAAS,eAAe,CAAC,EAAE,IAAI,EAAO;QACpC,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,MAAM,EAAE,MAAa;YACrB,GAAG,EAAE,8CAA8C,CAAC;gBAClD,SAAS,EAAE,oBAAoB;gBAC/B,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,eAAe,CAAC,OAAO,GAAG,OAAO,CAAC;IAElC,OAAO,eAAe,CAAC;AACzB,CAAC;AAzCD,sCAyCC"}
1
+ {"version":3,"file":"bookings-services-v2-service.http.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AAUhD,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,cAAc,GAAG;IACrB,WAAW,EAAE,2BAA2B;IACxC,WA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AO,eAAe,CAAC;AACzB,CAAC;AAzCD,sCAyCC"}
@@ -146,12 +146,12 @@ export interface BookedSlot {
146
146
  scheduleId?: string;
147
147
  /**
148
148
  * The start time of this slot in [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
149
- * format. Required.
149
+ * format.
150
150
  */
151
151
  startDate?: string | null;
152
152
  /**
153
153
  * The end time of this slot in [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
154
- * format. Required.
154
+ * format.
155
155
  */
156
156
  endDate?: string | null;
157
157
  /** The timezone according to which the slot was shown to the user when booking, and should be shown in future. */
@@ -150,12 +150,12 @@ export interface BookedSlot {
150
150
  scheduleId?: string;
151
151
  /**
152
152
  * The start time of this slot in [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
153
- * format. Required.
153
+ * format.
154
154
  */
155
155
  startDate?: string | null;
156
156
  /**
157
157
  * The end time of this slot in [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
158
- * format. Required.
158
+ * format.
159
159
  */
160
160
  endDate?: string | null;
161
161
  /** The timezone according to which the slot was shown to the user when booking, and should be shown in future. */
@@ -50,12 +50,12 @@ function resolveComWixpressBookingsPricingBookingsPricingServiceUrl(opts) {
50
50
  ],
51
51
  'www.wixapis.com': [
52
52
  {
53
- srcPath: '/bookings-pricing-service',
54
- destPath: '',
53
+ srcPath: '/bookings/v2/pricing/v2/pricing',
54
+ destPath: '/v2/pricing',
55
55
  },
56
56
  {
57
57
  srcPath: '/bookings/v2/pricing',
58
- destPath: '',
58
+ destPath: '/v2/pricing',
59
59
  },
60
60
  ],
61
61
  };
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-v2-price-info.http.js","sourceRoot":"","sources":["../../../src/bookings-v2-price-info.http.ts"],"names":[],"mappings":";;;AAAA,8DAA2D;AAC3D,sDAAgD;AAUhD,MAAM,QAAQ,GAAG,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AACjD,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EA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AA,uBAAU,EAAC,uBAAuB,EAAE;QAChE,gBAAgB;QAChB,UAAU;KACX,CAAC,CAAC;IAEH,SAAS,gBAAgB,CAAC,EAAE,IAAI,EAAO;QACrC,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,MAAM,EAAE,MAAa;YACrB,GAAG,EAAE,0DAA0D,CAAC;gBAC9D,SAAS,EAAE,uBAAuB;gBAClC,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,gBAAgB,CAAC,OAAO,GAAG,OAAO,CAAC;IAEnC,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AA/BD,wCA+BC"}
1
+ {"version":3,"file":"bookings-v2-price-info.http.js","sourceRoot":"","sources":["../../../src/bookings-v2-price-info.http.ts"],"names":[],"mappings":";;;AAAA,8DAA2D;AAC3D,sDAAgD;AAUhD,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,gBAAgB,GAAG,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,CAAC;AAChF,MAAM,sBAAsB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACvD,MAAM,uBAAuB,GAAG,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;AAC5D,MAAM,eAAe,GAAG,EAAE,WAAW,EAAE,UAAU,EAAE,CAA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AAO,CAAC;IAEnC,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AA/BD,wCA+BC"}
@@ -1,6 +1,6 @@
1
1
  import { HttpClient } from '@wix/sdk-types';
2
- import { Booking, PreviewPriceOptions } from './bookings-v2-price-info.universal';
3
- export declare function previewPrice(httpClient: HttpClient): (options?: PreviewPriceOptions | undefined) => Promise<import("./bookings-v2-price-info.universal").PreviewPriceResponse>;
2
+ import { BookingLineItem, Booking } from './bookings-v2-price-info.universal';
3
+ export declare function previewPrice(httpClient: HttpClient): (bookingLineItems: BookingLineItem[]) => Promise<import("./bookings-v2-price-info.universal").PreviewPriceResponse>;
4
4
  export declare function calculatePrice(httpClient: HttpClient): (booking: Booking) => Promise<import("./bookings-v2-price-info.universal").CalculatePriceResponse>;
5
5
  export { LocationType, ValueType, BookingStatus, PaymentStatus, SelectedPaymentOption, Platform, Actor, IdentityType, } from './bookings-v2-price-info.universal';
6
- export { PriceInfo, PriceInfoTotalPriceOneOf, BookingLineItem, ServiceChoice, ServiceChoiceChoiceOneOf, PreviewPriceRequest, PreviewPriceResponse, CalculatePriceRequest, Booking, BookingParticipantsInfoOneOf, BookedEntity, BookedEntityItemOneOf, BookedSlot, BookedResource, Location, BookedSchedule, ContactDetails, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, CustomFormField, BookingSource, ParticipantNotification, IdentificationData, IdentificationDataIdOneOf, FlowControlSettings, ExtendedFields, ParticipantChoices, ServiceChoices, CalculatePriceResponse, PreviewPriceOptions, } from './bookings-v2-price-info.universal';
6
+ export { PriceInfo, PriceInfoTotalPriceOneOf, BookingLineItem, ServiceChoice, ServiceChoiceChoiceOneOf, PreviewPriceRequest, PreviewPriceResponse, CalculatePriceRequest, Booking, BookingParticipantsInfoOneOf, BookedEntity, BookedEntityItemOneOf, BookedSlot, BookedResource, Location, BookedSchedule, ContactDetails, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, CustomFormField, BookingSource, ParticipantNotification, IdentificationData, IdentificationDataIdOneOf, FlowControlSettings, ExtendedFields, ParticipantChoices, ServiceChoices, CalculatePriceResponse, } from './bookings-v2-price-info.universal';
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IdentityType = exports.Actor = exports.Platform = exports.SelectedPaymentOption = exports.PaymentStatus = exports.BookingStatus = exports.ValueType = exports.LocationType = exports.calculatePrice = exports.previewPrice = void 0;
4
4
  const bookings_v2_price_info_universal_1 = require("./bookings-v2-price-info.universal");
5
5
  function previewPrice(httpClient) {
6
- return (options) => (0, bookings_v2_price_info_universal_1.previewPrice)(options,
6
+ return (bookingLineItems) => (0, bookings_v2_price_info_universal_1.previewPrice)(bookingLineItems,
7
7
  // @ts-ignore
8
8
  { httpClient });
9
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-v2-price-info.public.js","sourceRoot":"","sources":["../../../src/bookings-v2-price-info.public.ts"],"names":[],"mappings":";;;AACA,yFAK4C;AAE5C,SAAgB,YAAY,CAAC,UAAsB;IACjD,OAAO,CAAC,OAA6B,EAAE,EAAE,CACvC,IAAA,+CAAqB,EACnB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,oCAOC;AAED,SAAgB,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,OAAgB,EAAE,EAAE,CAC1B,IAAA,iDAAuB,EACrB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,wCAOC;AAED,uFAS4C;AAR1C,gIAAA,YAAY,OAAA;AACZ,6HAAA,SAAS,OAAA;AACT,iIAAA,aAAa,OAAA;AACb,iIAAA,aAAa,OAAA;AACb,yIAAA,qBAAqB,OAAA;AACrB,4HAAA,QAAQ,OAAA;AACR,yHAAA,KAAK,OAAA;AACL,gIAAA,YAAY,OAAA"}
1
+ {"version":3,"file":"bookings-v2-price-info.public.js","sourceRoot":"","sources":["../../../src/bookings-v2-price-info.public.ts"],"names":[],"mappings":";;;AACA,yFAK4C;AAE5C,SAAgB,YAAY,CAAC,UAAsB;IACjD,OAAO,CAAC,gBAAmC,EAAE,EAAE,CAC7C,IAAA,+CAAqB,EACnB,gBAAgB;IAChB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,oCAOC;AAED,SAAgB,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,OAAgB,EAAE,EAAE,CAC1B,IAAA,iDAAuB,EACrB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,wCAOC;AAED,uFAS4C;AAR1C,gIAAA,YAAY,OAAA;AACZ,6HAAA,SAAS,OAAA;AACT,iIAAA,aAAa,OAAA;AACb,iIAAA,aAAa,OAAA;AACb,yIAAA,qBAAqB,OAAA;AACrB,4HAAA,QAAQ,OAAA;AACR,yHAAA,KAAK,OAAA;AACL,gIAAA,YAAY,OAAA"}
@@ -92,7 +92,7 @@ export interface ServiceChoiceChoiceOneOf {
92
92
  }
93
93
  export interface PreviewPriceRequest {
94
94
  /** List of line items to preview the price for. */
95
- bookingLineItems?: BookingLineItem[];
95
+ bookingLineItems: BookingLineItem[];
96
96
  }
97
97
  export interface PreviewPriceResponse {
98
98
  /** Information about each line item's price and the estimated total price based on the line items. */
@@ -250,12 +250,12 @@ export interface BookedSlot {
250
250
  scheduleId?: string;
251
251
  /**
252
252
  * The start time of this slot in [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
253
- * format. Required.
253
+ * format.
254
254
  */
255
255
  startDate?: string | null;
256
256
  /**
257
257
  * The end time of this slot in [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
258
- * format. Required.
258
+ * format.
259
259
  */
260
260
  endDate?: string | null;
261
261
  /** The timezone according to which the slot was shown to the user when booking, and should be shown in future. */