@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.
- package/build/cjs/index.d.ts +81 -72
- package/build/cjs/index.js +247 -247
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +365 -346
- package/build/cjs/index.typings.js +217 -217
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +261 -255
- package/build/cjs/meta.js +195 -195
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +81 -72
- package/build/es/index.mjs +247 -247
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +365 -346
- package/build/es/index.typings.mjs +217 -217
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +261 -255
- package/build/es/meta.mjs +195 -195
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +81 -72
- package/build/internal/cjs/index.js +247 -247
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +365 -346
- package/build/internal/cjs/index.typings.js +217 -217
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +261 -255
- package/build/internal/cjs/meta.js +195 -195
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +81 -72
- package/build/internal/es/index.mjs +247 -247
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +365 -346
- package/build/internal/es/index.typings.mjs +217 -217
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +261 -255
- package/build/internal/es/meta.mjs +195 -195
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -312,57 +312,6 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
312
312
|
};
|
|
313
313
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
314
314
|
}
|
|
315
|
-
function resolveComWixpressBookingsConfirmatorV2ConfirmatorUrl(opts) {
|
|
316
|
-
const domainToMappings = {
|
|
317
|
-
"www.wixapis.com": [
|
|
318
|
-
{
|
|
319
|
-
srcPath: "/_api/bookings-confirmator/v2/bookings/confirmation",
|
|
320
|
-
destPath: "/v2/bookings/confirmation"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
srcPath: "/bookings/v2/confirmation",
|
|
324
|
-
destPath: "/v2/confirmation"
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
srcPath: "/bookings/v2/bulk/confirmation",
|
|
328
|
-
destPath: "/v2/bulk/confirmation"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
srcPath: "/bookings/v2/bulk/bookings/confirmOrDecline",
|
|
332
|
-
destPath: "/v2/bulk/bookings/confirmOrDecline"
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
srcPath: "/_api/bookings-confirmator/v2/bulk/confirmation",
|
|
336
|
-
destPath: "/v2/bulk/confirmation"
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
srcPath: "/_api/bookings-confirmator/v2/bulk/bookings/confirmOrDecline",
|
|
340
|
-
destPath: "/v2/bulk/bookings/confirmOrDecline"
|
|
341
|
-
}
|
|
342
|
-
],
|
|
343
|
-
"*.dev.wix-code.com": [
|
|
344
|
-
{
|
|
345
|
-
srcPath: "/bookings/v2/confirmation",
|
|
346
|
-
destPath: "/v2/confirmation"
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
srcPath: "/bookings/v2/bulk/bookings",
|
|
350
|
-
destPath: "/v2/bulk/bookings"
|
|
351
|
-
}
|
|
352
|
-
],
|
|
353
|
-
_: [
|
|
354
|
-
{
|
|
355
|
-
srcPath: "/bookings/v2/confirmation",
|
|
356
|
-
destPath: "/v2/confirmation"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
srcPath: "/bookings/v2/bulk/bookings",
|
|
360
|
-
destPath: "/v2/bulk/bookings"
|
|
361
|
-
}
|
|
362
|
-
]
|
|
363
|
-
};
|
|
364
|
-
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
365
|
-
}
|
|
366
315
|
function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
|
|
367
316
|
const domainToMappings = {
|
|
368
317
|
_: [
|
|
@@ -516,7 +465,142 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
|
|
|
516
465
|
};
|
|
517
466
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
518
467
|
}
|
|
468
|
+
function resolveComWixpressBookingsConfirmatorV2ConfirmatorUrl(opts) {
|
|
469
|
+
const domainToMappings = {
|
|
470
|
+
"www.wixapis.com": [
|
|
471
|
+
{
|
|
472
|
+
srcPath: "/_api/bookings-confirmator/v2/bookings/confirmation",
|
|
473
|
+
destPath: "/v2/bookings/confirmation"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
srcPath: "/bookings/v2/confirmation",
|
|
477
|
+
destPath: "/v2/confirmation"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
srcPath: "/bookings/v2/bulk/confirmation",
|
|
481
|
+
destPath: "/v2/bulk/confirmation"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
srcPath: "/bookings/v2/bulk/bookings/confirmOrDecline",
|
|
485
|
+
destPath: "/v2/bulk/bookings/confirmOrDecline"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
srcPath: "/_api/bookings-confirmator/v2/bulk/confirmation",
|
|
489
|
+
destPath: "/v2/bulk/confirmation"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
srcPath: "/_api/bookings-confirmator/v2/bulk/bookings/confirmOrDecline",
|
|
493
|
+
destPath: "/v2/bulk/bookings/confirmOrDecline"
|
|
494
|
+
}
|
|
495
|
+
],
|
|
496
|
+
"*.dev.wix-code.com": [
|
|
497
|
+
{
|
|
498
|
+
srcPath: "/bookings/v2/confirmation",
|
|
499
|
+
destPath: "/v2/confirmation"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
srcPath: "/bookings/v2/bulk/bookings",
|
|
503
|
+
destPath: "/v2/bulk/bookings"
|
|
504
|
+
}
|
|
505
|
+
],
|
|
506
|
+
_: [
|
|
507
|
+
{
|
|
508
|
+
srcPath: "/bookings/v2/confirmation",
|
|
509
|
+
destPath: "/v2/confirmation"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
srcPath: "/bookings/v2/bulk/bookings",
|
|
513
|
+
destPath: "/v2/bulk/bookings"
|
|
514
|
+
}
|
|
515
|
+
]
|
|
516
|
+
};
|
|
517
|
+
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
518
|
+
}
|
|
519
519
|
var PACKAGE_NAME = "@wix/auto_sdk_bookings_bookings";
|
|
520
|
+
function confirmOrDeclineBooking(payload) {
|
|
521
|
+
function __confirmOrDeclineBooking({ host }) {
|
|
522
|
+
const metadata = {
|
|
523
|
+
entityFqdn: "wix.bookings.v2.booking",
|
|
524
|
+
method: "POST",
|
|
525
|
+
methodFqn: "com.wixpress.bookings.confirmator.v2.Confirmator.ConfirmOrDeclineBooking",
|
|
526
|
+
packageName: PACKAGE_NAME,
|
|
527
|
+
migrationOptions: {
|
|
528
|
+
optInTransformResponse: true
|
|
529
|
+
},
|
|
530
|
+
url: resolveComWixpressBookingsConfirmatorV2ConfirmatorUrl({
|
|
531
|
+
protoPath: "/v2/confirmation/{bookingId}:confirmOrDecline",
|
|
532
|
+
data: payload,
|
|
533
|
+
host
|
|
534
|
+
}),
|
|
535
|
+
data: payload,
|
|
536
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
537
|
+
{
|
|
538
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
539
|
+
paths: [
|
|
540
|
+
{ path: "booking.createdDate" },
|
|
541
|
+
{ path: "booking.startDate" },
|
|
542
|
+
{ path: "booking.endDate" },
|
|
543
|
+
{ path: "booking.updatedDate" },
|
|
544
|
+
{ path: "booking.canceledDate" }
|
|
545
|
+
]
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
549
|
+
paths: [
|
|
550
|
+
{ path: "booking.contactDetails.fullAddress.geocode.latitude" },
|
|
551
|
+
{ path: "booking.contactDetails.fullAddress.geocode.longitude" }
|
|
552
|
+
]
|
|
553
|
+
}
|
|
554
|
+
])
|
|
555
|
+
};
|
|
556
|
+
return metadata;
|
|
557
|
+
}
|
|
558
|
+
return __confirmOrDeclineBooking;
|
|
559
|
+
}
|
|
560
|
+
function bulkConfirmOrDeclineBooking(payload) {
|
|
561
|
+
function __bulkConfirmOrDeclineBooking({ host }) {
|
|
562
|
+
const metadata = {
|
|
563
|
+
entityFqdn: "wix.bookings.v2.booking",
|
|
564
|
+
method: "POST",
|
|
565
|
+
methodFqn: "com.wixpress.bookings.confirmator.v2.Confirmator.BulkConfirmOrDeclineBooking",
|
|
566
|
+
packageName: PACKAGE_NAME,
|
|
567
|
+
migrationOptions: {
|
|
568
|
+
optInTransformResponse: true
|
|
569
|
+
},
|
|
570
|
+
url: resolveComWixpressBookingsConfirmatorV2ConfirmatorUrl({
|
|
571
|
+
protoPath: "/v2/bulk/bookings/confirmOrDecline",
|
|
572
|
+
data: payload,
|
|
573
|
+
host
|
|
574
|
+
}),
|
|
575
|
+
data: payload,
|
|
576
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
577
|
+
{
|
|
578
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
579
|
+
paths: [
|
|
580
|
+
{ path: "results.item.createdDate" },
|
|
581
|
+
{ path: "results.item.startDate" },
|
|
582
|
+
{ path: "results.item.endDate" },
|
|
583
|
+
{ path: "results.item.updatedDate" },
|
|
584
|
+
{ path: "results.item.canceledDate" }
|
|
585
|
+
]
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
589
|
+
paths: [
|
|
590
|
+
{
|
|
591
|
+
path: "results.item.contactDetails.fullAddress.geocode.latitude"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
path: "results.item.contactDetails.fullAddress.geocode.longitude"
|
|
595
|
+
}
|
|
596
|
+
]
|
|
597
|
+
}
|
|
598
|
+
])
|
|
599
|
+
};
|
|
600
|
+
return metadata;
|
|
601
|
+
}
|
|
602
|
+
return __bulkConfirmOrDeclineBooking;
|
|
603
|
+
}
|
|
520
604
|
function createMultiServiceBooking(payload) {
|
|
521
605
|
function __createMultiServiceBooking({ host }) {
|
|
522
606
|
const serializedData = transformPaths(payload, [
|
|
@@ -974,90 +1058,6 @@ function removeBookingsFromMultiServiceBooking(payload) {
|
|
|
974
1058
|
}
|
|
975
1059
|
return __removeBookingsFromMultiServiceBooking;
|
|
976
1060
|
}
|
|
977
|
-
function confirmOrDeclineBooking(payload) {
|
|
978
|
-
function __confirmOrDeclineBooking({ host }) {
|
|
979
|
-
const metadata = {
|
|
980
|
-
entityFqdn: "wix.bookings.v2.booking",
|
|
981
|
-
method: "POST",
|
|
982
|
-
methodFqn: "com.wixpress.bookings.confirmator.v2.Confirmator.ConfirmOrDeclineBooking",
|
|
983
|
-
packageName: PACKAGE_NAME,
|
|
984
|
-
migrationOptions: {
|
|
985
|
-
optInTransformResponse: true
|
|
986
|
-
},
|
|
987
|
-
url: resolveComWixpressBookingsConfirmatorV2ConfirmatorUrl({
|
|
988
|
-
protoPath: "/v2/confirmation/{bookingId}:confirmOrDecline",
|
|
989
|
-
data: payload,
|
|
990
|
-
host
|
|
991
|
-
}),
|
|
992
|
-
data: payload,
|
|
993
|
-
transformResponse: (payload2) => transformPaths(payload2, [
|
|
994
|
-
{
|
|
995
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
996
|
-
paths: [
|
|
997
|
-
{ path: "booking.createdDate" },
|
|
998
|
-
{ path: "booking.startDate" },
|
|
999
|
-
{ path: "booking.endDate" },
|
|
1000
|
-
{ path: "booking.updatedDate" },
|
|
1001
|
-
{ path: "booking.canceledDate" }
|
|
1002
|
-
]
|
|
1003
|
-
},
|
|
1004
|
-
{
|
|
1005
|
-
transformFn: transformRESTFloatToSDKFloat,
|
|
1006
|
-
paths: [
|
|
1007
|
-
{ path: "booking.contactDetails.fullAddress.geocode.latitude" },
|
|
1008
|
-
{ path: "booking.contactDetails.fullAddress.geocode.longitude" }
|
|
1009
|
-
]
|
|
1010
|
-
}
|
|
1011
|
-
])
|
|
1012
|
-
};
|
|
1013
|
-
return metadata;
|
|
1014
|
-
}
|
|
1015
|
-
return __confirmOrDeclineBooking;
|
|
1016
|
-
}
|
|
1017
|
-
function bulkConfirmOrDeclineBooking(payload) {
|
|
1018
|
-
function __bulkConfirmOrDeclineBooking({ host }) {
|
|
1019
|
-
const metadata = {
|
|
1020
|
-
entityFqdn: "wix.bookings.v2.booking",
|
|
1021
|
-
method: "POST",
|
|
1022
|
-
methodFqn: "com.wixpress.bookings.confirmator.v2.Confirmator.BulkConfirmOrDeclineBooking",
|
|
1023
|
-
packageName: PACKAGE_NAME,
|
|
1024
|
-
migrationOptions: {
|
|
1025
|
-
optInTransformResponse: true
|
|
1026
|
-
},
|
|
1027
|
-
url: resolveComWixpressBookingsConfirmatorV2ConfirmatorUrl({
|
|
1028
|
-
protoPath: "/v2/bulk/bookings/confirmOrDecline",
|
|
1029
|
-
data: payload,
|
|
1030
|
-
host
|
|
1031
|
-
}),
|
|
1032
|
-
data: payload,
|
|
1033
|
-
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1034
|
-
{
|
|
1035
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1036
|
-
paths: [
|
|
1037
|
-
{ path: "results.item.createdDate" },
|
|
1038
|
-
{ path: "results.item.startDate" },
|
|
1039
|
-
{ path: "results.item.endDate" },
|
|
1040
|
-
{ path: "results.item.updatedDate" },
|
|
1041
|
-
{ path: "results.item.canceledDate" }
|
|
1042
|
-
]
|
|
1043
|
-
},
|
|
1044
|
-
{
|
|
1045
|
-
transformFn: transformRESTFloatToSDKFloat,
|
|
1046
|
-
paths: [
|
|
1047
|
-
{
|
|
1048
|
-
path: "results.item.contactDetails.fullAddress.geocode.latitude"
|
|
1049
|
-
},
|
|
1050
|
-
{
|
|
1051
|
-
path: "results.item.contactDetails.fullAddress.geocode.longitude"
|
|
1052
|
-
}
|
|
1053
|
-
]
|
|
1054
|
-
}
|
|
1055
|
-
])
|
|
1056
|
-
};
|
|
1057
|
-
return metadata;
|
|
1058
|
-
}
|
|
1059
|
-
return __bulkConfirmOrDeclineBooking;
|
|
1060
|
-
}
|
|
1061
1061
|
function createBooking(payload) {
|
|
1062
1062
|
function __createBooking({ host }) {
|
|
1063
1063
|
const serializedData = transformPaths(payload, [
|
|
@@ -1224,8 +1224,8 @@ function rescheduleBooking(payload) {
|
|
|
1224
1224
|
}
|
|
1225
1225
|
return __rescheduleBooking;
|
|
1226
1226
|
}
|
|
1227
|
-
function
|
|
1228
|
-
function
|
|
1227
|
+
function confirmBooking(payload) {
|
|
1228
|
+
function __confirmBooking({ host }) {
|
|
1229
1229
|
const metadata = {
|
|
1230
1230
|
entityFqdn: "wix.bookings.v2.booking",
|
|
1231
1231
|
method: "POST",
|
|
@@ -1262,7 +1262,7 @@ function bookingsConfirmBooking(payload) {
|
|
|
1262
1262
|
};
|
|
1263
1263
|
return metadata;
|
|
1264
1264
|
}
|
|
1265
|
-
return
|
|
1265
|
+
return __confirmBooking;
|
|
1266
1266
|
}
|
|
1267
1267
|
function setBookingSubmissionId(payload) {
|
|
1268
1268
|
function __setBookingSubmissionId({ host }) {
|
|
@@ -1325,8 +1325,8 @@ function updateExtendedFields(payload) {
|
|
|
1325
1325
|
}
|
|
1326
1326
|
return __updateExtendedFields;
|
|
1327
1327
|
}
|
|
1328
|
-
function
|
|
1329
|
-
function
|
|
1328
|
+
function declineBooking(payload) {
|
|
1329
|
+
function __declineBooking({ host }) {
|
|
1330
1330
|
const metadata = {
|
|
1331
1331
|
entityFqdn: "wix.bookings.v2.booking",
|
|
1332
1332
|
method: "POST",
|
|
@@ -1363,10 +1363,10 @@ function bookingsDeclineBooking(payload) {
|
|
|
1363
1363
|
};
|
|
1364
1364
|
return metadata;
|
|
1365
1365
|
}
|
|
1366
|
-
return
|
|
1366
|
+
return __declineBooking;
|
|
1367
1367
|
}
|
|
1368
|
-
function
|
|
1369
|
-
function
|
|
1368
|
+
function cancelBooking(payload) {
|
|
1369
|
+
function __cancelBooking({ host }) {
|
|
1370
1370
|
const metadata = {
|
|
1371
1371
|
entityFqdn: "wix.bookings.v2.booking",
|
|
1372
1372
|
method: "POST",
|
|
@@ -1403,10 +1403,10 @@ function bookingsCancelBooking(payload) {
|
|
|
1403
1403
|
};
|
|
1404
1404
|
return metadata;
|
|
1405
1405
|
}
|
|
1406
|
-
return
|
|
1406
|
+
return __cancelBooking;
|
|
1407
1407
|
}
|
|
1408
|
-
function
|
|
1409
|
-
function
|
|
1408
|
+
function updateNumberOfParticipants(payload) {
|
|
1409
|
+
function __updateNumberOfParticipants({ host }) {
|
|
1410
1410
|
const metadata = {
|
|
1411
1411
|
entityFqdn: "wix.bookings.v2.booking",
|
|
1412
1412
|
method: "POST",
|
|
@@ -1443,7 +1443,7 @@ function bookingsUpdateNumberOfParticipants(payload) {
|
|
|
1443
1443
|
};
|
|
1444
1444
|
return metadata;
|
|
1445
1445
|
}
|
|
1446
|
-
return
|
|
1446
|
+
return __updateNumberOfParticipants;
|
|
1447
1447
|
}
|
|
1448
1448
|
function bulkCalculateAllowedActions(payload) {
|
|
1449
1449
|
function __bulkCalculateAllowedActions({ host }) {
|
|
@@ -1772,6 +1772,42 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
|
1772
1772
|
})(SortOrder || {});
|
|
1773
1773
|
|
|
1774
1774
|
// src/bookings-v2-booking-bookings.meta.ts
|
|
1775
|
+
function confirmOrDeclineBooking2() {
|
|
1776
|
+
const payload = { bookingId: ":bookingId" };
|
|
1777
|
+
const getRequestOptions = confirmOrDeclineBooking(payload);
|
|
1778
|
+
const getUrl = (context) => {
|
|
1779
|
+
const { url } = getRequestOptions(context);
|
|
1780
|
+
return url;
|
|
1781
|
+
};
|
|
1782
|
+
return {
|
|
1783
|
+
getUrl,
|
|
1784
|
+
httpMethod: "POST",
|
|
1785
|
+
path: "/v2/confirmation/{bookingId}:confirmOrDecline",
|
|
1786
|
+
pathParams: { bookingId: "bookingId" },
|
|
1787
|
+
__requestType: null,
|
|
1788
|
+
__originalRequestType: null,
|
|
1789
|
+
__responseType: null,
|
|
1790
|
+
__originalResponseType: null
|
|
1791
|
+
};
|
|
1792
|
+
}
|
|
1793
|
+
function bulkConfirmOrDeclineBooking2() {
|
|
1794
|
+
const payload = {};
|
|
1795
|
+
const getRequestOptions = bulkConfirmOrDeclineBooking(payload);
|
|
1796
|
+
const getUrl = (context) => {
|
|
1797
|
+
const { url } = getRequestOptions(context);
|
|
1798
|
+
return url;
|
|
1799
|
+
};
|
|
1800
|
+
return {
|
|
1801
|
+
getUrl,
|
|
1802
|
+
httpMethod: "POST",
|
|
1803
|
+
path: "/v2/bulk/bookings/confirmOrDecline",
|
|
1804
|
+
pathParams: {},
|
|
1805
|
+
__requestType: null,
|
|
1806
|
+
__originalRequestType: null,
|
|
1807
|
+
__responseType: null,
|
|
1808
|
+
__originalResponseType: null
|
|
1809
|
+
};
|
|
1810
|
+
}
|
|
1775
1811
|
function createMultiServiceBooking2() {
|
|
1776
1812
|
const payload = {};
|
|
1777
1813
|
const getRequestOptions = createMultiServiceBooking(payload);
|
|
@@ -1974,42 +2010,6 @@ function removeBookingsFromMultiServiceBooking2() {
|
|
|
1974
2010
|
__originalResponseType: null
|
|
1975
2011
|
};
|
|
1976
2012
|
}
|
|
1977
|
-
function confirmOrDeclineBooking2() {
|
|
1978
|
-
const payload = { bookingId: ":bookingId" };
|
|
1979
|
-
const getRequestOptions = confirmOrDeclineBooking(payload);
|
|
1980
|
-
const getUrl = (context) => {
|
|
1981
|
-
const { url } = getRequestOptions(context);
|
|
1982
|
-
return url;
|
|
1983
|
-
};
|
|
1984
|
-
return {
|
|
1985
|
-
getUrl,
|
|
1986
|
-
httpMethod: "POST",
|
|
1987
|
-
path: "/v2/confirmation/{bookingId}:confirmOrDecline",
|
|
1988
|
-
pathParams: { bookingId: "bookingId" },
|
|
1989
|
-
__requestType: null,
|
|
1990
|
-
__originalRequestType: null,
|
|
1991
|
-
__responseType: null,
|
|
1992
|
-
__originalResponseType: null
|
|
1993
|
-
};
|
|
1994
|
-
}
|
|
1995
|
-
function bulkConfirmOrDeclineBooking2() {
|
|
1996
|
-
const payload = {};
|
|
1997
|
-
const getRequestOptions = bulkConfirmOrDeclineBooking(payload);
|
|
1998
|
-
const getUrl = (context) => {
|
|
1999
|
-
const { url } = getRequestOptions(context);
|
|
2000
|
-
return url;
|
|
2001
|
-
};
|
|
2002
|
-
return {
|
|
2003
|
-
getUrl,
|
|
2004
|
-
httpMethod: "POST",
|
|
2005
|
-
path: "/v2/bulk/bookings/confirmOrDecline",
|
|
2006
|
-
pathParams: {},
|
|
2007
|
-
__requestType: null,
|
|
2008
|
-
__originalRequestType: null,
|
|
2009
|
-
__responseType: null,
|
|
2010
|
-
__originalResponseType: null
|
|
2011
|
-
};
|
|
2012
|
-
}
|
|
2013
2013
|
function createBooking2() {
|
|
2014
2014
|
const payload = {};
|
|
2015
2015
|
const getRequestOptions = createBooking(payload);
|
|
@@ -2064,9 +2064,9 @@ function rescheduleBooking2() {
|
|
|
2064
2064
|
__originalResponseType: null
|
|
2065
2065
|
};
|
|
2066
2066
|
}
|
|
2067
|
-
function
|
|
2067
|
+
function confirmBooking2() {
|
|
2068
2068
|
const payload = { bookingId: ":bookingId" };
|
|
2069
|
-
const getRequestOptions =
|
|
2069
|
+
const getRequestOptions = confirmBooking(payload);
|
|
2070
2070
|
const getUrl = (context) => {
|
|
2071
2071
|
const { url } = getRequestOptions(context);
|
|
2072
2072
|
return url;
|
|
@@ -2118,9 +2118,9 @@ function updateExtendedFields2() {
|
|
|
2118
2118
|
__originalResponseType: null
|
|
2119
2119
|
};
|
|
2120
2120
|
}
|
|
2121
|
-
function
|
|
2121
|
+
function declineBooking2() {
|
|
2122
2122
|
const payload = { bookingId: ":bookingId" };
|
|
2123
|
-
const getRequestOptions =
|
|
2123
|
+
const getRequestOptions = declineBooking(payload);
|
|
2124
2124
|
const getUrl = (context) => {
|
|
2125
2125
|
const { url } = getRequestOptions(context);
|
|
2126
2126
|
return url;
|
|
@@ -2136,9 +2136,9 @@ function declineBooking() {
|
|
|
2136
2136
|
__originalResponseType: null
|
|
2137
2137
|
};
|
|
2138
2138
|
}
|
|
2139
|
-
function
|
|
2139
|
+
function cancelBooking2() {
|
|
2140
2140
|
const payload = { bookingId: ":bookingId" };
|
|
2141
|
-
const getRequestOptions =
|
|
2141
|
+
const getRequestOptions = cancelBooking(payload);
|
|
2142
2142
|
const getUrl = (context) => {
|
|
2143
2143
|
const { url } = getRequestOptions(context);
|
|
2144
2144
|
return url;
|
|
@@ -2154,9 +2154,9 @@ function cancelBooking() {
|
|
|
2154
2154
|
__originalResponseType: null
|
|
2155
2155
|
};
|
|
2156
2156
|
}
|
|
2157
|
-
function
|
|
2157
|
+
function updateNumberOfParticipants2() {
|
|
2158
2158
|
const payload = { bookingId: ":bookingId" };
|
|
2159
|
-
const getRequestOptions =
|
|
2159
|
+
const getRequestOptions = updateNumberOfParticipants(payload);
|
|
2160
2160
|
const getUrl = (context) => {
|
|
2161
2161
|
const { url } = getRequestOptions(context);
|
|
2162
2162
|
return url;
|
|
@@ -2318,15 +2318,15 @@ export {
|
|
|
2318
2318
|
bulkConfirmOrDeclineBooking2 as bulkConfirmOrDeclineBooking,
|
|
2319
2319
|
bulkCreateBooking2 as bulkCreateBooking,
|
|
2320
2320
|
bulkGetMultiServiceBookingAllowedActions2 as bulkGetMultiServiceBookingAllowedActions,
|
|
2321
|
-
cancelBooking,
|
|
2321
|
+
cancelBooking2 as cancelBooking,
|
|
2322
2322
|
cancelBookingAnonymously2 as cancelBookingAnonymously,
|
|
2323
2323
|
cancelMultiServiceBooking2 as cancelMultiServiceBooking,
|
|
2324
|
-
confirmBooking,
|
|
2324
|
+
confirmBooking2 as confirmBooking,
|
|
2325
2325
|
confirmMultiServiceBooking2 as confirmMultiServiceBooking,
|
|
2326
2326
|
confirmOrDeclineBooking2 as confirmOrDeclineBooking,
|
|
2327
2327
|
createBooking2 as createBooking,
|
|
2328
2328
|
createMultiServiceBooking2 as createMultiServiceBooking,
|
|
2329
|
-
declineBooking,
|
|
2329
|
+
declineBooking2 as declineBooking,
|
|
2330
2330
|
declineMultiServiceBooking2 as declineMultiServiceBooking,
|
|
2331
2331
|
getAnonymousActionDetails2 as getAnonymousActionDetails,
|
|
2332
2332
|
getBookingAnonymously2 as getBookingAnonymously,
|
|
@@ -2341,6 +2341,6 @@ export {
|
|
|
2341
2341
|
rescheduleMultiServiceBooking2 as rescheduleMultiServiceBooking,
|
|
2342
2342
|
setBookingSubmissionId2 as setBookingSubmissionId,
|
|
2343
2343
|
updateExtendedFields2 as updateExtendedFields,
|
|
2344
|
-
updateNumberOfParticipants
|
|
2344
|
+
updateNumberOfParticipants2 as updateNumberOfParticipants
|
|
2345
2345
|
};
|
|
2346
2346
|
//# sourceMappingURL=meta.mjs.map
|