@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.
Files changed (43) hide show
  1. package/build/cjs/src/bookings-calendar-v1-session.public.d.ts +1 -1
  2. package/build/cjs/src/bookings-calendar-v1-session.public.js +2 -1
  3. package/build/cjs/src/bookings-calendar-v1-session.public.js.map +1 -1
  4. package/build/cjs/src/bookings-calendar-v1-session.types.d.ts +28 -12
  5. package/build/cjs/src/bookings-calendar-v1-session.types.js +11 -1
  6. package/build/cjs/src/bookings-calendar-v1-session.types.js.map +1 -1
  7. package/build/cjs/src/bookings-calendar-v1-session.universal.d.ts +46 -11
  8. package/build/cjs/src/bookings-calendar-v1-session.universal.js +23 -1
  9. package/build/cjs/src/bookings-calendar-v1-session.universal.js.map +1 -1
  10. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +7 -7
  11. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +8 -7
  12. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js +1 -0
  13. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
  14. package/build/cjs/src/bookings-services-v2-service.http.d.ts +23 -1
  15. package/build/cjs/src/bookings-services-v2-service.http.js +23 -1
  16. package/build/cjs/src/bookings-services-v2-service.http.js.map +1 -1
  17. package/build/cjs/src/bookings-services-v2-service.types.d.ts +52 -33
  18. package/build/cjs/src/bookings-services-v2-service.types.js.map +1 -1
  19. package/build/cjs/src/bookings-services-v2-service.universal.d.ts +73 -33
  20. package/build/cjs/src/bookings-services-v2-service.universal.js +21 -0
  21. package/build/cjs/src/bookings-services-v2-service.universal.js.map +1 -1
  22. package/build/es/src/bookings-calendar-v1-session.public.d.ts +1 -1
  23. package/build/es/src/bookings-calendar-v1-session.public.js +1 -1
  24. package/build/es/src/bookings-calendar-v1-session.public.js.map +1 -1
  25. package/build/es/src/bookings-calendar-v1-session.types.d.ts +28 -12
  26. package/build/es/src/bookings-calendar-v1-session.types.js +10 -0
  27. package/build/es/src/bookings-calendar-v1-session.types.js.map +1 -1
  28. package/build/es/src/bookings-calendar-v1-session.universal.d.ts +46 -11
  29. package/build/es/src/bookings-calendar-v1-session.universal.js +22 -0
  30. package/build/es/src/bookings-calendar-v1-session.universal.js.map +1 -1
  31. package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +7 -7
  32. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +8 -7
  33. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js +1 -0
  34. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
  35. package/build/es/src/bookings-services-v2-service.http.d.ts +23 -1
  36. package/build/es/src/bookings-services-v2-service.http.js +23 -1
  37. package/build/es/src/bookings-services-v2-service.http.js.map +1 -1
  38. package/build/es/src/bookings-services-v2-service.types.d.ts +52 -33
  39. package/build/es/src/bookings-services-v2-service.types.js.map +1 -1
  40. package/build/es/src/bookings-services-v2-service.universal.d.ts +73 -33
  41. package/build/es/src/bookings-services-v2-service.universal.js +21 -0
  42. package/build/es/src/bookings-services-v2-service.universal.js.map +1 -1
  43. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-services-v2-service.http.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;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,M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EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC;IAE/B,OAAO,YAAY,CAAC;AACtB,CAAC;AAzCD,gCAyCC;AAED,4TAA4T;AAC5T,SAAgB,aAAa,CAC3B,OAA6B;IAE7B,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAA,uBAAU,EACrD,qBAAqB,EACrB,EAAE,CACH,CAAC;IACF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAA,uBAAU,EAAC,sBAAsB,EAAE;QAC/D,QAAQ;QACR,gBAAgB;QAChB,cAAc;QACd,wBAAwB;QACxB,sBAAsB;QACtB,MAAM;QACN,SAAS;QACT,MAAM;QACN,UAAU;QACV,SAAS;QACT,QAAQ;QACR,KAAK;KACN,CAAC,CAAC;IAEH,SAAS,eAAe,CAAC,EAAE,IAAI,EAAO;QACpC,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,MAAM,EAAE,MAAa;YACrB,GAAG,EAAE,8CAA8C,CAAC;gBAClD,SAAS,EAAE,oBAAoB;gBAC/B,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,eAAe,CAAC,OAAO,GAAG,OAAO,CAAC;IAElC,OAAO,eAAe,CAAC;AACzB,CAAC;AAzCD,sCAyCC"}
