@wix/auto_sdk_bookings_multi-service-availability-time-slots 1.0.267 → 1.0.269
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 +3 -3
- package/build/cjs/index.js +5 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +281 -250
- package/build/cjs/index.typings.js +5 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +279 -248
- package/build/cjs/meta.js +5 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +3 -3
- package/build/es/index.mjs +5 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +281 -250
- package/build/es/index.typings.mjs +5 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +279 -248
- package/build/es/meta.mjs +5 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +3 -3
- package/build/internal/cjs/index.typings.d.ts +322 -275
- package/build/internal/cjs/meta.d.ts +320 -273
- package/build/internal/es/index.d.mts +3 -3
- package/build/internal/es/index.typings.d.mts +322 -275
- package/build/internal/es/meta.d.mts +320 -273
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { ListMultiServiceAvailabilityTimeSlotsOptions, ListMultiServiceAvailabilityTimeSlotsResponse, ListMultiServiceAvailabilityTimeSlotsApplicationErrors, Service, Location, GetMultiServiceAvailabilityTimeSlotResponse, GetMultiServiceAvailabilityTimeSlotApplicationErrors } from './index.typings.js';
|
|
3
|
-
export { ApplicationError, AvailableResources, BookingPolicyViolations, BulkActionMetadata, BulkListAvailabilityTimeSlotsRequest, BulkListAvailabilityTimeSlotsResponse, BulkServiceTimeSlotsResult, CursorPaging, CursorPagingMetadata, Cursors, CustomerChoices, DiagnoseAvailabilityRequest, DiagnoseAvailabilityResponse, DiagnosisReason, EventInfo, GetAvailabilityTimeSlotRequest, GetAvailabilityTimeSlotRequestCustomerChoices, GetAvailabilityTimeSlotResponse, GetEventTimeSlotRequest, GetEventTimeSlotResponse, GetMultiServiceAvailabilityTimeSlotRequest, ItemMetadata, ListAvailabilityTimeSlotEndOptionsRequest, ListAvailabilityTimeSlotEndOptionsResponse, ListAvailabilityTimeSlotsRequest, ListAvailabilityTimeSlotsResponse, ListEventTimeSlotsRequest, ListEventTimeSlotsResponse, ListMultiServiceAvailabilityTimeSlotsRequest, LocationType, LocationTypeWithLiterals, NestedTimeSlot, NonBookableReasons, ReasonCode, ReasonCodeWithLiterals, RequestedGender, RequestedGenderValue, RequestedGenderValueRequestedGender, RequestedGenderValueRequestedGenderWithLiterals, RequestedGenderWithLiterals, ResolvedContext, Resource, ResourceType, ServiceTimeSlots, SuggestedAction, SuggestedActionWithLiterals, TimeSlot, V2CustomerChoices, V2RequestedGenderValue, WaitingList } from './index.typings.js';
|
|
3
|
+
export { ApplicationError, AvailableResources, BookingPolicyViolations, BulkActionMetadata, BulkListAvailabilityTimeSlotsRequest, BulkListAvailabilityTimeSlotsResponse, BulkServiceTimeSlotsResult, CursorPaging, CursorPagingMetadata, Cursors, CustomerChoices, DiagnoseAvailabilityRequest, DiagnoseAvailabilityResponse, DiagnosisReason, EventInfo, GetAvailabilityTimeSlotRequest, GetAvailabilityTimeSlotRequestCustomerChoices, GetAvailabilityTimeSlotResponse, GetEventTimeSlotRequest, GetEventTimeSlotResponse, GetMultiServiceAvailabilityTimeSlotRequest, ItemMetadata, ListAvailabilityTimeSlotEndOptionsRequest, ListAvailabilityTimeSlotEndOptionsResponse, ListAvailabilityTimeSlotsRequest, ListAvailabilityTimeSlotsResponse, ListEventTimeSlotsRequest, ListEventTimeSlotsResponse, ListMultiServiceAvailabilityTimeSlotsRequest, LocationType, LocationTypeWithLiterals, NestedTimeSlot, NonBookableReasons, ReasonCode, ReasonCodeWithLiterals, RequestedGender, RequestedGenderValue, RequestedGenderValueRequestedGender, RequestedGenderValueRequestedGenderWithLiterals, RequestedGenderWithLiterals, ResolvedContext, Resource, ResourceType, ScheduleInfo, ServiceTimeSlots, SuggestedAction, SuggestedActionWithLiterals, TimeSlot, V2CustomerChoices, V2RequestedGenderValue, WaitingList } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function listMultiServiceAvailabilityTimeSlots$1(httpClient: HttpClient): ListMultiServiceAvailabilityTimeSlotsSignature;
|
|
6
6
|
interface ListMultiServiceAvailabilityTimeSlotsSignature {
|
|
@@ -44,7 +44,7 @@ interface ListMultiServiceAvailabilityTimeSlotsSignature {
|
|
|
44
44
|
*
|
|
45
45
|
* When using [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction), we recommend passing only `addOnIds` in `customerChoices` and omitting `durationInMinutes`. Wix Bookings then calculates the total duration automatically. If you specify both `addOnIds` and `durationInMinutes`, `durationInMinutes` must equal the service duration plus all selected add-on durations.
|
|
46
46
|
*/
|
|
47
|
-
(options?: ListMultiServiceAvailabilityTimeSlotsOptions): Promise<NonNullablePaths<ListMultiServiceAvailabilityTimeSlotsResponse, `timeSlots` | `timeSlots.${number}.location.locationType`,
|
|
47
|
+
(options?: ListMultiServiceAvailabilityTimeSlotsOptions): Promise<NonNullablePaths<ListMultiServiceAvailabilityTimeSlotsResponse, `timeSlots` | `timeSlots.${number}.location.locationType`, 3> & {
|
|
48
48
|
__applicationErrorsType?: ListMultiServiceAvailabilityTimeSlotsApplicationErrors;
|
|
49
49
|
}>;
|
|
50
50
|
}
|
|
@@ -82,7 +82,7 @@ interface GetMultiServiceAvailabilityTimeSlotSignature {
|
|
|
82
82
|
*
|
|
83
83
|
* Required unless you specify `cursorPaging.cursor`.
|
|
84
84
|
*/
|
|
85
|
-
(services: NonNullablePaths<Service, `serviceId`,
|
|
85
|
+
(services: NonNullablePaths<Service, `serviceId`, 0>[], localStartDate: string, localEndDate: string, timeZone: string, location: NonNullablePaths<Location, `locationType`, 0>): Promise<NonNullablePaths<GetMultiServiceAvailabilityTimeSlotResponse, `timeSlot.location.locationType` | `timeSlot.availableResources` | `timeSlot.nestedTimeSlots` | `timeSlot.nestedTimeSlots.${number}.serviceId` | `timeSlot.nestedTimeSlots.${number}.localStartDate` | `timeSlot.nestedTimeSlots.${number}.localEndDate`, 3> & {
|
|
86
86
|
__applicationErrorsType?: GetMultiServiceAvailabilityTimeSlotApplicationErrors;
|
|
87
87
|
}>;
|
|
88
88
|
}
|
package/build/cjs/index.js
CHANGED
|
@@ -243,16 +243,16 @@ var LocationType = /* @__PURE__ */ ((LocationType2) => {
|
|
|
243
243
|
LocationType2["CUSTOMER"] = "CUSTOMER";
|
|
244
244
|
return LocationType2;
|
|
245
245
|
})(LocationType || {});
|
|
246
|
-
var RequestedGenderValueRequestedGender = /* @__PURE__ */ ((RequestedGenderValueRequestedGender2) => {
|
|
247
|
-
RequestedGenderValueRequestedGender2["ANY_MALE"] = "ANY_MALE";
|
|
248
|
-
RequestedGenderValueRequestedGender2["ANY_FEMALE"] = "ANY_FEMALE";
|
|
249
|
-
return RequestedGenderValueRequestedGender2;
|
|
250
|
-
})(RequestedGenderValueRequestedGender || {});
|
|
251
246
|
var RequestedGender = /* @__PURE__ */ ((RequestedGender2) => {
|
|
252
247
|
RequestedGender2["ANY_MALE"] = "ANY_MALE";
|
|
253
248
|
RequestedGender2["ANY_FEMALE"] = "ANY_FEMALE";
|
|
254
249
|
return RequestedGender2;
|
|
255
250
|
})(RequestedGender || {});
|
|
251
|
+
var RequestedGenderValueRequestedGender = /* @__PURE__ */ ((RequestedGenderValueRequestedGender2) => {
|
|
252
|
+
RequestedGenderValueRequestedGender2["ANY_MALE"] = "ANY_MALE";
|
|
253
|
+
RequestedGenderValueRequestedGender2["ANY_FEMALE"] = "ANY_FEMALE";
|
|
254
|
+
return RequestedGenderValueRequestedGender2;
|
|
255
|
+
})(RequestedGenderValueRequestedGender || {});
|
|
256
256
|
var ReasonCode = /* @__PURE__ */ ((ReasonCode2) => {
|
|
257
257
|
ReasonCode2["NO_ASSIGNED_STAFF_OR_RESOURCES"] = "NO_ASSIGNED_STAFF_OR_RESOURCES";
|
|
258
258
|
ReasonCode2["SERVICE_AVAILABILITY_CONFIGURATION_MISSING"] = "SERVICE_AVAILABILITY_CONFIGURATION_MISSING";
|