@wix/auto_sdk_bookings_bookings 1.0.81 → 1.0.83
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 +41 -58
- package/build/cjs/index.js +442 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +100 -121
- package/build/cjs/index.typings.js +407 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +50 -63
- package/build/cjs/meta.js +374 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +41 -58
- package/build/es/index.mjs +438 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +100 -121
- package/build/es/index.typings.mjs +403 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +50 -63
- package/build/es/meta.mjs +370 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +94 -60
- package/build/internal/cjs/index.js +442 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +146 -121
- package/build/internal/cjs/index.typings.js +407 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +50 -63
- package/build/internal/cjs/meta.js +374 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +94 -60
- package/build/internal/es/index.mjs +438 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +146 -121
- package/build/internal/es/index.typings.mjs +403 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +50 -63
- package/build/internal/es/meta.mjs +370 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -370,7 +370,301 @@ function resolveComWixpressBookingsConfirmatorV2ConfirmatorUrl(opts) {
|
|
|
370
370
|
};
|
|
371
371
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
372
372
|
}
|
|
373
|
+
function resolveComWixpressBookingsBookingsV2AnonymousBookingActionsUrl(opts) {
|
|
374
|
+
const domainToMappings = {
|
|
375
|
+
_: [
|
|
376
|
+
{
|
|
377
|
+
srcPath: "/_api/bookings-service/v2/bookings",
|
|
378
|
+
destPath: "/v2/bookings"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
srcPath: "/_api/bookings-service/v2/bulk/bookings",
|
|
382
|
+
destPath: "/v2/bulk/bookings"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
srcPath: "/_api/bookings-service/v2/multi_service_bookings",
|
|
386
|
+
destPath: "/v2/multi_service_bookings"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
srcPath: "/_api/bookings-service/v2/bulk/multi_service_bookings",
|
|
390
|
+
destPath: "/v2/bulk/multi_service_bookings"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
394
|
+
destPath: "/v2/multi_service_bookings"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings/add_bookings_to_multi_service_booking",
|
|
398
|
+
destPath: "/v2/multi_service_bookings/add_bookings_to_multi_service_booking"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
srcPath: "/bookings/bookings/v2/bulk/bookings",
|
|
402
|
+
destPath: "/v2/bulk/bookings"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
srcPath: "/bookings/multiServiceBookings/v2/bulk/multi_service_bookings/get_allowed_actions",
|
|
406
|
+
destPath: "/v2/bulk/multi_service_bookings/get_allowed_actions"
|
|
407
|
+
}
|
|
408
|
+
],
|
|
409
|
+
"manage._base_domain_": [
|
|
410
|
+
{
|
|
411
|
+
srcPath: "/_api/bookings-service/v2/bookings",
|
|
412
|
+
destPath: "/v2/bookings"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
srcPath: "/_api/bookings-service/v2/bulk/bookings",
|
|
416
|
+
destPath: "/v2/bulk/bookings"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
srcPath: "/_api/bookings-service/v2/multi_service_bookings",
|
|
420
|
+
destPath: "/v2/multi_service_bookings"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
srcPath: "/_api/bookings-service/v2/bulk/multi_service_bookings",
|
|
424
|
+
destPath: "/v2/bulk/multi_service_bookings"
|
|
425
|
+
}
|
|
426
|
+
],
|
|
427
|
+
"www.wixapis.com": [
|
|
428
|
+
{
|
|
429
|
+
srcPath: "/_api/bookings-service/v2/bookings",
|
|
430
|
+
destPath: "/v2/bookings"
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
srcPath: "/bookings/v2/bookings",
|
|
434
|
+
destPath: "/v2/bookings"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
srcPath: "/bookings/v2/bulk/bookings",
|
|
438
|
+
destPath: "/v2/bulk/bookings"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
srcPath: "/_api/bookings-service/v2/multi_service_bookings",
|
|
442
|
+
destPath: "/v2/multi_service_bookings"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
446
|
+
destPath: "/v2/multi_service_bookings"
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings/add_bookings_to_multi_service_booking",
|
|
450
|
+
destPath: "/v2/multi_service_bookings/add_bookings_to_multi_service_booking"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
srcPath: "/bookings/bookings/v2/bulk/bookings",
|
|
454
|
+
destPath: "/v2/bulk/bookings"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
srcPath: "/bookings/multiServiceBookings/v2/bulk/multi_service_bookings/get_allowed_actions",
|
|
458
|
+
destPath: "/v2/bulk/multi_service_bookings/get_allowed_actions"
|
|
459
|
+
}
|
|
460
|
+
],
|
|
461
|
+
"www._base_domain_": [
|
|
462
|
+
{
|
|
463
|
+
srcPath: "/_api/bookings-service/v2/bulk/bookings",
|
|
464
|
+
destPath: "/v2/bulk/bookings"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
srcPath: "/_api/bookings-service/v2/bookings",
|
|
468
|
+
destPath: "/v2/bookings"
|
|
469
|
+
}
|
|
470
|
+
],
|
|
471
|
+
"bo._base_domain_": [
|
|
472
|
+
{
|
|
473
|
+
srcPath: "/_api/bookings-service/v2/bulk/bookings",
|
|
474
|
+
destPath: "/v2/bulk/bookings"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
srcPath: "/_api/bookings-service/v2/bookings",
|
|
478
|
+
destPath: "/v2/bookings"
|
|
479
|
+
}
|
|
480
|
+
],
|
|
481
|
+
"wixbo.ai": [
|
|
482
|
+
{
|
|
483
|
+
srcPath: "/_api/bookings-service/v2/bulk/bookings",
|
|
484
|
+
destPath: "/v2/bulk/bookings"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
srcPath: "/_api/bookings-service/v2/bookings",
|
|
488
|
+
destPath: "/v2/bookings"
|
|
489
|
+
}
|
|
490
|
+
],
|
|
491
|
+
"wix-bo.com": [
|
|
492
|
+
{
|
|
493
|
+
srcPath: "/_api/bookings-service/v2/bulk/bookings",
|
|
494
|
+
destPath: "/v2/bulk/bookings"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
srcPath: "/_api/bookings-service/v2/bookings",
|
|
498
|
+
destPath: "/v2/bookings"
|
|
499
|
+
}
|
|
500
|
+
],
|
|
501
|
+
"*.dev.wix-code.com": [
|
|
502
|
+
{
|
|
503
|
+
srcPath: "/_api/bookings-service",
|
|
504
|
+
destPath: "/v2/bookings"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
508
|
+
destPath: "/v2/multi_service_bookings"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings/add_bookings_to_multi_service_booking",
|
|
512
|
+
destPath: "/v2/multi_service_bookings/add_bookings_to_multi_service_booking"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
srcPath: "/bookings/bookings/v2/bulk/bookings",
|
|
516
|
+
destPath: "/v2/bulk/bookings"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
srcPath: "/bookings/multiServiceBookings/v2/bulk/multi_service_bookings/get_allowed_actions",
|
|
520
|
+
destPath: "/v2/bulk/multi_service_bookings/get_allowed_actions"
|
|
521
|
+
}
|
|
522
|
+
]
|
|
523
|
+
};
|
|
524
|
+
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
525
|
+
}
|
|
373
526
|
var PACKAGE_NAME = "@wix/auto_sdk_bookings_bookings";
|
|
527
|
+
function getAnonymousActionDetails(payload) {
|
|
528
|
+
function __getAnonymousActionDetails({ host }) {
|
|
529
|
+
const metadata = {
|
|
530
|
+
entityFqdn: "wix.bookings.v2.booking",
|
|
531
|
+
method: "GET",
|
|
532
|
+
methodFqn: "com.wixpress.bookings.bookings.v2.AnonymousBookingActions.GetAnonymousActionDetails",
|
|
533
|
+
packageName: PACKAGE_NAME,
|
|
534
|
+
migrationOptions: {
|
|
535
|
+
optInTransformResponse: true
|
|
536
|
+
},
|
|
537
|
+
url: resolveComWixpressBookingsBookingsV2AnonymousBookingActionsUrl({
|
|
538
|
+
protoPath: "/v2/bookings/anonymous-actions-details",
|
|
539
|
+
data: payload,
|
|
540
|
+
host
|
|
541
|
+
}),
|
|
542
|
+
params: toURLSearchParams(payload)
|
|
543
|
+
};
|
|
544
|
+
return metadata;
|
|
545
|
+
}
|
|
546
|
+
return __getAnonymousActionDetails;
|
|
547
|
+
}
|
|
548
|
+
function cancelBookingAnonymously(payload) {
|
|
549
|
+
function __cancelBookingAnonymously({ host }) {
|
|
550
|
+
const metadata = {
|
|
551
|
+
entityFqdn: "wix.bookings.v2.booking",
|
|
552
|
+
method: "POST",
|
|
553
|
+
methodFqn: "com.wixpress.bookings.bookings.v2.AnonymousBookingActions.CancelBookingAnonymously",
|
|
554
|
+
packageName: PACKAGE_NAME,
|
|
555
|
+
migrationOptions: {
|
|
556
|
+
optInTransformResponse: true
|
|
557
|
+
},
|
|
558
|
+
url: resolveComWixpressBookingsBookingsV2AnonymousBookingActionsUrl({
|
|
559
|
+
protoPath: "/v2/bookings/{token}/anonymous-cancel",
|
|
560
|
+
data: payload,
|
|
561
|
+
host
|
|
562
|
+
}),
|
|
563
|
+
data: payload,
|
|
564
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
565
|
+
{
|
|
566
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
567
|
+
paths: [
|
|
568
|
+
{ path: "booking.createdDate" },
|
|
569
|
+
{ path: "booking.startDate" },
|
|
570
|
+
{ path: "booking.endDate" },
|
|
571
|
+
{ path: "booking.updatedDate" },
|
|
572
|
+
{ path: "booking.canceledDate" }
|
|
573
|
+
]
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
577
|
+
paths: [
|
|
578
|
+
{ path: "booking.contactDetails.fullAddress.geocode.latitude" },
|
|
579
|
+
{ path: "booking.contactDetails.fullAddress.geocode.longitude" }
|
|
580
|
+
]
|
|
581
|
+
}
|
|
582
|
+
])
|
|
583
|
+
};
|
|
584
|
+
return metadata;
|
|
585
|
+
}
|
|
586
|
+
return __cancelBookingAnonymously;
|
|
587
|
+
}
|
|
588
|
+
function rescheduleBookingAnonymously(payload) {
|
|
589
|
+
function __rescheduleBookingAnonymously({ host }) {
|
|
590
|
+
const metadata = {
|
|
591
|
+
entityFqdn: "wix.bookings.v2.booking",
|
|
592
|
+
method: "POST",
|
|
593
|
+
methodFqn: "com.wixpress.bookings.bookings.v2.AnonymousBookingActions.RescheduleBookingAnonymously",
|
|
594
|
+
packageName: PACKAGE_NAME,
|
|
595
|
+
migrationOptions: {
|
|
596
|
+
optInTransformResponse: true
|
|
597
|
+
},
|
|
598
|
+
url: resolveComWixpressBookingsBookingsV2AnonymousBookingActionsUrl({
|
|
599
|
+
protoPath: "/v2/bookings/{token}/anonymous-reschedule",
|
|
600
|
+
data: payload,
|
|
601
|
+
host
|
|
602
|
+
}),
|
|
603
|
+
data: payload,
|
|
604
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
605
|
+
{
|
|
606
|
+
transformFn: 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: 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 __rescheduleBookingAnonymously;
|
|
627
|
+
}
|
|
628
|
+
function getBookingAnonymously(payload) {
|
|
629
|
+
function __getBookingAnonymously({ host }) {
|
|
630
|
+
const metadata = {
|
|
631
|
+
entityFqdn: "wix.bookings.v2.booking",
|
|
632
|
+
method: "GET",
|
|
633
|
+
methodFqn: "com.wixpress.bookings.bookings.v2.AnonymousBookingActions.GetBookingAnonymously",
|
|
634
|
+
packageName: PACKAGE_NAME,
|
|
635
|
+
migrationOptions: {
|
|
636
|
+
optInTransformResponse: true
|
|
637
|
+
},
|
|
638
|
+
url: resolveComWixpressBookingsBookingsV2AnonymousBookingActionsUrl({
|
|
639
|
+
protoPath: "/v2/bookings/{token}/anonymous-get",
|
|
640
|
+
data: payload,
|
|
641
|
+
host
|
|
642
|
+
}),
|
|
643
|
+
params: toURLSearchParams(payload),
|
|
644
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
645
|
+
{
|
|
646
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
647
|
+
paths: [
|
|
648
|
+
{ path: "booking.createdDate" },
|
|
649
|
+
{ path: "booking.startDate" },
|
|
650
|
+
{ path: "booking.endDate" },
|
|
651
|
+
{ path: "booking.updatedDate" },
|
|
652
|
+
{ path: "booking.canceledDate" }
|
|
653
|
+
]
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
657
|
+
paths: [
|
|
658
|
+
{ path: "booking.contactDetails.fullAddress.geocode.latitude" },
|
|
659
|
+
{ path: "booking.contactDetails.fullAddress.geocode.longitude" }
|
|
660
|
+
]
|
|
661
|
+
}
|
|
662
|
+
])
|
|
663
|
+
};
|
|
664
|
+
return metadata;
|
|
665
|
+
}
|
|
666
|
+
return __getBookingAnonymously;
|
|
667
|
+
}
|
|
374
668
|
function confirmOrDeclineBooking(payload) {
|
|
375
669
|
function __confirmOrDeclineBooking({ host }) {
|
|
376
670
|
const metadata = {
|
|
@@ -1441,6 +1735,111 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
|
1441
1735
|
SortOrder2["DESC"] = "DESC";
|
|
1442
1736
|
return SortOrder2;
|
|
1443
1737
|
})(SortOrder || {});
|
|
1738
|
+
async function getAnonymousActionDetails2(options) {
|
|
1739
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
1740
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
1741
|
+
bookingId: options?.bookingId
|
|
1742
|
+
});
|
|
1743
|
+
const reqOpts = getAnonymousActionDetails(payload);
|
|
1744
|
+
sideEffects?.onSiteCall?.();
|
|
1745
|
+
try {
|
|
1746
|
+
const result = await httpClient.request(reqOpts);
|
|
1747
|
+
sideEffects?.onSuccess?.(result);
|
|
1748
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
1749
|
+
} catch (err) {
|
|
1750
|
+
const transformedError = sdkTransformError(
|
|
1751
|
+
err,
|
|
1752
|
+
{
|
|
1753
|
+
spreadPathsToArguments: {},
|
|
1754
|
+
explicitPathsToArguments: { bookingId: "$[0].bookingId" },
|
|
1755
|
+
singleArgumentUnchanged: false
|
|
1756
|
+
},
|
|
1757
|
+
["options"]
|
|
1758
|
+
);
|
|
1759
|
+
sideEffects?.onError?.(err);
|
|
1760
|
+
throw transformedError;
|
|
1761
|
+
}
|
|
1762
|
+
}
|
|
1763
|
+
async function cancelBookingAnonymously2(token, options) {
|
|
1764
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1765
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
1766
|
+
token,
|
|
1767
|
+
revision: options?.revision
|
|
1768
|
+
});
|
|
1769
|
+
const reqOpts = cancelBookingAnonymously(payload);
|
|
1770
|
+
sideEffects?.onSiteCall?.();
|
|
1771
|
+
try {
|
|
1772
|
+
const result = await httpClient.request(reqOpts);
|
|
1773
|
+
sideEffects?.onSuccess?.(result);
|
|
1774
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
1775
|
+
} catch (err) {
|
|
1776
|
+
const transformedError = sdkTransformError(
|
|
1777
|
+
err,
|
|
1778
|
+
{
|
|
1779
|
+
spreadPathsToArguments: {},
|
|
1780
|
+
explicitPathsToArguments: { token: "$[0]", revision: "$[1].revision" },
|
|
1781
|
+
singleArgumentUnchanged: false
|
|
1782
|
+
},
|
|
1783
|
+
["token", "options"]
|
|
1784
|
+
);
|
|
1785
|
+
sideEffects?.onError?.(err);
|
|
1786
|
+
throw transformedError;
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
async function rescheduleBookingAnonymously2(token, slot, options) {
|
|
1790
|
+
const { httpClient, sideEffects } = arguments[3];
|
|
1791
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
1792
|
+
token,
|
|
1793
|
+
slot,
|
|
1794
|
+
revision: options?.revision
|
|
1795
|
+
});
|
|
1796
|
+
const reqOpts = rescheduleBookingAnonymously(payload);
|
|
1797
|
+
sideEffects?.onSiteCall?.();
|
|
1798
|
+
try {
|
|
1799
|
+
const result = await httpClient.request(reqOpts);
|
|
1800
|
+
sideEffects?.onSuccess?.(result);
|
|
1801
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
1802
|
+
} catch (err) {
|
|
1803
|
+
const transformedError = sdkTransformError(
|
|
1804
|
+
err,
|
|
1805
|
+
{
|
|
1806
|
+
spreadPathsToArguments: {},
|
|
1807
|
+
explicitPathsToArguments: {
|
|
1808
|
+
token: "$[0]",
|
|
1809
|
+
slot: "$[1]",
|
|
1810
|
+
revision: "$[2].revision"
|
|
1811
|
+
},
|
|
1812
|
+
singleArgumentUnchanged: false
|
|
1813
|
+
},
|
|
1814
|
+
["token", "slot", "options"]
|
|
1815
|
+
);
|
|
1816
|
+
sideEffects?.onError?.(err);
|
|
1817
|
+
throw transformedError;
|
|
1818
|
+
}
|
|
1819
|
+
}
|
|
1820
|
+
async function getBookingAnonymously2(token) {
|
|
1821
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
1822
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({ token });
|
|
1823
|
+
const reqOpts = getBookingAnonymously(payload);
|
|
1824
|
+
sideEffects?.onSiteCall?.();
|
|
1825
|
+
try {
|
|
1826
|
+
const result = await httpClient.request(reqOpts);
|
|
1827
|
+
sideEffects?.onSuccess?.(result);
|
|
1828
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
1829
|
+
} catch (err) {
|
|
1830
|
+
const transformedError = sdkTransformError(
|
|
1831
|
+
err,
|
|
1832
|
+
{
|
|
1833
|
+
spreadPathsToArguments: {},
|
|
1834
|
+
explicitPathsToArguments: { token: "$[0]" },
|
|
1835
|
+
singleArgumentUnchanged: false
|
|
1836
|
+
},
|
|
1837
|
+
["token"]
|
|
1838
|
+
);
|
|
1839
|
+
sideEffects?.onError?.(err);
|
|
1840
|
+
throw transformedError;
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1444
1843
|
async function confirmOrDeclineBooking2(bookingId, options) {
|
|
1445
1844
|
const { httpClient, sideEffects } = arguments[2];
|
|
1446
1845
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
@@ -2219,6 +2618,7 @@ export {
|
|
|
2219
2618
|
bulkCreateBooking2 as bulkCreateBooking,
|
|
2220
2619
|
bulkGetMultiServiceBookingAllowedActions2 as bulkGetMultiServiceBookingAllowedActions,
|
|
2221
2620
|
cancelBooking,
|
|
2621
|
+
cancelBookingAnonymously2 as cancelBookingAnonymously,
|
|
2222
2622
|
cancelMultiServiceBooking2 as cancelMultiServiceBooking,
|
|
2223
2623
|
confirmBooking,
|
|
2224
2624
|
confirmMultiServiceBooking2 as confirmMultiServiceBooking,
|
|
@@ -2227,12 +2627,15 @@ export {
|
|
|
2227
2627
|
createMultiServiceBooking2 as createMultiServiceBooking,
|
|
2228
2628
|
declineBooking,
|
|
2229
2629
|
declineMultiServiceBooking2 as declineMultiServiceBooking,
|
|
2630
|
+
getAnonymousActionDetails2 as getAnonymousActionDetails,
|
|
2631
|
+
getBookingAnonymously2 as getBookingAnonymously,
|
|
2230
2632
|
getMultiServiceBooking2 as getMultiServiceBooking,
|
|
2231
2633
|
getMultiServiceBookingAvailability2 as getMultiServiceBookingAvailability,
|
|
2232
2634
|
markBookingAsPending2 as markBookingAsPending,
|
|
2233
2635
|
markMultiServiceBookingAsPending2 as markMultiServiceBookingAsPending,
|
|
2234
2636
|
removeBookingsFromMultiServiceBooking2 as removeBookingsFromMultiServiceBooking,
|
|
2235
2637
|
rescheduleBooking2 as rescheduleBooking,
|
|
2638
|
+
rescheduleBookingAnonymously2 as rescheduleBookingAnonymously,
|
|
2236
2639
|
rescheduleMultiServiceBooking2 as rescheduleMultiServiceBooking,
|
|
2237
2640
|
setBookingSubmissionId2 as setBookingSubmissionId,
|
|
2238
2641
|
updateExtendedFields2 as updateExtendedFields,
|