@wix/bookings 1.0.293 → 1.0.295
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 +6 -2
- package/build/cjs/src/bookings-availability-v1-slot-availability.types.js +12 -12
- 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 +6 -2
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js +17 -13
- 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 +39 -12
- package/build/cjs/src/bookings-calendar-v1-session.types.js +88 -88
- package/build/cjs/src/bookings-calendar-v1-session.types.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.universal.d.ts +40 -14
- package/build/cjs/src/bookings-calendar-v1-session.universal.js +93 -89
- 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 +60 -19
- package/build/cjs/src/bookings-calendar-v2-external-calendar.types.js +141 -141
- 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 +59 -19
- package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js +146 -142
- 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 +42 -13
- package/build/cjs/src/bookings-calendar-v2-session-view.types.js +98 -98
- 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 +42 -13
- package/build/cjs/src/bookings-calendar-v2-session-view.universal.js +103 -99
- 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 +67 -21
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.js +148 -148
- 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 +67 -22
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js +153 -149
- 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 +44 -11
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.js +76 -76
- 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 +43 -11
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js +81 -77
- 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 +83 -27
- package/build/cjs/src/bookings-services-v2-service.types.js +190 -190
- package/build/cjs/src/bookings-services-v2-service.types.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.universal.d.ts +83 -28
- package/build/cjs/src/bookings-services-v2-service.universal.js +195 -191
- 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 +11 -2
- package/build/cjs/src/bookings-v2-attendance.types.js +11 -11
- package/build/cjs/src/bookings-v2-attendance.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.universal.d.ts +11 -3
- package/build/cjs/src/bookings-v2-attendance.universal.js +16 -12
- 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 +46 -12
- package/build/cjs/src/bookings-v2-booking.types.js +85 -85
- package/build/cjs/src/bookings-v2-booking.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.universal.d.ts +45 -12
- package/build/cjs/src/bookings-v2-booking.universal.js +90 -86
- 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 +37 -9
- package/build/cjs/src/bookings-v2-price-info.types.js +65 -65
- package/build/cjs/src/bookings-v2-price-info.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.universal.d.ts +37 -9
- package/build/cjs/src/bookings-v2-price-info.universal.js +70 -66
- 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 +6 -2
- package/build/es/src/bookings-availability-v1-slot-availability.types.js +14 -12
- 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 +6 -2
- package/build/es/src/bookings-availability-v1-slot-availability.universal.js +14 -12
- 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 +39 -12
- package/build/es/src/bookings-calendar-v1-session.types.js +100 -88
- package/build/es/src/bookings-calendar-v1-session.types.js.map +1 -1
- package/build/es/src/bookings-calendar-v1-session.universal.d.ts +40 -14
- package/build/es/src/bookings-calendar-v1-session.universal.js +100 -88
- 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 +60 -19
- package/build/es/src/bookings-calendar-v2-external-calendar.types.js +160 -141
- 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 +59 -19
- package/build/es/src/bookings-calendar-v2-external-calendar.universal.js +160 -141
- 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 +42 -13
- package/build/es/src/bookings-calendar-v2-session-view.types.js +111 -98
- 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 +42 -13
- package/build/es/src/bookings-calendar-v2-session-view.universal.js +111 -98
- 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 +67 -21
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.js +169 -148
- 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 +67 -22
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js +169 -148
- 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 +44 -11
- package/build/es/src/bookings-reader-v2-extended-booking.types.js +87 -76
- 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 +43 -11
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js +87 -76
- 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 +83 -27
- package/build/es/src/bookings-services-v2-service.types.js +217 -190
- package/build/es/src/bookings-services-v2-service.types.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.universal.d.ts +83 -28
- package/build/es/src/bookings-services-v2-service.universal.js +217 -190
- 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 +11 -2
- package/build/es/src/bookings-v2-attendance.types.js +13 -11
- package/build/es/src/bookings-v2-attendance.types.js.map +1 -1
- package/build/es/src/bookings-v2-attendance.universal.d.ts +11 -3
- package/build/es/src/bookings-v2-attendance.universal.js +13 -11
- 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 +46 -12
- package/build/es/src/bookings-v2-booking.types.js +97 -85
- package/build/es/src/bookings-v2-booking.types.js.map +1 -1
- package/build/es/src/bookings-v2-booking.universal.d.ts +45 -12
- package/build/es/src/bookings-v2-booking.universal.js +97 -85
- 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 +37 -9
- package/build/es/src/bookings-v2-price-info.types.js +74 -65
- package/build/es/src/bookings-v2-price-info.types.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.universal.d.ts +37 -9
- package/build/es/src/bookings-v2-price-info.universal.js +74 -65
- package/build/es/src/bookings-v2-price-info.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,113 +1,125 @@
|
|
|
1
|
-
|
|
2
|
-
(function (
|
|
1
|
+
var MultiServiceBookingTypeEnum;
|
|
2
|
+
(function (MultiServiceBookingTypeEnum) {
|
|
3
3
|
/**
|
|
4
4
|
* Multi service booking will be considered available if its bookings are
|
|
5
5
|
* available as returned from ListMultiServiceAvailabilityTimeSlots API.
|
|
6
6
|
* See [List Multi Service Availability Time Slots] (url) documentation // todo: complete url
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
MultiServiceBookingTypeEnum["SEQUENTIAL_BOOKINGS"] = "SEQUENTIAL_BOOKINGS";
|
|
9
9
|
/**
|
|
10
10
|
* Multi service booking will be considered available if each of its bookings is available separately.
|
|
11
11
|
* Not supported yet
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
MultiServiceBookingTypeEnum["SEPARATE_BOOKINGS"] = "SEPARATE_BOOKINGS";
|
|
14
14
|
/** Not supported yet */
|
|
15
|
-
|
|
16
|
-
})(
|
|
17
|
-
export
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
15
|
+
MultiServiceBookingTypeEnum["PARALLEL_BOOKINGS"] = "PARALLEL_BOOKINGS";
|
|
16
|
+
})(MultiServiceBookingTypeEnum || (MultiServiceBookingTypeEnum = {}));
|
|
17
|
+
export { MultiServiceBookingTypeEnum as MultiServiceBookingType };
|
|
18
|
+
var LocationTypeEnum;
|
|
19
|
+
(function (LocationTypeEnum) {
|
|
20
|
+
LocationTypeEnum["UNDEFINED"] = "UNDEFINED";
|
|
21
|
+
LocationTypeEnum["OWNER_BUSINESS"] = "OWNER_BUSINESS";
|
|
22
|
+
LocationTypeEnum["OWNER_CUSTOM"] = "OWNER_CUSTOM";
|
|
23
|
+
LocationTypeEnum["CUSTOM"] = "CUSTOM";
|
|
24
|
+
})(LocationTypeEnum || (LocationTypeEnum = {}));
|
|
25
|
+
export { LocationTypeEnum as LocationType };
|
|
26
|
+
var ValueTypeEnum;
|
|
27
|
+
(function (ValueTypeEnum) {
|
|
26
28
|
/** Short text. This is the default value type. */
|
|
27
|
-
|
|
29
|
+
ValueTypeEnum["SHORT_TEXT"] = "SHORT_TEXT";
|
|
28
30
|
/** Long text */
|
|
29
|
-
|
|
31
|
+
ValueTypeEnum["LONG_TEXT"] = "LONG_TEXT";
|
|
30
32
|
/** a text that represent the check box value: if selected the value is "true", otherwise "false". */
|
|
31
|
-
|
|
32
|
-
})(
|
|
33
|
+
ValueTypeEnum["CHECK_BOX"] = "CHECK_BOX";
|
|
34
|
+
})(ValueTypeEnum || (ValueTypeEnum = {}));
|
|
35
|
+
export { ValueTypeEnum as ValueType };
|
|
33
36
|
/** Booking status. */
|
|
34
|
-
|
|
35
|
-
(function (
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
})(
|
|
37
|
+
var BookingStatusEnum;
|
|
38
|
+
(function (BookingStatusEnum) {
|
|
39
|
+
BookingStatusEnum["CREATED"] = "CREATED";
|
|
40
|
+
BookingStatusEnum["CONFIRMED"] = "CONFIRMED";
|
|
41
|
+
BookingStatusEnum["CANCELED"] = "CANCELED";
|
|
42
|
+
BookingStatusEnum["PENDING"] = "PENDING";
|
|
43
|
+
BookingStatusEnum["DECLINED"] = "DECLINED";
|
|
44
|
+
BookingStatusEnum["WAITING_LIST"] = "WAITING_LIST";
|
|
45
|
+
})(BookingStatusEnum || (BookingStatusEnum = {}));
|
|
46
|
+
export { BookingStatusEnum as BookingStatus };
|
|
43
47
|
/**
|
|
44
48
|
* Payment status.
|
|
45
49
|
* Automatically updated when using eCom checkout APIs.
|
|
46
50
|
*/
|
|
47
|
-
|
|
48
|
-
(function (
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
51
|
+
var PaymentStatusEnum;
|
|
52
|
+
(function (PaymentStatusEnum) {
|
|
53
|
+
PaymentStatusEnum["UNDEFINED"] = "UNDEFINED";
|
|
54
|
+
PaymentStatusEnum["NOT_PAID"] = "NOT_PAID";
|
|
55
|
+
PaymentStatusEnum["PAID"] = "PAID";
|
|
52
56
|
/** not supported yet. */
|
|
53
|
-
|
|
57
|
+
PaymentStatusEnum["PARTIALLY_PAID"] = "PARTIALLY_PAID";
|
|
54
58
|
/** not supported yet */
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
})(
|
|
59
|
+
PaymentStatusEnum["REFUNDED"] = "REFUNDED";
|
|
60
|
+
PaymentStatusEnum["EXEMPT"] = "EXEMPT";
|
|
61
|
+
})(PaymentStatusEnum || (PaymentStatusEnum = {}));
|
|
62
|
+
export { PaymentStatusEnum as PaymentStatus };
|
|
58
63
|
/**
|
|
59
64
|
* The selected payment option.
|
|
60
65
|
* One of the payment options offered by the service.
|
|
61
66
|
* This field is be set when the user selects an option during booking.
|
|
62
67
|
* If left undefined, the payment option is resolved by the service configuration on checkout.
|
|
63
68
|
*/
|
|
64
|
-
|
|
65
|
-
(function (
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
var SelectedPaymentOptionEnum;
|
|
70
|
+
(function (SelectedPaymentOptionEnum) {
|
|
71
|
+
SelectedPaymentOptionEnum["UNDEFINED"] = "UNDEFINED";
|
|
72
|
+
SelectedPaymentOptionEnum["OFFLINE"] = "OFFLINE";
|
|
73
|
+
SelectedPaymentOptionEnum["ONLINE"] = "ONLINE";
|
|
74
|
+
SelectedPaymentOptionEnum["MEMBERSHIP"] = "MEMBERSHIP";
|
|
70
75
|
/** Payment can only be done using a membership and must be manually redeemed in the dashboard by the site owner. */
|
|
71
|
-
|
|
72
|
-
})(
|
|
73
|
-
export
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
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
|
-
})(
|
|
76
|
+
SelectedPaymentOptionEnum["MEMBERSHIP_OFFLINE"] = "MEMBERSHIP_OFFLINE";
|
|
77
|
+
})(SelectedPaymentOptionEnum || (SelectedPaymentOptionEnum = {}));
|
|
78
|
+
export { SelectedPaymentOptionEnum as SelectedPaymentOption };
|
|
79
|
+
var PlatformEnum;
|
|
80
|
+
(function (PlatformEnum) {
|
|
81
|
+
PlatformEnum["UNDEFINED_PLATFORM"] = "UNDEFINED_PLATFORM";
|
|
82
|
+
PlatformEnum["WEB"] = "WEB";
|
|
83
|
+
PlatformEnum["MOBILE_APP"] = "MOBILE_APP";
|
|
84
|
+
})(PlatformEnum || (PlatformEnum = {}));
|
|
85
|
+
export { PlatformEnum as Platform };
|
|
86
|
+
var ActorEnum;
|
|
87
|
+
(function (ActorEnum) {
|
|
88
|
+
ActorEnum["UNDEFINED_ACTOR"] = "UNDEFINED_ACTOR";
|
|
89
|
+
ActorEnum["BUSINESS"] = "BUSINESS";
|
|
90
|
+
ActorEnum["CUSTOMER"] = "CUSTOMER";
|
|
91
|
+
})(ActorEnum || (ActorEnum = {}));
|
|
92
|
+
export { ActorEnum as Actor };
|
|
93
|
+
var IdentificationDataIdentityTypeEnum;
|
|
94
|
+
(function (IdentificationDataIdentityTypeEnum) {
|
|
95
|
+
IdentificationDataIdentityTypeEnum["UNKNOWN"] = "UNKNOWN";
|
|
96
|
+
IdentificationDataIdentityTypeEnum["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
97
|
+
IdentificationDataIdentityTypeEnum["MEMBER"] = "MEMBER";
|
|
98
|
+
IdentificationDataIdentityTypeEnum["WIX_USER"] = "WIX_USER";
|
|
99
|
+
IdentificationDataIdentityTypeEnum["APP"] = "APP";
|
|
100
|
+
})(IdentificationDataIdentityTypeEnum || (IdentificationDataIdentityTypeEnum = {}));
|
|
101
|
+
export { IdentificationDataIdentityTypeEnum as IdentificationDataIdentityType };
|
|
102
|
+
var LocationLocationTypeEnum;
|
|
103
|
+
(function (LocationLocationTypeEnum) {
|
|
104
|
+
LocationLocationTypeEnum["UNDEFINED"] = "UNDEFINED";
|
|
105
|
+
LocationLocationTypeEnum["OWNER_BUSINESS"] = "OWNER_BUSINESS";
|
|
106
|
+
LocationLocationTypeEnum["OWNER_CUSTOM"] = "OWNER_CUSTOM";
|
|
107
|
+
LocationLocationTypeEnum["CUSTOM"] = "CUSTOM";
|
|
108
|
+
})(LocationLocationTypeEnum || (LocationLocationTypeEnum = {}));
|
|
109
|
+
export { LocationLocationTypeEnum as LocationLocationType };
|
|
110
|
+
var IdentityTypeEnum;
|
|
111
|
+
(function (IdentityTypeEnum) {
|
|
112
|
+
IdentityTypeEnum["UNKNOWN"] = "UNKNOWN";
|
|
113
|
+
IdentityTypeEnum["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
114
|
+
IdentityTypeEnum["MEMBER"] = "MEMBER";
|
|
115
|
+
IdentityTypeEnum["WIX_USER"] = "WIX_USER";
|
|
116
|
+
IdentityTypeEnum["APP"] = "APP";
|
|
117
|
+
})(IdentityTypeEnum || (IdentityTypeEnum = {}));
|
|
118
|
+
export { IdentityTypeEnum as IdentityType };
|
|
119
|
+
var SortOrderEnum;
|
|
120
|
+
(function (SortOrderEnum) {
|
|
121
|
+
SortOrderEnum["ASC"] = "ASC";
|
|
122
|
+
SortOrderEnum["DESC"] = "DESC";
|
|
123
|
+
})(SortOrderEnum || (SortOrderEnum = {}));
|
|
124
|
+
export { SortOrderEnum as SortOrder };
|
|
113
125
|
//# sourceMappingURL=bookings-v2-booking.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-booking.types.js","sourceRoot":"","sources":["../../../src/bookings-v2-booking.types.ts"],"names":[],"mappings":"AAgHA,
|
|
1
|
+
{"version":3,"file":"bookings-v2-booking.types.js","sourceRoot":"","sources":["../../../src/bookings-v2-booking.types.ts"],"names":[],"mappings":"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"}
|
|
@@ -112,7 +112,7 @@ export interface BookingParticipantsInfoOneOf {
|
|
|
112
112
|
*/
|
|
113
113
|
participantsChoices?: ParticipantChoices;
|
|
114
114
|
}
|
|
115
|
-
|
|
115
|
+
declare enum MultiServiceBookingTypeEnum {
|
|
116
116
|
/**
|
|
117
117
|
* Multi service booking will be considered available if its bookings are
|
|
118
118
|
* available as returned from ListMultiServiceAvailabilityTimeSlots API.
|
|
@@ -127,6 +127,8 @@ export declare enum MultiServiceBookingType {
|
|
|
127
127
|
/** Not supported yet */
|
|
128
128
|
PARALLEL_BOOKINGS = "PARALLEL_BOOKINGS"
|
|
129
129
|
}
|
|
130
|
+
type MultiServiceBookingType = `${MultiServiceBookingTypeEnum}`;
|
|
131
|
+
export { MultiServiceBookingTypeEnum as MultiServiceBookingType };
|
|
130
132
|
export interface BookedEntity extends BookedEntityItemOneOf {
|
|
131
133
|
/** 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. */
|
|
132
134
|
slot?: BookedSlot;
|
|
@@ -216,12 +218,14 @@ export interface Location {
|
|
|
216
218
|
*/
|
|
217
219
|
locationType?: LocationType;
|
|
218
220
|
}
|
|
219
|
-
|
|
221
|
+
declare enum LocationTypeEnum {
|
|
220
222
|
UNDEFINED = "UNDEFINED",
|
|
221
223
|
OWNER_BUSINESS = "OWNER_BUSINESS",
|
|
222
224
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
223
225
|
CUSTOM = "CUSTOM"
|
|
224
226
|
}
|
|
227
|
+
type LocationType = `${LocationTypeEnum}`;
|
|
228
|
+
export { LocationTypeEnum as LocationType };
|
|
225
229
|
export interface BookedSchedule {
|
|
226
230
|
/** Schedule ID. */
|
|
227
231
|
scheduleId?: string;
|
|
@@ -337,7 +341,7 @@ export interface CustomFormField {
|
|
|
337
341
|
*/
|
|
338
342
|
valueType?: ValueType;
|
|
339
343
|
}
|
|
340
|
-
|
|
344
|
+
declare enum ValueTypeEnum {
|
|
341
345
|
/** Short text. This is the default value type. */
|
|
342
346
|
SHORT_TEXT = "SHORT_TEXT",
|
|
343
347
|
/** Long text */
|
|
@@ -345,8 +349,10 @@ export declare enum ValueType {
|
|
|
345
349
|
/** a text that represent the check box value: if selected the value is "true", otherwise "false". */
|
|
346
350
|
CHECK_BOX = "CHECK_BOX"
|
|
347
351
|
}
|
|
352
|
+
type ValueType = `${ValueTypeEnum}`;
|
|
353
|
+
export { ValueTypeEnum as ValueType };
|
|
348
354
|
/** Booking status. */
|
|
349
|
-
|
|
355
|
+
declare enum BookingStatusEnum {
|
|
350
356
|
CREATED = "CREATED",
|
|
351
357
|
CONFIRMED = "CONFIRMED",
|
|
352
358
|
CANCELED = "CANCELED",
|
|
@@ -354,11 +360,14 @@ export declare enum BookingStatus {
|
|
|
354
360
|
DECLINED = "DECLINED",
|
|
355
361
|
WAITING_LIST = "WAITING_LIST"
|
|
356
362
|
}
|
|
363
|
+
/** Booking status. */
|
|
364
|
+
type BookingStatus = `${BookingStatusEnum}`;
|
|
365
|
+
export { BookingStatusEnum as BookingStatus };
|
|
357
366
|
/**
|
|
358
367
|
* Payment status.
|
|
359
368
|
* Automatically updated when using eCom checkout APIs.
|
|
360
369
|
*/
|
|
361
|
-
|
|
370
|
+
declare enum PaymentStatusEnum {
|
|
362
371
|
UNDEFINED = "UNDEFINED",
|
|
363
372
|
NOT_PAID = "NOT_PAID",
|
|
364
373
|
PAID = "PAID",
|
|
@@ -368,13 +377,19 @@ export declare enum PaymentStatus {
|
|
|
368
377
|
REFUNDED = "REFUNDED",
|
|
369
378
|
EXEMPT = "EXEMPT"
|
|
370
379
|
}
|
|
380
|
+
/**
|
|
381
|
+
* Payment status.
|
|
382
|
+
* Automatically updated when using eCom checkout APIs.
|
|
383
|
+
*/
|
|
384
|
+
type PaymentStatus = `${PaymentStatusEnum}`;
|
|
385
|
+
export { PaymentStatusEnum as PaymentStatus };
|
|
371
386
|
/**
|
|
372
387
|
* The selected payment option.
|
|
373
388
|
* One of the payment options offered by the service.
|
|
374
389
|
* This field is be set when the user selects an option during booking.
|
|
375
390
|
* If left undefined, the payment option is resolved by the service configuration on checkout.
|
|
376
391
|
*/
|
|
377
|
-
|
|
392
|
+
declare enum SelectedPaymentOptionEnum {
|
|
378
393
|
UNDEFINED = "UNDEFINED",
|
|
379
394
|
OFFLINE = "OFFLINE",
|
|
380
395
|
ONLINE = "ONLINE",
|
|
@@ -382,6 +397,14 @@ export declare enum SelectedPaymentOption {
|
|
|
382
397
|
/** Payment can only be done using a membership and must be manually redeemed in the dashboard by the site owner. */
|
|
383
398
|
MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
|
|
384
399
|
}
|
|
400
|
+
/**
|
|
401
|
+
* The selected payment option.
|
|
402
|
+
* One of the payment options offered by the service.
|
|
403
|
+
* This field is be set when the user selects an option during booking.
|
|
404
|
+
* If left undefined, the payment option is resolved by the service configuration on checkout.
|
|
405
|
+
*/
|
|
406
|
+
type SelectedPaymentOption = `${SelectedPaymentOptionEnum}`;
|
|
407
|
+
export { SelectedPaymentOptionEnum as SelectedPaymentOption };
|
|
385
408
|
export interface BookingSource {
|
|
386
409
|
/**
|
|
387
410
|
* Platform from which a booking was created
|
|
@@ -412,16 +435,20 @@ export interface BookingSource {
|
|
|
412
435
|
*/
|
|
413
436
|
appName?: string | null;
|
|
414
437
|
}
|
|
415
|
-
|
|
438
|
+
declare enum PlatformEnum {
|
|
416
439
|
UNDEFINED_PLATFORM = "UNDEFINED_PLATFORM",
|
|
417
440
|
WEB = "WEB",
|
|
418
441
|
MOBILE_APP = "MOBILE_APP"
|
|
419
442
|
}
|
|
420
|
-
|
|
443
|
+
type Platform = `${PlatformEnum}`;
|
|
444
|
+
export { PlatformEnum as Platform };
|
|
445
|
+
declare enum ActorEnum {
|
|
421
446
|
UNDEFINED_ACTOR = "UNDEFINED_ACTOR",
|
|
422
447
|
BUSINESS = "BUSINESS",
|
|
423
448
|
CUSTOMER = "CUSTOMER"
|
|
424
449
|
}
|
|
450
|
+
type Actor = `${ActorEnum}`;
|
|
451
|
+
export { ActorEnum as Actor };
|
|
425
452
|
export interface ParticipantNotification {
|
|
426
453
|
/**
|
|
427
454
|
* Whether to send the message about the changes to the customer.
|
|
@@ -455,13 +482,14 @@ export interface CommonIdentificationDataIdOneOf {
|
|
|
455
482
|
/** ID of an app. */
|
|
456
483
|
appId?: string;
|
|
457
484
|
}
|
|
458
|
-
|
|
485
|
+
declare enum IdentificationDataIdentityTypeEnum {
|
|
459
486
|
UNKNOWN = "UNKNOWN",
|
|
460
487
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
461
488
|
MEMBER = "MEMBER",
|
|
462
489
|
WIX_USER = "WIX_USER",
|
|
463
490
|
APP = "APP"
|
|
464
491
|
}
|
|
492
|
+
export { IdentificationDataIdentityTypeEnum as IdentificationDataIdentityType };
|
|
465
493
|
export interface FlowControlSettings {
|
|
466
494
|
/**
|
|
467
495
|
* When true, skips availability checking and allows booking.
|
|
@@ -648,12 +676,14 @@ export interface V2Slot {
|
|
|
648
676
|
/** Geographic location of the slot. */
|
|
649
677
|
location?: SlotLocation;
|
|
650
678
|
}
|
|
651
|
-
|
|
679
|
+
declare enum LocationLocationTypeEnum {
|
|
652
680
|
UNDEFINED = "UNDEFINED",
|
|
653
681
|
OWNER_BUSINESS = "OWNER_BUSINESS",
|
|
654
682
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
655
683
|
CUSTOM = "CUSTOM"
|
|
656
684
|
}
|
|
685
|
+
type LocationLocationType = `${LocationLocationTypeEnum}`;
|
|
686
|
+
export { LocationLocationTypeEnum as LocationLocationType };
|
|
657
687
|
export interface SlotSlotResource {
|
|
658
688
|
/**
|
|
659
689
|
* Resource ID
|
|
@@ -814,13 +844,14 @@ export interface IdentificationDataIdOneOf {
|
|
|
814
844
|
/** ID of an app. */
|
|
815
845
|
appId?: string;
|
|
816
846
|
}
|
|
817
|
-
|
|
847
|
+
declare enum IdentityTypeEnum {
|
|
818
848
|
UNKNOWN = "UNKNOWN",
|
|
819
849
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
820
850
|
MEMBER = "MEMBER",
|
|
821
851
|
WIX_USER = "WIX_USER",
|
|
822
852
|
APP = "APP"
|
|
823
853
|
}
|
|
854
|
+
export { IdentityTypeEnum as IdentityType };
|
|
824
855
|
export interface GetMultiServiceBookingAvailabilityRequest {
|
|
825
856
|
multiServiceBookingId?: string | null;
|
|
826
857
|
}
|
|
@@ -1414,10 +1445,12 @@ export interface Sorting {
|
|
|
1414
1445
|
/** Sort order. */
|
|
1415
1446
|
order?: SortOrder;
|
|
1416
1447
|
}
|
|
1417
|
-
|
|
1448
|
+
declare enum SortOrderEnum {
|
|
1418
1449
|
ASC = "ASC",
|
|
1419
1450
|
DESC = "DESC"
|
|
1420
1451
|
}
|
|
1452
|
+
type SortOrder = `${SortOrderEnum}`;
|
|
1453
|
+
export { SortOrderEnum as SortOrder };
|
|
1421
1454
|
export interface Paging {
|
|
1422
1455
|
/** Number of items to load. */
|
|
1423
1456
|
limit?: number | null;
|
|
@@ -24,118 +24,130 @@ export const __debug = {
|
|
|
24
24
|
};
|
|
25
25
|
const _toVeloEntity = '$';
|
|
26
26
|
const _fromVeloEntity = '$';
|
|
27
|
-
|
|
28
|
-
(function (
|
|
27
|
+
var MultiServiceBookingTypeEnum;
|
|
28
|
+
(function (MultiServiceBookingTypeEnum) {
|
|
29
29
|
/**
|
|
30
30
|
* Multi service booking will be considered available if its bookings are
|
|
31
31
|
* available as returned from ListMultiServiceAvailabilityTimeSlots API.
|
|
32
32
|
* See [List Multi Service Availability Time Slots] (url) documentation // todo: complete url
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
MultiServiceBookingTypeEnum["SEQUENTIAL_BOOKINGS"] = "SEQUENTIAL_BOOKINGS";
|
|
35
35
|
/**
|
|
36
36
|
* Multi service booking will be considered available if each of its bookings is available separately.
|
|
37
37
|
* Not supported yet
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
MultiServiceBookingTypeEnum["SEPARATE_BOOKINGS"] = "SEPARATE_BOOKINGS";
|
|
40
40
|
/** Not supported yet */
|
|
41
|
-
|
|
42
|
-
})(
|
|
43
|
-
export
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
41
|
+
MultiServiceBookingTypeEnum["PARALLEL_BOOKINGS"] = "PARALLEL_BOOKINGS";
|
|
42
|
+
})(MultiServiceBookingTypeEnum || (MultiServiceBookingTypeEnum = {}));
|
|
43
|
+
export { MultiServiceBookingTypeEnum as MultiServiceBookingType };
|
|
44
|
+
var LocationTypeEnum;
|
|
45
|
+
(function (LocationTypeEnum) {
|
|
46
|
+
LocationTypeEnum["UNDEFINED"] = "UNDEFINED";
|
|
47
|
+
LocationTypeEnum["OWNER_BUSINESS"] = "OWNER_BUSINESS";
|
|
48
|
+
LocationTypeEnum["OWNER_CUSTOM"] = "OWNER_CUSTOM";
|
|
49
|
+
LocationTypeEnum["CUSTOM"] = "CUSTOM";
|
|
50
|
+
})(LocationTypeEnum || (LocationTypeEnum = {}));
|
|
51
|
+
export { LocationTypeEnum as LocationType };
|
|
52
|
+
var ValueTypeEnum;
|
|
53
|
+
(function (ValueTypeEnum) {
|
|
52
54
|
/** Short text. This is the default value type. */
|
|
53
|
-
|
|
55
|
+
ValueTypeEnum["SHORT_TEXT"] = "SHORT_TEXT";
|
|
54
56
|
/** Long text */
|
|
55
|
-
|
|
57
|
+
ValueTypeEnum["LONG_TEXT"] = "LONG_TEXT";
|
|
56
58
|
/** a text that represent the check box value: if selected the value is "true", otherwise "false". */
|
|
57
|
-
|
|
58
|
-
})(
|
|
59
|
+
ValueTypeEnum["CHECK_BOX"] = "CHECK_BOX";
|
|
60
|
+
})(ValueTypeEnum || (ValueTypeEnum = {}));
|
|
61
|
+
export { ValueTypeEnum as ValueType };
|
|
59
62
|
/** Booking status. */
|
|
60
|
-
|
|
61
|
-
(function (
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
})(
|
|
63
|
+
var BookingStatusEnum;
|
|
64
|
+
(function (BookingStatusEnum) {
|
|
65
|
+
BookingStatusEnum["CREATED"] = "CREATED";
|
|
66
|
+
BookingStatusEnum["CONFIRMED"] = "CONFIRMED";
|
|
67
|
+
BookingStatusEnum["CANCELED"] = "CANCELED";
|
|
68
|
+
BookingStatusEnum["PENDING"] = "PENDING";
|
|
69
|
+
BookingStatusEnum["DECLINED"] = "DECLINED";
|
|
70
|
+
BookingStatusEnum["WAITING_LIST"] = "WAITING_LIST";
|
|
71
|
+
})(BookingStatusEnum || (BookingStatusEnum = {}));
|
|
72
|
+
export { BookingStatusEnum as BookingStatus };
|
|
69
73
|
/**
|
|
70
74
|
* Payment status.
|
|
71
75
|
* Automatically updated when using eCom checkout APIs.
|
|
72
76
|
*/
|
|
73
|
-
|
|
74
|
-
(function (
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
var PaymentStatusEnum;
|
|
78
|
+
(function (PaymentStatusEnum) {
|
|
79
|
+
PaymentStatusEnum["UNDEFINED"] = "UNDEFINED";
|
|
80
|
+
PaymentStatusEnum["NOT_PAID"] = "NOT_PAID";
|
|
81
|
+
PaymentStatusEnum["PAID"] = "PAID";
|
|
78
82
|
/** not supported yet. */
|
|
79
|
-
|
|
83
|
+
PaymentStatusEnum["PARTIALLY_PAID"] = "PARTIALLY_PAID";
|
|
80
84
|
/** not supported yet */
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
})(
|
|
85
|
+
PaymentStatusEnum["REFUNDED"] = "REFUNDED";
|
|
86
|
+
PaymentStatusEnum["EXEMPT"] = "EXEMPT";
|
|
87
|
+
})(PaymentStatusEnum || (PaymentStatusEnum = {}));
|
|
88
|
+
export { PaymentStatusEnum as PaymentStatus };
|
|
84
89
|
/**
|
|
85
90
|
* The selected payment option.
|
|
86
91
|
* One of the payment options offered by the service.
|
|
87
92
|
* This field is be set when the user selects an option during booking.
|
|
88
93
|
* If left undefined, the payment option is resolved by the service configuration on checkout.
|
|
89
94
|
*/
|
|
90
|
-
|
|
91
|
-
(function (
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
95
|
+
var SelectedPaymentOptionEnum;
|
|
96
|
+
(function (SelectedPaymentOptionEnum) {
|
|
97
|
+
SelectedPaymentOptionEnum["UNDEFINED"] = "UNDEFINED";
|
|
98
|
+
SelectedPaymentOptionEnum["OFFLINE"] = "OFFLINE";
|
|
99
|
+
SelectedPaymentOptionEnum["ONLINE"] = "ONLINE";
|
|
100
|
+
SelectedPaymentOptionEnum["MEMBERSHIP"] = "MEMBERSHIP";
|
|
96
101
|
/** Payment can only be done using a membership and must be manually redeemed in the dashboard by the site owner. */
|
|
97
|
-
|
|
98
|
-
})(
|
|
99
|
-
export
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
(
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
})(
|
|
102
|
+
SelectedPaymentOptionEnum["MEMBERSHIP_OFFLINE"] = "MEMBERSHIP_OFFLINE";
|
|
103
|
+
})(SelectedPaymentOptionEnum || (SelectedPaymentOptionEnum = {}));
|
|
104
|
+
export { SelectedPaymentOptionEnum as SelectedPaymentOption };
|
|
105
|
+
var PlatformEnum;
|
|
106
|
+
(function (PlatformEnum) {
|
|
107
|
+
PlatformEnum["UNDEFINED_PLATFORM"] = "UNDEFINED_PLATFORM";
|
|
108
|
+
PlatformEnum["WEB"] = "WEB";
|
|
109
|
+
PlatformEnum["MOBILE_APP"] = "MOBILE_APP";
|
|
110
|
+
})(PlatformEnum || (PlatformEnum = {}));
|
|
111
|
+
export { PlatformEnum as Platform };
|
|
112
|
+
var ActorEnum;
|
|
113
|
+
(function (ActorEnum) {
|
|
114
|
+
ActorEnum["UNDEFINED_ACTOR"] = "UNDEFINED_ACTOR";
|
|
115
|
+
ActorEnum["BUSINESS"] = "BUSINESS";
|
|
116
|
+
ActorEnum["CUSTOMER"] = "CUSTOMER";
|
|
117
|
+
})(ActorEnum || (ActorEnum = {}));
|
|
118
|
+
export { ActorEnum as Actor };
|
|
119
|
+
var IdentificationDataIdentityTypeEnum;
|
|
120
|
+
(function (IdentificationDataIdentityTypeEnum) {
|
|
121
|
+
IdentificationDataIdentityTypeEnum["UNKNOWN"] = "UNKNOWN";
|
|
122
|
+
IdentificationDataIdentityTypeEnum["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
123
|
+
IdentificationDataIdentityTypeEnum["MEMBER"] = "MEMBER";
|
|
124
|
+
IdentificationDataIdentityTypeEnum["WIX_USER"] = "WIX_USER";
|
|
125
|
+
IdentificationDataIdentityTypeEnum["APP"] = "APP";
|
|
126
|
+
})(IdentificationDataIdentityTypeEnum || (IdentificationDataIdentityTypeEnum = {}));
|
|
127
|
+
export { IdentificationDataIdentityTypeEnum as IdentificationDataIdentityType };
|
|
128
|
+
var LocationLocationTypeEnum;
|
|
129
|
+
(function (LocationLocationTypeEnum) {
|
|
130
|
+
LocationLocationTypeEnum["UNDEFINED"] = "UNDEFINED";
|
|
131
|
+
LocationLocationTypeEnum["OWNER_BUSINESS"] = "OWNER_BUSINESS";
|
|
132
|
+
LocationLocationTypeEnum["OWNER_CUSTOM"] = "OWNER_CUSTOM";
|
|
133
|
+
LocationLocationTypeEnum["CUSTOM"] = "CUSTOM";
|
|
134
|
+
})(LocationLocationTypeEnum || (LocationLocationTypeEnum = {}));
|
|
135
|
+
export { LocationLocationTypeEnum as LocationLocationType };
|
|
136
|
+
var IdentityTypeEnum;
|
|
137
|
+
(function (IdentityTypeEnum) {
|
|
138
|
+
IdentityTypeEnum["UNKNOWN"] = "UNKNOWN";
|
|
139
|
+
IdentityTypeEnum["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
140
|
+
IdentityTypeEnum["MEMBER"] = "MEMBER";
|
|
141
|
+
IdentityTypeEnum["WIX_USER"] = "WIX_USER";
|
|
142
|
+
IdentityTypeEnum["APP"] = "APP";
|
|
143
|
+
})(IdentityTypeEnum || (IdentityTypeEnum = {}));
|
|
144
|
+
export { IdentityTypeEnum as IdentityType };
|
|
145
|
+
var SortOrderEnum;
|
|
146
|
+
(function (SortOrderEnum) {
|
|
147
|
+
SortOrderEnum["ASC"] = "ASC";
|
|
148
|
+
SortOrderEnum["DESC"] = "DESC";
|
|
149
|
+
})(SortOrderEnum || (SortOrderEnum = {}));
|
|
150
|
+
export { SortOrderEnum as SortOrder };
|
|
139
151
|
const _bulkConfirmOrDeclineBookingRequest = {};
|
|
140
152
|
const _bulkConfirmOrDeclineBookingResponse = {};
|
|
141
153
|
const _bulkCreateBookingRequest = {};
|