@wix/bookings 1.0.157 → 1.0.159

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 (83) hide show
  1. package/build/cjs/src/bookings-availability-v1-slot-availability.universal.d.ts +3 -0
  2. package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js +3 -0
  3. package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
  4. package/build/cjs/src/bookings-calendar-v1-session.universal.d.ts +9 -0
  5. package/build/cjs/src/bookings-calendar-v1-session.universal.js +9 -0
  6. package/build/cjs/src/bookings-calendar-v1-session.universal.js.map +1 -1
  7. package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.d.ts +9 -0
  8. package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js +9 -0
  9. package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -1
  10. package/build/cjs/src/bookings-catalog-v1-resource.http.d.ts +47 -134
  11. package/build/cjs/src/bookings-catalog-v1-resource.http.js +47 -134
  12. package/build/cjs/src/bookings-catalog-v1-resource.http.js.map +1 -1
  13. package/build/cjs/src/bookings-catalog-v1-resource.public.d.ts +6 -6
  14. package/build/cjs/src/bookings-catalog-v1-resource.public.js +13 -13
  15. package/build/cjs/src/bookings-catalog-v1-resource.public.js.map +1 -1
  16. package/build/cjs/src/bookings-catalog-v1-resource.universal.d.ts +54 -139
  17. package/build/cjs/src/bookings-catalog-v1-resource.universal.js +66 -147
  18. package/build/cjs/src/bookings-catalog-v1-resource.universal.js.map +1 -1
  19. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +13 -0
  20. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js +13 -0
  21. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
  22. package/build/cjs/src/bookings-reader-v2-extended-booking.universal.d.ts +3 -0
  23. package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js +3 -0
  24. package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
  25. package/build/cjs/src/bookings-services-v2-service.universal.d.ts +6 -0
  26. package/build/cjs/src/bookings-services-v2-service.universal.js +6 -0
  27. package/build/cjs/src/bookings-services-v2-service.universal.js.map +1 -1
  28. package/build/cjs/src/bookings-v2-attendance.http.d.ts +13 -10
  29. package/build/cjs/src/bookings-v2-attendance.http.js +16 -9
  30. package/build/cjs/src/bookings-v2-attendance.http.js.map +1 -1
  31. package/build/cjs/src/bookings-v2-attendance.types.d.ts +13 -5
  32. package/build/cjs/src/bookings-v2-attendance.types.js.map +1 -1
  33. package/build/cjs/src/bookings-v2-attendance.universal.d.ts +32 -14
  34. package/build/cjs/src/bookings-v2-attendance.universal.js +19 -9
  35. package/build/cjs/src/bookings-v2-attendance.universal.js.map +1 -1
  36. package/build/cjs/src/bookings-v2-booking.universal.d.ts +14 -0
  37. package/build/cjs/src/bookings-v2-booking.universal.js +14 -0
  38. package/build/cjs/src/bookings-v2-booking.universal.js.map +1 -1
  39. package/build/cjs/src/bookings-v2-price-info.universal.d.ts +6 -0
  40. package/build/cjs/src/bookings-v2-price-info.universal.js +6 -0
  41. package/build/cjs/src/bookings-v2-price-info.universal.js.map +1 -1
  42. package/build/es/src/bookings-availability-v1-slot-availability.universal.d.ts +3 -0
  43. package/build/es/src/bookings-availability-v1-slot-availability.universal.js +3 -0
  44. package/build/es/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
  45. package/build/es/src/bookings-calendar-v1-session.universal.d.ts +9 -0
  46. package/build/es/src/bookings-calendar-v1-session.universal.js +9 -0
  47. package/build/es/src/bookings-calendar-v1-session.universal.js.map +1 -1
  48. package/build/es/src/bookings-calendar-v2-external-calendar.universal.d.ts +9 -0
  49. package/build/es/src/bookings-calendar-v2-external-calendar.universal.js +9 -0
  50. package/build/es/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -1
  51. package/build/es/src/bookings-catalog-v1-resource.http.d.ts +47 -134
  52. package/build/es/src/bookings-catalog-v1-resource.http.js +47 -134
  53. package/build/es/src/bookings-catalog-v1-resource.http.js.map +1 -1
  54. package/build/es/src/bookings-catalog-v1-resource.public.d.ts +6 -6
  55. package/build/es/src/bookings-catalog-v1-resource.public.js +9 -9
  56. package/build/es/src/bookings-catalog-v1-resource.public.js.map +1 -1
  57. package/build/es/src/bookings-catalog-v1-resource.universal.d.ts +54 -139
  58. package/build/es/src/bookings-catalog-v1-resource.universal.js +61 -142
  59. package/build/es/src/bookings-catalog-v1-resource.universal.js.map +1 -1
  60. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +13 -0
  61. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js +13 -0
  62. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
  63. package/build/es/src/bookings-reader-v2-extended-booking.universal.d.ts +3 -0
  64. package/build/es/src/bookings-reader-v2-extended-booking.universal.js +3 -0
  65. package/build/es/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
  66. package/build/es/src/bookings-services-v2-service.universal.d.ts +6 -0
  67. package/build/es/src/bookings-services-v2-service.universal.js +6 -0
  68. package/build/es/src/bookings-services-v2-service.universal.js.map +1 -1
  69. package/build/es/src/bookings-v2-attendance.http.d.ts +13 -10
  70. package/build/es/src/bookings-v2-attendance.http.js +16 -9
  71. package/build/es/src/bookings-v2-attendance.http.js.map +1 -1
  72. package/build/es/src/bookings-v2-attendance.types.d.ts +13 -5
  73. package/build/es/src/bookings-v2-attendance.types.js.map +1 -1
  74. package/build/es/src/bookings-v2-attendance.universal.d.ts +32 -14
  75. package/build/es/src/bookings-v2-attendance.universal.js +19 -9
  76. package/build/es/src/bookings-v2-attendance.universal.js.map +1 -1
  77. package/build/es/src/bookings-v2-booking.universal.d.ts +14 -0
  78. package/build/es/src/bookings-v2-booking.universal.js +14 -0
  79. package/build/es/src/bookings-v2-booking.universal.js.map +1 -1
  80. package/build/es/src/bookings-v2-price-info.universal.d.ts +6 -0
  81. package/build/es/src/bookings-v2-price-info.universal.js +6 -0
  82. package/build/es/src/bookings-v2-price-info.universal.js.map +1 -1
  83. package/package.json +2 -2
