@wix/auto_sdk_bookings_booking-policies 1.0.85 → 1.0.87

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.
@@ -374,16 +374,20 @@ declare enum RankingOrder {
374
374
  }
375
375
  /** @enumType */
376
376
  type RankingOrderWithLiterals = RankingOrder | 'UNKNOWN_RANKING_ORDER' | 'LOWEST_TO_HIGHEST' | 'HIGHEST_TO_LOWEST';
377
- /** Method used to sort and select staff members. */
377
+ /**
378
+ * Method used to sort staff members in the [Time Slots V2 API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/time-slots-v2/introduction) API.
379
+ * When creating a booking, Wix Bookings assigns the first available staff member from the sorted list.
380
+ */
378
381
  declare enum SortingMethodType {
382
+ /** There is no information about the sorting method. */
379
383
  UNKNOWN_SORTING_METHOD_TYPE = "UNKNOWN_SORTING_METHOD_TYPE",
380
- /** Staff members are selected randomly from available options. */
384
+ /** Available staff members are returned in random order. */
381
385
  RANDOM = "RANDOM",
382
- /** Staff members are selected based on their priority ranking. */
386
+ /** Available staff members are returned in order of their priority ranking. */
383
387
  RANKING = "RANKING",
384
388
  /**
385
- * Staff members are selected using a custom implementation provided by SortStaffSPI.
386
- * This allows third-party apps to implement custom staff sorting logic.
389
+ * Staff members are returned in the order provided by the relevant implementation of the [Staff Sorting service plugin](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/staff-sorting-service-plugin/introduction).
390
+ * For each policy, business owners can choose a different implementation in their site's dashboard.
387
391
  */
388
392
  CUSTOM = "CUSTOM"
389
393
  }
@@ -1659,6 +1663,8 @@ interface BookingPolicyCreatedEnvelope {
1659
1663
  }
1660
1664
  /**
1661
1665
  * Triggered when a booking policy is created.
1666
+ * @permissionScope Manage Stores
1667
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1662
1668
  * @permissionScope Read Bookings - Public Data
1663
1669
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1664
1670
  * @permissionScope Manage Bookings Services and Settings
@@ -1685,6 +1691,8 @@ interface BookingPolicyDefaultBookingPolicySetEnvelope {
1685
1691
  * Triggered when the site's default policy changes. Then,
1686
1692
  * [Booking Policy Updated](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/booking-policy-updated)
1687
1693
  * is also triggered both for the new and the previous default policy.
1694
+ * @permissionScope Manage Stores
1695
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1688
1696
  * @permissionScope Read Bookings - Public Data
1689
1697
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1690
1698
  * @permissionScope Manage Bookings Services and Settings
@@ -1708,6 +1716,8 @@ interface BookingPolicyDeletedEnvelope {
1708
1716
  }
1709
1717
  /**
1710
1718
  * Triggered when a booking policy is deleted.
1719
+ * @permissionScope Manage Stores
1720
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1711
1721
  * @permissionScope Read Bookings - Public Data
1712
1722
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1713
1723
  * @permissionScope Manage Bookings Services and Settings
@@ -1733,6 +1743,8 @@ interface BookingPolicyUpdatedEnvelope {
1733
1743
  /**
1734
1744
  * Triggered when a booking policy is updated, including when a policy's
1735
1745
  * `default` attribute changes.
1746
+ * @permissionScope Manage Stores
1747
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1736
1748
  * @permissionScope Read Bookings - Public Data
1737
1749
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1738
1750
  * @permissionScope Manage Bookings Services and Settings