@wix/auto_sdk_bookings_bookings 1.0.43 → 1.0.45
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 +60 -36
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +48 -24
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +48 -24
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +60 -36
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +48 -24
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +48 -24
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +60 -36
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +48 -24
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +48 -24
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +60 -36
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +48 -24
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +48 -24
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -24,14 +24,14 @@ __export(meta_exports, {
|
|
|
24
24
|
bulkConfirmOrDeclineBooking: () => bulkConfirmOrDeclineBooking2,
|
|
25
25
|
bulkCreateBooking: () => bulkCreateBooking2,
|
|
26
26
|
bulkGetMultiServiceBookingAllowedActions: () => bulkGetMultiServiceBookingAllowedActions2,
|
|
27
|
-
cancelBooking: () =>
|
|
27
|
+
cancelBooking: () => cancelBooking,
|
|
28
28
|
cancelMultiServiceBooking: () => cancelMultiServiceBooking2,
|
|
29
|
-
confirmBooking: () =>
|
|
29
|
+
confirmBooking: () => confirmBooking,
|
|
30
30
|
confirmMultiServiceBooking: () => confirmMultiServiceBooking2,
|
|
31
31
|
confirmOrDeclineBooking: () => confirmOrDeclineBooking2,
|
|
32
32
|
createBooking: () => createBooking2,
|
|
33
33
|
createMultiServiceBooking: () => createMultiServiceBooking2,
|
|
34
|
-
declineBooking: () =>
|
|
34
|
+
declineBooking: () => declineBooking,
|
|
35
35
|
declineMultiServiceBooking: () => declineMultiServiceBooking2,
|
|
36
36
|
getMultiServiceBooking: () => getMultiServiceBooking2,
|
|
37
37
|
getMultiServiceBookingAvailability: () => getMultiServiceBookingAvailability2,
|
|
@@ -41,7 +41,7 @@ __export(meta_exports, {
|
|
|
41
41
|
rescheduleMultiServiceBooking: () => rescheduleMultiServiceBooking2,
|
|
42
42
|
setBookingSubmissionId: () => setBookingSubmissionId2,
|
|
43
43
|
updateExtendedFields: () => updateExtendedFields2,
|
|
44
|
-
updateNumberOfParticipants: () =>
|
|
44
|
+
updateNumberOfParticipants: () => updateNumberOfParticipants
|
|
45
45
|
});
|
|
46
46
|
module.exports = __toCommonJS(meta_exports);
|
|
47
47
|
|
|
@@ -71,6 +71,10 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
|
|
|
71
71
|
{
|
|
72
72
|
srcPath: "/_api/bookings-service/v2/bulk/multi_service_bookings",
|
|
73
73
|
destPath: "/v2/bulk/multi_service_bookings"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
77
|
+
destPath: "/v2/multi_service_bookings"
|
|
74
78
|
}
|
|
75
79
|
],
|
|
76
80
|
"manage._base_domain_": [
|
|
@@ -103,6 +107,10 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
|
|
|
103
107
|
{
|
|
104
108
|
srcPath: "/bookings/v2/bulk/bookings",
|
|
105
109
|
destPath: "/v2/bulk/bookings"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
113
|
+
destPath: "/v2/multi_service_bookings"
|
|
106
114
|
}
|
|
107
115
|
],
|
|
108
116
|
"www._base_domain_": [
|
|
@@ -149,6 +157,10 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
|
|
|
149
157
|
{
|
|
150
158
|
srcPath: "/_api/bookings-service",
|
|
151
159
|
destPath: "/v2/bookings"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
163
|
+
destPath: "/v2/multi_service_bookings"
|
|
152
164
|
}
|
|
153
165
|
]
|
|
154
166
|
};
|
|
@@ -172,6 +184,10 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
172
184
|
{
|
|
173
185
|
srcPath: "/_api/bookings-service/v2/bulk/multi_service_bookings",
|
|
174
186
|
destPath: "/v2/bulk/multi_service_bookings"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
190
|
+
destPath: "/v2/multi_service_bookings"
|
|
175
191
|
}
|
|
176
192
|
],
|
|
177
193
|
"manage._base_domain_": [
|
|
@@ -204,6 +220,10 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
204
220
|
{
|
|
205
221
|
srcPath: "/bookings/v2/bulk/bookings",
|
|
206
222
|
destPath: "/v2/bulk/bookings"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
226
|
+
destPath: "/v2/multi_service_bookings"
|
|
207
227
|
}
|
|
208
228
|
],
|
|
209
229
|
"www._base_domain_": [
|
|
@@ -250,6 +270,10 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
250
270
|
{
|
|
251
271
|
srcPath: "/_api/bookings-service",
|
|
252
272
|
destPath: "/v2/bookings"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
276
|
+
destPath: "/v2/multi_service_bookings"
|
|
253
277
|
}
|
|
254
278
|
]
|
|
255
279
|
};
|
|
@@ -522,8 +546,8 @@ function rescheduleBooking(payload) {
|
|
|
522
546
|
}
|
|
523
547
|
return __rescheduleBooking;
|
|
524
548
|
}
|
|
525
|
-
function
|
|
526
|
-
function
|
|
549
|
+
function bookingsConfirmBooking(payload) {
|
|
550
|
+
function __bookingsConfirmBooking({ host }) {
|
|
527
551
|
const metadata = {
|
|
528
552
|
entityFqdn: "wix.bookings.v2.booking",
|
|
529
553
|
method: "POST",
|
|
@@ -557,7 +581,7 @@ function confirmBooking(payload) {
|
|
|
557
581
|
};
|
|
558
582
|
return metadata;
|
|
559
583
|
}
|
|
560
|
-
return
|
|
584
|
+
return __bookingsConfirmBooking;
|
|
561
585
|
}
|
|
562
586
|
function setBookingSubmissionId(payload) {
|
|
563
587
|
function __setBookingSubmissionId({ host }) {
|
|
@@ -614,8 +638,8 @@ function updateExtendedFields(payload) {
|
|
|
614
638
|
}
|
|
615
639
|
return __updateExtendedFields;
|
|
616
640
|
}
|
|
617
|
-
function
|
|
618
|
-
function
|
|
641
|
+
function bookingsDeclineBooking(payload) {
|
|
642
|
+
function __bookingsDeclineBooking({ host }) {
|
|
619
643
|
const metadata = {
|
|
620
644
|
entityFqdn: "wix.bookings.v2.booking",
|
|
621
645
|
method: "POST",
|
|
@@ -649,10 +673,10 @@ function declineBooking(payload) {
|
|
|
649
673
|
};
|
|
650
674
|
return metadata;
|
|
651
675
|
}
|
|
652
|
-
return
|
|
676
|
+
return __bookingsDeclineBooking;
|
|
653
677
|
}
|
|
654
|
-
function
|
|
655
|
-
function
|
|
678
|
+
function bookingsCancelBooking(payload) {
|
|
679
|
+
function __bookingsCancelBooking({ host }) {
|
|
656
680
|
const metadata = {
|
|
657
681
|
entityFqdn: "wix.bookings.v2.booking",
|
|
658
682
|
method: "POST",
|
|
@@ -686,10 +710,10 @@ function cancelBooking(payload) {
|
|
|
686
710
|
};
|
|
687
711
|
return metadata;
|
|
688
712
|
}
|
|
689
|
-
return
|
|
713
|
+
return __bookingsCancelBooking;
|
|
690
714
|
}
|
|
691
|
-
function
|
|
692
|
-
function
|
|
715
|
+
function bookingsUpdateNumberOfParticipants(payload) {
|
|
716
|
+
function __bookingsUpdateNumberOfParticipants({ host }) {
|
|
693
717
|
const metadata = {
|
|
694
718
|
entityFqdn: "wix.bookings.v2.booking",
|
|
695
719
|
method: "POST",
|
|
@@ -723,7 +747,7 @@ function updateNumberOfParticipants(payload) {
|
|
|
723
747
|
};
|
|
724
748
|
return metadata;
|
|
725
749
|
}
|
|
726
|
-
return
|
|
750
|
+
return __bookingsUpdateNumberOfParticipants;
|
|
727
751
|
}
|
|
728
752
|
function createMultiServiceBooking(payload) {
|
|
729
753
|
function __createMultiServiceBooking({ host }) {
|
|
@@ -1241,9 +1265,9 @@ function rescheduleBooking2() {
|
|
|
1241
1265
|
__originalResponseType: null
|
|
1242
1266
|
};
|
|
1243
1267
|
}
|
|
1244
|
-
function
|
|
1268
|
+
function confirmBooking() {
|
|
1245
1269
|
const payload = { bookingId: ":bookingId" };
|
|
1246
|
-
const getRequestOptions =
|
|
1270
|
+
const getRequestOptions = bookingsConfirmBooking(payload);
|
|
1247
1271
|
const getUrl = (context) => {
|
|
1248
1272
|
const { url } = getRequestOptions(context);
|
|
1249
1273
|
return url;
|
|
@@ -1295,9 +1319,9 @@ function updateExtendedFields2() {
|
|
|
1295
1319
|
__originalResponseType: null
|
|
1296
1320
|
};
|
|
1297
1321
|
}
|
|
1298
|
-
function
|
|
1322
|
+
function declineBooking() {
|
|
1299
1323
|
const payload = { bookingId: ":bookingId" };
|
|
1300
|
-
const getRequestOptions =
|
|
1324
|
+
const getRequestOptions = bookingsDeclineBooking(payload);
|
|
1301
1325
|
const getUrl = (context) => {
|
|
1302
1326
|
const { url } = getRequestOptions(context);
|
|
1303
1327
|
return url;
|
|
@@ -1313,9 +1337,9 @@ function declineBooking2() {
|
|
|
1313
1337
|
__originalResponseType: null
|
|
1314
1338
|
};
|
|
1315
1339
|
}
|
|
1316
|
-
function
|
|
1340
|
+
function cancelBooking() {
|
|
1317
1341
|
const payload = { bookingId: ":bookingId" };
|
|
1318
|
-
const getRequestOptions =
|
|
1342
|
+
const getRequestOptions = bookingsCancelBooking(payload);
|
|
1319
1343
|
const getUrl = (context) => {
|
|
1320
1344
|
const { url } = getRequestOptions(context);
|
|
1321
1345
|
return url;
|
|
@@ -1331,9 +1355,9 @@ function cancelBooking2() {
|
|
|
1331
1355
|
__originalResponseType: null
|
|
1332
1356
|
};
|
|
1333
1357
|
}
|
|
1334
|
-
function
|
|
1358
|
+
function updateNumberOfParticipants() {
|
|
1335
1359
|
const payload = { bookingId: ":bookingId" };
|
|
1336
|
-
const getRequestOptions =
|
|
1360
|
+
const getRequestOptions = bookingsUpdateNumberOfParticipants(payload);
|
|
1337
1361
|
const getUrl = (context) => {
|
|
1338
1362
|
const { url } = getRequestOptions(context);
|
|
1339
1363
|
return url;
|