@wix/auto_sdk_bookings_availability-time-slots 1.0.274 → 1.0.275
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 +4 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +35 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +32 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +4 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +35 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +32 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +4 -4
- package/build/internal/cjs/index.typings.d.ts +51 -4
- package/build/internal/cjs/meta.d.ts +48 -1
- package/build/internal/es/index.d.mts +4 -4
- package/build/internal/es/index.typings.d.mts +51 -4
- package/build/internal/es/meta.d.mts +48 -1
- 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 { ListAvailabilityTimeSlotsOptions, ListAvailabilityTimeSlotsResponse, ListAvailabilityTimeSlotsApplicationErrors, ListAvailabilityTimeSlotEndOptions, ListAvailabilityTimeSlotEndOptionsResponse, ListAvailabilityTimeSlotEndOptionsApplicationErrors, Location, GetAvailabilityTimeSlotOptions, GetAvailabilityTimeSlotResponse, GetAvailabilityTimeSlotApplicationErrors } from './index.typings.js';
|
|
3
|
-
export { ApplicationError, AvailableResources, BookingPolicyViolations, BulkActionMetadata, BulkListAvailabilityTimeSlotsRequest, BulkListAvailabilityTimeSlotsResponse, BulkServiceTimeSlotsResult, CursorPaging, CursorPagingMetadata, Cursors, CustomerChoices, DiagnoseAvailabilityRequest, DiagnoseAvailabilityResponse, DiagnosisReason, EventInfo, GetAvailabilityTimeSlotRequest, GetAvailabilityTimeSlotRequestCustomerChoices, GetEventTimeSlotRequest, GetEventTimeSlotResponse, GetMultiServiceAvailabilityTimeSlotRequest, GetMultiServiceAvailabilityTimeSlotResponse, ItemMetadata, ListAvailabilityTimeSlotEndOptionsRequest, ListAvailabilityTimeSlotsRequest, ListEventTimeSlotsRequest, ListEventTimeSlotsResponse, ListMultiServiceAvailabilityTimeSlotsRequest, ListMultiServiceAvailabilityTimeSlotsResponse, LocationType, LocationTypeWithLiterals, NestedTimeSlot, NonBookableReasons, ReasonCode, ReasonCodeWithLiterals, RequestedGender, RequestedGenderValue, RequestedGenderValueRequestedGender, RequestedGenderValueRequestedGenderWithLiterals, RequestedGenderWithLiterals, ResolvedContext, Resource, ResourceType, Service, 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, GetEventTimeSlotRequest, GetEventTimeSlotResponse, GetMultiServiceAvailabilityTimeSlotRequest, GetMultiServiceAvailabilityTimeSlotResponse, ItemMetadata, ListAvailabilityTimeSlotEndOptionsRequest, ListAvailabilityTimeSlotsRequest, ListEventTimeSlotsRequest, ListEventTimeSlotsResponse, ListMultiServiceAvailabilityTimeSlotsRequest, ListMultiServiceAvailabilityTimeSlotsResponse, LocationType, LocationTypeWithLiterals, NestedTimeSlot, NonBookableReasons, ReasonCode, ReasonCodeWithLiterals, RequestedGender, RequestedGenderValue, RequestedGenderValueRequestedGender, RequestedGenderValueRequestedGenderWithLiterals, RequestedGenderWithLiterals, ResolvedContext, Resource, ResourceType, ScheduleInfo, Service, ServiceTimeSlots, SuggestedAction, SuggestedActionWithLiterals, TimeSlot, V2CustomerChoices, V2RequestedGenderValue, WaitingList } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function listAvailabilityTimeSlots$1(httpClient: HttpClient): ListAvailabilityTimeSlotsSignature;
|
|
6
6
|
interface ListAvailabilityTimeSlotsSignature {
|
|
@@ -70,7 +70,7 @@ interface ListAvailabilityTimeSlotsSignature {
|
|
|
70
70
|
*
|
|
71
71
|
* In these cases, the working hours of the relevant staff member are used for availability calculation.
|
|
72
72
|
*/
|
|
73
|
-
(options?: ListAvailabilityTimeSlotsOptions): Promise<NonNullablePaths<ListAvailabilityTimeSlotsResponse, `timeSlots` | `timeSlots.${number}.location.locationType`,
|
|
73
|
+
(options?: ListAvailabilityTimeSlotsOptions): Promise<NonNullablePaths<ListAvailabilityTimeSlotsResponse, `timeSlots` | `timeSlots.${number}.location.locationType`, 3> & {
|
|
74
74
|
__applicationErrorsType?: ListAvailabilityTimeSlotsApplicationErrors;
|
|
75
75
|
}>;
|
|
76
76
|
}
|
|
@@ -100,7 +100,7 @@ interface ListAvailabilityTimeSlotEndOptionsSignature {
|
|
|
100
100
|
* - `totalCapacity` is always `1`.
|
|
101
101
|
* @param - [Service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction) ID. Must be an appointment-based service configured with `availabilityConstraints.durationRange.hourConfig`.
|
|
102
102
|
*/
|
|
103
|
-
(serviceId: string, options?: NonNullablePaths<ListAvailabilityTimeSlotEndOptions, `localStartDate` | `location`,
|
|
103
|
+
(serviceId: string, options?: NonNullablePaths<ListAvailabilityTimeSlotEndOptions, `localStartDate` | `location`, 0>): Promise<NonNullablePaths<ListAvailabilityTimeSlotEndOptionsResponse, `endOptions` | `endOptions.${number}.location.locationType`, 3> & {
|
|
104
104
|
__applicationErrorsType?: ListAvailabilityTimeSlotEndOptionsApplicationErrors;
|
|
105
105
|
}>;
|
|
106
106
|
}
|
|
@@ -156,7 +156,7 @@ interface GetAvailabilityTimeSlotSignature {
|
|
|
156
156
|
* For business locations, you must specify a location ID.
|
|
157
157
|
* When specifying a location ID, all other location field filters are ignored.
|
|
158
158
|
*/
|
|
159
|
-
(serviceId: string, localStartDate: string, localEndDate: string, timeZone: string, location: Location, options?: GetAvailabilityTimeSlotOptions): Promise<NonNullablePaths<GetAvailabilityTimeSlotResponse, `timeSlot.location.locationType` | `timeSlot.availableResources` | `timeSlot.nestedTimeSlots` | `timeSlot.nestedTimeSlots.${number}.serviceId` | `timeSlot.nestedTimeSlots.${number}.localStartDate` | `timeSlot.nestedTimeSlots.${number}.localEndDate`,
|
|
159
|
+
(serviceId: string, localStartDate: string, localEndDate: string, timeZone: string, location: Location, options?: GetAvailabilityTimeSlotOptions): Promise<NonNullablePaths<GetAvailabilityTimeSlotResponse, `timeSlot.location.locationType` | `timeSlot.availableResources` | `timeSlot.nestedTimeSlots` | `timeSlot.nestedTimeSlots.${number}.serviceId` | `timeSlot.nestedTimeSlots.${number}.localStartDate` | `timeSlot.nestedTimeSlots.${number}.localEndDate`, 3> & {
|
|
160
160
|
__applicationErrorsType?: GetAvailabilityTimeSlotApplicationErrors;
|
|
161
161
|
}>;
|
|
162
162
|
}
|