@wix/bookings 1.0.294 → 1.0.296
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 +5 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +5 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +5 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.meta.d.ts +1 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.meta.js +5 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.meta.js.map +1 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.public.d.ts +1 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.types.d.ts +2 -6
- package/build/cjs/src/bookings-availability-v1-slot-availability.types.js +12 -14
- package/build/cjs/src/bookings-availability-v1-slot-availability.types.js.map +1 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.d.ts +2 -6
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js +17 -15
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.meta.d.ts +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.meta.js +5 -1
- package/build/cjs/src/bookings-calendar-v1-session.meta.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.public.d.ts +9 -9
- package/build/cjs/src/bookings-calendar-v1-session.types.d.ts +12 -39
- package/build/cjs/src/bookings-calendar-v1-session.types.js +88 -100
- package/build/cjs/src/bookings-calendar-v1-session.types.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.universal.d.ts +14 -40
- package/build/cjs/src/bookings-calendar-v1-session.universal.js +93 -101
- package/build/cjs/src/bookings-calendar-v1-session.universal.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-external-calendar.meta.d.ts +1 -1
- package/build/cjs/src/bookings-calendar-v2-external-calendar.meta.js +5 -1
- package/build/cjs/src/bookings-calendar-v2-external-calendar.meta.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-external-calendar.public.d.ts +2 -2
- package/build/cjs/src/bookings-calendar-v2-external-calendar.types.d.ts +19 -60
- package/build/cjs/src/bookings-calendar-v2-external-calendar.types.js +141 -160
- package/build/cjs/src/bookings-calendar-v2-external-calendar.types.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.d.ts +19 -59
- package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js +146 -161
- package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-session-feed-event.types.js +13 -13
- package/build/cjs/src/bookings-calendar-v2-session-feed-event.types.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-session-feed-event.universal.js +18 -14
- package/build/cjs/src/bookings-calendar-v2-session-feed-event.universal.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-session-view.meta.d.ts +1 -1
- package/build/cjs/src/bookings-calendar-v2-session-view.meta.js +5 -1
- package/build/cjs/src/bookings-calendar-v2-session-view.meta.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-session-view.types.d.ts +13 -42
- package/build/cjs/src/bookings-calendar-v2-session-view.types.js +98 -111
- package/build/cjs/src/bookings-calendar-v2-session-view.types.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-session-view.universal.d.ts +13 -42
- package/build/cjs/src/bookings-calendar-v2-session-view.universal.js +103 -112
- package/build/cjs/src/bookings-calendar-v2-session-view.universal.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.meta.d.ts +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.meta.js +5 -1
- package/build/cjs/src/bookings-catalog-v1-resource.meta.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.public.d.ts +3 -3
- package/build/cjs/src/bookings-catalog-v1-resource.types.js +13 -13
- package/build/cjs/src/bookings-catalog-v1-resource.types.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.universal.js +18 -14
- package/build/cjs/src/bookings-catalog-v1-resource.universal.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.meta.d.ts +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.meta.js +5 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.meta.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.public.d.ts +3 -3
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +21 -67
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.js +148 -169
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +22 -67
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js +153 -170
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.meta.d.ts +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.meta.js +5 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.meta.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.public.d.ts +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.d.ts +11 -44
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.js +76 -87
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.d.ts +11 -43
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js +81 -88
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.meta.d.ts +1 -1
- package/build/cjs/src/bookings-services-v2-service.meta.js +5 -1
- package/build/cjs/src/bookings-services-v2-service.meta.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.public.d.ts +11 -11
- package/build/cjs/src/bookings-services-v2-service.types.d.ts +27 -83
- package/build/cjs/src/bookings-services-v2-service.types.js +190 -217
- package/build/cjs/src/bookings-services-v2-service.types.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.universal.d.ts +28 -83
- package/build/cjs/src/bookings-services-v2-service.universal.js +195 -218
- package/build/cjs/src/bookings-services-v2-service.universal.js.map +1 -1
- package/build/cjs/src/bookings-v1-category.meta.d.ts +1 -1
- package/build/cjs/src/bookings-v1-category.meta.js +5 -1
- package/build/cjs/src/bookings-v1-category.meta.js.map +1 -1
- package/build/cjs/src/bookings-v1-category.public.d.ts +2 -2
- package/build/cjs/src/bookings-v1-category.types.js +2 -2
- package/build/cjs/src/bookings-v1-category.types.js.map +1 -1
- package/build/cjs/src/bookings-v1-category.universal.js +7 -3
- package/build/cjs/src/bookings-v1-category.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.meta.d.ts +1 -1
- package/build/cjs/src/bookings-v2-attendance.meta.js +5 -1
- package/build/cjs/src/bookings-v2-attendance.meta.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.public.d.ts +2 -2
- package/build/cjs/src/bookings-v2-attendance.types.d.ts +2 -11
- package/build/cjs/src/bookings-v2-attendance.types.js +11 -13
- package/build/cjs/src/bookings-v2-attendance.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.universal.d.ts +3 -11
- package/build/cjs/src/bookings-v2-attendance.universal.js +16 -14
- package/build/cjs/src/bookings-v2-attendance.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.meta.d.ts +1 -1
- package/build/cjs/src/bookings-v2-booking.meta.js +5 -1
- package/build/cjs/src/bookings-v2-booking.meta.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.public.d.ts +9 -9
- package/build/cjs/src/bookings-v2-booking.types.d.ts +12 -46
- package/build/cjs/src/bookings-v2-booking.types.js +85 -97
- package/build/cjs/src/bookings-v2-booking.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.universal.d.ts +12 -45
- package/build/cjs/src/bookings-v2-booking.universal.js +90 -98
- package/build/cjs/src/bookings-v2-booking.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.meta.d.ts +1 -1
- package/build/cjs/src/bookings-v2-price-info.meta.js +5 -1
- package/build/cjs/src/bookings-v2-price-info.meta.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.types.d.ts +9 -37
- package/build/cjs/src/bookings-v2-price-info.types.js +65 -74
- package/build/cjs/src/bookings-v2-price-info.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.universal.d.ts +9 -37
- package/build/cjs/src/bookings-v2-price-info.universal.js +70 -75
- package/build/cjs/src/bookings-v2-price-info.universal.js.map +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability.meta.d.ts +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability.public.d.ts +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability.types.d.ts +2 -6
- package/build/es/src/bookings-availability-v1-slot-availability.types.js +12 -14
- package/build/es/src/bookings-availability-v1-slot-availability.types.js.map +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability.universal.d.ts +2 -6
- package/build/es/src/bookings-availability-v1-slot-availability.universal.js +12 -14
- package/build/es/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
- package/build/es/src/bookings-calendar-v1-session.meta.d.ts +1 -1
- package/build/es/src/bookings-calendar-v1-session.public.d.ts +9 -9
- package/build/es/src/bookings-calendar-v1-session.types.d.ts +12 -39
- package/build/es/src/bookings-calendar-v1-session.types.js +88 -100
- package/build/es/src/bookings-calendar-v1-session.types.js.map +1 -1
- package/build/es/src/bookings-calendar-v1-session.universal.d.ts +14 -40
- package/build/es/src/bookings-calendar-v1-session.universal.js +88 -100
- package/build/es/src/bookings-calendar-v1-session.universal.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-external-calendar.meta.d.ts +1 -1
- package/build/es/src/bookings-calendar-v2-external-calendar.public.d.ts +2 -2
- package/build/es/src/bookings-calendar-v2-external-calendar.types.d.ts +19 -60
- package/build/es/src/bookings-calendar-v2-external-calendar.types.js +141 -160
- package/build/es/src/bookings-calendar-v2-external-calendar.types.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-external-calendar.universal.d.ts +19 -59
- package/build/es/src/bookings-calendar-v2-external-calendar.universal.js +141 -160
- package/build/es/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-session-feed-event.universal.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-session-view.meta.d.ts +1 -1
- package/build/es/src/bookings-calendar-v2-session-view.types.d.ts +13 -42
- package/build/es/src/bookings-calendar-v2-session-view.types.js +98 -111
- package/build/es/src/bookings-calendar-v2-session-view.types.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-session-view.universal.d.ts +13 -42
- package/build/es/src/bookings-calendar-v2-session-view.universal.js +98 -111
- package/build/es/src/bookings-calendar-v2-session-view.universal.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.meta.d.ts +1 -1
- package/build/es/src/bookings-catalog-v1-resource.public.d.ts +3 -3
- package/build/es/src/bookings-catalog-v1-resource.universal.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.meta.d.ts +1 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.public.d.ts +3 -3
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +21 -67
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.js +148 -169
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +22 -67
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js +148 -169
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.meta.d.ts +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.public.d.ts +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.types.d.ts +11 -44
- package/build/es/src/bookings-reader-v2-extended-booking.types.js +76 -87
- package/build/es/src/bookings-reader-v2-extended-booking.types.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.universal.d.ts +11 -43
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js +76 -87
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.meta.d.ts +1 -1
- package/build/es/src/bookings-services-v2-service.public.d.ts +11 -11
- package/build/es/src/bookings-services-v2-service.types.d.ts +27 -83
- package/build/es/src/bookings-services-v2-service.types.js +190 -217
- package/build/es/src/bookings-services-v2-service.types.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.universal.d.ts +28 -83
- package/build/es/src/bookings-services-v2-service.universal.js +190 -217
- package/build/es/src/bookings-services-v2-service.universal.js.map +1 -1
- package/build/es/src/bookings-v1-category.meta.d.ts +1 -1
- package/build/es/src/bookings-v1-category.public.d.ts +2 -2
- package/build/es/src/bookings-v1-category.universal.js.map +1 -1
- package/build/es/src/bookings-v2-attendance.meta.d.ts +1 -1
- package/build/es/src/bookings-v2-attendance.public.d.ts +2 -2
- package/build/es/src/bookings-v2-attendance.types.d.ts +2 -11
- package/build/es/src/bookings-v2-attendance.types.js +11 -13
- package/build/es/src/bookings-v2-attendance.types.js.map +1 -1
- package/build/es/src/bookings-v2-attendance.universal.d.ts +3 -11
- package/build/es/src/bookings-v2-attendance.universal.js +11 -13
- package/build/es/src/bookings-v2-attendance.universal.js.map +1 -1
- package/build/es/src/bookings-v2-booking.meta.d.ts +1 -1
- package/build/es/src/bookings-v2-booking.public.d.ts +9 -9
- package/build/es/src/bookings-v2-booking.types.d.ts +12 -46
- package/build/es/src/bookings-v2-booking.types.js +85 -97
- package/build/es/src/bookings-v2-booking.types.js.map +1 -1
- package/build/es/src/bookings-v2-booking.universal.d.ts +12 -45
- package/build/es/src/bookings-v2-booking.universal.js +85 -97
- package/build/es/src/bookings-v2-booking.universal.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.meta.d.ts +1 -1
- package/build/es/src/bookings-v2-price-info.types.d.ts +9 -37
- package/build/es/src/bookings-v2-price-info.types.js +65 -74
- package/build/es/src/bookings-v2-price-info.types.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.universal.d.ts +9 -37
- package/build/es/src/bookings-v2-price-info.universal.js +65 -74
- package/build/es/src/bookings-v2-price-info.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -13,13 +13,11 @@ export interface ExtendedBooking {
|
|
|
13
13
|
*/
|
|
14
14
|
attendance?: Attendance;
|
|
15
15
|
}
|
|
16
|
-
declare enum
|
|
16
|
+
export declare enum AttendanceStatus {
|
|
17
17
|
NOT_SET = "NOT_SET",
|
|
18
18
|
ATTENDED = "ATTENDED",
|
|
19
19
|
NOT_ATTENDED = "NOT_ATTENDED"
|
|
20
20
|
}
|
|
21
|
-
declare type AttendanceStatus = `${AttendanceStatusEnum}`;
|
|
22
|
-
export { AttendanceStatusEnum as AttendanceStatus };
|
|
23
21
|
/** The booking object, version 2. */
|
|
24
22
|
export interface Booking extends BookingParticipantsInfoOneOf {
|
|
25
23
|
/** Total number of participants. Available only when the booking includes a single service variant. */
|
|
@@ -130,7 +128,7 @@ export interface BookingParticipantsInfoOneOf {
|
|
|
130
128
|
*/
|
|
131
129
|
participantsChoices?: ParticipantChoices;
|
|
132
130
|
}
|
|
133
|
-
declare enum
|
|
131
|
+
export declare enum MultiServiceBookingType {
|
|
134
132
|
/**
|
|
135
133
|
* Multi service booking will be considered available if its bookings are
|
|
136
134
|
* available as returned from ListMultiServiceAvailabilityTimeSlots API.
|
|
@@ -145,8 +143,6 @@ declare enum MultiServiceBookingTypeEnum {
|
|
|
145
143
|
/** Not supported yet */
|
|
146
144
|
PARALLEL_BOOKINGS = "PARALLEL_BOOKINGS"
|
|
147
145
|
}
|
|
148
|
-
declare type MultiServiceBookingType = `${MultiServiceBookingTypeEnum}`;
|
|
149
|
-
export { MultiServiceBookingTypeEnum as MultiServiceBookingType };
|
|
150
146
|
export interface BookedEntity extends BookedEntityItemOneOf {
|
|
151
147
|
/** The booked slot, once booked becomes a session, The booking is automatically assigned to the session if it already exists, or creates a session if one doesn't already exist. */
|
|
152
148
|
slot?: BookedSlot;
|
|
@@ -236,14 +232,12 @@ export interface Location {
|
|
|
236
232
|
*/
|
|
237
233
|
locationType?: LocationType;
|
|
238
234
|
}
|
|
239
|
-
declare enum
|
|
235
|
+
export declare enum LocationType {
|
|
240
236
|
UNDEFINED = "UNDEFINED",
|
|
241
237
|
OWNER_BUSINESS = "OWNER_BUSINESS",
|
|
242
238
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
243
239
|
CUSTOM = "CUSTOM"
|
|
244
240
|
}
|
|
245
|
-
declare type LocationType = `${LocationTypeEnum}`;
|
|
246
|
-
export { LocationTypeEnum as LocationType };
|
|
247
241
|
export interface BookedSchedule {
|
|
248
242
|
/** Schedule ID. */
|
|
249
243
|
scheduleId?: string;
|
|
@@ -361,7 +355,7 @@ export interface CustomFormField {
|
|
|
361
355
|
*/
|
|
362
356
|
valueType?: ValueType;
|
|
363
357
|
}
|
|
364
|
-
declare enum
|
|
358
|
+
export declare enum ValueType {
|
|
365
359
|
/** Short text. This is the default value type. */
|
|
366
360
|
SHORT_TEXT = "SHORT_TEXT",
|
|
367
361
|
/** Long text */
|
|
@@ -369,10 +363,8 @@ declare enum ValueTypeEnum {
|
|
|
369
363
|
/** a text that represent the check box value: if selected the value is "true", otherwise "false". */
|
|
370
364
|
CHECK_BOX = "CHECK_BOX"
|
|
371
365
|
}
|
|
372
|
-
declare type ValueType = `${ValueTypeEnum}`;
|
|
373
|
-
export { ValueTypeEnum as ValueType };
|
|
374
366
|
/** Booking status. */
|
|
375
|
-
declare enum
|
|
367
|
+
export declare enum BookingStatus {
|
|
376
368
|
CREATED = "CREATED",
|
|
377
369
|
CONFIRMED = "CONFIRMED",
|
|
378
370
|
CANCELED = "CANCELED",
|
|
@@ -380,14 +372,11 @@ declare enum BookingStatusEnum {
|
|
|
380
372
|
DECLINED = "DECLINED",
|
|
381
373
|
WAITING_LIST = "WAITING_LIST"
|
|
382
374
|
}
|
|
383
|
-
/** Booking status. */
|
|
384
|
-
declare type BookingStatus = `${BookingStatusEnum}`;
|
|
385
|
-
export { BookingStatusEnum as BookingStatus };
|
|
386
375
|
/**
|
|
387
376
|
* Payment status.
|
|
388
377
|
* Automatically updated when using eCom checkout APIs.
|
|
389
378
|
*/
|
|
390
|
-
declare enum
|
|
379
|
+
export declare enum PaymentStatus {
|
|
391
380
|
UNDEFINED = "UNDEFINED",
|
|
392
381
|
NOT_PAID = "NOT_PAID",
|
|
393
382
|
PAID = "PAID",
|
|
@@ -397,19 +386,13 @@ declare enum PaymentStatusEnum {
|
|
|
397
386
|
REFUNDED = "REFUNDED",
|
|
398
387
|
EXEMPT = "EXEMPT"
|
|
399
388
|
}
|
|
400
|
-
/**
|
|
401
|
-
* Payment status.
|
|
402
|
-
* Automatically updated when using eCom checkout APIs.
|
|
403
|
-
*/
|
|
404
|
-
declare type PaymentStatus = `${PaymentStatusEnum}`;
|
|
405
|
-
export { PaymentStatusEnum as PaymentStatus };
|
|
406
389
|
/**
|
|
407
390
|
* The selected payment option.
|
|
408
391
|
* One of the payment options offered by the service.
|
|
409
392
|
* This field is be set when the user selects an option during booking.
|
|
410
393
|
* If left undefined, the payment option is resolved by the service configuration on checkout.
|
|
411
394
|
*/
|
|
412
|
-
declare enum
|
|
395
|
+
export declare enum SelectedPaymentOption {
|
|
413
396
|
UNDEFINED = "UNDEFINED",
|
|
414
397
|
OFFLINE = "OFFLINE",
|
|
415
398
|
ONLINE = "ONLINE",
|
|
@@ -417,14 +400,6 @@ declare enum SelectedPaymentOptionEnum {
|
|
|
417
400
|
/** Payment can only be done using a membership and must be manually redeemed in the dashboard by the site owner. */
|
|
418
401
|
MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
|
|
419
402
|
}
|
|
420
|
-
/**
|
|
421
|
-
* The selected payment option.
|
|
422
|
-
* One of the payment options offered by the service.
|
|
423
|
-
* This field is be set when the user selects an option during booking.
|
|
424
|
-
* If left undefined, the payment option is resolved by the service configuration on checkout.
|
|
425
|
-
*/
|
|
426
|
-
declare type SelectedPaymentOption = `${SelectedPaymentOptionEnum}`;
|
|
427
|
-
export { SelectedPaymentOptionEnum as SelectedPaymentOption };
|
|
428
403
|
export interface BookingSource {
|
|
429
404
|
/**
|
|
430
405
|
* Platform from which a booking was created
|
|
@@ -455,20 +430,16 @@ export interface BookingSource {
|
|
|
455
430
|
*/
|
|
456
431
|
appName?: string | null;
|
|
457
432
|
}
|
|
458
|
-
declare enum
|
|
433
|
+
export declare enum Platform {
|
|
459
434
|
UNDEFINED_PLATFORM = "UNDEFINED_PLATFORM",
|
|
460
435
|
WEB = "WEB",
|
|
461
436
|
MOBILE_APP = "MOBILE_APP"
|
|
462
437
|
}
|
|
463
|
-
declare
|
|
464
|
-
export { PlatformEnum as Platform };
|
|
465
|
-
declare enum ActorEnum {
|
|
438
|
+
export declare enum Actor {
|
|
466
439
|
UNDEFINED_ACTOR = "UNDEFINED_ACTOR",
|
|
467
440
|
BUSINESS = "BUSINESS",
|
|
468
441
|
CUSTOMER = "CUSTOMER"
|
|
469
442
|
}
|
|
470
|
-
declare type Actor = `${ActorEnum}`;
|
|
471
|
-
export { ActorEnum as Actor };
|
|
472
443
|
export interface ParticipantNotification {
|
|
473
444
|
/**
|
|
474
445
|
* Whether to send the message about the changes to the customer.
|
|
@@ -502,15 +473,13 @@ export interface IdentificationDataIdOneOf {
|
|
|
502
473
|
/** ID of an app. */
|
|
503
474
|
appId?: string;
|
|
504
475
|
}
|
|
505
|
-
declare enum
|
|
476
|
+
export declare enum IdentityType {
|
|
506
477
|
UNKNOWN = "UNKNOWN",
|
|
507
478
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
508
479
|
MEMBER = "MEMBER",
|
|
509
480
|
WIX_USER = "WIX_USER",
|
|
510
481
|
APP = "APP"
|
|
511
482
|
}
|
|
512
|
-
declare type IdentityType = `${IdentityTypeEnum}`;
|
|
513
|
-
export { IdentityTypeEnum as IdentityType };
|
|
514
483
|
export interface FlowControlSettings {
|
|
515
484
|
/**
|
|
516
485
|
* When true, skips availability checking and allows booking.
|
|
@@ -679,12 +648,10 @@ export interface Sorting {
|
|
|
679
648
|
/** Sort order. */
|
|
680
649
|
order?: SortOrder;
|
|
681
650
|
}
|
|
682
|
-
declare enum
|
|
651
|
+
export declare enum SortOrder {
|
|
683
652
|
ASC = "ASC",
|
|
684
653
|
DESC = "DESC"
|
|
685
654
|
}
|
|
686
|
-
declare type SortOrder = `${SortOrderEnum}`;
|
|
687
|
-
export { SortOrderEnum as SortOrder };
|
|
688
655
|
export interface Paging {
|
|
689
656
|
/** Number of items to load. */
|
|
690
657
|
limit?: number | null;
|
|
@@ -1,118 +1,107 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SortOrder = exports.IdentityType = exports.Actor = exports.Platform = exports.SelectedPaymentOption = exports.PaymentStatus = exports.BookingStatus = exports.ValueType = exports.LocationType = exports.MultiServiceBookingType = exports.AttendanceStatus = void 0;
|
|
4
|
-
var
|
|
5
|
-
(function (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
})(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
(function (MultiServiceBookingTypeEnum) {
|
|
4
|
+
var AttendanceStatus;
|
|
5
|
+
(function (AttendanceStatus) {
|
|
6
|
+
AttendanceStatus["NOT_SET"] = "NOT_SET";
|
|
7
|
+
AttendanceStatus["ATTENDED"] = "ATTENDED";
|
|
8
|
+
AttendanceStatus["NOT_ATTENDED"] = "NOT_ATTENDED";
|
|
9
|
+
})(AttendanceStatus || (exports.AttendanceStatus = AttendanceStatus = {}));
|
|
10
|
+
var MultiServiceBookingType;
|
|
11
|
+
(function (MultiServiceBookingType) {
|
|
13
12
|
/**
|
|
14
13
|
* Multi service booking will be considered available if its bookings are
|
|
15
14
|
* available as returned from ListMultiServiceAvailabilityTimeSlots API.
|
|
16
15
|
* See [List Multi Service Availability Time Slots] (url) documentation // todo: complete url
|
|
17
16
|
*/
|
|
18
|
-
|
|
17
|
+
MultiServiceBookingType["SEQUENTIAL_BOOKINGS"] = "SEQUENTIAL_BOOKINGS";
|
|
19
18
|
/**
|
|
20
19
|
* Multi service booking will be considered available if each of its bookings is available separately.
|
|
21
20
|
* Not supported yet
|
|
22
21
|
*/
|
|
23
|
-
|
|
22
|
+
MultiServiceBookingType["SEPARATE_BOOKINGS"] = "SEPARATE_BOOKINGS";
|
|
24
23
|
/** Not supported yet */
|
|
25
|
-
|
|
26
|
-
})(
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
var ValueTypeEnum;
|
|
37
|
-
(function (ValueTypeEnum) {
|
|
24
|
+
MultiServiceBookingType["PARALLEL_BOOKINGS"] = "PARALLEL_BOOKINGS";
|
|
25
|
+
})(MultiServiceBookingType || (exports.MultiServiceBookingType = MultiServiceBookingType = {}));
|
|
26
|
+
var LocationType;
|
|
27
|
+
(function (LocationType) {
|
|
28
|
+
LocationType["UNDEFINED"] = "UNDEFINED";
|
|
29
|
+
LocationType["OWNER_BUSINESS"] = "OWNER_BUSINESS";
|
|
30
|
+
LocationType["OWNER_CUSTOM"] = "OWNER_CUSTOM";
|
|
31
|
+
LocationType["CUSTOM"] = "CUSTOM";
|
|
32
|
+
})(LocationType || (exports.LocationType = LocationType = {}));
|
|
33
|
+
var ValueType;
|
|
34
|
+
(function (ValueType) {
|
|
38
35
|
/** Short text. This is the default value type. */
|
|
39
|
-
|
|
36
|
+
ValueType["SHORT_TEXT"] = "SHORT_TEXT";
|
|
40
37
|
/** Long text */
|
|
41
|
-
|
|
38
|
+
ValueType["LONG_TEXT"] = "LONG_TEXT";
|
|
42
39
|
/** a text that represent the check box value: if selected the value is "true", otherwise "false". */
|
|
43
|
-
|
|
44
|
-
})(
|
|
45
|
-
exports.ValueType = ValueTypeEnum;
|
|
40
|
+
ValueType["CHECK_BOX"] = "CHECK_BOX";
|
|
41
|
+
})(ValueType || (exports.ValueType = ValueType = {}));
|
|
46
42
|
/** Booking status. */
|
|
47
|
-
var
|
|
48
|
-
(function (
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
})(
|
|
56
|
-
exports.BookingStatus = BookingStatusEnum;
|
|
43
|
+
var BookingStatus;
|
|
44
|
+
(function (BookingStatus) {
|
|
45
|
+
BookingStatus["CREATED"] = "CREATED";
|
|
46
|
+
BookingStatus["CONFIRMED"] = "CONFIRMED";
|
|
47
|
+
BookingStatus["CANCELED"] = "CANCELED";
|
|
48
|
+
BookingStatus["PENDING"] = "PENDING";
|
|
49
|
+
BookingStatus["DECLINED"] = "DECLINED";
|
|
50
|
+
BookingStatus["WAITING_LIST"] = "WAITING_LIST";
|
|
51
|
+
})(BookingStatus || (exports.BookingStatus = BookingStatus = {}));
|
|
57
52
|
/**
|
|
58
53
|
* Payment status.
|
|
59
54
|
* Automatically updated when using eCom checkout APIs.
|
|
60
55
|
*/
|
|
61
|
-
var
|
|
62
|
-
(function (
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
56
|
+
var PaymentStatus;
|
|
57
|
+
(function (PaymentStatus) {
|
|
58
|
+
PaymentStatus["UNDEFINED"] = "UNDEFINED";
|
|
59
|
+
PaymentStatus["NOT_PAID"] = "NOT_PAID";
|
|
60
|
+
PaymentStatus["PAID"] = "PAID";
|
|
66
61
|
/** not supported yet. */
|
|
67
|
-
|
|
62
|
+
PaymentStatus["PARTIALLY_PAID"] = "PARTIALLY_PAID";
|
|
68
63
|
/** not supported yet */
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
})(
|
|
72
|
-
exports.PaymentStatus = PaymentStatusEnum;
|
|
64
|
+
PaymentStatus["REFUNDED"] = "REFUNDED";
|
|
65
|
+
PaymentStatus["EXEMPT"] = "EXEMPT";
|
|
66
|
+
})(PaymentStatus || (exports.PaymentStatus = PaymentStatus = {}));
|
|
73
67
|
/**
|
|
74
68
|
* The selected payment option.
|
|
75
69
|
* One of the payment options offered by the service.
|
|
76
70
|
* This field is be set when the user selects an option during booking.
|
|
77
71
|
* If left undefined, the payment option is resolved by the service configuration on checkout.
|
|
78
72
|
*/
|
|
79
|
-
var
|
|
80
|
-
(function (
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
73
|
+
var SelectedPaymentOption;
|
|
74
|
+
(function (SelectedPaymentOption) {
|
|
75
|
+
SelectedPaymentOption["UNDEFINED"] = "UNDEFINED";
|
|
76
|
+
SelectedPaymentOption["OFFLINE"] = "OFFLINE";
|
|
77
|
+
SelectedPaymentOption["ONLINE"] = "ONLINE";
|
|
78
|
+
SelectedPaymentOption["MEMBERSHIP"] = "MEMBERSHIP";
|
|
85
79
|
/** Payment can only be done using a membership and must be manually redeemed in the dashboard by the site owner. */
|
|
86
|
-
|
|
87
|
-
})(
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
(function (SortOrderEnum) {
|
|
114
|
-
SortOrderEnum["ASC"] = "ASC";
|
|
115
|
-
SortOrderEnum["DESC"] = "DESC";
|
|
116
|
-
})(SortOrderEnum || (SortOrderEnum = {}));
|
|
117
|
-
exports.SortOrder = SortOrderEnum;
|
|
80
|
+
SelectedPaymentOption["MEMBERSHIP_OFFLINE"] = "MEMBERSHIP_OFFLINE";
|
|
81
|
+
})(SelectedPaymentOption || (exports.SelectedPaymentOption = SelectedPaymentOption = {}));
|
|
82
|
+
var Platform;
|
|
83
|
+
(function (Platform) {
|
|
84
|
+
Platform["UNDEFINED_PLATFORM"] = "UNDEFINED_PLATFORM";
|
|
85
|
+
Platform["WEB"] = "WEB";
|
|
86
|
+
Platform["MOBILE_APP"] = "MOBILE_APP";
|
|
87
|
+
})(Platform || (exports.Platform = Platform = {}));
|
|
88
|
+
var Actor;
|
|
89
|
+
(function (Actor) {
|
|
90
|
+
Actor["UNDEFINED_ACTOR"] = "UNDEFINED_ACTOR";
|
|
91
|
+
Actor["BUSINESS"] = "BUSINESS";
|
|
92
|
+
Actor["CUSTOMER"] = "CUSTOMER";
|
|
93
|
+
})(Actor || (exports.Actor = Actor = {}));
|
|
94
|
+
var IdentityType;
|
|
95
|
+
(function (IdentityType) {
|
|
96
|
+
IdentityType["UNKNOWN"] = "UNKNOWN";
|
|
97
|
+
IdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
98
|
+
IdentityType["MEMBER"] = "MEMBER";
|
|
99
|
+
IdentityType["WIX_USER"] = "WIX_USER";
|
|
100
|
+
IdentityType["APP"] = "APP";
|
|
101
|
+
})(IdentityType || (exports.IdentityType = IdentityType = {}));
|
|
102
|
+
var SortOrder;
|
|
103
|
+
(function (SortOrder) {
|
|
104
|
+
SortOrder["ASC"] = "ASC";
|
|
105
|
+
SortOrder["DESC"] = "DESC";
|
|
106
|
+
})(SortOrder || (exports.SortOrder = SortOrder = {}));
|
|
118
107
|
//# sourceMappingURL=bookings-reader-v2-extended-booking.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-reader-v2-extended-booking.types.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.types.ts"],"names":[],"mappings":";;;AAgBA,
|
|
1
|
+
{"version":3,"file":"bookings-reader-v2-extended-booking.types.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.types.ts"],"names":[],"mappings":";;;AAgBA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAkHD,IAAY,uBAcX;AAdD,WAAY,uBAAuB;IACjC;;;;OAIG;IACH,sEAA2C,CAAA;IAC3C;;;OAGG;IACH,kEAAuC,CAAA;IACvC,wBAAwB;IACxB,kEAAuC,CAAA;AACzC,CAAC,EAdW,uBAAuB,uCAAvB,uBAAuB,QAclC;AAgGD,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AA+HD,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,kDAAkD;IAClD,sCAAyB,CAAA;IACzB,gBAAgB;IAChB,oCAAuB,CAAA;IACvB,qGAAqG;IACrG,oCAAuB,CAAA;AACzB,CAAC,EAPW,SAAS,yBAAT,SAAS,QAOpB;AAED,sBAAsB;AACtB,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,oCAAmB,CAAA;IACnB,sCAAqB,CAAA;IACrB,8CAA6B,CAAA;AAC/B,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AAED;;;GAGG;AACH,IAAY,aASX;AATD,WAAY,aAAa;IACvB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,8BAAa,CAAA;IACb,yBAAyB;IACzB,kDAAiC,CAAA;IACjC,wBAAwB;IACxB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;AACnB,CAAC,EATW,aAAa,6BAAb,aAAa,QASxB;AAED;;;;;GAKG;AACH,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;IACjB,kDAAyB,CAAA;IACzB,oHAAoH;IACpH,kEAAyC,CAAA;AAC3C,CAAC,EAPW,qBAAqB,qCAArB,qBAAqB,QAOhC;AAiCD,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,qDAAyC,CAAA;IACzC,uBAAW,CAAA;IACX,qCAAyB,CAAA;AAC3B,CAAC,EAJW,QAAQ,wBAAR,QAAQ,QAInB;AAED,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4CAAmC,CAAA;IACnC,8BAAqB,CAAA;IACrB,8BAAqB,CAAA;AACvB,CAAC,EAJW,KAAK,qBAAL,KAAK,QAIhB;AAsCD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uDAAuC,CAAA;IACvC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;AACb,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AAuLD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
|
|
@@ -19,13 +19,11 @@ export interface ExtendedBooking {
|
|
|
19
19
|
*/
|
|
20
20
|
attendance?: Attendance;
|
|
21
21
|
}
|
|
22
|
-
declare enum
|
|
22
|
+
export declare enum AttendanceStatus {
|
|
23
23
|
NOT_SET = "NOT_SET",
|
|
24
24
|
ATTENDED = "ATTENDED",
|
|
25
25
|
NOT_ATTENDED = "NOT_ATTENDED"
|
|
26
26
|
}
|
|
27
|
-
declare type AttendanceStatus = `${AttendanceStatusEnum}`;
|
|
28
|
-
export { AttendanceStatusEnum as AttendanceStatus };
|
|
29
27
|
/** The booking object, version 2. */
|
|
30
28
|
export interface Booking extends BookingParticipantsInfoOneOf {
|
|
31
29
|
/** Total number of participants. Available only when the booking includes a single service variant. */
|
|
@@ -136,7 +134,7 @@ export interface BookingParticipantsInfoOneOf {
|
|
|
136
134
|
*/
|
|
137
135
|
participantsChoices?: ParticipantChoices;
|
|
138
136
|
}
|
|
139
|
-
declare enum
|
|
137
|
+
export declare enum MultiServiceBookingType {
|
|
140
138
|
/**
|
|
141
139
|
* Multi service booking will be considered available if its bookings are
|
|
142
140
|
* available as returned from ListMultiServiceAvailabilityTimeSlots API.
|
|
@@ -151,8 +149,6 @@ declare enum MultiServiceBookingTypeEnum {
|
|
|
151
149
|
/** Not supported yet */
|
|
152
150
|
PARALLEL_BOOKINGS = "PARALLEL_BOOKINGS"
|
|
153
151
|
}
|
|
154
|
-
declare type MultiServiceBookingType = `${MultiServiceBookingTypeEnum}`;
|
|
155
|
-
export { MultiServiceBookingTypeEnum as MultiServiceBookingType };
|
|
156
152
|
export interface BookedEntity extends BookedEntityItemOneOf {
|
|
157
153
|
/** The booked slot, once booked becomes a session, The booking is automatically assigned to the session if it already exists, or creates a session if one doesn't already exist. */
|
|
158
154
|
slot?: BookedSlot;
|
|
@@ -242,14 +238,12 @@ export interface Location {
|
|
|
242
238
|
*/
|
|
243
239
|
locationType?: LocationType;
|
|
244
240
|
}
|
|
245
|
-
declare enum
|
|
241
|
+
export declare enum LocationType {
|
|
246
242
|
UNDEFINED = "UNDEFINED",
|
|
247
243
|
OWNER_BUSINESS = "OWNER_BUSINESS",
|
|
248
244
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
249
245
|
CUSTOM = "CUSTOM"
|
|
250
246
|
}
|
|
251
|
-
declare type LocationType = `${LocationTypeEnum}`;
|
|
252
|
-
export { LocationTypeEnum as LocationType };
|
|
253
247
|
export interface BookedSchedule {
|
|
254
248
|
/** Schedule ID. */
|
|
255
249
|
scheduleId?: string;
|
|
@@ -367,7 +361,7 @@ export interface CustomFormField {
|
|
|
367
361
|
*/
|
|
368
362
|
valueType?: ValueType;
|
|
369
363
|
}
|
|
370
|
-
declare enum
|
|
364
|
+
export declare enum ValueType {
|
|
371
365
|
/** Short text. This is the default value type. */
|
|
372
366
|
SHORT_TEXT = "SHORT_TEXT",
|
|
373
367
|
/** Long text */
|
|
@@ -375,10 +369,8 @@ declare enum ValueTypeEnum {
|
|
|
375
369
|
/** a text that represent the check box value: if selected the value is "true", otherwise "false". */
|
|
376
370
|
CHECK_BOX = "CHECK_BOX"
|
|
377
371
|
}
|
|
378
|
-
declare type ValueType = `${ValueTypeEnum}`;
|
|
379
|
-
export { ValueTypeEnum as ValueType };
|
|
380
372
|
/** Booking status. */
|
|
381
|
-
declare enum
|
|
373
|
+
export declare enum BookingStatus {
|
|
382
374
|
CREATED = "CREATED",
|
|
383
375
|
CONFIRMED = "CONFIRMED",
|
|
384
376
|
CANCELED = "CANCELED",
|
|
@@ -386,14 +378,11 @@ declare enum BookingStatusEnum {
|
|
|
386
378
|
DECLINED = "DECLINED",
|
|
387
379
|
WAITING_LIST = "WAITING_LIST"
|
|
388
380
|
}
|
|
389
|
-
/** Booking status. */
|
|
390
|
-
declare type BookingStatus = `${BookingStatusEnum}`;
|
|
391
|
-
export { BookingStatusEnum as BookingStatus };
|
|
392
381
|
/**
|
|
393
382
|
* Payment status.
|
|
394
383
|
* Automatically updated when using eCom checkout APIs.
|
|
395
384
|
*/
|
|
396
|
-
declare enum
|
|
385
|
+
export declare enum PaymentStatus {
|
|
397
386
|
UNDEFINED = "UNDEFINED",
|
|
398
387
|
NOT_PAID = "NOT_PAID",
|
|
399
388
|
PAID = "PAID",
|
|
@@ -403,19 +392,13 @@ declare enum PaymentStatusEnum {
|
|
|
403
392
|
REFUNDED = "REFUNDED",
|
|
404
393
|
EXEMPT = "EXEMPT"
|
|
405
394
|
}
|
|
406
|
-
/**
|
|
407
|
-
* Payment status.
|
|
408
|
-
* Automatically updated when using eCom checkout APIs.
|
|
409
|
-
*/
|
|
410
|
-
declare type PaymentStatus = `${PaymentStatusEnum}`;
|
|
411
|
-
export { PaymentStatusEnum as PaymentStatus };
|
|
412
395
|
/**
|
|
413
396
|
* The selected payment option.
|
|
414
397
|
* One of the payment options offered by the service.
|
|
415
398
|
* This field is be set when the user selects an option during booking.
|
|
416
399
|
* If left undefined, the payment option is resolved by the service configuration on checkout.
|
|
417
400
|
*/
|
|
418
|
-
declare enum
|
|
401
|
+
export declare enum SelectedPaymentOption {
|
|
419
402
|
UNDEFINED = "UNDEFINED",
|
|
420
403
|
OFFLINE = "OFFLINE",
|
|
421
404
|
ONLINE = "ONLINE",
|
|
@@ -423,14 +406,6 @@ declare enum SelectedPaymentOptionEnum {
|
|
|
423
406
|
/** Payment can only be done using a membership and must be manually redeemed in the dashboard by the site owner. */
|
|
424
407
|
MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
|
|
425
408
|
}
|
|
426
|
-
/**
|
|
427
|
-
* The selected payment option.
|
|
428
|
-
* One of the payment options offered by the service.
|
|
429
|
-
* This field is be set when the user selects an option during booking.
|
|
430
|
-
* If left undefined, the payment option is resolved by the service configuration on checkout.
|
|
431
|
-
*/
|
|
432
|
-
declare type SelectedPaymentOption = `${SelectedPaymentOptionEnum}`;
|
|
433
|
-
export { SelectedPaymentOptionEnum as SelectedPaymentOption };
|
|
434
409
|
export interface BookingSource {
|
|
435
410
|
/**
|
|
436
411
|
* Platform from which a booking was created
|
|
@@ -461,20 +436,16 @@ export interface BookingSource {
|
|
|
461
436
|
*/
|
|
462
437
|
appName?: string | null;
|
|
463
438
|
}
|
|
464
|
-
declare enum
|
|
439
|
+
export declare enum Platform {
|
|
465
440
|
UNDEFINED_PLATFORM = "UNDEFINED_PLATFORM",
|
|
466
441
|
WEB = "WEB",
|
|
467
442
|
MOBILE_APP = "MOBILE_APP"
|
|
468
443
|
}
|
|
469
|
-
declare
|
|
470
|
-
export { PlatformEnum as Platform };
|
|
471
|
-
declare enum ActorEnum {
|
|
444
|
+
export declare enum Actor {
|
|
472
445
|
UNDEFINED_ACTOR = "UNDEFINED_ACTOR",
|
|
473
446
|
BUSINESS = "BUSINESS",
|
|
474
447
|
CUSTOMER = "CUSTOMER"
|
|
475
448
|
}
|
|
476
|
-
declare type Actor = `${ActorEnum}`;
|
|
477
|
-
export { ActorEnum as Actor };
|
|
478
449
|
export interface ParticipantNotification {
|
|
479
450
|
/**
|
|
480
451
|
* Whether to send the message about the changes to the customer.
|
|
@@ -508,14 +479,13 @@ export interface IdentificationDataIdOneOf {
|
|
|
508
479
|
/** ID of an app. */
|
|
509
480
|
appId?: string;
|
|
510
481
|
}
|
|
511
|
-
declare enum
|
|
482
|
+
export declare enum IdentityType {
|
|
512
483
|
UNKNOWN = "UNKNOWN",
|
|
513
484
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
514
485
|
MEMBER = "MEMBER",
|
|
515
486
|
WIX_USER = "WIX_USER",
|
|
516
487
|
APP = "APP"
|
|
517
488
|
}
|
|
518
|
-
export { IdentityTypeEnum as IdentityType };
|
|
519
489
|
export interface FlowControlSettings {
|
|
520
490
|
/**
|
|
521
491
|
* When true, skips availability checking and allows booking.
|
|
@@ -678,12 +648,10 @@ export interface Sorting {
|
|
|
678
648
|
/** Sort order. */
|
|
679
649
|
order?: SortOrder;
|
|
680
650
|
}
|
|
681
|
-
declare enum
|
|
651
|
+
export declare enum SortOrder {
|
|
682
652
|
ASC = "ASC",
|
|
683
653
|
DESC = "DESC"
|
|
684
654
|
}
|
|
685
|
-
declare type SortOrder = `${SortOrderEnum}`;
|
|
686
|
-
export { SortOrderEnum as SortOrder };
|
|
687
655
|
export interface Paging {
|
|
688
656
|
/** Number of items to load. */
|
|
689
657
|
limit?: number | null;
|