@@ -202,24 +202,15 @@ export function list(payload) {
202
202
  /**
203
203
  * Retrieves a list of the resources according to the specified filters and paging.
204
204
  *
205
- * The query parameter is optional. If no query is provided than all non-deleted resources are returned.
206
205
  *
207
- * |Property|Is supported|
208
- * |--|--|
209
- * |filter | supported fields: `resource.id`, `resource.tags`, `resource.status`|
210
- * |paging | supported |
211
- * |fields | supported |
212
- * |fieldsets | **not supported** |
213
- * |sort | **not supported** |
206
+ * The query parameter is optional. If no query is provided, all non-deleted resources are returned.
214
207
  *
208
+ * |Property|Is supported| |--|--| |filter | supported fields: resource.id, resource.tags, resource.status| |paging | supported | |fields | supported | |fieldsets | not supported | |sort | not supported |
215
209
  *
216
- * >**Notes:**
217
- * > + The following objects in the `query` parameter are not supported for this query:
218
- * > - `sort`
219
- * > - `fieldsets`
210
+ * > **Notes:** The following objects in the query parameter are not supported for this query:
211
+ * > - sort
212
+ * > - fieldsets
220
213
  *
221
- * > **Permissions**
222
- * > This endpoint requires the Read Bookings Calendar, Read Bookings - Public Data, Read Bookings - Including Participants or Manage Bookings permission scope.
223
214
  */
224
215
  export function query(payload) {
225
216
  const { toJSON: toReq, fromJSON: fromReq } = serializer(_queryResourcesRequest, {});
@@ -253,45 +244,26 @@ export function query(payload) {
253
244
  }
254
245
  /**
255
246
  * Creates a resource.
256
- * <!--ONLY:VELO
247
+ *
248
+ *
257
249
  * The `createResource()` function returns a Promise that resolves to the created resource.
258
- * <!--END:ONLY:VELO-->
250
+ * Bookings resources are created with a schedule. The schedule and its sessions determine the resource's availability. Note that the schedule must contain a start date in the availability.start property. For resources that are available during the business's default hours, add the business's schedule as a linked schedule in the resource's schedule. For resources that have their own hours, create sessions with type "WORKING_HOURS" using the resource's schedule. You can use both individual and recurring sessions to define resource availability. You cannot use availability constraints for resource schedules.
259
251
  *
260
- * Bookings resources are created with a schedule. The schedule and its sessions determine the resource's availability. Note that the schedule must contain a start date in the `availability.start` property.
261
- * For resources that are available during the business's default hours, add the business's schedule as a linked schedule in the resource's schedule. For resources that have their own hours, create sessions with type `"WORKING_HOURS"` using the resource's schedule.
262
- * You can use both individual and recurring sessions to define resource availability. You cannot use availability constraints for resource schedules.
263
252
  *
264
- * <!--ONLY:VELO
265
253
  * When creating a resource using `createResource()`, include the resource's schedule information. Set the schedule information as follows:
266
- * + If the resource uses the default business hours, get the business resource's schedule ID and include it in the `scheduleInfo.availability.linkedSchedules` array in the `scheduleInfo` parameter. The default hours can bee found in the Dashboard under **Settings** in the **Bookings** section, on the **Appointment hours** page.
267
- * + If the resource has its own custom working hours, create the resource, then create sessions of type `"WORKING_HOURS"` using the [`createSession()`](wix-bookings-backend.Sessions/createsession) function. Use the `scheduleId` returned from `createResource()` when creating the sessions. These session can be single sessions or recurring sessions.
268
- * + You can have both default business hours and custom hours for the same resource schedule by combining the steps above.
269
- *
270
- * > **Notes:**
271
- * > + The Wix Bookings app does not show both default business hours and custom hours on the **Staff** page in the dashboard. If you've set up both custom and default business hours, only the default business hours will appear in the app, although both are working.
272
- * > + The Wix Bookings app does not show non-recurring `WORKING_HOURS` sessions in the resource calendar.
273
- * > + You can only add the business resource's schedule as a linked schedule for a resource.
274
- * > + A resource can have one schedule only.
275
- * > + You can have up to 135 active resources and an additional 135 deleted resources.
276
- * > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can create a resource. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
277
- * <!--END:ONLY:VELO-->
278
- *
279
- * <!--ONLY:REST-->
280
- * Use the following steps to create resources:
281
- * - Create the resource using including schedule information.
282
- * - If the resource uses the default business hours, get the business resource's schedule ID and include it in the `scheduleInfo.availability.linkedSchedules` array in the in the schedule parameters.
283
- * - If the resource has its own custom working hours, create sessions of type `"WORKING_HOURS"`. Use the `scheduleId` of the new resource when creating the sessions. These session can be single sessions or recurring sessions. You can have both business hours and custom hours for the same resource schedule.
284
- *
285
- * >**Notes:**
286
- * > + A resource can have one schedule only.
287
- * > + You can have up to 135 active resources and an additional 135 deleted resources.
288
- * > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
289
- *
290
- *
291
- *
292
- * >**Permissions:**
293
- * > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
294
- * <!--END:ONLY:REST-->
254
+ * - If the resource uses the default business hours, get the business resource's schedule ID and include it in the `scheduleInfo.availability.linkedSchedules` array in the `scheduleInfo` parameter. The default hours can bee found in the Dashboard under **Settings** in the **Bookings** section, on the **Appointment hours** page.
255
+ * - If the resource has its own custom working hours, create the resource, then create sessions of type `WORKING_HOURS` using the [`createSession()`](Sessions/createsession) function. Use the `scheduleId` returned from `createResource()` when creating the sessions. These session can be single sessions or recurring sessions.
256
+ *
257
+ * You can have both default business hours and custom hours for the same resource schedule by combining the steps above.
258
+ *
259
+ *
260
+ * > **Notes:** The Wix Bookings app does not show both default business hours and custom hours on the **Staff** page in the dashboard. If you've set up both custom and default business hours, only the default business hours will appear in the app, although both are working.
261
+ *
262
+ *
263
+ * The Wix Bookings app does not show non-recurring `WORKING_HOURS` sessions in the resource calendar. You can only add the business resource's schedule as a linked schedule for a resource. A resource can have one schedule only.
264
+ *
265
+ *
266
+ * You can have up to 135 active resources and an additional 135 deleted resources. Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can create a resource.
295
267
  */
296
268
  export function create(payload) {
297
269
  const { toJSON: toReq, fromJSON: fromReq } = serializer(_createResourceRequest, {
@@ -337,26 +309,12 @@ export function create(payload) {
337
309
  }
338
310
  /**
339
311
  * Updates a resource.
340
- * <!--ONLY:VELO
341
- * The `updateResource()` function returns a Promise that resolves when a resource is updated.
342
- * Use this function to update all bookings resource information except for the resource's schedule. To update a resource's schedule use [`updateResourceSchedule()`](wix-bookings-backend/resource/updateresourceschedule).
343
- *
344
- * >**Notes:**
345
- * > + When updating a resource you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"business"` and `"staff"`.
346
- * > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
347
- * <!--END:ONLY:VELO-->
348
- * <!--ONLY:REST-->
349
- * Use this endpoint to update all resource information except for the resource's schedule. To update a resource's schedule use
350
- * the [Update Schedule](https://dev.wix.com/api/rest/wix-bookings/resources/update-schedule) endpoint.
351
- *
352
- * >**Notes:**
353
- * > + When updating a resource you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"business"` and `"staff"`.
354
- * > + When updating a resource's schedule you cannot change the resource tag used by the Wix Bookings app. Tags used by the app have the values `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE”`.
355
- * > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
356
- *
357
- * >**Permissions:**
358
- * > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
359
- * <!--END:ONLY:REST-->
312
+ *
313
+ *
314
+ * The `updateResource()` function returns a Promise that resolves when a resource is updated. Use this function to update all bookings resource information except for the resource's schedule. To update a resource's schedule use [`updateResourceSchedule()`](resources/updateresourceschedule).
315
+ *
316
+ *
317
+ * >**Notes:** When updating a resource you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"business"` and `"staff"`. Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource.
360
318
  */
361
319
  export function update(payload) {
362
320
  const { toJSON: toReq, fromJSON: fromReq } = serializer(_updateResourceRequest, {
@@ -406,57 +364,24 @@ export function update(payload) {
406
364
  return __update;
407
365
  }
408
366
  /**
409
- * Updates a resource's schedule
410
- * <!--ONLY:VELO
411
- * The `updateResourceSchedule()` function returns a Promise that resolves when a resource's schedule has been updated.
412
- * Use this function to update the bookings resource's schedule. To update other resource details use [`updateResource()`] (wix-bookings-backend/resources/updateresource).
413
- * The following schedule properties can be updated:
414
- * + `availability.start`
415
- * + `availability.linkedSchedules`
416
- * <!--END:ONLY:VELO-->
367
+ * Updates a resource's schedule.
368
+ *
369
+ *
370
+ * The `updateResourceSchedule()` function returns a Promise that resolves when a resource's schedule has been updated. Use this function to update the bookings resource's schedule. To update other resource details use [`updateResource()`] (resources/updateresource). The following schedule properties can be updated: + `availability.start` + `availability.linkedSchedules`
371
+ *
417
372
  *
418
373
  * To update a resource's schedule to remove business hours and add custom hours:
419
- * <!--ONLY:REST-->
420
- * + Update the resource's schedule to remove the business's `scheduleId` from the `availability.linkedSchedules` array.
421
- * + Create a set of recurring sessions of type `"WORKING_HOURS"` to define the resource's new hours.
422
- * <!--END:ONLY:REST-->
423
- * <!--ONLY:VELO
424
- * + Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to remove the business's scheduleId from the `availability.linkedSchedules` array.
425
- * + Use [`createSession()`](wix-bookings-backend.Sessions/createsession) to create a set of recurring sessions of type `"WORKING_HOURS"` to define the resource's new hours.
426
- * <!--END:ONLY:VELO-->
374
+ * - Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to remove the business's scheduleId from the `availability.linkedSchedules` array.
375
+ * - Use [`createSession()`](Sessions/createsession) to create a set of recurring sessions of type `WORKING_HOURS` to define the resource's new hours.
376
+ *
427
377
  *
428
378
  * To update a resource's schedule to add default business hours, and keep or remove custom hours:
429
- * <!--ONLY:REST-->
430
- * + Update the resource's schedule to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
431
- * + If you want to remove the custom sessions, delete the resource's sessions of type `"WORKING_HOURS"`.
432
- * You do not have to delete exiting custom sessions. Custom session that are not deleted will continue to be included in availability calculations and can still be booked.
433
- * <!--END:ONLY:REST-->
434
- * <!--ONLY:VELO
435
- * + Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
436
- * + If you want to remove the custom sessions, use [`deleteSession()`](wix-bookings-backend.Sessions/deletesession) to delete the resource's sessions of type `"WORKING_HOURS"`. You do not have to delete exiting custom sessions. You can have both default working hours and custom hours for the same schedule. Custom sessions that are not deleted will continue to be included in availability calculations and can still be booked.
437
- *
438
- * > **Notes:**
439
- * > + The Wix Bookings app does not show both default business hours and custom hours on the **Staff** page in the dashboard. If you've set up both custom and default business hours, only the default business hours will appear in the app, although both are working.
440
- * > + A resource can have one schedule only.
441
- * > + A resource can have both default business hours and custom hours in its schedule.
442
- * > + When updating a resource's schedule you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE”`.
443
- * > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource schedule. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
444
- * @snippet [updateResourceScheduleDefaultToCustom.es6=Update a resource's schedule from business to custom hours]
445
- * Update a resource's schedule from the business's default working hours to 2 custom days per week.
446
- * @snippet [updateResourceScheduleCustomToDefault.es6=Update a resource's schedule from custom to business hours]
447
- * <!--END:ONLY:VELO-->
448
- * <!--ONLY:REST-->
449
- * >**Notes:**
450
- * > + A resource can have one schedule only.
451
- * > + A resource can have both default business hours and custom hours in its schedule.
452
- * > + When updating a resource's schedule you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE”`.
453
- * > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
454
- *
455
- *
456
- *
457
- * >**Permissions:**
458
- * > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
459
- * <!--END:ONLY:REST-->
379
+ *
380
+ * - Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
381
+ * - If you want to remove the custom sessions, use [`deleteSession()`](wix-bookings-backend.Sessions/deletesession) to delete the resource's sessions of type `WORKING_HOURS`. You do not have to delete exiting custom sessions. You can have both default working hours and custom hours for the same schedule. Custom sessions that are not deleted will continue to be included in availability calculations and can still be booked.
382
+ *
383
+ *
384
+ * > **Notes:** The Wix Bookings app does not show both default business hours and custom hours on the **Staff** page in the dashboard. If you've set up both custom and default business hours, only the default business hours will appear in the app, although both are working. A resource can have one schedule only. A resource can have both default business hours and custom hours in its schedule. When updating a resource's schedule you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `INDIVIDUAL`, `GROUP`, and `COURSE`. Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource schedule.
460
385
  */
461
386
  export function updateSchedule(payload) {
462
387
  const { toJSON: toReq, fromJSON: fromReq } = serializer(_resourceUpdateScheduleRequest, {
@@ -502,28 +427,16 @@ export function updateSchedule(payload) {
502
427
  }
503
428
  /**
504
429
  * Deletes a resource.
505
- * <!--ONLY:VELO
430
+ *
506
431
  * The `deleteResource()` function returns a Promise that is resolved when a resource is deleted.
507
- * <!--END:ONLY:VELO-->
508
- * Deleting a resource updates its `status` to `"DELETED"`.
432
+ *
433
+ *
434
+ * Deleting a resource updates its status to `DELETED`.
509
435
  *
510
436
  * You cannot delete a resource if it has booked sessions.
511
437
  *
512
- * <!--ONLY:VELO
513
- * >**Notes:**
514
- * > + The Bookings app automatically creates a resource with a name and tag of value `"business"``. This resource is used for the business's schedule and working hours and cannot be deleted.
515
- * > + You can have up to 135 active resources and an additional 135 deleted resources.
516
- * > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can delete a resource. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
517
- * <!--END:ONLY:VELO-->
518
- *
519
- * <!--ONLY:REST-->
520
- * >**Notes:**
521
- * > + The Bookings app creates a resource with `"business"` in name and tag values. This resource is used for the business's schedule and working hours and cannot be deleted.
522
- * > + You can have up to 135 active resources and an additional 135 deleted resources.
523
- *
524
- * >**Permissions:**
525
- * > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
526
- * <!--END:ONLY:REST-->
438
+ *
439
+ * >**Notes:** The Bookings app automatically creates a resource with a name and tag of value `business`. This resource is used for the business's schedule and working hours and cannot be deleted. You can have up to 135 active resources and an additional 135 deleted resources. Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can delete a resource.
527
440
  */
528
441
  export function _delete(payload) {
529
442
  const { toJSON: toReq, fromJSON: fromReq } = serializer(_deleteResourceRequest, {});
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-catalog-v1-resource.http.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAkBhD,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,aAAa,GAAG;IACpB,KAAK,EAAE,2BAA2B;IAClC,GAAG,EAAE,2BAA2B;IAChC,SAAS,EAAE,WAAW;CACvB,CAAC;AACF,MAAM,aAAa,GAAG;IACpB,cAAc,EAAE,wBAAwB;IACxC,cAAc,EAAE,wBAAwB;IACxC,cAAc,EAAE,wBAAwB;CACzC,CAAC;AACF,MAAM,cAAc,GAAG;IACrB,OAAO,EAAE,WAAW;IACpB,OAAO,EAAE,WAAW;IACpB,SAAS,EAAE,WAAW;CACvB,CAAC;AACF,MAAM,sBAAsB,GAAG,EAAE,IAAI,EAAE,2BAA2B,EAAE,CAAC;AACrE,MAAM,sBAAsB,GAAG;IAC7B,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,WAAW;CAC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Ae;YACvB,SAAS,EACP,+EAA+E;YACjF,GAAG,EAAE,uEAAuE,CAC1E,EAAE,SAAS,EAAE,oBAAoB,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,CAChE;YACD,MAAM,EAAE,iBAAiB,CAAC,cAAc,CAAC;YACzC,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC;IAE5B,OAAO,SAAS,CAAC;AACnB,CAAC"}
1
+ {"version":3,"file":"bookings-catalog-v1-resource.http.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAkBhD,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,aAAa,GAAG;IACpB,KAAK,EAAE,2BAA2B;IAClC,GAAG,EAAE,2BAA2B;IAChC,SAAS,EAAE,WAAW;CACvB,CAAC;AACF,MAAM,aAAa,GAAG;IACpB,cAAc,EAAE,wBAAwB;IACxC,cAAc,EAAE,wBAAwB;IACxC,cAAc,EAAE,wBAAwB;CACzC,CAAC;AACF,MAAM,cAAc,GAAG;IACrB,OAAO,EAAE,WAAW;IACpB,OAAO,EAAE,WAAW;IACpB,SAAS,EAAE,WAAW;CACvB,CAAC;AACF,MAAM,sBAAsB,GAAG,EAAE,IAAI,EAAE,2BAA2B,EAAE,CAAC;AACrE,MAAM,sBAAsB,GAAG;IAC7B,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,WAAW;CACvB,CA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AAE,IAAI,EAAE,CAChE;YACD,MAAM,EAAE,iBAAiB,CAAC,cAAc,CAAC;YACzC,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC;IAE5B,OAAO,SAAS,CAAC;AACnB,CAAC"}
@@ -1,13 +1,13 @@
1
1
  import { HttpClient } from '@wix/sdk-types';
2
- import { Resource, CreateOptions, ListOptions, QueryOptions, UpdateOptions, UpdateScheduleOptions } from './bookings-catalog-v1-resource.universal';
2
+ import { Resource, CreateResourceOptions, ListOptions, QueryResourceCatalogOptions, UpdateResourceOptions, UpdateResourceScheduleOptions } from './bookings-catalog-v1-resource.universal';
3
3
  export declare const __metadata: {
4
4
  PACKAGE_NAME: string;
5
5
  };
6
6
  export declare function list(httpClient: HttpClient): (options?: ListOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").ListResourcesResponse>;
7
- export declare function query(httpClient: HttpClient): (options?: QueryOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").QueryResourcesResponse>;
8
- export declare function create(httpClient: HttpClient): (resource: Resource, options?: CreateOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").CreateResourceResponse>;
9
- export declare function update(httpClient: HttpClient): (_id: string | null, options?: UpdateOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").UpdateResourceResponse>;
10
- export declare function updateSchedule(httpClient: HttpClient): (resourceId: string | null, options?: UpdateScheduleOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").UpdateScheduleResponse>;
7
+ export declare function queryResourceCatalog(httpClient: HttpClient): (options?: QueryResourceCatalogOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").QueryResourcesResponse>;
8
+ export declare function createResource(httpClient: HttpClient): (resource: Resource, options?: CreateResourceOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").CreateResourceResponse>;
9
+ export declare function updateResource(httpClient: HttpClient): (_id: string | null, options?: UpdateResourceOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").UpdateResourceResponse>;
10
+ export declare function updateResourceSchedule(httpClient: HttpClient): (resourceId: string | null, options?: UpdateResourceScheduleOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").UpdateScheduleResponse>;
11
11
  export declare function _delete(httpClient: HttpClient): (_id: string) => Promise<import("./bookings-catalog-v1-resource.universal").DeleteResourceResponse>;
12
12
  export { Day, Transparency, RecurringIntervalType, LocationType, LocationStatus, LocationsLocationType, DayOfWeek, ApprovalStatus, ScheduleStatus, ConferenceType, ResourceStatus, SortOrder, Event, } from './bookings-catalog-v1-resource.universal';
13
- export { 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, ListResourcesRequest, Query, Sorting, Paging, ListResourcesResponse, QueryMetaData, PagingMetadataV2, Cursors, QueryResourcesRequest, QueryV2, QueryV2PagingMethodOneOf, CursorPaging, QueryResourcesResponse, CreateResourceRequest, CreateResourceResponse, ResourceNotification, BatchCreateResourceRequest, BatchCreateResourceResponse, UpdateResourceRequest, BatchRequest, CreateScheduleRequest, UpdateScheduleRequest, ParticipantNotification, CancelScheduleRequest, UpdateResourceResponse, BatchResponse, ResourceUpdateScheduleRequest, UpdateScheduleResponse, DeleteResourceRequest, DeleteResourceResponse, BatchDeleteResourceRequest, BatchDeleteResourceResponse, LinkResourceToUserRequest, LinkResourceToUserResponse, UnLinkResourceFromOwnerRequest, UnLinkResourceFromOwnerResponse, ListOptions, QueryOptions, CreateOptions, UpdateOptions, UpdateScheduleOptions, } from './bookings-catalog-v1-resource.universal';
13
+ export { 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, ListResourcesRequest, Query, Sorting, Paging, ListResourcesResponse, QueryMetaData, PagingMetadataV2, Cursors, QueryResourcesRequest, QueryV2, QueryV2PagingMethodOneOf, CursorPaging, QueryResourcesResponse, CreateResourceRequest, CreateResourceResponse, ResourceNotification, BatchCreateResourceRequest, BatchCreateResourceResponse, UpdateResourceRequest, BatchRequest, CreateScheduleRequest, UpdateScheduleRequest, ParticipantNotification, CancelScheduleRequest, UpdateResourceResponse, BatchResponse, ResourceUpdateScheduleRequest, UpdateScheduleResponse, DeleteResourceRequest, DeleteResourceResponse, BatchDeleteResourceRequest, BatchDeleteResourceResponse, LinkResourceToUserRequest, LinkResourceToUserResponse, UnLinkResourceFromOwnerRequest, UnLinkResourceFromOwnerResponse, ListOptions, QueryResourceCatalogOptions, CreateResourceOptions, UpdateResourceOptions, UpdateResourceScheduleOptions, } from './bookings-catalog-v1-resource.universal';
@@ -1,27 +1,27 @@
1
- import { list as universalList, query as universalQuery, create as universalCreate, update as universalUpdate, updateSchedule as universalUpdateSchedule, _delete as universal_delete, } from './bookings-catalog-v1-resource.universal';
1
+ import { list as universalList, queryResourceCatalog as universalQueryResourceCatalog, createResource as universalCreateResource, updateResource as universalUpdateResource, updateResourceSchedule as universalUpdateResourceSchedule, _delete as universal_delete, } from './bookings-catalog-v1-resource.universal';
2
2
  export const __metadata = { PACKAGE_NAME: '@wix/bookings' };
3
3
  export function list(httpClient) {
4
4
  return (options) => universalList(options,
5
5
  // @ts-ignore
6
6
  { httpClient });
7
7
  }
8
- export function query(httpClient) {
9
- return (options) => universalQuery(options,
8
+ export function queryResourceCatalog(httpClient) {
9
+ return (options) => universalQueryResourceCatalog(options,
10
10
  // @ts-ignore
11
11
  { httpClient });
12
12
  }
13
- export function create(httpClient) {
14
- return (resource, options) => universalCreate(resource, options,
13
+ export function createResource(httpClient) {
14
+ return (resource, options) => universalCreateResource(resource, options,
15
15
  // @ts-ignore
16
16
  { httpClient });
17
17
  }
18
- export function update(httpClient) {
19
- return (_id, options) => universalUpdate(_id, options,
18
+ export function updateResource(httpClient) {
19
+ return (_id, options) => universalUpdateResource(_id, options,
20
20
  // @ts-ignore
21
21
  { httpClient });
22
22
  }
23
- export function updateSchedule(httpClient) {
24
- return (resourceId, options) => universalUpdateSchedule(resourceId, options,
23
+ export function updateResourceSchedule(httpClient) {
24
+ return (resourceId, options) => universalUpdateResourceSchedule(resourceId, options,
25
25
  // @ts-ignore
26
26
  { httpClient });
27
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-catalog-v1-resource.public.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.public.ts"],"names":[],"mappings":"AACA,OAAO,EACL,IAAI,IAAI,aAAa,EACrB,KAAK,IAAI,cAAc,EACvB,MAAM,IAAI,eAAe,EACzB,MAAM,IAAI,eAAe,EACzB,cAAc,IAAI,uBAAuB,EACzC,OAAO,IAAI,gBAAgB,GAO5B,MAAM,0CAA0C,CAAC;AAElD,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,MAAM,UAAU,IAAI,CAAC,UAAsB;IACzC,OAAO,CAAC,OAAqB,EAAE,EAAE,CAC/B,aAAa,CACX,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,KAAK,CAAC,UAAsB;IAC1C,OAAO,CAAC,OAAsB,EAAE,EAAE,CAChC,cAAc,CACZ,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,QAAkB,EAAE,OAAuB,EAAE,EAAE,CACrD,eAAe,CACb,QAAQ,EACR,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,GAAkB,EAAE,OAAuB,EAAE,EAAE,CACrD,eAAe,CACb,GAAG,EACH,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,UAAyB,EAAE,OAA+B,EAAE,EAAE,CACpE,uBAAuB,CACrB,UAAU,EACV,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,OAAO,CAAC,UAAsB;IAC5C,OAAO,CAAC,GAAW,EAAE,EAAE,CACrB,gBAAgB,CACd,GAAG;IACH,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,OAAO,EACL,GAAG,EACH,YAAY,EACZ,qBAAqB,EACrB,YAAY,EACZ,cAAc,EACd,qBAAqB,EACrB,SAAS,EACT,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,SAAS,EACT,KAAK,GACN,MAAM,0CAA0C,CAAC"}
1
+ {"version":3,"file":"bookings-catalog-v1-resource.public.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.public.ts"],"names":[],"mappings":"AACA,OAAO,EACL,IAAI,IAAI,aAAa,EACrB,oBAAoB,IAAI,6BAA6B,EACrD,cAAc,IAAI,uBAAuB,EACzC,cAAc,IAAI,uBAAuB,EACzC,sBAAsB,IAAI,+BAA+B,EACzD,OAAO,IAAI,gBAAgB,GAO5B,MAAM,0CAA0C,CAAC;AAElD,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,MAAM,UAAU,IAAI,CAAC,UAAsB;IACzC,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