@ordinatio/scheduling-api 0.1.0 → 0.2.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/CHANGELOG.md +29 -0
- package/README.md +87 -1
- package/dist/{chunk-IAQBLF5F.mjs → chunk-MQO3VRMU.mjs} +59 -1
- package/dist/index.d.mts +63 -2
- package/dist/index.d.ts +63 -2
- package/dist/index.js +991 -229
- package/dist/index.mjs +776 -59
- package/dist/schemas/index.d.mts +55 -1
- package/dist/schemas/index.d.ts +55 -1
- package/dist/schemas/index.js +65 -0
- package/dist/schemas/index.mjs +15 -1
- package/package.json +3 -3
package/dist/schemas/index.d.mts
CHANGED
|
@@ -461,4 +461,58 @@ declare const CreateWebhookEndpointSchema: z.ZodObject<{
|
|
|
461
461
|
}, z.core.$strip>;
|
|
462
462
|
type CreateWebhookEndpointInput = z.infer<typeof CreateWebhookEndpointSchema>;
|
|
463
463
|
|
|
464
|
-
|
|
464
|
+
declare const CreateRoutingFormSchema: z.ZodObject<{
|
|
465
|
+
fallback: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
466
|
+
name: z.ZodString;
|
|
467
|
+
slug: z.ZodString;
|
|
468
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
469
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
470
|
+
questions: z.ZodArray<z.ZodUnknown>;
|
|
471
|
+
rules: z.ZodArray<z.ZodUnknown>;
|
|
472
|
+
}, z.core.$strip>;
|
|
473
|
+
declare const UpdateRoutingFormSchema: z.ZodObject<{
|
|
474
|
+
fallback: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
475
|
+
name: z.ZodOptional<z.ZodString>;
|
|
476
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
477
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
478
|
+
isActive: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
479
|
+
questions: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
480
|
+
rules: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
481
|
+
}, z.core.$strip>;
|
|
482
|
+
declare const RouteClientSchema: z.ZodObject<{
|
|
483
|
+
slug: z.ZodString;
|
|
484
|
+
orgSlug: z.ZodOptional<z.ZodString>;
|
|
485
|
+
answers: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
486
|
+
}, z.core.$strip>;
|
|
487
|
+
declare const TestRoutingFormSchema: z.ZodObject<{
|
|
488
|
+
answers: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
489
|
+
}, z.core.$strip>;
|
|
490
|
+
type CreateRoutingFormInput = z.infer<typeof CreateRoutingFormSchema>;
|
|
491
|
+
type UpdateRoutingFormInput = z.infer<typeof UpdateRoutingFormSchema>;
|
|
492
|
+
|
|
493
|
+
declare const PrivacySubjectSchema: z.ZodObject<{
|
|
494
|
+
email: z.ZodOptional<z.ZodString>;
|
|
495
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
496
|
+
}, z.core.$strict>;
|
|
497
|
+
/** Without `confirm: true` an erase request only previews. */
|
|
498
|
+
declare const PrivacyEraseSchema: z.ZodObject<{
|
|
499
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
500
|
+
email: z.ZodOptional<z.ZodString>;
|
|
501
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
502
|
+
}, z.core.$strict>;
|
|
503
|
+
|
|
504
|
+
declare const BrandSchema: z.ZodObject<{
|
|
505
|
+
displayName: z.ZodString;
|
|
506
|
+
logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
507
|
+
primaryColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
508
|
+
accentColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
509
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
510
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
511
|
+
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
512
|
+
footerText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
513
|
+
replyToEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
514
|
+
fromName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
515
|
+
fromEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
516
|
+
}, z.core.$strict>;
|
|
517
|
+
|
|
518
|
+
export { type BookingPageConfig, BookingPageConfigSchema, type BookingPageTheme, BookingPageThemeSchema, BrandSchema, CancelRecurringScopeSchema, type CancelRecurringSeriesInput, CancelRecurringSeriesSchema, type CreateAppointmentCategoryInput, CreateAppointmentCategorySchema, type CreateAppointmentTypeInput, CreateAppointmentTypeSchema, type CreateAvailabilityRuleInput, CreateAvailabilityRuleSchema, type CreateCalendarInput, CreateCalendarSchema, type CreateCouponCodeInput, CreateCouponCodeSchema, type CreateNotificationTemplateInput, CreateNotificationTemplateSchema, type CreatePackagePurchaseInput, CreatePackagePurchaseSchema, type CreateRecurringSeriesInput, CreateRecurringSeriesSchema, type CreateRoutingFormInput, CreateRoutingFormSchema, type CreateServicePackageInput, CreateServicePackageSchema, type CreateWebhookEndpointInput, CreateWebhookEndpointSchema, DEFAULT_CANCELLATION_POLICY, IntakeFormFieldSchema, type NoShowPrevention, type NoShowPreventionAction, NoShowPreventionActionSchema, NotificationChannelSchema, NotificationTriggerSchema, type OrgCancellationPolicy, OrgCancellationPolicySchema, PrivacyEraseSchema, PrivacySubjectSchema, RecurringFrequencySchema, RouteClientSchema, SLOT_GRANULARITY_DEFAULT, SLOT_GRANULARITY_OPTIONS, type SlotGranularityMinutes, TestRoutingFormSchema, type UpdateAppointmentCategoryInput, UpdateAppointmentCategorySchema, type UpdateAppointmentTypeInput, UpdateAppointmentTypeSchema, type UpdateBookingPageInput, UpdateBookingPageSchema, type UpdateCalendarInput, UpdateCalendarSchema, type UpdateCouponCodeInput, UpdateCouponCodeSchema, type UpdateNotificationTemplateInput, UpdateNotificationTemplateSchema, type UpdatePackagePurchaseInput, UpdatePackagePurchaseSchema, type UpdateRoutingFormInput, UpdateRoutingFormSchema, type UpdateServicePackageInput, UpdateServicePackageSchema };
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -461,4 +461,58 @@ declare const CreateWebhookEndpointSchema: z.ZodObject<{
|
|
|
461
461
|
}, z.core.$strip>;
|
|
462
462
|
type CreateWebhookEndpointInput = z.infer<typeof CreateWebhookEndpointSchema>;
|
|
463
463
|
|
|
464
|
-
|
|
464
|
+
declare const CreateRoutingFormSchema: z.ZodObject<{
|
|
465
|
+
fallback: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
466
|
+
name: z.ZodString;
|
|
467
|
+
slug: z.ZodString;
|
|
468
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
469
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
470
|
+
questions: z.ZodArray<z.ZodUnknown>;
|
|
471
|
+
rules: z.ZodArray<z.ZodUnknown>;
|
|
472
|
+
}, z.core.$strip>;
|
|
473
|
+
declare const UpdateRoutingFormSchema: z.ZodObject<{
|
|
474
|
+
fallback: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
475
|
+
name: z.ZodOptional<z.ZodString>;
|
|
476
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
477
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
478
|
+
isActive: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
479
|
+
questions: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
480
|
+
rules: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
481
|
+
}, z.core.$strip>;
|
|
482
|
+
declare const RouteClientSchema: z.ZodObject<{
|
|
483
|
+
slug: z.ZodString;
|
|
484
|
+
orgSlug: z.ZodOptional<z.ZodString>;
|
|
485
|
+
answers: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
486
|
+
}, z.core.$strip>;
|
|
487
|
+
declare const TestRoutingFormSchema: z.ZodObject<{
|
|
488
|
+
answers: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
489
|
+
}, z.core.$strip>;
|
|
490
|
+
type CreateRoutingFormInput = z.infer<typeof CreateRoutingFormSchema>;
|
|
491
|
+
type UpdateRoutingFormInput = z.infer<typeof UpdateRoutingFormSchema>;
|
|
492
|
+
|
|
493
|
+
declare const PrivacySubjectSchema: z.ZodObject<{
|
|
494
|
+
email: z.ZodOptional<z.ZodString>;
|
|
495
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
496
|
+
}, z.core.$strict>;
|
|
497
|
+
/** Without `confirm: true` an erase request only previews. */
|
|
498
|
+
declare const PrivacyEraseSchema: z.ZodObject<{
|
|
499
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
500
|
+
email: z.ZodOptional<z.ZodString>;
|
|
501
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
502
|
+
}, z.core.$strict>;
|
|
503
|
+
|
|
504
|
+
declare const BrandSchema: z.ZodObject<{
|
|
505
|
+
displayName: z.ZodString;
|
|
506
|
+
logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
507
|
+
primaryColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
508
|
+
accentColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
509
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
510
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
511
|
+
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
512
|
+
footerText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
513
|
+
replyToEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
514
|
+
fromName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
515
|
+
fromEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
516
|
+
}, z.core.$strict>;
|
|
517
|
+
|
|
518
|
+
export { type BookingPageConfig, BookingPageConfigSchema, type BookingPageTheme, BookingPageThemeSchema, BrandSchema, CancelRecurringScopeSchema, type CancelRecurringSeriesInput, CancelRecurringSeriesSchema, type CreateAppointmentCategoryInput, CreateAppointmentCategorySchema, type CreateAppointmentTypeInput, CreateAppointmentTypeSchema, type CreateAvailabilityRuleInput, CreateAvailabilityRuleSchema, type CreateCalendarInput, CreateCalendarSchema, type CreateCouponCodeInput, CreateCouponCodeSchema, type CreateNotificationTemplateInput, CreateNotificationTemplateSchema, type CreatePackagePurchaseInput, CreatePackagePurchaseSchema, type CreateRecurringSeriesInput, CreateRecurringSeriesSchema, type CreateRoutingFormInput, CreateRoutingFormSchema, type CreateServicePackageInput, CreateServicePackageSchema, type CreateWebhookEndpointInput, CreateWebhookEndpointSchema, DEFAULT_CANCELLATION_POLICY, IntakeFormFieldSchema, type NoShowPrevention, type NoShowPreventionAction, NoShowPreventionActionSchema, NotificationChannelSchema, NotificationTriggerSchema, type OrgCancellationPolicy, OrgCancellationPolicySchema, PrivacyEraseSchema, PrivacySubjectSchema, RecurringFrequencySchema, RouteClientSchema, SLOT_GRANULARITY_DEFAULT, SLOT_GRANULARITY_OPTIONS, type SlotGranularityMinutes, TestRoutingFormSchema, type UpdateAppointmentCategoryInput, UpdateAppointmentCategorySchema, type UpdateAppointmentTypeInput, UpdateAppointmentTypeSchema, type UpdateBookingPageInput, UpdateBookingPageSchema, type UpdateCalendarInput, UpdateCalendarSchema, type UpdateCouponCodeInput, UpdateCouponCodeSchema, type UpdateNotificationTemplateInput, UpdateNotificationTemplateSchema, type UpdatePackagePurchaseInput, UpdatePackagePurchaseSchema, type UpdateRoutingFormInput, UpdateRoutingFormSchema, type UpdateServicePackageInput, UpdateServicePackageSchema };
|
package/dist/schemas/index.js
CHANGED
|
@@ -22,6 +22,7 @@ var schemas_exports = {};
|
|
|
22
22
|
__export(schemas_exports, {
|
|
23
23
|
BookingPageConfigSchema: () => BookingPageConfigSchema,
|
|
24
24
|
BookingPageThemeSchema: () => BookingPageThemeSchema,
|
|
25
|
+
BrandSchema: () => BrandSchema,
|
|
25
26
|
CancelRecurringScopeSchema: () => CancelRecurringScopeSchema,
|
|
26
27
|
CancelRecurringSeriesSchema: () => CancelRecurringSeriesSchema,
|
|
27
28
|
CreateAppointmentCategorySchema: () => CreateAppointmentCategorySchema,
|
|
@@ -32,6 +33,7 @@ __export(schemas_exports, {
|
|
|
32
33
|
CreateNotificationTemplateSchema: () => CreateNotificationTemplateSchema,
|
|
33
34
|
CreatePackagePurchaseSchema: () => CreatePackagePurchaseSchema,
|
|
34
35
|
CreateRecurringSeriesSchema: () => CreateRecurringSeriesSchema,
|
|
36
|
+
CreateRoutingFormSchema: () => CreateRoutingFormSchema,
|
|
35
37
|
CreateServicePackageSchema: () => CreateServicePackageSchema,
|
|
36
38
|
CreateWebhookEndpointSchema: () => CreateWebhookEndpointSchema,
|
|
37
39
|
DEFAULT_CANCELLATION_POLICY: () => DEFAULT_CANCELLATION_POLICY,
|
|
@@ -40,9 +42,13 @@ __export(schemas_exports, {
|
|
|
40
42
|
NotificationChannelSchema: () => NotificationChannelSchema,
|
|
41
43
|
NotificationTriggerSchema: () => NotificationTriggerSchema,
|
|
42
44
|
OrgCancellationPolicySchema: () => OrgCancellationPolicySchema,
|
|
45
|
+
PrivacyEraseSchema: () => PrivacyEraseSchema,
|
|
46
|
+
PrivacySubjectSchema: () => PrivacySubjectSchema,
|
|
43
47
|
RecurringFrequencySchema: () => RecurringFrequencySchema,
|
|
48
|
+
RouteClientSchema: () => RouteClientSchema,
|
|
44
49
|
SLOT_GRANULARITY_DEFAULT: () => SLOT_GRANULARITY_DEFAULT,
|
|
45
50
|
SLOT_GRANULARITY_OPTIONS: () => SLOT_GRANULARITY_OPTIONS,
|
|
51
|
+
TestRoutingFormSchema: () => TestRoutingFormSchema,
|
|
46
52
|
UpdateAppointmentCategorySchema: () => UpdateAppointmentCategorySchema,
|
|
47
53
|
UpdateAppointmentTypeSchema: () => UpdateAppointmentTypeSchema,
|
|
48
54
|
UpdateBookingPageSchema: () => UpdateBookingPageSchema,
|
|
@@ -50,6 +56,7 @@ __export(schemas_exports, {
|
|
|
50
56
|
UpdateCouponCodeSchema: () => UpdateCouponCodeSchema,
|
|
51
57
|
UpdateNotificationTemplateSchema: () => UpdateNotificationTemplateSchema,
|
|
52
58
|
UpdatePackagePurchaseSchema: () => UpdatePackagePurchaseSchema,
|
|
59
|
+
UpdateRoutingFormSchema: () => UpdateRoutingFormSchema,
|
|
53
60
|
UpdateServicePackageSchema: () => UpdateServicePackageSchema
|
|
54
61
|
});
|
|
55
62
|
module.exports = __toCommonJS(schemas_exports);
|
|
@@ -431,10 +438,62 @@ var CreateWebhookEndpointSchema = import_zod5.z.object({
|
|
|
431
438
|
eventTypes: import_zod5.z.array(import_zod5.z.string().max(64)).min(1, { message: "Choose at least one event" }).max(20),
|
|
432
439
|
description: optionalString(200, "Description")
|
|
433
440
|
});
|
|
441
|
+
|
|
442
|
+
// src/schemas/routing.schema.ts
|
|
443
|
+
var import_zod6 = require("zod");
|
|
444
|
+
var bounded = {
|
|
445
|
+
name: import_zod6.z.string().max(200),
|
|
446
|
+
slug: import_zod6.z.string().max(100),
|
|
447
|
+
description: import_zod6.z.string().max(1e3).nullable().optional(),
|
|
448
|
+
isActive: import_zod6.z.boolean().optional(),
|
|
449
|
+
questions: import_zod6.z.array(import_zod6.z.unknown()).max(30),
|
|
450
|
+
rules: import_zod6.z.array(import_zod6.z.unknown()).max(60),
|
|
451
|
+
fallback: import_zod6.z.unknown()
|
|
452
|
+
};
|
|
453
|
+
var CreateRoutingFormSchema = import_zod6.z.object({
|
|
454
|
+
...bounded,
|
|
455
|
+
fallback: import_zod6.z.record(import_zod6.z.string(), import_zod6.z.unknown())
|
|
456
|
+
});
|
|
457
|
+
var UpdateRoutingFormSchema = import_zod6.z.object({ ...bounded, fallback: import_zod6.z.record(import_zod6.z.string(), import_zod6.z.unknown()) }).partial().refine((value) => Object.keys(value).length > 0, { message: "Send at least one field to change" });
|
|
458
|
+
var RouteClientSchema = import_zod6.z.object({
|
|
459
|
+
slug: import_zod6.z.string().min(1).max(100),
|
|
460
|
+
orgSlug: import_zod6.z.string().min(1).max(100).optional(),
|
|
461
|
+
answers: import_zod6.z.record(import_zod6.z.string(), import_zod6.z.unknown())
|
|
462
|
+
});
|
|
463
|
+
var TestRoutingFormSchema = import_zod6.z.object({ answers: import_zod6.z.record(import_zod6.z.string(), import_zod6.z.unknown()) });
|
|
464
|
+
|
|
465
|
+
// src/schemas/privacy.schema.ts
|
|
466
|
+
var import_zod7 = require("zod");
|
|
467
|
+
var subject = {
|
|
468
|
+
email: import_zod7.z.string().max(320).optional(),
|
|
469
|
+
clientId: import_zod7.z.string().max(200).optional()
|
|
470
|
+
};
|
|
471
|
+
var namesSomeone = (value) => Boolean(value.email?.trim() || value.clientId?.trim());
|
|
472
|
+
var namesSomeoneMessage = { message: "Send an email address, a client id, or both" };
|
|
473
|
+
var PrivacySubjectSchema = import_zod7.z.object(subject).strict().refine(namesSomeone, namesSomeoneMessage);
|
|
474
|
+
var PrivacyEraseSchema = import_zod7.z.object({ ...subject, confirm: import_zod7.z.boolean().optional() }).strict().refine(namesSomeone, namesSomeoneMessage);
|
|
475
|
+
|
|
476
|
+
// src/schemas/brand.schema.ts
|
|
477
|
+
var import_zod8 = require("zod");
|
|
478
|
+
var optionalText = (max) => import_zod8.z.string().max(max).nullable().optional();
|
|
479
|
+
var BrandSchema = import_zod8.z.object({
|
|
480
|
+
displayName: import_zod8.z.string().max(200),
|
|
481
|
+
logoUrl: optionalText(1e3),
|
|
482
|
+
primaryColor: optionalText(20),
|
|
483
|
+
accentColor: optionalText(20),
|
|
484
|
+
backgroundColor: optionalText(20),
|
|
485
|
+
textColor: optionalText(20),
|
|
486
|
+
fontFamily: optionalText(200),
|
|
487
|
+
footerText: optionalText(1e3),
|
|
488
|
+
replyToEmail: optionalText(400),
|
|
489
|
+
fromName: optionalText(200),
|
|
490
|
+
fromEmail: optionalText(400)
|
|
491
|
+
}).strict();
|
|
434
492
|
// Annotate the CommonJS export names for ESM import in node:
|
|
435
493
|
0 && (module.exports = {
|
|
436
494
|
BookingPageConfigSchema,
|
|
437
495
|
BookingPageThemeSchema,
|
|
496
|
+
BrandSchema,
|
|
438
497
|
CancelRecurringScopeSchema,
|
|
439
498
|
CancelRecurringSeriesSchema,
|
|
440
499
|
CreateAppointmentCategorySchema,
|
|
@@ -445,6 +504,7 @@ var CreateWebhookEndpointSchema = import_zod5.z.object({
|
|
|
445
504
|
CreateNotificationTemplateSchema,
|
|
446
505
|
CreatePackagePurchaseSchema,
|
|
447
506
|
CreateRecurringSeriesSchema,
|
|
507
|
+
CreateRoutingFormSchema,
|
|
448
508
|
CreateServicePackageSchema,
|
|
449
509
|
CreateWebhookEndpointSchema,
|
|
450
510
|
DEFAULT_CANCELLATION_POLICY,
|
|
@@ -453,9 +513,13 @@ var CreateWebhookEndpointSchema = import_zod5.z.object({
|
|
|
453
513
|
NotificationChannelSchema,
|
|
454
514
|
NotificationTriggerSchema,
|
|
455
515
|
OrgCancellationPolicySchema,
|
|
516
|
+
PrivacyEraseSchema,
|
|
517
|
+
PrivacySubjectSchema,
|
|
456
518
|
RecurringFrequencySchema,
|
|
519
|
+
RouteClientSchema,
|
|
457
520
|
SLOT_GRANULARITY_DEFAULT,
|
|
458
521
|
SLOT_GRANULARITY_OPTIONS,
|
|
522
|
+
TestRoutingFormSchema,
|
|
459
523
|
UpdateAppointmentCategorySchema,
|
|
460
524
|
UpdateAppointmentTypeSchema,
|
|
461
525
|
UpdateBookingPageSchema,
|
|
@@ -463,5 +527,6 @@ var CreateWebhookEndpointSchema = import_zod5.z.object({
|
|
|
463
527
|
UpdateCouponCodeSchema,
|
|
464
528
|
UpdateNotificationTemplateSchema,
|
|
465
529
|
UpdatePackagePurchaseSchema,
|
|
530
|
+
UpdateRoutingFormSchema,
|
|
466
531
|
UpdateServicePackageSchema
|
|
467
532
|
});
|
package/dist/schemas/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BookingPageConfigSchema,
|
|
3
3
|
BookingPageThemeSchema,
|
|
4
|
+
BrandSchema,
|
|
4
5
|
CancelRecurringScopeSchema,
|
|
5
6
|
CancelRecurringSeriesSchema,
|
|
6
7
|
CreateAppointmentCategorySchema,
|
|
@@ -11,6 +12,7 @@ import {
|
|
|
11
12
|
CreateNotificationTemplateSchema,
|
|
12
13
|
CreatePackagePurchaseSchema,
|
|
13
14
|
CreateRecurringSeriesSchema,
|
|
15
|
+
CreateRoutingFormSchema,
|
|
14
16
|
CreateServicePackageSchema,
|
|
15
17
|
CreateWebhookEndpointSchema,
|
|
16
18
|
DEFAULT_CANCELLATION_POLICY,
|
|
@@ -19,9 +21,13 @@ import {
|
|
|
19
21
|
NotificationChannelSchema,
|
|
20
22
|
NotificationTriggerSchema,
|
|
21
23
|
OrgCancellationPolicySchema,
|
|
24
|
+
PrivacyEraseSchema,
|
|
25
|
+
PrivacySubjectSchema,
|
|
22
26
|
RecurringFrequencySchema,
|
|
27
|
+
RouteClientSchema,
|
|
23
28
|
SLOT_GRANULARITY_DEFAULT,
|
|
24
29
|
SLOT_GRANULARITY_OPTIONS,
|
|
30
|
+
TestRoutingFormSchema,
|
|
25
31
|
UpdateAppointmentCategorySchema,
|
|
26
32
|
UpdateAppointmentTypeSchema,
|
|
27
33
|
UpdateBookingPageSchema,
|
|
@@ -29,11 +35,13 @@ import {
|
|
|
29
35
|
UpdateCouponCodeSchema,
|
|
30
36
|
UpdateNotificationTemplateSchema,
|
|
31
37
|
UpdatePackagePurchaseSchema,
|
|
38
|
+
UpdateRoutingFormSchema,
|
|
32
39
|
UpdateServicePackageSchema
|
|
33
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-MQO3VRMU.mjs";
|
|
34
41
|
export {
|
|
35
42
|
BookingPageConfigSchema,
|
|
36
43
|
BookingPageThemeSchema,
|
|
44
|
+
BrandSchema,
|
|
37
45
|
CancelRecurringScopeSchema,
|
|
38
46
|
CancelRecurringSeriesSchema,
|
|
39
47
|
CreateAppointmentCategorySchema,
|
|
@@ -44,6 +52,7 @@ export {
|
|
|
44
52
|
CreateNotificationTemplateSchema,
|
|
45
53
|
CreatePackagePurchaseSchema,
|
|
46
54
|
CreateRecurringSeriesSchema,
|
|
55
|
+
CreateRoutingFormSchema,
|
|
47
56
|
CreateServicePackageSchema,
|
|
48
57
|
CreateWebhookEndpointSchema,
|
|
49
58
|
DEFAULT_CANCELLATION_POLICY,
|
|
@@ -52,9 +61,13 @@ export {
|
|
|
52
61
|
NotificationChannelSchema,
|
|
53
62
|
NotificationTriggerSchema,
|
|
54
63
|
OrgCancellationPolicySchema,
|
|
64
|
+
PrivacyEraseSchema,
|
|
65
|
+
PrivacySubjectSchema,
|
|
55
66
|
RecurringFrequencySchema,
|
|
67
|
+
RouteClientSchema,
|
|
56
68
|
SLOT_GRANULARITY_DEFAULT,
|
|
57
69
|
SLOT_GRANULARITY_OPTIONS,
|
|
70
|
+
TestRoutingFormSchema,
|
|
58
71
|
UpdateAppointmentCategorySchema,
|
|
59
72
|
UpdateAppointmentTypeSchema,
|
|
60
73
|
UpdateBookingPageSchema,
|
|
@@ -62,5 +75,6 @@ export {
|
|
|
62
75
|
UpdateCouponCodeSchema,
|
|
63
76
|
UpdateNotificationTemplateSchema,
|
|
64
77
|
UpdatePackagePurchaseSchema,
|
|
78
|
+
UpdateRoutingFormSchema,
|
|
65
79
|
UpdateServicePackageSchema
|
|
66
80
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ordinatio/scheduling-api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "HTTP API for @ordinatio/scheduling. Every handler takes a Request and returns a Response.",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
"sanitize-html": "^2.16.0"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"@ordinatio/scheduling": "^0.
|
|
14
|
+
"@ordinatio/scheduling": "^0.4.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@types/sanitize-html": "^2.13.0",
|
|
18
18
|
"tsup": "^8.0.0",
|
|
19
19
|
"typescript": "5",
|
|
20
20
|
"vitest": "4.0.18",
|
|
21
|
-
"@ordinatio/scheduling": "0.
|
|
21
|
+
"@ordinatio/scheduling": "0.4.0"
|
|
22
22
|
},
|
|
23
23
|
"engines": {
|
|
24
24
|
"node": ">=22.0.0"
|