evo360-types 1.3.614 → 1.3.618

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.
@@ -661,7 +661,7 @@ export declare const zAutomationExecuteAtSchema: z.ZodDiscriminatedUnion<"rule",
661
661
  }>]>;
662
662
  export declare const zAutomationAutoTaskOutputSchema: z.ZodObject<{
663
663
  type: z.ZodLiteral<"auto_task">;
664
- 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"]>;
664
+ 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"]>;
665
665
  kind: z.ZodString;
666
666
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
667
667
  execute_at: z.ZodDiscriminatedUnion<"rule", [z.ZodObject<{
@@ -817,16 +817,16 @@ export declare const zAutomationAutoTaskOutputSchema: 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", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
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", "telemedicine_join_reminder", "appointment_invoice"]>;
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" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
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" | "telemedicine_join_reminder" | "appointment_invoice";
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" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
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" | "telemedicine_join_reminder" | "appointment_invoice";
830
830
  payload: Record<string, unknown>;
831
831
  }>, "many">>;
832
832
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -887,16 +887,16 @@ export declare const zAutomationAutoTaskOutputSchema: z.ZodObject<{
887
887
  priority?: "low" | "medium" | "high" | undefined;
888
888
  }>>;
889
889
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
890
- 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"]>;
890
+ 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"]>;
891
891
  kind: z.ZodString;
892
892
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
893
893
  }, "strip", z.ZodTypeAny, {
894
894
  kind: string;
895
- 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" | "telemedicine_join_reminder";
895
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
896
896
  payload: Record<string, unknown>;
897
897
  }, {
898
898
  kind: string;
899
- 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" | "telemedicine_join_reminder";
899
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
900
900
  payload: Record<string, unknown>;
901
901
  }>, "many">>;
902
902
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -957,16 +957,16 @@ export declare const zAutomationAutoTaskOutputSchema: z.ZodObject<{
957
957
  priority?: "low" | "medium" | "high" | undefined;
958
958
  }>>;
959
959
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
960
- 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"]>;
960
+ 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"]>;
961
961
  kind: z.ZodString;
962
962
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
963
963
  }, "strip", z.ZodTypeAny, {
964
964
  kind: string;
965
- 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" | "telemedicine_join_reminder";
965
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
966
966
  payload: Record<string, unknown>;
967
967
  }, {
968
968
  kind: string;
969
- 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" | "telemedicine_join_reminder";
969
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
970
970
  payload: Record<string, unknown>;
971
971
  }>, "many">>;
972
972
  }, z.ZodTypeAny, "passthrough">>>;
@@ -983,7 +983,7 @@ export declare const zAutomationAutoTaskOutputSchema: z.ZodObject<{
983
983
  rule: "relative_to_appointment";
984
984
  offset_minutes: number;
985
985
  };
986
- 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" | "telemedicine_join_reminder";
986
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
987
987
  payload: Record<string, unknown>;
988
988
  retry?: z.objectOutputType<{
989
989
  max_attempts: z.ZodNumber;
@@ -1066,16 +1066,16 @@ export declare const zAutomationAutoTaskOutputSchema: z.ZodObject<{
1066
1066
  priority?: "low" | "medium" | "high" | undefined;
1067
1067
  }>>;
1068
1068
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1069
- 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"]>;
1069
+ 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"]>;
1070
1070
  kind: z.ZodString;
1071
1071
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1072
1072
  }, "strip", z.ZodTypeAny, {
1073
1073
  kind: string;
1074
- 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" | "telemedicine_join_reminder";
1074
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1075
1075
  payload: Record<string, unknown>;
1076
1076
  }, {
1077
1077
  kind: string;
1078
- 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" | "telemedicine_join_reminder";
1078
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1079
1079
  payload: Record<string, unknown>;
1080
1080
  }>, "many">>;
1081
1081
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -1092,7 +1092,7 @@ export declare const zAutomationAutoTaskOutputSchema: z.ZodObject<{
1092
1092
  rule: "relative_to_appointment";
1093
1093
  offset_minutes: number;
1094
1094
  };
1095
- 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" | "telemedicine_join_reminder";
1095
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1096
1096
  payload?: Record<string, unknown> | undefined;
1097
1097
  retry?: z.objectInputType<{
1098
1098
  max_attempts: z.ZodNumber;
@@ -1175,16 +1175,16 @@ export declare const zAutomationAutoTaskOutputSchema: z.ZodObject<{
1175
1175
  priority?: "low" | "medium" | "high" | undefined;
1176
1176
  }>>;
1177
1177
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1178
- 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"]>;
1178
+ 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"]>;
1179
1179
  kind: z.ZodString;
1180
1180
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1181
1181
  }, "strip", z.ZodTypeAny, {
1182
1182
  kind: string;
1183
- 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" | "telemedicine_join_reminder";
1183
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1184
1184
  payload: Record<string, unknown>;
1185
1185
  }, {
1186
1186
  kind: string;
1187
- 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" | "telemedicine_join_reminder";
1187
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1188
1188
  payload: Record<string, unknown>;
1189
1189
  }>, "many">>;
1190
1190
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -1220,7 +1220,7 @@ export declare const zAutomationActionOutputSchema: z.ZodObject<{
1220
1220
  }>;
1221
1221
  export declare const zAutomationOutputSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1222
1222
  type: z.ZodLiteral<"auto_task">;
1223
- 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"]>;
1223
+ 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"]>;
1224
1224
  kind: z.ZodString;