1
+ {"version":3,"file":"bookings-services-v2-service.http.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AAUhD,MAAM,QAAQ,GAAG,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AACjD,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C;IAElC,OAAO,eAAe,CAAC;AACzB,CAAC;AAzCD,sCAyCC"}
@@ -11,15 +11,15 @@ export interface Service {
11
11
  sortOrder?: number | null;
12
12
  /** Service name. */
13
13
  name?: string | null;
14
- /** Service description, Such as `High-class hair styling, cuts, straightening and color` */
14
+ /** Service description, such as `High-class hair styling, cuts, straightening and color.` */
15
15
  description?: string | null;
16
- /** Short service description, Such as `Hair styling` */
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. if `true`, the service is hidden. Otherwise, the service is visible. */
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
- * The URLs to various service-related pages, such as the calendar page and the booking page.
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. This is a system field.
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. This is a system field.
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
- * Form information submitted when booking, including contact details, participants, and other form fields, set up for the service.
156
- * Managing the service booking form fields is done via the [Bookings forms API](https://dev.wix.com/api/rest/wix-bookings/services/form/form-object)
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. if `true`, the form is hidden. Otherwise, the form is visible. */
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
- * Required when `rateType` is `FIXED`.
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
- * Required when `rateType` is `CUSTOM`.
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
- * Required when `rateType` is `VARIED`. Read more about [varied price options](https://support.wix.com/en/article/wix-bookings-about-getting-paid-online#offering-varied-price-options)
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
- * Required when `rateType` is `FIXED`.
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
- * Required when `rateType` is `CUSTOM`.
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
- * Required when `rateType` is `VARIED`. Read more about [varied price options](https://support.wix.com/en/article/wix-bookings-about-getting-paid-online#offering-varied-price-options)
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
- * Required when `rateType` is `FIXED`.
237
+ *
238
+ * Required when: `rateType` is `FIXED`
230
239
  */
231
240
  price?: Money;
232
- /** The deposit price required to book the service. Required when `rateType` is `FIXED` and `paymentOptions.deposit` is `true`. */
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
- /** The deposit price required to book the service. Required when `rateType` is `VARIED` and `paymentOptions.deposit` is `true`. */
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 one default location per site. The default location can't be archived.
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. Relevant only for appointments. */
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 set manually by the business owner. Otherwise, the slug was generated from the service name.
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 tags information. */
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 focused */
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 auto redirects feature creating `301 redirects` on a slug change is enabled.
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/book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C,CAAA;IACzC,gFAAgF;IAChF,yDAAqC,CAAA;IACrC,0DAA0D;IAC1D,uFAAmE,CAAA;IACnE,6EAA6E;IAC7E,+DAA2C,CAAA;AAC7C,CAAC,EARW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAQ3B"}
1
+ {"version":3,"file":"bookings-services-v2-service.types.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.types.ts"],"names":[],"mappings":";;;AAsFA,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,GAAX,mBAAW,KAAX,mBAAW,QAQtB;AA2ID,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,GAAR,gBAAQ,KAAR,gBAAQ,QAUnB;AA0HD,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,GAAZ,oBAAY,KAAZ,oBAAY,QAQvB;AAmeD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AA8ED,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,2BAA2B;IAC3B,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,GAAN,cAAM,KAAN,cAAM,QAKjB;AAED,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;AACrB,CAAC,EAJW,KAAK,GAAL,aAAK,KAAL,aAAK,QAIhB;AA4LD,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,GAAhB,wBAAgB,KAAhB,wBAAgB,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, Such as `High-class hair styling, cuts, straightening and color` */
20
+ /** Service description, such as `High-class hair styling, cuts, straightening and color.` */
21
21
  description?: string | null;
22
- /** Short service description, Such as `Hair styling` */
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. if `true`, the service is hidden. Otherwise, the service is visible. */
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
- * The URLs to various service-related pages, such as the calendar page and the booking page.
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. This is a system field.
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. This is a system field.
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
- * Form information submitted when booking, including contact details, participants, and other form fields, set up for the service.
139
- * Managing the service booking form fields is done via the [Bookings forms API](https://dev.wix.com/api/rest/wix-bookings/services/form/form-object)
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. if `true`, the form is hidden. Otherwise, the form is visible. */
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
- * Required when `rateType` is `FIXED`.
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
- * Required when `rateType` is `CUSTOM`.
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
- * Required when `rateType` is `VARIED`. Read more about [varied price options](https://support.wix.com/en/article/wix-bookings-about-getting-paid-online#offering-varied-price-options)
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
- * Required when `rateType` is `FIXED`.
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
- * Required when `rateType` is `CUSTOM`.
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
- * Required when `rateType` is `VARIED`. Read more about [varied price options](https://support.wix.com/en/article/wix-bookings-about-getting-paid-online#offering-varied-price-options)
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
- * Required when `rateType` is `FIXED`.
220
+ *
221
+ * Required when: `rateType` is `FIXED`
213
222
  */
214
223
  price?: Money;
215
- /** The deposit price required to book the service. Required when `rateType` is `FIXED` and `paymentOptions.deposit` is `true`. */
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
- /** The deposit price required to book the service. Required when `rateType` is `VARIED` and `paymentOptions.deposit` is `true`. */
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 one default location per site. The default location can't be archived.
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. Relevant only for appointments. */
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 set manually by the business owner. Otherwise, the slug was generated from the service name.
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 tags information. */
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 focused */
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 auto redirects feature creating `301 redirects` on a slug change is enabled.
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 {
@@ -192,10 +192,31 @@ function getService(serviceId) {
192
192
  }
193
193
  exports.getService = getService;
194
194
  /**
195
+ * Retrieves a list of up to 100 services, given the provided limit in the query object.
196
+ * paging, filtering, and sorting.
197
+ *
198
+ *
199
+ * 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).
200
+ * `Query Services` runs with these defaults, which you can override:
201
+ * + `paging.limit` is `100`.
202
+ * + `paging.offset` is `0`.
203
+ *
204
+ * 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).
205
+ * To retrieve all services use an empty query:
206
+ * ```javascript
207
+ * {
208
+ * "query": {}
209
+ * }
210
+ * ```
211
+ * >**Notes:**
212
+ * > + Use UTC format when filtering with dates.
213
+ * > + Only 1 use of each filter in the same query is supported. If a filter is defined
214
+ * more than once in a query, only the first occurrence is processed.
195
215
  * 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).
196
216
  * @public
197
217
  * @documentationMaturity preview
198
218
  * @requiredField query
219
+ * @param query - WQL expression.
199
220
  */
200
221
  function queryServices(query) {
201
222
  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,kDAIiC;AAEjC,4GAA8F;AAC9F,aAAa;AACb,4FAA6E;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IA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CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC;AAlED,sCAkEC"}
1
+ {"version":3,"file":"bookings-services-v2-service.universal.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,4GAA8F;AAC9F,aAAa;AACb,4FAA6E;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;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;AAwF5B,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,GAAX,mBAAW,KAAX,mBAAW,QAQtB;AAmHD,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,GAAR,gBAAQ,KAAR,gBAAQ,QAUnB;AA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,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,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,IAAA,4CAAqC,EAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC;AAlED,sCAkEC"}
@@ -6,5 +6,5 @@ export declare function deleteSession(httpClient: HttpClient): (sessionId: strin
6
6
  export declare function querySessions(httpClient: HttpClient): (fromDate: Date, toDate: Date, options?: QuerySessionsOptions | undefined) => import("./bookings-calendar-v1-session.universal").SessionsQueryBuilder;
7
7
  export declare function getSession(httpClient: HttpClient): (_id: string | null, options?: GetSessionOptions | undefined) => Promise<Session>;
8
8
  export declare function listSessions(httpClient: HttpClient): (ids: string[] | null, options?: ListSessionsOptions | undefined) => Promise<import("./bookings-calendar-v1-session.universal").ListSessionsResponse>;
9
- export { Transparency, LocationType, LocationStatus, LocationsLocationType, DayOfWeek, ApprovalStatus, CalendarType, Status, SessionType, ConferenceType, CacheInfoStatus, } from './bookings-calendar-v1-session.universal';
9
+ export { Transparency, LocationType, LocationStatus, LocationsLocationType, DayOfWeek, ApprovalStatus, CalendarType, Status, SessionType, ConferenceType, QuerySessionsRequestSessionType, CacheInfoStatus, } from './bookings-calendar-v1-session.universal';
10
10
  export { Session, CalendarDateTime, LocalDateTime, LinkedSchedule, Location, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, LocationsLocation, LocationsAddress, LocationsStreetAddress, LocationsAddressLocation, BusinessSchedule, TimePeriod, SpecialHourPeriod, Rate, Price, Participant, ExternalCalendarInfo, ExternalCalendarOverrides, CalendarConference, Version, CreateSessionRequest, CreateSessionResponse, UpdateSessionRequest, ParticipantNotification, UpdateSessionResponse, DeleteSessionRequest, DeleteSessionResponse, QuerySessionsRequest, QueryV2, QueryV2PagingMethodOneOf, CursorPaging, QuerySessionsResponse, CursorPagingMetadata, Cursors, GetSessionRequest, GetSessionResponse, ListSessionsRequest, ListSessionsResponse, QueryEventSessionInstancesRequest, CommonQueryV2, CommonQueryV2PagingMethodOneOf, CommonCursorPaging, QueryEventSessionInstancesResponse, PagingMetadataV2, CommonCursors, V2QuerySessionsRequest, V2QuerySessionsResponse, CacheRequest, CacheResponse, CacheInfo, UncacheRequest, UncacheResponse, ShortenCacheRequest, ShortenCacheResponse, GetCacheInfoRequest, GetCacheInfoResponse, FeedEvent, FeedEventTypeOneOf, SessionAddedOrUpdated, SessionRemoved, WindowExtended, WindowMoved, Empty, FeedReplayEvent, FeedReplayEventTypeOneOf, SessionAdded, ReplayCompleted, UpdateSession, UpdateSessionOptions, DeleteSessionOptions, QuerySessionsOptions, SessionsQueryResult, SessionsQueryBuilder, GetSessionOptions, ListSessionsOptions, } from './bookings-calendar-v1-session.universal';
@@ -29,5 +29,5 @@ export function listSessions(httpClient) {
29
29
  // @ts-ignore
30
30
  { httpClient });
31
31
  }
32
- export { Transparency, LocationType, LocationStatus, LocationsLocationType, DayOfWeek, ApprovalStatus, CalendarType, Status, SessionType, ConferenceType, CacheInfoStatus, } from './bookings-calendar-v1-session.universal';
32
+ export { Transparency, LocationType, LocationStatus, LocationsLocationType, DayOfWeek, ApprovalStatus, CalendarType, Status, SessionType, ConferenceType, QuerySessionsRequestSessionType, CacheInfoStatus, } from './bookings-calendar-v1-session.universal';
33
33
  //# sourceMappingURL=bookings-calendar-v1-session.public.js.map