@savvycal/appointments-core 1.3.0 → 1.5.0
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/dist/index.cjs +14 -0
- package/dist/index.d.cts +6054 -3192
- package/dist/index.d.ts +6054 -3192
- package/dist/index.js +12 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -88,6 +88,7 @@ __export(index_exports, {
|
|
|
88
88
|
listAccounts: () => listAccounts,
|
|
89
89
|
listAppointments: () => listAppointments,
|
|
90
90
|
listBlocks: () => listBlocks,
|
|
91
|
+
listBookingIntentSlots: () => listBookingIntentSlots,
|
|
91
92
|
listBookingIntents: () => listBookingIntents,
|
|
92
93
|
listCancellationReasons: () => listCancellationReasons,
|
|
93
94
|
listClientFields: () => listClientFields,
|
|
@@ -96,6 +97,7 @@ __export(index_exports, {
|
|
|
96
97
|
listForms: () => listForms,
|
|
97
98
|
listProviderSchedules: () => listProviderSchedules,
|
|
98
99
|
listProviders: () => listProviders,
|
|
100
|
+
listPublicBookingIntentSlots: () => listPublicBookingIntentSlots,
|
|
99
101
|
listPublicCancellationReasons: () => listPublicCancellationReasons,
|
|
100
102
|
listPublicServiceSlots: () => listPublicServiceSlots,
|
|
101
103
|
listRoles: () => listRoles,
|
|
@@ -491,6 +493,11 @@ function listBookingIntents(client, query) {
|
|
|
491
493
|
params: { query }
|
|
492
494
|
});
|
|
493
495
|
}
|
|
496
|
+
function listBookingIntentSlots(client, path, query) {
|
|
497
|
+
return client.GET("/v1/booking_intents/{booking_intent_id}/slots", {
|
|
498
|
+
params: { path, query }
|
|
499
|
+
});
|
|
500
|
+
}
|
|
494
501
|
function listCancellationReasons(client) {
|
|
495
502
|
return client.GET("/v1/cancellation_reasons");
|
|
496
503
|
}
|
|
@@ -522,6 +529,11 @@ function listProviderSchedules(client, query) {
|
|
|
522
529
|
params: { query }
|
|
523
530
|
});
|
|
524
531
|
}
|
|
532
|
+
function listPublicBookingIntentSlots(client, path, query) {
|
|
533
|
+
return client.GET("/v1/public/booking_intents/{booking_intent_id}/slots", {
|
|
534
|
+
params: { path, query }
|
|
535
|
+
});
|
|
536
|
+
}
|
|
525
537
|
function listPublicCancellationReasons(client, path) {
|
|
526
538
|
return client.GET(
|
|
527
539
|
"/v1/public/appointments/{appointment_id}/cancellation_reasons",
|
|
@@ -714,6 +726,7 @@ function updateService(client, path, body) {
|
|
|
714
726
|
listAccounts,
|
|
715
727
|
listAppointments,
|
|
716
728
|
listBlocks,
|
|
729
|
+
listBookingIntentSlots,
|
|
717
730
|
listBookingIntents,
|
|
718
731
|
listCancellationReasons,
|
|
719
732
|
listClientFields,
|
|
@@ -722,6 +735,7 @@ function updateService(client, path, body) {
|
|
|
722
735
|
listForms,
|
|
723
736
|
listProviderSchedules,
|
|
724
737
|
listProviders,
|
|
738
|
+
listPublicBookingIntentSlots,
|
|
725
739
|
listPublicCancellationReasons,
|
|
726
740
|
listPublicServiceSlots,
|
|
727
741
|
listRoles,
|