1225
1225
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1226
1226
  execute_at: z.ZodDiscriminatedUnion<"rule", [z.ZodObject<{
@@ -1376,16 +1376,16 @@ export declare const zAutomationOutputSchema: z.ZodDiscriminatedUnion<"type", [z
1376
1376
  priority?: "low" | "medium" | "high" | undefined;
1377
1377
  }>>;
1378
1378
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1379
- 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"]>;
1379
+ 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"]>;
1380
1380
  kind: z.ZodString;
1381
1381
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1382
1382
  }, "strip", z.ZodTypeAny, {
1383
1383
  kind: string;
1384
- 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" | "telemedicine_join_reminder";
1384
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1385
1385
  payload: Record<string, unknown>;
1386
1386
  }, {
1387
1387
  kind: string;
1388
- 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" | "telemedicine_join_reminder";
1388
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1389
1389
  payload: Record<string, unknown>;
1390
1390
  }>, "many">>;
1391
1391
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -1446,16 +1446,16 @@ export declare const zAutomationOutputSchema: z.ZodDiscriminatedUnion<"type", [z
1446
1446
  priority?: "low" | "medium" | "high" | undefined;
1447
1447
  }>>;
1448
1448
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1449
- 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"]>;
1449
+ 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"]>;
1450
1450
  kind: z.ZodString;
1451
1451
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1452
1452
  }, "strip", z.ZodTypeAny, {
1453
1453
  kind: string;
1454
- 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" | "telemedicine_join_reminder";
1454
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1455
1455
  payload: Record<string, unknown>;
1456
1456
  }, {
1457
1457
  kind: string;
1458
- 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" | "telemedicine_join_reminder";
1458
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1459
1459
  payload: Record<string, unknown>;
1460
1460
  }>, "many">>;
1461
1461
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -1516,16 +1516,16 @@ export declare const zAutomationOutputSchema: z.ZodDiscriminatedUnion<"type", [z
1516
1516
  priority?: "low" | "medium" | "high" | undefined;
1517
1517
  }>>;
1518
1518
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1519
- 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"]>;
1519
+ 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"]>;
1520
1520
  kind: z.ZodString;
1521
1521
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1522
1522
  }, "strip", z.ZodTypeAny, {
1523
1523
  kind: string;
1524
- 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" | "telemedicine_join_reminder";
1524
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1525
1525
  payload: Record<string, unknown>;
1526
1526
  }, {
1527
1527
  kind: string;
1528
- 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" | "telemedicine_join_reminder";
1528
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1529
1529
  payload: Record<string, unknown>;
1530
1530
  }>, "many">>;
1531
1531
  }, z.ZodTypeAny, "passthrough">>>;
@@ -1542,7 +1542,7 @@ export declare const zAutomationOutputSchema: z.ZodDiscriminatedUnion<"type", [z
1542
1542
  rule: "relative_to_appointment";
1543
1543
  offset_minutes: number;
1544
1544
  };
1545
- 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" | "telemedicine_join_reminder";
1545
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1546
1546
  payload: Record<string, unknown>;
1547
1547
  retry?: z.objectOutputType<{
1548
1548
  max_attempts: z.ZodNumber;
@@ -1625,16 +1625,16 @@ export declare const zAutomationOutputSchema: z.ZodDiscriminatedUnion<"type", [z
1625
1625
  priority?: "low" | "medium" | "high" | undefined;
1626
1626
  }>>;
1627
1627
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1628
- 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"]>;
1628
+ 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"]>;
1629
1629
  kind: z.ZodString;
1630
1630
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1631
1631
  }, "strip", z.ZodTypeAny, {
1632
1632
  kind: string;
1633
- 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" | "telemedicine_join_reminder";
1633
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1634
1634
  payload: Record<string, unknown>;
1635
1635
  }, {
1636
1636
  kind: string;
1637
- 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" | "telemedicine_join_reminder";
1637
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1638
1638
  payload: Record<string, unknown>;
1639
1639
  }>, "many">>;
1640
1640
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -1651,7 +1651,7 @@ export declare const zAutomationOutputSchema: z.ZodDiscriminatedUnion<"type", [z
1651
1651
  rule: "relative_to_appointment";
1652
1652
  offset_minutes: number;
1653
1653
  };
1654
- 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" | "telemedicine_join_reminder";
1654
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1655
1655
  payload?: Record<string, unknown> | undefined;
1656
1656
  retry?: z.objectInputType<{
1657
1657
  max_attempts: z.ZodNumber;
@@ -1734,16 +1734,16 @@ export declare const zAutomationOutputSchema: z.ZodDiscriminatedUnion<"type", [z
1734
1734
  priority?: "low" | "medium" | "high" | undefined;
1735
1735
  }>>;
1736
1736
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1737
- 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"]>;
1737
+ 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"]>;
1738
1738
  kind: z.ZodString;
1739
1739
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1740
1740
  }, "strip", z.ZodTypeAny, {
1741
1741
  kind: string;
1742
- 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" | "telemedicine_join_reminder";
1742
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1743
1743
  payload: Record<string, unknown>;
1744
1744
  }, {
1745
1745
  kind: string;
1746
- 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" | "telemedicine_join_reminder";
1746
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1747
1747
  payload: Record<string, unknown>;
1748
1748
  }>, "many">>;
1749
1749
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -1782,7 +1782,7 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
1782
1782
  is_fallback: z.ZodOptional<z.ZodBoolean>;
1783
1783
  outputs: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1784
1784
  type: z.ZodLiteral<"auto_task">;
1785
- 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"]>;
1785
+ 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"]>;
1786
1786
  kind: z.ZodString;
1787
1787
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1788
1788
  execute_at: z.ZodDiscriminatedUnion<"rule", [z.ZodObject<{
@@ -1938,16 +1938,16 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
1938
1938
  priority?: "low" | "medium" | "high" | undefined;
1939
1939
  }>>;
1940
1940
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1941
- 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"]>;
1941
+ 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"]>;
1942
1942
  kind: z.ZodString;
1943
1943
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1944
1944
  }, "strip", z.ZodTypeAny, {
1945
1945
  kind: string;
1946
- 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" | "telemedicine_join_reminder";
1946
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1947
1947
  payload: Record<string, unknown>;
1948
1948
  }, {
1949
1949
  kind: string;
1950
- 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" | "telemedicine_join_reminder";
1950
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
1951
1951
  payload: Record<string, unknown>;
1952
1952
  }>, "many">>;
1953
1953
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -2008,16 +2008,16 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
2008
2008
  priority?: "low" | "medium" | "high" | undefined;
2009
2009
  }>>;
2010
2010
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2011
- 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"]>;
2011
+ 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"]>;
2012
2012
  kind: z.ZodString;
