@wix/auto_sdk_bookings_bookings 1.0.43 → 1.0.44
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 +36 -36
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +24 -24
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +24 -24
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +36 -36
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +24 -24
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +24 -24
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +36 -36
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +24 -24
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +24 -24
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +36 -36
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +24 -24
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +24 -24
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/meta.mjs
CHANGED
|
@@ -475,8 +475,8 @@ function rescheduleBooking(payload) {
|
|
|
475
475
|
}
|
|
476
476
|
return __rescheduleBooking;
|
|
477
477
|
}
|
|
478
|
-
function
|
|
479
|
-
function
|
|
478
|
+
function bookingsConfirmBooking(payload) {
|
|
479
|
+
function __bookingsConfirmBooking({ host }) {
|
|
480
480
|
const metadata = {
|
|
481
481
|
entityFqdn: "wix.bookings.v2.booking",
|
|
482
482
|
method: "POST",
|
|
@@ -510,7 +510,7 @@ function confirmBooking(payload) {
|
|
|
510
510
|
};
|
|
511
511
|
return metadata;
|
|
512
512
|
}
|
|
513
|
-
return
|
|
513
|
+
return __bookingsConfirmBooking;
|
|
514
514
|
}
|
|
515
515
|
function setBookingSubmissionId(payload) {
|
|
516
516
|
function __setBookingSubmissionId({ host }) {
|
|
@@ -567,8 +567,8 @@ function updateExtendedFields(payload) {
|
|
|
567
567
|
}
|
|
568
568
|
return __updateExtendedFields;
|
|
569
569
|
}
|
|
570
|
-
function
|
|
571
|
-
function
|
|
570
|
+
function bookingsDeclineBooking(payload) {
|
|
571
|
+
function __bookingsDeclineBooking({ host }) {
|
|
572
572
|
const metadata = {
|
|
573
573
|
entityFqdn: "wix.bookings.v2.booking",
|
|
574
574
|
method: "POST",
|
|
@@ -602,10 +602,10 @@ function declineBooking(payload) {
|
|
|
602
602
|
};
|
|
603
603
|
return metadata;
|
|
604
604
|
}
|
|
605
|
-
return
|
|
605
|
+
return __bookingsDeclineBooking;
|
|
606
606
|
}
|
|
607
|
-
function
|
|
608
|
-
function
|
|
607
|
+
function bookingsCancelBooking(payload) {
|
|
608
|
+
function __bookingsCancelBooking({ host }) {
|
|
609
609
|
const metadata = {
|
|
610
610
|
entityFqdn: "wix.bookings.v2.booking",
|
|
611
611
|
method: "POST",
|
|
@@ -639,10 +639,10 @@ function cancelBooking(payload) {
|
|
|
639
639
|
};
|
|
640
640
|
return metadata;
|
|
641
641
|
}
|
|
642
|
-
return
|
|
642
|
+
return __bookingsCancelBooking;
|
|
643
643
|
}
|
|
644
|
-
function
|
|
645
|
-
function
|
|
644
|
+
function bookingsUpdateNumberOfParticipants(payload) {
|
|
645
|
+
function __bookingsUpdateNumberOfParticipants({ host }) {
|
|
646
646
|
const metadata = {
|
|
647
647
|
entityFqdn: "wix.bookings.v2.booking",
|
|
648
648
|
method: "POST",
|
|
@@ -676,7 +676,7 @@ function updateNumberOfParticipants(payload) {
|
|
|
676
676
|
};
|
|
677
677
|
return metadata;
|
|
678
678
|
}
|
|
679
|
-
return
|
|
679
|
+
return __bookingsUpdateNumberOfParticipants;
|
|
680
680
|
}
|
|
681
681
|
function createMultiServiceBooking(payload) {
|
|
682
682
|
function __createMultiServiceBooking({ host }) {
|
|
@@ -1194,9 +1194,9 @@ function rescheduleBooking2() {
|
|
|
1194
1194
|
__originalResponseType: null
|
|
1195
1195
|
};
|
|
1196
1196
|
}
|
|
1197
|
-
function
|
|
1197
|
+
function confirmBooking() {
|
|
1198
1198
|
const payload = { bookingId: ":bookingId" };
|
|
1199
|
-
const getRequestOptions =
|
|
1199
|
+
const getRequestOptions = bookingsConfirmBooking(payload);
|
|
1200
1200
|
const getUrl = (context) => {
|
|
1201
1201
|
const { url } = getRequestOptions(context);
|
|
1202
1202
|
return url;
|
|
@@ -1248,9 +1248,9 @@ function updateExtendedFields2() {
|
|
|
1248
1248
|
__originalResponseType: null
|
|
1249
1249
|
};
|
|
1250
1250
|
}
|
|
1251
|
-
function
|
|
1251
|
+
function declineBooking() {
|
|
1252
1252
|
const payload = { bookingId: ":bookingId" };
|
|
1253
|
-
const getRequestOptions =
|
|
1253
|
+
const getRequestOptions = bookingsDeclineBooking(payload);
|
|
1254
1254
|
const getUrl = (context) => {
|
|
1255
1255
|
const { url } = getRequestOptions(context);
|
|
1256
1256
|
return url;
|
|
@@ -1266,9 +1266,9 @@ function declineBooking2() {
|
|
|
1266
1266
|
__originalResponseType: null
|
|
1267
1267
|
};
|
|
1268
1268
|
}
|
|
1269
|
-
function
|
|
1269
|
+
function cancelBooking() {
|
|
1270
1270
|
const payload = { bookingId: ":bookingId" };
|
|
1271
|
-
const getRequestOptions =
|
|
1271
|
+
const getRequestOptions = bookingsCancelBooking(payload);
|
|
1272
1272
|
const getUrl = (context) => {
|
|
1273
1273
|
const { url } = getRequestOptions(context);
|
|
1274
1274
|
return url;
|
|
@@ -1284,9 +1284,9 @@ function cancelBooking2() {
|
|
|
1284
1284
|
__originalResponseType: null
|
|
1285
1285
|
};
|
|
1286
1286
|
}
|
|
1287
|
-
function
|
|
1287
|
+
function updateNumberOfParticipants() {
|
|
1288
1288
|
const payload = { bookingId: ":bookingId" };
|
|
1289
|
-
const getRequestOptions =
|
|
1289
|
+
const getRequestOptions = bookingsUpdateNumberOfParticipants(payload);
|
|
1290
1290
|
const getUrl = (context) => {
|
|
1291
1291
|
const { url } = getRequestOptions(context);
|
|
1292
1292
|
return url;
|
|
@@ -1509,14 +1509,14 @@ export {
|
|
|
1509
1509
|
bulkConfirmOrDeclineBooking2 as bulkConfirmOrDeclineBooking,
|
|
1510
1510
|
bulkCreateBooking2 as bulkCreateBooking,
|
|
1511
1511
|
bulkGetMultiServiceBookingAllowedActions2 as bulkGetMultiServiceBookingAllowedActions,
|
|
1512
|
-
|
|
1512
|
+
cancelBooking,
|
|
1513
1513
|
cancelMultiServiceBooking2 as cancelMultiServiceBooking,
|
|
1514
|
-
|
|
1514
|
+
confirmBooking,
|
|
1515
1515
|
confirmMultiServiceBooking2 as confirmMultiServiceBooking,
|
|
1516
1516
|
confirmOrDeclineBooking2 as confirmOrDeclineBooking,
|
|
1517
1517
|
createBooking2 as createBooking,
|
|
1518
1518
|
createMultiServiceBooking2 as createMultiServiceBooking,
|
|
1519
|
-
|
|
1519
|
+
declineBooking,
|
|
1520
1520
|
declineMultiServiceBooking2 as declineMultiServiceBooking,
|
|
1521
1521
|
getMultiServiceBooking2 as getMultiServiceBooking,
|
|
1522
1522
|
getMultiServiceBookingAvailability2 as getMultiServiceBookingAvailability,
|
|
@@ -1526,6 +1526,6 @@ export {
|
|
|
1526
1526
|
rescheduleMultiServiceBooking2 as rescheduleMultiServiceBooking,
|
|
1527
1527
|
setBookingSubmissionId2 as setBookingSubmissionId,
|
|
1528
1528
|
updateExtendedFields2 as updateExtendedFields,
|
|
1529
|
-
|
|
1529
|
+
updateNumberOfParticipants
|
|
1530
1530
|
};
|
|
1531
1531
|
//# sourceMappingURL=meta.mjs.map
|