evo360-types 1.3.360 → 1.3.362
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/apps/evo-integrations/zod-schemas.d.ts +8 -8
- package/dist/apps/evo-integrations/zod-schemas.js +1 -1
- package/dist/apps/evo-integrations/zod-schemas.ts +1 -1
- package/dist/apps/evo-med/calendar/zod-schemas.d.ts +36 -36
- package/dist/apps/evo-med/calendar/zod-schemas.js +3 -2
- package/dist/apps/evo-med/calendar/zod-schemas.ts +3 -2
- package/package.json +1 -1
|
@@ -493,7 +493,7 @@ export declare const zMedCalendarIntegrationSchema: z.ZodObject<{
|
|
|
493
493
|
adapter_id: z.ZodString;
|
|
494
494
|
credentials_id: z.ZodString;
|
|
495
495
|
patient_prefix: z.ZodOptional<z.ZodString>;
|
|
496
|
-
sync_config: z.ZodObject<{
|
|
496
|
+
sync_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
497
497
|
hot: z.ZodOptional<z.ZodObject<{
|
|
498
498
|
enabled: z.ZodBoolean;
|
|
499
499
|
cadence_minutes: z.ZodNumber;
|
|
@@ -672,12 +672,13 @@ export declare const zMedCalendarIntegrationSchema: z.ZodObject<{
|
|
|
672
672
|
future: number;
|
|
673
673
|
};
|
|
674
674
|
} | undefined;
|
|
675
|
-
}
|
|
675
|
+
}>>>;
|
|
676
676
|
workflow_overrides: z.ZodOptional<z.ZodRecord<z.ZodEnum<["appointment.get", "appointment.list", "appointment.create", "appointment.update", "appointment.cancel", "appointment.confirm", "appointment.reschedule", "patient.get", "patient.list", "patient.create", "patient.update", "patient.document.upload", "payment.update", "sync.appointments"]>, z.ZodString>>;
|
|
677
677
|
}, "strip", z.ZodTypeAny, {
|
|
678
678
|
adapter_id: string;
|
|
679
679
|
credentials_id: string;
|
|
680
|
-
|
|
680
|
+
patient_prefix?: string | undefined;
|
|
681
|
+
sync_config?: {
|
|
681
682
|
hot?: {
|
|
682
683
|
enabled: boolean;
|
|
683
684
|
cadence_minutes: number;
|
|
@@ -710,13 +711,13 @@ export declare const zMedCalendarIntegrationSchema: z.ZodObject<{
|
|
|
710
711
|
future: number;
|
|
711
712
|
};
|
|
712
713
|
} | undefined;
|
|
713
|
-
};
|
|
714
|
-
patient_prefix?: string | undefined;
|
|
714
|
+
} | null | undefined;
|
|
715
715
|
workflow_overrides?: Partial<Record<"appointment.get" | "appointment.list" | "appointment.create" | "appointment.update" | "appointment.cancel" | "appointment.confirm" | "appointment.reschedule" | "patient.get" | "patient.list" | "patient.create" | "patient.update" | "patient.document.upload" | "payment.update" | "sync.appointments", string>> | undefined;
|
|
716
716
|
}, {
|
|
717
717
|
adapter_id: string;
|
|
718
718
|
credentials_id: string;
|
|
719
|
-
|
|
719
|
+
patient_prefix?: string | undefined;
|
|
720
|
+
sync_config?: {
|
|
720
721
|
hot?: {
|
|
721
722
|
enabled: boolean;
|
|
722
723
|
cadence_minutes: number;
|
|
@@ -749,7 +750,6 @@ export declare const zMedCalendarIntegrationSchema: z.ZodObject<{
|
|
|
749
750
|
future: number;
|
|
750
751
|
};
|
|
751
752
|
} | undefined;
|
|
752
|
-
};
|
|
753
|
-
patient_prefix?: string | undefined;
|
|
753
|
+
} | null | undefined;
|
|
754
754
|
workflow_overrides?: Partial<Record<"appointment.get" | "appointment.list" | "appointment.create" | "appointment.update" | "appointment.cancel" | "appointment.confirm" | "appointment.reschedule" | "patient.get" | "patient.list" | "patient.create" | "patient.update" | "patient.document.upload" | "payment.update" | "sync.appointments", string>> | undefined;
|
|
755
755
|
}>;
|
|
@@ -110,7 +110,7 @@ exports.zMedCalendarIntegrationSchema = zod_1.z.object({
|
|
|
110
110
|
adapter_id: zod_1.z.string().min(1),
|
|
111
111
|
credentials_id: zod_1.z.string().min(1),
|
|
112
112
|
patient_prefix: zod_1.z.string().max(30).optional(),
|
|
113
|
-
sync_config: exports.zSyncConfigSchema,
|
|
113
|
+
sync_config: exports.zSyncConfigSchema.nullable().optional(),
|
|
114
114
|
workflow_overrides: zod_1.z
|
|
115
115
|
.record(exports.zCapabilityNameSchema, zod_1.z.string().url())
|
|
116
116
|
.optional(),
|
|
@@ -123,7 +123,7 @@ export const zMedCalendarIntegrationSchema = z.object({
|
|
|
123
123
|
adapter_id: z.string().min(1),
|
|
124
124
|
credentials_id: z.string().min(1),
|
|
125
125
|
patient_prefix: z.string().max(30).optional(),
|
|
126
|
-
sync_config: zSyncConfigSchema,
|
|
126
|
+
sync_config: zSyncConfigSchema.nullable().optional(),
|
|
127
127
|
workflow_overrides: z
|
|
128
128
|
.record(zCapabilityNameSchema, z.string().url())
|
|
129
129
|
.optional(),
|
|
@@ -70,13 +70,13 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
70
70
|
total: z.ZodOptional<z.ZodNumber>;
|
|
71
71
|
deleted: z.ZodOptional<z.ZodNumber>;
|
|
72
72
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
73
|
-
available_weekdays: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
74
|
-
available_for_hubia: z.ZodOptional<z.ZodDefault<z.ZodBoolean
|
|
75
|
-
integration: z.ZodOptional<z.ZodObject<{
|
|
73
|
+
available_weekdays: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>>>;
|
|
74
|
+
available_for_hubia: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
75
|
+
integration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
76
76
|
adapter_id: z.ZodString;
|
|
77
77
|
credentials_id: z.ZodString;
|
|
78
78
|
patient_prefix: z.ZodOptional<z.ZodString>;
|
|
79
|
-
sync_config: z.ZodObject<{
|
|
79
|
+
sync_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
80
80
|
hot: z.ZodOptional<z.ZodObject<{
|
|
81
81
|
enabled: z.ZodBoolean;
|
|
82
82
|
cadence_minutes: z.ZodNumber;
|
|
@@ -255,12 +255,13 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
255
255
|
future: number;
|
|
256
256
|
};
|
|
257
257
|
} | undefined;
|
|
258
|
-
}
|
|
258
|
+
}>>>;
|
|
259
259
|
workflow_overrides: z.ZodOptional<z.ZodRecord<z.ZodEnum<["appointment.get", "appointment.list", "appointment.create", "appointment.update", "appointment.cancel", "appointment.confirm", "appointment.reschedule", "patient.get", "patient.list", "patient.create", "patient.update", "patient.document.upload", "payment.update", "sync.appointments"]>, z.ZodString>>;
|
|
260
260
|
}, "strip", z.ZodTypeAny, {
|
|
261
261
|
adapter_id: string;
|
|
262
262
|
credentials_id: string;
|
|
263
|
-
|
|
263
|
+
patient_prefix?: string | undefined;
|
|
264
|
+
sync_config?: {
|
|
264
265
|
hot?: {
|
|
265
266
|
enabled: boolean;
|
|
266
267
|
cadence_minutes: number;
|
|
@@ -293,13 +294,13 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
293
294
|
future: number;
|
|
294
295
|
};
|
|
295
296
|
} | undefined;
|
|
296
|
-
};
|
|
297
|
-
patient_prefix?: string | undefined;
|
|
297
|
+
} | null | undefined;
|
|
298
298
|
workflow_overrides?: Partial<Record<"appointment.get" | "appointment.list" | "appointment.create" | "appointment.update" | "appointment.cancel" | "appointment.confirm" | "appointment.reschedule" | "patient.get" | "patient.list" | "patient.create" | "patient.update" | "patient.document.upload" | "payment.update" | "sync.appointments", string>> | undefined;
|
|
299
299
|
}, {
|
|
300
300
|
adapter_id: string;
|
|
301
301
|
credentials_id: string;
|
|
302
|
-
|
|
302
|
+
patient_prefix?: string | undefined;
|
|
303
|
+
sync_config?: {
|
|
303
304
|
hot?: {
|
|
304
305
|
enabled: boolean;
|
|
305
306
|
cadence_minutes: number;
|
|
@@ -332,10 +333,9 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
332
333
|
future: number;
|
|
333
334
|
};
|
|
334
335
|
} | undefined;
|
|
335
|
-
};
|
|
336
|
-
patient_prefix?: string | undefined;
|
|
336
|
+
} | null | undefined;
|
|
337
337
|
workflow_overrides?: Partial<Record<"appointment.get" | "appointment.list" | "appointment.create" | "appointment.update" | "appointment.cancel" | "appointment.confirm" | "appointment.reschedule" | "patient.get" | "patient.list" | "patient.create" | "patient.update" | "patient.document.upload" | "payment.update" | "sync.appointments", string>> | undefined;
|
|
338
|
-
}
|
|
338
|
+
}>>>;
|
|
339
339
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
340
340
|
id: z.ZodString;
|
|
341
341
|
ref: z.ZodAny;
|
|
@@ -407,13 +407,13 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
407
407
|
total: z.ZodOptional<z.ZodNumber>;
|
|
408
408
|
deleted: z.ZodOptional<z.ZodNumber>;
|
|
409
409
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
410
|
-
available_weekdays: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
411
|
-
available_for_hubia: z.ZodOptional<z.ZodDefault<z.ZodBoolean
|
|
412
|
-
integration: z.ZodOptional<z.ZodObject<{
|
|
410
|
+
available_weekdays: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>>>;
|
|
411
|
+
available_for_hubia: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
412
|
+
integration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
413
413
|
adapter_id: z.ZodString;
|
|
414
414
|
credentials_id: z.ZodString;
|
|
415
415
|
patient_prefix: z.ZodOptional<z.ZodString>;
|
|
416
|
-
sync_config: z.ZodObject<{
|
|
416
|
+
sync_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
417
417
|
hot: z.ZodOptional<z.ZodObject<{
|
|
418
418
|
enabled: z.ZodBoolean;
|
|
419
419
|
cadence_minutes: z.ZodNumber;
|
|
@@ -592,12 +592,13 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
592
592
|
future: number;
|
|
593
593
|
};
|
|
594
594
|
} | undefined;
|
|
595
|
-
}
|
|
595
|
+
}>>>;
|
|
596
596
|
workflow_overrides: z.ZodOptional<z.ZodRecord<z.ZodEnum<["appointment.get", "appointment.list", "appointment.create", "appointment.update", "appointment.cancel", "appointment.confirm", "appointment.reschedule", "patient.get", "patient.list", "patient.create", "patient.update", "patient.document.upload", "payment.update", "sync.appointments"]>, z.ZodString>>;
|
|
597
597
|
}, "strip", z.ZodTypeAny, {
|
|
598
598
|
adapter_id: string;
|
|
599
599
|
credentials_id: string;
|
|
600
|
-
|
|
600
|
+
patient_prefix?: string | undefined;
|
|
601
|
+
sync_config?: {
|
|
601
602
|
hot?: {
|
|
602
603
|
enabled: boolean;
|
|
603
604
|
cadence_minutes: number;
|
|
@@ -630,13 +631,13 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
630
631
|
future: number;
|
|
631
632
|
};
|
|
632
633
|
} | undefined;
|
|
633
|
-
};
|
|
634
|
-
patient_prefix?: string | undefined;
|
|
634
|
+
} | null | undefined;
|
|
635
635
|
workflow_overrides?: Partial<Record<"appointment.get" | "appointment.list" | "appointment.create" | "appointment.update" | "appointment.cancel" | "appointment.confirm" | "appointment.reschedule" | "patient.get" | "patient.list" | "patient.create" | "patient.update" | "patient.document.upload" | "payment.update" | "sync.appointments", string>> | undefined;
|
|
636
636
|
}, {
|
|
637
637
|
adapter_id: string;
|
|
638
638
|
credentials_id: string;
|
|
639
|
-
|
|
639
|
+
patient_prefix?: string | undefined;
|
|
640
|
+
sync_config?: {
|
|
640
641
|
hot?: {
|
|
641
642
|
enabled: boolean;
|
|
642
643
|
cadence_minutes: number;
|
|
@@ -669,10 +670,9 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
669
670
|
future: number;
|
|
670
671
|
};
|
|
671
672
|
} | undefined;
|
|
672
|
-
};
|
|
673
|
-
patient_prefix?: string | undefined;
|
|
673
|
+
} | null | undefined;
|
|
674
674
|
workflow_overrides?: Partial<Record<"appointment.get" | "appointment.list" | "appointment.create" | "appointment.update" | "appointment.cancel" | "appointment.confirm" | "appointment.reschedule" | "patient.get" | "patient.list" | "patient.create" | "patient.update" | "patient.document.upload" | "payment.update" | "sync.appointments", string>> | undefined;
|
|
675
|
-
}
|
|
675
|
+
}>>>;
|
|
676
676
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
677
677
|
id: z.ZodString;
|
|
678
678
|
ref: z.ZodAny;
|
|
@@ -744,13 +744,13 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
744
744
|
total: z.ZodOptional<z.ZodNumber>;
|
|
745
745
|
deleted: z.ZodOptional<z.ZodNumber>;
|
|
746
746
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
747
|
-
available_weekdays: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNumber, "many"
|
|
748
|
-
available_for_hubia: z.ZodOptional<z.ZodDefault<z.ZodBoolean
|
|
749
|
-
integration: z.ZodOptional<z.ZodObject<{
|
|
747
|
+
available_weekdays: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>>>;
|
|
748
|
+
available_for_hubia: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
749
|
+
integration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
750
750
|
adapter_id: z.ZodString;
|
|
751
751
|
credentials_id: z.ZodString;
|
|
752
752
|
patient_prefix: z.ZodOptional<z.ZodString>;
|
|
753
|
-
sync_config: z.ZodObject<{
|
|
753
|
+
sync_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
754
754
|
hot: z.ZodOptional<z.ZodObject<{
|
|
755
755
|
enabled: z.ZodBoolean;
|
|
756
756
|
cadence_minutes: z.ZodNumber;
|
|
@@ -929,12 +929,13 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
929
929
|
future: number;
|
|
930
930
|
};
|
|
931
931
|
} | undefined;
|
|
932
|
-
}
|
|
932
|
+
}>>>;
|
|
933
933
|
workflow_overrides: z.ZodOptional<z.ZodRecord<z.ZodEnum<["appointment.get", "appointment.list", "appointment.create", "appointment.update", "appointment.cancel", "appointment.confirm", "appointment.reschedule", "patient.get", "patient.list", "patient.create", "patient.update", "patient.document.upload", "payment.update", "sync.appointments"]>, z.ZodString>>;
|
|
934
934
|
}, "strip", z.ZodTypeAny, {
|
|
935
935
|
adapter_id: string;
|
|
936
936
|
credentials_id: string;
|
|
937
|
-
|
|
937
|
+
patient_prefix?: string | undefined;
|
|
938
|
+
sync_config?: {
|
|
938
939
|
hot?: {
|
|
939
940
|
enabled: boolean;
|
|
940
941
|
cadence_minutes: number;
|
|
@@ -967,13 +968,13 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
967
968
|
future: number;
|
|
968
969
|
};
|
|
969
970
|
} | undefined;
|
|
970
|
-
};
|
|
971
|
-
patient_prefix?: string | undefined;
|
|
971
|
+
} | null | undefined;
|
|
972
972
|
workflow_overrides?: Partial<Record<"appointment.get" | "appointment.list" | "appointment.create" | "appointment.update" | "appointment.cancel" | "appointment.confirm" | "appointment.reschedule" | "patient.get" | "patient.list" | "patient.create" | "patient.update" | "patient.document.upload" | "payment.update" | "sync.appointments", string>> | undefined;
|
|
973
973
|
}, {
|
|
974
974
|
adapter_id: string;
|
|
975
975
|
credentials_id: string;
|
|
976
|
-
|
|
976
|
+
patient_prefix?: string | undefined;
|
|
977
|
+
sync_config?: {
|
|
977
978
|
hot?: {
|
|
978
979
|
enabled: boolean;
|
|
979
980
|
cadence_minutes: number;
|
|
@@ -1006,8 +1007,7 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
1006
1007
|
future: number;
|
|
1007
1008
|
};
|
|
1008
1009
|
} | undefined;
|
|
1009
|
-
};
|
|
1010
|
-
patient_prefix?: string | undefined;
|
|
1010
|
+
} | null | undefined;
|
|
1011
1011
|
workflow_overrides?: Partial<Record<"appointment.get" | "appointment.list" | "appointment.create" | "appointment.update" | "appointment.cancel" | "appointment.confirm" | "appointment.reschedule" | "patient.get" | "patient.list" | "patient.create" | "patient.update" | "patient.document.upload" | "payment.update" | "sync.appointments", string>> | undefined;
|
|
1012
|
-
}
|
|
1012
|
+
}>>>;
|
|
1013
1013
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -41,8 +41,9 @@ exports.zMedCalendarSchema = zod_schemas_1.zFireDocSchema
|
|
|
41
41
|
available_weekdays: zod_1.z
|
|
42
42
|
.array(zod_1.z.number().min(0).max(6))
|
|
43
43
|
.default([1, 2, 3, 4, 5])
|
|
44
|
+
.nullable()
|
|
44
45
|
.optional(),
|
|
45
|
-
available_for_hubia: zod_1.z.boolean().default(false).optional(),
|
|
46
|
-
integration: zod_schemas_3.zMedCalendarIntegrationSchema.optional(),
|
|
46
|
+
available_for_hubia: zod_1.z.boolean().default(false).nullable().optional(),
|
|
47
|
+
integration: zod_schemas_3.zMedCalendarIntegrationSchema.nullable().optional(),
|
|
47
48
|
})
|
|
48
49
|
.passthrough();
|
|
@@ -39,8 +39,9 @@ export const zMedCalendarSchema = zFireDocSchema
|
|
|
39
39
|
available_weekdays: z
|
|
40
40
|
.array(z.number().min(0).max(6))
|
|
41
41
|
.default([1, 2, 3, 4, 5])
|
|
42
|
+
.nullable()
|
|
42
43
|
.optional(),
|
|
43
|
-
available_for_hubia: z.boolean().default(false).optional(),
|
|
44
|
-
integration: zMedCalendarIntegrationSchema.optional(),
|
|
44
|
+
available_for_hubia: z.boolean().default(false).nullable().optional(),
|
|
45
|
+
integration: zMedCalendarIntegrationSchema.nullable().optional(),
|
|
45
46
|
})
|
|
46
47
|
.passthrough();
|