2013
2013
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2014
2014
  }, "strip", z.ZodTypeAny, {
2015
2015
  kind: string;
2016
- 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" | "telemedicine_join_reminder";
2016
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
2017
2017
  payload: Record<string, unknown>;
2018
2018
  }, {
2019
2019
  kind: string;
2020
- 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" | "telemedicine_join_reminder";
2020
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
2021
2021
  payload: Record<string, unknown>;
2022
2022
  }>, "many">>;
2023
2023
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -2078,16 +2078,16 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
2078
2078
  priority?: "low" | "medium" | "high" | undefined;
2079
2079
  }>>;
2080
2080
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2081
- 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"]>;
2081
+ 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"]>;
2082
2082
  kind: z.ZodString;
2083
2083
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2084
2084
  }, "strip", z.ZodTypeAny, {
2085
2085
  kind: string;
2086
- 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" | "telemedicine_join_reminder";
2086
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
2087
2087
  payload: Record<string, unknown>;
2088
2088
  }, {
2089
2089
  kind: string;
2090
- 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" | "telemedicine_join_reminder";
2090
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
2091
2091
  payload: Record<string, unknown>;
2092
2092
  }>, "many">>;
2093
2093
  }, z.ZodTypeAny, "passthrough">>>;
@@ -2104,7 +2104,7 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
2104
2104
  rule: "relative_to_appointment";
2105
2105
  offset_minutes: number;
2106
2106
  };
2107
- 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" | "telemedicine_join_reminder";
2107
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
2108
2108
  payload: Record<string, unknown>;
2109
2109
  retry?: z.objectOutputType<{
2110
2110
  max_attempts: z.ZodNumber;
@@ -2187,16 +2187,16 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
2187
2187
  priority?: "low" | "medium" | "high" | undefined;
2188
2188
  }>>;
2189
2189
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2190
- 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"]>;
2190
+ 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"]>;
2191
2191
  kind: z.ZodString;
2192
2192
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2193
2193
  }, "strip", z.ZodTypeAny, {
2194
2194
  kind: string;
2195
- 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" | "telemedicine_join_reminder";
2195
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
2196
2196
  payload: Record<string, unknown>;
2197
2197
  }, {
2198
2198
  kind: string;
2199
- 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" | "telemedicine_join_reminder";
2199
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
2200
2200
  payload: Record<string, unknown>;
2201
2201
  }>, "many">>;
2202
2202
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -2213,7 +2213,7 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
2213
2213
  rule: "relative_to_appointment";
2214
2214
  offset_minutes: number;
2215
2215
  };
2216
- 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" | "telemedicine_join_reminder";
2216
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
2217
2217
  payload?: Record<string, unknown> | undefined;
2218
2218
  retry?: z.objectInputType<{
2219
2219
  max_attempts: z.ZodNumber;
@@ -2296,16 +2296,16 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
2296
2296
  priority?: "low" | "medium" | "high" | undefined;
2297
2297
  }>>;
2298
2298
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2299
- 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"]>;
2299
+ 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"]>;
2300
2300
  kind: z.ZodString;
2301
2301
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2302
2302
  }, "strip", z.ZodTypeAny, {
2303
2303
  kind: string;
2304
- 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" | "telemedicine_join_reminder";
2304
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
2305
2305
  payload: Record<string, unknown>;
2306
2306
  }, {
2307
2307
  kind: string;
2308
- 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" | "telemedicine_join_reminder";
2308
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
2309
2309
  payload: Record<string, unknown>;
2310
2310
  }>, "many">>;
2311
2311
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -2353,7 +2353,7 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
2353
2353
  rule: "relative_to_appointment";
2354
2354
  offset_minutes: number;
2355
2355
  };
2356
- 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" | "telemedicine_join_reminder";
2356
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
2357
2357
  payload: Record<string, unknown>;
2358
2358
  retry?: z.objectOutputType<{
2359
2359
  max_attempts: z.ZodNumber;
@@ -2436,16 +2436,16 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
2436
2436
  priority?: "low" | "medium" | "high" | undefined;
2437
2437
  }>>;
2438
2438
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2439
- 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"]>;
2439
+ 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"]>;
2440
2440
  kind: z.ZodString;
2441
2441
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2442
2442
  }, "strip", z.ZodTypeAny, {
2443
2443
  kind: string;
2444
- 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" | "telemedicine_join_reminder";
2444
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
2445
2445
  payload: Record<string, unknown>;
2446
2446
  }, {
2447
2447
  kind: string;
2448
- 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" | "telemedicine_join_reminder";
2448
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
2449
2449
  payload: Record<string, unknown>;
2450
2450
  }>, "many">>;
2451
2451
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -2477,7 +2477,7 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
2477
2477
  rule: "relative_to_appointment";
2478
2478
  offset_minutes: number;
2479
2479
  };
2480
- 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" | "telemedicine_join_reminder";
2480
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
2481
2481
  payload?: Record<string, unknown> | undefined;
2482
2482
  retry?: z.objectInputType<{
2483
2483
  max_attempts: z.ZodNumber;
@@ -2560,16 +2560,16 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
2560
2560
  priority?: "low" | "medium" | "high" | undefined;
2561
2561
  }>>;
2562
2562
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2563
- 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"]>;
2563
+ 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"]>;
2564
2564
  kind: z.ZodString;
2565
2565
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2566
2566
  }, "strip", z.ZodTypeAny, {
2567
2567
  kind: string;
2568
- 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" | "telemedicine_join_reminder";
2568
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
2569
2569
  payload: Record<string, unknown>;
2570
2570
  }, {
2571
2571
  kind: string;
2572
- 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" | "telemedicine_join_reminder";
2572
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
2573
2573
  payload: Record<string, unknown>;
2574
2574
  }>, "many">>;
2575
2575
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -2887,7 +2887,7 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
2887
2887
  is_fallback: z.ZodOptional<z.ZodBoolean>;
2888
2888
  outputs: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2889
2889
  type: z.ZodLiteral<"auto_task">;
