@wix/bookings 1.0.43 → 1.0.45

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 (35) 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 +27 -11
  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 +43 -20
  8. package/build/cjs/src/bookings-calendar-v1-session.universal.js +20 -10
  9. package/build/cjs/src/bookings-calendar-v1-session.universal.js.map +1 -1
  10. package/build/cjs/src/bookings-services-v2-service.http.d.ts +23 -1
  11. package/build/cjs/src/bookings-services-v2-service.http.js +23 -1
  12. package/build/cjs/src/bookings-services-v2-service.http.js.map +1 -1
  13. package/build/cjs/src/bookings-services-v2-service.types.d.ts +45 -26
  14. package/build/cjs/src/bookings-services-v2-service.types.js.map +1 -1
  15. package/build/cjs/src/bookings-services-v2-service.universal.d.ts +64 -26
  16. package/build/cjs/src/bookings-services-v2-service.universal.js +21 -1
  17. package/build/cjs/src/bookings-services-v2-service.universal.js.map +1 -1
  18. package/build/es/src/bookings-calendar-v1-session.public.d.ts +1 -1
  19. package/build/es/src/bookings-calendar-v1-session.public.js +1 -1
  20. package/build/es/src/bookings-calendar-v1-session.public.js.map +1 -1
  21. package/build/es/src/bookings-calendar-v1-session.types.d.ts +27 -11
  22. package/build/es/src/bookings-calendar-v1-session.types.js +10 -0
  23. package/build/es/src/bookings-calendar-v1-session.types.js.map +1 -1
  24. package/build/es/src/bookings-calendar-v1-session.universal.d.ts +43 -20
  25. package/build/es/src/bookings-calendar-v1-session.universal.js +19 -9
  26. package/build/es/src/bookings-calendar-v1-session.universal.js.map +1 -1
  27. package/build/es/src/bookings-services-v2-service.http.d.ts +23 -1
  28. package/build/es/src/bookings-services-v2-service.http.js +23 -1
  29. package/build/es/src/bookings-services-v2-service.http.js.map +1 -1
  30. package/build/es/src/bookings-services-v2-service.types.d.ts +45 -26
  31. package/build/es/src/bookings-services-v2-service.types.js.map +1 -1
  32. package/build/es/src/bookings-services-v2-service.universal.d.ts +64 -26
  33. package/build/es/src/bookings-services-v2-service.universal.js +21 -1
  34. package/build/es/src/bookings-services-v2-service.universal.js.map +1 -1
  35. package/package.json +2 -2
@@ -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;
@@ -136,12 +136,11 @@ export interface Form {
136
136
  /**
137
137
  * ID of the form associated with the service.
138
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)
140
139
  */
141
140
  _id?: string;
142
141
  }
143
142
  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. */
143
+ /** Whether the service booking form should be hidden from the site. */
145
144
  hidden?: boolean | null;
146
145
  }
