@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
package/build/es/meta.mjs
CHANGED
|
@@ -24,6 +24,10 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
|
|
|
24
24
|
{
|
|
25
25
|
srcPath: "/_api/bookings-service/v2/bulk/multi_service_bookings",
|
|
26
26
|
destPath: "/v2/bulk/multi_service_bookings"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
30
|
+
destPath: "/v2/multi_service_bookings"
|
|
27
31
|
}
|
|
28
32
|
],
|
|
29
33
|
"manage._base_domain_": [
|
|
@@ -56,6 +60,10 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
|
|
|
56
60
|
{
|
|
57
61
|
srcPath: "/bookings/v2/bulk/bookings",
|
|
58
62
|
destPath: "/v2/bulk/bookings"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
66
|
+
destPath: "/v2/multi_service_bookings"
|
|
59
67
|
}
|
|
60
68
|
],
|
|
61
69
|
"www._base_domain_": [
|
|
@@ -102,6 +110,10 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
|
|
|
102
110
|
{
|
|
103
111
|
srcPath: "/_api/bookings-service",
|
|
104
112
|
destPath: "/v2/bookings"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
116
|
+
destPath: "/v2/multi_service_bookings"
|
|
105
117
|
}
|
|
106
118
|
]
|
|
107
119
|
};
|
|
@@ -125,6 +137,10 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
125
137
|
{
|
|
126
138
|
srcPath: "/_api/bookings-service/v2/bulk/multi_service_bookings",
|
|
127
139
|
destPath: "/v2/bulk/multi_service_bookings"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
143
|
+
destPath: "/v2/multi_service_bookings"
|
|
128
144
|
}
|
|
129
145
|
],
|
|
130
146
|
"manage._base_domain_": [
|
|
@@ -157,6 +173,10 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
157
173
|
{
|
|
158
174
|
srcPath: "/bookings/v2/bulk/bookings",
|
|
159
175
|
destPath: "/v2/bulk/bookings"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
179
|
+
destPath: "/v2/multi_service_bookings"
|
|
160
180
|
}
|
|
161
181
|
],
|
|
162
182
|
"www._base_domain_": [
|
|
@@ -203,6 +223,10 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
203
223
|
{
|
|
204
224
|
srcPath: "/_api/bookings-service",
|
|
205
225
|
destPath: "/v2/bookings"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
229
|
+
destPath: "/v2/multi_service_bookings"
|
|
206
230
|
}
|
|
207
231
|
]
|
|
208
232
|
};
|
|
@@ -475,8 +499,8 @@ function rescheduleBooking(payload) {
|
|
|
475
499
|
}
|
|
476
500
|
return __rescheduleBooking;
|
|
477
501
|
}
|
|
478
|
-
function
|
|
479
|
-
function
|
|
502
|
+
function bookingsConfirmBooking(payload) {
|
|
503
|
+
function __bookingsConfirmBooking({ host }) {
|
|
480
504
|
const metadata = {
|
|
481
505
|
entityFqdn: "wix.bookings.v2.booking",
|
|
482
506
|
method: "POST",
|
|
@@ -510,7 +534,7 @@ function confirmBooking(payload) {
|
|
|
510
534
|
};
|
|
511
535
|
return metadata;
|
|
512
536
|
}
|
|
513
|
-
return
|
|
537
|
+
return __bookingsConfirmBooking;
|
|
514
538
|
}
|
|
515
539
|
function setBookingSubmissionId(payload) {
|
|
516
540
|
function __setBookingSubmissionId({ host }) {
|
|
@@ -567,8 +591,8 @@ function updateExtendedFields(payload) {
|
|
|
567
591
|
}
|
|
568
592
|
return __updateExtendedFields;
|
|
569
593
|
}
|
|
570
|
-
function
|
|
571
|
-
function
|
|
594
|
+
function bookingsDeclineBooking(payload) {
|
|
595
|
+
function __bookingsDeclineBooking({ host }) {
|
|
572
596
|
const metadata = {
|
|
573
597
|
entityFqdn: "wix.bookings.v2.booking",
|
|
574
598
|
method: "POST",
|
|
@@ -602,10 +626,10 @@ function declineBooking(payload) {
|
|
|
602
626
|
};
|
|
603
627
|
return metadata;
|
|
604
628
|
}
|
|
605
|
-
return
|
|
629
|
+
return __bookingsDeclineBooking;
|
|
606
630
|
}
|
|
607
|
-
function
|
|
608
|
-
function
|
|
631
|
+
function bookingsCancelBooking(payload) {
|
|
632
|
+
function __bookingsCancelBooking({ host }) {
|
|
609
633
|
const metadata = {
|
|
610
634
|
entityFqdn: "wix.bookings.v2.booking",
|
|
611
635
|
method: "POST",
|
|
@@ -639,10 +663,10 @@ function cancelBooking(payload) {
|
|
|
639
663
|
};
|
|
640
664
|
return metadata;
|
|
641
665
|
}
|
|
642
|
-
return
|
|
666
|
+
return __bookingsCancelBooking;
|
|
643
667
|
}
|
|
644
|
-
function
|
|
645
|
-
function
|
|
668
|
+
function bookingsUpdateNumberOfParticipants(payload) {
|
|
669
|
+
function __bookingsUpdateNumberOfParticipants({ host }) {
|
|
646
670
|
const metadata = {
|
|
647
671
|
entityFqdn: "wix.bookings.v2.booking",
|
|
648
672
|
method: "POST",
|
|
@@ -676,7 +700,7 @@ function updateNumberOfParticipants(payload) {
|
|
|
676
700
|
};
|
|
677
701
|
return metadata;
|
|
678
702
|
}
|
|
679
|
-
return
|
|
703
|
+
return __bookingsUpdateNumberOfParticipants;
|
|
680
704
|
}
|
|
681
705
|
function createMultiServiceBooking(payload) {
|
|
682
706
|
function __createMultiServiceBooking({ host }) {
|
|
@@ -1194,9 +1218,9 @@ function rescheduleBooking2() {
|
|
|
1194
1218
|
__originalResponseType: null
|
|
1195
1219
|
};
|
|
1196
1220
|
}
|
|
1197
|
-
function
|
|
1221
|
+
function confirmBooking() {
|
|
1198
1222
|
const payload = { bookingId: ":bookingId" };
|
|
1199
|
-
const getRequestOptions =
|
|
1223
|
+
const getRequestOptions = bookingsConfirmBooking(payload);
|
|
1200
1224
|
const getUrl = (context) => {
|
|
1201
1225
|
const { url } = getRequestOptions(context);
|
|
1202
1226
|
return url;
|
|
@@ -1248,9 +1272,9 @@ function updateExtendedFields2() {
|
|
|
1248
1272
|
__originalResponseType: null
|
|
1249
1273
|
};
|
|
1250
1274
|
}
|
|
1251
|
-
function
|
|
1275
|
+
function declineBooking() {
|
|
1252
1276
|
const payload = { bookingId: ":bookingId" };
|
|
1253
|
-
const getRequestOptions =
|
|
1277
|
+
const getRequestOptions = bookingsDeclineBooking(payload);
|
|
1254
1278
|
const getUrl = (context) => {
|
|
1255
1279
|
const { url } = getRequestOptions(context);
|
|
1256
1280
|
return url;
|
|
@@ -1266,9 +1290,9 @@ function declineBooking2() {
|
|
|
1266
1290
|
__originalResponseType: null
|
|
1267
1291
|
};
|
|
1268
1292
|
}
|
|
1269
|
-
function
|
|
1293
|
+
function cancelBooking() {
|
|
1270
1294
|
const payload = { bookingId: ":bookingId" };
|
|
1271
|
-
const getRequestOptions =
|
|
1295
|
+
const getRequestOptions = bookingsCancelBooking(payload);
|
|
1272
1296
|
const getUrl = (context) => {
|
|
1273
1297
|
const { url } = getRequestOptions(context);
|
|
1274
1298
|
return url;
|
|
@@ -1284,9 +1308,9 @@ function cancelBooking2() {
|
|
|
1284
1308
|
__originalResponseType: null
|
|
1285
1309
|
};
|
|
1286
1310
|
}
|
|
1287
|
-
function
|
|
1311
|
+
function updateNumberOfParticipants() {
|
|
1288
1312
|
const payload = { bookingId: ":bookingId" };
|
|
1289
|
-
const getRequestOptions =
|
|
1313
|
+
const getRequestOptions = bookingsUpdateNumberOfParticipants(payload);
|
|
1290
1314
|
const getUrl = (context) => {
|
|
1291
1315
|
const { url } = getRequestOptions(context);
|
|
1292
1316
|
return url;
|
|
@@ -1509,14 +1533,14 @@ export {
|
|
|
1509
1533
|
bulkConfirmOrDeclineBooking2 as bulkConfirmOrDeclineBooking,
|
|
1510
1534
|
bulkCreateBooking2 as bulkCreateBooking,
|
|
1511
1535
|
bulkGetMultiServiceBookingAllowedActions2 as bulkGetMultiServiceBookingAllowedActions,
|
|
1512
|
-
|
|
1536
|
+
cancelBooking,
|
|
1513
1537
|
cancelMultiServiceBooking2 as cancelMultiServiceBooking,
|
|
1514
|
-
|
|
1538
|
+
confirmBooking,
|
|
1515
1539
|
confirmMultiServiceBooking2 as confirmMultiServiceBooking,
|
|
1516
1540
|
confirmOrDeclineBooking2 as confirmOrDeclineBooking,
|
|
1517
1541
|
createBooking2 as createBooking,
|
|
1518
1542
|
createMultiServiceBooking2 as createMultiServiceBooking,
|
|
1519
|
-
|
|
1543
|
+
declineBooking,
|
|
1520
1544
|
declineMultiServiceBooking2 as declineMultiServiceBooking,
|
|
1521
1545
|
getMultiServiceBooking2 as getMultiServiceBooking,
|
|
1522
1546
|
getMultiServiceBookingAvailability2 as getMultiServiceBookingAvailability,
|
|
@@ -1526,6 +1550,6 @@ export {
|
|
|
1526
1550
|
rescheduleMultiServiceBooking2 as rescheduleMultiServiceBooking,
|
|
1527
1551
|
setBookingSubmissionId2 as setBookingSubmissionId,
|
|
1528
1552
|
updateExtendedFields2 as updateExtendedFields,
|
|
1529
|
-
|
|
1553
|
+
updateNumberOfParticipants
|
|
1530
1554
|
};
|
|
1531
1555
|
//# sourceMappingURL=meta.mjs.map
|