2890
- 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"]>;
2890
+ 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"]>;
2891
2891
  kind: z.ZodString;
2892
2892
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2893
2893
  execute_at: z.ZodDiscriminatedUnion<"rule", [z.ZodObject<{
@@ -3043,16 +3043,16 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3043
3043
  priority?: "low" | "medium" | "high" | undefined;
3044
3044
  }>>;
3045
3045
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3046
- 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"]>;
3046
+ 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"]>;
3047
3047
  kind: z.ZodString;
3048
3048
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3049
3049
  }, "strip", z.ZodTypeAny, {
3050
3050
  kind: string;
3051
- 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" | "telemedicine_join_reminder";
3051
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3052
3052
  payload: Record<string, unknown>;
3053
3053
  }, {
3054
3054
  kind: string;
3055
- 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" | "telemedicine_join_reminder";
3055
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3056
3056
  payload: Record<string, unknown>;
3057
3057
  }>, "many">>;
3058
3058
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -3113,16 +3113,16 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3113
3113
  priority?: "low" | "medium" | "high" | undefined;
3114
3114
  }>>;
3115
3115
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3116
- 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"]>;
3116
+ 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"]>;
3117
3117
  kind: z.ZodString;
3118
3118
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3119
3119
  }, "strip", z.ZodTypeAny, {
3120
3120
  kind: string;
3121
- 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" | "telemedicine_join_reminder";
3121
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3122
3122
  payload: Record<string, unknown>;
3123
3123
  }, {
3124
3124
  kind: string;
3125
- 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" | "telemedicine_join_reminder";
3125
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3126
3126
  payload: Record<string, unknown>;
3127
3127
  }>, "many">>;
3128
3128
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -3183,16 +3183,16 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3183
3183
  priority?: "low" | "medium" | "high" | undefined;
3184
3184
  }>>;
3185
3185
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3186
- 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"]>;
3186
+ 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"]>;
3187
3187
  kind: z.ZodString;
3188
3188
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3189
3189
  }, "strip", z.ZodTypeAny, {
3190
3190
  kind: string;
3191
- 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" | "telemedicine_join_reminder";
3191
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3192
3192
  payload: Record<string, unknown>;
3193
3193
  }, {
3194
3194
  kind: string;
3195
- 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" | "telemedicine_join_reminder";
3195
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3196
3196
  payload: Record<string, unknown>;
3197
3197
  }>, "many">>;
3198
3198
  }, z.ZodTypeAny, "passthrough">>>;
@@ -3209,7 +3209,7 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3209
3209
  rule: "relative_to_appointment";
3210
3210
  offset_minutes: number;
3211
3211
  };
3212
- 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" | "telemedicine_join_reminder";
3212
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3213
3213
  payload: Record<string, unknown>;
3214
3214
  retry?: z.objectOutputType<{
3215
3215
  max_attempts: z.ZodNumber;
@@ -3292,16 +3292,16 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3292
3292
  priority?: "low" | "medium" | "high" | undefined;
3293
3293
  }>>;
3294
3294
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3295
- 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"]>;
3295
+ 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"]>;
3296
3296
  kind: z.ZodString;
3297
3297
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3298
3298
  }, "strip", z.ZodTypeAny, {
3299
3299
  kind: string;
3300
- 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" | "telemedicine_join_reminder";
3300
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3301
3301
  payload: Record<string, unknown>;
3302
3302
  }, {
3303
3303
  kind: string;
3304
- 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" | "telemedicine_join_reminder";
3304
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3305
3305
  payload: Record<string, unknown>;
3306
3306
  }>, "many">>;
3307
3307
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -3318,7 +3318,7 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3318
3318
  rule: "relative_to_appointment";
3319
3319
  offset_minutes: number;
3320
3320
  };
3321
- 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" | "telemedicine_join_reminder";
3321
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3322
3322
  payload?: Record<string, unknown> | undefined;
3323
3323
  retry?: z.objectInputType<{
3324
3324
  max_attempts: z.ZodNumber;
@@ -3401,16 +3401,16 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3401
3401
  priority?: "low" | "medium" | "high" | undefined;
3402
3402
  }>>;
3403
3403
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3404
- 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"]>;
3404
+ 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"]>;
3405
3405
  kind: z.ZodString;
3406
3406
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3407
3407
  }, "strip", z.ZodTypeAny, {
3408
3408
  kind: string;
3409
- 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" | "telemedicine_join_reminder";
3409
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3410
3410
  payload: Record<string, unknown>;
3411
3411
  }, {
3412
3412
  kind: string;
3413
- 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" | "telemedicine_join_reminder";
3413
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3414
3414
  payload: Record<string, unknown>;
3415
3415
  }>, "many">>;
3416
3416
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -3458,7 +3458,7 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3458
3458
  rule: "relative_to_appointment";
3459
3459
  offset_minutes: number;
3460
3460
  };
3461
- 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" | "telemedicine_join_reminder";
3461
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3462
3462
  payload: Record<string, unknown>;
3463
3463
  retry?: z.objectOutputType<{
3464
3464
  max_attempts: z.ZodNumber;
@@ -3541,16 +3541,16 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3541
3541
  priority?: "low" | "medium" | "high" | undefined;
3542
3542
  }>>;
3543
3543
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3544
- 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"]>;
3544
+ 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"]>;
3545
3545
  kind: z.ZodString;
3546
3546
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3547
3547
  }, "strip", z.ZodTypeAny, {
3548
3548
  kind: string;
3549
- 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" | "telemedicine_join_reminder";
3549
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3550
3550
  payload: Record<string, unknown>;
3551
3551
  }, {
3552
3552
  kind: string;
3553
- 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" | "telemedicine_join_reminder";
3553
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3554
3554
  payload: Record<string, unknown>;
3555
3555
  }>, "many">>;
3556
3556
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -3582,7 +3582,7 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3582
3582
  rule: "relative_to_appointment";
3583
3583
  offset_minutes: number;
3584
3584
  };
3585
- 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" | "telemedicine_join_reminder";
3585
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3586
3586
  payload?: Record<string, unknown> | undefined;
