@wix/auto_sdk_bookings_bookings 1.0.42 → 1.0.43

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.
@@ -24,14 +24,14 @@ __export(meta_exports, {
24
24
  bulkConfirmOrDeclineBooking: () => bulkConfirmOrDeclineBooking2,
25
25
  bulkCreateBooking: () => bulkCreateBooking2,
26
26
  bulkGetMultiServiceBookingAllowedActions: () => bulkGetMultiServiceBookingAllowedActions2,
27
- cancelBooking: () => cancelBooking,
27
+ cancelBooking: () => cancelBooking2,
28
28
  cancelMultiServiceBooking: () => cancelMultiServiceBooking2,
29
- confirmBooking: () => confirmBooking,
29
+ confirmBooking: () => confirmBooking2,
30
30
  confirmMultiServiceBooking: () => confirmMultiServiceBooking2,
31
31
  confirmOrDeclineBooking: () => confirmOrDeclineBooking2,
32
32
  createBooking: () => createBooking2,
33
33
  createMultiServiceBooking: () => createMultiServiceBooking2,
34
- declineBooking: () => declineBooking,
34
+ declineBooking: () => declineBooking2,
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: () => updateNumberOfParticipants
44
+ updateNumberOfParticipants: () => updateNumberOfParticipants2
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 bookingsConfirmBooking(payload) {
526
- function __bookingsConfirmBooking({ host }) {
525
+ function confirmBooking(payload) {
526
+ function __confirmBooking({ host }) {
527
527
  const metadata = {
528
528
  entityFqdn: "wix.bookings.v2.booking",
529
529
  method: "POST",
@@ -557,7 +557,7 @@ function bookingsConfirmBooking(payload) {
557
557
  };
558
558
  return metadata;
559
559
  }
560
- return __bookingsConfirmBooking;
560
+ return __confirmBooking;
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 bookingsDeclineBooking(payload) {
618
- function __bookingsDeclineBooking({ host }) {
617
+ function declineBooking(payload) {
618
+ function __declineBooking({ host }) {
619
619
  const metadata = {
620
620
  entityFqdn: "wix.bookings.v2.booking",
621
621
  method: "POST",
@@ -649,10 +649,10 @@ function bookingsDeclineBooking(payload) {
649
649
  };
650
650
  return metadata;
651
651
  }
652
- return __bookingsDeclineBooking;
652
+ return __declineBooking;
653
653
  }
654
- function bookingsCancelBooking(payload) {
655
- function __bookingsCancelBooking({ host }) {
654
+ function cancelBooking(payload) {
655
+ function __cancelBooking({ host }) {
656
656
  const metadata = {
657
657
  entityFqdn: "wix.bookings.v2.booking",
658
658
  method: "POST",
@@ -686,10 +686,10 @@ function bookingsCancelBooking(payload) {
686
686
  };
687
687
  return metadata;
688
688
  }
689
- return __bookingsCancelBooking;
689
+ return __cancelBooking;
690
690
  }
691
- function bookingsUpdateNumberOfParticipants(payload) {
692
- function __bookingsUpdateNumberOfParticipants({ host }) {
691
+ function updateNumberOfParticipants(payload) {
692
+ function __updateNumberOfParticipants({ host }) {
693
693
  const metadata = {
694
694
  entityFqdn: "wix.bookings.v2.booking",
695
695
  method: "POST",
@@ -723,7 +723,7 @@ function bookingsUpdateNumberOfParticipants(payload) {
723
723
  };
724
724
  return metadata;
725
725
  }
726
- return __bookingsUpdateNumberOfParticipants;
726
+ return __updateNumberOfParticipants;
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 confirmBooking() {
1244
+ function confirmBooking2() {
1245
1245
  const payload = { bookingId: ":bookingId" };
1246
- const getRequestOptions = bookingsConfirmBooking(payload);
1246
+ const getRequestOptions = confirmBooking(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 declineBooking() {
1298
+ function declineBooking2() {
1299
1299
  const payload = { bookingId: ":bookingId" };
1300
- const getRequestOptions = bookingsDeclineBooking(payload);
1300
+ const getRequestOptions = declineBooking(payload);
1301
1301
  const getUrl = (context) => {
1302
1302
  const { url } = getRequestOptions(context);
1303
1303
  return url;
@@ -1313,9 +1313,9 @@ function declineBooking() {
1313
1313
  __originalResponseType: null
1314
1314
  };
1315
1315
  }
1316
- function cancelBooking() {
1316
+ function cancelBooking2() {
1317
1317
  const payload = { bookingId: ":bookingId" };
1318
- const getRequestOptions = bookingsCancelBooking(payload);
1318
+ const getRequestOptions = cancelBooking(payload);
1319
1319
  const getUrl = (context) => {
1320
1320
  const { url } = getRequestOptions(context);
1321
1321
  return url;
@@ -1331,9 +1331,9 @@ function cancelBooking() {
1331
1331
  __originalResponseType: null
1332
1332
  };
1333
1333
  }
1334
- function updateNumberOfParticipants() {
1334
+ function updateNumberOfParticipants2() {
1335
1335
  const payload = { bookingId: ":bookingId" };
1336
- const getRequestOptions = bookingsUpdateNumberOfParticipants(payload);
1336
+ const getRequestOptions = updateNumberOfParticipants(payload);
1337
1337
  const getUrl = (context) => {
1338
1338
  const { url } = getRequestOptions(context);
1339
1339
  return url;