@wix/bookings 1.0.71 → 1.0.72
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.http.d.ts +3 -3
- package/build/cjs/src/bookings-v2-booking.http.js +3 -3
- package/build/cjs/src/bookings-v2-booking.universal.d.ts +3 -3
- package/build/cjs/src/bookings-v2-booking.universal.js +3 -3
- package/build/es/src/bookings-v2-booking.http.d.ts +3 -3
- package/build/es/src/bookings-v2-booking.http.js +3 -3
- package/build/es/src/bookings-v2-booking.universal.d.ts +3 -3
- package/build/es/src/bookings-v2-booking.universal.js +3 -3
- package/package.json +2 -2
|
@@ -7,13 +7,13 @@ import { BulkCreateBookingRequest, BulkCreateBookingResponse, CancelBookingReque
|
|
|
7
7
|
* To create a booking for an appointment or a session of a class, pass a booking with the relevant `slot`.
|
|
8
8
|
*
|
|
9
9
|
* To create a booking for the entire course, pass a booking with the relevant `schedule`.
|
|
10
|
-
* You can use the [Query Availability](https://
|
|
10
|
+
* You can use the [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability) endpoint to check the availability beforehand.
|
|
11
11
|
*
|
|
12
12
|
* If you create a booking for an existing session, we recommend that you only pass `slot.sessionId`.
|
|
13
13
|
* Then, any specified slot details are calculated.
|
|
14
14
|
*
|
|
15
15
|
* If you create a booking for a new session, we recommend to call
|
|
16
|
-
* [Query Availability](https://
|
|
16
|
+
* [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability)
|
|
17
17
|
* first.
|
|
18
18
|
* Then, pass the retrieved `availability.slot` object as the BookedEntity.Slot of the booking in the request.
|
|
19
19
|
*
|
|
@@ -35,7 +35,7 @@ import { BulkCreateBookingRequest, BulkCreateBookingResponse, CancelBookingReque
|
|
|
35
35
|
* This specifies which payment method the customer plans to use.
|
|
36
36
|
* But it's possible for them to later use another supported payment method.
|
|
37
37
|
*
|
|
38
|
-
* You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](
|
|
38
|
+
* You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](https://dev.wix.com/api/rest/wix-bookings/confirmation/confirm-or-decline-booking) otherwise, after you create the booking, you can use the
|
|
39
39
|
* Wix eCommerce APIs (coming soon) for the checkout and payment flow or use a different service for checkout.
|
|
40
40
|
*/
|
|
41
41
|
export declare function createBooking(payload: CreateBookingRequest): RequestOptionsFactory<CreateBookingResponse>;
|
|
@@ -91,13 +91,13 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
91
91
|
* To create a booking for an appointment or a session of a class, pass a booking with the relevant `slot`.
|
|
92
92
|
*
|
|
93
93
|
* To create a booking for the entire course, pass a booking with the relevant `schedule`.
|
|
94
|
-
* You can use the [Query Availability](https://
|
|
94
|
+
* You can use the [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability) endpoint to check the availability beforehand.
|
|
95
95
|
*
|
|
96
96
|
* If you create a booking for an existing session, we recommend that you only pass `slot.sessionId`.
|
|
97
97
|
* Then, any specified slot details are calculated.
|
|
98
98
|
*
|
|
99
99
|
* If you create a booking for a new session, we recommend to call
|
|
100
|
-
* [Query Availability](https://
|
|
100
|
+
* [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability)
|
|
101
101
|
* first.
|
|
102
102
|
* Then, pass the retrieved `availability.slot` object as the BookedEntity.Slot of the booking in the request.
|
|
103
103
|
*
|
|
@@ -119,7 +119,7 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
119
119
|
* This specifies which payment method the customer plans to use.
|
|
120
120
|
* But it's possible for them to later use another supported payment method.
|
|
121
121
|
*
|
|
122
|
-
* You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](
|
|
122
|
+
* You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](https://dev.wix.com/api/rest/wix-bookings/confirmation/confirm-or-decline-booking) otherwise, after you create the booking, you can use the
|
|
123
123
|
* Wix eCommerce APIs (coming soon) for the checkout and payment flow or use a different service for checkout.
|
|
124
124
|
*/
|
|
125
125
|
function createBooking(payload) {
|
|
@@ -1614,13 +1614,13 @@ export interface V2UpdateNumberOfParticipantsResponse {
|
|
|
1614
1614
|
* To create a booking for an appointment or a session of a class, pass a booking with the relevant `slot`.
|
|
1615
1615
|
*
|
|
1616
1616
|
* To create a booking for the entire course, pass a booking with the relevant `schedule`.
|
|
1617
|
-
* You can use the [Query Availability](https://
|
|
1617
|
+
* You can use the [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability) endpoint to check the availability beforehand.
|
|
1618
1618
|
*
|
|
1619
1619
|
* If you create a booking for an existing session, we recommend that you only pass `slot.sessionId`.
|
|
1620
1620
|
* Then, any specified slot details are calculated.
|
|
1621
1621
|
*
|
|
1622
1622
|
* If you create a booking for a new session, we recommend to call
|
|
1623
|
-
* [Query Availability](https://
|
|
1623
|
+
* [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability)
|
|
1624
1624
|
* first.
|
|
1625
1625
|
* Then, pass the retrieved `availability.slot` object as the BookedEntity.Slot of the booking in the request.
|
|
1626
1626
|
*
|
|
@@ -1642,7 +1642,7 @@ export interface V2UpdateNumberOfParticipantsResponse {
|
|
|
1642
1642
|
* This specifies which payment method the customer plans to use.
|
|
1643
1643
|
* But it's possible for them to later use another supported payment method.
|
|
1644
1644
|
*
|
|
1645
|
-
* You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](
|
|
1645
|
+
* You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](https://dev.wix.com/api/rest/wix-bookings/confirmation/confirm-or-decline-booking) otherwise, after you create the booking, you can use the
|
|
1646
1646
|
* Wix eCommerce APIs (coming soon) for the checkout and payment flow or use a different service for checkout.
|
|
1647
1647
|
* @param booking - The booking to create.
|
|
1648
1648
|
* @public
|
|
@@ -164,13 +164,13 @@ const _updateNumberOfParticipantsResponse = {};
|
|
|
164
164
|
* To create a booking for an appointment or a session of a class, pass a booking with the relevant `slot`.
|
|
165
165
|
*
|
|
166
166
|
* To create a booking for the entire course, pass a booking with the relevant `schedule`.
|
|
167
|
-
* You can use the [Query Availability](https://
|
|
167
|
+
* You can use the [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability) endpoint to check the availability beforehand.
|
|
168
168
|
*
|
|
169
169
|
* If you create a booking for an existing session, we recommend that you only pass `slot.sessionId`.
|
|
170
170
|
* Then, any specified slot details are calculated.
|
|
171
171
|
*
|
|
172
172
|
* If you create a booking for a new session, we recommend to call
|
|
173
|
-
* [Query Availability](https://
|
|
173
|
+
* [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability)
|
|
174
174
|
* first.
|
|
175
175
|
* Then, pass the retrieved `availability.slot` object as the BookedEntity.Slot of the booking in the request.
|
|
176
176
|
*
|
|
@@ -192,7 +192,7 @@ const _updateNumberOfParticipantsResponse = {};
|
|
|
192
192
|
* This specifies which payment method the customer plans to use.
|
|
193
193
|
* But it's possible for them to later use another supported payment method.
|
|
194
194
|
*
|
|
195
|
-
* You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](
|
|
195
|
+
* You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](https://dev.wix.com/api/rest/wix-bookings/confirmation/confirm-or-decline-booking) otherwise, after you create the booking, you can use the
|
|
196
196
|
* Wix eCommerce APIs (coming soon) for the checkout and payment flow or use a different service for checkout.
|
|
197
197
|
* @param booking - The booking to create.
|
|
198
198
|
* @public
|
|
@@ -7,13 +7,13 @@ import { BulkCreateBookingRequest, BulkCreateBookingResponse, CancelBookingReque
|
|
|
7
7
|
* To create a booking for an appointment or a session of a class, pass a booking with the relevant `slot`.
|
|
8
8
|
*
|
|
9
9
|
* To create a booking for the entire course, pass a booking with the relevant `schedule`.
|
|
10
|
-
* You can use the [Query Availability](https://
|
|
10
|
+
* You can use the [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability) endpoint to check the availability beforehand.
|
|
11
11
|
*
|
|
12
12
|
* If you create a booking for an existing session, we recommend that you only pass `slot.sessionId`.
|
|
13
13
|
* Then, any specified slot details are calculated.
|
|
14
14
|
*
|
|
15
15
|
* If you create a booking for a new session, we recommend to call
|
|
16
|
-
* [Query Availability](https://
|
|
16
|
+
* [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability)
|
|
17
17
|
* first.
|
|
18
18
|
* Then, pass the retrieved `availability.slot` object as the BookedEntity.Slot of the booking in the request.
|
|
19
19
|
*
|
|
@@ -35,7 +35,7 @@ import { BulkCreateBookingRequest, BulkCreateBookingResponse, CancelBookingReque
|
|
|
35
35
|
* This specifies which payment method the customer plans to use.
|
|
36
36
|
* But it's possible for them to later use another supported payment method.
|
|
37
37
|
*
|
|
38
|
-
* You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](
|
|
38
|
+
* You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](https://dev.wix.com/api/rest/wix-bookings/confirmation/confirm-or-decline-booking) otherwise, after you create the booking, you can use the
|
|
39
39
|
* Wix eCommerce APIs (coming soon) for the checkout and payment flow or use a different service for checkout.
|
|
40
40
|
*/
|
|
41
41
|
export declare function createBooking(payload: CreateBookingRequest): RequestOptionsFactory<CreateBookingResponse>;
|
|
@@ -88,13 +88,13 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
88
88
|
* To create a booking for an appointment or a session of a class, pass a booking with the relevant `slot`.
|
|
89
89
|
*
|
|
90
90
|
* To create a booking for the entire course, pass a booking with the relevant `schedule`.
|
|
91
|
-
* You can use the [Query Availability](https://
|
|
91
|
+
* You can use the [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability) endpoint to check the availability beforehand.
|
|
92
92
|
*
|
|
93
93
|
* If you create a booking for an existing session, we recommend that you only pass `slot.sessionId`.
|
|
94
94
|
* Then, any specified slot details are calculated.
|
|
95
95
|
*
|
|
96
96
|
* If you create a booking for a new session, we recommend to call
|
|
97
|
-
* [Query Availability](https://
|
|
97
|
+
* [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability)
|
|
98
98
|
* first.
|
|
99
99
|
* Then, pass the retrieved `availability.slot` object as the BookedEntity.Slot of the booking in the request.
|
|
100
100
|
*
|
|
@@ -116,7 +116,7 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
116
116
|
* This specifies which payment method the customer plans to use.
|
|
117
117
|
* But it's possible for them to later use another supported payment method.
|
|
118
118
|
*
|
|
119
|
-
* You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](
|
|
119
|
+
* You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](https://dev.wix.com/api/rest/wix-bookings/confirmation/confirm-or-decline-booking) otherwise, after you create the booking, you can use the
|
|
120
120
|
* Wix eCommerce APIs (coming soon) for the checkout and payment flow or use a different service for checkout.
|
|
121
121
|
*/
|
|
122
122
|
export function createBooking(payload) {
|
|
@@ -1614,13 +1614,13 @@ export interface V2UpdateNumberOfParticipantsResponse {
|
|
|
1614
1614
|
* To create a booking for an appointment or a session of a class, pass a booking with the relevant `slot`.
|
|
1615
1615
|
*
|
|
1616
1616
|
* To create a booking for the entire course, pass a booking with the relevant `schedule`.
|
|
1617
|
-
* You can use the [Query Availability](https://
|
|
1617
|
+
* You can use the [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability) endpoint to check the availability beforehand.
|
|
1618
1618
|
*
|
|
1619
1619
|
* If you create a booking for an existing session, we recommend that you only pass `slot.sessionId`.
|
|
1620
1620
|
* Then, any specified slot details are calculated.
|
|
1621
1621
|
*
|
|
1622
1622
|
* If you create a booking for a new session, we recommend to call
|
|
1623
|
-
* [Query Availability](https://
|
|
1623
|
+
* [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability)
|
|
1624
1624
|
* first.
|
|
1625
1625
|
* Then, pass the retrieved `availability.slot` object as the BookedEntity.Slot of the booking in the request.
|
|
1626
1626
|
*
|
|
@@ -1642,7 +1642,7 @@ export interface V2UpdateNumberOfParticipantsResponse {
|
|
|
1642
1642
|
* This specifies which payment method the customer plans to use.
|
|
1643
1643
|
* But it's possible for them to later use another supported payment method.
|
|
1644
1644
|
*
|
|
1645
|
-
* You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](
|
|
1645
|
+
* You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](https://dev.wix.com/api/rest/wix-bookings/confirmation/confirm-or-decline-booking) otherwise, after you create the booking, you can use the
|
|
1646
1646
|
* Wix eCommerce APIs (coming soon) for the checkout and payment flow or use a different service for checkout.
|
|
1647
1647
|
* @param booking - The booking to create.
|
|
1648
1648
|
* @public
|
|
@@ -142,13 +142,13 @@ const _updateNumberOfParticipantsResponse = {};
|
|
|
142
142
|
* To create a booking for an appointment or a session of a class, pass a booking with the relevant `slot`.
|
|
143
143
|
*
|
|
144
144
|
* To create a booking for the entire course, pass a booking with the relevant `schedule`.
|
|
145
|
-
* You can use the [Query Availability](https://
|
|
145
|
+
* You can use the [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability) endpoint to check the availability beforehand.
|
|
146
146
|
*
|
|
147
147
|
* If you create a booking for an existing session, we recommend that you only pass `slot.sessionId`.
|
|
148
148
|
* Then, any specified slot details are calculated.
|
|
149
149
|
*
|
|
150
150
|
* If you create a booking for a new session, we recommend to call
|
|
151
|
-
* [Query Availability](https://
|
|
151
|
+
* [Query Availability](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability)
|
|
152
152
|
* first.
|
|
153
153
|
* Then, pass the retrieved `availability.slot` object as the BookedEntity.Slot of the booking in the request.
|
|
154
154
|
*
|
|
@@ -170,7 +170,7 @@ const _updateNumberOfParticipantsResponse = {};
|
|
|
170
170
|
* This specifies which payment method the customer plans to use.
|
|
171
171
|
* But it's possible for them to later use another supported payment method.
|
|
172
172
|
*
|
|
173
|
-
* You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](
|
|
173
|
+
* You can skip the checkout and payment flow if you call [Confirm Or Decline Booking ](https://dev.wix.com/api/rest/wix-bookings/confirmation/confirm-or-decline-booking) otherwise, after you create the booking, you can use the
|
|
174
174
|
* Wix eCommerce APIs (coming soon) for the checkout and payment flow or use a different service for checkout.
|
|
175
175
|
* @param booking - The booking to create.
|
|
176
176
|
* @public
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/bookings",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.72",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"groupId": "com.wixpress.public-sdk-autogen"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
"falconPackageHash": "
|
|
36
|
+
"falconPackageHash": "d38480aa488fb9c89caaed6ba10037caf07c4ffb1a27bfbbc6e6df8c"
|
|
37
37
|
}
|