3587
3587
  retry?: z.objectInputType<{
3588
3588
  max_attempts: z.ZodNumber;
@@ -3665,16 +3665,16 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3665
3665
  priority?: "low" | "medium" | "high" | undefined;
3666
3666
  }>>;
3667
3667
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3668
- 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"]>;
3668
+ 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"]>;
3669
3669
  kind: z.ZodString;
3670
3670
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3671
3671
  }, "strip", z.ZodTypeAny, {
3672
3672
  kind: string;
3673
- 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" | "telemedicine_join_reminder";
3673
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3674
3674
  payload: Record<string, unknown>;
3675
3675
  }, {
3676
3676
  kind: string;
3677
- 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" | "telemedicine_join_reminder";
3677
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3678
3678
  payload: Record<string, unknown>;
3679
3679
  }>, "many">>;
3680
3680
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -3819,7 +3819,7 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3819
3819
  rule: "relative_to_appointment";
3820
3820
  offset_minutes: number;
3821
3821
  };
3822
- 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" | "telemedicine_join_reminder";
3822
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3823
3823
  payload: Record<string, unknown>;
3824
3824
  retry?: z.objectOutputType<{
3825
3825
  max_attempts: z.ZodNumber;
@@ -3902,16 +3902,16 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3902
3902
  priority?: "low" | "medium" | "high" | undefined;
3903
3903
  }>>;
3904
3904
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3905
- 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"]>;
3905
+ 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"]>;
3906
3906
  kind: z.ZodString;
3907
3907
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3908
3908
  }, "strip", z.ZodTypeAny, {
3909
3909
  kind: string;
3910
- 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" | "telemedicine_join_reminder";
3910
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3911
3911
  payload: Record<string, unknown>;
3912
3912
  }, {
3913
3913
  kind: string;
3914
- 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" | "telemedicine_join_reminder";
3914
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
3915
3915
  payload: Record<string, unknown>;
3916
3916
  }>, "many">>;
3917
3917
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -4029,7 +4029,7 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
4029
4029
  rule: "relative_to_appointment";
4030
4030
  offset_minutes: number;
4031
4031
  };
4032
- 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" | "telemedicine_join_reminder";
4032
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
4033
4033
  payload?: Record<string, unknown> | undefined;
4034
4034
  retry?: z.objectInputType<{
4035
4035
  max_attempts: z.ZodNumber;
@@ -4112,16 +4112,16 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
4112
4112
  priority?: "low" | "medium" | "high" | undefined;
4113
4113
  }>>;
4114
4114
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4115
- 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"]>;
4115
+ 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"]>;
4116
4116
  kind: z.ZodString;
4117
4117
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4118
4118
  }, "strip", z.ZodTypeAny, {
4119
4119
  kind: string;
4120
- 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" | "telemedicine_join_reminder";
4120
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
4121
4121
  payload: Record<string, unknown>;
4122
4122
  }, {
4123
4123
  kind: string;
4124
- 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" | "telemedicine_join_reminder";
4124
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
4125
4125
  payload: Record<string, unknown>;
4126
4126
  }>, "many">>;
4127
4127
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -4457,7 +4457,7 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4457
4457
  is_fallback: z.ZodOptional<z.ZodBoolean>;
4458
4458
  outputs: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4459
4459
  type: z.ZodLiteral<"auto_task">;
4460
- 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"]>;
4460
+ 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"]>;
4461
4461
  kind: z.ZodString;
4462
4462
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4463
4463
  execute_at: z.ZodDiscriminatedUnion<"rule", [z.ZodObject<{
@@ -4613,16 +4613,16 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4613
4613
  priority?: "low" | "medium" | "high" | undefined;
4614
4614
  }>>;
4615
4615
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4616
- 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"]>;
4616
+ 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"]>;
4617
4617
  kind: z.ZodString;
4618
4618
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4619
4619
  }, "strip", z.ZodTypeAny, {
4620
4620
  kind: string;
4621
- 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" | "telemedicine_join_reminder";
4621
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
4622
4622
  payload: Record<string, unknown>;
4623
4623
  }, {
4624
4624
  kind: string;
4625
- 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" | "telemedicine_join_reminder";
4625
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
4626
4626
  payload: Record<string, unknown>;
4627
4627
  }>, "many">>;
4628
4628
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -4683,16 +4683,16 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4683
4683
  priority?: "low" | "medium" | "high" | undefined;
4684
4684
  }>>;
4685
4685
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4686
- 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"]>;
4686
+ 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"]>;
4687
4687
  kind: z.ZodString;
4688
4688
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4689
4689
  }, "strip", z.ZodTypeAny, {
4690
4690
  kind: string;
4691
- 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" | "telemedicine_join_reminder";
4691
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
4692
4692
  payload: Record<string, unknown>;
4693
4693
  }, {
4694
4694
  kind: string;
4695
- 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" | "telemedicine_join_reminder";
4695
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
4696
4696
  payload: Record<string, unknown>;
4697
4697
  }>, "many">>;
4698
4698
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -4753,16 +4753,16 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4753
4753
  priority?: "low" | "medium" | "high" | undefined;
4754
4754
  }>>;
4755
4755
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4756
- 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"]>;
4756
+ 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"]>;
4757
4757
  kind: z.ZodString;
4758
4758
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4759
4759
  }, "strip", z.ZodTypeAny, {
4760
4760
  kind: string;
4761
- 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" | "telemedicine_join_reminder";
4761
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
4762
4762
  payload: Record<string, unknown>;
4763
4763
  }, {
4764
4764
  kind: string;
4765
- 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" | "telemedicine_join_reminder";
4765
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
4766
4766
  payload: Record<string, unknown>;
4767
4767
  }>, "many">>;
4768
4768
  }, z.ZodTypeAny, "passthrough">>>;
@@ -4779,7 +4779,7 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4779
4779
  rule: "relative_to_appointment";
4780
4780
  offset_minutes: number;
4781
4781
  };
4782
- 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" | "telemedicine_join_reminder";
4782
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
4783
4783
  payload: Record<string, unknown>;
