@wix/auto_sdk_bookings_availability-calendar 1.0.203 → 1.0.205
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 +14 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +25 -1
- package/build/cjs/index.typings.js +14 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +25 -1
- package/build/cjs/meta.js +14 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +12 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +25 -1
- package/build/es/index.typings.mjs +12 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +25 -1
- package/build/es/meta.mjs +12 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.typings.d.ts +37 -1
- package/build/internal/cjs/meta.d.ts +37 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +37 -1
- package/build/internal/es/meta.d.mts +37 -1
- package/package.json +3 -3
|
@@ -484,7 +484,19 @@ interface GetScheduleAvailabilityRequest {
|
|
|
484
484
|
* @internal
|
|
485
485
|
*/
|
|
486
486
|
shouldNotCallConsistentQuery?: boolean | null;
|
|
487
|
+
/**
|
|
488
|
+
* Optional facts to add to the availability. `WAITING_LIST` adds the course's `waiting_list`.
|
|
489
|
+
* @internal
|
|
490
|
+
* @maxSize 1
|
|
491
|
+
*/
|
|
492
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
493
|
+
}
|
|
494
|
+
declare enum RequestedFields {
|
|
495
|
+
/** The course's waiting list: its status and, when known, its places. */
|
|
496
|
+
WAITING_LIST = "WAITING_LIST"
|
|
487
497
|
}
|
|
498
|
+
/** @enumType */
|
|
499
|
+
type RequestedFieldsWithLiterals = RequestedFields | 'WAITING_LIST';
|
|
488
500
|
interface GetScheduleAvailabilityResponse {
|
|
489
501
|
availability?: ScheduleAvailability;
|
|
490
502
|
bookingPolicySettings?: BookingPolicySettings;
|
|
@@ -499,7 +511,31 @@ interface ScheduleAvailability {
|
|
|
499
511
|
openSpots?: number | null;
|
|
500
512
|
/** Booking policy violations for the schedule. */
|
|
501
513
|
bookingPolicyViolations?: BookingPolicyViolations;
|
|
514
|
+
/**
|
|
515
|
+
* The course's waiting list. Returned only when `fields` has `WAITING_LIST`, the site's course waitlist is on and the
|
|
516
|
+
* course's waitlist is enabled.
|
|
517
|
+
* @internal
|
|
518
|
+
*/
|
|
519
|
+
waitingList?: CourseWaitingList;
|
|
520
|
+
}
|
|
521
|
+
interface CourseWaitingList {
|
|
522
|
+
/** The waiting list's places. Absent when the course has no waiting list yet, or when they can't be read. */
|
|
523
|
+
totalSpots?: number | null;
|
|
524
|
+
/** The waiting list's free places. Absent when the course has no waiting list yet, or when they can't be read. */
|
|
525
|
+
openSpots?: number | null;
|
|
526
|
+
/** The waiting list's status. */
|
|
527
|
+
status?: StatusWithLiterals;
|
|
528
|
+
}
|
|
529
|
+
declare enum Status {
|
|
530
|
+
/** No place is being offered. */
|
|
531
|
+
IDLE = "IDLE",
|
|
532
|
+
/** A place is being offered to a participant. */
|
|
533
|
+
OFFERING = "OFFERING",
|
|
534
|
+
/** The course has no waiting list yet. */
|
|
535
|
+
NOT_CREATED = "NOT_CREATED"
|
|
502
536
|
}
|
|
537
|
+
/** @enumType */
|
|
538
|
+
type StatusWithLiterals = Status | 'IDLE' | 'OFFERING' | 'NOT_CREATED';
|
|
503
539
|
interface CalculateMultiSlotAvailabilityRequest {
|
|
504
540
|
/** @maxLength 30 */
|
|
505
541
|
from?: string;
|
|
@@ -991,4 +1027,4 @@ declare function getScheduleAvailability(): __PublicMethodMetaInfo<'GET', {
|
|
|
991
1027
|
}, GetScheduleAvailabilityRequest$1, GetScheduleAvailabilityRequest, GetScheduleAvailabilityResponse$1, GetScheduleAvailabilityResponse>;
|
|
992
1028
|
declare function calculateMultiSlotAvailability(): __PublicMethodMetaInfo<'POST', {}, CalculateMultiSlotAvailabilityRequest$1, CalculateMultiSlotAvailabilityRequest, CalculateMultiSlotAvailabilityResponse$1, CalculateMultiSlotAvailabilityResponse>;
|
|
993
1029
|
|
|
994
|
-
export { type AddressLocation as AddressLocationOriginal, type AvailabilityV2CustomerChoices as AvailabilityV2CustomerChoicesOriginal, type AvailabilityWaitingList as AvailabilityWaitingListOriginal, type AvailableResources as AvailableResourcesOriginal, type BookingPolicySettings as BookingPolicySettingsOriginal, type BookingPolicyViolations as BookingPolicyViolationsOriginal, type CalculateMultiSlotAvailabilityRequest as CalculateMultiSlotAvailabilityRequestOriginal, type CalculateMultiSlotAvailabilityResponse as CalculateMultiSlotAvailabilityResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type CustomerChoices as CustomerChoicesOriginal, type EventInfo as EventInfoOriginal, type GetAvailabilityTimeSlotRequest as GetAvailabilityTimeSlotRequestOriginal, type GetAvailabilityTimeSlotResponse as GetAvailabilityTimeSlotResponseOriginal, type GetScheduleAvailabilityApplicationErrors as GetScheduleAvailabilityApplicationErrorsOriginal, type GetScheduleAvailabilityRequest as GetScheduleAvailabilityRequestOriginal, type GetScheduleAvailabilityResponse as GetScheduleAvailabilityResponseOriginal, type GetSlotAvailabilityRequest as GetSlotAvailabilityRequestOriginal, type GetSlotAvailabilityResponse as GetSlotAvailabilityResponseOriginal, LocationLocationType as LocationLocationTypeOriginal, type LocationLocationTypeWithLiterals as LocationLocationTypeWithLiteralsOriginal, type Location as LocationOriginal, LocationType as LocationTypeOriginal, type LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal, type NestedTimeSlot as NestedTimeSlotOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type PhoneCall as PhoneCallOriginal, type QueryAvailabilityRequest as QueryAvailabilityRequestOriginal, type QueryAvailabilityResponse as QueryAvailabilityResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, RequestedGender as RequestedGenderOriginal, type RequestedGenderValue as RequestedGenderValueOriginal, RequestedGenderValueRequestedGender as RequestedGenderValueRequestedGenderOriginal, type RequestedGenderValueRequestedGenderWithLiterals as RequestedGenderValueRequestedGenderWithLiteralsOriginal, type RequestedGenderWithLiterals as RequestedGenderWithLiteralsOriginal, type Resource as ResourceOriginal, type ResourcesFilter as ResourcesFilterOriginal, type RuleBasedConstraints as RuleBasedConstraintsOriginal, type ScheduleAvailability as ScheduleAvailabilityOriginal, type Service_availabilityBookingPolicyViolations as Service_availabilityBookingPolicyViolationsOriginal, type Service_availabilityNestedTimeSlot as Service_availabilityNestedTimeSlotOriginal, type SlotAvailability as SlotAvailabilityOriginal, type Slot as SlotOriginal, type SlotResource as SlotResourceOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type TimeSlotLocation as TimeSlotLocationOriginal, type TimeSlot as TimeSlotOriginal, type V2CustomerChoices as V2CustomerChoicesOriginal, type V2RequestedGenderValue as V2RequestedGenderValueOriginal, type WaitingList as WaitingListOriginal, type __PublicMethodMetaInfo, calculateMultiSlotAvailability, getScheduleAvailability, queryAvailability };
|
|
1030
|
+
export { type AddressLocation as AddressLocationOriginal, type AvailabilityV2CustomerChoices as AvailabilityV2CustomerChoicesOriginal, type AvailabilityWaitingList as AvailabilityWaitingListOriginal, type AvailableResources as AvailableResourcesOriginal, type BookingPolicySettings as BookingPolicySettingsOriginal, type BookingPolicyViolations as BookingPolicyViolationsOriginal, type CalculateMultiSlotAvailabilityRequest as CalculateMultiSlotAvailabilityRequestOriginal, type CalculateMultiSlotAvailabilityResponse as CalculateMultiSlotAvailabilityResponseOriginal, type CourseWaitingList as CourseWaitingListOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type CustomerChoices as CustomerChoicesOriginal, type EventInfo as EventInfoOriginal, type GetAvailabilityTimeSlotRequest as GetAvailabilityTimeSlotRequestOriginal, type GetAvailabilityTimeSlotResponse as GetAvailabilityTimeSlotResponseOriginal, type GetScheduleAvailabilityApplicationErrors as GetScheduleAvailabilityApplicationErrorsOriginal, type GetScheduleAvailabilityRequest as GetScheduleAvailabilityRequestOriginal, type GetScheduleAvailabilityResponse as GetScheduleAvailabilityResponseOriginal, type GetSlotAvailabilityRequest as GetSlotAvailabilityRequestOriginal, type GetSlotAvailabilityResponse as GetSlotAvailabilityResponseOriginal, LocationLocationType as LocationLocationTypeOriginal, type LocationLocationTypeWithLiterals as LocationLocationTypeWithLiteralsOriginal, type Location as LocationOriginal, LocationType as LocationTypeOriginal, type LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal, type NestedTimeSlot as NestedTimeSlotOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type PhoneCall as PhoneCallOriginal, type QueryAvailabilityRequest as QueryAvailabilityRequestOriginal, type QueryAvailabilityResponse as QueryAvailabilityResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, RequestedGender as RequestedGenderOriginal, type RequestedGenderValue as RequestedGenderValueOriginal, RequestedGenderValueRequestedGender as RequestedGenderValueRequestedGenderOriginal, type RequestedGenderValueRequestedGenderWithLiterals as RequestedGenderValueRequestedGenderWithLiteralsOriginal, type RequestedGenderWithLiterals as RequestedGenderWithLiteralsOriginal, type Resource as ResourceOriginal, type ResourcesFilter as ResourcesFilterOriginal, type RuleBasedConstraints as RuleBasedConstraintsOriginal, type ScheduleAvailability as ScheduleAvailabilityOriginal, type Service_availabilityBookingPolicyViolations as Service_availabilityBookingPolicyViolationsOriginal, type Service_availabilityNestedTimeSlot as Service_availabilityNestedTimeSlotOriginal, type SlotAvailability as SlotAvailabilityOriginal, type Slot as SlotOriginal, type SlotResource as SlotResourceOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type TimeSlotLocation as TimeSlotLocationOriginal, type TimeSlot as TimeSlotOriginal, type V2CustomerChoices as V2CustomerChoicesOriginal, type V2RequestedGenderValue as V2RequestedGenderValueOriginal, type WaitingList as WaitingListOriginal, type __PublicMethodMetaInfo, calculateMultiSlotAvailability, getScheduleAvailability, queryAvailability };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_bookings_availability-calendar",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.205",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"service-plugins"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@wix/sdk-runtime": "^1.0.
|
|
32
|
+
"@wix/sdk-runtime": "^1.0.30",
|
|
33
33
|
"@wix/sdk-types": "^1.17.12"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.bookings.availability.v1.slot_availability"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "b96fbcb277d490bda5ac55a163003ebdb5ab307c240ab17d2841d600"
|
|
54
54
|
}
|