@wix/bookings 1.0.14 → 1.0.15

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/index.d.ts +2 -1
  2. package/build/cjs/index.js +3 -2
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/src/bookings-calendar-v1-session.http.d.ts +49 -26
  5. package/build/cjs/src/bookings-calendar-v1-session.http.js +49 -26
  6. package/build/cjs/src/bookings-calendar-v1-session.http.js.map +1 -1
  7. package/build/cjs/src/bookings-calendar-v1-session.universal.d.ts +49 -26
  8. package/build/cjs/src/bookings-calendar-v1-session.universal.js +49 -26
  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.http.d.ts +64 -0
  11. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.http.js +296 -0
  12. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.http.js.map +1 -0
  13. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.public.d.ts +11 -0
  14. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.public.js +69 -0
  15. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.public.js.map +1 -0
  16. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +1831 -0
  17. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.js +197 -0
  18. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.js.map +1 -0
  19. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +1992 -0
  20. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js +685 -0
  21. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -0
  22. package/build/es/index.d.ts +2 -1
  23. package/build/es/index.js +2 -1
  24. package/build/es/index.js.map +1 -1
  25. package/build/es/src/bookings-calendar-v1-session.http.d.ts +49 -26
  26. package/build/es/src/bookings-calendar-v1-session.http.js +49 -26
  27. package/build/es/src/bookings-calendar-v1-session.http.js.map +1 -1
  28. package/build/es/src/bookings-calendar-v1-session.universal.d.ts +49 -26
  29. package/build/es/src/bookings-calendar-v1-session.universal.js +49 -26
  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.http.d.ts +64 -0
  32. package/build/es/src/bookings-catalog-v1-service-options-and-variants.http.js +286 -0
  33. package/build/es/src/bookings-catalog-v1-service-options-and-variants.http.js.map +1 -0
  34. package/build/es/src/bookings-catalog-v1-service-options-and-variants.public.d.ts +11 -0
  35. package/build/es/src/bookings-catalog-v1-service-options-and-variants.public.js +38 -0
  36. package/build/es/src/bookings-catalog-v1-service-options-and-variants.public.js.map +1 -0
  37. package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +1831 -0
  38. package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.js +194 -0
  39. package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.js.map +1 -0
  40. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +1992 -0
  41. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js +656 -0
  42. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -0
  43. package/package.json +2 -2
