@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
package/build/cjs/meta.js
CHANGED
|
@@ -39,6 +39,7 @@ __export(meta_exports, {
|
|
|
39
39
|
bulkCreateBooking: () => bulkCreateBooking2,
|
|
40
40
|
bulkGetMultiServiceBookingAllowedActions: () => bulkGetMultiServiceBookingAllowedActions2,
|
|
41
41
|
cancelBooking: () => cancelBooking,
|
|
42
|
+
cancelBookingAnonymously: () => cancelBookingAnonymously2,
|
|
42
43
|
cancelMultiServiceBooking: () => cancelMultiServiceBooking2,
|
|
43
44
|
confirmBooking: () => confirmBooking,
|
|
44
45
|
confirmMultiServiceBooking: () => confirmMultiServiceBooking2,
|
|
@@ -47,12 +48,15 @@ __export(meta_exports, {
|
|
|
47
48
|
createMultiServiceBooking: () => createMultiServiceBooking2,
|
|
48
49
|
declineBooking: () => declineBooking,
|
|
49
50
|
declineMultiServiceBooking: () => declineMultiServiceBooking2,
|
|
51
|
+
getAnonymousActionDetails: () => getAnonymousActionDetails2,
|
|
52
|
+
getBookingAnonymously: () => getBookingAnonymously2,
|
|
50
53
|
getMultiServiceBooking: () => getMultiServiceBooking2,
|
|
51
54
|
getMultiServiceBookingAvailability: () => getMultiServiceBookingAvailability2,
|
|
52
55
|
markBookingAsPending: () => markBookingAsPending2,
|
|
53
56
|
markMultiServiceBookingAsPending: () => markMultiServiceBookingAsPending2,
|
|
54
57
|
removeBookingsFromMultiServiceBooking: () => removeBookingsFromMultiServiceBooking2,
|
|
55
58
|
rescheduleBooking: () => rescheduleBooking2,
|
|
59
|
+
rescheduleBookingAnonymously: () => rescheduleBookingAnonymously2,
|
|
56
60
|
rescheduleMultiServiceBooking: () => rescheduleMultiServiceBooking2,
|
|
57
61
|
setBookingSubmissionId: () => setBookingSubmissionId2,
|
|
58
62
|
updateExtendedFields: () => updateExtendedFields2,
|
|
@@ -425,7 +429,301 @@ function resolveComWixpressBookingsConfirmatorV2ConfirmatorUrl(opts) {
|
|
|
425
429
|
};
|
|
426
430
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
427
431
|
}
|
|
432
|
+
function resolveComWixpressBookingsBookingsV2AnonymousBookingActionsUrl(opts) {
|
|
433
|
+
const domainToMappings = {
|
|
434
|
+
_: [
|
|
435
|
+
{
|
|
436
|
+
srcPath: "/_api/bookings-service/v2/bookings",
|
|
437
|
+
destPath: "/v2/bookings"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
srcPath: "/_api/bookings-service/v2/bulk/bookings",
|
|
441
|
+
destPath: "/v2/bulk/bookings"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
srcPath: "/_api/bookings-service/v2/multi_service_bookings",
|
|
445
|
+
destPath: "/v2/multi_service_bookings"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
srcPath: "/_api/bookings-service/v2/bulk/multi_service_bookings",
|
|
449
|
+
destPath: "/v2/bulk/multi_service_bookings"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
453
|
+
destPath: "/v2/multi_service_bookings"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings/add_bookings_to_multi_service_booking",
|
|
457
|
+
destPath: "/v2/multi_service_bookings/add_bookings_to_multi_service_booking"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
srcPath: "/bookings/bookings/v2/bulk/bookings",
|
|
461
|
+
destPath: "/v2/bulk/bookings"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
srcPath: "/bookings/multiServiceBookings/v2/bulk/multi_service_bookings/get_allowed_actions",
|
|
465
|
+
destPath: "/v2/bulk/multi_service_bookings/get_allowed_actions"
|
|
466
|
+
}
|
|
467
|
+
],
|
|
468
|
+
"manage._base_domain_": [
|
|
469
|
+
{
|
|
470
|
+
srcPath: "/_api/bookings-service/v2/bookings",
|
|
471
|
+
destPath: "/v2/bookings"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
srcPath: "/_api/bookings-service/v2/bulk/bookings",
|
|
475
|
+
destPath: "/v2/bulk/bookings"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
srcPath: "/_api/bookings-service/v2/multi_service_bookings",
|
|
479
|
+
destPath: "/v2/multi_service_bookings"
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
srcPath: "/_api/bookings-service/v2/bulk/multi_service_bookings",
|
|
483
|
+
destPath: "/v2/bulk/multi_service_bookings"
|
|
484
|
+
}
|
|
485
|
+
],
|
|
486
|
+
"www.wixapis.com": [
|
|
487
|
+
{
|
|
488
|
+
srcPath: "/_api/bookings-service/v2/bookings",
|
|
489
|
+
destPath: "/v2/bookings"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
srcPath: "/bookings/v2/bookings",
|
|
493
|
+
destPath: "/v2/bookings"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
srcPath: "/bookings/v2/bulk/bookings",
|
|
497
|
+
destPath: "/v2/bulk/bookings"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
srcPath: "/_api/bookings-service/v2/multi_service_bookings",
|
|
501
|
+
destPath: "/v2/multi_service_bookings"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
505
|
+
destPath: "/v2/multi_service_bookings"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings/add_bookings_to_multi_service_booking",
|
|
509
|
+
destPath: "/v2/multi_service_bookings/add_bookings_to_multi_service_booking"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
srcPath: "/bookings/bookings/v2/bulk/bookings",
|
|
513
|
+
destPath: "/v2/bulk/bookings"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
srcPath: "/bookings/multiServiceBookings/v2/bulk/multi_service_bookings/get_allowed_actions",
|
|
517
|
+
destPath: "/v2/bulk/multi_service_bookings/get_allowed_actions"
|
|
518
|
+
}
|
|
519
|
+
],
|
|
520
|
+
"www._base_domain_": [
|
|
521
|
+
{
|
|
522
|
+
srcPath: "/_api/bookings-service/v2/bulk/bookings",
|
|
523
|
+
destPath: "/v2/bulk/bookings"
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
srcPath: "/_api/bookings-service/v2/bookings",
|
|
527
|
+
destPath: "/v2/bookings"
|
|
528
|
+
}
|
|
529
|
+
],
|
|
530
|
+
"bo._base_domain_": [
|
|
531
|
+
{
|
|
532
|
+
srcPath: "/_api/bookings-service/v2/bulk/bookings",
|
|
533
|
+
destPath: "/v2/bulk/bookings"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
srcPath: "/_api/bookings-service/v2/bookings",
|
|
537
|
+
destPath: "/v2/bookings"
|
|
538
|
+
}
|
|
539
|
+
],
|
|
540
|
+
"wixbo.ai": [
|
|
541
|
+
{
|
|
542
|
+
srcPath: "/_api/bookings-service/v2/bulk/bookings",
|
|
543
|
+
destPath: "/v2/bulk/bookings"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
srcPath: "/_api/bookings-service/v2/bookings",
|
|
547
|
+
destPath: "/v2/bookings"
|
|
548
|
+
}
|
|
549
|
+
],
|
|
550
|
+
"wix-bo.com": [
|
|
551
|
+
{
|
|
552
|
+
srcPath: "/_api/bookings-service/v2/bulk/bookings",
|
|
553
|
+
destPath: "/v2/bulk/bookings"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
srcPath: "/_api/bookings-service/v2/bookings",
|
|
557
|
+
destPath: "/v2/bookings"
|
|
558
|
+
}
|
|
559
|
+
],
|
|
560
|
+
"*.dev.wix-code.com": [
|
|
561
|
+
{
|
|
562
|
+
srcPath: "/_api/bookings-service",
|
|
563
|
+
destPath: "/v2/bookings"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
567
|
+
destPath: "/v2/multi_service_bookings"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings/add_bookings_to_multi_service_booking",
|
|
571
|
+
destPath: "/v2/multi_service_bookings/add_bookings_to_multi_service_booking"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
srcPath: "/bookings/bookings/v2/bulk/bookings",
|
|
575
|
+
destPath: "/v2/bulk/bookings"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
srcPath: "/bookings/multiServiceBookings/v2/bulk/multi_service_bookings/get_allowed_actions",
|
|
579
|
+
destPath: "/v2/bulk/multi_service_bookings/get_allowed_actions"
|
|
580
|
+
}
|
|
581
|
+
]
|
|
582
|
+
};
|
|
583
|
+
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
584
|
+
}
|
|
428
585
|
var PACKAGE_NAME = "@wix/auto_sdk_bookings_bookings";
|
|
586
|
+
function getAnonymousActionDetails(payload) {
|
|
587
|
+
function __getAnonymousActionDetails({ host }) {
|
|
588
|
+
const metadata = {
|
|
589
|
+
entityFqdn: "wix.bookings.v2.booking",
|
|
590
|
+
method: "GET",
|
|
591
|
+
methodFqn: "com.wixpress.bookings.bookings.v2.AnonymousBookingActions.GetAnonymousActionDetails",
|
|
592
|
+
packageName: PACKAGE_NAME,
|
|
593
|
+
migrationOptions: {
|
|
594
|
+
optInTransformResponse: true
|
|
595
|
+
},
|
|
596
|
+
url: resolveComWixpressBookingsBookingsV2AnonymousBookingActionsUrl({
|
|
597
|
+
protoPath: "/v2/bookings/anonymous-actions-details",
|
|
598
|
+
data: payload,
|
|
599
|
+
host
|
|
600
|
+
}),
|
|
601
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
602
|
+
};
|
|
603
|
+
return metadata;
|
|
604
|
+
}
|
|
605
|
+
return __getAnonymousActionDetails;
|
|
606
|
+
}
|
|
607
|
+
function cancelBookingAnonymously(payload) {
|
|
608
|
+
function __cancelBookingAnonymously({ host }) {
|
|
609
|
+
const metadata = {
|
|
610
|
+
entityFqdn: "wix.bookings.v2.booking",
|
|
611
|
+
method: "POST",
|
|
612
|
+
methodFqn: "com.wixpress.bookings.bookings.v2.AnonymousBookingActions.CancelBookingAnonymously",
|
|
613
|
+
packageName: PACKAGE_NAME,
|
|
614
|
+
migrationOptions: {
|
|
615
|
+
optInTransformResponse: true
|
|
616
|
+
},
|
|
617
|
+
url: resolveComWixpressBookingsBookingsV2AnonymousBookingActionsUrl({
|
|
618
|
+
protoPath: "/v2/bookings/{token}/anonymous-cancel",
|
|
619
|
+
data: payload,
|
|
620
|
+
host
|
|
621
|
+
}),
|
|
622
|
+
data: payload,
|
|
623
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
624
|
+
{
|
|
625
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
626
|
+
paths: [
|
|
627
|
+
{ path: "booking.createdDate" },
|
|
628
|
+
{ path: "booking.startDate" },
|
|
629
|
+
{ path: "booking.endDate" },
|
|
630
|
+
{ path: "booking.updatedDate" },
|
|
631
|
+
{ path: "booking.canceledDate" }
|
|
632
|
+
]
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
636
|
+
paths: [
|
|
637
|
+
{ path: "booking.contactDetails.fullAddress.geocode.latitude" },
|
|
638
|
+
{ path: "booking.contactDetails.fullAddress.geocode.longitude" }
|
|
639
|
+
]
|
|
640
|
+
}
|
|
641
|
+
])
|
|
642
|
+
};
|
|
643
|
+
return metadata;
|
|
644
|
+
}
|
|
645
|
+
return __cancelBookingAnonymously;
|
|
646
|
+
}
|
|
647
|
+
function rescheduleBookingAnonymously(payload) {
|
|
648
|
+
function __rescheduleBookingAnonymously({ host }) {
|
|
649
|
+
const metadata = {
|
|
650
|
+
entityFqdn: "wix.bookings.v2.booking",
|
|
651
|
+
method: "POST",
|
|
652
|
+
methodFqn: "com.wixpress.bookings.bookings.v2.AnonymousBookingActions.RescheduleBookingAnonymously",
|
|
653
|
+
packageName: PACKAGE_NAME,
|
|
654
|
+
migrationOptions: {
|
|
655
|
+
optInTransformResponse: true
|
|
656
|
+
},
|
|
657
|
+
url: resolveComWixpressBookingsBookingsV2AnonymousBookingActionsUrl({
|
|
658
|
+
protoPath: "/v2/bookings/{token}/anonymous-reschedule",
|
|
659
|
+
data: payload,
|
|
660
|
+
host
|
|
661
|
+
}),
|
|
662
|
+
data: payload,
|
|
663
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
664
|
+
{
|
|
665
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
666
|
+
paths: [
|
|
667
|
+
{ path: "booking.createdDate" },
|
|
668
|
+
{ path: "booking.startDate" },
|
|
669
|
+
{ path: "booking.endDate" },
|
|
670
|
+
{ path: "booking.updatedDate" },
|
|
671
|
+
{ path: "booking.canceledDate" }
|
|
672
|
+
]
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
676
|
+
paths: [
|
|
677
|
+
{ path: "booking.contactDetails.fullAddress.geocode.latitude" },
|
|
678
|
+
{ path: "booking.contactDetails.fullAddress.geocode.longitude" }
|
|
679
|
+
]
|
|
680
|
+
}
|
|
681
|
+
])
|
|
682
|
+
};
|
|
683
|
+
return metadata;
|
|
684
|
+
}
|
|
685
|
+
return __rescheduleBookingAnonymously;
|
|
686
|
+
}
|
|
687
|
+
function getBookingAnonymously(payload) {
|
|
688
|
+
function __getBookingAnonymously({ host }) {
|
|
689
|
+
const metadata = {
|
|
690
|
+
entityFqdn: "wix.bookings.v2.booking",
|
|
691
|
+
method: "GET",
|
|
692
|
+
methodFqn: "com.wixpress.bookings.bookings.v2.AnonymousBookingActions.GetBookingAnonymously",
|
|
693
|
+
packageName: PACKAGE_NAME,
|
|
694
|
+
migrationOptions: {
|
|
695
|
+
optInTransformResponse: true
|
|
696
|
+
},
|
|
697
|
+
url: resolveComWixpressBookingsBookingsV2AnonymousBookingActionsUrl({
|
|
698
|
+
protoPath: "/v2/bookings/{token}/anonymous-get",
|
|
699
|
+
data: payload,
|
|
700
|
+
host
|
|
701
|
+
}),
|
|
702
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
703
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
704
|
+
{
|
|
705
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
706
|
+
paths: [
|
|
707
|
+
{ path: "booking.createdDate" },
|
|
708
|
+
{ path: "booking.startDate" },
|
|
709
|
+
{ path: "booking.endDate" },
|
|
710
|
+
{ path: "booking.updatedDate" },
|
|
711
|
+
{ path: "booking.canceledDate" }
|
|
712
|
+
]
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
716
|
+
paths: [
|
|
717
|
+
{ path: "booking.contactDetails.fullAddress.geocode.latitude" },
|
|
718
|
+
{ path: "booking.contactDetails.fullAddress.geocode.longitude" }
|
|
719
|
+
]
|
|
720
|
+
}
|
|
721
|
+
])
|
|
722
|
+
};
|
|
723
|
+
return metadata;
|
|
724
|
+
}
|
|
725
|
+
return __getBookingAnonymously;
|
|
726
|
+
}
|
|
429
727
|
function confirmOrDeclineBooking(payload) {
|
|
430
728
|
function __confirmOrDeclineBooking({ host }) {
|
|
431
729
|
const metadata = {
|
|
@@ -1498,6 +1796,78 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
|
1498
1796
|
})(SortOrder || {});
|
|
1499
1797
|
|
|
1500
1798
|
// src/bookings-v2-booking-bookings.meta.ts
|
|
1799
|
+
function getAnonymousActionDetails2() {
|
|
1800
|
+
const payload = {};
|
|
1801
|
+
const getRequestOptions = getAnonymousActionDetails(payload);
|
|
1802
|
+
const getUrl = (context) => {
|
|
1803
|
+
const { url } = getRequestOptions(context);
|
|
1804
|
+
return url;
|
|
1805
|
+
};
|
|
1806
|
+
return {
|
|
1807
|
+
getUrl,
|
|
1808
|
+
httpMethod: "GET",
|
|
1809
|
+
path: "/v2/bookings/anonymous-actions-details",
|
|
1810
|
+
pathParams: {},
|
|
1811
|
+
__requestType: null,
|
|
1812
|
+
__originalRequestType: null,
|
|
1813
|
+
__responseType: null,
|
|
1814
|
+
__originalResponseType: null
|
|
1815
|
+
};
|
|
1816
|
+
}
|
|
1817
|
+
function cancelBookingAnonymously2() {
|
|
1818
|
+
const payload = { token: ":token" };
|
|
1819
|
+
const getRequestOptions = cancelBookingAnonymously(payload);
|
|
1820
|
+
const getUrl = (context) => {
|
|
1821
|
+
const { url } = getRequestOptions(context);
|
|
1822
|
+
return url;
|
|
1823
|
+
};
|
|
1824
|
+
return {
|
|
1825
|
+
getUrl,
|
|
1826
|
+
httpMethod: "POST",
|
|
1827
|
+
path: "/v2/bookings/{token}/anonymous-cancel",
|
|
1828
|
+
pathParams: { token: "token" },
|
|
1829
|
+
__requestType: null,
|
|
1830
|
+
__originalRequestType: null,
|
|
1831
|
+
__responseType: null,
|
|
1832
|
+
__originalResponseType: null
|
|
1833
|
+
};
|
|
1834
|
+
}
|
|
1835
|
+
function rescheduleBookingAnonymously2() {
|
|
1836
|
+
const payload = { token: ":token" };
|
|
1837
|
+
const getRequestOptions = rescheduleBookingAnonymously(payload);
|
|
1838
|
+
const getUrl = (context) => {
|
|
1839
|
+
const { url } = getRequestOptions(context);
|
|
1840
|
+
return url;
|
|
1841
|
+
};
|
|
1842
|
+
return {
|
|
1843
|
+
getUrl,
|
|
1844
|
+
httpMethod: "POST",
|
|
1845
|
+
path: "/v2/bookings/{token}/anonymous-reschedule",
|
|
1846
|
+
pathParams: { token: "token" },
|
|
1847
|
+
__requestType: null,
|
|
1848
|
+
__originalRequestType: null,
|
|
1849
|
+
__responseType: null,
|
|
1850
|
+
__originalResponseType: null
|
|
1851
|
+
};
|
|
1852
|
+
}
|
|
1853
|
+
function getBookingAnonymously2() {
|
|
1854
|
+
const payload = { token: ":token" };
|
|
1855
|
+
const getRequestOptions = getBookingAnonymously(payload);
|
|
1856
|
+
const getUrl = (context) => {
|
|
1857
|
+
const { url } = getRequestOptions(context);
|
|
1858
|
+
return url;
|
|
1859
|
+
};
|
|
1860
|
+
return {
|
|
1861
|
+
getUrl,
|
|
1862
|
+
httpMethod: "GET",
|
|
1863
|
+
path: "/v2/bookings/{token}/anonymous-get",
|
|
1864
|
+
pathParams: { token: "token" },
|
|
1865
|
+
__requestType: null,
|
|
1866
|
+
__originalRequestType: null,
|
|
1867
|
+
__responseType: null,
|
|
1868
|
+
__originalResponseType: null
|
|
1869
|
+
};
|
|
1870
|
+
}
|
|
1501
1871
|
function confirmOrDeclineBooking2() {
|
|
1502
1872
|
const payload = { bookingId: ":bookingId" };
|
|
1503
1873
|
const getRequestOptions = confirmOrDeclineBooking(payload);
|
|
@@ -1937,6 +2307,7 @@ function removeBookingsFromMultiServiceBooking2() {
|
|
|
1937
2307
|
bulkCreateBooking,
|
|
1938
2308
|
bulkGetMultiServiceBookingAllowedActions,
|
|
1939
2309
|
cancelBooking,
|
|
2310
|
+
cancelBookingAnonymously,
|
|
1940
2311
|
cancelMultiServiceBooking,
|
|
1941
2312
|
confirmBooking,
|
|
1942
2313
|
confirmMultiServiceBooking,
|
|
@@ -1945,12 +2316,15 @@ function removeBookingsFromMultiServiceBooking2() {
|
|
|
1945
2316
|
createMultiServiceBooking,
|
|
1946
2317
|
declineBooking,
|
|
1947
2318
|
declineMultiServiceBooking,
|
|
2319
|
+
getAnonymousActionDetails,
|
|
2320
|
+
getBookingAnonymously,
|
|
1948
2321
|
getMultiServiceBooking,
|
|
1949
2322
|
getMultiServiceBookingAvailability,
|
|
1950
2323
|
markBookingAsPending,
|
|
1951
2324
|
markMultiServiceBookingAsPending,
|
|
1952
2325
|
removeBookingsFromMultiServiceBooking,
|
|
1953
2326
|
rescheduleBooking,
|
|
2327
|
+
rescheduleBookingAnonymously,
|
|
1954
2328
|
rescheduleMultiServiceBooking,
|
|
1955
2329
|
setBookingSubmissionId,
|
|
1956
2330
|
updateExtendedFields,
|