@wix/bookings 1.0.104 → 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.
@@ -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>;
@@ -75,7 +75,7 @@ function resolveComWixpressBookingsPricingBookingsPricingServiceUrl(opts) {
75
75
  * of each line item before
76
76
  * the booking is actually created.
77
77
  *
78
- * Use [`Calculate Price`](https://example.com) to get the base price
78
+ * Use [`Calculate Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price) to get the base price
79
79
  * after the booking is created.
80
80
  *
81
81
  * Passing line items that belong to different services results in an error.
@@ -83,11 +83,11 @@ function resolveComWixpressBookingsPricingBookingsPricingServiceUrl(opts) {
83
83
  * ## Calculating the previewed price
84
84
  *
85
85
  * Wix Bookings has its own default pricing logic for previewing the price. You must
86
- * pass the `serviceId` in the [`slot`](https://example.com/)
87
- * or [`schedule`](https://example.com/) object to `Preview Price`.
86
+ * pass the `serviceId` in the `slot`
87
+ * or `schedule` object to [`Preview Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/preview-price).
88
88
  *
89
89
  * You cannot call `Preview Price` if you have customized Bookings pricing logic using the
90
- * [Bookings Pricing Provider SPI](https://example.com/). Calling `Preview Price` if custom pricing
90
+ * [Bookings Pricing Provider SPI](https://dev.wix.com/api/rest/wix-bookings/pricing-provider). Calling `Preview Price` if custom pricing
91
91
  * logic has been implemented for the site results in an error.
92
92
  */
93
93
  function previewPrice(payload) {
@@ -119,10 +119,10 @@ exports.previewPrice = previewPrice;
119
119
  *
120
120
  *
121
121
  *
122
- * You can call `Calculate Price` after a booking is created. The returned calculated price includes information about each line
122
+ * 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
123
123
  * item's price and the booking's total price.
124
124
  *
125
- * You can use [`Preview Price`](https://example.com) to get the base price
125
+ * You can use [`Preview Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/preview-price) to get the base price
126
126
  * before a booking is created.
127
127
  *
128
128
  * The calculated price is the base price that will be used as a basis for charging the customer.
@@ -132,15 +132,15 @@ exports.previewPrice = previewPrice;
132
132
  * ## Calculating the price
133
133
  *
134
134
  * Wix Bookings has its own default pricing logic for calculating the price. When
135
- * using Wix Bookings' default pricing logic, you must pass the `serviceId` in the [`slot`](https://example.com/)
136
- * or [`schedule`](https://example.com/) object to `Calculate Price`.
135
+ * using Wix Bookings' default pricing logic, you must pass the `serviceId` in the `slot`
136
+ * or `schedule` object to [`Calculate Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price).
137
137
  *
138
138
  * Alternatively you can customize the pricing logic using the
139
- * [Bookings Pricing Provider SPI](https://example.com/).
139
+ * [Bookings Pricing Provider SPI](https://dev.wix.com/api/rest/wix-bookings/pricing-provider).
140
140
  * If you integrate with a pricing provider, the customized pricing logic becomes
141
141
  * the default logic. This means that, if the pricing provider SPI is implemented,
142
142
  * when calling the API's `Calculate Price` endpoint,
143
- * the [SPI's `Calculate Price` endpoint](https://example.com/) is used instead.
143
+ * the [SPI's `Calculate Price` endpoint](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price) is used instead.
144
144
  */
145
145
  function calculatePrice(payload) {
146
146
  const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_calculatePriceRequest, { _address, _addressLocation, _booking, _contactDetails });
@@ -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. */
@@ -600,7 +600,7 @@ export interface CalculatePriceResponse {
600
600
  * of each line item before
601
601
  * the booking is actually created.
602
602
  *
603
- * 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
604
604
  * after the booking is created.
605
605
  *
606
606
  * Passing line items that belong to different services results in an error.
@@ -608,11 +608,11 @@ export interface CalculatePriceResponse {
608
608
  * ## Calculating the previewed price
609
609
  *
610
610
  * Wix Bookings has its own default pricing logic for previewing the price. You must
611
- * pass the `serviceId` in the [`slot`](https://example.com/)
612
- * 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).
613
613
  *
614
614
  * You cannot call `Preview Price` if you have customized Bookings pricing logic using the
615
- * [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
616
616
  * logic has been implemented for the site results in an error.
617
617
  * @param bookingLineItems - List of line items to preview the price for.
618
618
  * @public
@@ -625,10 +625,10 @@ export declare function previewPrice(bookingLineItems: BookingLineItem[]): Promi
625
625
  *
626
626
  *
627
627
  *
628
- * 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
629
629
  * item's price and the booking's total price.
630
630
  *
631
- * 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
632
632
  * before a booking is created.
633
633
  *
634
634
  * The calculated price is the base price that will be used as a basis for charging the customer.
@@ -638,15 +638,15 @@ export declare function previewPrice(bookingLineItems: BookingLineItem[]): Promi
638
638
  * ## Calculating the price
639
639
  *
640
640
  * Wix Bookings has its own default pricing logic for calculating the price. When
641
- * using Wix Bookings' default pricing logic, you must pass the `serviceId` in the [`slot`](https://example.com/)
642
- * 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).
643
643
  *
644
644
  * Alternatively you can customize the pricing logic using the
645
- * [Bookings Pricing Provider SPI](https://example.com/).
645
+ * [Bookings Pricing Provider SPI](https://dev.wix.com/api/rest/wix-bookings/pricing-provider).
646
646
  * If you integrate with a pricing provider, the customized pricing logic becomes
647
647
  * the default logic. This means that, if the pricing provider SPI is implemented,
648
648
  * when calling the API's `Calculate Price` endpoint,
649
- * 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.
650
650
  * @param booking - Booking to calculate the price for.
651
651
  * @public
652
652
  * @documentationMaturity preview
@@ -140,7 +140,7 @@ const _previewPriceResponse = {};
140
140
  * of each line item before
141
141
  * the booking is actually created.
142
142
  *
143
- * Use [`Calculate Price`](https://example.com) to get the base price
143
+ * Use [`Calculate Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price) to get the base price
144
144
  * after the booking is created.
145
145
  *
146
146
  * Passing line items that belong to different services results in an error.
@@ -148,11 +148,11 @@ const _previewPriceResponse = {};
148
148
  * ## Calculating the previewed price
149
149
  *
150
150
  * Wix Bookings has its own default pricing logic for previewing the price. You must
151
- * pass the `serviceId` in the [`slot`](https://example.com/)
152
- * or [`schedule`](https://example.com/) object to `Preview Price`.
151
+ * pass the `serviceId` in the `slot`
152
+ * or `schedule` object to [`Preview Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/preview-price).
153
153
  *
154
154
  * You cannot call `Preview Price` if you have customized Bookings pricing logic using the
155
- * [Bookings Pricing Provider SPI](https://example.com/). Calling `Preview Price` if custom pricing
155
+ * [Bookings Pricing Provider SPI](https://dev.wix.com/api/rest/wix-bookings/pricing-provider). Calling `Preview Price` if custom pricing
156
156
  * logic has been implemented for the site results in an error.
157
157
  * @param bookingLineItems - List of line items to preview the price for.
158
158
  * @public
@@ -208,10 +208,10 @@ exports.previewPrice = previewPrice;
208
208
  *
209
209
  *
210
210
  *
211
- * You can call `Calculate Price` after a booking is created. The returned calculated price includes information about each line
211
+ * 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
212
212
  * item's price and the booking's total price.
213
213
  *
214
- * You can use [`Preview Price`](https://example.com) to get the base price
214
+ * You can use [`Preview Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/preview-price) to get the base price
215
215
  * before a booking is created.
216
216
  *
217
217
  * The calculated price is the base price that will be used as a basis for charging the customer.
@@ -221,15 +221,15 @@ exports.previewPrice = previewPrice;
221
221
  * ## Calculating the price
222
222
  *
223
223
  * Wix Bookings has its own default pricing logic for calculating the price. When
224
- * using Wix Bookings' default pricing logic, you must pass the `serviceId` in the [`slot`](https://example.com/)
225
- * or [`schedule`](https://example.com/) object to `Calculate Price`.
224
+ * using Wix Bookings' default pricing logic, you must pass the `serviceId` in the `slot`
225
+ * or `schedule` object to [`Calculate Price`](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price).
226
226
  *
227
227
  * Alternatively you can customize the pricing logic using the
228
- * [Bookings Pricing Provider SPI](https://example.com/).
228
+ * [Bookings Pricing Provider SPI](https://dev.wix.com/api/rest/wix-bookings/pricing-provider).
229
229
  * If you integrate with a pricing provider, the customized pricing logic becomes
230
230
  * the default logic. This means that, if the pricing provider SPI is implemented,
231
231
  * when calling the API's `Calculate Price` endpoint,
232
- * the [SPI's `Calculate Price` endpoint](https://example.com/) is used instead.
232
+ * the [SPI's `Calculate Price` endpoint](https://dev.wix.com/api/rest/wix-bookings/pricing/calculate-price) is used instead.
233
233
  * @param booking - Booking to calculate the price for.
234
234
  * @public
235
235
  * @documentationMaturity preview
@@ -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>;
@@ -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 });
@@ -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. */
@@ -600,7 +600,7 @@ export interface CalculatePriceResponse {
600
600
  * of each line item before
601
601
  * the booking is actually created.
602
602
  *
603
- * 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
604
604
  * after the booking is created.
605
605
  *
606
606
  * Passing line items that belong to different services results in an error.
@@ -608,11 +608,11 @@ export interface CalculatePriceResponse {
608
608
  * ## Calculating the previewed price
609
609
  *
610
610
  * Wix Bookings has its own default pricing logic for previewing the price. You must
611
- * pass the `serviceId` in the [`slot`](https://example.com/)
612
- * 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).
613
613
  *
614
614
  * You cannot call `Preview Price` if you have customized Bookings pricing logic using the
615
- * [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
616
616
  * logic has been implemented for the site results in an error.
617
617
  * @param bookingLineItems - List of line items to preview the price for.
618
618
  * @public
@@ -625,10 +625,10 @@ export declare function previewPrice(bookingLineItems: BookingLineItem[]): Promi
625
625
  *
626
626
  *
627
627
  *
628
- * 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
629
629
  * item's price and the booking's total price.
630
630
  *
631
- * 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
632
632
  * before a booking is created.
633
633
  *
634
634
  * The calculated price is the base price that will be used as a basis for charging the customer.
@@ -638,15 +638,15 @@ export declare function previewPrice(bookingLineItems: BookingLineItem[]): Promi
638
638
  * ## Calculating the price
639
639
  *
640
640
  * Wix Bookings has its own default pricing logic for calculating the price. When
641
- * using Wix Bookings' default pricing logic, you must pass the `serviceId` in the [`slot`](https://example.com/)
642
- * 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).
643
643
  *
644
644
  * Alternatively you can customize the pricing logic using the
645
- * [Bookings Pricing Provider SPI](https://example.com/).
645
+ * [Bookings Pricing Provider SPI](https://dev.wix.com/api/rest/wix-bookings/pricing-provider).
646
646
  * If you integrate with a pricing provider, the customized pricing logic becomes
647
647
  * the default logic. This means that, if the pricing provider SPI is implemented,
648
648
  * when calling the API's `Calculate Price` endpoint,
649
- * 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.
650
650
  * @param booking - Booking to calculate the price for.
651
651
  * @public
652
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,11 +126,11 @@ 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
135
  * @param bookingLineItems - List of line items to preview the price for.
136
136
  * @public
@@ -185,10 +185,10 @@ export function previewPrice(bookingLineItems) {
185
185
  *
186
186
  *
187
187
  *
188
- * 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
189
189
  * item's price and the booking's total price.
190
190
  *
191
- * 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
192
192
  * before a booking is created.
193
193
  *
194
194
  * The calculated price is the base price that will be used as a basis for charging the customer.
@@ -198,15 +198,15 @@ export function previewPrice(bookingLineItems) {
198
198
  * ## Calculating the price
199
199
  *
200
200
  * Wix Bookings has its own default pricing logic for calculating the price. When
201
- * using Wix Bookings' default pricing logic, you must pass the `serviceId` in the [`slot`](https://example.com/)
202
- * 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).
203
203
  *
204
204
  * Alternatively you can customize the pricing logic using the
205
- * [Bookings Pricing Provider SPI](https://example.com/).
205
+ * [Bookings Pricing Provider SPI](https://dev.wix.com/api/rest/wix-bookings/pricing-provider).
206
206
  * If you integrate with a pricing provider, the customized pricing logic becomes
207
207
  * the default logic. This means that, if the pricing provider SPI is implemented,
208
208
  * when calling the API's `Calculate Price` endpoint,
209
- * 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.
210
210
  * @param booking - Booking to calculate the price for.
211
211
  * @public
212
212
  * @documentationMaturity preview
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/bookings",
3
- "version": "1.0.104",
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": "d129e2a630dfa605b0d8ae2a4d99e7e4aaee36a5b9dc87c35d6a8709"
36
+ "falconPackageHash": "9e3cc5f6e935f1329697ab5f83d229fbe86840f75f45296f99e839c6"
37
37
  }