@savvycal/appointments-core 1.4.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 +6042 -3166
- package/dist/index.d.ts +6042 -3166
- package/dist/index.js +12 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -367,6 +367,11 @@ function listBookingIntents(client, query) {
|
|
|
367
367
|
params: { query }
|
|
368
368
|
});
|
|
369
369
|
}
|
|
370
|
+
function listBookingIntentSlots(client, path, query) {
|
|
371
|
+
return client.GET("/v1/booking_intents/{booking_intent_id}/slots", {
|
|
372
|
+
params: { path, query }
|
|
373
|
+
});
|
|
374
|
+
}
|
|
370
375
|
function listCancellationReasons(client) {
|
|
371
376
|
return client.GET("/v1/cancellation_reasons");
|
|
372
377
|
}
|
|
@@ -398,6 +403,11 @@ function listProviderSchedules(client, query) {
|
|
|
398
403
|
params: { query }
|
|
399
404
|
});
|
|
400
405
|
}
|
|
406
|
+
function listPublicBookingIntentSlots(client, path, query) {
|
|
407
|
+
return client.GET("/v1/public/booking_intents/{booking_intent_id}/slots", {
|
|
408
|
+
params: { path, query }
|
|
409
|
+
});
|
|
410
|
+
}
|
|
401
411
|
function listPublicCancellationReasons(client, path) {
|
|
402
412
|
return client.GET(
|
|
403
413
|
"/v1/public/appointments/{appointment_id}/cancellation_reasons",
|
|
@@ -589,6 +599,7 @@ export {
|
|
|
589
599
|
listAccounts,
|
|
590
600
|
listAppointments,
|
|
591
601
|
listBlocks,
|
|
602
|
+
listBookingIntentSlots,
|
|
592
603
|
listBookingIntents,
|
|
593
604
|
listCancellationReasons,
|
|
594
605
|
listClientFields,
|
|
@@ -597,6 +608,7 @@ export {
|
|
|
597
608
|
listForms,
|
|
598
609
|
listProviderSchedules,
|
|
599
610
|
listProviders,
|
|
611
|
+
listPublicBookingIntentSlots,
|
|
600
612
|
listPublicCancellationReasons,
|
|
601
613
|
listPublicServiceSlots,
|
|
602
614
|
listRoles,
|