@@ -172,26 +172,31 @@ const _updateSessionResponse = { session: '_session' };
172
172
  /**
173
173
  * Creates a session.
174
174
  *
175
+ *
176
+ * The `createSession()` function returns a Promise that resolves when a session is created.
175
177
  * A session is one of the following:
176
- * + `"EVENT"`: Reserved period of time on any [schedule](wix-bookings-backend.sessions/introduction#schedules). For example, an appointment, class, or course. Events are visible in the Dashboard in the Bookings app's [**Booking Calendar**](https://support.wix.com/en/article/wix-bookings-about-the-wix-bookings-calendar) page. Set `type` to `"EVENT"` when creating sessions that reserve time on a service's schedule, or when creating a blocked time for a resource.
177
- * + `"WORKING_HOURS"`: Placeholder for available time on a resource’s schedule. Set `type` to `"WORKING_HOURS"` when creating sessions for resource availability.
178
+ * + `EVENT`: Reserved period of time on any schedule. For example, an appointment, class, or course. Events are visible in the Dashboard in the Bookings app's [Booking Calendar](https://support.wix.com/en/article/wix-bookings-about-the-wix-bookings-calendar) page. Set `type` to `EVENT` when creating sessions that reserve time on a service's schedule, or when creating a blocked time for a resource.
179
+ * + `WORKING_HOURS`: Placeholder for available time on a resource’s schedule. Set `type` to `WORKING_HOURS` when creating sessions for resource availability.
178
180
  *
179
181
  * Sessions belong to a schedule. Schedules are owned by a resource or a service.
180
182
  *
181
183
  * A session may be an individual session or a recurring session.
182
184
  * An individual session has a discrete start and end date, while a recurring session defines a series of repeating sessions. An instance of a recurring session is a specific session in a series of repeating sessions, generated according to the recurrence rule.
185
+ *
183
186
  * The `start` and `end` properties set the time and duration of the session. For non-recurring sessions, you can use either the `timestamp` or `localDateTime` properties.
184
- * For recurring sessions, use the `localDateTime` property only. For recurring sessions, the `start` property sets the date and time of the first recurring session, subject to the recurrence rule. For example, if you set the `start` to Saturday, May 1 and your recurrence rule says every second Monday, then the first session will only be on Monday, May 10.
187
+ * For recurring sessions, use the `localDateTime` property only.
188
+ *
189
+ * For recurring sessions, the `start` property sets the date and time of the first recurring session, subject to the recurrence rule. For example, if you set the `start` to Saturday, May 1 and your recurrence rule says every second Monday, then the first session will only be on Monday, May 10.
185
190
  *
186
191
  * The `year`, `monthOfYear` and `dayOfMonth` properties in the `end` property are used with the `hourOfDay` and `minutesOfHour` properties to set the duration of each session relative to the `start`.
192
+ *
187
193
  * The `UNTIL` keyword in the `recurrence` property sets the date for the last recurring session.
188
194
  *
189
- * You can create a session that blocks hours on the resource's calendar, making the resource unavailable.
190
- * Create a non-recurring session of type `"EVENT"`, and add `"Blocked"` to the `tags` array.
195
+ * You can create a session that blocks hours on the resource's calendar, making the resource unavailable, by creating a non-recurring session of type `"EVENT"`, and add `"Blocked"` to the `tags` array.
191
196
  *
192
197
  * >**Notes:**
193
198
  * > + For properties where there is no explicit timezone information, the timezone used is the business’s timezone.
194
- * > + Only users with **[Bookings Admin](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin)** permissions can create a session. You can override the permissions by setting the `suppressAuth` option to `true`.
199
+ * > + This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
195
200
  * @param session - The session to create.
196
201
  * @public
197
202
  * @documentationMaturity preview
@@ -248,7 +253,10 @@ exports.createSession = createSession;
248
253
  /**
249
254
  * Updates a session.
250
255
  *
251
- * When you update a recurring session, only the future instances of the recurrence will be updated. Changing an individual instance's `start` or `end` time will change the way updates to `start` and `end` on the recurring session affect the session instance:
256
+ *
257
+ * The `updateSession()` function returns a Promise that resolves to the updated session.
258
+ *
259
+ * When you update a recurring session, only the future instances of the recurrence will be updated. Changing an individual instance's `start` or `end` time will change the way updates to `start` and `end` on the recurring session pattern definition affect the session instance:
252
260
  * |Change made to the instance | Effect of changes made to the recurrence
253
261
  * |--|--|
254
262
  * |Instance `start` time changed.|Changes to the recurring session's `start` or `end` time will not update the instance.|
@@ -261,7 +269,7 @@ exports.createSession = createSession;
261
269
  *
262
270
  * >**Notes:**
263
271
  * > + Where there is no explicit timezone information, the timezone used is the business’s timezone.
264
- * > + Only users with **[Bookings Admin](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin)** permissions can update a session. You can override the permissions by setting the `suppressAuth` option to `true`.
272
+ * > + This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
265
273
  * @param _id - Session ID.
266
274
  * @public
267
275
  * @documentationMaturity preview
@@ -322,12 +330,17 @@ exports.updateSession = updateSession;
322
330
  /**
323
331
  * Deletes a session.
324
332
  *
325
- * Use the `participantNotification` property to send an email to the participants when the session is deleted.
326
- * When deleting a session of type `"EVENT"` where a booking exists, the booking's status is updated to `"CANCELED"`.
327
- * To delete a set of recurring sessions, specify the session's `recurringSessionId` in the `sessionId` property in the parameters.
333
+ *
334
+ * The `deleteSession()` function returns a Promise that resolves when the session has been deleted.
335
+ *
336
+ * Use the `options.participantNotification` property to send an email notification to the participants when the session is deleted.
337
+ *
338
+ * When deleting a session of type `EVENT` where a booking exists, the booking's status is updated to `CANCELED`.
339
+ *
340
+ * To delete a set of recurring sessions, specify the session's `recurringSessionId` in the `sessionId` parameter.
328
341
  * When deleting a recurrence, only future instances of the recurrence are deleted.
329
342
  *
330
- * >**Note:** Only users with **[Bookings Admin](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin)** permissions can delete a session. You can override the permissions by setting the `suppressAuth` option to `true`.
343
+ * >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
331
344
  * @param sessionId - The ID of the session to delete.
332
345
  * @public
333
346
  * @documentationMaturity preview
@@ -384,29 +397,31 @@ exports.deleteSession = deleteSession;
384
397
  /**
385
398
  * Retrieves a list of sessions, given the provided time range, filtering, and paging.
386
399
  *
387
- * Query Sessions runs with these defaults, which you can override:
400
+ *
401
+ * The `querySessions()` function builds a query to retrieve a list of sessions, and returns a `SessionQueryBuilder` object.
402
+ *
403
+ * The returned object contains the query definition, which is typically used to run the query using the `find()` function.
404
+ *
405
+ * You can refine the query by chaining `SessionQueryBuilder` functions to the query, before chaining `find()`. These enable you to filter and control the results a query returns.
406
+ *
407
+ * The `querySessions()` function runs with these defaults, which you can override:
388
408
  * - All session types are returned.
389
- * - `instances` is true. This means only single sessions and instances of recurring sessions are returned.
409
+ * - `options.instances` is true. This means only single sessions and instances of recurring sessions are returned.
390
410
  * - Session objects are returned with the fields specified in the `NO_PI` fieldset. This means they don't contain personal information.
391
- * - `query.cursorPaging.limit` is `100`.
392
411
  *
393
412
  * Note the following limitations, which you can't override:
394
413
  * - Sessions are always sorted by `start.timestamp` in `ASC` order.
395
414
  * - The maximum time range you can query is 1 year.
396
415
  *
397
- * To query only for events, set `type` to `EVENT`. An event is a single or recurring session that appears in a calendar, for example an appointment or a class.
398
- *
399
- * To query for recurring session pattern definitions, set `instances` to `false`. In this case, you don't need to specify a time range.
416
+ * To query only for events, set `options.type` to `EVENT`. An event is a single or recurring session that appears in a calendar, for example an appointment or a class.
400
417
  *
401
- * To return session objects including personal information, use the `ALL_PI` fieldset. This requires the CALENDAR.SESSION_READ_PI permission scope.
418
+ * To query for recurring session pattern definitions, set `options.instances` to `false`. In this case, you don't need to specify a time range.
402
419
  *
403
- * For details on fieldsets, see [Sessions: Supported Fieldsets](#fieldsets).
420
+ * To return session objects including personal information, use the `ALL_PI` fieldset.
404
421
  *
405
- * For field support for filters, see [Sessions: Supported Filters](#filtering).
422
+ * For details on fieldsets, see [Sessions: Supported Fieldsets](https://www.wix.com/velo/reference/wix-bookings-v2/sessions/fieldsets).
406
423
  *
407
- * To learn about working with _Query_ endpoints in general, see
408
- * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) and
409
- * [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
424
+ * >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
410
425
  * @public
411
426
  * @documentationMaturity preview
412
427
  */
