@wix/bookings 1.0.236 → 1.0.237

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.
@@ -18,17 +18,13 @@ export interface Resource {
18
18
  phone?: string | null;
19
19
  /** Resource description. */
20
20
  description?: string | null;
21
- /**
22
- * @internal
23
- * @internal */
21
+ /** Deprecated. Please use tags. */
24
22
  tag?: string | null;
25
23
  /** Resource tags. Tags are used to identify, group, and filter the different types of resources. For example, 'staff' or 'room'. */
26
24
  tags?: string[] | null;
27
25
  /** Resource images. */
28
26
  images?: string[];
29
- /**
30
- * @internal
31
- * @internal */
27
+ /** Deprecated. Please use scheduleIds. List of the schedules owned by this resource. Min size 1. */
32
28
  schedules?: Schedule[];
33
29
  /**
34
30
  * List of IDs of schedules owned by this resource.
@@ -67,9 +63,7 @@ export interface Schedule {
67
63
  * @readonly
68
64
  */
69
65
  timeZone?: string | null;
70
- /**
71
- * @internal
72
- * @internal */
66
+ /** Deprecated. Please use the [Sessions API](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/session) instead. */
73
67
  intervals?: RecurringInterval[];
74
68
  /** Default title for the schedule's sessions. Maximum length: 6000 characters. */
75
69
  title?: string | null;
@@ -85,13 +79,9 @@ export interface Schedule {
85
79
  * Must be at most `1` for schedule whose availability is affected by another schedule. E.g, appointment schedules of the Wix Bookings app.
86
80
  */
87
81
  capacity?: number | null;
88
- /**
89
- * @internal
90
- * @internal */
82
+ /** Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead. */
91
83
  rate?: Rate;
92
- /**
93
- * @internal
94
- * @internal */
84
+ /** Deprecated and will be removed soon. */
95
85
  availability?: Availability;
96
86
  /**
97
87
  * Number of participants registered to sessions in this schedule, calculated as the sum of the party sizes.
@@ -105,9 +95,7 @@ export interface Schedule {
105
95
  * @readonly
106
96
  */
107
97
  participants?: Participant[];
108
- /**
109
- * @internal
110
- * @internal */
98
+ /** Deprecated and will be removed soon. */
111
99
  externalCalendarOverrides?: ExternalCalendarOverrides;
112
100
  /**
113
101
  * Schedule status.
@@ -134,13 +122,12 @@ export interface Schedule {
134
122
  * @readonly
135
123
  */
136
124
  inheritedFields?: string[];
137
- /**
138
- * @internal
139
- * @internal */
125
+ /** Deprecated and will be removed soon. */
140
126
  conferenceProvider?: ConferenceProvider;
141
127
  /**
142
- * @internal
143
- * @internal */
128
+ * A conference created for the schedule. This is used when a participant is added to a schedule.
129
+ * **Partially deprecated.** Only `hostUrl` and `guestUrl` are to be supported.
130
+ */
144
131
  calendarConference?: CalendarConference;
145
132
  }
146
133
  export interface RecurringInterval {
@@ -516,8 +503,11 @@ export interface AvailabilityConstraints {
516
503
  */
517
504
  timeBetweenSlots?: number;
518
505
  /**
519
- * @internal
520
- * @internal */
506
+ * Specify how to split the slots in intervals of minutes.
507
+ * This value indicates the time between available slots' start time. e.g., from 5 minute slots (3:00, 3:05, 3:15) and 1 hour slots (3:00, 4:00, 5:00).
508
+ * Optional. The default is the first duration in slot_durations field.
509
+ * Deprecated. Use the `split_slots_interval.value_in_minutes`.
510
+ */
521
511
  splitInterval?: number | null;
522
512
  /**
523
513
  * An object defining the time between available slots' start times. For example, a slot with slots_split_interval=5 can start every 5 minutes. The default is the slot duration.
@@ -782,8 +772,9 @@ export interface CreateResourceResponse {
782
772
  }
783
773
  export interface ResourceNotification {
784
774
  /**
785
- * @internal
786
- * @internal */
775
+ * Updated resource entity.
776
+ * 'resource.schedules' is deprecated and will not be returned. Please use 'resource.scheduleIds' instead.
777
+ */
787
778
  resource?: Resource;
788
779
  /** Event type. */
789
780
  event?: Event;
@@ -835,9 +826,7 @@ export interface UpdateScheduleRequest {
835
826
  fieldMask?: string[];
836
827
  /** Optional. Defaults to false. In case of updated intervals' start time, this field indicates whether to align those interval's time exceptions. */
837
828
  alignTimeExceptions?: boolean;
838
- /**
839
- * @internal
840
- * @internal */
829
+ /** Deprecated, use participant_notification. */
841
830
  notifyParticipants?: boolean;
842
831
  /** Whether to notify participants about the change, and an optional custom message. */
843
832
  participantNotification?: ParticipantNotification;
@@ -859,9 +848,7 @@ export interface CancelScheduleRequest {
859
848
  from?: Date;
860
849
  /** Whether to preserve future sessions with reservations. Defaults to false. */
861
850
  preserveFutureSessionsWithParticipants?: boolean;
862
- /**
863
- * @internal
864
- * @internal */
851
+ /** Deprecated, use participant_notification */
865
852
  notifyParticipants?: boolean;
866
853
  /** Whether to notify participants about the change, and an optional custom message. */
867
854
  participantNotification?: ParticipantNotification;
@@ -1433,29 +1420,20 @@ export interface DeleteResourceResponseNonNullableFields {
1433
1420
  _id: string;
1434
1421
  }
1435
1422
  /**
1436
- * Retrieves a list of the resources according to the specified filters and paging.
1423
+ * Creates a query to retrieve extended resource information.
1437
1424
  *
1438
- * The query parameter is optional. If no query is provided then all non-deleted resources are returned.
1439
- * Resources that are in a resource group (i.e. the group_id property contains an ID) are excluded from the result for backwards compatibility unless the `include_resources_with_groups` request field is set to true.
1425
+ * The `queryResources()` function builds a query to retrieve a catalog of resources, including resources' related schedules and slugs, and returns a [`ResourceQueryBuilder`](#) object. The returned object contains the query definition, which is typically used to run the query using the [`find()`](#) function.
1440
1426
  *
1441
- * |Property|Is supported|
1442
- * |--|--|
1443
- * |filter | supported fields: `resource.id`, `resource.tags`, `resource.status`|
1444
- * |paging | supported |
1445
- * |fields | supported |
1446
- * |fieldsets | **not supported** |
1447
- * |sort | **not supported** |
1427
+ * The `ResourceQueryBuilder` functions enable you to run, filter, and control which results a query returns.
1448
1428
  *
1429
+ * Typically, you build a query using the `queryResources()` function, refine the query by chaining `ResourceQueryBuilder` functions, and then execute the query by chaining the `find()` function.
1449
1430
  *
1450
- * >**Notes:**
1451
- * > + The following objects in the `query` parameter are not supported for this query:
1452
- * > - `sort`
1453
- * > - `fieldsets`
1431
+ * The query runs with the following defaults that you can override:
1432
+ * - [`skip`](#): `0`
1433
+ * - [`limit`](#): `50`
1454
1434
  *
1455
- * > **Permissions**
1456
- * > This endpoint requires the Read Bookings Calendar, Read Bookings - Public Data, Read Bookings - Including Participants or Manage Bookings permission scope.
1435
+ * The following query builder functions are supported for `queryResources()`. For a full description of the `Resources` object, see the object returned for the [`items`](#) array in [`ResourceQueryResult`](#).
1457
1436
  * @public
1458
- * @documentationMaturity preview
1459
1437
  * @permissionScope Manage Bookings Services and Settings
1460
1438
  * @permissionScope Read Bookings - Public Data
1461
1439
  * @permissionScope Read bookings calendar - including participants
@@ -1473,22 +1451,21 @@ export interface QueryResourcesOptions {
1473
1451
  *
1474
1452
  *
1475
1453
  * The `createResource()` function returns a Promise that resolves to the created resource.
1476
- * 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.
1454
+ * 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.
1477
1455
  *
1478
1456
  *
1479
1457
  * When creating a resource using `createResource()`, include the resource's schedule information. Set the schedule information as follows:
1480
1458
  * - 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.
1481
- * - If the resource has its own custom working hours, create the resource, then create sessions of type `WORKING_HOURS` using the [`createSession()`](wix-bookings-v2/sessions/createsession) function. Use the `scheduleId` returned from `createResource()` when creating the sessions. These session can be single sessions or recurring sessions.
1459
+ * - If the resource has its own custom working hours, create the resource, then create sessions of type `WORKING_HOURS` using the [`createSession()`](#createsession) function. Use the `scheduleId` returned from `createResource()` when creating the sessions. These session can be single sessions or recurring sessions.
1482
1460
  * - You can have both default business hours and custom hours for the same resource schedule by combining the steps above.
1483
1461
  *
1484
1462
  *
1485
1463
  * > **Notes:**
1486
- * - 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.
1487
- * - The Wix Bookings app does not show non-recurring `WORKING_HOURS` sessions in the resource calendar.
1488
- * - You can only add the business resource's schedule as a linked schedule for a resource.
1489
- * - A resource can have one schedule only.
1490
- * - You can have up to 135 active resources and an additional 135 deleted resources.
1491
- * - Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can create a resource.
1464
+ * >- 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.
1465
+ * >- The Wix Bookings app does not show non-recurring `WORKING_HOURS` sessions in the resource calendar.
1466
+ * >- You can only add the business resource's schedule as a linked schedule for a resource.
1467
+ * >- A resource can have one schedule only.
1468
+ * >- You can have up to 135 active resources and an additional 135 deleted resources.
1492
1469
  * @param resource - Resource details.
1493
1470
  * @public
1494
1471
  * @requiredField options.schedules.availability.start
@@ -1510,12 +1487,11 @@ export interface CreateResourceOptions {
1510
1487
  * Updates a resource.
1511
1488
  *
1512
1489
  *
1513
- * 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()`](#updateresourceschedule).
1490
+ * 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 [`updateSchedule()`](#updateschedule).
1514
1491
  *
1515
1492
  *
1516
- * >**Notes:**
1517
- * - 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"`.
1518
- * - Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource.
1493
+ * >**Note:**
1494
+ * > 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"`.
1519
1495
  * @param _id - Resource ID.
1520
1496
  * @public
1521
1497
  * @requiredField _id
@@ -1538,13 +1514,13 @@ export interface UpdateResourceOptions {
1538
1514
  phone?: string | null;
1539
1515
  /** Resource description. */
1540
1516
  description?: string | null;
1541
- /** @internal */
1517
+ /** Deprecated. Please use tags. */
1542
1518
  tag?: string | null;
1543
1519
  /** Resource tags. Tags are used to identify, group, and filter the different types of resources. For example, 'staff' or 'room'. */
1544
1520
  tags?: string[] | null;
1545
1521
  /** Resource images. */
1546
1522
  images?: string[];
1547
- /** @internal */
1523
+ /** Deprecated. Please use scheduleIds. List of the schedules owned by this resource. Min size 1. */
1548
1524
  schedules?: Schedule[];
1549
1525
  /**
1550
1526
  * List of IDs of schedules owned by this resource.
@@ -1572,64 +1548,39 @@ export interface UpdateResourceOptions {
1572
1548
  */
1573
1549
  wixUserId?: string | null;
1574
1550
  };
1575
- /** Field mask of fields to update. */
1551
+ /** @internal */
1576
1552
  fieldMask?: string[];
1577
1553
  }
1578
1554
  /**
1579
- * Updates a resource's schedule
1580
- * <!--ONLY:VELO
1581
- * The `updateResourceSchedule()` function returns a Promise that resolves when a resource's schedule has been updated.
1582
- * Use this function to update the bookings resource's schedule. To update other resource details use [`updateResource()`] (wix-bookings-backend/resources/updateresource).
1555
+ * Updates a resource's schedule.
1556
+ *
1557
+ *
1558
+ * The `updateSchedule()` 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()`](#updateresource).
1559
+ *
1583
1560
  * The following schedule properties can be updated:
1584
- * + `availability.start`
1585
- * + `availability.linkedSchedules`
1586
- * <!--END:ONLY:VELO-->
1561
+ *
1562
+ * - `availability.start`
1563
+ *
1564
+ * - `availability.linkedSchedules`
1565
+ *
1587
1566
  *
1588
1567
  * To update a resource's schedule to remove business hours and add custom hours:
1589
- * <!--ONLY:REST-->
1590
- * + Update the resource's schedule to remove the business's `scheduleId` from the `availability.linkedSchedules` array.
1591
- * + Create a set of recurring sessions of type `"WORKING_HOURS"` to define the resource's new hours.
1592
- * <!--END:ONLY:REST-->
1593
- * <!--ONLY:VELO
1594
- * + Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to remove the business's scheduleId from the `availability.linkedSchedules` array.
1595
- * + 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.
1596
- * <!--END:ONLY:VELO-->
1568
+ * - Use [`updateSchedule()`](#updateschedule) to remove the business's scheduleId from the `availability.linkedSchedules` array.
1569
+ * - Use [`createSession()`](#createsession) to create a set of recurring sessions of type `"WORKING_HOURS"` to define the resource's new hours.
1597
1570
  *
1598
- * To update a resource's schedule to add default business hours, and keep or remove custom hours:
1599
- * <!--ONLY:REST-->
1600
- * + Update the resource's schedule to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
1601
- * + If you want to remove the custom sessions, delete the resource's sessions of type `"WORKING_HOURS"`.
1602
- * 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.
1603
- * <!--END:ONLY:REST-->
1604
- * <!--ONLY:VELO
1605
- * + Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
1606
- * + 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.
1607
1571
  *
1608
- * > **Notes:**
1609
- * > + 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.
1610
- * > + A resource can have one schedule only.
1611
- * > + A resource can have both default business hours and custom hours in its schedule.
1612
- * > + 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”`.
1613
- * > + 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`.
1614
- * @snippet [updateResourceScheduleDefaultToCustom.es6=Update a resource's schedule from business to custom hours]
1615
- * Update a resource's schedule from the business's default working hours to 2 custom days per week.
1616
- * @snippet [updateResourceScheduleCustomToDefault.es6=Update a resource's schedule from custom to business hours]
1617
- * <!--END:ONLY:VELO-->
1618
- * <!--ONLY:REST-->
1619
- * >**Notes:**
1620
- * > + A resource can have one schedule only.
1621
- * > + A resource can have both default business hours and custom hours in its schedule.
1622
- * > + 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”`.
1623
- * > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
1572
+ * To update a resource's schedule to add default business hours, and keep or remove custom hours:
1624
1573
  *
1574
+ * - Use [`updateSchedule()`](#updateschedule) to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
1625
1575
  *
1626
1576
  *
1627
- * >**Permissions:**
1628
- * > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
1629
- * <!--END:ONLY:REST-->
1577
+ * > **Notes:**
1578
+ * >- 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.
1579
+ * >- A resource can have one schedule only.
1580
+ * >- A resource can have both default business hours and custom hours in its schedule.
1581
+ * >- 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"`.
1630
1582
  * @param resourceId - Resource id to update.
1631
1583
  * @public
1632
- * @documentationMaturity preview
1633
1584
  * @requiredField options.schedule._id
1634
1585
  * @requiredField resourceId
1635
1586
  * @permissionScope Manage Bookings
@@ -1654,9 +1605,8 @@ export interface UpdateScheduleOptions {
1654
1605
  *
1655
1606
  *
1656
1607
  * >**Notes:**
1657
- * - 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.
1658
- * - You can have up to 135 active resources and an additional 135 deleted resources.
1659
- * - Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can delete a resource.
1608
+ * >- 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.
1609
+ * >- You can have up to 135 active resources and an additional 135 deleted resources.
1660
1610
  * @param _id - ID of the resource to delete.
1661
1611
  * @public
1662
1612
  * @documentationMaturity preview
@@ -207,29 +207,20 @@ const _updateResourceResponse = {
207
207
  const _updateScheduleRequest = { schedule: '_schedule' };
208
208
  const _updateScheduleResponse = { schedule: '_schedule' };
209
209
  /**
210
- * Retrieves a list of the resources according to the specified filters and paging.
210
+ * Creates a query to retrieve extended resource information.
211
211
  *
212
- * The query parameter is optional. If no query is provided then all non-deleted resources are returned.
213
- * Resources that are in a resource group (i.e. the group_id property contains an ID) are excluded from the result for backwards compatibility unless the `include_resources_with_groups` request field is set to true.
212
+ * The `queryResources()` function builds a query to retrieve a catalog of resources, including resources' related schedules and slugs, and returns a [`ResourceQueryBuilder`](#) object. The returned object contains the query definition, which is typically used to run the query using the [`find()`](#) function.
214
213
  *
215
- * |Property|Is supported|
216
- * |--|--|
217
- * |filter | supported fields: `resource.id`, `resource.tags`, `resource.status`|
218
- * |paging | supported |
219
- * |fields | supported |
220
- * |fieldsets | **not supported** |
221
- * |sort | **not supported** |
214
+ * The `ResourceQueryBuilder` functions enable you to run, filter, and control which results a query returns.
222
215
  *
216
+ * Typically, you build a query using the `queryResources()` function, refine the query by chaining `ResourceQueryBuilder` functions, and then execute the query by chaining the `find()` function.
223
217
  *
224
- * >**Notes:**
225
- * > + The following objects in the `query` parameter are not supported for this query:
226
- * > - `sort`
227
- * > - `fieldsets`
218
+ * The query runs with the following defaults that you can override:
219
+ * - [`skip`](#): `0`
220
+ * - [`limit`](#): `50`
228
221
  *
229
- * > **Permissions**
230
- * > This endpoint requires the Read Bookings Calendar, Read Bookings - Public Data, Read Bookings - Including Participants or Manage Bookings permission scope.
222
+ * The following query builder functions are supported for `queryResources()`. For a full description of the `Resources` object, see the object returned for the [`items`](#) array in [`ResourceQueryResult`](#).
231
223
  * @public
232
- * @documentationMaturity preview
233
224
  * @permissionScope Manage Bookings Services and Settings
234
225
  * @permissionScope Read Bookings - Public Data
235
226
  * @permissionScope Read bookings calendar - including participants
@@ -293,22 +284,21 @@ exports.queryResources = queryResources;
293
284
  *
294
285
  *
295
286
  * The `createResource()` function returns a Promise that resolves to the created resource.
296
- * 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.
287
+ * 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.
297
288
  *
298
289
  *
299
290
  * When creating a resource using `createResource()`, include the resource's schedule information. Set the schedule information as follows:
300
291
  * - 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.
301
- * - If the resource has its own custom working hours, create the resource, then create sessions of type `WORKING_HOURS` using the [`createSession()`](wix-bookings-v2/sessions/createsession) function. Use the `scheduleId` returned from `createResource()` when creating the sessions. These session can be single sessions or recurring sessions.
292
+ * - If the resource has its own custom working hours, create the resource, then create sessions of type `WORKING_HOURS` using the [`createSession()`](#createsession) function. Use the `scheduleId` returned from `createResource()` when creating the sessions. These session can be single sessions or recurring sessions.
302
293
  * - You can have both default business hours and custom hours for the same resource schedule by combining the steps above.
303
294
  *
304
295
  *
305
296
  * > **Notes:**
306
- * - 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.
307
- * - The Wix Bookings app does not show non-recurring `WORKING_HOURS` sessions in the resource calendar.
308
- * - You can only add the business resource's schedule as a linked schedule for a resource.
309
- * - A resource can have one schedule only.
310
- * - You can have up to 135 active resources and an additional 135 deleted resources.
311
- * - Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can create a resource.
297
+ * >- 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.
298
+ * >- The Wix Bookings app does not show non-recurring `WORKING_HOURS` sessions in the resource calendar.
299
+ * >- You can only add the business resource's schedule as a linked schedule for a resource.
300
+ * >- A resource can have one schedule only.
301
+ * >- You can have up to 135 active resources and an additional 135 deleted resources.
312
302
  * @param resource - Resource details.
313
303
  * @public
314
304
  * @requiredField options.schedules.availability.start
@@ -382,12 +372,11 @@ exports.createResource = createResource;
382
372
  * Updates a resource.
383
373
  *
384
374
  *
385
- * 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()`](#updateresourceschedule).
375
+ * 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 [`updateSchedule()`](#updateschedule).
386
376
  *
387
377
  *
388
- * >**Notes:**
389
- * - 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"`.
390
- * - Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource.
378
+ * >**Note:**
379
+ * > 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"`.
391
380
  * @param _id - Resource ID.
392
381
  * @public
393
382
  * @requiredField _id
@@ -459,60 +448,35 @@ function updateResource(_id, options) {
459
448
  }
460
449
  exports.updateResource = updateResource;
461
450
  /**
462
- * Updates a resource's schedule
463
- * <!--ONLY:VELO
464
- * The `updateResourceSchedule()` function returns a Promise that resolves when a resource's schedule has been updated.
465
- * Use this function to update the bookings resource's schedule. To update other resource details use [`updateResource()`] (wix-bookings-backend/resources/updateresource).
451
+ * Updates a resource's schedule.
452
+ *
453
+ *
454
+ * The `updateSchedule()` 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()`](#updateresource).
455
+ *
466
456
  * The following schedule properties can be updated:
467
- * + `availability.start`
468
- * + `availability.linkedSchedules`
469
- * <!--END:ONLY:VELO-->
457
+ *
458
+ * - `availability.start`
459
+ *
460
+ * - `availability.linkedSchedules`
461
+ *
470
462
  *
471
463
  * To update a resource's schedule to remove business hours and add custom hours:
472
- * <!--ONLY:REST-->
473
- * + Update the resource's schedule to remove the business's `scheduleId` from the `availability.linkedSchedules` array.
474
- * + Create a set of recurring sessions of type `"WORKING_HOURS"` to define the resource's new hours.
475
- * <!--END:ONLY:REST-->
476
- * <!--ONLY:VELO
477
- * + Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to remove the business's scheduleId from the `availability.linkedSchedules` array.
478
- * + 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.
479
- * <!--END:ONLY:VELO-->
464
+ * - Use [`updateSchedule()`](#updateschedule) to remove the business's scheduleId from the `availability.linkedSchedules` array.
465
+ * - Use [`createSession()`](#createsession) to create a set of recurring sessions of type `"WORKING_HOURS"` to define the resource's new hours.
480
466
  *
481
- * To update a resource's schedule to add default business hours, and keep or remove custom hours:
482
- * <!--ONLY:REST-->
483
- * + Update the resource's schedule to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
484
- * + If you want to remove the custom sessions, delete the resource's sessions of type `"WORKING_HOURS"`.
485
- * 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.
486
- * <!--END:ONLY:REST-->
487
- * <!--ONLY:VELO
488
- * + Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
489
- * + 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.
490
467
  *
491
- * > **Notes:**
492
- * > + 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.
493
- * > + A resource can have one schedule only.
494
- * > + A resource can have both default business hours and custom hours in its schedule.
495
- * > + 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”`.
496
- * > + 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`.
497
- * @snippet [updateResourceScheduleDefaultToCustom.es6=Update a resource's schedule from business to custom hours]
498
- * Update a resource's schedule from the business's default working hours to 2 custom days per week.
499
- * @snippet [updateResourceScheduleCustomToDefault.es6=Update a resource's schedule from custom to business hours]
500
- * <!--END:ONLY:VELO-->
501
- * <!--ONLY:REST-->
502
- * >**Notes:**
503
- * > + A resource can have one schedule only.
504
- * > + A resource can have both default business hours and custom hours in its schedule.
505
- * > + 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”`.
506
- * > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
468
+ * To update a resource's schedule to add default business hours, and keep or remove custom hours:
507
469
  *
470
+ * - Use [`updateSchedule()`](#updateschedule) to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
508
471
  *
509
472
  *
510
- * >**Permissions:**
511
- * > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
512
- * <!--END:ONLY:REST-->
473
+ * > **Notes:**
474
+ * >- 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.
475
+ * >- A resource can have one schedule only.
476
+ * >- A resource can have both default business hours and custom hours in its schedule.
477
+ * >- 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"`.
513
478
  * @param resourceId - Resource id to update.
514
479
  * @public
515
- * @documentationMaturity preview
516
480
  * @requiredField options.schedule._id
517
481
  * @requiredField resourceId
518
482
  * @permissionScope Manage Bookings
@@ -579,9 +543,8 @@ exports.updateSchedule = updateSchedule;
579
543
  *
580
544
  *
581
545
  * >**Notes:**
582
- * - 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.
583
- * - You can have up to 135 active resources and an additional 135 deleted resources.
584
- * - Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can delete a resource.
546
+ * >- 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.
547
+ * >- You can have up to 135 active resources and an additional 135 deleted resources.
585
548
  * @param _id - ID of the resource to delete.
586
549
  * @public
587
550
  * @documentationMaturity preview
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-catalog-v1-resource.universal.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.universal.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,EAAE;gBAClB,KAAK,EAAE,EAAE;gBACT,cAAc,EAAE,aAAa;aAC9B;YACD,oBAAoB,EAAE,sBAAsB;SAC7C,CAAC,CAAC;QAEH,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QAE3C,MAAM,OAAO,GAAG,sCAAsC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAExE,KAAK,CAAC,mCAAmC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAE/D,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,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,KAAK;aACN,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AApDD,wCAoDC"}
1
+ {"version":3,"file":"bookings-catalog-v1-resource.universal.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,4GAA8F;AAE9F,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,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