4784
4784
  retry?: z.objectOutputType<{
4785
4785
  max_attempts: z.ZodNumber;
@@ -4862,16 +4862,16 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4862
4862
  priority?: "low" | "medium" | "high" | undefined;
4863
4863
  }>>;
4864
4864
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4865
- 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"]>;
4865
+ 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"]>;
4866
4866
  kind: z.ZodString;
4867
4867
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4868
4868
  }, "strip", z.ZodTypeAny, {
4869
4869
  kind: string;
4870
- 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" | "telemedicine_join_reminder";
4870
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
4871
4871
  payload: Record<string, unknown>;
4872
4872
  }, {
4873
4873
  kind: string;
4874
- 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" | "telemedicine_join_reminder";
4874
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
4875
4875
  payload: Record<string, unknown>;
4876
4876
  }>, "many">>;
4877
4877
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -4888,7 +4888,7 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4888
4888
  rule: "relative_to_appointment";
4889
4889
  offset_minutes: number;
4890
4890
  };
4891
- 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" | "telemedicine_join_reminder";
4891
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
4892
4892
  payload?: Record<string, unknown> | undefined;
4893
4893
  retry?: z.objectInputType<{
4894
4894
  max_attempts: z.ZodNumber;
@@ -4971,16 +4971,16 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4971
4971
  priority?: "low" | "medium" | "high" | undefined;
4972
4972
  }>>;
4973
4973
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4974
- 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"]>;
4974
+ 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"]>;
4975
4975
  kind: z.ZodString;
4976
4976
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4977
4977
  }, "strip", z.ZodTypeAny, {
4978
4978
  kind: string;
4979
- 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" | "telemedicine_join_reminder";
4979
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
4980
4980
  payload: Record<string, unknown>;
4981
4981
  }, {
4982
4982
  kind: string;
4983
- 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" | "telemedicine_join_reminder";
4983
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
4984
4984
  payload: Record<string, unknown>;
4985
4985
  }>, "many">>;
4986
4986
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -5028,7 +5028,7 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
5028
5028
  rule: "relative_to_appointment";
5029
5029
  offset_minutes: number;
5030
5030
  };
5031
- 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" | "telemedicine_join_reminder";
5031
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
5032
5032
  payload: Record<string, unknown>;
5033
5033
  retry?: z.objectOutputType<{
5034
5034
  max_attempts: z.ZodNumber;
@@ -5111,16 +5111,16 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
5111
5111
  priority?: "low" | "medium" | "high" | undefined;
5112
5112
  }>>;
5113
5113
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
5114
- 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"]>;
5114
+ 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"]>;
5115
5115
  kind: z.ZodString;
5116
5116
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5117
5117
  }, "strip", z.ZodTypeAny, {
5118
5118
  kind: string;
5119
- 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" | "telemedicine_join_reminder";
5119
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
5120
5120
  payload: Record<string, unknown>;
5121
5121
  }, {
5122
5122
  kind: string;
5123
- 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" | "telemedicine_join_reminder";
5123
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
5124
5124
  payload: Record<string, unknown>;
5125
5125
  }>, "many">>;
5126
5126
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -5152,7 +5152,7 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
5152
5152
  rule: "relative_to_appointment";
5153
5153
  offset_minutes: number;
5154
5154
  };
5155
- 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" | "telemedicine_join_reminder";
5155
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
5156
5156
  payload?: Record<string, unknown> | undefined;
5157
5157
  retry?: z.objectInputType<{
5158
5158
  max_attempts: z.ZodNumber;
@@ -5235,16 +5235,16 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
5235
5235
  priority?: "low" | "medium" | "high" | undefined;
5236
5236
  }>>;
5237
5237
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
5238
- 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"]>;
5238
+ 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"]>;
5239
5239
  kind: z.ZodString;
5240
5240
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5241
5241
  }, "strip", z.ZodTypeAny, {
5242
5242
  kind: string;
5243
- 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" | "telemedicine_join_reminder";
5243
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
5244
5244
  payload: Record<string, unknown>;
5245
5245
  }, {
5246
5246
  kind: string;
5247
- 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" | "telemedicine_join_reminder";
5247
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
5248
5248
  payload: Record<string, unknown>;
5249
5249
  }>, "many">>;
5250
5250
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -5351,7 +5351,7 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
5351
5351
  rule: "relative_to_appointment";
5352
5352
  offset_minutes: number;
5353
5353
  };
5354
- 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" | "telemedicine_join_reminder";
5354
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
5355
5355
  payload: Record<string, unknown>;
5356
5356
  retry?: z.objectOutputType<{
5357
5357
  max_attempts: z.ZodNumber;
@@ -5434,16 +5434,16 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
5434
5434
  priority?: "low" | "medium" | "high" | undefined;
5435
5435
  }>>;
5436
5436
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
5437
- 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"]>;
5437
+ 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"]>;
5438
5438
  kind: z.ZodString;
5439
5439
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5440
5440
  }, "strip", z.ZodTypeAny, {
5441
5441
  kind: string;
5442
- 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" | "telemedicine_join_reminder";
5442
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
5443
5443
  payload: Record<string, unknown>;
5444
5444
  }, {
5445
5445
  kind: string;
5446
- 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" | "telemedicine_join_reminder";
5446
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
5447
5447
  payload: Record<string, unknown>;
5448
5448
  }>, "many">>;
5449
5449
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -5546,7 +5546,7 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
5546
5546
  rule: "relative_to_appointment";
5547
5547
  offset_minutes: number;
5548
5548
  };
5549
- 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" | "telemedicine_join_reminder";
5549
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
5550
5550
  payload?: Record<string, unknown> | undefined;
5551
5551
  retry?: z.objectInputType<{
5552
5552
  max_attempts: z.ZodNumber;
@@ -5629,16 +5629,16 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
5629
5629
  priority?: "low" | "medium" | "high" | undefined;
5630
5630
  }>>;
5631
5631
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
5632
- 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"]>;
5632
+ 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"]>;
5633
5633
  kind: z.ZodString;
