@wix/bookings 1.0.103 → 1.0.105

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 (43) 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.universal.d.ts +22 -37
  8. package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js +11 -16
  9. package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
  10. package/build/cjs/src/bookings-services-v2-service.http.js +4 -0
  11. package/build/cjs/src/bookings-services-v2-service.http.js.map +1 -1
  12. package/build/cjs/src/bookings-v2-price-info.http.d.ts +10 -10
  13. package/build/cjs/src/bookings-v2-price-info.http.js +13 -13
  14. package/build/cjs/src/bookings-v2-price-info.http.js.map +1 -1
  15. package/build/cjs/src/bookings-v2-price-info.public.d.ts +3 -3
  16. package/build/cjs/src/bookings-v2-price-info.public.js +1 -1
  17. package/build/cjs/src/bookings-v2-price-info.public.js.map +1 -1
  18. package/build/cjs/src/bookings-v2-price-info.types.d.ts +2 -2
  19. package/build/cjs/src/bookings-v2-price-info.universal.d.ts +40 -46
  20. package/build/cjs/src/bookings-v2-price-info.universal.js +16 -14
  21. package/build/cjs/src/bookings-v2-price-info.universal.js.map +1 -1
  22. package/build/es/index.d.ts +1 -1
  23. package/build/es/index.js +1 -1
  24. package/build/es/index.js.map +1 -1
  25. package/build/es/src/bookings-reader-v2-extended-booking.http.d.ts +9 -14
  26. package/build/es/src/bookings-reader-v2-extended-booking.http.js +9 -14
  27. package/build/es/src/bookings-reader-v2-extended-booking.http.js.map +1 -1
  28. package/build/es/src/bookings-reader-v2-extended-booking.universal.d.ts +22 -37
  29. package/build/es/src/bookings-reader-v2-extended-booking.universal.js +11 -16
  30. package/build/es/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
  31. package/build/es/src/bookings-services-v2-service.http.js +4 -0
  32. package/build/es/src/bookings-services-v2-service.http.js.map +1 -1
  33. package/build/es/src/bookings-v2-price-info.http.d.ts +10 -10
  34. package/build/es/src/bookings-v2-price-info.http.js +13 -13
  35. package/build/es/src/bookings-v2-price-info.http.js.map +1 -1
  36. package/build/es/src/bookings-v2-price-info.public.d.ts +3 -3
  37. package/build/es/src/bookings-v2-price-info.public.js +1 -1
  38. package/build/es/src/bookings-v2-price-info.public.js.map +1 -1
  39. package/build/es/src/bookings-v2-price-info.types.d.ts +2 -2
  40. package/build/es/src/bookings-v2-price-info.universal.d.ts +40 -46
  41. package/build/es/src/bookings-v2-price-info.universal.js +16 -14
  42. package/build/es/src/bookings-v2-price-info.universal.js.map +1 -1
  43. package/package.json +2 -2
@@ -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,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,KAAK,4CAA4C,MAAM,4CAA4C,CAAC;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;AAED,MAAM,CAAC,MAAM,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,K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CAAC;SACxB;;CACF"}
1
+ {"version":3,"file":"bookings-reader-v2-extended-booking.universal.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,KAAK,4CAA4C,MAAM,4CAA4C,CAAC;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;AAED,MAAM,CAAC,MAAM,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,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B;AAyMD,MAAM,CAAN,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,KAAZ,YAAY,QAKvB;AA+HD,MAAM,CAAN,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,kDAAkD;IAClD,sCAAyB,CAAA;IACzB,gBAAgB;IAChB,oCAAuB,CAAA;IACvB,qGAAqG;IACrG,oCAAuB,CAA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AK,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,cAAc,CAAC,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"}
@@ -56,6 +56,10 @@ function resolveWixBookingsServicesV2ServicesServiceUrl(opts) {
56
56
  srcPath: '/_api/bookings/v2/services',
57
57
  destPath: '/v2/services',
58
58
  },
59
+ {
60
+ srcPath: '/bookings/v2/services',
61
+ destPath: '/v2/services',
62
+ },
59
63
  ],
