@wix/auto_sdk_bookings_bookings 1.0.113 → 1.0.115

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +81 -72
  2. package/build/cjs/index.js +247 -247
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +365 -346
  5. package/build/cjs/index.typings.js +217 -217
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +261 -255
  8. package/build/cjs/meta.js +195 -195
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +81 -72
  11. package/build/es/index.mjs +247 -247
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +365 -346
  14. package/build/es/index.typings.mjs +217 -217
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +261 -255
  17. package/build/es/meta.mjs +195 -195
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +81 -72
  20. package/build/internal/cjs/index.js +247 -247
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +365 -346
  23. package/build/internal/cjs/index.typings.js +217 -217
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +261 -255
  26. package/build/internal/cjs/meta.js +195 -195
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +81 -72
  29. package/build/internal/es/index.mjs +247 -247
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +365 -346
  32. package/build/internal/es/index.typings.mjs +217 -217
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +261 -255
  35. package/build/internal/es/meta.mjs +195 -195
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
package/build/cjs/meta.js CHANGED
@@ -39,15 +39,15 @@ __export(meta_exports, {
39
39
  bulkConfirmOrDeclineBooking: () => bulkConfirmOrDeclineBooking2,
40
40
  bulkCreateBooking: () => bulkCreateBooking2,
41
41
  bulkGetMultiServiceBookingAllowedActions: () => bulkGetMultiServiceBookingAllowedActions2,
42
- cancelBooking: () => cancelBooking,
42
+ cancelBooking: () => cancelBooking2,
43
43
  cancelBookingAnonymously: () => cancelBookingAnonymously2,
44
44
  cancelMultiServiceBooking: () => cancelMultiServiceBooking2,
45
- confirmBooking: () => confirmBooking,
45
+ confirmBooking: () => confirmBooking2,
46
46
  confirmMultiServiceBooking: () => confirmMultiServiceBooking2,
47
47
  confirmOrDeclineBooking: () => confirmOrDeclineBooking2,
48
48
  createBooking: () => createBooking2,
49
49
  createMultiServiceBooking: () => createMultiServiceBooking2,
50
- declineBooking: () => declineBooking,
50
+ declineBooking: () => declineBooking2,
51
51
  declineMultiServiceBooking: () => declineMultiServiceBooking2,
52
52
  getAnonymousActionDetails: () => getAnonymousActionDetails2,
53
53
  getBookingAnonymously: () => getBookingAnonymously2,
@@ -62,7 +62,7 @@ __export(meta_exports, {
62
62
  rescheduleMultiServiceBooking: () => rescheduleMultiServiceBooking2,
63
63
  setBookingSubmissionId: () => setBookingSubmissionId2,
64
64
  updateExtendedFields: () => updateExtendedFields2,
65
- updateNumberOfParticipants: () => updateNumberOfParticipants
65
+ updateNumberOfParticipants: () => updateNumberOfParticipants2
66
66
  });
67
67
  module.exports = __toCommonJS(meta_exports);
68
68
 
@@ -380,57 +380,6 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
380
380
  };
381
381
  return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
382
382
  }
383
- function resolveComWixpressBookingsConfirmatorV2ConfirmatorUrl(opts) {
384
- const domainToMappings = {
385
- "www.wixapis.com": [
386
- {
387
- srcPath: "/_api/bookings-confirmator/v2/bookings/confirmation",
388
- destPath: "/v2/bookings/confirmation"
389
- },
390
- {
391
- srcPath: "/bookings/v2/confirmation",
392
- destPath: "/v2/confirmation"
393
- },
394
- {
395
- srcPath: "/bookings/v2/bulk/confirmation",
396
- destPath: "/v2/bulk/confirmation"
397
- },
398
- {
399
- srcPath: "/bookings/v2/bulk/bookings/confirmOrDecline",
400
- destPath: "/v2/bulk/bookings/confirmOrDecline"
401
- },
402
- {
403
- srcPath: "/_api/bookings-confirmator/v2/bulk/confirmation",
404
- destPath: "/v2/bulk/confirmation"
405
- },
406
- {
407
- srcPath: "/_api/bookings-confirmator/v2/bulk/bookings/confirmOrDecline",
408
- destPath: "/v2/bulk/bookings/confirmOrDecline"
409
- }
410
- ],
411
- "*.dev.wix-code.com": [
412
- {
413
- srcPath: "/bookings/v2/confirmation",
414
- destPath: "/v2/confirmation"
415
- },
416
- {
417
- srcPath: "/bookings/v2/bulk/bookings",
418
- destPath: "/v2/bulk/bookings"
419
- }
420
- ],
421
- _: [
422
- {
423
- srcPath: "/bookings/v2/confirmation",
424
- destPath: "/v2/confirmation"
425
- },
426
- {
427
- srcPath: "/bookings/v2/bulk/bookings",
428
- destPath: "/v2/bulk/bookings"
429
- }
430
- ]
431
- };
432
- return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
433
- }
434
383
  function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
