@wix/auto_sdk_bookings_bookings 1.0.3 → 1.0.4
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/src/bookings-v2-booking-bookings.http.d.ts +21 -18
- package/build/cjs/src/bookings-v2-booking-bookings.http.js +21 -18
- package/build/cjs/src/bookings-v2-booking-bookings.http.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking-bookings.public.d.ts +21 -18
- package/build/cjs/src/bookings-v2-booking-bookings.public.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking-bookings.types.d.ts +26 -25
- package/build/cjs/src/bookings-v2-booking-bookings.types.js +3 -3
- package/build/cjs/src/bookings-v2-booking-bookings.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking-bookings.universal.d.ts +47 -43
- package/build/cjs/src/bookings-v2-booking-bookings.universal.js +24 -21
- package/build/cjs/src/bookings-v2-booking-bookings.universal.js.map +1 -1
- package/build/es/src/bookings-v2-booking-bookings.http.d.ts +21 -18
- package/build/es/src/bookings-v2-booking-bookings.http.js +21 -18
- package/build/es/src/bookings-v2-booking-bookings.http.js.map +1 -1
- package/build/es/src/bookings-v2-booking-bookings.public.d.ts +21 -18
- package/build/es/src/bookings-v2-booking-bookings.public.js.map +1 -1
- package/build/es/src/bookings-v2-booking-bookings.types.d.ts +26 -25
- package/build/es/src/bookings-v2-booking-bookings.types.js +3 -3
- package/build/es/src/bookings-v2-booking-bookings.types.js.map +1 -1
- package/build/es/src/bookings-v2-booking-bookings.universal.d.ts +47 -43
- package/build/es/src/bookings-v2-booking-bookings.universal.js +24 -21
- package/build/es/src/bookings-v2-booking-bookings.universal.js.map +1 -1
- package/build/internal/cjs/src/bookings-v2-booking-bookings.http.d.ts +21 -18
- package/build/internal/cjs/src/bookings-v2-booking-bookings.http.js +21 -18
- package/build/internal/cjs/src/bookings-v2-booking-bookings.http.js.map +1 -1
- package/build/internal/cjs/src/bookings-v2-booking-bookings.public.d.ts +21 -18
- package/build/internal/cjs/src/bookings-v2-booking-bookings.public.js.map +1 -1
- package/build/internal/cjs/src/bookings-v2-booking-bookings.types.d.ts +26 -25
- package/build/internal/cjs/src/bookings-v2-booking-bookings.types.js +3 -3
- package/build/internal/cjs/src/bookings-v2-booking-bookings.types.js.map +1 -1
- package/build/internal/cjs/src/bookings-v2-booking-bookings.universal.d.ts +47 -43
- package/build/internal/cjs/src/bookings-v2-booking-bookings.universal.js +24 -21
- package/build/internal/cjs/src/bookings-v2-booking-bookings.universal.js.map +1 -1
- package/build/internal/es/src/bookings-v2-booking-bookings.http.d.ts +21 -18
- package/build/internal/es/src/bookings-v2-booking-bookings.http.js +21 -18
- package/build/internal/es/src/bookings-v2-booking-bookings.http.js.map +1 -1
- package/build/internal/es/src/bookings-v2-booking-bookings.public.d.ts +21 -18
- package/build/internal/es/src/bookings-v2-booking-bookings.public.js.map +1 -1
- package/build/internal/es/src/bookings-v2-booking-bookings.types.d.ts +26 -25
- package/build/internal/es/src/bookings-v2-booking-bookings.types.js +3 -3
- package/build/internal/es/src/bookings-v2-booking-bookings.types.js.map +1 -1
- package/build/internal/es/src/bookings-v2-booking-bookings.universal.d.ts +47 -43
- package/build/internal/es/src/bookings-v2-booking-bookings.universal.js +24 -21
- package/build/internal/es/src/bookings-v2-booking-bookings.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
export interface Booking extends BookingParticipantsInfoOneOf {
|
|
3
3
|
/**
|
|
4
4
|
* Total number of participants. Available only when the relevant service
|
|
5
|
-
* doesn't have
|
|
5
|
+
* doesn't have _variants and options_
|
|
6
6
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
7
7
|
*/
|
|
8
8
|
totalParticipants?: number;
|
|
9
9
|
/**
|
|
10
10
|
* Information about the booked service choices and participants.
|
|
11
|
-
* Available only when the booking includes multiple
|
|
11
|
+
* Available only when the booking includes multiple _service variants_
|
|
12
12
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
13
13
|
*/
|
|
14
14
|
participantsChoices?: ParticipantChoices;
|
|
@@ -18,16 +18,16 @@ export interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
18
18
|
*/
|
|
19
19
|
id?: string | null;
|
|
20
20
|
/**
|
|
21
|
-
* An object describing the slot
|
|
21
|
+
* An object describing the *slot*
|
|
22
22
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability))
|
|
23
|
-
* or schedule
|
|
23
|
+
* or *schedule*
|
|
24
24
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction))
|
|
25
25
|
* that was booked.
|
|
26
26
|
*/
|
|
27
27
|
bookedEntity?: BookedEntity;
|
|
28
28
|
/**
|
|
29
|
-
* Contact details of the site visitor or
|
|
30
|
-
*
|
|
29
|
+
* Contact details of the site visitor or *member*
|
|
30
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/members/members/introduction) | [REST](https://dev.wix.com/docs/rest/crm/members-contacts/members/members/introduction))
|
|
31
31
|
* making the booking.
|
|
32
32
|
*/
|
|
33
33
|
contactDetails?: ContactDetails;
|
|
@@ -42,7 +42,8 @@ export interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
42
42
|
status?: BookingStatus;
|
|
43
43
|
/**
|
|
44
44
|
* The payment status of the booking corresponds to the `paymentStatus` of the
|
|
45
|
-
* related eCommerce order
|
|
45
|
+
* related *eCommerce order*
|
|
46
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/setup)| [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)),
|
|
46
47
|
* if one exists. All payment statuses are supported for every booking `status`.
|
|
47
48
|
*/
|
|
48
49
|
paymentStatus?: PaymentStatus;
|
|
@@ -51,8 +52,8 @@ export interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
51
52
|
* checkout, they may still change the payment method. Must be one of the payment
|
|
52
53
|
* options offered by the service ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction)),
|
|
53
54
|
* unless `skipSelectedPaymentOptionValidation` is `true`.
|
|
54
|
-
* When undefined during an
|
|
55
|
-
*
|
|
55
|
+
* When undefined during an *eCommerce checkout*
|
|
56
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)),
|
|
56
57
|
* Wix Bookings uses the service's default payment option
|
|
57
58
|
*/
|
|
58
59
|
selectedPaymentOption?: SelectedPaymentOption;
|
|
@@ -109,13 +110,13 @@ export interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
109
110
|
export interface BookingParticipantsInfoOneOf {
|
|
110
111
|
/**
|
|
111
112
|
* Total number of participants. Available only when the relevant service
|
|
112
|
-
* doesn't have
|
|
113
|
+
* doesn't have _variants and options_
|
|
113
114
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
114
115
|
*/
|
|
115
116
|
totalParticipants?: number;
|
|
116
117
|
/**
|
|
117
118
|
* Information about the booked service choices and participants.
|
|
118
|
-
* Available only when the booking includes multiple
|
|
119
|
+
* Available only when the booking includes multiple _service variants_
|
|
119
120
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
120
121
|
*/
|
|
121
122
|
participantsChoices?: ParticipantChoices;
|
|
@@ -133,7 +134,7 @@ export declare enum MultiServiceBookingType {
|
|
|
133
134
|
}
|
|
134
135
|
export interface BookedEntity extends BookedEntityItemOneOf {
|
|
135
136
|
/**
|
|
136
|
-
* Booked slot
|
|
137
|
+
* Booked *slot*
|
|
137
138
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability)).
|
|
138
139
|
* Available only for appointment-based services and classes.
|
|
139
140
|
* For appointment-based services, a new session is created, while for classes,
|
|
@@ -141,7 +142,7 @@ export interface BookedEntity extends BookedEntityItemOneOf {
|
|
|
141
142
|
*/
|
|
142
143
|
slot?: BookedSlot;
|
|
143
144
|
/**
|
|
144
|
-
* Booked schedule
|
|
145
|
+
* Booked *schedule*
|
|
145
146
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)).
|
|
146
147
|
* Available only for course bookings.
|
|
147
148
|
*/
|
|
@@ -164,7 +165,7 @@ export interface BookedEntity extends BookedEntityItemOneOf {
|
|
|
164
165
|
/** @oneof */
|
|
165
166
|
export interface BookedEntityItemOneOf {
|
|
166
167
|
/**
|
|
167
|
-
* Booked slot
|
|
168
|
+
* Booked *slot*
|
|
168
169
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability)).
|
|
169
170
|
* Available only for appointment-based services and classes.
|
|
170
171
|
* For appointment-based services, a new session is created, while for classes,
|
|
@@ -172,7 +173,7 @@ export interface BookedEntityItemOneOf {
|
|
|
172
173
|
*/
|
|
173
174
|
slot?: BookedSlot;
|
|
174
175
|
/**
|
|
175
|
-
* Booked schedule
|
|
176
|
+
* Booked *schedule*
|
|
176
177
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)).
|
|
177
178
|
* Available only for course bookings.
|
|
178
179
|
*/
|
|
@@ -186,7 +187,7 @@ export interface BookedSlot {
|
|
|
186
187
|
/** Schedule ID. */
|
|
187
188
|
scheduleId?: string;
|
|
188
189
|
/**
|
|
189
|
-
* ID of the corresponding event
|
|
190
|
+
* ID of the corresponding *event*
|
|
190
191
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)).
|
|
191
192
|
* Available for both appointment and class bookings, not available for course bookings.
|
|
192
193
|
* For appointment-based services, Wix Bookings automatically populates `eventId`
|
|
@@ -207,9 +208,9 @@ export interface BookedSlot {
|
|
|
207
208
|
/** The timezone according to which the slot was shown to the user when booking, and should be shown in the future. */
|
|
208
209
|
timezone?: string | null;
|
|
209
210
|
/**
|
|
210
|
-
* Primary resource
|
|
211
|
+
* Primary *resource*
|
|
211
212
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction))
|
|
212
|
-
* for the booking. For example, the staff member
|
|
213
|
+
* for the booking. For example, the *staff member*
|
|
213
214
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction))
|
|
214
215
|
* providing the
|
|
215
216
|
* service.
|
|
@@ -257,14 +258,14 @@ export declare enum LocationType {
|
|
|
257
258
|
}
|
|
258
259
|
export interface BookedSchedule {
|
|
259
260
|
/**
|
|
260
|
-
*
|
|
261
|
+
* _Schedule ID_
|
|
261
262
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)).
|
|
262
263
|
*/
|
|
263
264
|
scheduleId?: string;
|
|
264
265
|
/** Booked service ID. */
|
|
265
266
|
serviceId?: string | null;
|
|
266
267
|
/**
|
|
267
|
-
*
|
|
268
|
+
* _Location_
|
|
268
269
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
269
270
|
* where the schedule's sessions take place.
|
|
270
271
|
* @readonly
|
|
@@ -404,16 +405,16 @@ export declare enum BookingStatus {
|
|
|
404
405
|
CREATED = "CREATED",
|
|
405
406
|
/**
|
|
406
407
|
* The merchant has confirmed the booking and it appears in the
|
|
407
|
-
* business calendar. Merchants can set up their services
|
|
408
|
+
* business calendar. Merchants can set up their *services*
|
|
408
409
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction))
|
|
409
410
|
* to automatically confirm all `PENDING` bookings.
|
|
410
411
|
*/
|
|
411
412
|
CONFIRMED = "CONFIRMED",
|
|
412
413
|
/**
|
|
413
414
|
* The customer has canceled the booking. Depending on the relevant service's
|
|
414
|
-
*
|
|
415
|
+
* _policy snapshot_
|
|
415
416
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policy-snapshots/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policy-snapshots/introduction))
|
|
416
|
-
* they may have to pay a
|
|
417
|
+
* they may have to pay a _cancellation fee_
|
|
417
418
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-fees/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/booking-fees/introduction)).
|
|
418
419
|
*/
|
|
419
420
|
CANCELED = "CANCELED",
|
|
@@ -544,7 +545,7 @@ export interface FlowControlSettings {
|
|
|
544
545
|
skipAvailabilityValidation?: boolean;
|
|
545
546
|
/**
|
|
546
547
|
* Whether the booking's `status` is automatically updated to `CONFIRMED` when
|
|
547
|
-
* the customer completes the eCommerce checkout
|
|
548
|
+
* the customer completes the *eCommerce checkout*
|
|
548
549
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)),
|
|
549
550
|
* regardless of whether the relevant service requires manual business confirmation.
|
|
550
551
|
*/
|
|
@@ -578,7 +579,7 @@ export interface ParticipantChoices {
|
|
|
578
579
|
}
|
|
579
580
|
export interface ServiceChoices {
|
|
580
581
|
/**
|
|
581
|
-
* Number of participants for this
|
|
582
|
+
* Number of participants for this _variant_
|
|
582
583
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
583
584
|
*/
|
|
584
585
|
numberOfParticipants?: number | null;
|
|
@@ -39,16 +39,16 @@ var BookingStatus;
|
|
|
39
39
|
BookingStatus["CREATED"] = "CREATED";
|
|
40
40
|
/**
|
|
41
41
|
* The merchant has confirmed the booking and it appears in the
|
|
42
|
-
* business calendar. Merchants can set up their services
|
|
42
|
+
* business calendar. Merchants can set up their *services*
|
|
43
43
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction))
|
|
44
44
|
* to automatically confirm all `PENDING` bookings.
|
|
45
45
|
*/
|
|
46
46
|
BookingStatus["CONFIRMED"] = "CONFIRMED";
|
|
47
47
|
/**
|
|
48
48
|
* The customer has canceled the booking. Depending on the relevant service's
|
|
49
|
-
*
|
|
49
|
+
* _policy snapshot_
|
|
50
50
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policy-snapshots/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policy-snapshots/introduction))
|
|
51
|
-
* they may have to pay a
|
|
51
|
+
* they may have to pay a _cancellation fee_
|
|
52
52
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-fees/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/booking-fees/introduction)).
|
|
53
53
|
*/
|
|
54
54
|
BookingStatus["CANCELED"] = "CANCELED";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-booking-bookings.types.js","sourceRoot":"","sources":["../../../../src/bookings-v2-booking-bookings.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"bookings-v2-booking-bookings.types.js","sourceRoot":"","sources":["../../../../src/bookings-v2-booking-bookings.types.ts"],"names":[],"mappings":"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"}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
export interface Booking extends BookingParticipantsInfoOneOf {
|
|
3
3
|
/**
|
|
4
4
|
* Total number of participants. Available only when the relevant service
|
|
5
|
-
* doesn't have
|
|
5
|
+
* doesn't have _variants and options_
|
|
6
6
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
7
7
|
*/
|
|
8
8
|
totalParticipants?: number;
|
|
9
9
|
/**
|
|
10
10
|
* Information about the booked service choices and participants.
|
|
11
|
-
* Available only when the booking includes multiple
|
|
11
|
+
* Available only when the booking includes multiple _service variants_
|
|
12
12
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
13
13
|
*/
|
|
14
14
|
participantsChoices?: ParticipantChoices;
|
|
@@ -18,16 +18,16 @@ export interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
18
18
|
*/
|
|
19
19
|
_id?: string | null;
|
|
20
20
|
/**
|
|
21
|
-
* An object describing the slot
|
|
21
|
+
* An object describing the *slot*
|
|
22
22
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability))
|
|
23
|
-
* or schedule
|
|
23
|
+
* or *schedule*
|
|
24
24
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction))
|
|
25
25
|
* that was booked.
|
|
26
26
|
*/
|
|
27
27
|
bookedEntity?: BookedEntity;
|
|
28
28
|
/**
|
|
29
|
-
* Contact details of the site visitor or
|
|
30
|
-
*
|
|
29
|
+
* Contact details of the site visitor or *member*
|
|
30
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/members/members/introduction) | [REST](https://dev.wix.com/docs/rest/crm/members-contacts/members/members/introduction))
|
|
31
31
|
* making the booking.
|
|
32
32
|
*/
|
|
33
33
|
contactDetails?: ContactDetails;
|
|
@@ -42,7 +42,8 @@ export interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
42
42
|
status?: BookingStatus;
|
|
43
43
|
/**
|
|
44
44
|
* The payment status of the booking corresponds to the `paymentStatus` of the
|
|
45
|
-
* related eCommerce order
|
|
45
|
+
* related *eCommerce order*
|
|
46
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/setup)| [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)),
|
|
46
47
|
* if one exists. All payment statuses are supported for every booking `status`.
|
|
47
48
|
*/
|
|
48
49
|
paymentStatus?: PaymentStatus;
|
|
@@ -51,8 +52,8 @@ export interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
51
52
|
* checkout, they may still change the payment method. Must be one of the payment
|
|
52
53
|
* options offered by the service ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction)),
|
|
53
54
|
* unless `skipSelectedPaymentOptionValidation` is `true`.
|
|
54
|
-
* When undefined during an
|
|
55
|
-
*
|
|
55
|
+
* When undefined during an *eCommerce checkout*
|
|
56
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)),
|
|
56
57
|
* Wix Bookings uses the service's default payment option
|
|
57
58
|
*/
|
|
58
59
|
selectedPaymentOption?: SelectedPaymentOption;
|
|
@@ -109,13 +110,13 @@ export interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
109
110
|
export interface BookingParticipantsInfoOneOf {
|
|
110
111
|
/**
|
|
111
112
|
* Total number of participants. Available only when the relevant service
|
|
112
|
-
* doesn't have
|
|
113
|
+
* doesn't have _variants and options_
|
|
113
114
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
114
115
|
*/
|
|
115
116
|
totalParticipants?: number;
|
|
116
117
|
/**
|
|
117
118
|
* Information about the booked service choices and participants.
|
|
118
|
-
* Available only when the booking includes multiple
|
|
119
|
+
* Available only when the booking includes multiple _service variants_
|
|
119
120
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
120
121
|
*/
|
|
121
122
|
participantsChoices?: ParticipantChoices;
|
|
@@ -133,7 +134,7 @@ export declare enum MultiServiceBookingType {
|
|
|
133
134
|
}
|
|
134
135
|
export interface BookedEntity extends BookedEntityItemOneOf {
|
|
135
136
|
/**
|
|
136
|
-
* Booked slot
|
|
137
|
+
* Booked *slot*
|
|
137
138
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability)).
|
|
138
139
|
* Available only for appointment-based services and classes.
|
|
139
140
|
* For appointment-based services, a new session is created, while for classes,
|
|
@@ -141,7 +142,7 @@ export interface BookedEntity extends BookedEntityItemOneOf {
|
|
|
141
142
|
*/
|
|
142
143
|
slot?: BookedSlot;
|
|
143
144
|
/**
|
|
144
|
-
* Booked schedule
|
|
145
|
+
* Booked *schedule*
|
|
145
146
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)).
|
|
146
147
|
* Available only for course bookings.
|
|
147
148
|
*/
|
|
@@ -164,7 +165,7 @@ export interface BookedEntity extends BookedEntityItemOneOf {
|
|
|
164
165
|
/** @oneof */
|
|
165
166
|
export interface BookedEntityItemOneOf {
|
|
166
167
|
/**
|
|
167
|
-
* Booked slot
|
|
168
|
+
* Booked *slot*
|
|
168
169
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability)).
|
|
169
170
|
* Available only for appointment-based services and classes.
|
|
170
171
|
* For appointment-based services, a new session is created, while for classes,
|
|
@@ -172,7 +173,7 @@ export interface BookedEntityItemOneOf {
|
|
|
172
173
|
*/
|
|
173
174
|
slot?: BookedSlot;
|
|
174
175
|
/**
|
|
175
|
-
* Booked schedule
|
|
176
|
+
* Booked *schedule*
|
|
176
177
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)).
|
|
177
178
|
* Available only for course bookings.
|
|
178
179
|
*/
|
|
@@ -186,7 +187,7 @@ export interface BookedSlot {
|
|
|
186
187
|
/** Schedule ID. */
|
|
187
188
|
scheduleId?: string;
|
|
188
189
|
/**
|
|
189
|
-
* ID of the corresponding event
|
|
190
|
+
* ID of the corresponding *event*
|
|
190
191
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)).
|
|
191
192
|
* Available for both appointment and class bookings, not available for course bookings.
|
|
192
193
|
* For appointment-based services, Wix Bookings automatically populates `eventId`
|
|
@@ -207,9 +208,9 @@ export interface BookedSlot {
|
|
|
207
208
|
/** The timezone according to which the slot was shown to the user when booking, and should be shown in the future. */
|
|
208
209
|
timezone?: string | null;
|
|
209
210
|
/**
|
|
210
|
-
* Primary resource
|
|
211
|
+
* Primary *resource*
|
|
211
212
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction))
|
|
212
|
-
* for the booking. For example, the staff member
|
|
213
|
+
* for the booking. For example, the *staff member*
|
|
213
214
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction))
|
|
214
215
|
* providing the
|
|
215
216
|
* service.
|
|
@@ -257,14 +258,14 @@ export declare enum LocationType {
|
|
|
257
258
|
}
|
|
258
259
|
export interface BookedSchedule {
|
|
259
260
|
/**
|
|
260
|
-
*
|
|
261
|
+
* _Schedule ID_
|
|
261
262
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)).
|
|
262
263
|
*/
|
|
263
264
|
scheduleId?: string;
|
|
264
265
|
/** Booked service ID. */
|
|
265
266
|
serviceId?: string | null;
|
|
266
267
|
/**
|
|
267
|
-
*
|
|
268
|
+
* _Location_
|
|
268
269
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
269
270
|
* where the schedule's sessions take place.
|
|
270
271
|
* @readonly
|
|
@@ -404,16 +405,16 @@ export declare enum BookingStatus {
|
|
|
404
405
|
CREATED = "CREATED",
|
|
405
406
|
/**
|
|
406
407
|
* The merchant has confirmed the booking and it appears in the
|
|
407
|
-
* business calendar. Merchants can set up their services
|
|
408
|
+
* business calendar. Merchants can set up their *services*
|
|
408
409
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction))
|
|
409
410
|
* to automatically confirm all `PENDING` bookings.
|
|
410
411
|
*/
|
|
411
412
|
CONFIRMED = "CONFIRMED",
|
|
412
413
|
/**
|
|
413
414
|
* The customer has canceled the booking. Depending on the relevant service's
|
|
414
|
-
*
|
|
415
|
+
* _policy snapshot_
|
|
415
416
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policy-snapshots/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policy-snapshots/introduction))
|
|
416
|
-
* they may have to pay a
|
|
417
|
+
* they may have to pay a _cancellation fee_
|
|
417
418
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-fees/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/booking-fees/introduction)).
|
|
418
419
|
*/
|
|
419
420
|
CANCELED = "CANCELED",
|
|
@@ -544,7 +545,7 @@ export interface FlowControlSettings {
|
|
|
544
545
|
skipAvailabilityValidation?: boolean;
|
|
545
546
|
/**
|
|
546
547
|
* Whether the booking's `status` is automatically updated to `CONFIRMED` when
|
|
547
|
-
* the customer completes the eCommerce checkout
|
|
548
|
+
* the customer completes the *eCommerce checkout*
|
|
548
549
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)),
|
|
549
550
|
* regardless of whether the relevant service requires manual business confirmation.
|
|
550
551
|
*/
|
|
@@ -578,7 +579,7 @@ export interface ParticipantChoices {
|
|
|
578
579
|
}
|
|
579
580
|
export interface ServiceChoices {
|
|
580
581
|
/**
|
|
581
|
-
* Number of participants for this
|
|
582
|
+
* Number of participants for this _variant_
|
|
582
583
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
583
584
|
*/
|
|
584
585
|
numberOfParticipants?: number | null;
|
|
@@ -3341,16 +3342,16 @@ export interface RemoveBookingsFromMultiServiceBookingOptions {
|
|
|
3341
3342
|
*
|
|
3342
3343
|
* For appointment-based services, specify the relevant `slot` in
|
|
3343
3344
|
* `bookedEntity.slot`. We recommend specifying the complete
|
|
3344
|
-
* `availabilityEntries.slot` returned in Query Availability
|
|
3345
|
+
* `availabilityEntries.slot` returned in *Query Availability*
|
|
3345
3346
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/time-slots/availability-calendar/query-availability))
|
|
3346
3347
|
* in your call's request to avoid failed calls due to unavailability.
|
|
3347
3348
|
*
|
|
3348
3349
|
* ## Class session booking
|
|
3349
3350
|
*
|
|
3350
|
-
* For class services, specify the relevant event ID
|
|
3351
|
+
* For class services, specify the relevant *event ID*
|
|
3351
3352
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction))
|
|
3352
3353
|
* as `bookedEntity.slot.eventId`.
|
|
3353
|
-
* We recommend retrieving the event ID from Query Availability's
|
|
3354
|
+
* We recommend retrieving the event ID from *Query Availability's*
|
|
3354
3355
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/time-slots/availability-calendar/query-availability))
|
|
3355
3356
|
* `availabilityEntries.slot.eventId` to avoid failed calls due to unavailability.
|
|
3356
3357
|
* Specifying an event ID leads to automatic calculations of `slot.startDate`, `slot.endDate`,
|
|
@@ -3374,7 +3375,7 @@ export interface RemoveBookingsFromMultiServiceBookingOptions {
|
|
|
3374
3375
|
*
|
|
3375
3376
|
* You must specify either `participantsChoices` or `totalParticipants`.
|
|
3376
3377
|
* The call fails if the specified `participantsChoices` aren't among the supported
|
|
3377
|
-
*
|
|
3378
|
+
* _service options and variants_
|
|
3378
3379
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
3379
3380
|
*
|
|
3380
3381
|
* ## Notify customers
|
|
@@ -3401,14 +3402,16 @@ export interface RemoveBookingsFromMultiServiceBookingOptions {
|
|
|
3401
3402
|
* ## Payment status
|
|
3402
3403
|
*
|
|
3403
3404
|
* A booking is initially created with `{"paymentStatus": "UNDEFINED"}` regardless
|
|
3404
|
-
* of the payment status specified in Create Booking. If a customer uses an
|
|
3405
|
-
*
|
|
3405
|
+
* of the payment status specified in Create Booking. If a customer uses an
|
|
3406
|
+
* _eCommerce checkout_
|
|
3407
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)),
|
|
3406
3408
|
* Wix Bookings automatically syncs the booking's payment status from
|
|
3407
|
-
* the corresponding eCommerce order
|
|
3409
|
+
* the corresponding *eCommerce order*
|
|
3410
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)).
|
|
3408
3411
|
*
|
|
3409
3412
|
* If a booking doesn't have a corresponding eCommerce order, for example, since
|
|
3410
3413
|
* the customer didn't use the eCommerce checkout, you can update the booking's
|
|
3411
|
-
* payment status with Confirm Or Decline Booking
|
|
3414
|
+
* payment status with *Confirm Or Decline Booking*
|
|
3412
3415
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/confirm-or-decline-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking)).
|
|
3413
3416
|
*
|
|
3414
3417
|
* ## Booking form data
|
|
@@ -3484,7 +3487,8 @@ export interface CreateBookingOptions {
|
|
|
3484
3487
|
* Creates up to 8 bookings.
|
|
3485
3488
|
*
|
|
3486
3489
|
*
|
|
3487
|
-
* See Create Booking
|
|
3490
|
+
* See *Create Booking*
|
|
3491
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/create-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/create-booking))
|
|
3488
3492
|
* for more information.
|
|
3489
3493
|
*
|
|
3490
3494
|
* If any of the specified bookings is missing a required field the entire call
|
|
@@ -3528,7 +3532,7 @@ export interface BulkCreateBookingOptions {
|
|
|
3528
3532
|
* ## Appointment sessions
|
|
3529
3533
|
*
|
|
3530
3534
|
* For appointments, the old session is removed from the business calendar
|
|
3531
|
-
* while a new session is added. We recommend calling Query Availability
|
|
3535
|
+
* while a new session is added. We recommend calling *Query Availability*
|
|
3532
3536
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/time-slots/availability-calendar/query-availability))
|
|
3533
3537
|
* first and specifying the entire retrieved `slot`.
|
|
3534
3538
|
*
|
|
@@ -3536,7 +3540,7 @@ export interface BulkCreateBookingOptions {
|
|
|
3536
3540
|
*
|
|
3537
3541
|
* For classes, the new session must be an existing session belonging to the
|
|
3538
3542
|
* same class. We recommend retrieving `availabilityEntries.slot.eventId`
|
|
3539
|
-
* from Query Availability
|
|
3543
|
+
* from *Query Availability*
|
|
3540
3544
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/time-slots/availability-calendar/query-availability))
|
|
3541
3545
|
* to avoid failed Reschedule Booking calls due to unavailability. Specify
|
|
3542
3546
|
* only `slot.eventId` instead of the entire `slot` object.
|
|
@@ -3628,16 +3632,16 @@ export interface RescheduleBookingOptions extends RescheduleBookingRequestPartic
|
|
|
3628
3632
|
* ## eCommerce checkout restriction
|
|
3629
3633
|
*
|
|
3630
3634
|
* Call this method only when using a custom checkout page. Don't
|
|
3631
|
-
* call it when using a Wix eCommerce checkout
|
|
3635
|
+
* call it when using a *Wix eCommerce checkout*
|
|
3632
3636
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)).
|
|
3633
3637
|
* In such cases, Wix automatically updates the booking status based on
|
|
3634
|
-
* the `paymentStatus` of the corresponding Wix eCommerce order
|
|
3638
|
+
* the `paymentStatus` of the corresponding *Wix eCommerce order*
|
|
3635
3639
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)).
|
|
3636
3640
|
*
|
|
3637
3641
|
* ## When to call Confirm Or Decline Booking instead
|
|
3638
3642
|
*
|
|
3639
3643
|
* Confirm Booking doesn't check whether a slot or schedule is still available. For
|
|
3640
|
-
* these checks you can call Confirm or Decline Booking
|
|
3644
|
+
* these checks you can call *Confirm or Decline Booking*
|
|
3641
3645
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/confirm-or-decline-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking)).
|
|
3642
3646
|
*
|
|
3643
3647
|
* ## Original status validation
|
|
@@ -3750,16 +3754,16 @@ export interface UpdateExtendedFieldsOptions {
|
|
|
3750
3754
|
* ## eCommerce checkout restriction
|
|
3751
3755
|
*
|
|
3752
3756
|
* Call this method only when using a custom checkout page. Don't
|
|
3753
|
-
* call it when using a Wix eCommerce checkout
|
|
3757
|
+
* call it when using a *Wix eCommerce checkout*
|
|
3754
3758
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)).
|
|
3755
3759
|
* In such cases, Wix automatically updates the booking status based on
|
|
3756
|
-
* the `paymentStatus` of the corresponding Wix eCommerce order
|
|
3760
|
+
* the `paymentStatus` of the corresponding *Wix eCommerce order*
|
|
3757
3761
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)).
|
|
3758
3762
|
*
|
|
3759
3763
|
* ## When to call Confirm Or Decline Booking instead
|
|
3760
3764
|
*
|
|
3761
3765
|
* The method doesn't check whether a slot or schedule is still available. For
|
|
3762
|
-
* these checks you can call Confirm or Decline Booking
|
|
3766
|
+
* these checks you can call *Confirm or Decline Booking*
|
|
3763
3767
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/confirm-or-decline-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking)).
|
|
3764
3768
|
*
|
|
3765
3769
|
* ## Original status validation
|
|
@@ -3905,7 +3909,7 @@ export interface CancelBookingOptions {
|
|
|
3905
3909
|
*
|
|
3906
3910
|
* You must specify either `participantsChoices` or `totalParticipants`.
|
|
3907
3911
|
* The call fails if the specified `participantsChoices` aren't among the
|
|
3908
|
-
* supported service options and variants
|
|
3912
|
+
* supported *service options and variants*
|
|
3909
3913
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
3910
3914
|
* @param bookingId - ID of the booking to update the number of participants for.
|
|
3911
3915
|
* @public
|