@@ -466,8 +481,12 @@ exports.querySessions = querySessions;
466
481
  * Retrieves a session by ID.
467
482
  *
468
483
  *
484
+ * The `getSession()` function returns a Promise that resolves to a session with the specified session ID.
485
+ *
469
486
  * By default, a session object is returned with the fields specified in the `NO_PI` fieldset. This means it doesn't contain personal information.
470
- * To retrieve a full session object including all personal information, use the `ALL_PI` fieldset. This requires the CALENDAR.SESSION_READ_PI permission scope.
487
+ * To retrieve a full session object including all personal information, use the `ALL_PI` fieldset.
488
+ *
489
+ * >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
471
490
  * @param _id - ID of the session to retrieve.
472
491
  * @public
473
492
  * @documentationMaturity preview
@@ -523,8 +542,12 @@ exports.getSession = getSession;
523
542
  * Retrieves a list of sessions by their IDs.
524
543
  *
525
544
  *
545
+ * The `listSessions()` function returns a Promise that resolves to the sessions with the specified IDs.
546
+ *
526
547
  * By default, session objects are returned with the fields specified in the `NO_PI` fieldset. This means they don't contain personal information.
527
- * To retrieve full session objects including all personal information, use the `ALL_PI` fieldset. This requires the CALENDAR.SESSION_READ_PI permission scope.
548
+ * To retrieve full session objects including all personal information, use the `ALL_PI` fieldset.
549
+ *
550
+ * >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
528
551
  * @param ids - IDs of the sessions to retrieve.
529
552
  * @public