60
64
  'manage._base_domain_': [
61
65
  {
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-services-v2-service.http.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAUhD,MAAM,QAAQ,GAAG,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AACjD,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAA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AAe,CAAC;AACzB,CAAC"}
1
+ {"version":3,"file":"bookings-services-v2-service.http.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;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,SAAS,GAAG;IAChB,iBAAiB,EAAE,UAAU;IAC7B,QAAQ,EAAE,0BAA0B;IACpC,MAAM,EAAE,wBAAwB;CACjC,CAAC;AACF,MAAM,MAAM,GAAG;IACb,KAAK,EAAE,YAAY;IACnB,SAAS,EAAE,YAAY;IACvB,UAAU,EAAE,YAAY;CACzB,CAAC;AACF,MAAM,UAAU,GAAG,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AACvC,MAAM,qBAAqB,GAAG,EAAE,CAAC;AACjC,MAAM,sBAAsB,GAAG,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;AACxD,MAAM,SAAS,GAAG;IAChB,iBAAiB,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AAQ;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"}
@@ -14,7 +14,7 @@ import { CalculatePriceRequest, CalculatePriceResponse, PreviewPriceRequest, Pre
14
14
  * of each line item before
15
15
  * the booking is actually created.
16
16
  *
17
- * Use [`Calculate Price`](https://example.com) to get the base price
17
+ * Use [`Calculate Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price) to get the base price
18
18
  * after the booking is created.
19
19
  *
20
20
  * Passing line items that belong to different services results in an error.
@@ -22,11 +22,11 @@ import { CalculatePriceRequest, CalculatePriceResponse, PreviewPriceRequest, Pre
22
22
  * ## Calculating the previewed price
23
23
  *
24
24
  * Wix Bookings has its own default pricing logic for previewing the price. You must
25
- * pass the `serviceId` in the [`slot`](https://example.com/)
26
- * or [`schedule`](https://example.com/) object to `Preview Price`.
25
+ * pass the `serviceId` in the `slot`
26
+ * or `schedule` object to [`Preview Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/preview-price).
27
27
  *
28
28
  * You cannot call `Preview Price` if you have customized Bookings pricing logic using the
29
- * [Bookings Pricing Provider SPI](https://example.com/). Calling `Preview Price` if custom pricing
29
+ * [Bookings Pricing Provider SPI](https://dev.wix.com/api/rest/wix-bookings/pricing-provider). Calling `Preview Price` if custom pricing
30
30
  * logic has been implemented for the site results in an error.
31
31
  */
32
32
  export declare function previewPrice(payload: PreviewPriceRequest): RequestOptionsFactory<PreviewPriceResponse>;
@@ -35,10 +35,10 @@ export declare function previewPrice(payload: PreviewPriceRequest): RequestOptio
35
35
  *
36
36
  *
37
37
  *
38
- * You can call `Calculate Price` after a booking is created. The returned calculated price includes information about each line
38
+ * You can call [`Calculate Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price) after a booking is created. The returned calculated price includes information about each line
39
39
  * item's price and the booking's total price.
40
40
  *
41
- * You can use [`Preview Price`](https://example.com) to get the base price
41
+ * You can use [`Preview Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/preview-price) to get the base price
42
42
  * before a booking is created.
43
43
  *
44
44
  * The calculated price is the base price that will be used as a basis for charging the customer.
@@ -48,14 +48,14 @@ export declare function previewPrice(payload: PreviewPriceRequest): RequestOptio
48
48
  * ## Calculating the price
49
49
  *
50
50
  * Wix Bookings has its own default pricing logic for calculating the price. When
51
- * using Wix Bookings' default pricing logic, you must pass the `serviceId` in the [`slot`](https://example.com/)
52
- * or [`schedule`](https://example.com/) object to `Calculate Price`.
51
+ * using Wix Bookings' default pricing logic, you must pass the `serviceId` in the `slot`
52
+ * or `schedule` object to [`Calculate Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price).
53
53
  *
54
54
  * Alternatively you can customize the pricing logic using the
55
- * [Bookings Pricing Provider SPI](https://example.com/).
55
+ * [Bookings Pricing Provider SPI](https://dev.wix.com/api/rest/wix-bookings/pricing-provider).
56
56
  * If you integrate with a pricing provider, the customized pricing logic becomes
57
57
  * the default logic. This means that, if the pricing provider SPI is implemented,
58
58
  * when calling the API's `Calculate Price` endpoint,
59
- * the [SPI's `Calculate Price` endpoint](https://example.com/) is used instead.
59
+ * the [SPI's `Calculate Price` endpoint](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price) is used instead.
60
60
  */
61
61
  export declare function calculatePrice(payload: CalculatePriceRequest): RequestOptionsFactory<CalculatePriceResponse>;
@@ -47,12 +47,12 @@ function resolveComWixpressBookingsPricingBookingsPricingServiceUrl(opts) {
47
47
  ],
48
48
  'www.wixapis.com': [
49
49
  {
50
- srcPath: '/bookings-pricing-service',
51
- destPath: '',
50
+ srcPath: '/bookings/v2/pricing/v2/pricing',
51
+ destPath: '/v2/pricing',
52
52
  },
53
53
  {
54
54
  srcPath: '/bookings/v2/pricing',
55
- destPath: '',
55
+ destPath: '/v2/pricing',
56
56
  },
57
57
  ],
58
58
  };
@@ -72,7 +72,7 @@ function resolveComWixpressBookingsPricingBookingsPricingServiceUrl(opts) {
72
72
  * of each line item before
73
73
  * the booking is actually created.
74
74
  *
75
- * Use [`Calculate Price`](https://example.com) to get the base price
75
+ * Use [`Calculate Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price) to get the base price
76
76
  * after the booking is created.
77
77
  *
78
78
  * Passing line items that belong to different services results in an error.
@@ -80,11 +80,11 @@ function resolveComWixpressBookingsPricingBookingsPricingServiceUrl(opts) {
80
80
  * ## Calculating the previewed price
81
81
  *
82
82
  * Wix Bookings has its own default pricing logic for previewing the price. You must
83
- * pass the `serviceId` in the [`slot`](https://example.com/)
84
- * or [`schedule`](https://example.com/) object to `Preview Price`.
83
+ * pass the `serviceId` in the `slot`
84
+ * or `schedule` object to [`Preview Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/preview-price).
85
85
  *
86
86
  * You cannot call `Preview Price` if you have customized Bookings pricing logic using the
87
- * [Bookings Pricing Provider SPI](https://example.com/). Calling `Preview Price` if custom pricing
87
+ * [Bookings Pricing Provider SPI](https://dev.wix.com/api/rest/wix-bookings/pricing-provider). Calling `Preview Price` if custom pricing
88
88
  * logic has been implemented for the site results in an error.
89
89
  */
90
90
  export function previewPrice(payload) {
@@ -115,10 +115,10 @@ export function previewPrice(payload) {
115
115
  *
116
116
  *
117
117
  *
118
- * You can call `Calculate Price` after a booking is created. The returned calculated price includes information about each line
118
+ * You can call [`Calculate Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price) after a booking is created. The returned calculated price includes information about each line
119
119
  * item's price and the booking's total price.
120
120
  *
121
- * You can use [`Preview Price`](https://example.com) to get the base price
121
+ * You can use [`Preview Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/preview-price) to get the base price
122
122
  * before a booking is created.
123
123
  *
124
124
  * The calculated price is the base price that will be used as a basis for charging the customer.
@@ -128,15 +128,15 @@ export function previewPrice(payload) {
128
128
  * ## Calculating the price
129
129
  *
130
130
  * Wix Bookings has its own default pricing logic for calculating the price. When
131
- * using Wix Bookings' default pricing logic, you must pass the `serviceId` in the [`slot`](https://example.com/)
132
- * or [`schedule`](https://example.com/) object to `Calculate Price`.
131
+ * using Wix Bookings' default pricing logic, you must pass the `serviceId` in the `slot`
132
+ * or `schedule` object to [`Calculate Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price).
133
133
  *
134
134
  * Alternatively you can customize the pricing logic using the
135
- * [Bookings Pricing Provider SPI](https://example.com/).
135
+ * [Bookings Pricing Provider SPI](https://dev.wix.com/api/rest/wix-bookings/pricing-provider).
136
136
  * If you integrate with a pricing provider, the customized pricing logic becomes
137
137
  * the default logic. This means that, if the pricing provider SPI is implemented,
138
138
  * when calling the API's `Calculate Price` endpoint,
139
- * the [SPI's `Calculate Price` endpoint](https://example.com/) is used instead.
139
+ * the [SPI's `Calculate Price` endpoint](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price) is used instead.
140
140
  */
141
141
  export function calculatePrice(payload) {
142
142
  const { toJSON: toReq, fromJSON: fromReq } = serializer(_calculatePriceRequest, { _address, _addressLocation, _booking, _contactDetails });
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-v2-price-info.http.js","sourceRoot":"","sources":["../../../src/bookings-v2-price-info.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAUhD,MAAM,Q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AAO,QAAQ,CAAC;IAClB,CAAC;IAED,gBAAgB,CAAC,OAAO,GAAG,OAAO,CAAC;IAEnC,OAAO,gBAAgB,CAAC;AAC1B,CAAC"}
@@ -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';
@@ -1,6 +1,6 @@
1
1
  import { previewPrice as universalPreviewPrice, calculatePrice as universalCalculatePrice, } from './bookings-v2-price-info.universal';
2
2
  export function previewPrice(httpClient) {
3
- return (options) => universalPreviewPrice(options,
3
+ return (bookingLineItems) => universalPreviewPrice(bookingLineItems,
4
4
  // @ts-ignore
5
5
  { httpClient });
6
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-v2-price-info.public.js","sourceRoot":"","sources":["../../../src/bookings-v2-price-info.public.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,IAAI,qBAAqB,EACrC,cAAc,IAAI,uBAAuB,GAG1C,MAAM,oCAAoC,CAAC;AAE5C,MAAM,UAAU,YAAY,CAAC,UAAsB;IACjD,OAAO,CAAC,OAA6B,EAAE,EAAE,CACvC,qBAAqB,CACnB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,OAAgB,EAAE,EAAE,CAC1B,uBAAuB,CACrB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,OAAO,EACL,YAAY,EACZ,SAAS,EACT,aAAa,EACb,aAAa,EACb,qBAAqB,EACrB,QAAQ,EACR,KAAK,EACL,YAAY,GACb,MAAM,oCAAoC,CAAC"}
1
+ {"version":3,"file":"bookings-v2-price-info.public.js","sourceRoot":"","sources":["../../../src/bookings-v2-price-info.public.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,IAAI,qBAAqB,EACrC,cAAc,IAAI,uBAAuB,GAG1C,MAAM,oCAAoC,CAAC;AAE5C,MAAM,UAAU,YAAY,CAAC,UAAsB;IACjD,OAAO,CAAC,gBAAmC,EAAE,EAAE,CAC7C,qBAAqB,CACnB,gBAAgB;IAChB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,OAAgB,EAAE,EAAE,CAC1B,uBAAuB,CACrB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,OAAO,EACL,YAAY,EACZ,SAAS,EACT,aAAa,EACb,aAAa,EACb,qBAAqB,EACrB,QAAQ,EACR,KAAK,EACL,YAAY,GACb,MAAM,oCAAoC,CAAC"}
@@ -46,7 +46,7 @@ export interface BookingLineItem {
46
46
  * Required when not using Wix Booking's default pricing logic.
47
47
  *
48
48
  * Optional when using custom pricing logic defined with the
49
- * [Bookings Pricing Provider SPI](https://example.com/).
49
+ * [Bookings Pricing Provider SPI](https://dev.wix.com/api/rest/wix-bookings/pricing-provider).
50
50
  */
51
51
  serviceId?: string | null;
52
52
  /** Resource ID. Required for services of type appointment or class. */
@@ -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. */
@@ -15,16 +15,16 @@ export interface PriceInfo extends PriceInfoTotalPriceOneOf {
15
15
  deposit?: number | null;
16
16
  /**
17
17
  * Calculated total price. Available only when the
18
- * [service](https://dev.wix.com/api/rest/wix-bookings/services/service/create-service)'s
18
+ * service's
19
19
  * price has been set up as a numerical value in the
20
- * [`schedule.rate.labeledPriceOptions`](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/schedule/schedule-object) object.
20
+ * `schedule.rate.labeledPriceOptions` object.
21
21
  */
22
22
  calculatedPrice?: number;
23
23
  /**
24
24
  * Description of the total price. Available only when the
25
- * [service](https://dev.wix.com/api/rest/wix-bookings/services/service/create-service)'s
25
+ * service's
26
26
  * price has been set up as a text value in the
27
- * [`schedule.rate.priceText`](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/schedule/schedule-object) property.
27
+ * `schedule.rate.priceText` property.
28
28
  */
29
29
  priceDescription?: string;
30
30
  }
@@ -50,9 +50,6 @@ export interface BookingLineItem {
50
50
  * Service ID.
51
51
  *
52
52
  * Required when not using Wix Booking's default pricing logic.
53
- *
54
- * Optional when using custom pricing logic defined with the
55
- * [Bookings Pricing Provider SPI](https://example.com/).
56
53
  */
57
54
  serviceId?: string | null;
58
55
  /** Resource ID. Required for services of type appointment or class. */
@@ -89,7 +86,7 @@ export interface ServiceChoice extends ServiceChoiceChoiceOneOf {
89
86
  /** @oneof */
90
87
  export interface ServiceChoiceChoiceOneOf {
91
88
  /**
92
- * Value for one of the choices in the [`CustomServiceOption.choices`](https://example.com) list.
89
+ * Value for one of the choices in the `CustomServiceOption.choices` list.
93
90
  * Choices are specific values for an option the customer can choose to book. For example,
94
91
  * the option `ageGroup` may have these choices: `child`, `student`, `adult`, and `senior`.
95
92
  * Each choice may have a different price.
@@ -98,7 +95,7 @@ export interface ServiceChoiceChoiceOneOf {
98
95
  }
99
96
  export interface PreviewPriceRequest {
100
97
  /** List of line items to preview the price for. */
101
- bookingLineItems?: BookingLineItem[];
98
+ bookingLineItems: BookingLineItem[];
102
99
  }
103
100
  export interface PreviewPriceResponse {
104
101
  /** Information about each line item's price and the estimated total price based on the line items. */
@@ -126,24 +123,20 @@ export interface Booking extends BookingParticipantsInfoOneOf {
126
123
  * One of:
127
124
  * - `"CREATED"` - The booking was created.
128
125
  * - `"UPDATED"` - The booking was updated.
129
- * - `"CONFIRMED"` - The booking was confirmed and appears on the bookings calendar.
130
- * A booking can be manually confirmed using the [`Confirm Or Decline API`](www.example.com).
131
- * A booking can be automatically confirmed when the following requirements are met:
132
- * + The service is configured as automatically confirmed.
133
- * + The system invoked the eCommerce checkout API and created an order.
126
+ * - `"CONFIRMED"` - The booking was confirmed and appears on the bookings calendar. A booking can be manually confirmed using the [`Confirm Or Decline API`](www.example.com). A booking can be automatically confirmed when the following requirements are met:
127
+ * + The service is configured as automatically confirmed.
128
+ * + The system invoked the eCommerce checkout API and created an order.
134
129
  * - `"CANCELED"` - The booking has been canceled and synced to the bookings calendar.
135
130
  * The booking can be canceled using [`Cancel Booking API`](www.example.com).
136
131
  * - `"PENDING"` - The booking is waiting to be confirmed or declined by the owner and the booking is synced to the bookings calendar.
137
132
  * Bookings can be manually set as `PENDING` using the [`setAsPending` API](www.example.com), by those with Manage Booking Status permissions scopes.
138
133
  * Bookings can be automatically set as `PENDING` when the following requirements are met:
139
- * + The service is configured as manually confirmed.
140
- * + Invoking the eCommerce checkout API and an order has been created.
134
+ * + The service is configured as manually confirmed.
135
+ * + Invoking the eCommerce checkout API and an order has been created.
141
136
  * - `"WAITING_LIST"` - The booking is on a waiting list.
142
- * - `"DECLINED"` - The booking was declined by the owner and synced to the Bookings calendar.
143
- * Bookings can be manually declined using the [`Decline Booking` API](www.example.com) by those with Manage Booking Status permissions scopes.
144
- * Booking can be automatically declined when one of the following requirements are met:
145
- * + Invoking the `eCommerce checkout` API and the order declined event has been sent.
146
- * + Invoking the `eCommerce checkout` API and order approved event has been sent, but the booking is offline and the booking causes a double booking.
137
+ * - `"DECLINED"` - The booking was declined by the owner and synced to the Bookings calendar. Bookings can be manually declined using the [`Decline Booking` API](www.example.com) by those with Manage Booking Status permission scopes. Booking can be automatically declined when one of the following requirements are met:
138
+ * + Invoking the `eCommerce checkout` API and the order declined event has been sent.
139
+ * + Invoking the `eCommerce checkout` API and order approved event has been sent, but the booking is offline and the booking causes a double booking.
147
140
  */
148
141
  status?: BookingStatus;
149
142
  /**
@@ -158,6 +151,9 @@ export interface Booking extends BookingParticipantsInfoOneOf {
158
151
  paymentStatus?: PaymentStatus;
159
152
  /**
160
153
  * Selected payment option.
154
+ *
155
+ * Supported values: `"OFFLINE"`, `"ONLINE"`, `"MEMBERSHIP"`, `"MEMBERSHIP_OFFLINE"`.
156
+ *
161
157
  * One of the payment options offered by the service, or another option if `skipSelectedPaymentOptionValidation` is `true`.
162
158
  * When undefined, the payment option is resolved by the service configuration on checkout.
163
159
  */
@@ -338,7 +334,7 @@ export interface ContactDetails {
338
334
  firstName?: string | null;
339
335
  /** Contact's last name. */
340
336
  lastName?: string | null;
341
- /** Contact's email, used to create a new contact or get existing one from the [Contacts API](https://dev.wix.com/api/rest/contacts/contacts). Used to validate coupon usage limitations per contact. If not passed, the coupon usage limitation will not be enforced. (Coupon usage limitation validation is not supported yet). */
337
+ /** Contact's email, used to create a new contact or get existing one from the [Contacts API](https://www.wix.com/velo/reference/wix-crm/contacts). Used to validate coupon usage limitations per contact. If not passed, the coupon usage limitation will not be enforced. (Coupon usage limitation validation is not supported yet). */
342
338
  email?: string | null;
343
339
  /** Contact's phone number. */
344
340
  phone?: string | null;
@@ -414,12 +410,9 @@ export interface CustomFormField {
414
410
  */
415
411
  label?: string | null;
416
412
  /**
417
- * <!--ONLY:VELO
418
- * One of:
419
- * - `"SHORT_TEXT"`
420
- * - `"LONG_TEXT"`
421
- * - `"CHECK_BOX"`
422
- * <!--END:ONLY:VELO-->
413
+ * Form field value's type at the time of submission.
414
+ *
415
+ * Supported values: `"SHORT_TEXT"`, `"LONG_TEXT"`, `"CHECK_BOX"`
423
416
  */
424
417
  valueType?: ValueType;
425
418
  }
@@ -570,9 +563,12 @@ export interface FlowControlSettings {
570
563
  }
571
564
  export interface ExtendedFields {
572
565
  /**
573
- * Data Extensions extended fields
574
- * Key: Namespace
575
- * Value: extended fields data in Struct format
566
+ * Data Extensions extended fields expressed as a set of key-value pairs:
567
+ *
568
+ * `key:value`
569
+ *
570
+ * + `key` is the namespace, type `string`.
571
+ * + `value` is the data of the extended fields data, type `struct`.
576
572
  */
577
573
  namespaces?: Record<string, Record<string, any>>;
578
574
  }
@@ -604,7 +600,7 @@ export interface CalculatePriceResponse {
604
600
  * of each line item before
605
601
  * the booking is actually created.
606
602
  *
607
- * Use [`Calculate Price`](https://example.com) to get the base price
603
+ * Use [`Calculate Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price) to get the base price
608
604
  * after the booking is created.
609
605
  *
610
606
  * Passing line items that belong to different services results in an error.
@@ -612,29 +608,27 @@ export interface CalculatePriceResponse {
612
608
  * ## Calculating the previewed price
613
609
  *
614
610
  * Wix Bookings has its own default pricing logic for previewing the price. You must
615
- * pass the `serviceId` in the [`slot`](https://example.com/)
616
- * or [`schedule`](https://example.com/) object to `Preview Price`.
611
+ * pass the `serviceId` in the `slot`
612
+ * or `schedule` object to [`Preview Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/preview-price).
617
613
  *
618
614
  * You cannot call `Preview Price` if you have customized Bookings pricing logic using the
619
- * [Bookings Pricing Provider SPI](https://example.com/). Calling `Preview Price` if custom pricing
615
+ * [Bookings Pricing Provider SPI](https://dev.wix.com/api/rest/wix-bookings/pricing-provider). Calling `Preview Price` if custom pricing
620
616
  * logic has been implemented for the site results in an error.
617
+ * @param bookingLineItems - List of line items to preview the price for.
621
618
  * @public
622
619
  * @documentationMaturity preview
620
+ * @requiredField bookingLineItems
623
621
  */
624
- export declare function previewPrice(options?: PreviewPriceOptions): Promise<PreviewPriceResponse>;
625
- export interface PreviewPriceOptions {
626
- /** List of line items to preview the price for. */
627
- bookingLineItems?: BookingLineItem[];
628
- }
622
+ export declare function previewPrice(bookingLineItems: BookingLineItem[]): Promise<PreviewPriceResponse>;
629
623
  /**
630
624
  * Calculates the base price of a booking.
631
625
  *
632
626
  *
633
627
  *
634
- * You can call `Calculate Price` after a booking is created. The returned calculated price includes information about each line
628
+ * You can call [`Calculate Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price) after a booking is created. The returned calculated price includes information about each line
635
629
  * item's price and the booking's total price.
636
630
  *
637
- * You can use [`Preview Price`](https://example.com) to get the base price
631
+ * You can use [`Preview Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/preview-price) to get the base price
638
632
  * before a booking is created.
639
633
  *
640
634
  * The calculated price is the base price that will be used as a basis for charging the customer.
@@ -644,15 +638,15 @@ export interface PreviewPriceOptions {
644
638
  * ## Calculating the price
645
639
  *
646
640
  * Wix Bookings has its own default pricing logic for calculating the price. When
647
- * using Wix Bookings' default pricing logic, you must pass the `serviceId` in the [`slot`](https://example.com/)
648
- * or [`schedule`](https://example.com/) object to `Calculate Price`.
641
+ * using Wix Bookings' default pricing logic, you must pass the `serviceId` in the `slot`
642
+ * or `schedule` object to [`Calculate Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price).
649
643
  *
650
644
  * Alternatively you can customize the pricing logic using the
651
- * [Bookings Pricing Provider SPI](https://example.com/).
645
+ * [Bookings Pricing Provider SPI](https://dev.wix.com/api/rest/wix-bookings/pricing-provider).
652
646
  * If you integrate with a pricing provider, the customized pricing logic becomes
653
647
  * the default logic. This means that, if the pricing provider SPI is implemented,
654
648
  * when calling the API's `Calculate Price` endpoint,
655
- * the [SPI's `Calculate Price` endpoint](https://example.com/) is used instead.
649
+ * the [SPI's `Calculate Price` endpoint](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price) is used instead.
656
650
  * @param booking - Booking to calculate the price for.
657
651
  * @public
658
652
  * @documentationMaturity preview
@@ -118,7 +118,7 @@ const _previewPriceResponse = {};
118
118
  * of each line item before
119
119
  * the booking is actually created.
120
120
  *
121
- * Use [`Calculate Price`](https://example.com) to get the base price
121
+ * Use [`Calculate Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price) to get the base price
122
122
  * after the booking is created.
123
123
  *
124
124
  * Passing line items that belong to different services results in an error.
@@ -126,19 +126,21 @@ const _previewPriceResponse = {};
126
126
  * ## Calculating the previewed price
127
127
  *
128
128
  * Wix Bookings has its own default pricing logic for previewing the price. You must
129
- * pass the `serviceId` in the [`slot`](https://example.com/)
130
- * or [`schedule`](https://example.com/) object to `Preview Price`.
129
+ * pass the `serviceId` in the `slot`
130
+ * or `schedule` object to [`Preview Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/preview-price).
131
131
  *
132
132
  * You cannot call `Preview Price` if you have customized Bookings pricing logic using the
133
- * [Bookings Pricing Provider SPI](https://example.com/). Calling `Preview Price` if custom pricing
133
+ * [Bookings Pricing Provider SPI](https://dev.wix.com/api/rest/wix-bookings/pricing-provider). Calling `Preview Price` if custom pricing
134
134
  * logic has been implemented for the site results in an error.
135
+ * @param bookingLineItems - List of line items to preview the price for.
135
136
  * @public
136
137
  * @documentationMaturity preview
138
+ * @requiredField bookingLineItems
137
139
  */
138
- export function previewPrice(options) {
140
+ export function previewPrice(bookingLineItems) {
139
141
  var _a, _b, _c;
140
142
  return __awaiter(this, arguments, void 0, function* () {
141
- const requestTransformation = { bookingLineItems: '$[0].bookingLineItems' };
143
+ const requestTransformation = { bookingLineItems: '$[0]' };
142
144
  const responseTransformation = '$';
143
145
  // @ts-ignore
144
146
  const { httpClient, sideEffects } = arguments[1];
@@ -160,7 +162,7 @@ export function previewPrice(options) {
160
162
  },
161
163
  customTransformation: responseTransformation,
162
164
  });
163
- const payload = toAmbassadorRequest([options]);
165
+ const payload = toAmbassadorRequest([bookingLineItems]);
164
166
  const reqOpts = ambassadorWixBookingsV2PriceInfo.previewPrice(payload);
165
167
  __log(`"PreviewPrice" sending request with: ${__inspect(reqOpts)}`);
166
168
  (_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
@@ -171,7 +173,7 @@ export function previewPrice(options) {
171
173
  }
172
174
  catch (err) {
173
175
  const transformedError = transformError(err, requestTransformation, [
174
- 'options',
176
+ 'bookingLineItems',
175
177
  ]);
176
178
  (_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
177
179
  throw transformedError;
@@ -183,10 +185,10 @@ export function previewPrice(options) {
183
185
  *
184
186
  *
185
187
  *
186
- * You can call `Calculate Price` after a booking is created. The returned calculated price includes information about each line
188
+ * You can call [`Calculate Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price) after a booking is created. The returned calculated price includes information about each line
187
189
  * item's price and the booking's total price.
188
190
  *
189
- * You can use [`Preview Price`](https://example.com) to get the base price
191
+ * You can use [`Preview Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/preview-price) to get the base price
190
192
  * before a booking is created.
191
193
  *
192
194
  * The calculated price is the base price that will be used as a basis for charging the customer.
@@ -196,15 +198,15 @@ export function previewPrice(options) {
196
198
  * ## Calculating the price
197
199
  *
198
200
  * Wix Bookings has its own default pricing logic for calculating the price. When
199
- * using Wix Bookings' default pricing logic, you must pass the `serviceId` in the [`slot`](https://example.com/)
200
- * or [`schedule`](https://example.com/) object to `Calculate Price`.
201
+ * using Wix Bookings' default pricing logic, you must pass the `serviceId` in the `slot`
202
+ * or `schedule` object to [`Calculate Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price).
201
203
  *
202
204
  * Alternatively you can customize the pricing logic using the
203
- * [Bookings Pricing Provider SPI](https://example.com/).
205
+ * [Bookings Pricing Provider SPI](https://dev.wix.com/api/rest/wix-bookings/pricing-provider).
204
206
  * If you integrate with a pricing provider, the customized pricing logic becomes
205
207
  * the default logic. This means that, if the pricing provider SPI is implemented,
206
208
  * when calling the API's `Calculate Price` endpoint,
207
- * the [SPI's `Calculate Price` endpoint](https://example.com/) is used instead.
209
+ * the [SPI's `Calculate Price` endpoint](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price) is used instead.
208
210
  * @param booking - Booking to calculate the price for.
209
211
  * @public
210
212
  * @documentationMaturity preview
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-v2-price-info.universal.js","sourceRoot":"","sources":["../../../src/bookings-v2-price-info.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAA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AM,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,cAAc,CAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,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"}
1
+ {"version":3,"file":"bookings-v2-price-info.universal.js","sourceRoot":"","sources":["../../../src/bookings-v2-price-info.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,KAAK,gCAAgC,MAAM,+BAA+B,CAAC;AAElF,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;AAED,MAAM,CAAC,MAAM,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;AAqT5B,MAAM,CAAN,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;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AE,qBAAqB;SAC5C,CAAC,CAAC;QAEH,MAAM,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAC;YAC9B,UAAU,EAAE,uBAAuB;YACnC,UAAU,EAAE,EAAE;YACd,kBAAkB,EAAE;gBAClB,KAAK,EAAE,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;gBACzB,cAAc,EAAE,aAAa;aAC9B;YACD,oBAAoB,EAAE,sBAAsB;SAC7C,CAAC,CAAC;QAEH,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAE/C,MAAM,OAAO,GAAG,gCAAgC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAEzE,KAAK,CAAC,0CAA0C,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAEtE,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,cAAc,CAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/bookings",
3
- "version": "1.0.103",
3
+ "version": "1.0.105",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -33,5 +33,5 @@
33
33
  "groupId": "com.wixpress.public-sdk-autogen"
34
34
  }
35
35
  },
36
- "falconPackageHash": "a3bdf7d364aa23da25c705bfab546f3a8a7c047ec17b288f43ee27c4"
36
+ "falconPackageHash": "9e3cc5f6e935f1329697ab5f83d229fbe86840f75f45296f99e839c6"
37
37
  }