evo360-types 1.3.705 → 1.3.709
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-csq/zod-schemas.d.ts +18 -18
- package/dist/apps/evo-task/zod-schemas.d.ts +52 -52
- package/dist/apps/evo-task/zod-schemas.js +9 -0
- package/dist/apps/evo-task/zod-schemas.ts +9 -0
- package/dist/apps/hub-automation/zod-schemas.d.ts +205 -172
- package/dist/apps/hub-automation/zod-schemas.js +3 -0
- package/dist/apps/hub-automation/zod-schemas.ts +3 -0
- package/dist/types/domain-events/index.d.ts +16 -0
- package/dist/types/domain-events/index.js +25 -1
- package/dist/types/domain-events/index.ts +28 -0
- package/dist/types/evo-task/index.d.ts +5 -0
- package/dist/types/evo-task/index.js +14 -0
- package/dist/types/evo-task/index.ts +14 -0
- package/dist/types/hub-automation/index.d.ts +2 -0
- package/dist/types/hub-automation/index.ts +5 -0
- package/package.json +1 -1
|
@@ -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", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
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"]>;
|
|
@@ -389,19 +389,19 @@ export declare const zTaskDedupSchema: z.ZodObject<{
|
|
|
389
389
|
importance: z.ZodOptional<z.ZodNumber>;
|
|
390
390
|
}, z.ZodTypeAny, "passthrough">>;
|
|
391
391
|
export declare const zTaskAutoSpecSchema: z.ZodObject<{
|
|
392
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
392
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
393
393
|
kind: z.ZodString;
|
|
394
394
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
395
395
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
396
396
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
397
397
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
398
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
398
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
399
399
|
kind: z.ZodString;
|
|
400
400
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
401
401
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
402
402
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
403
403
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
404
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
404
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
405
405
|
kind: z.ZodString;
|
|
406
406
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
407
407
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -465,16 +465,16 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
465
465
|
priority?: "low" | "medium" | "high" | undefined;
|
|
466
466
|
}>>;
|
|
467
467
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
468
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
468
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
469
469
|
kind: z.ZodString;
|
|
470
470
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
471
471
|
}, "strip", z.ZodTypeAny, {
|
|
472
472
|
kind: string;
|
|
473
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
473
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
474
474
|
payload: Record<string, unknown>;
|
|
475
475
|
}, {
|
|
476
476
|
kind: string;
|
|
477
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
477
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
478
478
|
payload: Record<string, unknown>;
|
|
479
479
|
}>, "many">>;
|
|
480
480
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -535,16 +535,16 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
535
535
|
priority?: "low" | "medium" | "high" | undefined;
|
|
536
536
|
}>>;
|
|
537
537
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
538
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
538
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
539
539
|
kind: z.ZodString;
|
|
540
540
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
541
541
|
}, "strip", z.ZodTypeAny, {
|
|
542
542
|
kind: string;
|
|
543
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
543
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
544
544
|
payload: Record<string, unknown>;
|
|
545
545
|
}, {
|
|
546
546
|
kind: string;
|
|
547
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
547
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
548
548
|
payload: Record<string, unknown>;
|
|
549
549
|
}>, "many">>;
|
|
550
550
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -605,16 +605,16 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
605
605
|
priority?: "low" | "medium" | "high" | undefined;
|
|
606
606
|
}>>;
|
|
607
607
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
608
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
608
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
609
609
|
kind: z.ZodString;
|
|
610
610
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
611
611
|
}, "strip", z.ZodTypeAny, {
|
|
612
612
|
kind: string;
|
|
613
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
613
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
614
614
|
payload: Record<string, unknown>;
|
|
615
615
|
}, {
|
|
616
616
|
kind: string;
|
|
617
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
617
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
618
618
|
payload: Record<string, unknown>;
|
|
619
619
|
}>, "many">>;
|
|
620
620
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -956,16 +956,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
956
956
|
priority?: "low" | "medium" | "high" | undefined;
|
|
957
957
|
}>>;
|
|
958
958
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
959
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
959
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
960
960
|
kind: z.ZodString;
|
|
961
961
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
962
962
|
}, "strip", z.ZodTypeAny, {
|
|
963
963
|
kind: string;
|
|
964
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
964
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
965
965
|
payload: Record<string, unknown>;
|
|
966
966
|
}, {
|
|
967
967
|
kind: string;
|
|
968
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
968
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
969
969
|
payload: Record<string, unknown>;
|
|
970
970
|
}>, "many">>;
|
|
971
971
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1026,16 +1026,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1026
1026
|
priority?: "low" | "medium" | "high" | undefined;
|
|
1027
1027
|
}>>;
|
|
1028
1028
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1029
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
1029
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
1030
1030
|
kind: z.ZodString;
|
|
1031
1031
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1032
1032
|
}, "strip", z.ZodTypeAny, {
|
|
1033
1033
|
kind: string;
|
|
1034
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1034
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
1035
1035
|
payload: Record<string, unknown>;
|
|
1036
1036
|
}, {
|
|
1037
1037
|
kind: string;
|
|
1038
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1038
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
1039
1039
|
payload: Record<string, unknown>;
|
|
1040
1040
|
}>, "many">>;
|
|
1041
1041
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1096,16 +1096,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1096
1096
|
priority?: "low" | "medium" | "high" | undefined;
|
|
1097
1097
|
}>>;
|
|
1098
1098
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1099
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
1099
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
1100
1100
|
kind: z.ZodString;
|
|
1101
1101
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1102
1102
|
}, "strip", z.ZodTypeAny, {
|
|
1103
1103
|
kind: string;
|
|
1104
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1104
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
1105
1105
|
payload: Record<string, unknown>;
|
|
1106
1106
|
}, {
|
|
1107
1107
|
kind: string;
|
|
1108
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1108
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
1109
1109
|
payload: Record<string, unknown>;
|
|
1110
1110
|
}>, "many">>;
|
|
1111
1111
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1126,19 +1126,19 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1126
1126
|
dispatched_attempts: z.ZodOptional<z.ZodNumber>;
|
|
1127
1127
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1128
1128
|
auto: z.ZodOptional<z.ZodObject<{
|
|
1129
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
1129
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
1130
1130
|
kind: z.ZodString;
|
|
1131
1131
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1132
1132
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1133
1133
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
1134
1134
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1135
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
1135
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
1136
1136
|
kind: z.ZodString;
|
|
1137
1137
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1138
1138
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1139
1139
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
1140
1140
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1141
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
1141
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
1142
1142
|
kind: z.ZodString;
|
|
1143
1143
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1144
1144
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -1500,16 +1500,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1500
1500
|
priority?: "low" | "medium" | "high" | undefined;
|
|
1501
1501
|
}>>;
|
|
1502
1502
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1503
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
1503
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
1504
1504
|
kind: z.ZodString;
|
|
1505
1505
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1506
1506
|
}, "strip", z.ZodTypeAny, {
|
|
1507
1507
|
kind: string;
|
|
1508
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1508
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
1509
1509
|
payload: Record<string, unknown>;
|
|
1510
1510
|
}, {
|
|
1511
1511
|
kind: string;
|
|
1512
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1512
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
1513
1513
|
payload: Record<string, unknown>;
|
|
1514
1514
|
}>, "many">>;
|
|
1515
1515
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1570,16 +1570,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1570
1570
|
priority?: "low" | "medium" | "high" | undefined;
|
|
1571
1571
|
}>>;
|
|
1572
1572
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1573
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
1573
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
1574
1574
|
kind: z.ZodString;
|
|
1575
1575
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1576
1576
|
}, "strip", z.ZodTypeAny, {
|
|
1577
1577
|
kind: string;
|
|
1578
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1578
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
1579
1579
|
payload: Record<string, unknown>;
|
|
1580
1580
|
}, {
|
|
1581
1581
|
kind: string;
|
|
1582
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1582
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
1583
1583
|
payload: Record<string, unknown>;
|
|
1584
1584
|
}>, "many">>;
|
|
1585
1585
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1640,16 +1640,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1640
1640
|
priority?: "low" | "medium" | "high" | undefined;
|
|
1641
1641
|
}>>;
|
|
1642
1642
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1643
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
1643
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
1644
1644
|
kind: z.ZodString;
|
|
1645
1645
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1646
1646
|
}, "strip", z.ZodTypeAny, {
|
|
1647
1647
|
kind: string;
|
|
1648
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1648
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
1649
1649
|
payload: Record<string, unknown>;
|
|
1650
1650
|
}, {
|
|
1651
1651
|
kind: string;
|
|
1652
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1652
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
1653
1653
|
payload: Record<string, unknown>;
|
|
1654
1654
|
}>, "many">>;
|
|
1655
1655
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1670,19 +1670,19 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1670
1670
|
dispatched_attempts: z.ZodOptional<z.ZodNumber>;
|
|
1671
1671
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1672
1672
|
auto: z.ZodOptional<z.ZodObject<{
|
|
1673
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
1673
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
1674
1674
|
kind: z.ZodString;
|
|
1675
1675
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1676
1676
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1677
1677
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
1678
1678
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1679
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
1679
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
1680
1680
|
kind: z.ZodString;
|
|
1681
1681
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1682
1682
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1683
1683
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
1684
1684
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1685
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
1685
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
1686
1686
|
kind: z.ZodString;
|
|
1687
1687
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1688
1688
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -2044,16 +2044,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
2044
2044
|
priority?: "low" | "medium" | "high" | undefined;
|
|
2045
2045
|
}>>;
|
|
2046
2046
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2047
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
2047
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
2048
2048
|
kind: z.ZodString;
|
|
2049
2049
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2050
2050
|
}, "strip", z.ZodTypeAny, {
|
|
2051
2051
|
kind: string;
|
|
2052
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
2052
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
2053
2053
|
payload: Record<string, unknown>;
|
|
2054
2054
|
}, {
|
|
2055
2055
|
kind: string;
|
|
2056
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
2056
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
2057
2057
|
payload: Record<string, unknown>;
|
|
2058
2058
|
}>, "many">>;
|
|
2059
2059
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -2114,16 +2114,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
2114
2114
|
priority?: "low" | "medium" | "high" | undefined;
|
|
2115
2115
|
}>>;
|
|
2116
2116
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2117
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
2117
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
2118
2118
|
kind: z.ZodString;
|
|
2119
2119
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2120
2120
|
}, "strip", z.ZodTypeAny, {
|
|
2121
2121
|
kind: string;
|
|
2122
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
2122
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
2123
2123
|
payload: Record<string, unknown>;
|
|
2124
2124
|
}, {
|
|
2125
2125
|
kind: string;
|
|
2126
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
2126
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
2127
2127
|
payload: Record<string, unknown>;
|
|
2128
2128
|
}>, "many">>;
|
|
2129
2129
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -2184,16 +2184,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
2184
2184
|
priority?: "low" | "medium" | "high" | undefined;
|
|
2185
2185
|
}>>;
|
|
2186
2186
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2187
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
2187
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
2188
2188
|
kind: z.ZodString;
|
|
2189
2189
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2190
2190
|
}, "strip", z.ZodTypeAny, {
|
|
2191
2191
|
kind: string;
|
|
2192
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
2192
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
2193
2193
|
payload: Record<string, unknown>;
|
|
2194
2194
|
}, {
|
|
2195
2195
|
kind: string;
|
|
2196
|
-
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
2196
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice" | "appointment_created" | "appointment_rescheduled" | "appointment_cancelled" | "appointment_payment" | "appointment_payment_done";
|
|
2197
2197
|
payload: Record<string, unknown>;
|
|
2198
2198
|
}>, "many">>;
|
|
2199
2199
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2214,19 +2214,19 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
2214
2214
|
dispatched_attempts: z.ZodOptional<z.ZodNumber>;
|
|
2215
2215
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
2216
2216
|
auto: z.ZodOptional<z.ZodObject<{
|
|
2217
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
2217
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
2218
2218
|
kind: z.ZodString;
|
|
2219
2219
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2220
2220
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2221
2221
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
2222
2222
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2223
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
2223
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
2224
2224
|
kind: z.ZodString;
|
|
2225
2225
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2226
2226
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2227
2227
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
2228
2228
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2229
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
2229
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
2230
2230
|
kind: z.ZodString;
|
|
2231
2231
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2232
2232
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -2374,7 +2374,7 @@ export declare const zTaskExecutionSchema: z.ZodObject<{
|
|
|
2374
2374
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2375
2375
|
} & {
|
|
2376
2376
|
taskId: z.ZodString;
|
|
2377
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
2377
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
2378
2378
|
kind: z.ZodString;
|
|
2379
2379
|
status: z.ZodEnum<["success", "error", "retry", "suppressed"]>;
|
|
2380
2380
|
attempt: z.ZodNumber;
|
|
@@ -2442,7 +2442,7 @@ export declare const zTaskExecutionSchema: z.ZodObject<{
|
|
|
2442
2442
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2443
2443
|
} & {
|
|
2444
2444
|
taskId: z.ZodString;
|
|
2445
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
2445
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
2446
2446
|
kind: z.ZodString;
|
|
2447
2447
|
status: z.ZodEnum<["success", "error", "retry", "suppressed"]>;
|
|
2448
2448
|
attempt: z.ZodNumber;
|
|
@@ -2510,7 +2510,7 @@ export declare const zTaskExecutionSchema: z.ZodObject<{
|
|
|
2510
2510
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2511
2511
|
} & {
|
|
2512
2512
|
taskId: z.ZodString;
|
|
2513
|
-
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", "telemedicine_join_reminder", "appointment_invoice"]>;
|
|
2513
|
+
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", "telemedicine_join_reminder", "appointment_invoice", "appointment_created", "appointment_rescheduled", "appointment_cancelled", "appointment_payment", "appointment_payment_done"]>;
|
|
2514
2514
|
kind: z.ZodString;
|
|
2515
2515
|
status: z.ZodEnum<["success", "error", "retry", "suppressed"]>;
|
|
2516
2516
|
attempt: z.ZodNumber;
|
|
@@ -67,6 +67,15 @@ exports.zTaskAutoHandlerSchema = zod_1.z.enum([
|
|
|
67
67
|
// config `appointment_invoice` da agenda). Espelha
|
|
68
68
|
// `TaskAutoHandlerEnum.AppointmentInvoice` — as duas listas são à mão.
|
|
69
69
|
"appointment_invoice",
|
|
70
|
+
// feat-281: avisos de ciclo de vida e financeiros da consulta (variants do
|
|
71
|
+
// executor único do lembrete, config homônima da agenda). Espelham
|
|
72
|
+
// `TaskAutoHandlerEnum.Appointment{Created,Rescheduled,Cancelled,Payment,
|
|
73
|
+
// PaymentDone}` — as duas listas são à mão.
|
|
74
|
+
"appointment_created",
|
|
75
|
+
"appointment_rescheduled",
|
|
76
|
+
"appointment_cancelled",
|
|
77
|
+
"appointment_payment",
|
|
78
|
+
"appointment_payment_done",
|
|
70
79
|
]);
|
|
71
80
|
exports.zTaskRetryStrategySchema = zod_1.z.enum(["fixed", "exponential"]);
|
|
72
81
|
exports.zTaskDedupScopeSchema = zod_1.z.enum([
|
|
@@ -70,6 +70,15 @@ export const zTaskAutoHandlerSchema = z.enum([
|
|
|
70
70
|
// config `appointment_invoice` da agenda). Espelha
|
|
71
71
|
// `TaskAutoHandlerEnum.AppointmentInvoice` — as duas listas são à mão.
|
|
72
72
|
"appointment_invoice",
|
|
73
|
+
// feat-281: avisos de ciclo de vida e financeiros da consulta (variants do
|
|
74
|
+
// executor único do lembrete, config homônima da agenda). Espelham
|
|
75
|
+
// `TaskAutoHandlerEnum.Appointment{Created,Rescheduled,Cancelled,Payment,
|
|
76
|
+
// PaymentDone}` — as duas listas são à mão.
|
|
77
|
+
"appointment_created",
|
|
78
|
+
"appointment_rescheduled",
|
|
79
|
+
"appointment_cancelled",
|
|
80
|
+
"appointment_payment",
|
|
81
|
+
"appointment_payment_done",
|
|
73
82
|
]);
|
|
74
83
|
|
|
75
84
|
export const zTaskRetryStrategySchema = z.enum(["fixed", "exponential"]);
|