530
553
  * @documentationMaturity preview
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-calendar-v1-session.universal.js","sourceRoot":"","sources":["../../../src/bookings-calendar-v1-session.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;AA4N5B,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,gEAAgE;IAChE,6BAAa,CAAA;IACb,kFAAkF;IAClF,6BAAa,CAAA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AU,EAAE,EAAE,SAAS,EAAE,kBAAkB,EAAE,QAAQ,EAAE;YACvD,kBAAkB,EAAE;gBAClB,KAAK,EAAE,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;gBAC9B,cAAc,EAAE,aAAa;aAC9B;YACD,oBAAoB,EAAE,sBAAsB;SAC7C,CAAC,CAAC;QAEH,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC;QAEpD,MAAM,OAAO,GAAG,sCAAsC,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAE7E,KAAK,CAAC,wCAAwC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAEpE,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;QAC5B,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,qBAAc,CAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,KAAK;gBACL,SAAS;aACV,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AAtDD,oCAsDC"}
1
+ {"version":3,"file":"bookings-calendar-v1-session.universal.js","sourceRoot":"","sources":["../../../src/bookings-calendar-v1-session.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,4GAA8F;AAC9F,aAAa;AACb,4FAA6E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,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,qBAAc,CAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,KAAK;gBACL,SAAS;aACV,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AAtDD,oCAsDC"}
@@ -0,0 +1,64 @@
1
+ import { RequestOptionsFactory } from '@wix/sdk-types';
2
+ import { CloneServiceOptionsAndVariantsRequest, CloneServiceOptionsAndVariantsResponse, CreateServiceOptionsAndVariantsRequest, CreateServiceOptionsAndVariantsResponse, DeleteServiceOptionsAndVariantsRequest, DeleteServiceOptionsAndVariantsResponse, GetServiceOptionsAndVariantsByServiceIdRequest, GetServiceOptionsAndVariantsByServiceIdResponse, GetServiceOptionsAndVariantsRequest, GetServiceOptionsAndVariantsResponse, QueryServiceOptionsAndVariantsRequest, QueryServiceOptionsAndVariantsResponse, UpdateServiceOptionsAndVariantsRequest, UpdateServiceOptionsAndVariantsResponse } from './bookings-catalog-v1-service-options-and-variants.types';
3
+ /**
4
+ * Creates options and variants for a service. Note that only a single
5
+ * `serviceOptionsAndVariants` object is supported per service.
6
+ *
7
+ *
8
+ * Currently, only a single option is supported per `serviceOptionsAndVariants` object.
9
+ *
10
+ * Before creating the `serviceOptionsAndVariants` object you need to calculate
11
+ * all variants, since you must pass them in the `variants` array of the
12
+ * request. Variants aren't automatically calculated from the options. Currently,
13
+ * services are limited to a single option. Therefore, the variants
14
+ * array is equal to the list of all choices for custom options,
15
+ * or all staff members providing the service for staff member based options.
16
+ */
17
+ export declare function createServiceOptionsAndVariants(payload: CreateServiceOptionsAndVariantsRequest): RequestOptionsFactory<CreateServiceOptionsAndVariantsResponse>;
18
+ /**
19
+ * Clones a `serviceOptionsAndVariants` object. This endpoint can be called, for example, when duplicating a service.
20
+ * The result is a deep clone in which all Service Options and Service Variants are duplicated. Each Service Option
21
+ * in the clone will have a newly generated ID that is copied to all Service Choices of the Service Variants in the
22
+ * clone. The clone will reference the service provided in the request by `target_service_id`.
23
+ */
24
+ export declare function cloneServiceOptionsAndVariants(payload: CloneServiceOptionsAndVariantsRequest): RequestOptionsFactory<CloneServiceOptionsAndVariantsResponse>;
25
+ /** Retrieves a `serviceOptionsAndVariants` object. */
26
+ export declare function getServiceOptionsAndVariants(payload: GetServiceOptionsAndVariantsRequest): RequestOptionsFactory<GetServiceOptionsAndVariantsResponse>;
27
+ /** Retrieves a service's options and variants by `service_id`. */
28
+ export declare function getServiceOptionsAndVariantsByServiceId(payload: GetServiceOptionsAndVariantsByServiceIdRequest): RequestOptionsFactory<GetServiceOptionsAndVariantsByServiceIdResponse>;
29
+ /**
30
+ * Updates the specified fields of the `serviceOptionsAndVariants` object.
31
+ *
32
+ * Currently, only a single option is supported per `serviceOptionsAndVariants` object.
33
+ *
34
+ * If you want to update `variants`, you must pass the full list of supported variants.
35
+ *
36
+ * If you want to update `options`, you must pass the full list of supported options.
37
+ */
38
+ export declare function updateServiceOptionsAndVariants(payload: UpdateServiceOptionsAndVariantsRequest): RequestOptionsFactory<UpdateServiceOptionsAndVariantsResponse>;
39
+ /**
40
+ * Deletes a `serviceOptionsAndVariants` object.
41
+ *
42
+ *
43
+ * Since each service has only a single `serviceOptionsAndVariants` object, the
44
+ * service won't have any supported options and variants any longer. Instead
45
+ * the standard Wix Bookings service price calculation will be used.
46
+ */
47
+ export declare function deleteServiceOptionsAndVariants(payload: DeleteServiceOptionsAndVariantsRequest): RequestOptionsFactory<DeleteServiceOptionsAndVariantsResponse>;
48
+ /**
49
+ * Retrieves a list of `serviceOptionsAndVariants`, given the provided paging, filtering, and sorting.
50
+ *
51
+ * Query Service Options And Variants runs with these defaults, which you can override:
52
+ *
53
+ * - `id` is sorted in `ASC` order
54
+ * - `cursorPaging.limit` is `100`
55
+ *
56
+ * For a detailed list of supported filtering operations see
57
+ * [supported filters](https://dev.wix.com/api/rest/wix-bookings/service-variants/supported-filters).
58
+ *
59
+ * To learn about working with _Query_ endpoints, see
60
+ * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
61
+ * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination),
62
+ * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
63
+ */
64
+ export declare function queryServiceOptionsAndVariants(payload: QueryServiceOptionsAndVariantsRequest): RequestOptionsFactory<QueryServiceOptionsAndVariantsResponse>;
@@ -0,0 +1,296 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.queryServiceOptionsAndVariants = exports.deleteServiceOptionsAndVariants = exports.updateServiceOptionsAndVariants = exports.getServiceOptionsAndVariantsByServiceId = exports.getServiceOptionsAndVariants = exports.cloneServiceOptionsAndVariants = exports.createServiceOptionsAndVariants = void 0;
4
+ const metro_runtime_1 = require("@wix/metro-runtime");
5
+ const ambassador_1 = require("@wix/metro-runtime/ambassador");
6
+ const metro_runtime_2 = require("@wix/metro-runtime");
7
+ const _cloneServiceOptionsAndVariantsRequest = {};
8
+ const _cloneServiceOptionsAndVariantsResponse = {};
9
+ const _createServiceOptionsAndVariantsRequest = {};
10
+ const _createServiceOptionsAndVariantsResponse = {};
11
+ const _deleteServiceOptionsAndVariantsRequest = {};
12
+ const _deleteServiceOptionsAndVariantsResponse = {};
13
+ const _getServiceOptionsAndVariantsByServiceIdRequest = {};
14
+ const _getServiceOptionsAndVariantsByServiceIdResponse = {};
15
+ const _getServiceOptionsAndVariantsRequest = {};
16
+ const _getServiceOptionsAndVariantsResponse = {};
17
+ const _queryServiceOptionsAndVariantsRequest = {};
18
+ const _queryServiceOptionsAndVariantsResponse = {};
19
+ const _updateServiceOptionsAndVariantsRequest = {
20
+ mask: 'google.protobuf.FieldMask',
21
+ };
22
+ const _updateServiceOptionsAndVariantsResponse = {};
23
+ function resolveWixBookingsCatalogV1ServiceOptionsAndVariantsServiceUrl(opts) {
24
+ const domainToMappings = {
25
+ 'manage._base_domain_': [
26
+ {
27
+ srcPath: '/_api/v1/service-options-and-variants',
28
+ destPath: '/v1/serviceOptionsAndVariants',
29
+ },
30
+ {
31
+ srcPath: '/_api/v1/serviceOptionsAndVariants',
32
+ destPath: '/v1/serviceOptionsAndVariants',
33
+ },
34
+ {
35
+ srcPath: '/_api/bookings/v1/service-options-and-variants',
36
+ destPath: '',
37
+ },
38
+ ],
39
+ _: [
40
+ {
41
+ srcPath: '/_api/v1/service-options-and-variants',
42
+ destPath: '/v1/serviceOptionsAndVariants',
43
+ },
44
+ {
45
+ srcPath: '/_api/v1/serviceOptionsAndVariants',
46
+ destPath: '/v1/serviceOptionsAndVariants',
47
+ },
48
+ ],
49
+ '*.dev.wix-code.com': [
50
+ {
51
+ srcPath: '/_api/v1/service-options-and-variants',
52
+ destPath: '/v1/serviceOptionsAndVariants',
53
+ },
54
+ ],
55
+ 'editor._base_domain_': [
56
+ {
57
+ srcPath: '/_api/v1/service-options-and-variants',
58
+ destPath: '/v1/serviceOptionsAndVariants',
59
+ },
60
+ {
61
+ srcPath: '/_api/bookings/v1/service-options-and-variants',
62
+ destPath: '/api',
63
+ },
64
+ ],
65
+ 'blocks._base_domain_': [
66
+ {
67
+ srcPath: '/_api/v1/service-options-and-variants',
68
+ destPath: '/v1/serviceOptionsAndVariants',
69
+ },
70
+ {
71
+ srcPath: '/_api/bookings/v1/service-options-and-variants',
72
+ destPath: '/api',
73
+ },
74
+ ],
75
+ 'create.editorx': [
76
+ {
77
+ srcPath: '/_api/v1/service-options-and-variants',
78
+ destPath: '/v1/serviceOptionsAndVariants',
79
+ },
80
+ {
81
+ srcPath: '/_api/bookings/v1/service-options-and-variants',
82
+ destPath: '/api',
83
+ },
84
+ ],
85
+ 'www.wixapis.com': [
86
+ {
87
+ srcPath: '/bookings/v1/serviceOptionsAndVariants',
88
+ destPath: '/v1/serviceOptionsAndVariants',
89
+ },
90
+ ],
91
+ };
92
+ return metro_runtime_2.resolveUrl(Object.assign(opts, { domainToMappings }));
93
+ }
94
+ /**
95
+ * Creates options and variants for a service. Note that only a single
96
+ * `serviceOptionsAndVariants` object is supported per service.
97
+ *
98
+ *
99
+ * Currently, only a single option is supported per `serviceOptionsAndVariants` object.
100
+ *
101
+ * Before creating the `serviceOptionsAndVariants` object you need to calculate
102
+ * all variants, since you must pass them in the `variants` array of the
103
+ * request. Variants aren't automatically calculated from the options. Currently,
104
+ * services are limited to a single option. Therefore, the variants
105
+ * array is equal to the list of all choices for custom options,
106
+ * or all staff members providing the service for staff member based options.
107
+ */
108
+ function createServiceOptionsAndVariants(payload) {
109
+ const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_createServiceOptionsAndVariantsRequest, {});
110
+ const { fromJSON: fromRes } = ambassador_1.serializer(_createServiceOptionsAndVariantsResponse, {});
111
+ function __createServiceOptionsAndVariants({ host }) {
112
+ const serializedData = toReq(payload);
113
+ const metadata = {
114
+ method: 'POST',
115
+ url: resolveWixBookingsCatalogV1ServiceOptionsAndVariantsServiceUrl({
116
+ protoPath: '/v1/serviceOptionsAndVariants',
117
+ data: serializedData,
118
+ host,
119
+ }),
120
+ data: serializedData,
121
+ transformResponse: fromRes,
122
+ };
123
+ return metadata;
124
+ }
125
+ __createServiceOptionsAndVariants.fromReq = fromReq;
126
+ return __createServiceOptionsAndVariants;
127
+ }
128
+ exports.createServiceOptionsAndVariants = createServiceOptionsAndVariants;
129
+ /**
130
+ * Clones a `serviceOptionsAndVariants` object. This endpoint can be called, for example, when duplicating a service.
131
+ * The result is a deep clone in which all Service Options and Service Variants are duplicated. Each Service Option
132
+ * in the clone will have a newly generated ID that is copied to all Service Choices of the Service Variants in the
133
+ * clone. The clone will reference the service provided in the request by `target_service_id`.
134
+ */
135
+ function cloneServiceOptionsAndVariants(payload) {
136
+ const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_cloneServiceOptionsAndVariantsRequest, {});
137
+ const { fromJSON: fromRes } = ambassador_1.serializer(_cloneServiceOptionsAndVariantsResponse, {});
138
+ function __cloneServiceOptionsAndVariants({ host }) {
139
+ const serializedData = toReq(payload);
140
+ const metadata = {
141
+ method: 'POST',
142
+ url: resolveWixBookingsCatalogV1ServiceOptionsAndVariantsServiceUrl({
143
+ protoPath: '/v1/serviceOptionsAndVariants/{cloneFromId}/clone',
144
+ data: serializedData,
145
+ host,
146
+ }),
147
+ data: serializedData,
148
+ transformResponse: fromRes,
149
+ };
150
+ return metadata;
151
+ }
152
+ __cloneServiceOptionsAndVariants.fromReq = fromReq;
153
+ return __cloneServiceOptionsAndVariants;
154
+ }
155
+ exports.cloneServiceOptionsAndVariants = cloneServiceOptionsAndVariants;
156
+ /** Retrieves a `serviceOptionsAndVariants` object. */
157
+ function getServiceOptionsAndVariants(payload) {
158
+ const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_getServiceOptionsAndVariantsRequest, {});
159
+ const { fromJSON: fromRes } = ambassador_1.serializer(_getServiceOptionsAndVariantsResponse, {});
160
+ function __getServiceOptionsAndVariants({ host }) {
161
+ const serializedData = toReq(payload);
162
+ const metadata = {
163
+ method: 'GET',
164
+ url: resolveWixBookingsCatalogV1ServiceOptionsAndVariantsServiceUrl({
165
+ protoPath: '/v1/serviceOptionsAndVariants/{serviceOptionsAndVariantsId}',
166
+ data: serializedData,
167
+ host,
168
+ }),
169
+ params: metro_runtime_1.toURLSearchParams(serializedData),
170
+ transformResponse: fromRes,
171
+ };
172
+ return metadata;
173
+ }
174
+ __getServiceOptionsAndVariants.fromReq = fromReq;
175
+ return __getServiceOptionsAndVariants;
176
+ }
177
+ exports.getServiceOptionsAndVariants = getServiceOptionsAndVariants;
178
+ /** Retrieves a service's options and variants by `service_id`. */
179
+ function getServiceOptionsAndVariantsByServiceId(payload) {
180
+ const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_getServiceOptionsAndVariantsByServiceIdRequest, {});
181
+ const { fromJSON: fromRes } = ambassador_1.serializer(_getServiceOptionsAndVariantsByServiceIdResponse, {});
182
+ function __getServiceOptionsAndVariantsByServiceId({ host }) {
183
+ const serializedData = toReq(payload);
184
+ const metadata = {
185
+ method: 'GET',
186
+ url: resolveWixBookingsCatalogV1ServiceOptionsAndVariantsServiceUrl({
187
+ protoPath: '/v1/serviceOptionsAndVariants/service_id/{serviceId}',
188
+ data: serializedData,
189
+ host,
190
+ }),
191
+ params: metro_runtime_1.toURLSearchParams(serializedData),
192
+ transformResponse: fromRes,
193
+ };
194
+ return metadata;
195
+ }
196
+ __getServiceOptionsAndVariantsByServiceId.fromReq = fromReq;
197
+ return __getServiceOptionsAndVariantsByServiceId;
198
+ }
199
+ exports.getServiceOptionsAndVariantsByServiceId = getServiceOptionsAndVariantsByServiceId;
200
+ /**
201
+ * Updates the specified fields of the `serviceOptionsAndVariants` object.
202
+ *
203
+ * Currently, only a single option is supported per `serviceOptionsAndVariants` object.
204
+ *
205
+ * If you want to update `variants`, you must pass the full list of supported variants.
206
+ *
207
+ * If you want to update `options`, you must pass the full list of supported options.
208
+ */
209
+ function updateServiceOptionsAndVariants(payload) {
210
+ const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_updateServiceOptionsAndVariantsRequest, {});
211
+ const { fromJSON: fromRes } = ambassador_1.serializer(_updateServiceOptionsAndVariantsResponse, {});
212
+ function __updateServiceOptionsAndVariants({ host }) {
213
+ const serializedData = toReq(payload);
214
+ const metadata = {
215
+ method: 'PATCH',
216
+ url: resolveWixBookingsCatalogV1ServiceOptionsAndVariantsServiceUrl({
217
+ protoPath: '/v1/serviceOptionsAndVariants/{serviceOptionsAndVariants.id}',
218
+ data: serializedData,
219
+ host,
220
+ }),
221
+ data: serializedData,
222
+ transformResponse: fromRes,
223
+ };
224
+ return metadata;
225
+ }
226
+ __updateServiceOptionsAndVariants.fromReq = fromReq;
227
+ return __updateServiceOptionsAndVariants;
228
+ }
229
+ exports.updateServiceOptionsAndVariants = updateServiceOptionsAndVariants;
230
+ /**
231
+ * Deletes a `serviceOptionsAndVariants` object.
232
+ *
233
+ *
234
+ * Since each service has only a single `serviceOptionsAndVariants` object, the
235
+ * service won't have any supported options and variants any longer. Instead
236
+ * the standard Wix Bookings service price calculation will be used.
237
+ */
238
+ function deleteServiceOptionsAndVariants(payload) {
239
+ const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_deleteServiceOptionsAndVariantsRequest, {});
240
+ const { fromJSON: fromRes } = ambassador_1.serializer(_deleteServiceOptionsAndVariantsResponse, {});
241
+ function __deleteServiceOptionsAndVariants({ host }) {
242
+ const serializedData = toReq(payload);
243
+ const metadata = {
244
+ method: 'DELETE',
245
+ url: resolveWixBookingsCatalogV1ServiceOptionsAndVariantsServiceUrl({
246
+ protoPath: '/v1/serviceOptionsAndVariants/{serviceOptionsAndVariantsId}',
247
+ data: serializedData,
248
+ host,
249
+ }),
250
+ params: metro_runtime_1.toURLSearchParams(serializedData),
251
+ transformResponse: fromRes,
252
+ };
253
+ return metadata;
254
+ }
255
+ __deleteServiceOptionsAndVariants.fromReq = fromReq;
256
+ return __deleteServiceOptionsAndVariants;
257
+ }
258
+ exports.deleteServiceOptionsAndVariants = deleteServiceOptionsAndVariants;
259
+ /**
260
+ * Retrieves a list of `serviceOptionsAndVariants`, given the provided paging, filtering, and sorting.
261
+ *
262
+ * Query Service Options And Variants runs with these defaults, which you can override:
263
+ *
264
+ * - `id` is sorted in `ASC` order
265
+ * - `cursorPaging.limit` is `100`
266
+ *
267
+ * For a detailed list of supported filtering operations see
268
+ * [supported filters](https://dev.wix.com/api/rest/wix-bookings/service-variants/supported-filters).
269
+ *
270
+ * To learn about working with _Query_ endpoints, see
271
+ * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
272
+ * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination),
273
+ * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
274
+ */
275
+ function queryServiceOptionsAndVariants(payload) {
276
+ const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_queryServiceOptionsAndVariantsRequest, {});
277
+ const { fromJSON: fromRes } = ambassador_1.serializer(_queryServiceOptionsAndVariantsResponse, {});
278
+ function __queryServiceOptionsAndVariants({ host }) {
279
+ const serializedData = toReq(payload);
280
+ const metadata = {
281
+ method: 'POST',
282
+ url: resolveWixBookingsCatalogV1ServiceOptionsAndVariantsServiceUrl({
283
+ protoPath: '/v1/serviceOptionsAndVariants/query',
284
+ data: serializedData,
285
+ host,
286
+ }),
287
+ data: serializedData,
288
+ transformResponse: fromRes,
289
+ };
290
+ return metadata;
291
+ }
292
+ __queryServiceOptionsAndVariants.fromReq = fromReq;
293
+ return __queryServiceOptionsAndVariants;
294
+ }
295
+ exports.queryServiceOptionsAndVariants = queryServiceOptionsAndVariants;
296
+ //# sourceMappingURL=bookings-catalog-v1-service-options-and-variants.http.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bookings-catalog-v1-service-options-and-variants.http.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-service-options-and-variants.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AAoBhD,MAAM,sCAAsC,GAAG,EAAE,CAAC;AAClD,MAAM,uCAAuC,GAAG,EAAE,CAAC;AACnD,MAAM,uCAAuC,GAAG,EAAE,CAAC;AACnD,MAAM,wCAAwC,GAAG,EAAE,CAAC;AACpD,MAAM,uCAAuC,GAAG,EAAE,CAAC;AACnD,MAAM,wCAAwC,GAAG,EAAE,CAAC;AACpD,MAAM,+CAA+C,GAAG,EAAE,CAAC;AAC3D,MAAM,gDAAgD,GAAG,EAAE,CAAC;AAC5D,MAAM,oCAAoC,GAAG,EAAE,CAAC;AAChD,MAAM,qC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,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,MAAM,EAAE,MAAa;YACrB,GAAG,EAAE,8DAA8D,CAAC;gBAClE,SAAS,EAAE,qCAAqC;gBAChD,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,gCAAgC,CAAC,OAAO,GAAG,OAAO,CAAC;IAEnD,OAAO,gCAAgC,CAAC;AAC1C,CAAC;AA/BD,wEA+BC"}
@@ -0,0 +1,11 @@
1
+ import { HttpClient } from '@wix/sdk-types';
2
+ import { ServiceOptionsAndVariants, UpdateServiceOptionsAndVariants, DeleteServiceOptionsAndVariantsOptions, UpdateServiceOptionsAndVariantsOptions } from './bookings-catalog-v1-service-options-and-variants.universal';
3
+ export declare function createServiceOptionsAndVariants(httpClient: HttpClient): (serviceOptionsAndVariants: ServiceOptionsAndVariants) => Promise<import("./bookings-catalog-v1-service-options-and-variants.universal").CreateServiceOptionsAndVariantsResponse>;
4
+ export declare function cloneServiceOptionsAndVariants(httpClient: HttpClient): (cloneFromId: string, targetServiceId: string) => Promise<import("./bookings-catalog-v1-service-options-and-variants.universal").CloneServiceOptionsAndVariantsResponse>;
5
+ export declare function getServiceOptionsAndVariants(httpClient: HttpClient): (serviceOptionsAndVariantsId: string) => Promise<ServiceOptionsAndVariants>;
6
+ export declare function getServiceOptionsAndVariantsByServiceId(httpClient: HttpClient): (serviceId: string) => Promise<import("./bookings-catalog-v1-service-options-and-variants.universal").GetServiceOptionsAndVariantsByServiceIdResponse>;
7
+ export declare function updateServiceOptionsAndVariants(httpClient: HttpClient): (_id: string | null, serviceOptionsAndVariants: UpdateServiceOptionsAndVariants, options?: UpdateServiceOptionsAndVariantsOptions | undefined) => Promise<ServiceOptionsAndVariants>;
8
+ export declare function deleteServiceOptionsAndVariants(httpClient: HttpClient): (serviceOptionsAndVariantsId: string, options?: DeleteServiceOptionsAndVariantsOptions | undefined) => Promise<void>;
9
+ export declare function queryServiceOptionsAndVariants(httpClient: HttpClient): () => import("./bookings-catalog-v1-service-options-and-variants.universal").ServiceOptionsAndVariantsListQueryBuilder;
10
+ export { ServiceOptionType, SortOrder, Day, Transparency, RecurringIntervalType, LocationType, LocationStatus, LocationsLocationType, DayOfWeek, ApprovalStatus, ScheduleStatus, ConferenceType, ResourceStatus, Event, ServiceStatus, ServiceNotificationEvent, CalendarType, Status, SessionType, PlacementType, ResolutionMethod, } from './bookings-catalog-v1-service-options-and-variants.universal';
11
+ export { ServiceOptionsAndVariants, ServiceOption, ServiceOptionOptionSpecificDataOneOf, CustomServiceOption, ServiceVariant, ServiceChoice, ServiceChoiceChoiceOneOf, Money, ServiceOptions, ServiceVariants, CreateServiceOptionsAndVariantsRequest, CreateServiceOptionsAndVariantsResponse, CloneServiceOptionsAndVariantsRequest, CloneServiceOptionsAndVariantsResponse, GetServiceOptionsAndVariantsRequest, GetServiceOptionsAndVariantsResponse, GetServiceOptionsAndVariantsByServiceIdRequest, GetServiceOptionsAndVariantsByServiceIdResponse, UpdateServiceOptionsAndVariantsRequest, UpdateServiceOptionsAndVariantsResponse, DeleteServiceOptionsAndVariantsRequest, DeleteServiceOptionsAndVariantsResponse, QueryServiceOptionsAndVariantsRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryServiceOptionsAndVariantsResponse, PagingMetadataV2, Cursors, ResourceNotification, Resource, Schedule, RecurringInterval, Interval, Frequency, LinkedSchedule, Location, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, LocationsLocation, LocationsAddress, LocationsStreetAddress, LocationsAddressLocation, BusinessSchedule, TimePeriod, SpecialHourPeriod, Rate, Price, Availability, AvailabilityConstraints, SplitInterval, Participant, ExternalCalendarOverrides, Version, ConferenceProvider, CalendarConference, Empty, ServiceNotification, Service, ServiceInfo, Media, MediaItem, MediaItemItemOneOf, BookingPolicy, FutureBookingPolicy, WaitingListPolicy, BookingsApprovalPolicy, PaymentOptions, SeoSchema, Keyword, Tag, Settings, BusinessServicesPolicy, ScheduleNotification, ScheduleNotificationEventOneOf, ScheduleCreated, ScheduleUpdated, RecurringSessionsUpdated, Session, CalendarDateTime, LocalDateTime, ExternalCalendarInfo, SessionVersion, ParticipantNotification, ScheduleCancelled, SessionCreated, SessionUpdated, SessionCancelled, AvailabilityPolicyUpdated, AvailabilityPolicy, IntervalSplit, RecurringSessionSplit, ScheduleUnassignedFromUser, MultipleSessionsCreated, ScheduleWithSessions, SitePropertiesOnScheduleCreation, MigrationEvent, MigrationData, StaffData, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, ExtendedFieldsUpdatedEvent, SitePropertiesNotification, SitePropertiesEvent, Properties, Categories, Locale, V4Address, AddressHint, GeoCoordinates, Multilingual, SupportedLanguage, ConsentPolicy, Translation, ChangeContext, ChangeContextPayloadOneOf, PropertiesChange, SiteCreated, SiteCloned, UpdateServiceOptionsAndVariants, UpdateServiceOptionsAndVariantsOptions, DeleteServiceOptionsAndVariantsOptions, ServiceOptionsAndVariantsListQueryResult, ServiceOptionsAndVariantsListQueryBuilder, } from './bookings-catalog-v1-service-options-and-variants.universal';