435
384
  const domainToMappings = {
436
385
  _: [
@@ -584,7 +533,142 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
584
533
  };
585
534
  return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
586
535
  }
536
+ function resolveComWixpressBookingsConfirmatorV2ConfirmatorUrl(opts) {
537
+ const domainToMappings = {
538
+ "www.wixapis.com": [
539
+ {
540
+ srcPath: "/_api/bookings-confirmator/v2/bookings/confirmation",
541
+ destPath: "/v2/bookings/confirmation"
542
+ },
543
+ {
544
+ srcPath: "/bookings/v2/confirmation",
545
+ destPath: "/v2/confirmation"
546
+ },
547
+ {
548
+ srcPath: "/bookings/v2/bulk/confirmation",
549
+ destPath: "/v2/bulk/confirmation"
550
+ },
551
+ {
552
+ srcPath: "/bookings/v2/bulk/bookings/confirmOrDecline",
553
+ destPath: "/v2/bulk/bookings/confirmOrDecline"
554
+ },
555
+ {
556
+ srcPath: "/_api/bookings-confirmator/v2/bulk/confirmation",
557
+ destPath: "/v2/bulk/confirmation"
558
+ },
559
+ {
560
+ srcPath: "/_api/bookings-confirmator/v2/bulk/bookings/confirmOrDecline",
561
+ destPath: "/v2/bulk/bookings/confirmOrDecline"
562
+ }
563
+ ],
564
+ "*.dev.wix-code.com": [
565
+ {
566
+ srcPath: "/bookings/v2/confirmation",
567
+ destPath: "/v2/confirmation"
568
+ },
569
+ {
570
+ srcPath: "/bookings/v2/bulk/bookings",
571
+ destPath: "/v2/bulk/bookings"
572
+ }
573
+ ],
574
+ _: [
575
+ {
576
+ srcPath: "/bookings/v2/confirmation",
577
+ destPath: "/v2/confirmation"
578
+ },
579
+ {
580
+ srcPath: "/bookings/v2/bulk/bookings",
581
+ destPath: "/v2/bulk/bookings"
582
+ }
583
+ ]
584
+ };
585
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
586
+ }
587
587
  var PACKAGE_NAME = "@wix/auto_sdk_bookings_bookings";
