@wix/auto_sdk_bookings_booking-policies 1.0.86 → 1.0.89

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
  }
@@ -1298,10 +1302,12 @@ declare enum Namespace {
1298
1302
  /** Wix Twins platform. */
1299
1303
  TWINS = "TWINS",
1300
1304
  /** Wix Nano. */
1301
- NANO = "NANO"
1305
+ NANO = "NANO",
1306
+ /** Base44 headless sites. */
1307
+ BASE44 = "BASE44"
1302
1308
  }
1303
1309
  /** @enumType */
1304
- type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO';
1310
+ type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO' | 'BASE44';
1305
1311
  /** Site transferred to another user. */
1306
1312
  interface SiteTransferred {
1307
1313
  /**
@@ -1659,8 +1665,6 @@ interface BookingPolicyCreatedEnvelope {
1659
1665
  }
1660
1666
  /**
1661
1667
  * Triggered when a booking policy is created.
1662
- * @permissionScope Manage Stores
1663
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1664
1668
  * @permissionScope Read Bookings - Public Data
1665
1669
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1666
1670
  * @permissionScope Manage Bookings Services and Settings
@@ -1687,8 +1691,6 @@ interface BookingPolicyDefaultBookingPolicySetEnvelope {
1687
1691
  * Triggered when the site's default policy changes. Then,
1688
1692
  * [Booking Policy Updated](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/booking-policy-updated)
1689
1693
  * is also triggered both for the new and the previous default policy.
1690
- * @permissionScope Manage Stores
1691
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1692
1694
  * @permissionScope Read Bookings - Public Data
1693
1695
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1694
1696
  * @permissionScope Manage Bookings Services and Settings
@@ -1712,8 +1714,6 @@ interface BookingPolicyDeletedEnvelope {
1712
1714
  }
1713
1715
  /**
1714
1716
  * Triggered when a booking policy is deleted.
1715
- * @permissionScope Manage Stores
1716
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1717
1717
  * @permissionScope Read Bookings - Public Data
1718
1718
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1719
1719
  * @permissionScope Manage Bookings Services and Settings
@@ -1739,8 +1739,6 @@ interface BookingPolicyUpdatedEnvelope {
1739
1739
  /**
1740
1740
  * Triggered when a booking policy is updated, including when a policy's
1741
1741
  * `default` attribute changes.
1742
- * @permissionScope Manage Stores
1743
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1744
1742
  * @permissionScope Read Bookings - Public Data
1745
1743
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1746
1744
  * @permissionScope Manage Bookings Services and Settings
@@ -440,6 +440,7 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
440
440
  Namespace2["MIMIR"] = "MIMIR";
441
441
  Namespace2["TWINS"] = "TWINS";
442
442
  Namespace2["NANO"] = "NANO";
443
+ Namespace2["BASE44"] = "BASE44";
443
444
  return Namespace2;
444
445
  })(Namespace || {});
445
446
  var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {