@wix/bookings 1.0.42 → 1.0.44
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-calendar-v1-session.public.d.ts +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.public.js +2 -1
- package/build/cjs/src/bookings-calendar-v1-session.public.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.types.d.ts +28 -12
- package/build/cjs/src/bookings-calendar-v1-session.types.js +11 -1
- package/build/cjs/src/bookings-calendar-v1-session.types.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.universal.d.ts +46 -11
- package/build/cjs/src/bookings-calendar-v1-session.universal.js +23 -1
- package/build/cjs/src/bookings-calendar-v1-session.universal.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +7 -7
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +8 -7
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js +1 -0
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.http.d.ts +23 -1
- package/build/cjs/src/bookings-services-v2-service.http.js +23 -1
- package/build/cjs/src/bookings-services-v2-service.http.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.types.d.ts +52 -33
- package/build/cjs/src/bookings-services-v2-service.types.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.universal.d.ts +73 -33
- package/build/cjs/src/bookings-services-v2-service.universal.js +21 -0
- package/build/cjs/src/bookings-services-v2-service.universal.js.map +1 -1
- package/build/es/src/bookings-calendar-v1-session.public.d.ts +1 -1
- package/build/es/src/bookings-calendar-v1-session.public.js +1 -1
- package/build/es/src/bookings-calendar-v1-session.public.js.map +1 -1
- package/build/es/src/bookings-calendar-v1-session.types.d.ts +28 -12
- package/build/es/src/bookings-calendar-v1-session.types.js +10 -0
- package/build/es/src/bookings-calendar-v1-session.types.js.map +1 -1
- package/build/es/src/bookings-calendar-v1-session.universal.d.ts +46 -11
- package/build/es/src/bookings-calendar-v1-session.universal.js +22 -0
- package/build/es/src/bookings-calendar-v1-session.universal.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +7 -7
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +8 -7
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js +1 -0
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.http.d.ts +23 -1
- package/build/es/src/bookings-services-v2-service.http.js +23 -1
- package/build/es/src/bookings-services-v2-service.http.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.types.d.ts +52 -33
- package/build/es/src/bookings-services-v2-service.types.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.universal.d.ts +73 -33
- package/build/es/src/bookings-services-v2-service.universal.js +21 -0
- package/build/es/src/bookings-services-v2-service.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -11,15 +11,15 @@ export interface Service {
|
|
|
11
11
|
sortOrder?: number | null;
|
|
12
12
|
/** Service name. */
|
|
13
13
|
name?: string | null;
|
|
14
|
-
/** Service description,
|
|
14
|
+
/** Service description, such as `High-class hair styling, cuts, straightening and color.` */
|
|
15
15
|
description?: string | null;
|
|
16
|
-
/** Short service description,
|
|
16
|
+
/** Short service description, such as `Hair styling.` */
|
|
17
17
|
tagLine?: string | null;
|
|
18
18
|
/** Default maximum number of customers that can book the service. The service cannot be booked beyond this capacity. */
|
|
19
19
|
defaultCapacity?: number | null;
|
|
20
20
|
/** Media associated with the service. */
|
|
21
21
|
media?: Media;
|
|
22
|
-
/** Whether the service is hidden from the site.
|
|
22
|
+
/** Whether the service is hidden from the site. */
|
|
23
23
|
hidden?: boolean | null;
|
|
24
24
|
/** The category the service is associated with. */
|
|
25
25
|
category?: V2Category;
|
|
@@ -61,19 +61,19 @@ export interface Service {
|
|
|
61
61
|
*/
|
|
62
62
|
mainSlug?: Slug;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
64
|
+
* URLs to various service-related pages, such as the calendar page and the booking page.
|
|
65
65
|
* @readonly
|
|
66
66
|
*/
|
|
67
67
|
urls?: URLs;
|
|
68
68
|
/** Custom SEO data for the service. */
|
|
69
69
|
seoData?: SeoSchema;
|
|
70
70
|
/**
|
|
71
|
-
* Date and time the service was created.
|
|
71
|
+
* Date and time the service was created.
|
|
72
72
|
* @readonly
|
|
73
73
|
*/
|
|
74
74
|
createdDate?: Date;
|
|
75
75
|
/**
|
|
76
|
-
* Date and time the service was updated.
|
|
76
|
+
* Date and time the service was updated.
|
|
77
77
|
* @readonly
|
|
78
78
|
*/
|
|
79
79
|
updatedDate?: Date;
|
|
@@ -152,13 +152,13 @@ export interface V2Category {
|
|
|
152
152
|
export interface Form {
|
|
153
153
|
/**
|
|
154
154
|
* ID of the form associated with the service.
|
|
155
|
-
*
|
|
156
|
-
*
|
|
155
|
+
* The form information that is submitted when booking includes contact details, participants, and other form fields set up for the service.
|
|
156
|
+
* You can manage the service booking form fields using the [Bookings Forms API](https://dev.wix.com/api/rest/wix-bookings/services/form/form-object).
|
|
157
157
|
*/
|
|
158
158
|
id?: string;
|
|
159
159
|
}
|
|
160
160
|
export interface FormSettings {
|
|
161
|
-
/** Whether the service booking form should be hidden from the site.
|
|
161
|
+
/** Whether the service booking form should be hidden from the site. */
|
|
162
162
|
hidden?: boolean | null;
|
|
163
163
|
}
|
|
164
164
|
export interface Payment extends PaymentRateOneOf {
|
|
@@ -180,17 +180,21 @@ export interface Payment extends PaymentRateOneOf {
|
|
|
180
180
|
options?: PaymentOptions;
|
|
181
181
|
/**
|
|
182
182
|
* The details for the fixed price of the service.
|
|
183
|
-
*
|
|
183
|
+
*
|
|
184
|
+
* Required when: `rateType` is `FIXED`
|
|
184
185
|
*/
|
|
185
186
|
fixed?: FixedPayment;
|
|
186
187
|
/**
|
|
187
188
|
* The details for the custom price of the service.
|
|
188
|
-
*
|
|
189
|
+
*
|
|
190
|
+
* Required when: `rateType` is `CUSTOM`
|
|
189
191
|
*/
|
|
190
192
|
custom?: CustomPayment;
|
|
191
193
|
/**
|
|
192
194
|
* The details for the varied pricing of the service.
|
|
193
|
-
*
|
|
195
|
+
* Read more about [varied price options](https://support.wix.com/en/article/wix-bookings-about-getting-paid-online#offering-varied-price-options).
|
|
196
|
+
*
|
|
197
|
+
* Required when: `rateType` is `VARIED`
|
|
194
198
|
*/
|
|
195
199
|
varied?: VariedPayment;
|
|
196
200
|
}
|
|
@@ -198,17 +202,21 @@ export interface Payment extends PaymentRateOneOf {
|
|
|
198
202
|
export interface PaymentRateOneOf {
|
|
199
203
|
/**
|
|
200
204
|
* The details for the fixed price of the service.
|
|
201
|
-
*
|
|
205
|
+
*
|
|
206
|
+
* Required when: `rateType` is `FIXED`
|
|
202
207
|
*/
|
|
203
208
|
fixed?: FixedPayment;
|
|
204
209
|
/**
|
|
205
210
|
* The details for the custom price of the service.
|
|
206
|
-
*
|
|
211
|
+
*
|
|
212
|
+
* Required when: `rateType` is `CUSTOM`
|
|
207
213
|
*/
|
|
208
214
|
custom?: CustomPayment;
|
|
209
215
|
/**
|
|
210
216
|
* The details for the varied pricing of the service.
|
|
211
|
-
*
|
|
217
|
+
* Read more about [varied price options](https://support.wix.com/en/article/wix-bookings-about-getting-paid-online#offering-varied-price-options).
|
|
218
|
+
*
|
|
219
|
+
* Required when: `rateType` is `VARIED`
|
|
212
220
|
*/
|
|
213
221
|
varied?: VariedPayment;
|
|
214
222
|
}
|
|
@@ -226,10 +234,15 @@ export declare enum RateType {
|
|
|
226
234
|
export interface FixedPayment {
|
|
227
235
|
/**
|
|
228
236
|
* The fixed price required to book the service.
|
|
229
|
-
*
|
|
237
|
+
*
|
|
238
|
+
* Required when: `rateType` is `FIXED`
|
|
230
239
|
*/
|
|
231
240
|
price?: Money;
|
|
232
|
-
/**
|
|
241
|
+
/**
|
|
242
|
+
* The deposit price required to book the service.
|
|
243
|
+
*
|
|
244
|
+
* Required when: `rateType` is `FIXED` and `paymentOptions.deposit` is `true`
|
|
245
|
+
*/
|
|
233
246
|
deposit?: Money;
|
|
234
247
|
}
|
|
235
248
|
/**
|
|
@@ -245,13 +258,17 @@ export interface Money {
|
|
|
245
258
|
formattedValue?: string | null;
|
|
246
259
|
}
|
|
247
260
|
export interface CustomPayment {
|
|
248
|
-
/** A custom description explaining the customer how to pay for the service. */
|
|
261
|
+
/** A custom description explaining to the customer how to pay for the service. */
|
|
249
262
|
description?: string | null;
|
|
250
263
|
}
|
|
251
264
|
export interface VariedPayment {
|
|
252
265
|
/** The default price for the service without any variants. It will also be used as the default price for any new variant. */
|
|
253
266
|
defaultPrice?: Money;
|
|
254
|
-
/**
|
|
267
|
+
/**
|
|
268
|
+
* The deposit price required to book the service.
|
|
269
|
+
*
|
|
270
|
+
* Required when: `rateType` is `VARIED` and `paymentOptions.deposit` is `true`
|
|
271
|
+
*/
|
|
255
272
|
deposit?: Money;
|
|
256
273
|
/**
|
|
257
274
|
* The minimal price a customer may pay for this service, based on its variants.
|
|
@@ -269,7 +286,7 @@ export interface PaymentOptions {
|
|
|
269
286
|
* Customers can pay for the service online.
|
|
270
287
|
* When `true`:
|
|
271
288
|
* + `rateType` must be either `FIXED` or `VARIED`.
|
|
272
|
-
* + `fixed.price` or `varied.default_price` must be specified respectively. Read more about [getting paid online](https://support.wix.com/en/article/wix-bookings-about-getting-paid-online)
|
|
289
|
+
* + `fixed.price` or `varied.default_price` must be specified respectively. Read more about [getting paid online](https://support.wix.com/en/article/wix-bookings-about-getting-paid-online).
|
|
273
290
|
*/
|
|
274
291
|
online?: boolean | null;
|
|
275
292
|
/** Customers can pay for the service in person. */
|
|
@@ -304,7 +321,7 @@ export interface Location extends LocationOptionsOneOf {
|
|
|
304
321
|
/**
|
|
305
322
|
* The type of location:
|
|
306
323
|
* - `CUSTOM`: The location is specific to this service, and is not derived from the business location.
|
|
307
|
-
* - `BUSINESS`: A business location, as defined for the by the Business Info [Locations API](https://dev.wix.com/api/rest/business-info/locations)
|
|
324
|
+
* - `BUSINESS`: A business location, as defined for the by the Business Info [Locations API](https://dev.wix.com/api/rest/business-info/locations).
|
|
308
325
|
* - `CUSTOMER`: Will be determined by the customer. For appointments only.
|
|
309
326
|
*/
|
|
310
327
|
type?: LocationType;
|
|
@@ -381,7 +398,7 @@ export interface BusinessLocationOptions {
|
|
|
381
398
|
*/
|
|
382
399
|
name?: string;
|
|
383
400
|
/**
|
|
384
|
-
* Whether this is the default location. There can only be
|
|
401
|
+
* Whether this is the default location. There can only be 1 default location per site. The default location can't be archived.
|
|
385
402
|
* @readonly
|
|
386
403
|
*/
|
|
387
404
|
default?: boolean | null;
|
|
@@ -594,22 +611,24 @@ export interface Schedule {
|
|
|
594
611
|
* @readonly
|
|
595
612
|
*/
|
|
596
613
|
id?: string | null;
|
|
597
|
-
/** Limitations dictating the way session availability is calculated.
|
|
614
|
+
/** Limitations dictating the way session availability is calculated. For appointments only. */
|
|
598
615
|
availabilityConstraints?: AvailabilityConstraints;
|
|
599
616
|
}
|
|
600
617
|
export interface AvailabilityConstraints {
|
|
601
618
|
/**
|
|
602
619
|
* A list of duration options for sessions, in minutes.
|
|
603
620
|
*
|
|
604
|
-
* Min: 1 minute
|
|
605
|
-
*
|
|
606
621
|
* The availability calculation generates slots for sessions with these durations, unless there is a conflict with existing sessions or other availability constraints exist.
|
|
607
622
|
* Required for services of type `APPOINTMENT` to allow the customer to book a session of the service. Not relevant for other service types.
|
|
623
|
+
*
|
|
624
|
+
*
|
|
625
|
+
* Min: 1 minute
|
|
608
626
|
*/
|
|
609
627
|
sessionDurations?: number[];
|
|
610
628
|
/**
|
|
611
629
|
* The number of minutes between the end of a session and the start of the next.
|
|
612
630
|
*
|
|
631
|
+
*
|
|
613
632
|
* Min: 0 minutes
|
|
614
633
|
* Max: 720 minutes
|
|
615
634
|
*/
|
|
@@ -619,7 +638,7 @@ export interface Slug {
|
|
|
619
638
|
/** The unique part of service's URL that identifies the service's information page. For example, `service-1` in `https:/example.com/services/service-1`. */
|
|
620
639
|
name?: string;
|
|
621
640
|
/**
|
|
622
|
-
* Whether the slug was generated or customized. If `true`, the slug was
|
|
641
|
+
* Whether the slug was generated or customized. If `true`, the slug was customized manually by the business owner. Otherwise, the slug was automatically generated from the service name.
|
|
623
642
|
* @readonly
|
|
624
643
|
*/
|
|
625
644
|
custom?: boolean | null;
|
|
@@ -666,15 +685,15 @@ export interface ExtendedFields {
|
|
|
666
685
|
* This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.
|
|
667
686
|
*/
|
|
668
687
|
export interface SeoSchema {
|
|
669
|
-
/** SEO
|
|
688
|
+
/** SEO tag information. */
|
|
670
689
|
tags?: Tag[];
|
|
671
690
|
/** SEO general settings. */
|
|
672
691
|
settings?: Settings;
|
|
673
692
|
}
|
|
674
693
|
export interface Keyword {
|
|
675
|
-
/** Keyword value */
|
|
694
|
+
/** Keyword value. */
|
|
676
695
|
term?: string;
|
|
677
|
-
/** Whether the keyword is the main
|
|
696
|
+
/** Whether the keyword is the main focus keyword. */
|
|
678
697
|
isMain?: boolean;
|
|
679
698
|
}
|
|
680
699
|
export interface Tag {
|
|
@@ -686,7 +705,7 @@ export interface Tag {
|
|
|
686
705
|
*/
|
|
687
706
|
type?: string;
|
|
688
707
|
/**
|
|
689
|
-
* A `{'key':'value'} pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
|
|
708
|
+
* A `{'key':'value'}` pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
|
|
690
709
|
* For example: `{'name': 'description', 'content': 'the description itself'}`.
|
|
691
710
|
*/
|
|
692
711
|
props?: Record<string, any> | null;
|
|
@@ -701,13 +720,13 @@ export interface Tag {
|
|
|
701
720
|
}
|
|
702
721
|
export interface Settings {
|
|
703
722
|
/**
|
|
704
|
-
* Whether the
|
|
723
|
+
* Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
|
|
705
724
|
*
|
|
706
725
|
*
|
|
707
|
-
* Default: enabled
|
|
726
|
+
* Default: `false` (Auto Redirect is enabled.)
|
|
708
727
|
*/
|
|
709
728
|
preventAutoRedirect?: boolean;
|
|
710
|
-
/** User-selected keyword terms for a specific page */
|
|
729
|
+
/** User-selected keyword terms for a specific page. */
|
|
711
730
|
keywords?: Keyword[];
|
|
712
731
|
}
|
|
713
732
|
export interface CreateServiceRequest {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-services-v2-service.types.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.types.ts"],"names":[],"mappings":"AAsFA,MAAM,CAAN,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;IAC3B,8BAA8B;IAC9B,8BAAe,CAAA;IACf,+BAA+B;IAC/B,gCAAiB,CAAA;AACnB,CAAC,EARW,WAAW,KAAX,WAAW,QAQtB;
|
|
1
|
+
{"version":3,"file":"bookings-services-v2-service.types.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.types.ts"],"names":[],"mappings":"AAsFA,MAAM,CAAN,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;IAC3B,8BAA8B;IAC9B,8BAAe,CAAA;IACf,+BAA+B;IAC/B,gCAAiB,CAAA;AACnB,CAAC,EARW,WAAW,KAAX,WAAW,QAQtB;AA2ID,MAAM,CAAN,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,qCAAqC;IACrC,2BAAe,CAAA;IACf,wEAAwE;IACxE,6BAAiB,CAAA;IACjB,uFAAuF;IACvF,6BAAiB,CAAA;IACjB,8CAA8C;IAC9C,6BAAiB,CAAA;AACnB,CAAC,EAVW,QAAQ,KAAR,QAAQ,QAUnB;AA0HD,MAAM,CAAN,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,+DAA+C,CAAA;IAC/C,iQAAiQ;IACjQ,iCAAiB,CAAA;IACjB,6JAA6J;IAC7J,qCAAqB,CAAA;IACrB,8IAA8I;IAC9I,qCAAqB,CAAA;AACvB,CAAC,EARW,YAAY,KAAZ,YAAY,QAQvB;AAmeD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA8ED,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,2BAA2B;IAC3B,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AAED,MAAM,CAAN,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;AACrB,CAAC,EAJW,KAAK,KAAL,KAAK,QAIhB;AA4LD,MAAM,CAAN,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,6DAAyC,CAAA;IACzC,gFAAgF;IAChF,yDAAqC,CAAA;IACrC,0DAA0D;IAC1D,uFAAmE,CAAA;IACnE,6EAA6E;IAC7E,+DAA2C,CAAA;AAC7C,CAAC,EARW,gBAAgB,KAAhB,gBAAgB,QAQ3B"}
|
|
@@ -17,15 +17,15 @@ export interface Service {
|
|
|
17
17
|
sortOrder?: number | null;
|
|
18
18
|
/** Service name. */
|
|
19
19
|
name?: string | null;
|
|
20
|
-
/** Service description,
|
|
20
|
+
/** Service description, such as `High-class hair styling, cuts, straightening and color.` */
|
|
21
21
|
description?: string | null;
|
|
22
|
-
/** Short service description,
|
|
22
|
+
/** Short service description, such as `Hair styling.` */
|
|
23
23
|
tagLine?: string | null;
|
|
24
24
|
/** Default maximum number of customers that can book the service. The service cannot be booked beyond this capacity. */
|
|
25
25
|
defaultCapacity?: number | null;
|
|
26
26
|
/** Media associated with the service. */
|
|
27
27
|
media?: Media;
|
|
28
|
-
/** Whether the service is hidden from the site.
|
|
28
|
+
/** Whether the service is hidden from the site. */
|
|
29
29
|
hidden?: boolean | null;
|
|
30
30
|
/** The category the service is associated with. */
|
|
31
31
|
category?: V2Category;
|
|
@@ -67,19 +67,19 @@ export interface Service {
|
|
|
67
67
|
*/
|
|
68
68
|
mainSlug?: Slug;
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* URLs to various service-related pages, such as the calendar page and the booking page.
|
|
71
71
|
* @readonly
|
|
72
72
|
*/
|
|
73
73
|
urls?: URLs;
|
|
74
74
|
/** Custom SEO data for the service. */
|
|
75
75
|
seoData?: SeoSchema;
|
|
76
76
|
/**
|
|
77
|
-
* Date and time the service was created.
|
|
77
|
+
* Date and time the service was created.
|
|
78
78
|
* @readonly
|
|
79
79
|
*/
|
|
80
80
|
_createdDate?: Date;
|
|
81
81
|
/**
|
|
82
|
-
* Date and time the service was updated.
|
|
82
|
+
* Date and time the service was updated.
|
|
83
83
|
* @readonly
|
|
84
84
|
*/
|
|
85
85
|
_updatedDate?: Date;
|
|
@@ -135,13 +135,13 @@ export interface V2Category {
|
|
|
135
135
|
export interface Form {
|
|
136
136
|
/**
|
|
137
137
|
* ID of the form associated with the service.
|
|
138
|
-
*
|
|
139
|
-
*
|
|
138
|
+
* The form information that is submitted when booking includes contact details, participants, and other form fields set up for the service.
|
|
139
|
+
* You can manage the service booking form fields using the [Bookings Forms API](https://dev.wix.com/api/rest/wix-bookings/services/form/form-object).
|
|
140
140
|
*/
|
|
141
141
|
_id?: string;
|
|
142
142
|
}
|
|
143
143
|
export interface FormSettings {
|
|
144
|
-
/** Whether the service booking form should be hidden from the site.
|
|
144
|
+
/** Whether the service booking form should be hidden from the site. */
|
|
145
145
|
hidden?: boolean | null;
|
|
146
146
|
}
|
|
147
147
|
export interface Payment extends PaymentRateOneOf {
|
|
@@ -163,17 +163,21 @@ export interface Payment extends PaymentRateOneOf {
|
|
|
163
163
|
options?: PaymentOptions;
|
|
164
164
|
/**
|
|
165
165
|
* The details for the fixed price of the service.
|
|
166
|
-
*
|
|
166
|
+
*
|
|
167
|
+
* Required when: `rateType` is `FIXED`
|
|
167
168
|
*/
|
|
168
169
|
fixed?: FixedPayment;
|
|
169
170
|
/**
|
|
170
171
|
* The details for the custom price of the service.
|
|
171
|
-
*
|
|
172
|
+
*
|
|
173
|
+
* Required when: `rateType` is `CUSTOM`
|
|
172
174
|
*/
|
|
173
175
|
custom?: CustomPayment;
|
|
174
176
|
/**
|
|
175
177
|
* The details for the varied pricing of the service.
|
|
176
|
-
*
|
|
178
|
+
* Read more about [varied price options](https://support.wix.com/en/article/wix-bookings-about-getting-paid-online#offering-varied-price-options).
|
|
179
|
+
*
|
|
180
|
+
* Required when: `rateType` is `VARIED`
|
|
177
181
|
*/
|
|
178
182
|
varied?: VariedPayment;
|
|
179
183
|
}
|
|
@@ -181,17 +185,21 @@ export interface Payment extends PaymentRateOneOf {
|
|
|
181
185
|
export interface PaymentRateOneOf {
|
|
182
186
|
/**
|
|
183
187
|
* The details for the fixed price of the service.
|
|
184
|
-
*
|
|
188
|
+
*
|
|
189
|
+
* Required when: `rateType` is `FIXED`
|
|
185
190
|
*/
|
|
186
191
|
fixed?: FixedPayment;
|
|
187
192
|
/**
|
|
188
193
|
* The details for the custom price of the service.
|
|
189
|
-
*
|
|
194
|
+
*
|
|
195
|
+
* Required when: `rateType` is `CUSTOM`
|
|
190
196
|
*/
|
|
191
197
|
custom?: CustomPayment;
|
|
192
198
|
/**
|
|
193
199
|
* The details for the varied pricing of the service.
|
|
194
|
-
*
|
|
200
|
+
* Read more about [varied price options](https://support.wix.com/en/article/wix-bookings-about-getting-paid-online#offering-varied-price-options).
|
|
201
|
+
*
|
|
202
|
+
* Required when: `rateType` is `VARIED`
|
|
195
203
|
*/
|
|
196
204
|
varied?: VariedPayment;
|
|
197
205
|
}
|
|
@@ -209,10 +217,15 @@ export declare enum RateType {
|
|
|
209
217
|
export interface FixedPayment {
|
|
210
218
|
/**
|
|
211
219
|
* The fixed price required to book the service.
|
|
212
|
-
*
|
|
220
|
+
*
|
|
221
|
+
* Required when: `rateType` is `FIXED`
|
|
213
222
|
*/
|
|
214
223
|
price?: Money;
|
|
215
|
-
/**
|
|
224
|
+
/**
|
|
225
|
+
* The deposit price required to book the service.
|
|
226
|
+
*
|
|
227
|
+
* Required when: `rateType` is `FIXED` and `paymentOptions.deposit` is `true`
|
|
228
|
+
*/
|
|
216
229
|
deposit?: Money;
|
|
217
230
|
}
|
|
218
231
|
/**
|
|
@@ -228,13 +241,17 @@ export interface Money {
|
|
|
228
241
|
formattedValue?: string | null;
|
|
229
242
|
}
|
|
230
243
|
export interface CustomPayment {
|
|
231
|
-
/** A custom description explaining the customer how to pay for the service. */
|
|
244
|
+
/** A custom description explaining to the customer how to pay for the service. */
|
|
232
245
|
description?: string | null;
|
|
233
246
|
}
|
|
234
247
|
export interface VariedPayment {
|
|
235
248
|
/** The default price for the service without any variants. It will also be used as the default price for any new variant. */
|
|
236
249
|
defaultPrice?: Money;
|
|
237
|
-
/**
|
|
250
|
+
/**
|
|
251
|
+
* The deposit price required to book the service.
|
|
252
|
+
*
|
|
253
|
+
* Required when: `rateType` is `VARIED` and `paymentOptions.deposit` is `true`
|
|
254
|
+
*/
|
|
238
255
|
deposit?: Money;
|
|
239
256
|
/**
|
|
240
257
|
* The minimal price a customer may pay for this service, based on its variants.
|
|
@@ -252,7 +269,7 @@ export interface PaymentOptions {
|
|
|
252
269
|
* Customers can pay for the service online.
|
|
253
270
|
* When `true`:
|
|
254
271
|
* + `rateType` must be either `FIXED` or `VARIED`.
|
|
255
|
-
* + `fixed.price` or `varied.default_price` must be specified respectively. Read more about [getting paid online](https://support.wix.com/en/article/wix-bookings-about-getting-paid-online)
|
|
272
|
+
* + `fixed.price` or `varied.default_price` must be specified respectively. Read more about [getting paid online](https://support.wix.com/en/article/wix-bookings-about-getting-paid-online).
|
|
256
273
|
*/
|
|
257
274
|
online?: boolean | null;
|
|
258
275
|
/** Customers can pay for the service in person. */
|
|
@@ -287,7 +304,7 @@ export interface Location extends LocationOptionsOneOf {
|
|
|
287
304
|
/**
|
|
288
305
|
* The type of location:
|
|
289
306
|
* - `CUSTOM`: The location is specific to this service, and is not derived from the business location.
|
|
290
|
-
* - `BUSINESS`: A business location, as defined for the by the Business Info [Locations API](https://dev.wix.com/api/rest/business-info/locations)
|
|
307
|
+
* - `BUSINESS`: A business location, as defined for the by the Business Info [Locations API](https://dev.wix.com/api/rest/business-info/locations).
|
|
291
308
|
* - `CUSTOMER`: Will be determined by the customer. For appointments only.
|
|
292
309
|
*/
|
|
293
310
|
type?: LocationType;
|
|
@@ -362,7 +379,7 @@ export interface BusinessLocationOptions {
|
|
|
362
379
|
*/
|
|
363
380
|
name?: string;
|
|
364
381
|
/**
|
|
365
|
-
* Whether this is the default location. There can only be
|
|
382
|
+
* Whether this is the default location. There can only be 1 default location per site. The default location can't be archived.
|
|
366
383
|
* @readonly
|
|
367
384
|
*/
|
|
368
385
|
default?: boolean | null;
|
|
@@ -575,22 +592,24 @@ export interface Schedule {
|
|
|
575
592
|
* @readonly
|
|
576
593
|
*/
|
|
577
594
|
_id?: string | null;
|
|
578
|
-
/** Limitations dictating the way session availability is calculated.
|
|
595
|
+
/** Limitations dictating the way session availability is calculated. For appointments only. */
|
|
579
596
|
availabilityConstraints?: AvailabilityConstraints;
|
|
580
597
|
}
|
|
581
598
|
export interface AvailabilityConstraints {
|
|
582
599
|
/**
|
|
583
600
|
* A list of duration options for sessions, in minutes.
|
|
584
601
|
*
|
|
585
|
-
* Min: 1 minute
|
|
586
|
-
*
|
|
587
602
|
* The availability calculation generates slots for sessions with these durations, unless there is a conflict with existing sessions or other availability constraints exist.
|
|
588
603
|
* Required for services of type `APPOINTMENT` to allow the customer to book a session of the service. Not relevant for other service types.
|
|
604
|
+
*
|
|
605
|
+
*
|
|
606
|
+
* Min: 1 minute
|
|
589
607
|
*/
|
|
590
608
|
sessionDurations?: number[];
|
|
591
609
|
/**
|
|
592
610
|
* The number of minutes between the end of a session and the start of the next.
|
|
593
611
|
*
|
|
612
|
+
*
|
|
594
613
|
* Min: 0 minutes
|
|
595
614
|
* Max: 720 minutes
|
|
596
615
|
*/
|
|
@@ -600,7 +619,7 @@ export interface Slug {
|
|
|
600
619
|
/** The unique part of service's URL that identifies the service's information page. For example, `service-1` in `https:/example.com/services/service-1`. */
|
|
601
620
|
name?: string;
|
|
602
621
|
/**
|
|
603
|
-
* Whether the slug was generated or customized. If `true`, the slug was
|
|
622
|
+
* Whether the slug was generated or customized. If `true`, the slug was customized manually by the business owner. Otherwise, the slug was automatically generated from the service name.
|
|
604
623
|
* @readonly
|
|
605
624
|
*/
|
|
606
625
|
custom?: boolean | null;
|
|
@@ -641,15 +660,15 @@ export interface ExtendedFields {
|
|
|
641
660
|
* This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.
|
|
642
661
|
*/
|
|
643
662
|
export interface SeoSchema {
|
|
644
|
-
/** SEO
|
|
663
|
+
/** SEO tag information. */
|
|
645
664
|
tags?: Tag[];
|
|
646
665
|
/** SEO general settings. */
|
|
647
666
|
settings?: Settings;
|
|
648
667
|
}
|
|
649
668
|
export interface Keyword {
|
|
650
|
-
/** Keyword value */
|
|
669
|
+
/** Keyword value. */
|
|
651
670
|
term?: string;
|
|
652
|
-
/** Whether the keyword is the main
|
|
671
|
+
/** Whether the keyword is the main focus keyword. */
|
|
653
672
|
isMain?: boolean;
|
|
654
673
|
}
|
|
655
674
|
export interface Tag {
|
|
@@ -661,7 +680,7 @@ export interface Tag {
|
|
|
661
680
|
*/
|
|
662
681
|
type?: string;
|
|
663
682
|
/**
|
|
664
|
-
* A `{'key':'value'} pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
|
|
683
|
+
* A `{'key':'value'}` pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
|
|
665
684
|
* For example: `{'name': 'description', 'content': 'the description itself'}`.
|
|
666
685
|
*/
|
|
667
686
|
props?: Record<string, any> | null;
|
|
@@ -676,13 +695,13 @@ export interface Tag {
|
|
|
676
695
|
}
|
|
677
696
|
export interface Settings {
|
|
678
697
|
/**
|
|
679
|
-
* Whether the
|
|
698
|
+
* Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
|
|
680
699
|
*
|
|
681
700
|
*
|
|
682
|
-
* Default: enabled
|
|
701
|
+
* Default: `false` (Auto Redirect is enabled.)
|
|
683
702
|
*/
|
|
684
703
|
preventAutoRedirect?: boolean;
|
|
685
|
-
/** User-selected keyword terms for a specific page */
|
|
704
|
+
/** User-selected keyword terms for a specific page. */
|
|
686
705
|
keywords?: Keyword[];
|
|
687
706
|
}
|
|
688
707
|
export interface CreateServiceRequest {
|
|
@@ -1021,10 +1040,31 @@ export declare enum InvalidSlugError {
|
|
|
1021
1040
|
*/
|
|
1022
1041
|
export declare function getService(serviceId: string): Promise<Service>;
|
|
1023
1042
|
/**
|
|
1043
|
+
* Retrieves a list of up to 100 services, given the provided limit in the query object.
|
|
1044
|
+
* paging, filtering, and sorting.
|
|
1045
|
+
*
|
|
1046
|
+
*
|
|
1047
|
+
* Define queries using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) with [Cursor paging](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging).
|
|
1048
|
+
* `Query Services` runs with these defaults, which you can override:
|
|
1049
|
+
* + `paging.limit` is `100`.
|
|
1050
|
+
* + `paging.offset` is `0`.
|
|
1051
|
+
*
|
|
1052
|
+
* For field support for filters and sorting, see [Supported Filters and Sorting](https://dev.wix.com/api/rest/wix-bookings/services/supported-filters-and-sorting).
|
|
1053
|
+
* To retrieve all services use an empty query:
|
|
1054
|
+
* ```javascript
|
|
1055
|
+
* {
|
|
1056
|
+
* "query": {}
|
|
1057
|
+
* }
|
|
1058
|
+
* ```
|
|
1059
|
+
* >**Notes:**
|
|
1060
|
+
* > + Use UTC format when filtering with dates.
|
|
1061
|
+
* > + Only 1 use of each filter in the same query is supported. If a filter is defined
|
|
1062
|
+
* more than once in a query, only the first occurrence is processed.
|
|
1024
1063
|
* To learn about working with Query endpoints, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language), [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging), and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
|
|
1025
1064
|
* @public
|
|
1026
1065
|
* @documentationMaturity preview
|
|
1027
1066
|
* @requiredField query
|
|
1067
|
+
* @param query - WQL expression.
|
|
1028
1068
|
*/
|
|
1029
1069
|
export declare function queryServices(query: CursorQuery): ServicesQueryBuilder;
|
|
1030
1070
|
interface QueryCursorResult {
|
|
@@ -169,10 +169,31 @@ export function getService(serviceId) {
|
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
171
|
/**
|
|
172
|
+
* Retrieves a list of up to 100 services, given the provided limit in the query object.
|
|
173
|
+
* paging, filtering, and sorting.
|
|
174
|
+
*
|
|
175
|
+
*
|
|
176
|
+
* Define queries using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) with [Cursor paging](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging).
|
|
177
|
+
* `Query Services` runs with these defaults, which you can override:
|
|
178
|
+
* + `paging.limit` is `100`.
|
|
179
|
+
* + `paging.offset` is `0`.
|
|
180
|
+
*
|
|
181
|
+
* For field support for filters and sorting, see [Supported Filters and Sorting](https://dev.wix.com/api/rest/wix-bookings/services/supported-filters-and-sorting).
|
|
182
|
+
* To retrieve all services use an empty query:
|
|
183
|
+
* ```javascript
|
|
184
|
+
* {
|
|
185
|
+
* "query": {}
|
|
186
|
+
* }
|
|
187
|
+
* ```
|
|
188
|
+
* >**Notes:**
|
|
189
|
+
* > + Use UTC format when filtering with dates.
|
|
190
|
+
* > + Only 1 use of each filter in the same query is supported. If a filter is defined
|
|
191
|
+
* more than once in a query, only the first occurrence is processed.
|
|
172
192
|
* To learn about working with Query endpoints, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language), [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging), and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
|
|
173
193
|
* @public
|
|
174
194
|
* @documentationMaturity preview
|
|
175
195
|
* @requiredField query
|
|
196
|
+
* @param query - WQL expression.
|
|
176
197
|
*/
|
|
177
198
|
export function queryServices(query) {
|
|
178
199
|
const requestTransformation = { query: '$[0]' };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-services-v2-service.universal.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,sCAAsC,MAAM,qCAAqC,CAAC;AAC9F,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,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;AAwF5B,MAAM,CAAN,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;IAC3B,8BAA8B;IAC9B,8BAAe,CAAA;IACf,+BAA+B;IAC/B,gCAAiB,CAAA;AACnB,CAAC,EARW,WAAW,KAAX,WAAW,QAQtB;
|
|
1
|
+
{"version":3,"file":"bookings-services-v2-service.universal.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,sCAAsC,MAAM,qCAAqC,CAAC;AAC9F,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,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;AAwF5B,MAAM,CAAN,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;IAC3B,8BAA8B;IAC9B,8BAAe,CAAA;IACf,+BAA+B;IAC/B,gCAAiB,CAAA;AACnB,CAAC,EARW,WAAW,KAAX,WAAW,QAQtB;AAmHD,MAAM,CAAN,IAAY,QAUX;AAVD,WAAY,QAAQ;I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AX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;gBAC5B,MAAM,GAAG,CAAC;aACX;QACH,CAAC,CAAA;QACD,kBAAkB,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;QACjE,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,qCAAqC,CAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/bookings",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.44",
|
|
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": "
|
|
36
|
+
"falconPackageHash": "d9182238a6661a1ef3832e3db06bdfb6b343a95c5873273e954739a0"
|
|
37
37
|
}
|