@wix/auto_sdk_bookings_pricing 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/bookings-v2-price-info-pricing.http.d.ts +36 -37
- package/build/cjs/src/bookings-v2-price-info-pricing.http.js +36 -37
- package/build/cjs/src/bookings-v2-price-info-pricing.http.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info-pricing.public.d.ts +39 -38
- package/build/cjs/src/bookings-v2-price-info-pricing.public.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info-pricing.types.d.ts +61 -42
- package/build/cjs/src/bookings-v2-price-info-pricing.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info-pricing.universal.d.ts +129 -112
- package/build/cjs/src/bookings-v2-price-info-pricing.universal.js +39 -38
- package/build/cjs/src/bookings-v2-price-info-pricing.universal.js.map +1 -1
- package/build/es/src/bookings-v2-price-info-pricing.http.d.ts +36 -37
- package/build/es/src/bookings-v2-price-info-pricing.http.js +36 -37
- package/build/es/src/bookings-v2-price-info-pricing.http.js.map +1 -1
- package/build/es/src/bookings-v2-price-info-pricing.public.d.ts +39 -38
- package/build/es/src/bookings-v2-price-info-pricing.public.js.map +1 -1
- package/build/es/src/bookings-v2-price-info-pricing.types.d.ts +61 -42
- package/build/es/src/bookings-v2-price-info-pricing.types.js.map +1 -1
- package/build/es/src/bookings-v2-price-info-pricing.universal.d.ts +129 -112
- package/build/es/src/bookings-v2-price-info-pricing.universal.js +39 -38
- package/build/es/src/bookings-v2-price-info-pricing.universal.js.map +1 -1
- package/build/internal/cjs/src/bookings-v2-price-info-pricing.http.d.ts +36 -37
- package/build/internal/cjs/src/bookings-v2-price-info-pricing.http.js +36 -37
- package/build/internal/cjs/src/bookings-v2-price-info-pricing.http.js.map +1 -1
- package/build/internal/cjs/src/bookings-v2-price-info-pricing.public.d.ts +39 -38
- package/build/internal/cjs/src/bookings-v2-price-info-pricing.public.js.map +1 -1
- package/build/internal/cjs/src/bookings-v2-price-info-pricing.types.d.ts +61 -42
- package/build/internal/cjs/src/bookings-v2-price-info-pricing.types.js.map +1 -1
- package/build/internal/cjs/src/bookings-v2-price-info-pricing.universal.d.ts +129 -112
- package/build/internal/cjs/src/bookings-v2-price-info-pricing.universal.js +39 -38
- package/build/internal/cjs/src/bookings-v2-price-info-pricing.universal.js.map +1 -1
- package/build/internal/es/src/bookings-v2-price-info-pricing.http.d.ts +36 -37
- package/build/internal/es/src/bookings-v2-price-info-pricing.http.js +36 -37
- package/build/internal/es/src/bookings-v2-price-info-pricing.http.js.map +1 -1
- package/build/internal/es/src/bookings-v2-price-info-pricing.public.d.ts +39 -38
- package/build/internal/es/src/bookings-v2-price-info-pricing.public.js.map +1 -1
- package/build/internal/es/src/bookings-v2-price-info-pricing.types.d.ts +61 -42
- package/build/internal/es/src/bookings-v2-price-info-pricing.types.js.map +1 -1
- package/build/internal/es/src/bookings-v2-price-info-pricing.universal.d.ts +129 -112
- package/build/internal/es/src/bookings-v2-price-info-pricing.universal.js +39 -38
- package/build/internal/es/src/bookings-v2-price-info-pricing.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,60 +1,59 @@
|
|
|
1
1
|
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
2
|
/**
|
|
3
|
-
* Previews the base price for a set of line items belonging to the same
|
|
4
|
-
* before a
|
|
3
|
+
* Previews the base price for a set of line items belonging to the same
|
|
4
|
+
* service, before a booking is created. During the booking flow, additional
|
|
5
|
+
* taxes and fees may be added to the base price.
|
|
5
6
|
*
|
|
6
7
|
*
|
|
8
|
+
* ## Response
|
|
7
9
|
*
|
|
8
|
-
* The
|
|
9
|
-
* item
|
|
10
|
+
* The response includes each line item's individual preview price and the
|
|
11
|
+
* total of all line item preview prices. Note that the final price upon
|
|
12
|
+
* booking creation may differ from the preview price.
|
|
10
13
|
*
|
|
11
|
-
*
|
|
12
|
-
* `Preview Price` only estimates the base price by adding up the price
|
|
13
|
-
* of each line item before
|
|
14
|
-
* the booking is actually created.
|
|
14
|
+
* ## Errors
|
|
15
15
|
*
|
|
16
|
-
*
|
|
17
|
-
* after the booking is created.
|
|
16
|
+
* _Preview Price_ fails if:
|
|
18
17
|
*
|
|
19
|
-
*
|
|
18
|
+
* - You specify line items that belong to different *services*
|
|
19
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction)).
|
|
20
|
+
* - The site is using the *Bookings Pricing Integration SPI*
|
|
21
|
+
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-integration-service-plugin/introduction)).
|
|
20
22
|
*
|
|
21
|
-
* ##
|
|
23
|
+
* ## When to call Calculate Price instead
|
|
22
24
|
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* or `schedule` object to `previewPrice()`.
|
|
26
|
-
*
|
|
27
|
-
* You cannot call `previewPrice()` if you have customized Bookings pricing logic using the
|
|
28
|
-
* [BookingsCustomPricing](https://dev.wix.com/docs/velo/api-reference/wix-bookings-v2/service-plugins-spis/bookings-custom-pricing/introduction) service plugin. Calling `previewPrice` if custom pricing
|
|
29
|
-
* logic has been implemented for the site results in an error.
|
|
25
|
+
* To retrieve the price of an existing booking, call *Calculate Price*
|
|
26
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/pricing/calculate-price) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-api/calculate-price)).
|
|
30
27
|
*/
|
|
31
28
|
export declare function previewPrice(payload: object): RequestOptionsFactory<any>;
|
|
32
29
|
/**
|
|
33
30
|
* Calculates the base price of a booking.
|
|
34
31
|
*
|
|
35
32
|
*
|
|
33
|
+
* The returned price serves as the foundation for charging the customer. During the
|
|
34
|
+
* _eCommerce checkout_
|
|
35
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/introduction)),
|
|
36
|
+
* additional taxes and fees may be added to this base price.
|
|
36
37
|
*
|
|
37
|
-
*
|
|
38
|
-
* item's price and the booking's total price.
|
|
39
|
-
*
|
|
40
|
-
* You can use `previewPrice()` to get the base price
|
|
41
|
-
* before a booking is created.
|
|
38
|
+
* ## Price calculation method
|
|
42
39
|
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* and
|
|
40
|
+
* By default, Wix Bookings calculates a booking's price based on the relevant
|
|
41
|
+
* `serviceOptionsAndVariants.variants.values.price`
|
|
42
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
43
|
+
* You must then specify either `booking.bookedEntity.slot.serviceId` or
|
|
44
|
+
* `booking.bookedEntity.schedule.scheduleId`.
|
|
46
45
|
*
|
|
47
|
-
*
|
|
46
|
+
* If the business uses the *Wix Bookings Pricing Integration service plugin*
|
|
47
|
+
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-integration-service-plugin/introduction)),
|
|
48
|
+
* the returned `priceInfo` object reflects values received from the SPI implementor in
|
|
49
|
+
* _Calculate Price_
|
|
50
|
+
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-integration-service-plugin/calculate-price)).
|
|
51
|
+
* In this case, it suffices to specify `booking.bookedEntity`.
|
|
48
52
|
*
|
|
49
|
-
*
|
|
50
|
-
* using Wix Bookings' default pricing logic, you must pass the `serviceId` in the `slot`
|
|
51
|
-
* or `schedule` object to `calculatePrice()`.
|
|
53
|
+
* ## When to call Preview Price instead
|
|
52
54
|
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
* the default logic. This means that, if the Custom Pricing service plugin is implemented,
|
|
57
|
-
* when calling `calculatePrice()`,
|
|
58
|
-
* the customized logic is used instead.
|
|
55
|
+
* To estimate the price for multiple booking line items before the booking exists,
|
|
56
|
+
* call *Preview Price*
|
|
57
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/pricing/preview-price) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-api/preview-price)).
|
|
59
58
|
*/
|
|
60
59
|
export declare function calculatePrice(payload: object): RequestOptionsFactory<any>;
|
|
@@ -43,33 +43,30 @@ function resolveComWixpressBookingsPricingBookingsPricingServiceUrl(opts) {
|
|
|
43
43
|
}
|
|
44
44
|
const PACKAGE_NAME = '@wix/auto_sdk_bookings_pricing';
|
|
45
45
|
/**
|
|
46
|
-
* Previews the base price for a set of line items belonging to the same
|
|
47
|
-
* before a
|
|
46
|
+
* Previews the base price for a set of line items belonging to the same
|
|
47
|
+
* service, before a booking is created. During the booking flow, additional
|
|
48
|
+
* taxes and fees may be added to the base price.
|
|
48
49
|
*
|
|
49
50
|
*
|
|
51
|
+
* ## Response
|
|
50
52
|
*
|
|
51
|
-
* The
|
|
52
|
-
* item
|
|
53
|
+
* The response includes each line item's individual preview price and the
|
|
54
|
+
* total of all line item preview prices. Note that the final price upon
|
|
55
|
+
* booking creation may differ from the preview price.
|
|
53
56
|
*
|
|
54
|
-
*
|
|
55
|
-
* `Preview Price` only estimates the base price by adding up the price
|
|
56
|
-
* of each line item before
|
|
57
|
-
* the booking is actually created.
|
|
57
|
+
* ## Errors
|
|
58
58
|
*
|
|
59
|
-
*
|
|
60
|
-
* after the booking is created.
|
|
59
|
+
* _Preview Price_ fails if:
|
|
61
60
|
*
|
|
62
|
-
*
|
|
61
|
+
* - You specify line items that belong to different *services*
|
|
62
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction)).
|
|
63
|
+
* - The site is using the *Bookings Pricing Integration SPI*
|
|
64
|
+
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-integration-service-plugin/introduction)).
|
|
63
65
|
*
|
|
64
|
-
* ##
|
|
66
|
+
* ## When to call Calculate Price instead
|
|
65
67
|
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
* or `schedule` object to `previewPrice()`.
|
|
69
|
-
*
|
|
70
|
-
* You cannot call `previewPrice()` if you have customized Bookings pricing logic using the
|
|
71
|
-
* [BookingsCustomPricing](https://dev.wix.com/docs/velo/api-reference/wix-bookings-v2/service-plugins-spis/bookings-custom-pricing/introduction) service plugin. Calling `previewPrice` if custom pricing
|
|
72
|
-
* logic has been implemented for the site results in an error.
|
|
68
|
+
* To retrieve the price of an existing booking, call *Calculate Price*
|
|
69
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/pricing/calculate-price) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-api/calculate-price)).
|
|
73
70
|
*/
|
|
74
71
|
function previewPrice(payload) {
|
|
75
72
|
function __previewPrice({ host }) {
|
|
@@ -110,29 +107,31 @@ exports.previewPrice = previewPrice;
|
|
|
110
107
|
* Calculates the base price of a booking.
|
|
111
108
|
*
|
|
112
109
|
*
|
|
110
|
+
* The returned price serves as the foundation for charging the customer. During the
|
|
111
|
+
* _eCommerce checkout_
|
|
112
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/introduction)),
|
|
113
|
+
* additional taxes and fees may be added to this base price.
|
|
113
114
|
*
|
|
114
|
-
*
|
|
115
|
-
* item's price and the booking's total price.
|
|
116
|
-
*
|
|
117
|
-
* You can use `previewPrice()` to get the base price
|
|
118
|
-
* before a booking is created.
|
|
115
|
+
* ## Price calculation method
|
|
119
116
|
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
* and
|
|
117
|
+
* By default, Wix Bookings calculates a booking's price based on the relevant
|
|
118
|
+
* `serviceOptionsAndVariants.variants.values.price`
|
|
119
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
120
|
+
* You must then specify either `booking.bookedEntity.slot.serviceId` or
|
|
121
|
+
* `booking.bookedEntity.schedule.scheduleId`.
|
|
123
122
|
*
|
|
124
|
-
*
|
|
123
|
+
* If the business uses the *Wix Bookings Pricing Integration service plugin*
|
|
124
|
+
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-integration-service-plugin/introduction)),
|
|
125
|
+
* the returned `priceInfo` object reflects values received from the SPI implementor in
|
|
126
|
+
* _Calculate Price_
|
|
127
|
+
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-integration-service-plugin/calculate-price)).
|
|
128
|
+
* In this case, it suffices to specify `booking.bookedEntity`.
|
|
125
129
|
*
|
|
126
|
-
*
|
|
127
|
-
* using Wix Bookings' default pricing logic, you must pass the `serviceId` in the `slot`
|
|
128
|
-
* or `schedule` object to `calculatePrice()`.
|
|
130
|
+
* ## When to call Preview Price instead
|
|
129
131
|
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
* the default logic. This means that, if the Custom Pricing service plugin is implemented,
|
|
134
|
-
* when calling `calculatePrice()`,
|
|
135
|
-
* the customized logic is used instead.
|
|
132
|
+
* To estimate the price for multiple booking line items before the booking exists,
|
|
133
|
+
* call *Preview Price*
|
|
134
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/pricing/preview-price) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-api/preview-price)).
|
|
136
135
|
*/
|
|
137
136
|
function calculatePrice(payload) {
|
|
138
137
|
function __calculatePrice({ host }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-price-info-pricing.http.js","sourceRoot":"","sources":["../../../src/bookings-v2-price-info-pricing.http.ts"],"names":[],"mappings":";;;AAAA,kEAAsF;AACtF,kEAAsF;AACtF,0EAAkG;AAClG,sFAAkF;AAClF,gEAA2D;AAI3D,SAAS,0DAA0D,CACjE,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,wBAAwB;gBACjC,QAAQ,EAAE,EAAE;aACb;YACD;gBACE,OAAO,EAAE,iCAAiC;gBAC1C,QAAQ,EAAE,aAAa;aACxB;SACF;QACD,CAAC,EAAE;YACD;gBACE,OAAO,EAAE,wBAAwB;gBACjC,QAAQ,EAAE,EAAE;aACb;YACD;gBACE,OAAO,EAAE,iCAAiC;gBAC1C,QAAQ,EAAE,aAAa;aACxB;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,iCAAiC;gBAC1C,QAAQ,EAAE,aAAa;aACxB;YACD;gBACE,OAAO,EAAE,sBAAsB;gBAC/B,QAAQ,EAAE,aAAa;aACxB;SACF;KACF,CAAC;IAEF,OAAO,IAAA,yBAAU,EAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,YAAY,GAAG,gCAAgC,CAAC;AAEtD
|
|
1
|
+
{"version":3,"file":"bookings-v2-price-info-pricing.http.js","sourceRoot":"","sources":["../../../src/bookings-v2-price-info-pricing.http.ts"],"names":[],"mappings":";;;AAAA,kEAAsF;AACtF,kEAAsF;AACtF,0EAAkG;AAClG,sFAAkF;AAClF,gEAA2D;AAI3D,SAAS,0DAA0D,CACjE,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,wBAAwB;gBACjC,QAAQ,EAAE,EAAE;aACb;YACD;gBACE,OAAO,EAAE,iCAAiC;gBAC1C,QAAQ,EAAE,aAAa;aACxB;SACF;QACD,CAAC,EAAE;YACD;gBACE,OAAO,EAAE,wBAAwB;gBACjC,QAAQ,EAAE,E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C;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAlDD,wCAkDC"}
|
|
@@ -6,33 +6,30 @@ export declare const __metadata: {
|
|
|
6
6
|
export declare function previewPrice(httpClient: HttpClient): PreviewPriceSignature;
|
|
7
7
|
interface PreviewPriceSignature {
|
|
8
8
|
/**
|
|
9
|
-
* Previews the base price for a set of line items belonging to the same
|
|
10
|
-
* before a
|
|
9
|
+
* Previews the base price for a set of line items belonging to the same
|
|
10
|
+
* service, before a booking is created. During the booking flow, additional
|
|
11
|
+
* taxes and fees may be added to the base price.
|
|
11
12
|
*
|
|
12
13
|
*
|
|
14
|
+
* ## Response
|
|
13
15
|
*
|
|
14
|
-
* The
|
|
15
|
-
* item
|
|
16
|
+
* The response includes each line item's individual preview price and the
|
|
17
|
+
* total of all line item preview prices. Note that the final price upon
|
|
18
|
+
* booking creation may differ from the preview price.
|
|
16
19
|
*
|
|
17
|
-
*
|
|
18
|
-
* `Preview Price` only estimates the base price by adding up the price
|
|
19
|
-
* of each line item before
|
|
20
|
-
* the booking is actually created.
|
|
20
|
+
* ## Errors
|
|
21
21
|
*
|
|
22
|
-
*
|
|
23
|
-
* after the booking is created.
|
|
22
|
+
* _Preview Price_ fails if:
|
|
24
23
|
*
|
|
25
|
-
*
|
|
24
|
+
* - You specify line items that belong to different *services*
|
|
25
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction)).
|
|
26
|
+
* - The site is using the *Bookings Pricing Integration SPI*
|
|
27
|
+
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-integration-service-plugin/introduction)).
|
|
26
28
|
*
|
|
27
|
-
* ##
|
|
29
|
+
* ## When to call Calculate Price instead
|
|
28
30
|
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* or `schedule` object to `previewPrice()`.
|
|
32
|
-
*
|
|
33
|
-
* You cannot call `previewPrice()` if you have customized Bookings pricing logic using the
|
|
34
|
-
* [BookingsCustomPricing](https://dev.wix.com/docs/velo/api-reference/wix-bookings-v2/service-plugins-spis/bookings-custom-pricing/introduction) service plugin. Calling `previewPrice` if custom pricing
|
|
35
|
-
* logic has been implemented for the site results in an error.
|
|
31
|
+
* To retrieve the price of an existing booking, call *Calculate Price*
|
|
32
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/pricing/calculate-price) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-api/calculate-price)).
|
|
36
33
|
* @param - List of line items to preview the price for.
|
|
37
34
|
*/
|
|
38
35
|
(bookingLineItems: BookingLineItem[]): Promise<PreviewPriceResponse & PreviewPriceResponseNonNullableFields>;
|
|
@@ -43,30 +40,34 @@ interface CalculatePriceSignature {
|
|
|
43
40
|
* Calculates the base price of a booking.
|
|
44
41
|
*
|
|
45
42
|
*
|
|
43
|
+
* The returned price serves as the foundation for charging the customer. During the
|
|
44
|
+
* _eCommerce checkout_
|
|
45
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/introduction)),
|
|
46
|
+
* additional taxes and fees may be added to this base price.
|
|
46
47
|
*
|
|
47
|
-
*
|
|
48
|
-
* item's price and the booking's total price.
|
|
49
|
-
*
|
|
50
|
-
* You can use `previewPrice()` to get the base price
|
|
51
|
-
* before a booking is created.
|
|
48
|
+
* ## Price calculation method
|
|
52
49
|
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* and
|
|
50
|
+
* By default, Wix Bookings calculates a booking's price based on the relevant
|
|
51
|
+
* `serviceOptionsAndVariants.variants.values.price`
|
|
52
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
53
|
+
* You must then specify either `booking.bookedEntity.slot.serviceId` or
|
|
54
|
+
* `booking.bookedEntity.schedule.scheduleId`.
|
|
56
55
|
*
|
|
57
|
-
*
|
|
56
|
+
* If the business uses the *Wix Bookings Pricing Integration service plugin*
|
|
57
|
+
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-integration-service-plugin/introduction)),
|
|
58
|
+
* the returned `priceInfo` object reflects values received from the SPI implementor in
|
|
59
|
+
* _Calculate Price_
|
|
60
|
+
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-integration-service-plugin/calculate-price)).
|
|
61
|
+
* In this case, it suffices to specify `booking.bookedEntity`.
|
|
58
62
|
*
|
|
59
|
-
*
|
|
60
|
-
* using Wix Bookings' default pricing logic, you must pass the `serviceId` in the `slot`
|
|
61
|
-
* or `schedule` object to `calculatePrice()`.
|
|
63
|
+
* ## When to call Preview Price instead
|
|
62
64
|
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
* @param - Booking to calculate the price for.
|
|
65
|
+
* To estimate the price for multiple booking line items before the booking exists,
|
|
66
|
+
* call *Preview Price*
|
|
67
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/pricing/preview-price) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-api/preview-price)).
|
|
68
|
+
* @param - _Booking_
|
|
69
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/introduction))
|
|
70
|
+
* to calculate the base price for.
|
|
70
71
|
*/
|
|
71
72
|
(booking: Booking): Promise<CalculatePriceResponse & CalculatePriceResponseNonNullableFields>;
|
|
72
73
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-price-info-pricing.public.js","sourceRoot":"","sources":["../../../src/bookings-v2-price-info-pricing.public.ts"],"names":[],"mappings":";;;AACA,+GASuD;AAE1C,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,YAAY,CAAC,UAAsB;IACjD,OAAO,CAAC,gBAAmC,EAAE,EAAE,CAC7C,IAAA,0DAAqB,EACnB,gBAAgB;IAChB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,oCAOC;
|
|
1
|
+
{"version":3,"file":"bookings-v2-price-info-pricing.public.js","sourceRoot":"","sources":["../../../src/bookings-v2-price-info-pricing.public.ts"],"names":[],"mappings":";;;AACA,+GASuD;AAE1C,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,YAAY,CAAC,UAAsB;IACjD,OAAO,CAAC,gBAAmC,EAAE,EAAE,CAC7C,IAAA,0DAAqB,EACnB,gBAAgB;IAChB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,oCAOC;AAmCD,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CAAC,OAAgB,EAAE,EAAE,CAC1B,IAAA,4DAAuB,EACrB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,wCASC;AAyCD,6GA+CuD;AA9CrD,oIAAA,KAAK,OAAA;AAaL,4IAAA,aAAa,OAAA;AAWb,2IAAA,YAAY,OAAA;AAEZ,2IAAA,YAAY,OAAA;AAEZ,sJAAA,uBAAuB,OAAA;AAGvB,4IAAA,aAAa,OAAA;AACb,uIAAA,QAAQ,OAAA;AAOR,oJAAA,qBAAqB,OAAA;AAMrB,wIAAA,SAAS,OAAA"}
|
|
@@ -1,27 +1,25 @@
|
|
|
1
1
|
export interface PriceInfo extends PriceInfoTotalPriceOneOf {
|
|
2
2
|
/**
|
|
3
|
-
* Calculated total price. Available
|
|
4
|
-
* [
|
|
5
|
-
*
|
|
6
|
-
* [`schedule.rate.labeledPriceOptions`](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/schedule/schedule-object) object.
|
|
3
|
+
* Calculated total price. Available if the _service's_
|
|
4
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction))
|
|
5
|
+
* `payment.rateType` is `FIXED`, `VARIED`, or `NO_FEE`.
|
|
7
6
|
*/
|
|
8
7
|
calculatedPrice?: number;
|
|
9
8
|
/**
|
|
10
|
-
* Description of the total price. Available
|
|
11
|
-
* [
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* price has been set up as a text value in the
|
|
17
|
-
* [`schedule.rate.priceText`](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/schedule/schedule-object) property.
|
|
9
|
+
* Description of the total price. Available if the _service's_
|
|
10
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction))
|
|
11
|
+
* `payment.rateType` is `CUSTOM`.
|
|
12
|
+
* @deprecated Description of the total price. Available if the _service's_
|
|
13
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction))
|
|
14
|
+
* `payment.rateType` is `CUSTOM`.
|
|
18
15
|
* @replacedBy price_description_info.original
|
|
19
16
|
* @targetRemovalDate 2025-01-10
|
|
20
17
|
*/
|
|
21
18
|
priceDescription?: string;
|
|
22
19
|
/**
|
|
23
|
-
* Description of the total price. Available
|
|
24
|
-
*
|
|
20
|
+
* Description of the total price. Available if the _service's_
|
|
21
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction))
|
|
22
|
+
* `payment.rateType` is `CUSTOM`.
|
|
25
23
|
*/
|
|
26
24
|
priceDescriptionInfo?: PriceDescriptionInfo;
|
|
27
25
|
/**
|
|
@@ -30,60 +28,74 @@ export interface PriceInfo extends PriceInfoTotalPriceOneOf {
|
|
|
30
28
|
*/
|
|
31
29
|
bookingLineItems?: BookingLineItem[];
|
|
32
30
|
/**
|
|
33
|
-
* Total deposit the customer must pay when booking the service.
|
|
34
|
-
*
|
|
35
|
-
*
|
|
31
|
+
* Total deposit the customer must pay when booking the service. Available if
|
|
32
|
+
* the _service's_
|
|
33
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction))
|
|
34
|
+
* `payment.options.deposit` is set to `true`.
|
|
36
35
|
*/
|
|
37
36
|
deposit?: number | null;
|
|
38
37
|
}
|
|
39
38
|
/** @oneof */
|
|
40
39
|
export interface PriceInfoTotalPriceOneOf {
|
|
41
40
|
/**
|
|
42
|
-
* Calculated total price. Available
|
|
43
|
-
* [
|
|
44
|
-
*
|
|
45
|
-
* [`schedule.rate.labeledPriceOptions`](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/schedule/schedule-object) object.
|
|
41
|
+
* Calculated total price. Available if the _service's_
|
|
42
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction))
|
|
43
|
+
* `payment.rateType` is `FIXED`, `VARIED`, or `NO_FEE`.
|
|
46
44
|
*/
|
|
47
45
|
calculatedPrice?: number;
|
|
48
46
|
/**
|
|
49
|
-
* Description of the total price. Available
|
|
50
|
-
* [
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* price has been set up as a text value in the
|
|
56
|
-
* [`schedule.rate.priceText`](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/schedule/schedule-object) property.
|
|
47
|
+
* Description of the total price. Available if the _service's_
|
|
48
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction))
|
|
49
|
+
* `payment.rateType` is `CUSTOM`.
|
|
50
|
+
* @deprecated Description of the total price. Available if the _service's_
|
|
51
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction))
|
|
52
|
+
* `payment.rateType` is `CUSTOM`.
|
|
57
53
|
* @replacedBy price_description_info.original
|
|
58
54
|
* @targetRemovalDate 2025-01-10
|
|
59
55
|
*/
|
|
60
56
|
priceDescription?: string;
|
|
61
57
|
/**
|
|
62
|
-
* Description of the total price. Available
|
|
63
|
-
*
|
|
58
|
+
* Description of the total price. Available if the _service's_
|
|
59
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction))
|
|
60
|
+
* `payment.rateType` is `CUSTOM`.
|
|
64
61
|
*/
|
|
65
62
|
priceDescriptionInfo?: PriceDescriptionInfo;
|
|
66
63
|
}
|
|
67
64
|
export interface BookingLineItem {
|
|
68
65
|
/**
|
|
69
|
-
*
|
|
66
|
+
* _Service ID_
|
|
67
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction)).
|
|
70
68
|
*
|
|
71
|
-
* Required
|
|
69
|
+
* Required in *Calculate Price*
|
|
70
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/pricing/calculate-price) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-api/calculate-price))
|
|
71
|
+
* if the site uses Wix Bookings' default pricing logic.
|
|
72
72
|
*
|
|
73
|
-
* Optional
|
|
74
|
-
* [
|
|
73
|
+
* Optional in *Calculate Price*
|
|
74
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/pricing/calculate-price) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-api/calculate-price))
|
|
75
|
+
* if the site use pricing logic defined by a
|
|
76
|
+
* Wix Bookings Pricing Integration service plugin*
|
|
77
|
+
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-integration-service-plugin/introduction))
|
|
78
|
+
* integration.
|
|
75
79
|
* @format GUID
|
|
76
80
|
*/
|
|
77
81
|
serviceId?: string | null;
|
|
78
82
|
/**
|
|
79
|
-
*
|
|
83
|
+
* _Resource ID_
|
|
84
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction)).
|
|
85
|
+
* Required in *Calculate Price*
|
|
86
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/pricing/calculate-price) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-api/calculate-price))
|
|
87
|
+
* and *Preview Price*
|
|
88
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/pricing/preview-price) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-api/preview-price))
|
|
89
|
+
* for appointment-based services and classes.
|
|
80
90
|
* @format GUID
|
|
81
91
|
*/
|
|
82
92
|
resourceId?: string | null;
|
|
83
93
|
/**
|
|
84
94
|
* Custom choices. Choices are specific values for an option the customer can choose to book.
|
|
85
95
|
* For example, the option `ageGroup` may have these choices: `child`, `student`, `adult`, and `senior`.
|
|
86
|
-
* Each choice may have a different price.
|
|
96
|
+
* Each choice may have a different price. Refer to the *Service Options And Variants API*
|
|
97
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction))
|
|
98
|
+
* for more details.
|
|
87
99
|
*/
|
|
88
100
|
choices?: ServiceChoice[];
|
|
89
101
|
/**
|
|
@@ -142,12 +154,15 @@ export interface Duration {
|
|
|
142
154
|
}
|
|
143
155
|
export interface PriceDescriptionInfo {
|
|
144
156
|
/**
|
|
145
|
-
*
|
|
157
|
+
* Price description in the site's main language. Refer to the *Site Properties API*
|
|
158
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/site-properties/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/site-properties/properties/introduction))
|
|
159
|
+
* for more details.
|
|
146
160
|
* @maxLength 50
|
|
147
161
|
*/
|
|
148
162
|
original?: string;
|
|
149
163
|
/**
|
|
150
|
-
*
|
|
164
|
+
* Translated price description. Available if the booking was made in a
|
|
165
|
+
* secondary language.
|
|
151
166
|
* @maxLength 50
|
|
152
167
|
*/
|
|
153
168
|
translated?: string | null;
|
|
@@ -165,7 +180,11 @@ export interface PreviewPriceResponse {
|
|
|
165
180
|
priceInfo?: PriceInfo;
|
|
166
181
|
}
|
|
167
182
|
export interface CalculatePriceRequest {
|
|
168
|
-
/**
|
|
183
|
+
/**
|
|
184
|
+
* _Booking_
|
|
185
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/introduction))
|
|
186
|
+
* to calculate the base price for.
|
|
187
|
+
*/
|
|
169
188
|
booking: Booking;
|
|
170
189
|
}
|
|
171
190
|
/** An entity representing a scheduled appointment, class session, or course. */
|
|
@@ -811,7 +830,7 @@ export interface ParticipantChoices {
|
|
|
811
830
|
/**
|
|
812
831
|
* Information about the booked service choices. Includes the number of participants.
|
|
813
832
|
* @minSize 1
|
|
814
|
-
* @maxSize
|
|
833
|
+
* @maxSize 20
|
|
815
834
|
*/
|
|
816
835
|
serviceChoices?: ServiceChoices[];
|
|
817
836
|
}
|
|
@@ -839,7 +858,7 @@ export interface MultiServiceBookingInfo {
|
|
|
839
858
|
type?: MultiServiceBookingType;
|
|
840
859
|
}
|
|
841
860
|
export interface CalculatePriceResponse {
|
|
842
|
-
/** Information about each line item's price and the
|
|
861
|
+
/** Information about each line item's base price and the total base price. */
|
|
843
862
|
priceInfo?: PriceInfo;
|
|
844
863
|
}
|
|
845
864
|
interface PriceDescriptionInfoNonNullableFields {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-price-info-pricing.types.js","sourceRoot":"","sources":["../../../src/bookings-v2-price-info-pricing.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"bookings-v2-price-info-pricing.types.js","sourceRoot":"","sources":["../../../src/bookings-v2-price-info-pricing.types.ts"],"names":[],"mappings":";;;AAuUA;;;;;GAKG;AACH,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,sEAA2C,CAAA;IAC3C,kEAAuC,CAAA;IACvC,kEAAuC,CAAA;AACzC,CAAC,EAJW,uBAAuB,uCAAvB,uBAAuB,QAIlC;AAgJD,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AA4JD,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,kDAAkD;IAClD,sCAAyB,CAAA;IACzB,iBAAiB;IACjB,oCAAuB,CAAA;IACvB,sGAAsG;IACtG,oCAAuB,CAAA;AACzB,CAAC,EAPW,SAAS,yBAAT,SAAS,QAOpB;AAED,sBAAsB;AACtB,IAAY,aAoCX;AApCD,WAAY,aAAa;IACvB;;;OAGG;IACH,oCAAmB,CAAA;IACnB;;;;;OAKG;IACH,wCAAuB,CAAA;IACvB;;;;;;OAMG;IACH,sCAAqB,CAAA;IACrB;;;OAGG;IACH,o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