@wix/auto_sdk_bookings_bookings 1.0.79 → 1.0.81
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.d.ts +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +23 -1
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +23 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -292,6 +292,17 @@ interface BookedSlot {
|
|
|
292
292
|
resource?: BookedResource;
|
|
293
293
|
/** Location where the session takes place. */
|
|
294
294
|
location?: Location;
|
|
295
|
+
/**
|
|
296
|
+
* How the customer has selected resources for the booking. Each resource type may have a different selection method. Check `resource` for resource details.
|
|
297
|
+
*
|
|
298
|
+
* Supported values:
|
|
299
|
+
* - `SPECIFIC_RESOURCE`: The customer explicitly chose a particular staff member or resource.
|
|
300
|
+
* - `ANY_RESOURCE`: The customer chose any available resource of that type.
|
|
301
|
+
* - `NO_SELECTION`: The customer made no selection for this resource type.
|
|
302
|
+
* @internal
|
|
303
|
+
* @maxSize 3
|
|
304
|
+
*/
|
|
305
|
+
resourceSelections?: ResourceSelection[];
|
|
295
306
|
}
|
|
296
307
|
interface BookedResource {
|
|
297
308
|
/**
|
|
@@ -963,6 +974,17 @@ interface V2Slot {
|
|
|
963
974
|
* @maxLength 250
|
|
964
975
|
*/
|
|
965
976
|
eventId?: string | null;
|
|
977
|
+
/**
|
|
978
|
+
* How the customer has selected resources for the booking. Each resource type may have a different selection method. Check `resource` for resource details.
|
|
979
|
+
*
|
|
980
|
+
* Supported values:
|
|
981
|
+
* - `SPECIFIC_RESOURCE`: The customer explicitly chose a particular staff member or resource.
|
|
982
|
+
* - `ANY_RESOURCE`: The customer chose any available resource of that type.
|
|
983
|
+
* - `NO_SELECTION`: The customer made no selection for this resource type.
|
|
984
|
+
* @internal
|
|
985
|
+
* @maxSize 3
|
|
986
|
+
*/
|
|
987
|
+
resourceSelections?: ResourceSelection[];
|
|
966
988
|
}
|
|
967
989
|
declare enum LocationLocationType {
|
|
968
990
|
/** Undefined location type. */
|
|
@@ -5093,7 +5115,7 @@ interface DeclineMultiServiceBookingOptions {
|
|
|
5093
5115
|
*
|
|
5094
5116
|
* __Real-time validation__: Wix Bookings calculates allowed actions based on current multi-service booking status, booking policies ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction)), and available resources ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction)) at the time of the call.
|
|
5095
5117
|
*
|
|
5096
|
-
* __Permission context__: Depending on the permissions of the calling [identity](https://dev.wix.com/build-apps/develop-your-app/about-identities), you may see different allowed actions for the same multi-service booking. For example, if the identity has permissions to read only part of the multi-service booking, the response indicates which single-service bookings the identity can read.
|
|
5118
|
+
* __Permission context__: Depending on the permissions of the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities), you may see different allowed actions for the same multi-service booking. For example, if the identity has permissions to read only part of the multi-service booking, the response indicates which single-service bookings the identity can read.
|
|
5097
5119
|
*
|
|
5098
5120
|
* __Status dependencies__: Allowed actions change as bookings progress through their lifecycle (`CREATED` → `PENDING` → `CONFIRMED`/`DECLINED` → `CANCELED`).
|
|
5099
5121
|
* Bookings can skip `PENDING` and move directly from `CREATED` to `CONFIRMED`/`DECLINED` based on service configuration.
|