@wix/bookings 1.0.102 → 1.0.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.http.d.ts +9 -14
- package/build/cjs/src/bookings-reader-v2-extended-booking.http.js +9 -14
- package/build/cjs/src/bookings-reader-v2-extended-booking.http.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.d.ts +2 -2
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.d.ts +24 -39
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js +11 -16
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.http.js +4 -0
- package/build/cjs/src/bookings-services-v2-service.http.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.types.d.ts +2 -2
- package/build/cjs/src/bookings-v2-booking.universal.d.ts +2 -2
- package/build/cjs/src/bookings-v2-price-info.http.js +3 -3
- package/build/cjs/src/bookings-v2-price-info.http.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.public.d.ts +3 -3
- package/build/cjs/src/bookings-v2-price-info.public.js +1 -1
- package/build/cjs/src/bookings-v2-price-info.public.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.types.d.ts +3 -3
- package/build/cjs/src/bookings-v2-price-info.universal.d.ts +32 -38
- package/build/cjs/src/bookings-v2-price-info.universal.js +6 -4
- package/build/cjs/src/bookings-v2-price-info.universal.js.map +1 -1
- package/build/es/index.d.ts +1 -1
- package/build/es/index.js +1 -1
- package/build/es/index.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.http.d.ts +9 -14
- package/build/es/src/bookings-reader-v2-extended-booking.http.js +9 -14
- package/build/es/src/bookings-reader-v2-extended-booking.http.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.types.d.ts +2 -2
- package/build/es/src/bookings-reader-v2-extended-booking.universal.d.ts +24 -39
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js +11 -16
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.http.js +4 -0
- package/build/es/src/bookings-services-v2-service.http.js.map +1 -1
- package/build/es/src/bookings-v2-booking.types.d.ts +2 -2
- package/build/es/src/bookings-v2-booking.universal.d.ts +2 -2
- package/build/es/src/bookings-v2-price-info.http.js +3 -3
- package/build/es/src/bookings-v2-price-info.http.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.public.d.ts +3 -3
- package/build/es/src/bookings-v2-price-info.public.js +1 -1
- package/build/es/src/bookings-v2-price-info.public.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.types.d.ts +3 -3
- package/build/es/src/bookings-v2-price-info.universal.d.ts +32 -38
- package/build/es/src/bookings-v2-price-info.universal.js +6 -4
- package/build/es/src/bookings-v2-price-info.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -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
|
-
*
|
|
18
|
+
* service's
|
|
19
19
|
* price has been set up as a numerical value in the
|
|
20
|
-
*
|
|
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
|
-
*
|
|
25
|
+
* service's
|
|
26
26
|
* price has been set up as a text value in the
|
|
27
|
-
*
|
|
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
|
|
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
|
|
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
|
-
*
|
|
131
|
-
*
|
|
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
|
-
*
|
|
140
|
-
*
|
|
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
|
-
*
|
|
144
|
-
*
|
|
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
|
*/
|
|
@@ -256,12 +252,12 @@ export interface BookedSlot {
|
|
|
256
252
|
scheduleId?: string;
|
|
257
253
|
/**
|
|
258
254
|
* The start time of this slot in [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
|
|
259
|
-
* format.
|
|
255
|
+
* format.
|
|
260
256
|
*/
|
|
261
257
|
startDate?: string | null;
|
|
262
258
|
/**
|
|
263
259
|
* The end time of this slot in [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
|
|
264
|
-
* format.
|
|
260
|
+
* format.
|
|
265
261
|
*/
|
|
266
262
|
endDate?: string | null;
|
|
267
263
|
/** The timezone according to which the slot was shown to the user when booking, and should be shown in future. */
|
|
@@ -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://
|
|
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
|
-
*
|
|
418
|
-
*
|
|
419
|
-
*
|
|
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
|
-
*
|
|
575
|
-
*
|
|
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
|
}
|
|
@@ -618,14 +614,12 @@ export interface CalculatePriceResponse {
|
|
|
618
614
|
* You cannot call `Preview Price` if you have customized Bookings pricing logic using the
|
|
619
615
|
* [Bookings Pricing Provider SPI](https://example.com/). 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(
|
|
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
|
*
|
|
@@ -154,13 +154,15 @@ const _previewPriceResponse = {};
|
|
|
154
154
|
* You cannot call `Preview Price` if you have customized Bookings pricing logic using the
|
|
155
155
|
* [Bookings Pricing Provider SPI](https://example.com/). Calling `Preview Price` if custom pricing
|
|
156
156
|
* logic has been implemented for the site results in an error.
|
|
157
|
+
* @param bookingLineItems - List of line items to preview the price for.
|
|
157
158
|
* @public
|
|
158
159
|
* @documentationMaturity preview
|
|
160
|
+
* @requiredField bookingLineItems
|
|
159
161
|
*/
|
|
160
|
-
function previewPrice(
|
|
162
|
+
function previewPrice(bookingLineItems) {
|
|
161
163
|
var _a, _b, _c;
|
|
162
164
|
return __awaiter(this, arguments, void 0, function* () {
|
|
163
|
-
const requestTransformation = { bookingLineItems: '$[0]
|
|
165
|
+
const requestTransformation = { bookingLineItems: '$[0]' };
|
|
164
166
|
const responseTransformation = '$';
|
|
165
167
|
// @ts-ignore
|
|
166
168
|
const { httpClient, sideEffects } = arguments[1];
|
|
@@ -182,7 +184,7 @@ function previewPrice(options) {
|
|
|
182
184
|
},
|
|
183
185
|
customTransformation: responseTransformation,
|
|
184
186
|
});
|
|
185
|
-
const payload = toAmbassadorRequest([
|
|
187
|
+
const payload = toAmbassadorRequest([bookingLineItems]);
|
|
186
188
|
const reqOpts = ambassadorWixBookingsV2PriceInfo.previewPrice(payload);
|
|
187
189
|
__log(`"PreviewPrice" sending request with: ${__inspect(reqOpts)}`);
|
|
188
190
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
@@ -193,7 +195,7 @@ function previewPrice(options) {
|
|
|
193
195
|
}
|
|
194
196
|
catch (err) {
|
|
195
197
|
const transformedError = (0, velo_1.transformError)(err, requestTransformation, [
|
|
196
|
-
'
|
|
198
|
+
'bookingLineItems',
|
|
197
199
|
]);
|
|
198
200
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
199
201
|
throw transformedError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-price-info.universal.js","sourceRoot":"","sources":["../../../src/bookings-v2-price-info.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,gGAAkF;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;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"bookings-v2-price-info.universal.js","sourceRoot":"","sources":["../../../src/bookings-v2-price-info.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,gGAAkF;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;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAqT5B,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA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ants from './src/bookings-catalog-v1-service-op
|
|
|
8
8
|
export * as extendedBookings from './src/bookings-reader-v2-extended-booking.public';
|
|
9
9
|
export * as services from './src/bookings-services-v2-service.public';
|
|
10
10
|
export * as bookings from './src/bookings-v2-booking.public';
|
|
11
|
-
export * as
|
|
11
|
+
export * as pricing from './src/bookings-v2-price-info.public';
|
package/build/es/index.js
CHANGED
|
@@ -8,5 +8,5 @@ export * as serviceOptionsAndVariants from './src/bookings-catalog-v1-service-op
|
|
|
8
8
|
export * as extendedBookings from './src/bookings-reader-v2-extended-booking.public';
|
|
9
9
|
export * as services from './src/bookings-services-v2-service.public';
|
|
10
10
|
export * as bookings from './src/bookings-v2-booking.public';
|
|
11
|
-
export * as
|
|
11
|
+
export * as pricing from './src/bookings-v2-price-info.public';
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
package/build/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,sDAAsD,CAAC;AACrF,OAAO,KAAK,SAAS,MAAM,2CAA2C,CAAC;AACvE,OAAO,KAAK,oBAAoB,MAAM,yDAAyD,CAAC;AAChG,OAAO,KAAK,QAAQ,MAAM,2CAA2C,CAAC;AACtE,OAAO,KAAK,iBAAiB,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,YAAY,MAAM,gDAAgD,CAAC;AAC/E,OAAO,KAAK,yBAAyB,MAAM,+DAA+D,CAAC;AAC3G,OAAO,KAAK,gBAAgB,MAAM,kDAAkD,CAAC;AACrF,OAAO,KAAK,QAAQ,MAAM,2CAA2C,CAAC;AACtE,OAAO,KAAK,QAAQ,MAAM,kCAAkC,CAAC;AAC7D,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,sDAAsD,CAAC;AACrF,OAAO,KAAK,SAAS,MAAM,2CAA2C,CAAC;AACvE,OAAO,KAAK,oBAAoB,MAAM,yDAAyD,CAAC;AAChG,OAAO,KAAK,QAAQ,MAAM,2CAA2C,CAAC;AACtE,OAAO,KAAK,iBAAiB,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,YAAY,MAAM,gDAAgD,CAAC;AAC/E,OAAO,KAAK,yBAAyB,MAAM,+DAA+D,CAAC;AAC3G,OAAO,KAAK,gBAAgB,MAAM,kDAAkD,CAAC;AACrF,OAAO,KAAK,QAAQ,MAAM,2CAA2C,CAAC;AACtE,OAAO,KAAK,QAAQ,MAAM,kCAAkC,CAAC;AAC7D,OAAO,KAAK,OAAO,MAAM,qCAAqC,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
2
|
import { QueryExtendedBookingsRequest, QueryExtendedBookingsResponse } from './bookings-reader-v2-extended-booking.types';
|
|
3
3
|
/**
|
|
4
|
-
* Retrieves a list of bookings, given the provided paging, filtering, and sorting.
|
|
4
|
+
* Retrieves a list of bookings, including additional extended information, given the provided paging, filtering, and sorting.
|
|
5
5
|
*
|
|
6
|
-
* Up to 100 bookings can be returned per request.
|
|
6
|
+
* Up to 100 extended bookings can be returned per request.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* `queryExtendedBookings()` runs with these defaults, which you can override:
|
|
9
9
|
*
|
|
10
10
|
* - `createdDate` sorted in `DESC` order
|
|
11
11
|
* - `cursorPaging.limit` is `50`
|
|
@@ -15,24 +15,19 @@ import { QueryExtendedBookingsRequest, QueryExtendedBookingsResponse } from './b
|
|
|
15
15
|
* for the bookings. To do so, pass `withBookingAllowedActions` as `true`.
|
|
16
16
|
*
|
|
17
17
|
*
|
|
18
|
-
* For field support see
|
|
19
|
-
* [supported filters](https://
|
|
18
|
+
* For field support, see
|
|
19
|
+
* [supported filters](https://www.wix.com/velo/reference/wix-bookings-v2/extendedbookings/supported-filters)
|
|
20
20
|
* for more information.
|
|
21
21
|
*
|
|
22
|
-
* You can
|
|
23
|
-
* more than once,
|
|
22
|
+
* You can specify a filter only once per query. If you specify a filter
|
|
23
|
+
* more than once, the first filter determines the extended bookings returns and the second filter is ignored.
|
|
24
24
|
*
|
|
25
|
-
* When
|
|
25
|
+
* When filtering by date, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
26
26
|
*
|
|
27
27
|
* Bookings that are part of a schedule don't have a `sessionId`. Therefore you
|
|
28
28
|
* must use the `sessionId` filter that isn't part of the `query` object to
|
|
29
29
|
* filter bookings for courses.
|
|
30
30
|
*
|
|
31
|
-
*
|
|
32
|
-
* [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
|
|
33
|
-
* [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging),
|
|
34
|
-
* and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
|
|
35
|
-
*
|
|
36
|
-
* When calling Query Extended Bookings, the retrieved data may not contain your most recent changes.
|
|
31
|
+
* When calling `queryExtendedBookings()`, the retrieved data may not contain your most recent changes.
|
|
37
32
|
*/
|
|
38
33
|
export declare function queryExtendedBookings(payload: QueryExtendedBookingsRequest): RequestOptionsFactory<QueryExtendedBookingsResponse>;
|
|
@@ -50,11 +50,11 @@ function resolveComWixpressBookingsReaderV2BookingsReaderUrl(opts) {
|
|
|
50
50
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
-
* Retrieves a list of bookings, given the provided paging, filtering, and sorting.
|
|
53
|
+
* Retrieves a list of bookings, including additional extended information, given the provided paging, filtering, and sorting.
|
|
54
54
|
*
|
|
55
|
-
* Up to 100 bookings can be returned per request.
|
|
55
|
+
* Up to 100 extended bookings can be returned per request.
|
|
56
56
|
*
|
|
57
|
-
*
|
|
57
|
+
* `queryExtendedBookings()` runs with these defaults, which you can override:
|
|
58
58
|
*
|
|
59
59
|
* - `createdDate` sorted in `DESC` order
|
|
60
60
|
* - `cursorPaging.limit` is `50`
|
|
@@ -64,25 +64,20 @@ function resolveComWixpressBookingsReaderV2BookingsReaderUrl(opts) {
|
|
|
64
64
|
* for the bookings. To do so, pass `withBookingAllowedActions` as `true`.
|
|
65
65
|
*
|
|
66
66
|
*
|
|
67
|
-
* For field support see
|
|
68
|
-
* [supported filters](https://
|
|
67
|
+
* For field support, see
|
|
68
|
+
* [supported filters](https://www.wix.com/velo/reference/wix-bookings-v2/extendedbookings/supported-filters)
|
|
69
69
|
* for more information.
|
|
70
70
|
*
|
|
71
|
-
* You can
|
|
72
|
-
* more than once,
|
|
71
|
+
* You can specify a filter only once per query. If you specify a filter
|
|
72
|
+
* more than once, the first filter determines the extended bookings returns and the second filter is ignored.
|
|
73
73
|
*
|
|
74
|
-
* When
|
|
74
|
+
* When filtering by date, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
75
75
|
*
|
|
76
76
|
* Bookings that are part of a schedule don't have a `sessionId`. Therefore you
|
|
77
77
|
* must use the `sessionId` filter that isn't part of the `query` object to
|
|
78
78
|
* filter bookings for courses.
|
|
79
79
|
*
|
|
80
|
-
*
|
|
81
|
-
* [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
|
|
82
|
-
* [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging),
|
|
83
|
-
* and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
|
|
84
|
-
*
|
|
85
|
-
* When calling Query Extended Bookings, the retrieved data may not contain your most recent changes.
|
|
80
|
+
* When calling `queryExtendedBookings()`, the retrieved data may not contain your most recent changes.
|
|
86
81
|
*/
|
|
87
82
|
export function queryExtendedBookings(payload) {
|
|
88
83
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_queryExtendedBookingsRequest, {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-reader-v2-extended-booking.http.js","sourceR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,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED
|
|
1
|
+
{"version":3,"file":"bookings-reader-v2-extended-booking.http.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAQhD,MAAM,QAAQ,GAAG,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AACjD,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,6BAA6B;IACvC,SAAS,EAAE,6BAA6B;CACzC,CAAC;AACF,MAAM,QAAQ,GAAG;IACf,WAAW,EAAE,2BAA2B;IACxC,SAAS,EAAE,2BAA2B;IACtC,OAAO,EAAE,2BAA2B;IACpC,WAAW,EAAE,2BAA2B;IACxC,cAAc,EAAE,iBAAiB;CAClC,CAAC;AACF,MAAM,eAAe,GAAG,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC;AACpD,MAAM,gBAAgB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACjD,MAAM,6BAA6B,GAAG,EAAE,CAAC;AACzC,MAAM,8BAA8B,GAAG,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,CAAC;AAEhF,SAAS,mDAAmD,CAC1D,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,CAAC,EAAE;YACD;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,qBAAqB,EAAE;YACrB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;YACD;gBACE,OAAO,EAAE,2BAA2B;gBACpC,QAAQ,EAAE,EAAE;aACb;SACF;KACF,CAAC;IAEF,OAAO,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,UAAU,qBAAqB,CACnC,OAAqC;IAErC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,UAAU,CACrD,6BAA6B,EAC7B,EAAE,CACH,CAAC;IACF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,8BAA8B,EAAE;QACvE,QAAQ;QACR,gBAAgB;QAChB,QAAQ;QACR,eAAe;QACf,gBAAgB;KACjB,CAAC,CAAC;IAEH,SAAS,uBAAuB,CAAC,EAAE,IAAI,EAAO;QAC5C,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,MAAM,EAAE,MAAa;YACrB,GAAG,EAAE,mDAAmD,CAAC;gBACvD,SAAS,EAAE,6BAA6B;gBACxC,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,uBAAuB,CAAC,OAAO,GAAG,OAAO,CAAC;IAE1C,OAAO,uBAAuB,CAAC;AACjC,CAAC"}
|
|
@@ -166,12 +166,12 @@ export interface BookedSlot {
|
|
|
166
166
|
scheduleId?: string;
|
|
167
167
|
/**
|
|
168
168
|
* The start time of this slot in [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
|
|
169
|
-
* format.
|
|
169
|
+
* format.
|
|
170
170
|
*/
|
|
171
171
|
startDate?: string | null;
|
|
172
172
|
/**
|
|
173
173
|
* The end time of this slot in [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
|
|
174
|
-
* format.
|
|
174
|
+
* format.
|
|
175
175
|
*/
|
|
176
176
|
endDate?: string | null;
|
|
177
177
|
/** The timezone according to which the slot was shown to the user when booking, and should be shown in future. */
|
|
@@ -14,7 +14,7 @@ export interface ExtendedBooking {
|
|
|
14
14
|
*/
|
|
15
15
|
allowedActions?: AllowedActions;
|
|
16
16
|
/**
|
|
17
|
-
* Information about
|
|
17
|
+
* Information about attendance. Available only when passing
|
|
18
18
|
* `withBookingAttendanceInfo` as `true`.
|
|
19
19
|
*/
|
|
20
20
|
attendance?: Attendance;
|
|
@@ -172,12 +172,12 @@ export interface BookedSlot {
|
|
|
172
172
|
scheduleId?: string;
|
|
173
173
|
/**
|
|
174
174
|
* The start time of this slot in [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
|
|
175
|
-
* format.
|
|
175
|
+
* format.
|
|
176
176
|
*/
|
|
177
177
|
startDate?: string | null;
|
|
178
178
|
/**
|
|
179
179
|
* The end time of this slot in [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339)
|
|
180
|
-
* format.
|
|
180
|
+
* format.
|
|
181
181
|
*/
|
|
182
182
|
endDate?: string | null;
|
|
183
183
|
/** The timezone according to which the slot was shown to the user when booking, and should be shown in future. */
|
|
@@ -549,21 +549,15 @@ export interface Attendance {
|
|
|
549
549
|
* General Information about the booking's attendance.
|
|
550
550
|
*
|
|
551
551
|
* + `NOT_SET`: There is no available attendance information.
|
|
552
|
-
* + `ATTENDED`: At least
|
|
553
|
-
* + `NOT_ATTENDED`: No participant
|
|
552
|
+
* + `ATTENDED`: At least 1 participant attended the session.
|
|
553
|
+
* + `NOT_ATTENDED`: No participant attended the session.
|
|
554
554
|
*/
|
|
555
555
|
status?: AttendanceStatus;
|
|
556
|
-
/**
|
|
557
|
-
* Total number of participants who have that attended the session. Can
|
|
558
|
-
* be greater than `1` for bookings with multiple participants.
|
|
559
|
-
*/
|
|
556
|
+
/** Total number of participants that attended the session. */
|
|
560
557
|
numberOfAttendees?: number;
|
|
561
558
|
}
|
|
562
559
|
export interface QueryExtendedBookingRequest {
|
|
563
|
-
/**
|
|
564
|
-
* Information about filters, paging, and sorting.
|
|
565
|
-
* __Note__: `fields` and `fieldsets` aren't supported.
|
|
566
|
-
*/
|
|
560
|
+
/** Information about filters, paging, and sorting. */
|
|
567
561
|
query?: QueryV2;
|
|
568
562
|
/**
|
|
569
563
|
* Whether information about which actions the customer can perform
|
|
@@ -646,8 +640,8 @@ export interface CursorPaging {
|
|
|
646
640
|
}
|
|
647
641
|
export interface QueryExtendedBookingResponse {
|
|
648
642
|
/**
|
|
649
|
-
* Retrieved bookings
|
|
650
|
-
* the customer can perform
|
|
643
|
+
* Retrieved bookings and additional information about attendance or actions
|
|
644
|
+
* the customer can perform
|
|
651
645
|
*/
|
|
652
646
|
extendedBookings?: ExtendedBooking[];
|
|
653
647
|
/** Paging metadata. */
|
|
@@ -672,10 +666,7 @@ export interface Cursors {
|
|
|
672
666
|
prev?: string | null;
|
|
673
667
|
}
|
|
674
668
|
export interface QueryExtendedBookingsRequest {
|
|
675
|
-
/**
|
|
676
|
-
* Information about filters, paging, and sorting.
|
|
677
|
-
* __Note__: `fields` and `fieldsets` aren't supported.
|
|
678
|
-
*/
|
|
669
|
+
/** Information about filters, paging, and sorting. */
|
|
679
670
|
query: CommonQueryV2;
|
|
680
671
|
/**
|
|
681
672
|
* Whether information about which actions the customer can perform
|
|
@@ -693,8 +684,7 @@ export interface CommonQueryV2 extends CommonQueryV2PagingMethodOneOf {
|
|
|
693
684
|
* "fieldName2":{"$operator":"value2"}
|
|
694
685
|
* }`
|
|
695
686
|
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
696
|
-
*
|
|
697
|
-
* See [Supported Filters](https://bo.wix.com/wix-docs/rest/bookings/bookingsreader-v2---wip/supported-filters)
|
|
687
|
+
* See [Supported Filters](https://www.wix.com/velo/reference/wix-bookings-v2/extendedbookings/supported-filters)
|
|
698
688
|
* for a full list.
|
|
699
689
|
*/
|
|
700
690
|
filter?: Record<string, any> | null;
|
|
@@ -723,19 +713,19 @@ export interface CommonPaging {
|
|
|
723
713
|
}
|
|
724
714
|
export interface QueryExtendedBookingsResponse {
|
|
725
715
|
/**
|
|
726
|
-
* Retrieved bookings
|
|
727
|
-
* the customer can perform
|
|
716
|
+
* Retrieved bookings and additional information, such as information about about the attendance or actions
|
|
717
|
+
* the customer can perform.
|
|
728
718
|
*/
|
|
729
719
|
extendedBookings?: ExtendedBooking[];
|
|
730
720
|
/** Paging metadata. */
|
|
731
721
|
pagingMetadata?: PagingMetadataV2;
|
|
732
722
|
}
|
|
733
723
|
/**
|
|
734
|
-
* Retrieves a list of bookings, given the provided paging, filtering, and sorting.
|
|
724
|
+
* Retrieves a list of bookings, including additional extended information, given the provided paging, filtering, and sorting.
|
|
735
725
|
*
|
|
736
|
-
* Up to 100 bookings can be returned per request.
|
|
726
|
+
* Up to 100 extended bookings can be returned per request.
|
|
737
727
|
*
|
|
738
|
-
*
|
|
728
|
+
* `queryExtendedBookings()` runs with these defaults, which you can override:
|
|
739
729
|
*
|
|
740
730
|
* - `createdDate` sorted in `DESC` order
|
|
741
731
|
* - `cursorPaging.limit` is `50`
|
|
@@ -745,30 +735,25 @@ export interface QueryExtendedBookingsResponse {
|
|
|
745
735
|
* for the bookings. To do so, pass `withBookingAllowedActions` as `true`.
|
|
746
736
|
*
|
|
747
737
|
*
|
|
748
|
-
* For field support see
|
|
749
|
-
* [supported filters](https://
|
|
738
|
+
* For field support, see
|
|
739
|
+
* [supported filters](https://www.wix.com/velo/reference/wix-bookings-v2/extendedbookings/supported-filters)
|
|
750
740
|
* for more information.
|
|
751
741
|
*
|
|
752
|
-
* You can
|
|
753
|
-
* more than once,
|
|
742
|
+
* You can specify a filter only once per query. If you specify a filter
|
|
743
|
+
* more than once, the first filter determines the extended bookings returns and the second filter is ignored.
|
|
754
744
|
*
|
|
755
|
-
* When
|
|
745
|
+
* When filtering by date, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
756
746
|
*
|
|
757
747
|
* Bookings that are part of a schedule don't have a `sessionId`. Therefore you
|
|
758
748
|
* must use the `sessionId` filter that isn't part of the `query` object to
|
|
759
749
|
* filter bookings for courses.
|
|
760
750
|
*
|
|
761
|
-
*
|
|
762
|
-
* [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
|
|
763
|
-
* [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging),
|
|
764
|
-
* and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
|
|
765
|
-
*
|
|
766
|
-
* When calling Query Extended Bookings, the retrieved data may not contain your most recent changes.
|
|
767
|
-
* @param query - Information about filters, paging, and sorting.
|
|
768
|
-
* __Note__: `fields` and `fieldsets` aren't supported.
|
|
751
|
+
* When calling `queryExtendedBookings()`, the retrieved data may not contain your most recent changes.
|
|
769
752
|
* @public
|
|
770
753
|
* @documentationMaturity preview
|
|
771
754
|
* @requiredField query
|
|
755
|
+
* @param query - Information about filters, paging, and sorting.
|
|
756
|
+
* @param options - Additional options for performing the query.
|
|
772
757
|
*/
|
|
773
758
|
export declare function queryExtendedBookings(query: CommonQueryV2, options?: QueryExtendedBookingsOptions): Promise<QueryExtendedBookingsResponse>;
|
|
774
759
|
export interface QueryExtendedBookingsOptions {
|
|
@@ -114,11 +114,11 @@ export var SortOrder;
|
|
|
114
114
|
const _queryExtendedBookingsRequest = {};
|
|
115
115
|
const _queryExtendedBookingsResponse = {};
|
|
116
116
|
/**
|
|
117
|
-
* Retrieves a list of bookings, given the provided paging, filtering, and sorting.
|
|
117
|
+
* Retrieves a list of bookings, including additional extended information, given the provided paging, filtering, and sorting.
|
|
118
118
|
*
|
|
119
|
-
* Up to 100 bookings can be returned per request.
|
|
119
|
+
* Up to 100 extended bookings can be returned per request.
|
|
120
120
|
*
|
|
121
|
-
*
|
|
121
|
+
* `queryExtendedBookings()` runs with these defaults, which you can override:
|
|
122
122
|
*
|
|
123
123
|
* - `createdDate` sorted in `DESC` order
|
|
124
124
|
* - `cursorPaging.limit` is `50`
|
|
@@ -128,30 +128,25 @@ const _queryExtendedBookingsResponse = {};
|
|
|
128
128
|
* for the bookings. To do so, pass `withBookingAllowedActions` as `true`.
|
|
129
129
|
*
|
|
130
130
|
*
|
|
131
|
-
* For field support see
|
|
132
|
-
* [supported filters](https://
|
|
131
|
+
* For field support, see
|
|
132
|
+
* [supported filters](https://www.wix.com/velo/reference/wix-bookings-v2/extendedbookings/supported-filters)
|
|
133
133
|
* for more information.
|
|
134
134
|
*
|
|
135
|
-
* You can
|
|
136
|
-
* more than once,
|
|
135
|
+
* You can specify a filter only once per query. If you specify a filter
|
|
136
|
+
* more than once, the first filter determines the extended bookings returns and the second filter is ignored.
|
|
137
137
|
*
|
|
138
|
-
* When
|
|
138
|
+
* When filtering by date, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
139
139
|
*
|
|
140
140
|
* Bookings that are part of a schedule don't have a `sessionId`. Therefore you
|
|
141
141
|
* must use the `sessionId` filter that isn't part of the `query` object to
|
|
142
142
|
* filter bookings for courses.
|
|
143
143
|
*
|
|
144
|
-
*
|
|
145
|
-
* [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
|
|
146
|
-
* [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging),
|
|
147
|
-
* and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
|
|
148
|
-
*
|
|
149
|
-
* When calling Query Extended Bookings, the retrieved data may not contain your most recent changes.
|
|
150
|
-
* @param query - Information about filters, paging, and sorting.
|
|
151
|
-
* __Note__: `fields` and `fieldsets` aren't supported.
|
|
144
|
+
* When calling `queryExtendedBookings()`, the retrieved data may not contain your most recent changes.
|
|
152
145
|
* @public
|
|
153
146
|
* @documentationMaturity preview
|
|
154
147
|
* @requiredField query
|
|
148
|
+
* @param query - Information about filters, paging, and sorting.
|
|
149
|
+
* @param options - Additional options for performing the query.
|
|
155
150
|
*/
|
|
156
151
|
export function queryExtendedBookings(query, options) {
|
|
157
152
|
var _a, _b, _c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-reader-v2-extended-booking.universal.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,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,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AJW,KAAK,KAAL,KAAK,QAIhB;AAsCD,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uDAAuC,CAAA;IACvC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;AACb,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;
|
|
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,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;YACD,oBAAoB,EAAE,sBAAsB;SAC7C,CAAC,CAAC;QAEH,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;QAEtD,MAAM,OAAO,GACX,4CAA4C,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;QAE9E,KAAK,CAAC,iDAAiD,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAE7E,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;QAC5B,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,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/b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,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"}
|
|
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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