@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.
- package/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +13 -15
- package/build/cjs/index.typings.js +1 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +13 -7
- package/build/cjs/meta.js +1 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +1 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +13 -15
- package/build/es/index.typings.mjs +1 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +13 -7
- package/build/es/meta.mjs +1 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +1 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +13 -15
- package/build/internal/cjs/index.typings.js +1 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +13 -7
- package/build/internal/cjs/meta.js +1 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +1 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +13 -15
- package/build/internal/es/index.typings.mjs +1 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +13 -7
- package/build/internal/es/meta.mjs +1 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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
|
-
/**
|
|
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
|
-
/**
|
|
384
|
+
/** Available staff members are returned in random order. */
|
|
381
385
|
RANDOM = "RANDOM",
|
|
382
|
-
/**
|
|
386
|
+
/** Available staff members are returned in order of their priority ranking. */
|
|
383
387
|
RANKING = "RANKING",
|
|
384
388
|
/**
|
|
385
|
-
* Staff members are
|
|
386
|
-
*
|
|
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
|
|
@@ -396,6 +396,7 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
|
396
396
|
Namespace2["MIMIR"] = "MIMIR";
|
|
397
397
|
Namespace2["TWINS"] = "TWINS";
|
|
398
398
|
Namespace2["NANO"] = "NANO";
|
|
399
|
+
Namespace2["BASE44"] = "BASE44";
|
|
399
400
|
return Namespace2;
|
|
400
401
|
})(Namespace || {});
|
|
401
402
|
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|