@wix/auto_sdk_bookings_availability-time-slots 1.0.262 → 1.0.264
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.map +1 -1
- package/build/cjs/index.typings.d.ts +12 -8
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +9 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +49 -45
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +12 -8
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +9 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +49 -45
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +14 -8
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +11 -5
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +49 -45
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +14 -8
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +11 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +49 -45
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -572,7 +572,7 @@ interface ListAvailabilityTimeSlotsRequest {
|
|
|
572
572
|
* Resource types to filter time slots.
|
|
573
573
|
* Only returns time slots that have these specific resource types available.
|
|
574
574
|
* This filters the time slots themselves, unlike `includeResourceTypeIds` which only controls response details.
|
|
575
|
-
* @maxSize
|
|
575
|
+
* @maxSize 8
|
|
576
576
|
*/
|
|
577
577
|
resourceTypes?: ResourceType[];
|
|
578
578
|
}
|
|
@@ -713,7 +713,7 @@ interface ListAvailabilityTimeSlotEndOptionsRequest {
|
|
|
713
713
|
* When the customer has already selected a resource before choosing an end time, pass that resource here so the response only includes end times the selected resource can cover.
|
|
714
714
|
*
|
|
715
715
|
* If no resource has been preselected, omit this field. End options then reflect the full resource pool. Select the resource later by calling [Get Availability Time Slot](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/time-slots-v2/get-availability-time-slot) with the chosen `localEndDate`.
|
|
716
|
-
* @maxSize
|
|
716
|
+
* @maxSize 8
|
|
717
717
|
*/
|
|
718
718
|
resourceTypes?: ResourceType[];
|
|
719
719
|
}
|
|
@@ -792,7 +792,7 @@ interface GetAvailabilityTimeSlotRequest {
|
|
|
792
792
|
* Resource types to filter time slots.
|
|
793
793
|
* Only returns time slots that have these specific resource types available.
|
|
794
794
|
* This filters the time slots themselves, unlike `includeResourceTypeIds` which only controls response details.
|
|
795
|
-
* @maxSize
|
|
795
|
+
* @maxSize 8
|
|
796
796
|
*/
|
|
797
797
|
resourceTypes?: ResourceType[];
|
|
798
798
|
}
|
|
@@ -838,6 +838,8 @@ interface GetAvailabilityTimeSlotRequestCustomerChoices {
|
|
|
838
838
|
* Gender the customer narrowed an "any staff member" selection to.
|
|
839
839
|
* Only time slots served by staff members of that gender are returned.
|
|
840
840
|
* Omit to keep "any staff member" unnarrowed.
|
|
841
|
+
*
|
|
842
|
+
* Requires `genderPubliclyAccessible` to be enabled in the business's [staff member settings](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction). The call fails with `REQUESTED_GENDER_NOT_ALLOWED` when it's disabled.
|
|
841
843
|
* @internal
|
|
842
844
|
*/
|
|
843
845
|
requestedGender?: V2RequestedGenderValue;
|
|
@@ -1117,7 +1119,7 @@ interface BulkListAvailabilityTimeSlotsRequest {
|
|
|
1117
1119
|
* Resource types to filter time slots, applied to every service.
|
|
1118
1120
|
* Only returns time slots that have these specific resource types available.
|
|
1119
1121
|
* This filters the time slots themselves, unlike `includeResourceTypeIds` which only controls response details.
|
|
1120
|
-
* @maxSize
|
|
1122
|
+
* @maxSize 8
|
|
1121
1123
|
*/
|
|
1122
1124
|
resourceTypes?: ResourceType[];
|
|
1123
1125
|
}
|
|
@@ -1310,7 +1312,7 @@ interface Service {
|
|
|
1310
1312
|
* Resource types to filter time slots.
|
|
1311
1313
|
* Only returns time slots that have these specific resource types available.
|
|
1312
1314
|
* This filters the time slots themselves, unlike `includeResourceTypeIds` which only controls response details.
|
|
1313
|
-
* @maxSize
|
|
1315
|
+
* @maxSize 8
|
|
1314
1316
|
*/
|
|
1315
1317
|
resourceTypes?: ResourceType[];
|
|
1316
1318
|
}
|
|
@@ -1493,6 +1495,10 @@ type GetAvailabilityTimeSlotApplicationErrors = {
|
|
|
1493
1495
|
code?: 'UNAUTHORIZED_OPERATION';
|
|
1494
1496
|
description?: string;
|
|
1495
1497
|
data?: Record<string, any>;
|
|
1498
|
+
} | {
|
|
1499
|
+
code?: 'REQUESTED_GENDER_NOT_ALLOWED';
|
|
1500
|
+
description?: string;
|
|
1501
|
+
data?: Record<string, any>;
|
|
1496
1502
|
};
|
|
1497
1503
|
/**
|
|
1498
1504
|
* Retrieves a list of appointment time slots that match the provided filters.
|
|
@@ -1652,7 +1658,7 @@ interface ListAvailabilityTimeSlotsOptions {
|
|
|
1652
1658
|
* Resource types to filter time slots.
|
|
1653
1659
|
* Only returns time slots that have these specific resource types available.
|
|
1654
1660
|
* This filters the time slots themselves, unlike `includeResourceTypeIds` which only controls response details.
|
|
1655
|
-
* @maxSize
|
|
1661
|
+
* @maxSize 8
|
|
1656
1662
|
*/
|
|
1657
1663
|
resourceTypes?: ResourceType[];
|
|
1658
1664
|
}
|
|
@@ -1721,7 +1727,7 @@ interface ListAvailabilityTimeSlotEndOptions {
|
|
|
1721
1727
|
* When the customer has already selected a resource before choosing an end time, pass that resource here so the response only includes end times the selected resource can cover.
|
|
1722
1728
|
*
|
|
1723
1729
|
* If no resource has been preselected, omit this field. End options then reflect the full resource pool. Select the resource later by calling [Get Availability Time Slot](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/time-slots-v2/get-availability-time-slot) with the chosen `localEndDate`.
|
|
1724
|
-
* @maxSize
|
|
1730
|
+
* @maxSize 8
|
|
1725
1731
|
*/
|
|
1726
1732
|
resourceTypes?: ResourceType[];
|
|
1727
1733
|
}
|
|
@@ -1798,7 +1804,7 @@ interface GetAvailabilityTimeSlotOptions {
|
|
|
1798
1804
|
* Resource types to filter time slots.
|
|
1799
1805
|
* Only returns time slots that have these specific resource types available.
|
|
1800
1806
|
* This filters the time slots themselves, unlike `includeResourceTypeIds` which only controls response details.
|
|
1801
|
-
* @maxSize
|
|
1807
|
+
* @maxSize 8
|
|
1802
1808
|
*/
|
|
1803
1809
|
resourceTypes?: ResourceType[];
|
|
1804
1810
|
}
|