@wix/auto_sdk_bookings_bookings 1.0.108 → 1.0.110
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.d.ts +85 -74
- package/build/cjs/index.js +267 -211
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +377 -349
- package/build/cjs/index.typings.js +241 -193
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +264 -247
- package/build/cjs/meta.js +212 -171
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +85 -74
- package/build/es/index.mjs +266 -211
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +377 -349
- package/build/es/index.typings.mjs +240 -193
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +264 -247
- package/build/es/meta.mjs +211 -171
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +85 -74
- package/build/internal/cjs/index.js +267 -211
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +377 -349
- package/build/internal/cjs/index.typings.js +241 -193
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +264 -247
- package/build/internal/cjs/meta.js +212 -171
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +85 -74
- package/build/internal/es/index.mjs +266 -211
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +377 -349
- package/build/internal/es/index.typings.mjs +240 -193
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +264 -247
- package/build/internal/es/meta.mjs +211 -171
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.js
CHANGED
|
@@ -53,6 +53,7 @@ __export(meta_exports, {
|
|
|
53
53
|
getBookingAnonymously: () => getBookingAnonymously2,
|
|
54
54
|
getMultiServiceBooking: () => getMultiServiceBooking2,
|
|
55
55
|
getMultiServiceBookingAvailability: () => getMultiServiceBookingAvailability2,
|
|
56
|
+
getSchedulingUrl: () => getSchedulingUrl2,
|
|
56
57
|
markBookingAsPending: () => markBookingAsPending2,
|
|
57
58
|
markMultiServiceBookingAsPending: () => markMultiServiceBookingAsPending2,
|
|
58
59
|
removeBookingsFromMultiServiceBooking: () => removeBookingsFromMultiServiceBooking2,
|
|
@@ -379,57 +380,6 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
379
380
|
};
|
|
380
381
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
381
382
|
}
|
|
382
|
-
function resolveComWixpressBookingsConfirmatorV2ConfirmatorUrl(opts) {
|
|
383
|
-
const domainToMappings = {
|
|
384
|
-
"www.wixapis.com": [
|
|
385
|
-
{
|
|
386
|
-
srcPath: "/_api/bookings-confirmator/v2/bookings/confirmation",
|
|
387
|
-
destPath: "/v2/bookings/confirmation"
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
srcPath: "/bookings/v2/confirmation",
|
|
391
|
-
destPath: "/v2/confirmation"
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
srcPath: "/bookings/v2/bulk/confirmation",
|
|
395
|
-
destPath: "/v2/bulk/confirmation"
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
srcPath: "/bookings/v2/bulk/bookings/confirmOrDecline",
|
|
399
|
-
destPath: "/v2/bulk/bookings/confirmOrDecline"
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
srcPath: "/_api/bookings-confirmator/v2/bulk/confirmation",
|
|
403
|
-
destPath: "/v2/bulk/confirmation"
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
srcPath: "/_api/bookings-confirmator/v2/bulk/bookings/confirmOrDecline",
|
|
407
|
-
destPath: "/v2/bulk/bookings/confirmOrDecline"
|
|
408
|
-
}
|
|
409
|
-
],
|
|
410
|
-
"*.dev.wix-code.com": [
|
|
411
|
-
{
|
|
412
|
-
srcPath: "/bookings/v2/confirmation",
|
|
413
|
-
destPath: "/v2/confirmation"
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
srcPath: "/bookings/v2/bulk/bookings",
|
|
417
|
-
destPath: "/v2/bulk/bookings"
|
|
418
|
-
}
|
|
419
|
-
],
|
|
420
|
-
_: [
|
|
421
|
-
{
|
|
422
|
-
srcPath: "/bookings/v2/confirmation",
|
|
423
|
-
destPath: "/v2/confirmation"
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
srcPath: "/bookings/v2/bulk/bookings",
|
|
427
|
-
destPath: "/v2/bulk/bookings"
|
|
428
|
-
}
|
|
429
|
-
]
|
|
430
|
-
};
|
|
431
|
-
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
432
|
-
}
|
|
433
383
|
function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
|
|
434
384
|
const domainToMappings = {
|
|
435
385
|
_: [
|
|
@@ -583,7 +533,142 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
|
|
|
583
533
|
};
|
|
584
534
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
585
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
|
+
}
|
|
586
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
|
+
}
|
|
587
672
|
function createMultiServiceBooking(payload) {
|
|
588
673
|
function __createMultiServiceBooking({ host }) {
|
|
589
674
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
@@ -1041,90 +1126,6 @@ function removeBookingsFromMultiServiceBooking(payload) {
|
|
|
1041
1126
|
}
|
|
1042
1127
|
return __removeBookingsFromMultiServiceBooking;
|
|
1043
1128
|
}
|
|
1044
|
-
function confirmOrDeclineBooking(payload) {
|
|
1045
|
-
function __confirmOrDeclineBooking({ host }) {
|
|
1046
|
-
const metadata = {
|
|
1047
|
-
entityFqdn: "wix.bookings.v2.booking",
|
|
1048
|
-
method: "POST",
|
|
1049
|
-
methodFqn: "com.wixpress.bookings.confirmator.v2.Confirmator.ConfirmOrDeclineBooking",
|
|
1050
|
-
packageName: PACKAGE_NAME,
|
|
1051
|
-
migrationOptions: {
|
|
1052
|
-
optInTransformResponse: true
|
|
1053
|
-
},
|
|
1054
|
-
url: resolveComWixpressBookingsConfirmatorV2ConfirmatorUrl({
|
|
1055
|
-
protoPath: "/v2/confirmation/{bookingId}:confirmOrDecline",
|
|
1056
|
-
data: payload,
|
|
1057
|
-
host
|
|
1058
|
-
}),
|
|
1059
|
-
data: payload,
|
|
1060
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1061
|
-
{
|
|
1062
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1063
|
-
paths: [
|
|
1064
|
-
{ path: "booking.createdDate" },
|
|
1065
|
-
{ path: "booking.startDate" },
|
|
1066
|
-
{ path: "booking.endDate" },
|
|
1067
|
-
{ path: "booking.updatedDate" },
|
|
1068
|
-
{ path: "booking.canceledDate" }
|
|
1069
|
-
]
|
|
1070
|
-
},
|
|
1071
|
-
{
|
|
1072
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1073
|
-
paths: [
|
|
1074
|
-
{ path: "booking.contactDetails.fullAddress.geocode.latitude" },
|
|
1075
|
-
{ path: "booking.contactDetails.fullAddress.geocode.longitude" }
|
|
1076
|
-
]
|
|
1077
|
-
}
|
|
1078
|
-
])
|
|
1079
|
-
};
|
|
1080
|
-
return metadata;
|
|
1081
|
-
}
|
|
1082
|
-
return __confirmOrDeclineBooking;
|
|
1083
|
-
}
|
|
1084
|
-
function bulkConfirmOrDeclineBooking(payload) {
|
|
1085
|
-
function __bulkConfirmOrDeclineBooking({ host }) {
|
|
1086
|
-
const metadata = {
|
|
1087
|
-
entityFqdn: "wix.bookings.v2.booking",
|
|
1088
|
-
method: "POST",
|
|
1089
|
-
methodFqn: "com.wixpress.bookings.confirmator.v2.Confirmator.BulkConfirmOrDeclineBooking",
|
|
1090
|
-
packageName: PACKAGE_NAME,
|
|
1091
|
-
migrationOptions: {
|
|
1092
|
-
optInTransformResponse: true
|
|
1093
|
-
},
|
|
1094
|
-
url: resolveComWixpressBookingsConfirmatorV2ConfirmatorUrl({
|
|
1095
|
-
protoPath: "/v2/bulk/bookings/confirmOrDecline",
|
|
1096
|
-
data: payload,
|
|
1097
|
-
host
|
|
1098
|
-
}),
|
|
1099
|
-
data: payload,
|
|
1100
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1101
|
-
{
|
|
1102
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1103
|
-
paths: [
|
|
1104
|
-
{ path: "results.item.createdDate" },
|
|
1105
|
-
{ path: "results.item.startDate" },
|
|
1106
|
-
{ path: "results.item.endDate" },
|
|
1107
|
-
{ path: "results.item.updatedDate" },
|
|
1108
|
-
{ path: "results.item.canceledDate" }
|
|
1109
|
-
]
|
|
1110
|
-
},
|
|
1111
|
-
{
|
|
1112
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1113
|
-
paths: [
|
|
1114
|
-
{
|
|
1115
|
-
path: "results.item.contactDetails.fullAddress.geocode.latitude"
|
|
1116
|
-
},
|
|
1117
|
-
{
|
|
1118
|
-
path: "results.item.contactDetails.fullAddress.geocode.longitude"
|
|
1119
|
-
}
|
|
1120
|
-
]
|
|
1121
|
-
}
|
|
1122
|
-
])
|
|
1123
|
-
};
|
|
1124
|
-
return metadata;
|
|
1125
|
-
}
|
|
1126
|
-
return __bulkConfirmOrDeclineBooking;
|
|
1127
|
-
}
|
|
1128
1129
|
function createBooking(payload) {
|
|
1129
1130
|
function __createBooking({ host }) {
|
|
1130
1131
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
@@ -1714,6 +1715,27 @@ function getBookingAnonymously(payload) {
|
|
|
1714
1715
|
}
|
|
1715
1716
|
return __getBookingAnonymously;
|
|
1716
1717
|
}
|
|
1718
|
+
function getSchedulingUrl(payload) {
|
|
1719
|
+
function __getSchedulingUrl({ host }) {
|
|
1720
|
+
const metadata = {
|
|
1721
|
+
entityFqdn: "wix.bookings.v2.booking",
|
|
1722
|
+
method: "GET",
|
|
1723
|
+
methodFqn: "com.wixpress.bookings.bookings.v2.AnonymousBookingActions.GetSchedulingUrl",
|
|
1724
|
+
packageName: PACKAGE_NAME,
|
|
1725
|
+
migrationOptions: {
|
|
1726
|
+
optInTransformResponse: true
|
|
1727
|
+
},
|
|
1728
|
+
url: resolveComWixpressBookingsBookingsV2AnonymousBookingActionsUrl({
|
|
1729
|
+
protoPath: "/v2/bookings/scheduling-url",
|
|
1730
|
+
data: payload,
|
|
1731
|
+
host
|
|
1732
|
+
}),
|
|
1733
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
1734
|
+
};
|
|
1735
|
+
return metadata;
|
|
1736
|
+
}
|
|
1737
|
+
return __getSchedulingUrl;
|
|
1738
|
+
}
|
|
1717
1739
|
|
|
1718
1740
|
// src/bookings-v2-booking-bookings.types.ts
|
|
1719
1741
|
var MultiServiceBookingType = /* @__PURE__ */ ((MultiServiceBookingType2) => {
|
|
@@ -1818,6 +1840,42 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
|
1818
1840
|
})(SortOrder || {});
|
|
1819
1841
|
|
|
1820
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
|
+
}
|
|
1821
1879
|
function createMultiServiceBooking2() {
|
|
1822
1880
|
const payload = {};
|
|
1823
1881
|
const getRequestOptions = createMultiServiceBooking(payload);
|
|
@@ -2020,42 +2078,6 @@ function removeBookingsFromMultiServiceBooking2() {
|
|
|
2020
2078
|
__originalResponseType: null
|
|
2021
2079
|
};
|
|
2022
2080
|
}
|
|
2023
|
-
function confirmOrDeclineBooking2() {
|
|
2024
|
-
const payload = { bookingId: ":bookingId" };
|
|
2025
|
-
const getRequestOptions = confirmOrDeclineBooking(payload);
|
|
2026
|
-
const getUrl = (context) => {
|
|
2027
|
-
const { url } = getRequestOptions(context);
|
|
2028
|
-
return url;
|
|
2029
|
-
};
|
|
2030
|
-
return {
|
|
2031
|
-
getUrl,
|
|
2032
|
-
httpMethod: "POST",
|
|
2033
|
-
path: "/v2/confirmation/{bookingId}:confirmOrDecline",
|
|
2034
|
-
pathParams: { bookingId: "bookingId" },
|
|
2035
|
-
__requestType: null,
|
|
2036
|
-
__originalRequestType: null,
|
|
2037
|
-
__responseType: null,
|
|
2038
|
-
__originalResponseType: null
|
|
2039
|
-
};
|
|
2040
|
-
}
|
|
2041
|
-
function bulkConfirmOrDeclineBooking2() {
|
|
2042
|
-
const payload = {};
|
|
2043
|
-
const getRequestOptions = bulkConfirmOrDeclineBooking(payload);
|
|
2044
|
-
const getUrl = (context) => {
|
|
2045
|
-
const { url } = getRequestOptions(context);
|
|
2046
|
-
return url;
|
|
2047
|
-
};
|
|
2048
|
-
return {
|
|
2049
|
-
getUrl,
|
|
2050
|
-
httpMethod: "POST",
|
|
2051
|
-
path: "/v2/bulk/bookings/confirmOrDecline",
|
|
2052
|
-
pathParams: {},
|
|
2053
|
-
__requestType: null,
|
|
2054
|
-
__originalRequestType: null,
|
|
2055
|
-
__responseType: null,
|
|
2056
|
-
__originalResponseType: null
|
|
2057
|
-
};
|
|
2058
|
-
}
|
|
2059
2081
|
function createBooking2() {
|
|
2060
2082
|
const payload = {};
|
|
2061
2083
|
const getRequestOptions = createBooking(payload);
|
|
@@ -2326,6 +2348,24 @@ function getBookingAnonymously2() {
|
|
|
2326
2348
|
__originalResponseType: null
|
|
2327
2349
|
};
|
|
2328
2350
|
}
|
|
2351
|
+
function getSchedulingUrl2() {
|
|
2352
|
+
const payload = {};
|
|
2353
|
+
const getRequestOptions = getSchedulingUrl(payload);
|
|
2354
|
+
const getUrl = (context) => {
|
|
2355
|
+
const { url } = getRequestOptions(context);
|
|
2356
|
+
return url;
|
|
2357
|
+
};
|
|
2358
|
+
return {
|
|
2359
|
+
getUrl,
|
|
2360
|
+
httpMethod: "GET",
|
|
2361
|
+
path: "/v2/bookings/scheduling-url",
|
|
2362
|
+
pathParams: {},
|
|
2363
|
+
__requestType: null,
|
|
2364
|
+
__originalRequestType: null,
|
|
2365
|
+
__responseType: null,
|
|
2366
|
+
__originalResponseType: null
|
|
2367
|
+
};
|
|
2368
|
+
}
|
|
2329
2369
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2330
2370
|
0 && (module.exports = {
|
|
2331
2371
|
ActorOriginal,
|
|
@@ -2361,6 +2401,7 @@ function getBookingAnonymously2() {
|
|
|
2361
2401
|
getBookingAnonymously,
|
|
2362
2402
|
getMultiServiceBooking,
|
|
2363
2403
|
getMultiServiceBookingAvailability,
|
|
2404
|
+
getSchedulingUrl,
|
|
2364
2405
|
markBookingAsPending,
|
|
2365
2406
|
markMultiServiceBookingAsPending,
|
|
2366
2407
|
removeBookingsFromMultiServiceBooking,
|