5634
5634
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5635
5635
  }, "strip", z.ZodTypeAny, {
5636
5636
  kind: string;
5637
- 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" | "telemedicine_join_reminder";
5637
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
5638
5638
  payload: Record<string, unknown>;
5639
5639
  }, {
5640
5640
  kind: string;
5641
- 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" | "telemedicine_join_reminder";
5641
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
5642
5642
  payload: Record<string, unknown>;
5643
5643
  }>, "many">>;
5644
5644
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -5961,7 +5961,7 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
5961
5961
  is_fallback: z.ZodOptional<z.ZodBoolean>;
5962
5962
  outputs: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5963
5963
  type: z.ZodLiteral<"auto_task">;
5964
- 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"]>;
5964
+ 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"]>;
5965
5965
  kind: z.ZodString;
5966
5966
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5967
5967
  execute_at: z.ZodDiscriminatedUnion<"rule", [z.ZodObject<{
@@ -6117,16 +6117,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6117
6117
  priority?: "low" | "medium" | "high" | undefined;
6118
6118
  }>>;
6119
6119
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
6120
- 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"]>;
6120
+ 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"]>;
6121
6121
  kind: z.ZodString;
6122
6122
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6123
6123
  }, "strip", z.ZodTypeAny, {
6124
6124
  kind: string;
6125
- 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" | "telemedicine_join_reminder";
6125
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6126
6126
  payload: Record<string, unknown>;
6127
6127
  }, {
6128
6128
  kind: string;
6129
- 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" | "telemedicine_join_reminder";
6129
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6130
6130
  payload: Record<string, unknown>;
6131
6131
  }>, "many">>;
6132
6132
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -6187,16 +6187,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6187
6187
  priority?: "low" | "medium" | "high" | undefined;
6188
6188
  }>>;
6189
6189
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
6190
- 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"]>;
6190
+ 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"]>;
6191
6191
  kind: z.ZodString;
6192
6192
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6193
6193
  }, "strip", z.ZodTypeAny, {
6194
6194
  kind: string;
6195
- 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" | "telemedicine_join_reminder";
6195
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6196
6196
  payload: Record<string, unknown>;
6197
6197
  }, {
6198
6198
  kind: string;
6199
- 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" | "telemedicine_join_reminder";
6199
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6200
6200
  payload: Record<string, unknown>;
6201
6201
  }>, "many">>;
6202
6202
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -6257,16 +6257,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6257
6257
  priority?: "low" | "medium" | "high" | undefined;
6258
6258
  }>>;
6259
6259
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
6260
- 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"]>;
6260
+ 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"]>;
6261
6261
  kind: z.ZodString;
6262
6262
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6263
6263
  }, "strip", z.ZodTypeAny, {
6264
6264
  kind: string;
6265
- 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" | "telemedicine_join_reminder";
6265
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6266
6266
  payload: Record<string, unknown>;
6267
6267
  }, {
6268
6268
  kind: string;
6269
- 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" | "telemedicine_join_reminder";
6269
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6270
6270
  payload: Record<string, unknown>;
6271
6271
  }>, "many">>;
6272
6272
  }, z.ZodTypeAny, "passthrough">>>;
@@ -6283,7 +6283,7 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6283
6283
  rule: "relative_to_appointment";
6284
6284
  offset_minutes: number;
6285
6285
  };
6286
- 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" | "telemedicine_join_reminder";
6286
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6287
6287
  payload: Record<string, unknown>;
6288
6288
  retry?: z.objectOutputType<{
6289
6289
  max_attempts: z.ZodNumber;
@@ -6366,16 +6366,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6366
6366
  priority?: "low" | "medium" | "high" | undefined;
6367
6367
  }>>;
6368
6368
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
6369
- 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"]>;
6369
+ 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"]>;
6370
6370
  kind: z.ZodString;
6371
6371
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6372
6372
  }, "strip", z.ZodTypeAny, {
6373
6373
  kind: string;
6374
- 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" | "telemedicine_join_reminder";
6374
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6375
6375
  payload: Record<string, unknown>;
6376
6376
  }, {
6377
6377
  kind: string;
6378
- 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" | "telemedicine_join_reminder";
6378
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6379
6379
  payload: Record<string, unknown>;
6380
6380
  }>, "many">>;
6381
6381
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -6392,7 +6392,7 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6392
6392
  rule: "relative_to_appointment";
6393
6393
  offset_minutes: number;
6394
6394
  };
6395
- 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" | "telemedicine_join_reminder";
6395
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6396
6396
  payload?: Record<string, unknown> | undefined;
6397
6397
  retry?: z.objectInputType<{
6398
6398
  max_attempts: z.ZodNumber;
@@ -6475,16 +6475,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6475
6475
  priority?: "low" | "medium" | "high" | undefined;
6476
6476
  }>>;
6477
6477
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
6478
- 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"]>;
6478
+ 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"]>;
6479
6479
  kind: z.ZodString;
6480
6480
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6481
6481
  }, "strip", z.ZodTypeAny, {
6482
6482
  kind: string;
6483
- 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" | "telemedicine_join_reminder";
6483
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6484
6484
  payload: Record<string, unknown>;
6485
6485
  }, {
6486
6486
  kind: string;
6487
- 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" | "telemedicine_join_reminder";
6487
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6488
6488
  payload: Record<string, unknown>;
6489
6489
  }>, "many">>;
6490
6490
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -6532,7 +6532,7 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6532
6532
  rule: "relative_to_appointment";
6533
6533
  offset_minutes: number;
6534
6534
  };
6535
- 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" | "telemedicine_join_reminder";
6535
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6536
6536
  payload: Record<string, unknown>;
6537
6537
  retry?: z.objectOutputType<{
6538
6538
  max_attempts: z.ZodNumber;
@@ -6615,16 +6615,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6615
6615
  priority?: "low" | "medium" | "high" | undefined;
6616
6616
  }>>;
6617
6617
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
6618
- 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"]>;
6618
+ 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"]>;
6619
6619
  kind: z.ZodString;
