@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.
@@ -475,8 +475,8 @@ function rescheduleBooking(payload) {
475
475
  }
476
476
  return __rescheduleBooking;
477
477
  }
478
- function confirmBooking(payload) {
479
- function __confirmBooking({ host }) {
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 __confirmBooking;
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 declineBooking(payload) {
571
- function __declineBooking({ host }) {
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 __declineBooking;
605
+ return __bookingsDeclineBooking;
606
606
  }
607
- function cancelBooking(payload) {
608
- function __cancelBooking({ host }) {
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 __cancelBooking;
642
+ return __bookingsCancelBooking;
643
643
  }
644
- function updateNumberOfParticipants(payload) {
645
- function __updateNumberOfParticipants({ host }) {
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 __updateNumberOfParticipants;
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 confirmBooking2() {
1197
+ function confirmBooking() {
1198
1198
  const payload = { bookingId: ":bookingId" };
1199
- const getRequestOptions = confirmBooking(payload);
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 declineBooking2() {
1251
+ function declineBooking() {
1252
1252
  const payload = { bookingId: ":bookingId" };
1253
- const getRequestOptions = declineBooking(payload);
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 cancelBooking2() {
1269
+ function cancelBooking() {
1270
1270
  const payload = { bookingId: ":bookingId" };
1271
- const getRequestOptions = cancelBooking(payload);
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 updateNumberOfParticipants2() {
1287
+ function updateNumberOfParticipants() {
1288
1288
  const payload = { bookingId: ":bookingId" };
1289
- const getRequestOptions = updateNumberOfParticipants(payload);
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
- cancelBooking2 as cancelBooking,
1512
+ cancelBooking,
1513
1513
  cancelMultiServiceBooking2 as cancelMultiServiceBooking,
1514
- confirmBooking2 as confirmBooking,
1514
+ confirmBooking,
1515
1515
  confirmMultiServiceBooking2 as confirmMultiServiceBooking,
1516
1516
  confirmOrDeclineBooking2 as confirmOrDeclineBooking,
1517
1517
  createBooking2 as createBooking,
1518
1518
  createMultiServiceBooking2 as createMultiServiceBooking,
1519
- declineBooking2 as declineBooking,
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
- updateNumberOfParticipants2 as updateNumberOfParticipants
1529
+ updateNumberOfParticipants
1530
1530
  };
1531
1531
  //# sourceMappingURL=meta.mjs.map