588
+ function confirmOrDeclineBooking(payload) {
589
+ function __confirmOrDeclineBooking({ host }) {
590
+ const metadata = {
591
+ entityFqdn: "wix.bookings.v2.booking",
592
+ method: "POST",
593
+ methodFqn: "com.wixpress.bookings.confirmator.v2.Confirmator.ConfirmOrDeclineBooking",
594
+ packageName: PACKAGE_NAME,
595
+ migrationOptions: {
596
+ optInTransformResponse: true
597
+ },
598
+ url: resolveComWixpressBookingsConfirmatorV2ConfirmatorUrl({
599
+ protoPath: "/v2/confirmation/{bookingId}:confirmOrDecline",
600
+ data: payload,
601
+ host
602
+ }),
603
+ data: payload,
604
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
605
+ {
606
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
607
+ paths: [
608
+ { path: "booking.createdDate" },
609
+ { path: "booking.startDate" },
610
+ { path: "booking.endDate" },
611
+ { path: "booking.updatedDate" },
612
+ { path: "booking.canceledDate" }
613
+ ]
614
+ },
615
+ {
616
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
617
+ paths: [
618
+ { path: "booking.contactDetails.fullAddress.geocode.latitude" },
619
+ { path: "booking.contactDetails.fullAddress.geocode.longitude" }
620
+ ]
621
+ }
622
+ ])
623
+ };
624
+ return metadata;
625
+ }
626
+ return __confirmOrDeclineBooking;
627
+ }
628
+ function bulkConfirmOrDeclineBooking(payload) {
629
+ function __bulkConfirmOrDeclineBooking({ host }) {
630
+ const metadata = {
631
+ entityFqdn: "wix.bookings.v2.booking",
632
+ method: "POST",
633
+ methodFqn: "com.wixpress.bookings.confirmator.v2.Confirmator.BulkConfirmOrDeclineBooking",
634
+ packageName: PACKAGE_NAME,
635
+ migrationOptions: {
636
+ optInTransformResponse: true
637
+ },
638
+ url: resolveComWixpressBookingsConfirmatorV2ConfirmatorUrl({
639
+ protoPath: "/v2/bulk/bookings/confirmOrDecline",
640
+ data: payload,
641
+ host
642
+ }),
643
+ data: payload,
644
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
645
+ {
646
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
647
+ paths: [
648
+ { path: "results.item.createdDate" },
649
+ { path: "results.item.startDate" },
650
+ { path: "results.item.endDate" },
651
+ { path: "results.item.updatedDate" },
652
+ { path: "results.item.canceledDate" }
653
+ ]
654
+ },
655
+ {
656
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
657
+ paths: [
658
+ {
659
+ path: "results.item.contactDetails.fullAddress.geocode.latitude"
660
+ },
661
+ {
662
+ path: "results.item.contactDetails.fullAddress.geocode.longitude"
663
+ }
664
+ ]
665
+ }
666
+ ])
667
+ };
668
+ return metadata;
669
+ }
670
+ return __bulkConfirmOrDeclineBooking;
671
+ }
588
672
  function createMultiServiceBooking(payload) {
589
673
  function __createMultiServiceBooking({ host }) {
590
674
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
@@ -1042,90 +1126,6 @@ function removeBookingsFromMultiServiceBooking(payload) {
1042
1126
  }
1043
1127
  return __removeBookingsFromMultiServiceBooking;
1044
1128
  }
1045
- function confirmOrDeclineBooking(payload) {
1046
- function __confirmOrDeclineBooking({ host }) {
1047
- const metadata = {
1048
- entityFqdn: "wix.bookings.v2.booking",
1049
- method: "POST",
1050
- methodFqn: "com.wixpress.bookings.confirmator.v2.Confirmator.ConfirmOrDeclineBooking",
1051
- packageName: PACKAGE_NAME,
1052
- migrationOptions: {
1053
- optInTransformResponse: true
1054
- },
1055
- url: resolveComWixpressBookingsConfirmatorV2ConfirmatorUrl({
1056
- protoPath: "/v2/confirmation/{bookingId}:confirmOrDecline",
1057
- data: payload,
1058
- host
1059
- }),
1060
- data: payload,
1061
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1062
- {
1063
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1064
- paths: [
1065
- { path: "booking.createdDate" },
1066
- { path: "booking.startDate" },
1067
- { path: "booking.endDate" },
1068
- { path: "booking.updatedDate" },
1069
- { path: "booking.canceledDate" }
1070
- ]
1071
- },
1072
- {
1073
- transformFn: import_float2.transformRESTFloatToSDKFloat,
1074
- paths: [
1075
- { path: "booking.contactDetails.fullAddress.geocode.latitude" },
1076
- { path: "booking.contactDetails.fullAddress.geocode.longitude" }
1077
- ]
1078
- }
1079
- ])
1080
- };
1081
- return metadata;
1082
- }
1083
- return __confirmOrDeclineBooking;
1084
- }
1085
- function bulkConfirmOrDeclineBooking(payload) {
1086
- function __bulkConfirmOrDeclineBooking({ host }) {
1087
- const metadata = {
1088
- entityFqdn: "wix.bookings.v2.booking",
1089
- method: "POST",
1090
- methodFqn: "com.wixpress.bookings.confirmator.v2.Confirmator.BulkConfirmOrDeclineBooking",
1091
- packageName: PACKAGE_NAME,
1092
- migrationOptions: {
1093
- optInTransformResponse: true
1094
- },
1095
- url: resolveComWixpressBookingsConfirmatorV2ConfirmatorUrl({
1096
- protoPath: "/v2/bulk/bookings/confirmOrDecline",
1097
- data: payload,
1098
- host
1099
- }),
1100
- data: payload,
1101
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1102
- {
1103
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1104
- paths: [
1105
- { path: "results.item.createdDate" },
1106
- { path: "results.item.startDate" },
1107
- { path: "results.item.endDate" },
1108
- { path: "results.item.updatedDate" },
1109
- { path: "results.item.canceledDate" }
1110
- ]
1111
- },
1112
- {
1113
- transformFn: import_float2.transformRESTFloatToSDKFloat,
1114
- paths: [
1115
- {
1116
- path: "results.item.contactDetails.fullAddress.geocode.latitude"
1117
- },
1118
- {
1119
- path: "results.item.contactDetails.fullAddress.geocode.longitude"
1120
- }
1121
- ]
1122
- }
1123
- ])
1124
- };
1125
- return metadata;
1126
- }
1127
- return __bulkConfirmOrDeclineBooking;
1128
- }
1129
1129
  function createBooking(payload) {
1130
1130
  function __createBooking({ host }) {
1131
1131
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
@@ -1292,8 +1292,8 @@ function rescheduleBooking(payload) {
1292
1292
  }
1293
1293
  return __rescheduleBooking;
1294
1294
  }
1295
- function bookingsConfirmBooking(payload) {
1296
- function __bookingsConfirmBooking({ host }) {
1295
+ function confirmBooking(payload) {
1296
+ function __confirmBooking({ host }) {
1297
1297
  const metadata = {
1298
1298
  entityFqdn: "wix.bookings.v2.booking",
1299
1299
  method: "POST",
@@ -1330,7 +1330,7 @@ function bookingsConfirmBooking(payload) {
1330
1330
  };
1331
1331
  return metadata;
1332
1332
  }
1333
- return __bookingsConfirmBooking;
1333
+ return __confirmBooking;
1334
1334
  }
1335
1335
  function setBookingSubmissionId(payload) {
1336
1336
  function __setBookingSubmissionId({ host }) {
@@ -1393,8 +1393,8 @@ function updateExtendedFields(payload) {
1393
1393
  }
1394
1394
  return __updateExtendedFields;
1395
1395
  }
1396
- function bookingsDeclineBooking(payload) {
1397
- function __bookingsDeclineBooking({ host }) {
1396
+ function declineBooking(payload) {
1397
+ function __declineBooking({ host }) {
1398
1398
  const metadata = {
1399
1399
  entityFqdn: "wix.bookings.v2.booking",
1400
1400
  method: "POST",
@@ -1431,10 +1431,10 @@ function bookingsDeclineBooking(payload) {
1431
1431
  };
1432
1432
  return metadata;
1433
1433
  }
1434
- return __bookingsDeclineBooking;
1434
+ return __declineBooking;
1435
1435
  }
1436
- function bookingsCancelBooking(payload) {
1437
- function __bookingsCancelBooking({ host }) {
1436
+ function cancelBooking(payload) {
1437
+ function __cancelBooking({ host }) {
1438
1438
  const metadata = {
1439
1439
  entityFqdn: "wix.bookings.v2.booking",
1440
1440
  method: "POST",
@@ -1471,10 +1471,10 @@ function bookingsCancelBooking(payload) {
1471
1471
  };
1472
1472
  return metadata;
1473
1473
  }
1474
- return __bookingsCancelBooking;
1474
+ return __cancelBooking;
1475
1475
  }
1476
- function bookingsUpdateNumberOfParticipants(payload) {
1477
- function __bookingsUpdateNumberOfParticipants({ host }) {
1476
+ function updateNumberOfParticipants(payload) {
1477
+ function __updateNumberOfParticipants({ host }) {
1478
1478
  const metadata = {
1479
1479
  entityFqdn: "wix.bookings.v2.booking",
1480
1480
  method: "POST",
@@ -1511,7 +1511,7 @@ function bookingsUpdateNumberOfParticipants(payload) {
1511
1511
  };
1512
1512
  return metadata;
1513
1513
  }
1514
- return __bookingsUpdateNumberOfParticipants;
1514
+ return __updateNumberOfParticipants;
1515
1515
  }
1516
1516
  function bulkCalculateAllowedActions(payload) {
1517
1517
  function __bulkCalculateAllowedActions({ host }) {
@@ -1840,6 +1840,42 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
1840
1840
  })(SortOrder || {});
1841
1841
 
1842
1842
  // src/bookings-v2-booking-bookings.meta.ts
1843
+ function confirmOrDeclineBooking2() {
1844
+ const payload = { bookingId: ":bookingId" };
1845
+ const getRequestOptions = confirmOrDeclineBooking(payload);
1846
+ const getUrl = (context) => {
1847
+ const { url } = getRequestOptions(context);
1848
+ return url;
1849
+ };
1850
+ return {
1851
+ getUrl,
1852
+ httpMethod: "POST",
1853
+ path: "/v2/confirmation/{bookingId}:confirmOrDecline",
1854
+ pathParams: { bookingId: "bookingId" },
1855
+ __requestType: null,
1856
+ __originalRequestType: null,
1857
+ __responseType: null,
1858
+ __originalResponseType: null
1859
+ };
1860
+ }
1861
+ function bulkConfirmOrDeclineBooking2() {
1862
+ const payload = {};
1863
+ const getRequestOptions = bulkConfirmOrDeclineBooking(payload);
1864
+ const getUrl = (context) => {
1865
+ const { url } = getRequestOptions(context);
1866
+ return url;
1867
+ };
1868
+ return {
1869
+ getUrl,
1870
+ httpMethod: "POST",
1871
+ path: "/v2/bulk/bookings/confirmOrDecline",
1872
+ pathParams: {},
1873
+ __requestType: null,
1874
+ __originalRequestType: null,
1875
+ __responseType: null,
1876
+ __originalResponseType: null
1877
+ };
1878
+ }
1843
1879
  function createMultiServiceBooking2() {
1844
1880
  const payload = {};
1845
1881
  const getRequestOptions = createMultiServiceBooking(payload);
@@ -2042,42 +2078,6 @@ function removeBookingsFromMultiServiceBooking2() {
2042
2078
  __originalResponseType: null
2043
2079
  };
2044
2080
  }
2045
- function confirmOrDeclineBooking2() {
2046
- const payload = { bookingId: ":bookingId" };
2047
- const getRequestOptions = confirmOrDeclineBooking(payload);
2048
- const getUrl = (context) => {
2049
- const { url } = getRequestOptions(context);
2050
- return url;
2051
- };
2052
- return {
2053
- getUrl,
2054
- httpMethod: "POST",
2055
- path: "/v2/confirmation/{bookingId}:confirmOrDecline",
2056
- pathParams: { bookingId: "bookingId" },
2057
- __requestType: null,
2058
- __originalRequestType: null,
2059
- __responseType: null,
2060
- __originalResponseType: null
2061
- };
2062
- }
2063
- function bulkConfirmOrDeclineBooking2() {
2064
- const payload = {};
2065
- const getRequestOptions = bulkConfirmOrDeclineBooking(payload);
2066
- const getUrl = (context) => {
2067
- const { url } = getRequestOptions(context);
2068
- return url;
2069
- };
2070
- return {
2071
- getUrl,
2072
- httpMethod: "POST",
2073
- path: "/v2/bulk/bookings/confirmOrDecline",
2074
- pathParams: {},
2075
- __requestType: null,
2076
- __originalRequestType: null,
2077
- __responseType: null,
2078
- __originalResponseType: null
2079
- };
2080
- }
2081
2081
  function createBooking2() {
2082
2082
  const payload = {};
2083
2083
  const getRequestOptions = createBooking(payload);
@@ -2132,9 +2132,9 @@ function rescheduleBooking2() {
2132
2132
  __originalResponseType: null
2133
2133
  };
2134
2134
  }
2135
- function confirmBooking() {
2135
+ function confirmBooking2() {
2136
2136
  const payload = { bookingId: ":bookingId" };
2137
- const getRequestOptions = bookingsConfirmBooking(payload);
2137
+ const getRequestOptions = confirmBooking(payload);
2138
2138
  const getUrl = (context) => {
2139
2139
  const { url } = getRequestOptions(context);
2140
2140
  return url;
@@ -2186,9 +2186,9 @@ function updateExtendedFields2() {
2186
2186
  __originalResponseType: null
2187
2187
  };
2188
2188
  }
2189
- function declineBooking() {
2189
+ function declineBooking2() {
2190
2190
  const payload = { bookingId: ":bookingId" };
2191
- const getRequestOptions = bookingsDeclineBooking(payload);
2191
+ const getRequestOptions = declineBooking(payload);
2192
2192
  const getUrl = (context) => {
2193
2193
  const { url } = getRequestOptions(context);
2194
2194
  return url;
@@ -2204,9 +2204,9 @@ function declineBooking() {
2204
2204
  __originalResponseType: null
2205
2205
  };
2206
2206
  }
2207
- function cancelBooking() {
2207
+ function cancelBooking2() {
2208
2208
  const payload = { bookingId: ":bookingId" };
2209
- const getRequestOptions = bookingsCancelBooking(payload);
2209
+ const getRequestOptions = cancelBooking(payload);
2210
2210
  const getUrl = (context) => {
2211
2211
  const { url } = getRequestOptions(context);
2212
2212
  return url;
@@ -2222,9 +2222,9 @@ function cancelBooking() {
2222
2222
  __originalResponseType: null
2223
2223
  };
2224
2224
  }
2225
- function updateNumberOfParticipants() {
2225
+ function updateNumberOfParticipants2() {
2226
2226
  const payload = { bookingId: ":bookingId" };
2227
- const getRequestOptions = bookingsUpdateNumberOfParticipants(payload);
2227
+ const getRequestOptions = updateNumberOfParticipants(payload);
2228
2228
  const getUrl = (context) => {
2229
2229
  const { url } = getRequestOptions(context);
2230
2230
  return url;