@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/cjs/meta.js
CHANGED
|
@@ -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
|
|
|
@@ -522,8 +522,8 @@ function rescheduleBooking(payload) {
|
|
|
522
522
|
}
|
|
523
523
|
return __rescheduleBooking;
|
|
524
524
|
}
|
|
525
|
-
function
|
|
526
|
-
function
|
|
525
|
+
function bookingsConfirmBooking(payload) {
|
|
526
|
+
function __bookingsConfirmBooking({ host }) {
|
|
527
527
|
const metadata = {
|
|
528
528
|
entityFqdn: "wix.bookings.v2.booking",
|
|
529
529
|
method: "POST",
|
|
@@ -557,7 +557,7 @@ function confirmBooking(payload) {
|
|
|
557
557
|
};
|
|
558
558
|
return metadata;
|
|
559
559
|
}
|
|
560
|
-
return
|
|
560
|
+
return __bookingsConfirmBooking;
|
|
561
561
|
}
|
|
562
562
|
function setBookingSubmissionId(payload) {
|
|
563
563
|
function __setBookingSubmissionId({ host }) {
|
|
@@ -614,8 +614,8 @@ function updateExtendedFields(payload) {
|
|
|
614
614
|
}
|
|
615
615
|
return __updateExtendedFields;
|
|
616
616
|
}
|
|
617
|
-
function
|
|
618
|
-
function
|
|
617
|
+
function bookingsDeclineBooking(payload) {
|
|
618
|
+
function __bookingsDeclineBooking({ host }) {
|
|
619
619
|
const metadata = {
|
|
620
620
|
entityFqdn: "wix.bookings.v2.booking",
|
|
621
621
|
method: "POST",
|
|
@@ -649,10 +649,10 @@ function declineBooking(payload) {
|
|
|
649
649
|
};
|
|
650
650
|
return metadata;
|
|
651
651
|
}
|
|
652
|
-
return
|
|
652
|
+
return __bookingsDeclineBooking;
|
|
653
653
|
}
|
|
654
|
-
function
|
|
655
|
-
function
|
|
654
|
+
function bookingsCancelBooking(payload) {
|
|
655
|
+
function __bookingsCancelBooking({ host }) {
|
|
656
656
|
const metadata = {
|
|
657
657
|
entityFqdn: "wix.bookings.v2.booking",
|
|
658
658
|
method: "POST",
|
|
@@ -686,10 +686,10 @@ function cancelBooking(payload) {
|
|
|
686
686
|
};
|
|
687
687
|
return metadata;
|
|
688
688
|
}
|
|
689
|
-
return
|
|
689
|
+
return __bookingsCancelBooking;
|
|
690
690
|
}
|
|
691
|
-
function
|
|
692
|
-
function
|
|
691
|
+
function bookingsUpdateNumberOfParticipants(payload) {
|
|
692
|
+
function __bookingsUpdateNumberOfParticipants({ host }) {
|
|
693
693
|
const metadata = {
|
|
694
694
|
entityFqdn: "wix.bookings.v2.booking",
|
|
695
695
|
method: "POST",
|
|
@@ -723,7 +723,7 @@ function updateNumberOfParticipants(payload) {
|
|
|
723
723
|
};
|
|
724
724
|
return metadata;
|
|
725
725
|
}
|
|
726
|
-
return
|
|
726
|
+
return __bookingsUpdateNumberOfParticipants;
|
|
727
727
|
}
|
|
728
728
|
function createMultiServiceBooking(payload) {
|
|
729
729
|
function __createMultiServiceBooking({ host }) {
|
|
@@ -1241,9 +1241,9 @@ function rescheduleBooking2() {
|
|
|
1241
1241
|
__originalResponseType: null
|
|
1242
1242
|
};
|
|
1243
1243
|
}
|
|
1244
|
-
function
|
|
1244
|
+
function confirmBooking() {
|
|
1245
1245
|
const payload = { bookingId: ":bookingId" };
|
|
1246
|
-
const getRequestOptions =
|
|
1246
|
+
const getRequestOptions = bookingsConfirmBooking(payload);
|
|
1247
1247
|
const getUrl = (context) => {
|
|
1248
1248
|
const { url } = getRequestOptions(context);
|
|
1249
1249
|
return url;
|
|
@@ -1295,9 +1295,9 @@ function updateExtendedFields2() {
|
|
|
1295
1295
|
__originalResponseType: null
|
|
1296
1296
|
};
|
|
1297
1297
|
}
|
|
1298
|
-
function
|
|
1298
|
+
function declineBooking() {
|
|
1299
1299
|
const payload = { bookingId: ":bookingId" };
|
|
1300
|
-
const getRequestOptions =
|
|
1300
|
+
const getRequestOptions = bookingsDeclineBooking(payload);
|
|
1301
1301
|
const getUrl = (context) => {
|
|
1302
1302
|
const { url } = getRequestOptions(context);
|
|
1303
1303
|
return url;
|
|
@@ -1313,9 +1313,9 @@ function declineBooking2() {
|
|
|
1313
1313
|
__originalResponseType: null
|
|
1314
1314
|
};
|
|
1315
1315
|
}
|
|
1316
|
-
function
|
|
1316
|
+
function cancelBooking() {
|
|
1317
1317
|
const payload = { bookingId: ":bookingId" };
|
|
1318
|
-
const getRequestOptions =
|
|
1318
|
+
const getRequestOptions = bookingsCancelBooking(payload);
|
|
1319
1319
|
const getUrl = (context) => {
|
|
1320
1320
|
const { url } = getRequestOptions(context);
|
|
1321
1321
|
return url;
|
|
@@ -1331,9 +1331,9 @@ function cancelBooking2() {
|
|
|
1331
1331
|
__originalResponseType: null
|
|
1332
1332
|
};
|
|
1333
1333
|
}
|
|
1334
|
-
function
|
|
1334
|
+
function updateNumberOfParticipants() {
|
|
1335
1335
|
const payload = { bookingId: ":bookingId" };
|
|
1336
|
-
const getRequestOptions =
|
|
1336
|
+
const getRequestOptions = bookingsUpdateNumberOfParticipants(payload);
|
|
1337
1337
|
const getUrl = (context) => {
|
|
1338
1338
|
const { url } = getRequestOptions(context);
|
|
1339
1339
|
return url;
|