147
146
  export interface Payment extends PaymentRateOneOf {
@@ -163,17 +162,21 @@ export interface Payment extends PaymentRateOneOf {
163
162
  options?: PaymentOptions;
164
163
  /**
165
164
  * The details for the fixed price of the service.
166
- * Required when `rateType` is `FIXED`.
165
+ *
166
+ * Required when: `rateType` is `FIXED`
167
167
  */
168
168
  fixed?: FixedPayment;
169
169
  /**
170
170
  * The details for the custom price of the service.
171
- * Required when `rateType` is `CUSTOM`.
171
+ *
172
+ * Required when: `rateType` is `CUSTOM`
172
173
  */
173
174
  custom?: CustomPayment;
174
175
  /**
175
176
  * 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)
177
+ * Read more about [varied price options](https://support.wix.com/en/article/wix-bookings-about-getting-paid-online#offering-varied-price-options).
178
+ *
179
+ * Required when: `rateType` is `VARIED`
177
180
  */
178
181
  varied?: VariedPayment;
179
182
  }
@@ -181,17 +184,21 @@ export interface Payment extends PaymentRateOneOf {
181
184
  export interface PaymentRateOneOf {
182
185
  /**
183
186
  * The details for the fixed price of the service.
184
- * Required when `rateType` is `FIXED`.
187
+ *
188
+ * Required when: `rateType` is `FIXED`
185
189
  */
186
190
  fixed?: FixedPayment;
187
191
  /**
188
192
  * The details for the custom price of the service.
189
- * Required when `rateType` is `CUSTOM`.
193
+ *
194
+ * Required when: `rateType` is `CUSTOM`
190
195
  */
191
196
  custom?: CustomPayment;
192
197
  /**
193
198
  * 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)
199
+ * Read more about [varied price options](https://support.wix.com/en/article/wix-bookings-about-getting-paid-online#offering-varied-price-options).
200
+ *
201
+ * Required when: `rateType` is `VARIED`
195
202
  */
196
203
  varied?: VariedPayment;
197
204
  }
@@ -209,10 +216,15 @@ export declare enum RateType {
209
216
  export interface FixedPayment {
210
217
  /**
211
218
  * The fixed price required to book the service.
212
- * Required when `rateType` is `FIXED`.
219
+ *
220
+ * Required when: `rateType` is `FIXED`
213
221
  */
214
222
  price?: Money;
215
- /** The deposit price required to book the service. Required when `rateType` is `FIXED` and `paymentOptions.deposit` is `true`. */
223
+ /**
224
+ * The deposit price required to book the service.
225
+ *
226
+ * Required when: `rateType` is `FIXED` and `paymentOptions.deposit` is `true`
227
+ */
216
228
  deposit?: Money;
217
229
  }
218
230
  /**
@@ -228,13 +240,17 @@ export interface Money {
228
240
  formattedValue?: string | null;
229
241
  }
230
242
  export interface CustomPayment {
231
- /** A custom description explaining the customer how to pay for the service. */
243
+ /** A custom description explaining to the customer how to pay for the service. */
232
244
  description?: string | null;
233
245
  }
234
246
  export interface VariedPayment {
235
247
  /** The default price for the service without any variants. It will also be used as the default price for any new variant. */
236
248
  defaultPrice?: Money;
237
- /** The deposit price required to book the service. Required when `rateType` is `VARIED` and `paymentOptions.deposit` is `true`. */
249
+ /**
250
+ * The deposit price required to book the service.
251
+ *
252
+ * Required when: `rateType` is `VARIED` and `paymentOptions.deposit` is `true`
253
+ */
238
254
  deposit?: Money;
239
255
  /**
240
256
  * The minimal price a customer may pay for this service, based on its variants.
@@ -252,7 +268,7 @@ export interface PaymentOptions {
252
268
  * Customers can pay for the service online.
253
269
  * When `true`:
254
270
  * + `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)
271
+ * + `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
272
  */
257
273
  online?: boolean | null;
258
274
  /** Customers can pay for the service in person. */
@@ -287,7 +303,7 @@ export interface Location extends LocationOptionsOneOf {
287
303
  /**
288
304
  * The type of location:
289
305
  * - `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)..
306
+ * - `BUSINESS`: A business location, as defined for the by the Business Info [Locations API](https://www.wix.com/velo/reference/wix-business-tools-v2/locations).
291
307
  * - `CUSTOMER`: Will be determined by the customer. For appointments only.
292
308
  */
293
309
  type?: LocationType;
@@ -362,7 +378,7 @@ export interface BusinessLocationOptions {
362
378
  */
363
379
  name?: string;
364
380
  /**
365
- * Whether this is the default location. There can only be one default location per site. The default location can't be archived.
381
+ * Whether this is the default location. There can only be 1 default location per site. The default location can't be archived.
366
382
  * @readonly
367
383
  */
368
384
  default?: boolean | null;
@@ -575,22 +591,24 @@ export interface Schedule {
575
591
  * @readonly
576
592
  */
577
593
  _id?: string | null;
578
- /** Limitations dictating the way session availability is calculated. Relevant only for appointments. */
594
+ /** Limitations dictating the way session availability is calculated. For appointments only. */
579
595
  availabilityConstraints?: AvailabilityConstraints;
580
596
  }
581
597
  export interface AvailabilityConstraints {
582
598
  /**
583
599
  * A list of duration options for sessions, in minutes.
584
600
  *
585
- * Min: 1 minute
586
- *
587
601
  * The availability calculation generates slots for sessions with these durations, unless there is a conflict with existing sessions or other availability constraints exist.
588
602
  * Required for services of type `APPOINTMENT` to allow the customer to book a session of the service. Not relevant for other service types.
603
+ *
604
+ *
605
+ * Min: 1 minute
589
606
  */
590
607
  sessionDurations?: number[];
591
608
  /**
592
609
  * The number of minutes between the end of a session and the start of the next.
593
610
  *
611
+ *
594
612
  * Min: 0 minutes
595
613
  * Max: 720 minutes
596
614
  */
@@ -600,7 +618,7 @@ export interface Slug {
600
618
  /** 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
619
  name?: string;
602
620
  /**
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.
621
+ * 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
622
  * @readonly
605
623
  */
606
624
  custom?: boolean | null;
@@ -1021,7 +1039,27 @@ export declare enum InvalidSlugError {
1021
1039
  */
1022
1040
  export declare function getService(serviceId: string): Promise<Service>;
1023
1041
  /**
1024
- * 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).
1042
+ * Retrieves a list of up to 100 services, given the provided paging, filtering, and sorting.
1043
+ * <!--ONLY:REST-->
1044
+ * 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).
1045
+ * 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).
1046
+ *
1047
+ * To retrieve all services use an empty query:
1048
+ *
1049
+ * ```javascript
1050
+ * {
1051
+ * "query": {}
1052
+ * }
1053
+ * ```
1054
+ * <!--END:ONLY:REST-->
1055
+ * `Query Services` runs with these defaults, which you can override:
1056
+ * + `paging.limit` is `100`.
1057
+ * + `paging.offset` is `0`.
1058
+ *
1059
+ *
1060
+ * >**Notes:**
1061
+ * > + Use UTC format when filtering with dates.
1062
+ * > + Only 1 use of each filter in the same query is supported. If a filter is defined more than once in a query, only the first occurrence is processed.
1025
1063
  * @public
1026
1064
  * @documentationMaturity preview
1027
1065
  * @requiredField query
@@ -169,7 +169,27 @@ export function getService(serviceId) {
169
169
  });
170
170
  }
171
171
  /**
172
- * 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).
172
+ * Retrieves a list of up to 100 services, given the provided paging, filtering, and sorting.
173
+ * <!--ONLY:REST-->
174
+ * 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).
175
+ * 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).
176
+ *
177
+ * To retrieve all services use an empty query:
178
+ *
179
+ * ```javascript
180
+ * {
181
+ * "query": {}
182
+ * }
183
+ * ```
184
+ * <!--END:ONLY:REST-->
185
+ * `Query Services` runs with these defaults, which you can override:
186
+ * + `paging.limit` is `100`.
187
+ * + `paging.offset` is `0`.
188
+ *
189
+ *
190
+ * >**Notes:**
191
+ * > + Use UTC format when filtering with dates.
192
+ * > + Only 1 use of each filter in the same query is supported. If a filter is defined more than once in a query, only the first occurrence is processed.
173
193
  * @public
174
194
  * @documentationMaturity preview
175
195
  * @requiredField query
@@ -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,I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"}
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;AAkHD,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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C,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.43",
3
+ "version": "1.0.45",
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": "437e4cb6872612ff88ebed33dc4ece6d08aef2c86673ecb45383d63f"
36
+ "falconPackageHash": "acb6a2e22072e223b40fc6c15c81930ec5d5122537ff09d1a3bad02a"
37
37
  }