6620
6620
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6621
6621
  }, "strip", z.ZodTypeAny, {
6622
6622
  kind: string;
6623
- 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" | "telemedicine_join_reminder";
6623
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6624
6624
  payload: Record<string, unknown>;
6625
6625
  }, {
6626
6626
  kind: string;
6627
- 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" | "telemedicine_join_reminder";
6627
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6628
6628
  payload: Record<string, unknown>;
6629
6629
  }>, "many">>;
6630
6630
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -6656,7 +6656,7 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6656
6656
  rule: "relative_to_appointment";
6657
6657
  offset_minutes: number;
6658
6658
  };
6659
- 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" | "telemedicine_join_reminder";
6659
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6660
6660
  payload?: Record<string, unknown> | undefined;
6661
6661
  retry?: z.objectInputType<{
6662
6662
  max_attempts: z.ZodNumber;
@@ -6739,16 +6739,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6739
6739
  priority?: "low" | "medium" | "high" | undefined;
6740
6740
  }>>;
6741
6741
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
6742
- 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"]>;
6742
+ 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"]>;
6743
6743
  kind: z.ZodString;
6744
6744
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6745
6745
  }, "strip", z.ZodTypeAny, {
6746
6746
  kind: string;
6747
- 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" | "telemedicine_join_reminder";
6747
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6748
6748
  payload: Record<string, unknown>;
6749
6749
  }, {
6750
6750
  kind: string;
6751
- 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" | "telemedicine_join_reminder";
6751
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6752
6752
  payload: Record<string, unknown>;
6753
6753
  }>, "many">>;
6754
6754
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -6855,7 +6855,7 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6855
6855
  rule: "relative_to_appointment";
6856
6856
  offset_minutes: number;
6857
6857
  };
6858
- 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" | "telemedicine_join_reminder";
6858
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6859
6859
  payload: Record<string, unknown>;
6860
6860
  retry?: z.objectOutputType<{
6861
6861
  max_attempts: z.ZodNumber;
@@ -6938,16 +6938,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6938
6938
  priority?: "low" | "medium" | "high" | undefined;
6939
6939
  }>>;
6940
6940
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
6941
- 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"]>;
6941
+ 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"]>;
6942
6942
  kind: z.ZodString;
6943
6943
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6944
6944
  }, "strip", z.ZodTypeAny, {
6945
6945
  kind: string;
6946
- 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" | "telemedicine_join_reminder";
6946
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6947
6947
  payload: Record<string, unknown>;
6948
6948
  }, {
6949
6949
  kind: string;
6950
- 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" | "telemedicine_join_reminder";
6950
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
6951
6951
  payload: Record<string, unknown>;
6952
6952
  }>, "many">>;
6953
6953
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -7050,7 +7050,7 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
7050
7050
  rule: "relative_to_appointment";
7051
7051
  offset_minutes: number;
7052
7052
  };
7053
- 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" | "telemedicine_join_reminder";
7053
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
7054
7054
  payload?: Record<string, unknown> | undefined;
7055
7055
  retry?: z.objectInputType<{
7056
7056
  max_attempts: z.ZodNumber;
@@ -7133,16 +7133,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
7133
7133
  priority?: "low" | "medium" | "high" | undefined;
7134
7134
  }>>;
7135
7135
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
7136
- 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"]>;
7136
+ 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"]>;
7137
7137
  kind: z.ZodString;
7138
7138
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7139
7139
  }, "strip", z.ZodTypeAny, {
7140
7140
  kind: string;
7141
- 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" | "telemedicine_join_reminder";
7141
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
7142
7142
  payload: Record<string, unknown>;
7143
7143
  }, {
7144
7144
  kind: string;
7145
- 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" | "telemedicine_join_reminder";
7145
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
7146
7146
  payload: Record<string, unknown>;
7147
7147
  }>, "many">>;
7148
7148
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -7250,7 +7250,7 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
7250
7250
  rule: "relative_to_appointment";
7251
7251
  offset_minutes: number;
7252
7252
  };
7253
- 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" | "telemedicine_join_reminder";
7253
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
7254
7254
  payload: Record<string, unknown>;
7255
7255
  retry?: z.objectOutputType<{
7256
7256
  max_attempts: z.ZodNumber;
@@ -7333,16 +7333,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
7333
7333
  priority?: "low" | "medium" | "high" | undefined;
7334
7334
  }>>;
7335
7335
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
7336
- 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"]>;
7336
+ 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"]>;
7337
7337
  kind: z.ZodString;
7338
7338
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7339
7339
  }, "strip", z.ZodTypeAny, {
7340
7340
  kind: string;
7341
- 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" | "telemedicine_join_reminder";
7341
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
7342
7342
  payload: Record<string, unknown>;
7343
7343
  }, {
7344
7344
  kind: string;
7345
- 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" | "telemedicine_join_reminder";
7345
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
7346
7346
  payload: Record<string, unknown>;
7347
7347
  }>, "many">>;
7348
7348
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -7448,7 +7448,7 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
7448
7448
  rule: "relative_to_appointment";
7449
7449
  offset_minutes: number;
7450
7450
  };
7451
- 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" | "telemedicine_join_reminder";
7451
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
7452
7452
  payload?: Record<string, unknown> | undefined;
7453
7453
  retry?: z.objectInputType<{
7454
7454
  max_attempts: z.ZodNumber;
@@ -7531,16 +7531,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
7531
7531
  priority?: "low" | "medium" | "high" | undefined;
7532
7532
  }>>;
7533
7533
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
7534
- 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"]>;
7534
+ 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"]>;
7535
7535
  kind: z.ZodString;
7536
7536
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7537
7537
  }, "strip", z.ZodTypeAny, {
7538
7538
  kind: string;
7539
- 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" | "telemedicine_join_reminder";
7539
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
7540
7540
  payload: Record<string, unknown>;
7541
7541
  }, {
7542
7542
  kind: string;
7543
- 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" | "telemedicine_join_reminder";
7543
+ 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" | "telemedicine_join_reminder" | "appointment_invoice";
7544
7544
  payload: Record<string, unknown>;
7545
7545
  }>, "many">>;
7546
7546
  }, z.ZodTypeAny, "passthrough"> | undefined;