evo360-types 1.3.503 → 1.3.507
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 +10 -10
- package/dist/apps/evo-med/calendar/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-task/zod-schemas.d.ts +52 -52
- package/dist/apps/evo-task/zod-schemas.js +3 -0
- package/dist/apps/evo-task/zod-schemas.ts +3 -0
- package/dist/apps/hub-automation/zod-schemas.d.ts +292 -292
- package/dist/types/evo-integrations/index.d.ts +1 -0
- package/dist/types/evo-integrations/index.js +1 -0
- package/dist/types/evo-integrations/index.ts +1 -0
- package/dist/types/evo-integrations/test-suite.d.ts +211 -0
- package/dist/types/evo-integrations/test-suite.js +101 -0
- package/dist/types/evo-integrations/test-suite.ts +376 -0
- package/dist/types/evo-task/index.d.ts +1 -0
- package/dist/types/evo-task/index.js +6 -0
- package/dist/types/evo-task/index.ts +6 -0
- package/package.json +1 -1
|
@@ -413,8 +413,8 @@ export declare const zIntegrationsAdapterDocSchema: z.ZodObject<{
|
|
|
413
413
|
status: "active" | "disabled" | "beta";
|
|
414
414
|
category: "clinic-agenda" | "prontuario" | "misc";
|
|
415
415
|
adapter_version: string;
|
|
416
|
-
default_workflow_urls: Partial<Record<"
|
|
417
|
-
supported_capabilities: ("
|
|
416
|
+
default_workflow_urls: Partial<Record<"patient.list" | "patient.get" | "appointment.list" | "appointment.create" | "appointment.get" | "appointment.update" | "appointment.confirm" | "appointment.revert_confirm" | "appointment.cancel" | "patient.create" | "patient.update" | "appointment.reschedule" | "patient.document.upload" | "payment.update" | "sync.appointments", string>>;
|
|
417
|
+
supported_capabilities: ("patient.list" | "patient.get" | "appointment.list" | "appointment.create" | "appointment.get" | "appointment.update" | "appointment.confirm" | "appointment.revert_confirm" | "appointment.cancel" | "patient.create" | "patient.update" | "appointment.reschedule" | "patient.document.upload" | "payment.update" | "sync.appointments")[];
|
|
418
418
|
ref?: any;
|
|
419
419
|
created_at?: Date | null | undefined;
|
|
420
420
|
updated_at?: Date | null | undefined;
|
|
@@ -462,14 +462,14 @@ export declare const zIntegrationsAdapterDocSchema: z.ZodObject<{
|
|
|
462
462
|
status: "active" | "disabled" | "beta";
|
|
463
463
|
category: "clinic-agenda" | "prontuario" | "misc";
|
|
464
464
|
adapter_version: string;
|
|
465
|
-
supported_capabilities: ("
|
|
465
|
+
supported_capabilities: ("patient.list" | "patient.get" | "appointment.list" | "appointment.create" | "appointment.get" | "appointment.update" | "appointment.confirm" | "appointment.revert_confirm" | "appointment.cancel" | "patient.create" | "patient.update" | "appointment.reschedule" | "patient.document.upload" | "payment.update" | "sync.appointments")[];
|
|
466
466
|
ref?: any;
|
|
467
467
|
model_ver?: number | undefined;
|
|
468
468
|
created_at?: Date | null | undefined;
|
|
469
469
|
updated_at?: Date | null | undefined;
|
|
470
470
|
deleted_at?: Date | null | undefined;
|
|
471
471
|
description?: string | undefined;
|
|
472
|
-
default_workflow_urls?: Partial<Record<"
|
|
472
|
+
default_workflow_urls?: Partial<Record<"patient.list" | "patient.get" | "appointment.list" | "appointment.create" | "appointment.get" | "appointment.update" | "appointment.confirm" | "appointment.revert_confirm" | "appointment.cancel" | "patient.create" | "patient.update" | "appointment.reschedule" | "patient.document.upload" | "payment.update" | "sync.appointments", string>> | undefined;
|
|
473
473
|
default_sync_config?: {
|
|
474
474
|
hot?: {
|
|
475
475
|
enabled?: boolean | undefined;
|
|
@@ -714,9 +714,10 @@ export declare const zSyncRunEventSchema: z.ZodObject<{
|
|
|
714
714
|
tenant: string;
|
|
715
715
|
status: "success" | "error" | "partial";
|
|
716
716
|
started_at: Date;
|
|
717
|
+
finished_at: Date;
|
|
718
|
+
duration_ms: number;
|
|
717
719
|
adapter_id: string;
|
|
718
720
|
calendar_id: string;
|
|
719
|
-
finished_at: Date;
|
|
720
721
|
run_id: string;
|
|
721
722
|
window_type: "hot" | "warm" | "recent_reconcile" | "cold";
|
|
722
723
|
patients_upserted: number;
|
|
@@ -724,7 +725,6 @@ export declare const zSyncRunEventSchema: z.ZodObject<{
|
|
|
724
725
|
appointments_skipped: number;
|
|
725
726
|
appointments_restored: number;
|
|
726
727
|
deletions_detected: number;
|
|
727
|
-
duration_ms: number;
|
|
728
728
|
firestore_reads: number;
|
|
729
729
|
firestore_writes: number;
|
|
730
730
|
n8n_calls: number;
|
|
@@ -739,11 +739,12 @@ export declare const zSyncRunEventSchema: z.ZodObject<{
|
|
|
739
739
|
tenant: string;
|
|
740
740
|
status: "success" | "error" | "partial";
|
|
741
741
|
started_at: Date;
|
|
742
|
+
finished_at: Date;
|
|
742
743
|
adapter_id: string;
|
|
743
744
|
calendar_id: string;
|
|
744
|
-
finished_at: Date;
|
|
745
745
|
run_id: string;
|
|
746
746
|
window_type: "hot" | "warm" | "recent_reconcile" | "cold";
|
|
747
|
+
duration_ms?: number | undefined;
|
|
747
748
|
errors?: {
|
|
748
749
|
message: string;
|
|
749
750
|
code?: string | undefined;
|
|
@@ -756,7 +757,6 @@ export declare const zSyncRunEventSchema: z.ZodObject<{
|
|
|
756
757
|
deletions_detected?: number | undefined;
|
|
757
758
|
coveredWindow_start?: Date | undefined;
|
|
758
759
|
coveredWindow_end?: Date | undefined;
|
|
759
|
-
duration_ms?: number | undefined;
|
|
760
760
|
firestore_reads?: number | undefined;
|
|
761
761
|
firestore_writes?: number | undefined;
|
|
762
762
|
n8n_calls?: number | undefined;
|
|
@@ -984,7 +984,7 @@ export declare const zMedCalendarIntegrationSchema: z.ZodObject<{
|
|
|
984
984
|
cadence_minutes?: number | undefined;
|
|
985
985
|
} | undefined;
|
|
986
986
|
} | null | undefined;
|
|
987
|
-
workflow_overrides?: Partial<Record<"
|
|
987
|
+
workflow_overrides?: Partial<Record<"patient.list" | "patient.get" | "appointment.list" | "appointment.create" | "appointment.get" | "appointment.update" | "appointment.confirm" | "appointment.revert_confirm" | "appointment.cancel" | "patient.create" | "patient.update" | "appointment.reschedule" | "patient.document.upload" | "payment.update" | "sync.appointments", string>> | undefined;
|
|
988
988
|
}, {
|
|
989
989
|
adapter_id: string;
|
|
990
990
|
credentials_id: string;
|
|
@@ -1023,5 +1023,5 @@ export declare const zMedCalendarIntegrationSchema: z.ZodObject<{
|
|
|
1023
1023
|
cadence_minutes?: number | undefined;
|
|
1024
1024
|
} | undefined;
|
|
1025
1025
|
} | null | undefined;
|
|
1026
|
-
workflow_overrides?: Partial<Record<"
|
|
1026
|
+
workflow_overrides?: Partial<Record<"patient.list" | "patient.get" | "appointment.list" | "appointment.create" | "appointment.get" | "appointment.update" | "appointment.confirm" | "appointment.revert_confirm" | "appointment.cancel" | "patient.create" | "patient.update" | "appointment.reschedule" | "patient.document.upload" | "payment.update" | "sync.appointments", string>> | undefined;
|
|
1027
1027
|
}>;
|
|
@@ -974,7 +974,7 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
974
974
|
cadence_minutes?: number | undefined;
|
|
975
975
|
} | undefined;
|
|
976
976
|
} | null | undefined;
|
|
977
|
-
workflow_overrides?: Partial<Record<"
|
|
977
|
+
workflow_overrides?: Partial<Record<"patient.list" | "patient.get" | "appointment.list" | "appointment.create" | "appointment.get" | "appointment.update" | "appointment.confirm" | "appointment.revert_confirm" | "appointment.cancel" | "patient.create" | "patient.update" | "appointment.reschedule" | "patient.document.upload" | "payment.update" | "sync.appointments", string>> | undefined;
|
|
978
978
|
}, {
|
|
979
979
|
adapter_id: string;
|
|
980
980
|
credentials_id: string;
|
|
@@ -1013,7 +1013,7 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
1013
1013
|
cadence_minutes?: number | undefined;
|
|
1014
1014
|
} | undefined;
|
|
1015
1015
|
} | null | undefined;
|
|
1016
|
-
workflow_overrides?: Partial<Record<"
|
|
1016
|
+
workflow_overrides?: Partial<Record<"patient.list" | "patient.get" | "appointment.list" | "appointment.create" | "appointment.get" | "appointment.update" | "appointment.confirm" | "appointment.revert_confirm" | "appointment.cancel" | "patient.create" | "patient.update" | "appointment.reschedule" | "patient.document.upload" | "payment.update" | "sync.appointments", string>> | undefined;
|
|
1017
1017
|
}>>>;
|
|
1018
1018
|
notification_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1019
1019
|
whatsapp: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1990,7 +1990,7 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
1990
1990
|
cadence_minutes?: number | undefined;
|
|
1991
1991
|
} | undefined;
|
|
1992
1992
|
} | null | undefined;
|
|
1993
|
-
workflow_overrides?: Partial<Record<"
|
|
1993
|
+
workflow_overrides?: Partial<Record<"patient.list" | "patient.get" | "appointment.list" | "appointment.create" | "appointment.get" | "appointment.update" | "appointment.confirm" | "appointment.revert_confirm" | "appointment.cancel" | "patient.create" | "patient.update" | "appointment.reschedule" | "patient.document.upload" | "payment.update" | "sync.appointments", string>> | undefined;
|
|
1994
1994
|
}, {
|
|
1995
1995
|
adapter_id: string;
|
|
1996
1996
|
credentials_id: string;
|
|
@@ -2029,7 +2029,7 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
2029
2029
|
cadence_minutes?: number | undefined;
|
|
2030
2030
|
} | undefined;
|
|
2031
2031
|
} | null | undefined;
|
|
2032
|
-
workflow_overrides?: Partial<Record<"
|
|
2032
|
+
workflow_overrides?: Partial<Record<"patient.list" | "patient.get" | "appointment.list" | "appointment.create" | "appointment.get" | "appointment.update" | "appointment.confirm" | "appointment.revert_confirm" | "appointment.cancel" | "patient.create" | "patient.update" | "appointment.reschedule" | "patient.document.upload" | "payment.update" | "sync.appointments", string>> | undefined;
|
|
2033
2033
|
}>>>;
|
|
2034
2034
|
notification_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2035
2035
|
whatsapp: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -3006,7 +3006,7 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
3006
3006
|
cadence_minutes?: number | undefined;
|
|
3007
3007
|
} | undefined;
|
|
3008
3008
|
} | null | undefined;
|
|
3009
|
-
workflow_overrides?: Partial<Record<"
|
|
3009
|
+
workflow_overrides?: Partial<Record<"patient.list" | "patient.get" | "appointment.list" | "appointment.create" | "appointment.get" | "appointment.update" | "appointment.confirm" | "appointment.revert_confirm" | "appointment.cancel" | "patient.create" | "patient.update" | "appointment.reschedule" | "patient.document.upload" | "payment.update" | "sync.appointments", string>> | undefined;
|
|
3010
3010
|
}, {
|
|
3011
3011
|
adapter_id: string;
|
|
3012
3012
|
credentials_id: string;
|
|
@@ -3045,7 +3045,7 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
3045
3045
|
cadence_minutes?: number | undefined;
|
|
3046
3046
|
} | undefined;
|
|
3047
3047
|
} | null | undefined;
|
|
3048
|
-
workflow_overrides?: Partial<Record<"
|
|
3048
|
+
workflow_overrides?: Partial<Record<"patient.list" | "patient.get" | "appointment.list" | "appointment.create" | "appointment.get" | "appointment.update" | "appointment.confirm" | "appointment.revert_confirm" | "appointment.cancel" | "patient.create" | "patient.update" | "appointment.reschedule" | "patient.document.upload" | "payment.update" | "sync.appointments", string>> | undefined;
|
|
3049
3049
|
}>>>;
|
|
3050
3050
|
notification_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3051
3051
|
whatsapp: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -4,7 +4,7 @@ export declare const zTaskStatusSchema: z.ZodEnum<["not_started", "in_progress",
|
|
|
4
4
|
export declare const zTaskPrioritySchema: z.ZodEnum<["low", "medium", "high"]>;
|
|
5
5
|
export declare const zTaskSourceSchema: z.ZodEnum<["user", "automation_hub", "system"]>;
|
|
6
6
|
export declare const zTaskModeSchema: z.ZodEnum<["human", "auto"]>;
|
|
7
|
-
export declare const zTaskAutoHandlerSchema: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
7
|
+
export declare const zTaskAutoHandlerSchema: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
8
8
|
export declare const zTaskRetryStrategySchema: z.ZodEnum<["fixed", "exponential"]>;
|
|
9
9
|
export declare const zTaskDedupScopeSchema: z.ZodEnum<["per_recipient", "per_recipient_and_object", "custom"]>;
|
|
10
10
|
export declare const zTaskDedupWindowSchema: z.ZodEnum<["same_day", "n_hours", "custom"]>;
|
|
@@ -188,19 +188,19 @@ export declare const zTaskDedupSchema: z.ZodObject<{
|
|
|
188
188
|
importance: z.ZodOptional<z.ZodNumber>;
|
|
189
189
|
}, z.ZodTypeAny, "passthrough">>;
|
|
190
190
|
export declare const zTaskAutoSpecSchema: z.ZodObject<{
|
|
191
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
191
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
192
192
|
kind: z.ZodString;
|
|
193
193
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
194
194
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
195
195
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
196
196
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
197
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
197
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
198
198
|
kind: z.ZodString;
|
|
199
199
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
200
200
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
201
201
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
202
202
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
203
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
203
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
204
204
|
kind: z.ZodString;
|
|
205
205
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
206
206
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -264,16 +264,16 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
264
264
|
priority?: "low" | "medium" | "high" | undefined;
|
|
265
265
|
}>>;
|
|
266
266
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
267
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
267
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
268
268
|
kind: z.ZodString;
|
|
269
269
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
270
270
|
}, "strip", z.ZodTypeAny, {
|
|
271
271
|
kind: string;
|
|
272
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
272
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
273
273
|
payload: Record<string, unknown>;
|
|
274
274
|
}, {
|
|
275
275
|
kind: string;
|
|
276
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
276
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
277
277
|
payload: Record<string, unknown>;
|
|
278
278
|
}>, "many">>;
|
|
279
279
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -334,16 +334,16 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
334
334
|
priority?: "low" | "medium" | "high" | undefined;
|
|
335
335
|
}>>;
|
|
336
336
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
337
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
337
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
338
338
|
kind: z.ZodString;
|
|
339
339
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
340
340
|
}, "strip", z.ZodTypeAny, {
|
|
341
341
|
kind: string;
|
|
342
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
342
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
343
343
|
payload: Record<string, unknown>;
|
|
344
344
|
}, {
|
|
345
345
|
kind: string;
|
|
346
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
346
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
347
347
|
payload: Record<string, unknown>;
|
|
348
348
|
}>, "many">>;
|
|
349
349
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -404,16 +404,16 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
404
404
|
priority?: "low" | "medium" | "high" | undefined;
|
|
405
405
|
}>>;
|
|
406
406
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
407
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
407
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
408
408
|
kind: z.ZodString;
|
|
409
409
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
410
410
|
}, "strip", z.ZodTypeAny, {
|
|
411
411
|
kind: string;
|
|
412
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
412
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
413
413
|
payload: Record<string, unknown>;
|
|
414
414
|
}, {
|
|
415
415
|
kind: string;
|
|
416
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
416
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
417
417
|
payload: Record<string, unknown>;
|
|
418
418
|
}>, "many">>;
|
|
419
419
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -677,16 +677,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
677
677
|
priority?: "low" | "medium" | "high" | undefined;
|
|
678
678
|
}>>;
|
|
679
679
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
680
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
680
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
681
681
|
kind: z.ZodString;
|
|
682
682
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
683
683
|
}, "strip", z.ZodTypeAny, {
|
|
684
684
|
kind: string;
|
|
685
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
685
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
686
686
|
payload: Record<string, unknown>;
|
|
687
687
|
}, {
|
|
688
688
|
kind: string;
|
|
689
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
689
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
690
690
|
payload: Record<string, unknown>;
|
|
691
691
|
}>, "many">>;
|
|
692
692
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -747,16 +747,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
747
747
|
priority?: "low" | "medium" | "high" | undefined;
|
|
748
748
|
}>>;
|
|
749
749
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
750
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
750
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
751
751
|
kind: z.ZodString;
|
|
752
752
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
753
753
|
}, "strip", z.ZodTypeAny, {
|
|
754
754
|
kind: string;
|
|
755
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
755
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
756
756
|
payload: Record<string, unknown>;
|
|
757
757
|
}, {
|
|
758
758
|
kind: string;
|
|
759
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
759
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
760
760
|
payload: Record<string, unknown>;
|
|
761
761
|
}>, "many">>;
|
|
762
762
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -817,16 +817,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
817
817
|
priority?: "low" | "medium" | "high" | undefined;
|
|
818
818
|
}>>;
|
|
819
819
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
820
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
820
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
821
821
|
kind: z.ZodString;
|
|
822
822
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
823
823
|
}, "strip", z.ZodTypeAny, {
|
|
824
824
|
kind: string;
|
|
825
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
825
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
826
826
|
payload: Record<string, unknown>;
|
|
827
827
|
}, {
|
|
828
828
|
kind: string;
|
|
829
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
829
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
830
830
|
payload: Record<string, unknown>;
|
|
831
831
|
}>, "many">>;
|
|
832
832
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -847,19 +847,19 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
847
847
|
dispatched_attempts: z.ZodOptional<z.ZodNumber>;
|
|
848
848
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
849
849
|
auto: z.ZodOptional<z.ZodObject<{
|
|
850
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
850
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
851
851
|
kind: z.ZodString;
|
|
852
852
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
853
853
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
854
854
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
855
855
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
856
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
856
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
857
857
|
kind: z.ZodString;
|
|
858
858
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
859
859
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
860
860
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
861
861
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
862
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
862
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
863
863
|
kind: z.ZodString;
|
|
864
864
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
865
865
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -1115,16 +1115,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1115
1115
|
priority?: "low" | "medium" | "high" | undefined;
|
|
1116
1116
|
}>>;
|
|
1117
1117
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1118
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1118
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1119
1119
|
kind: z.ZodString;
|
|
1120
1120
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1121
1121
|
}, "strip", z.ZodTypeAny, {
|
|
1122
1122
|
kind: string;
|
|
1123
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1123
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1124
1124
|
payload: Record<string, unknown>;
|
|
1125
1125
|
}, {
|
|
1126
1126
|
kind: string;
|
|
1127
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1127
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1128
1128
|
payload: Record<string, unknown>;
|
|
1129
1129
|
}>, "many">>;
|
|
1130
1130
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1185,16 +1185,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1185
1185
|
priority?: "low" | "medium" | "high" | undefined;
|
|
1186
1186
|
}>>;
|
|
1187
1187
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1188
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1188
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1189
1189
|
kind: z.ZodString;
|
|
1190
1190
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1191
1191
|
}, "strip", z.ZodTypeAny, {
|
|
1192
1192
|
kind: string;
|
|
1193
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1193
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1194
1194
|
payload: Record<string, unknown>;
|
|
1195
1195
|
}, {
|
|
1196
1196
|
kind: string;
|
|
1197
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1197
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1198
1198
|
payload: Record<string, unknown>;
|
|
1199
1199
|
}>, "many">>;
|
|
1200
1200
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1255,16 +1255,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1255
1255
|
priority?: "low" | "medium" | "high" | undefined;
|
|
1256
1256
|
}>>;
|
|
1257
1257
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1258
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1258
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1259
1259
|
kind: z.ZodString;
|
|
1260
1260
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1261
1261
|
}, "strip", z.ZodTypeAny, {
|
|
1262
1262
|
kind: string;
|
|
1263
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1263
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1264
1264
|
payload: Record<string, unknown>;
|
|
1265
1265
|
}, {
|
|
1266
1266
|
kind: string;
|
|
1267
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1267
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1268
1268
|
payload: Record<string, unknown>;
|
|
1269
1269
|
}>, "many">>;
|
|
1270
1270
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1285,19 +1285,19 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1285
1285
|
dispatched_attempts: z.ZodOptional<z.ZodNumber>;
|
|
1286
1286
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1287
1287
|
auto: z.ZodOptional<z.ZodObject<{
|
|
1288
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1288
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1289
1289
|
kind: z.ZodString;
|
|
1290
1290
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1291
1291
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1292
1292
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
1293
1293
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1294
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1294
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1295
1295
|
kind: z.ZodString;
|
|
1296
1296
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1297
1297
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1298
1298
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
1299
1299
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1300
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1300
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1301
1301
|
kind: z.ZodString;
|
|
1302
1302
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1303
1303
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -1553,16 +1553,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1553
1553
|
priority?: "low" | "medium" | "high" | undefined;
|
|
1554
1554
|
}>>;
|
|
1555
1555
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1556
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1556
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1557
1557
|
kind: z.ZodString;
|
|
1558
1558
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1559
1559
|
}, "strip", z.ZodTypeAny, {
|
|
1560
1560
|
kind: string;
|
|
1561
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1561
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1562
1562
|
payload: Record<string, unknown>;
|
|
1563
1563
|
}, {
|
|
1564
1564
|
kind: string;
|
|
1565
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1565
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1566
1566
|
payload: Record<string, unknown>;
|
|
1567
1567
|
}>, "many">>;
|
|
1568
1568
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1623,16 +1623,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1623
1623
|
priority?: "low" | "medium" | "high" | undefined;
|
|
1624
1624
|
}>>;
|
|
1625
1625
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1626
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1626
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1627
1627
|
kind: z.ZodString;
|
|
1628
1628
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1629
1629
|
}, "strip", z.ZodTypeAny, {
|
|
1630
1630
|
kind: string;
|
|
1631
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1631
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1632
1632
|
payload: Record<string, unknown>;
|
|
1633
1633
|
}, {
|
|
1634
1634
|
kind: string;
|
|
1635
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1635
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1636
1636
|
payload: Record<string, unknown>;
|
|
1637
1637
|
}>, "many">>;
|
|
1638
1638
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1693,16 +1693,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1693
1693
|
priority?: "low" | "medium" | "high" | undefined;
|
|
1694
1694
|
}>>;
|
|
1695
1695
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1696
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1696
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1697
1697
|
kind: z.ZodString;
|
|
1698
1698
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1699
1699
|
}, "strip", z.ZodTypeAny, {
|
|
1700
1700
|
kind: string;
|
|
1701
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1701
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1702
1702
|
payload: Record<string, unknown>;
|
|
1703
1703
|
}, {
|
|
1704
1704
|
kind: string;
|
|
1705
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1705
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1706
1706
|
payload: Record<string, unknown>;
|
|
1707
1707
|
}>, "many">>;
|
|
1708
1708
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1723,19 +1723,19 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1723
1723
|
dispatched_attempts: z.ZodOptional<z.ZodNumber>;
|
|
1724
1724
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1725
1725
|
auto: z.ZodOptional<z.ZodObject<{
|
|
1726
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1726
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1727
1727
|
kind: z.ZodString;
|
|
1728
1728
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1729
1729
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1730
1730
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
1731
1731
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1732
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1732
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1733
1733
|
kind: z.ZodString;
|
|
1734
1734
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1735
1735
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1736
1736
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
1737
1737
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1738
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1738
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1739
1739
|
kind: z.ZodString;
|
|
1740
1740
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1741
1741
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -1855,7 +1855,7 @@ export declare const zTaskExecutionSchema: z.ZodObject<{
|
|
|
1855
1855
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1856
1856
|
} & {
|
|
1857
1857
|
taskId: z.ZodString;
|
|
1858
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1858
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1859
1859
|
kind: z.ZodString;
|
|
1860
1860
|
status: z.ZodEnum<["success", "error", "retry"]>;
|
|
1861
1861
|
attempt: z.ZodNumber;
|
|
@@ -1895,7 +1895,7 @@ export declare const zTaskExecutionSchema: z.ZodObject<{
|
|
|
1895
1895
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1896
1896
|
} & {
|
|
1897
1897
|
taskId: z.ZodString;
|
|
1898
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1898
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1899
1899
|
kind: z.ZodString;
|
|
1900
1900
|
status: z.ZodEnum<["success", "error", "retry"]>;
|
|
1901
1901
|
attempt: z.ZodNumber;
|
|
@@ -1935,7 +1935,7 @@ export declare const zTaskExecutionSchema: z.ZodObject<{
|
|
|
1935
1935
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1936
1936
|
} & {
|
|
1937
1937
|
taskId: z.ZodString;
|
|
1938
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1938
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1939
1939
|
kind: z.ZodString;
|
|
1940
1940
|
status: z.ZodEnum<["success", "error", "retry"]>;
|
|
1941
1941
|
attempt: z.ZodNumber;
|
|
@@ -49,6 +49,9 @@ exports.zTaskAutoHandlerSchema = zod_1.z.enum([
|
|
|
49
49
|
// `evo-integrations.sync-run.execute_requests`. Sem isso, criar a task de sync
|
|
50
50
|
// via TaskModel.setProperties estoura ZodError.
|
|
51
51
|
"evo-integrations.sync-run",
|
|
52
|
+
// feat-121: captação de lead por formulário (site/landing) — espelha
|
|
53
|
+
// `TaskAutoHandlerEnum.LeadFormCapture`. As duas listas são à mão.
|
|
54
|
+
"lead_form_capture",
|
|
52
55
|
// feat-081 F2: handlers do modulo de campanhas (mesmo padrao pontilhado da
|
|
53
56
|
// feat-078 — o topico do materialize vira `campaign.materialize.execute_requests`,
|
|
54
57
|
// que a CF `campaign_materialize` JA escuta desde a F1; o dispatch ganha
|
|
@@ -52,6 +52,9 @@ export const zTaskAutoHandlerSchema = z.enum([
|
|
|
52
52
|
// `evo-integrations.sync-run.execute_requests`. Sem isso, criar a task de sync
|
|
53
53
|
// via TaskModel.setProperties estoura ZodError.
|
|
54
54
|
"evo-integrations.sync-run",
|
|
55
|
+
// feat-121: captação de lead por formulário (site/landing) — espelha
|
|
56
|
+
// `TaskAutoHandlerEnum.LeadFormCapture`. As duas listas são à mão.
|
|
57
|
+
"lead_form_capture",
|
|
55
58
|
// feat-081 F2: handlers do modulo de campanhas (mesmo padrao pontilhado da
|
|
56
59
|
// feat-078 — o topico do materialize vira `campaign.materialize.execute_requests`,
|
|
57
60
|
// que a CF `campaign_materialize` JA escuta desde a F1; o dispatch ganha
|