evo360-types 1.3.414 → 1.3.415

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.
@@ -294,7 +294,7 @@ export declare const zAutomationExecuteAtSchema: z.ZodDiscriminatedUnion<"rule",
294
294
  }>]>;
295
295
  export declare const zAutomationAutoTaskOutputSchema: z.ZodObject<{
296
296
  type: z.ZodLiteral<"auto_task">;
297
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
297
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
298
298
  kind: z.ZodString;
299
299
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
300
300
  execute_at: z.ZodDiscriminatedUnion<"rule", [z.ZodObject<{
@@ -450,16 +450,16 @@ export declare const zAutomationAutoTaskOutputSchema: z.ZodObject<{
450
450
  priority?: "low" | "medium" | "high" | undefined;
451
451
  }>>;
452
452
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
453
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
453
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
454
454
  kind: z.ZodString;
455
455
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
456
456
  }, "strip", z.ZodTypeAny, {
457
457
  kind: string;
458
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
458
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
459
459
  payload: Record<string, unknown>;
460
460
  }, {
461
461
  kind: string;
462
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
462
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
463
463
  payload: Record<string, unknown>;
464
464
  }>, "many">>;
465
465
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -520,16 +520,16 @@ export declare const zAutomationAutoTaskOutputSchema: z.ZodObject<{
520
520
  priority?: "low" | "medium" | "high" | undefined;
521
521
  }>>;
522
522
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
523
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
523
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
524
524
  kind: z.ZodString;
525
525
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
526
526
  }, "strip", z.ZodTypeAny, {
527
527
  kind: string;
528
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
528
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
529
529
  payload: Record<string, unknown>;
530
530
  }, {
531
531
  kind: string;
532
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
532
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
533
533
  payload: Record<string, unknown>;
534
534
  }>, "many">>;
535
535
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -590,16 +590,16 @@ export declare const zAutomationAutoTaskOutputSchema: z.ZodObject<{
590
590
  priority?: "low" | "medium" | "high" | undefined;
591
591
  }>>;
592
592
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
593
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
593
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
594
594
  kind: z.ZodString;
595
595
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
596
596
  }, "strip", z.ZodTypeAny, {
597
597
  kind: string;
598
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
598
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
599
599
  payload: Record<string, unknown>;
600
600
  }, {
601
601
  kind: string;
602
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
602
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
603
603
  payload: Record<string, unknown>;
604
604
  }>, "many">>;
605
605
  }, z.ZodTypeAny, "passthrough">>>;
@@ -616,7 +616,7 @@ export declare const zAutomationAutoTaskOutputSchema: z.ZodObject<{
616
616
  rule: "relative_to_appointment";
617
617
  offset_minutes: number;
618
618
  };
619
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
619
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
620
620
  payload: Record<string, unknown>;
621
621
  retry?: z.objectOutputType<{
622
622
  max_attempts: z.ZodNumber;
@@ -699,16 +699,16 @@ export declare const zAutomationAutoTaskOutputSchema: z.ZodObject<{
699
699
  priority?: "low" | "medium" | "high" | undefined;
700
700
  }>>;
701
701
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
702
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
702
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
703
703
  kind: z.ZodString;
704
704
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
705
705
  }, "strip", z.ZodTypeAny, {
706
706
  kind: string;
707
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
707
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
708
708
  payload: Record<string, unknown>;
709
709
  }, {
710
710
  kind: string;
711
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
711
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
712
712
  payload: Record<string, unknown>;
713
713
  }>, "many">>;
714
714
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -725,7 +725,7 @@ export declare const zAutomationAutoTaskOutputSchema: z.ZodObject<{
725
725
  rule: "relative_to_appointment";
726
726
  offset_minutes: number;
727
727
  };
728
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
728
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
729
729
  payload?: Record<string, unknown> | undefined;
730
730
  retry?: z.objectInputType<{
731
731
  max_attempts: z.ZodNumber;
@@ -808,16 +808,16 @@ export declare const zAutomationAutoTaskOutputSchema: z.ZodObject<{
808
808
  priority?: "low" | "medium" | "high" | undefined;
809
809
  }>>;
810
810
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
811
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
811
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
812
812
  kind: z.ZodString;
813
813
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
814
814
  }, "strip", z.ZodTypeAny, {
815
815
  kind: string;
816
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
816
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
817
817
  payload: Record<string, unknown>;
818
818
  }, {
819
819
  kind: string;
820
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
820
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
821
821
  payload: Record<string, unknown>;
822
822
  }>, "many">>;
823
823
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -840,7 +840,7 @@ export declare const zAutomationHumanTaskOutputSchema: z.ZodObject<{
840
840
  }>;
841
841
  export declare const zAutomationOutputSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
842
842
  type: z.ZodLiteral<"auto_task">;
843
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
843
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
844
844
  kind: z.ZodString;
845
845
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
846
846
  execute_at: z.ZodDiscriminatedUnion<"rule", [z.ZodObject<{
@@ -996,16 +996,16 @@ export declare const zAutomationOutputSchema: z.ZodDiscriminatedUnion<"type", [z
996
996
  priority?: "low" | "medium" | "high" | undefined;
997
997
  }>>;
998
998
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
999
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
999
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
1000
1000
  kind: z.ZodString;
1001
1001
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1002
1002
  }, "strip", z.ZodTypeAny, {
1003
1003
  kind: string;
1004
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1004
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1005
1005
  payload: Record<string, unknown>;
1006
1006
  }, {
1007
1007
  kind: string;
1008
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1008
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1009
1009
  payload: Record<string, unknown>;
1010
1010
  }>, "many">>;
1011
1011
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -1066,16 +1066,16 @@ export declare const zAutomationOutputSchema: z.ZodDiscriminatedUnion<"type", [z
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", "evo-integrations.sync-run"]>;
1069
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
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" | "evo-integrations.sync-run";
1074
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
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" | "evo-integrations.sync-run";
1078
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1079
1079
  payload: Record<string, unknown>;
1080
1080
  }>, "many">>;
1081
1081
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -1136,16 +1136,16 @@ export declare const zAutomationOutputSchema: z.ZodDiscriminatedUnion<"type", [z
1136
1136
  priority?: "low" | "medium" | "high" | undefined;
1137
1137
  }>>;
1138
1138
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1139
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
1139
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
1140
1140
  kind: z.ZodString;
1141
1141
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1142
1142
  }, "strip", z.ZodTypeAny, {
1143
1143
  kind: string;
1144
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1144
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1145
1145
  payload: Record<string, unknown>;
1146
1146
  }, {
1147
1147
  kind: string;
1148
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1148
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1149
1149
  payload: Record<string, unknown>;
1150
1150
  }>, "many">>;
1151
1151
  }, z.ZodTypeAny, "passthrough">>>;
@@ -1162,7 +1162,7 @@ export declare const zAutomationOutputSchema: z.ZodDiscriminatedUnion<"type", [z
1162
1162
  rule: "relative_to_appointment";
1163
1163
  offset_minutes: number;
1164
1164
  };
1165
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1165
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1166
1166
  payload: Record<string, unknown>;
1167
1167
  retry?: z.objectOutputType<{
1168
1168
  max_attempts: z.ZodNumber;
@@ -1245,16 +1245,16 @@ export declare const zAutomationOutputSchema: z.ZodDiscriminatedUnion<"type", [z
1245
1245
  priority?: "low" | "medium" | "high" | undefined;
1246
1246
  }>>;
1247
1247
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1248
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
1248
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
1249
1249
  kind: z.ZodString;
1250
1250
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1251
1251
  }, "strip", z.ZodTypeAny, {
1252
1252
  kind: string;
1253
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1253
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1254
1254
  payload: Record<string, unknown>;
1255
1255
  }, {
1256
1256
  kind: string;
1257
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1257
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1258
1258
  payload: Record<string, unknown>;
1259
1259
  }>, "many">>;
1260
1260
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -1271,7 +1271,7 @@ export declare const zAutomationOutputSchema: z.ZodDiscriminatedUnion<"type", [z
1271
1271
  rule: "relative_to_appointment";
1272
1272
  offset_minutes: number;
1273
1273
  };
1274
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1274
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1275
1275
  payload?: Record<string, unknown> | undefined;
1276
1276
  retry?: z.objectInputType<{
1277
1277
  max_attempts: z.ZodNumber;
@@ -1354,16 +1354,16 @@ export declare const zAutomationOutputSchema: z.ZodDiscriminatedUnion<"type", [z
1354
1354
  priority?: "low" | "medium" | "high" | undefined;
1355
1355
  }>>;
1356
1356
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1357
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
1357
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
1358
1358
  kind: z.ZodString;
1359
1359
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1360
1360
  }, "strip", z.ZodTypeAny, {
1361
1361
  kind: string;
1362
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1362
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1363
1363
  payload: Record<string, unknown>;
1364
1364
  }, {
1365
1365
  kind: string;
1366
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1366
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1367
1367
  payload: Record<string, unknown>;
1368
1368
  }>, "many">>;
1369
1369
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -1390,7 +1390,7 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
1390
1390
  is_fallback: z.ZodOptional<z.ZodBoolean>;
1391
1391
  outputs: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1392
1392
  type: z.ZodLiteral<"auto_task">;
1393
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
1393
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
1394
1394
  kind: z.ZodString;
1395
1395
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1396
1396
  execute_at: z.ZodDiscriminatedUnion<"rule", [z.ZodObject<{
@@ -1546,16 +1546,16 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
1546
1546
  priority?: "low" | "medium" | "high" | undefined;
1547
1547
  }>>;
1548
1548
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1549
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
1549
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
1550
1550
  kind: z.ZodString;
1551
1551
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1552
1552
  }, "strip", z.ZodTypeAny, {
1553
1553
  kind: string;
1554
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1554
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1555
1555
  payload: Record<string, unknown>;
1556
1556
  }, {
1557
1557
  kind: string;
1558
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1558
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1559
1559
  payload: Record<string, unknown>;
1560
1560
  }>, "many">>;
1561
1561
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -1616,16 +1616,16 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
1616
1616
  priority?: "low" | "medium" | "high" | undefined;
1617
1617
  }>>;
1618
1618
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1619
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
1619
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
1620
1620
  kind: z.ZodString;
1621
1621
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1622
1622
  }, "strip", z.ZodTypeAny, {
1623
1623
  kind: string;
1624
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1624
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1625
1625
  payload: Record<string, unknown>;
1626
1626
  }, {
1627
1627
  kind: string;
1628
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1628
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1629
1629
  payload: Record<string, unknown>;
1630
1630
  }>, "many">>;
1631
1631
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -1686,16 +1686,16 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
1686
1686
  priority?: "low" | "medium" | "high" | undefined;
1687
1687
  }>>;
1688
1688
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1689
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
1689
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
1690
1690
  kind: z.ZodString;
1691
1691
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1692
1692
  }, "strip", z.ZodTypeAny, {
1693
1693
  kind: string;
1694
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1694
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1695
1695
  payload: Record<string, unknown>;
1696
1696
  }, {
1697
1697
  kind: string;
1698
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1698
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1699
1699
  payload: Record<string, unknown>;
1700
1700
  }>, "many">>;
1701
1701
  }, z.ZodTypeAny, "passthrough">>>;
@@ -1712,7 +1712,7 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
1712
1712
  rule: "relative_to_appointment";
1713
1713
  offset_minutes: number;
1714
1714
  };
1715
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1715
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1716
1716
  payload: Record<string, unknown>;
1717
1717
  retry?: z.objectOutputType<{
1718
1718
  max_attempts: z.ZodNumber;
@@ -1795,16 +1795,16 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
1795
1795
  priority?: "low" | "medium" | "high" | undefined;
1796
1796
  }>>;
1797
1797
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1798
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
1798
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
1799
1799
  kind: z.ZodString;
1800
1800
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1801
1801
  }, "strip", z.ZodTypeAny, {
1802
1802
  kind: string;
1803
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1803
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1804
1804
  payload: Record<string, unknown>;
1805
1805
  }, {
1806
1806
  kind: string;
1807
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1807
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1808
1808
  payload: Record<string, unknown>;
1809
1809
  }>, "many">>;
1810
1810
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -1821,7 +1821,7 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
1821
1821
  rule: "relative_to_appointment";
1822
1822
  offset_minutes: number;
1823
1823
  };
1824
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1824
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1825
1825
  payload?: Record<string, unknown> | undefined;
1826
1826
  retry?: z.objectInputType<{
1827
1827
  max_attempts: z.ZodNumber;
@@ -1904,16 +1904,16 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
1904
1904
  priority?: "low" | "medium" | "high" | undefined;
1905
1905
  }>>;
1906
1906
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1907
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
1907
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
1908
1908
  kind: z.ZodString;
1909
1909
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1910
1910
  }, "strip", z.ZodTypeAny, {
1911
1911
  kind: string;
1912
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1912
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1913
1913
  payload: Record<string, unknown>;
1914
1914
  }, {
1915
1915
  kind: string;
1916
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1916
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1917
1917
  payload: Record<string, unknown>;
1918
1918
  }>, "many">>;
1919
1919
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -1949,7 +1949,7 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
1949
1949
  rule: "relative_to_appointment";
1950
1950
  offset_minutes: number;
1951
1951
  };
1952
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
1952
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
1953
1953
  payload: Record<string, unknown>;
1954
1954
  retry?: z.objectOutputType<{
1955
1955
  max_attempts: z.ZodNumber;
@@ -2032,16 +2032,16 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
2032
2032
  priority?: "low" | "medium" | "high" | undefined;
2033
2033
  }>>;
2034
2034
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2035
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
2035
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
2036
2036
  kind: z.ZodString;
2037
2037
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2038
2038
  }, "strip", z.ZodTypeAny, {
2039
2039
  kind: string;
2040
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2040
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2041
2041
  payload: Record<string, unknown>;
2042
2042
  }, {
2043
2043
  kind: string;
2044
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2044
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2045
2045
  payload: Record<string, unknown>;
2046
2046
  }>, "many">>;
2047
2047
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -2069,7 +2069,7 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
2069
2069
  rule: "relative_to_appointment";
2070
2070
  offset_minutes: number;
2071
2071
  };
2072
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2072
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2073
2073
  payload?: Record<string, unknown> | undefined;
2074
2074
  retry?: z.objectInputType<{
2075
2075
  max_attempts: z.ZodNumber;
@@ -2152,16 +2152,16 @@ export declare const zAutomationBranchSchema: z.ZodObject<{
2152
2152
  priority?: "low" | "medium" | "high" | undefined;
2153
2153
  }>>;
2154
2154
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2155
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
2155
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
2156
2156
  kind: z.ZodString;
2157
2157
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2158
2158
  }, "strip", z.ZodTypeAny, {
2159
2159
  kind: string;
2160
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2160
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2161
2161
  payload: Record<string, unknown>;
2162
2162
  }, {
2163
2163
  kind: string;
2164
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2164
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2165
2165
  payload: Record<string, unknown>;
2166
2166
  }>, "many">>;
2167
2167
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -2306,7 +2306,7 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
2306
2306
  is_fallback: z.ZodOptional<z.ZodBoolean>;
2307
2307
  outputs: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2308
2308
  type: z.ZodLiteral<"auto_task">;
2309
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
2309
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
2310
2310
  kind: z.ZodString;
2311
2311
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2312
2312
  execute_at: z.ZodDiscriminatedUnion<"rule", [z.ZodObject<{
@@ -2462,16 +2462,16 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
2462
2462
  priority?: "low" | "medium" | "high" | undefined;
2463
2463
  }>>;
2464
2464
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2465
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
2465
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
2466
2466
  kind: z.ZodString;
2467
2467
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2468
2468
  }, "strip", z.ZodTypeAny, {
2469
2469
  kind: string;
2470
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2470
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2471
2471
  payload: Record<string, unknown>;
2472
2472
  }, {
2473
2473
  kind: string;
2474
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2474
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2475
2475
  payload: Record<string, unknown>;
2476
2476
  }>, "many">>;
2477
2477
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -2532,16 +2532,16 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
2532
2532
  priority?: "low" | "medium" | "high" | undefined;
2533
2533
  }>>;
2534
2534
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2535
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
2535
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
2536
2536
  kind: z.ZodString;
2537
2537
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2538
2538
  }, "strip", z.ZodTypeAny, {
2539
2539
  kind: string;
2540
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2540
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2541
2541
  payload: Record<string, unknown>;
2542
2542
  }, {
2543
2543
  kind: string;
2544
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2544
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2545
2545
  payload: Record<string, unknown>;
2546
2546
  }>, "many">>;
2547
2547
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -2602,16 +2602,16 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
2602
2602
  priority?: "low" | "medium" | "high" | undefined;
2603
2603
  }>>;
2604
2604
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2605
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
2605
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
2606
2606
  kind: z.ZodString;
2607
2607
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2608
2608
  }, "strip", z.ZodTypeAny, {
2609
2609
  kind: string;
2610
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2610
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2611
2611
  payload: Record<string, unknown>;
2612
2612
  }, {
2613
2613
  kind: string;
2614
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2614
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2615
2615
  payload: Record<string, unknown>;
2616
2616
  }>, "many">>;
2617
2617
  }, z.ZodTypeAny, "passthrough">>>;
@@ -2628,7 +2628,7 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
2628
2628
  rule: "relative_to_appointment";
2629
2629
  offset_minutes: number;
2630
2630
  };
2631
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2631
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2632
2632
  payload: Record<string, unknown>;
2633
2633
  retry?: z.objectOutputType<{
2634
2634
  max_attempts: z.ZodNumber;
@@ -2711,16 +2711,16 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
2711
2711
  priority?: "low" | "medium" | "high" | undefined;
2712
2712
  }>>;
2713
2713
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2714
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
2714
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
2715
2715
  kind: z.ZodString;
2716
2716
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2717
2717
  }, "strip", z.ZodTypeAny, {
2718
2718
  kind: string;
2719
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2719
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2720
2720
  payload: Record<string, unknown>;
2721
2721
  }, {
2722
2722
  kind: string;
2723
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2723
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2724
2724
  payload: Record<string, unknown>;
2725
2725
  }>, "many">>;
2726
2726
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -2737,7 +2737,7 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
2737
2737
  rule: "relative_to_appointment";
2738
2738
  offset_minutes: number;
2739
2739
  };
2740
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2740
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2741
2741
  payload?: Record<string, unknown> | undefined;
2742
2742
  retry?: z.objectInputType<{
2743
2743
  max_attempts: z.ZodNumber;
@@ -2820,16 +2820,16 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
2820
2820
  priority?: "low" | "medium" | "high" | undefined;
2821
2821
  }>>;
2822
2822
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2823
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
2823
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
2824
2824
  kind: z.ZodString;
2825
2825
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2826
2826
  }, "strip", z.ZodTypeAny, {
2827
2827
  kind: string;
2828
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2828
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2829
2829
  payload: Record<string, unknown>;
2830
2830
  }, {
2831
2831
  kind: string;
2832
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2832
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2833
2833
  payload: Record<string, unknown>;
2834
2834
  }>, "many">>;
2835
2835
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -2865,7 +2865,7 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
2865
2865
  rule: "relative_to_appointment";
2866
2866
  offset_minutes: number;
2867
2867
  };
2868
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2868
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2869
2869
  payload: Record<string, unknown>;
2870
2870
  retry?: z.objectOutputType<{
2871
2871
  max_attempts: z.ZodNumber;
@@ -2948,16 +2948,16 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
2948
2948
  priority?: "low" | "medium" | "high" | undefined;
2949
2949
  }>>;
2950
2950
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2951
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
2951
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
2952
2952
  kind: z.ZodString;
2953
2953
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2954
2954
  }, "strip", z.ZodTypeAny, {
2955
2955
  kind: string;
2956
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2956
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2957
2957
  payload: Record<string, unknown>;
2958
2958
  }, {
2959
2959
  kind: string;
2960
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2960
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2961
2961
  payload: Record<string, unknown>;
2962
2962
  }>, "many">>;
2963
2963
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -2985,7 +2985,7 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
2985
2985
  rule: "relative_to_appointment";
2986
2986
  offset_minutes: number;
2987
2987
  };
2988
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
2988
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
2989
2989
  payload?: Record<string, unknown> | undefined;
2990
2990
  retry?: z.objectInputType<{
2991
2991
  max_attempts: z.ZodNumber;
@@ -3068,16 +3068,16 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3068
3068
  priority?: "low" | "medium" | "high" | undefined;
3069
3069
  }>>;
3070
3070
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3071
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
3071
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
3072
3072
  kind: z.ZodString;
3073
3073
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3074
3074
  }, "strip", z.ZodTypeAny, {
3075
3075
  kind: string;
3076
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
3076
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
3077
3077
  payload: Record<string, unknown>;
3078
3078
  }, {
3079
3079
  kind: string;
3080
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
3080
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
3081
3081
  payload: Record<string, unknown>;
3082
3082
  }>, "many">>;
3083
3083
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -3183,7 +3183,7 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3183
3183
  rule: "relative_to_appointment";
3184
3184
  offset_minutes: number;
3185
3185
  };
3186
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
3186
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
3187
3187
  payload: Record<string, unknown>;
3188
3188
  retry?: z.objectOutputType<{
3189
3189
  max_attempts: z.ZodNumber;
@@ -3266,16 +3266,16 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3266
3266
  priority?: "low" | "medium" | "high" | undefined;
3267
3267
  }>>;
3268
3268
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3269
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
3269
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
3270
3270
  kind: z.ZodString;
3271
3271
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3272
3272
  }, "strip", z.ZodTypeAny, {
3273
3273
  kind: string;
3274
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
3274
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
3275
3275
  payload: Record<string, unknown>;
3276
3276
  }, {
3277
3277
  kind: string;
3278
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
3278
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
3279
3279
  payload: Record<string, unknown>;
3280
3280
  }>, "many">>;
3281
3281
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -3354,7 +3354,7 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3354
3354
  rule: "relative_to_appointment";
3355
3355
  offset_minutes: number;
3356
3356
  };
3357
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
3357
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
3358
3358
  payload?: Record<string, unknown> | undefined;
3359
3359
  retry?: z.objectInputType<{
3360
3360
  max_attempts: z.ZodNumber;
@@ -3437,16 +3437,16 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3437
3437
  priority?: "low" | "medium" | "high" | undefined;
3438
3438
  }>>;
3439
3439
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3440
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
3440
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
3441
3441
  kind: z.ZodString;
3442
3442
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3443
3443
  }, "strip", z.ZodTypeAny, {
3444
3444
  kind: string;
3445
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
3445
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
3446
3446
  payload: Record<string, unknown>;
3447
3447
  }, {
3448
3448
  kind: string;
3449
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
3449
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
3450
3450
  payload: Record<string, unknown>;
3451
3451
  }>, "many">>;
3452
3452
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -3609,7 +3609,7 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
3609
3609
  is_fallback: z.ZodOptional<z.ZodBoolean>;
3610
3610
  outputs: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3611
3611
  type: z.ZodLiteral<"auto_task">;
3612
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
3612
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
3613
3613
  kind: z.ZodString;
3614
3614
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3615
3615
  execute_at: z.ZodDiscriminatedUnion<"rule", [z.ZodObject<{
@@ -3765,16 +3765,16 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
3765
3765
  priority?: "low" | "medium" | "high" | undefined;
3766
3766
  }>>;
3767
3767
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3768
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
3768
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
3769
3769
  kind: z.ZodString;
3770
3770
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3771
3771
  }, "strip", z.ZodTypeAny, {
3772
3772
  kind: string;
3773
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
3773
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
3774
3774
  payload: Record<string, unknown>;
3775
3775
  }, {
3776
3776
  kind: string;
3777
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
3777
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
3778
3778
  payload: Record<string, unknown>;
3779
3779
  }>, "many">>;
3780
3780
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -3835,16 +3835,16 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
3835
3835
  priority?: "low" | "medium" | "high" | undefined;
3836
3836
  }>>;
3837
3837
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3838
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
3838
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
3839
3839
  kind: z.ZodString;
3840
3840
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3841
3841
  }, "strip", z.ZodTypeAny, {
3842
3842
  kind: string;
3843
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
3843
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
3844
3844
  payload: Record<string, unknown>;
3845
3845
  }, {
3846
3846
  kind: string;
3847
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
3847
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
3848
3848
  payload: Record<string, unknown>;
3849
3849
  }>, "many">>;
3850
3850
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -3905,16 +3905,16 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
3905
3905
  priority?: "low" | "medium" | "high" | undefined;
3906
3906
  }>>;
3907
3907
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3908
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
3908
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
3909
3909
  kind: z.ZodString;
3910
3910
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3911
3911
  }, "strip", z.ZodTypeAny, {
3912
3912
  kind: string;
3913
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
3913
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
3914
3914
  payload: Record<string, unknown>;
3915
3915
  }, {
3916
3916
  kind: string;
3917
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
3917
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
3918
3918
  payload: Record<string, unknown>;
3919
3919
  }>, "many">>;
3920
3920
  }, z.ZodTypeAny, "passthrough">>>;
@@ -3931,7 +3931,7 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
3931
3931
  rule: "relative_to_appointment";
3932
3932
  offset_minutes: number;
3933
3933
  };
3934
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
3934
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
3935
3935
  payload: Record<string, unknown>;
3936
3936
  retry?: z.objectOutputType<{
3937
3937
  max_attempts: z.ZodNumber;
@@ -4014,16 +4014,16 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4014
4014
  priority?: "low" | "medium" | "high" | undefined;
4015
4015
  }>>;
4016
4016
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4017
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
4017
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
4018
4018
  kind: z.ZodString;
4019
4019
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4020
4020
  }, "strip", z.ZodTypeAny, {
4021
4021
  kind: string;
4022
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
4022
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
4023
4023
  payload: Record<string, unknown>;
4024
4024
  }, {
4025
4025
  kind: string;
4026
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
4026
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
4027
4027
  payload: Record<string, unknown>;
4028
4028
  }>, "many">>;
4029
4029
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -4040,7 +4040,7 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4040
4040
  rule: "relative_to_appointment";
4041
4041
  offset_minutes: number;
4042
4042
  };
4043
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
4043
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
4044
4044
  payload?: Record<string, unknown> | undefined;
4045
4045
  retry?: z.objectInputType<{
4046
4046
  max_attempts: z.ZodNumber;
@@ -4123,16 +4123,16 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4123
4123
  priority?: "low" | "medium" | "high" | undefined;
4124
4124
  }>>;
4125
4125
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4126
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
4126
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
4127
4127
  kind: z.ZodString;
4128
4128
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4129
4129
  }, "strip", z.ZodTypeAny, {
4130
4130
  kind: string;
4131
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
4131
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
4132
4132
  payload: Record<string, unknown>;
4133
4133
  }, {
4134
4134
  kind: string;
4135
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
4135
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
4136
4136
  payload: Record<string, unknown>;
4137
4137
  }>, "many">>;
4138
4138
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -4168,7 +4168,7 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4168
4168
  rule: "relative_to_appointment";
4169
4169
  offset_minutes: number;
4170
4170
  };
4171
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
4171
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
4172
4172
  payload: Record<string, unknown>;
4173
4173
  retry?: z.objectOutputType<{
4174
4174
  max_attempts: z.ZodNumber;
@@ -4251,16 +4251,16 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4251
4251
  priority?: "low" | "medium" | "high" | undefined;
4252
4252
  }>>;
4253
4253
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4254
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
4254
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
4255
4255
  kind: z.ZodString;
4256
4256
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4257
4257
  }, "strip", z.ZodTypeAny, {
4258
4258
  kind: string;
4259
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
4259
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
4260
4260
  payload: Record<string, unknown>;
4261
4261
  }, {
4262
4262
  kind: string;
4263
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
4263
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
4264
4264
  payload: Record<string, unknown>;
4265
4265
  }>, "many">>;
4266
4266
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -4288,7 +4288,7 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4288
4288
  rule: "relative_to_appointment";
4289
4289
  offset_minutes: number;
4290
4290
  };
4291
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
4291
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
4292
4292
  payload?: Record<string, unknown> | undefined;
4293
4293
  retry?: z.objectInputType<{
4294
4294
  max_attempts: z.ZodNumber;
@@ -4371,16 +4371,16 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4371
4371
  priority?: "low" | "medium" | "high" | undefined;
4372
4372
  }>>;
4373
4373
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4374
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
4374
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
4375
4375
  kind: z.ZodString;
4376
4376
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4377
4377
  }, "strip", z.ZodTypeAny, {
4378
4378
  kind: string;
4379
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
4379
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
4380
4380
  payload: Record<string, unknown>;
4381
4381
  }, {
4382
4382
  kind: string;
4383
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
4383
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
4384
4384
  payload: Record<string, unknown>;
4385
4385
  }>, "many">>;
4386
4386
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -4448,7 +4448,7 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4448
4448
  rule: "relative_to_appointment";
4449
4449
  offset_minutes: number;
4450
4450
  };
4451
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
4451
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
4452
4452
  payload: Record<string, unknown>;
4453
4453
  retry?: z.objectOutputType<{
4454
4454
  max_attempts: z.ZodNumber;
@@ -4531,16 +4531,16 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4531
4531
  priority?: "low" | "medium" | "high" | undefined;
4532
4532
  }>>;
4533
4533
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4534
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
4534
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
4535
4535
  kind: z.ZodString;
4536
4536
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4537
4537
  }, "strip", z.ZodTypeAny, {
4538
4538
  kind: string;
4539
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
4539
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
4540
4540
  payload: Record<string, unknown>;
4541
4541
  }, {
4542
4542
  kind: string;
4543
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
4543
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
4544
4544
  payload: Record<string, unknown>;
4545
4545
  }>, "many">>;
4546
4546
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -4604,7 +4604,7 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4604
4604
  rule: "relative_to_appointment";
4605
4605
  offset_minutes: number;
4606
4606
  };
4607
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
4607
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
4608
4608
  payload?: Record<string, unknown> | undefined;
4609
4609
  retry?: z.objectInputType<{
4610
4610
  max_attempts: z.ZodNumber;
@@ -4687,16 +4687,16 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4687
4687
  priority?: "low" | "medium" | "high" | undefined;
4688
4688
  }>>;
4689
4689
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4690
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
4690
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
4691
4691
  kind: z.ZodString;
4692
4692
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4693
4693
  }, "strip", z.ZodTypeAny, {
4694
4694
  kind: string;
4695
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
4695
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
4696
4696
  payload: Record<string, unknown>;
4697
4697
  }, {
4698
4698
  kind: string;
4699
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
4699
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
4700
4700
  payload: Record<string, unknown>;
4701
4701
  }>, "many">>;
4702
4702
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -4846,7 +4846,7 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
4846
4846
  is_fallback: z.ZodOptional<z.ZodBoolean>;
4847
4847
  outputs: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4848
4848
  type: z.ZodLiteral<"auto_task">;
4849
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
4849
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
4850
4850
  kind: z.ZodString;
4851
4851
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4852
4852
  execute_at: z.ZodDiscriminatedUnion<"rule", [z.ZodObject<{
@@ -5002,16 +5002,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
5002
5002
  priority?: "low" | "medium" | "high" | undefined;
5003
5003
  }>>;
5004
5004
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
5005
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
5005
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
5006
5006
  kind: z.ZodString;
5007
5007
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5008
5008
  }, "strip", z.ZodTypeAny, {
5009
5009
  kind: string;
5010
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5010
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5011
5011
  payload: Record<string, unknown>;
5012
5012
  }, {
5013
5013
  kind: string;
5014
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5014
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5015
5015
  payload: Record<string, unknown>;
5016
5016
  }>, "many">>;
5017
5017
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -5072,16 +5072,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
5072
5072
  priority?: "low" | "medium" | "high" | undefined;
5073
5073
  }>>;
5074
5074
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
5075
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
5075
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
5076
5076
  kind: z.ZodString;
5077
5077
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5078
5078
  }, "strip", z.ZodTypeAny, {
5079
5079
  kind: string;
5080
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5080
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5081
5081
  payload: Record<string, unknown>;
5082
5082
  }, {
5083
5083
  kind: string;
5084
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5084
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5085
5085
  payload: Record<string, unknown>;
5086
5086
  }>, "many">>;
5087
5087
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -5142,16 +5142,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
5142
5142
  priority?: "low" | "medium" | "high" | undefined;
5143
5143
  }>>;
5144
5144
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
5145
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
5145
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
5146
5146
  kind: z.ZodString;
5147
5147
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5148
5148
  }, "strip", z.ZodTypeAny, {
5149
5149
  kind: string;
5150
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5150
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5151
5151
  payload: Record<string, unknown>;
5152
5152
  }, {
5153
5153
  kind: string;
5154
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5154
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5155
5155
  payload: Record<string, unknown>;
5156
5156
  }>, "many">>;
5157
5157
  }, z.ZodTypeAny, "passthrough">>>;
@@ -5168,7 +5168,7 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
5168
5168
  rule: "relative_to_appointment";
5169
5169
  offset_minutes: number;
5170
5170
  };
5171
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5171
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5172
5172
  payload: Record<string, unknown>;
5173
5173
  retry?: z.objectOutputType<{
5174
5174
  max_attempts: z.ZodNumber;
@@ -5251,16 +5251,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
5251
5251
  priority?: "low" | "medium" | "high" | undefined;
5252
5252
  }>>;
5253
5253
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
5254
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
5254
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
5255
5255
  kind: z.ZodString;
5256
5256
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5257
5257
  }, "strip", z.ZodTypeAny, {
5258
5258
  kind: string;
5259
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5259
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5260
5260
  payload: Record<string, unknown>;
5261
5261
  }, {
5262
5262
  kind: string;
5263
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5263
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5264
5264
  payload: Record<string, unknown>;
5265
5265
  }>, "many">>;
5266
5266
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -5277,7 +5277,7 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
5277
5277
  rule: "relative_to_appointment";
5278
5278
  offset_minutes: number;
5279
5279
  };
5280
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5280
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5281
5281
  payload?: Record<string, unknown> | undefined;
5282
5282
  retry?: z.objectInputType<{
5283
5283
  max_attempts: z.ZodNumber;
@@ -5360,16 +5360,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
5360
5360
  priority?: "low" | "medium" | "high" | undefined;
5361
5361
  }>>;
5362
5362
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
5363
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
5363
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
5364
5364
  kind: z.ZodString;
5365
5365
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5366
5366
  }, "strip", z.ZodTypeAny, {
5367
5367
  kind: string;
5368
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5368
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5369
5369
  payload: Record<string, unknown>;
5370
5370
  }, {
5371
5371
  kind: string;
5372
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5372
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5373
5373
  payload: Record<string, unknown>;
5374
5374
  }>, "many">>;
5375
5375
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -5405,7 +5405,7 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
5405
5405
  rule: "relative_to_appointment";
5406
5406
  offset_minutes: number;
5407
5407
  };
5408
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5408
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5409
5409
  payload: Record<string, unknown>;
5410
5410
  retry?: z.objectOutputType<{
5411
5411
  max_attempts: z.ZodNumber;
@@ -5488,16 +5488,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
5488
5488
  priority?: "low" | "medium" | "high" | undefined;
5489
5489
  }>>;
5490
5490
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
5491
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
5491
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
5492
5492
  kind: z.ZodString;
5493
5493
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5494
5494
  }, "strip", z.ZodTypeAny, {
5495
5495
  kind: string;
5496
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5496
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5497
5497
  payload: Record<string, unknown>;
5498
5498
  }, {
5499
5499
  kind: string;
5500
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5500
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5501
5501
  payload: Record<string, unknown>;
5502
5502
  }>, "many">>;
5503
5503
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -5525,7 +5525,7 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
5525
5525
  rule: "relative_to_appointment";
5526
5526
  offset_minutes: number;
5527
5527
  };
5528
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5528
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5529
5529
  payload?: Record<string, unknown> | undefined;
5530
5530
  retry?: z.objectInputType<{
5531
5531
  max_attempts: z.ZodNumber;
@@ -5608,16 +5608,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
5608
5608
  priority?: "low" | "medium" | "high" | undefined;
5609
5609
  }>>;
5610
5610
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
5611
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
5611
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
5612
5612
  kind: z.ZodString;
5613
5613
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5614
5614
  }, "strip", z.ZodTypeAny, {
5615
5615
  kind: string;
5616
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5616
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5617
5617
  payload: Record<string, unknown>;
5618
5618
  }, {
5619
5619
  kind: string;
5620
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5620
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5621
5621
  payload: Record<string, unknown>;
5622
5622
  }>, "many">>;
5623
5623
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -5685,7 +5685,7 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
5685
5685
  rule: "relative_to_appointment";
5686
5686
  offset_minutes: number;
5687
5687
  };
5688
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5688
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5689
5689
  payload: Record<string, unknown>;
5690
5690
  retry?: z.objectOutputType<{
5691
5691
  max_attempts: z.ZodNumber;
@@ -5768,16 +5768,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
5768
5768
  priority?: "low" | "medium" | "high" | undefined;
5769
5769
  }>>;
5770
5770
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
5771
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
5771
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
5772
5772
  kind: z.ZodString;
5773
5773
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5774
5774
  }, "strip", z.ZodTypeAny, {
5775
5775
  kind: string;
5776
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5776
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5777
5777
  payload: Record<string, unknown>;
5778
5778
  }, {
5779
5779
  kind: string;
5780
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5780
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5781
5781
  payload: Record<string, unknown>;
5782
5782
  }>, "many">>;
5783
5783
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -5841,7 +5841,7 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
5841
5841
  rule: "relative_to_appointment";
5842
5842
  offset_minutes: number;
5843
5843
  };
5844
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5844
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5845
5845
  payload?: Record<string, unknown> | undefined;
5846
5846
  retry?: z.objectInputType<{
5847
5847
  max_attempts: z.ZodNumber;
@@ -5924,16 +5924,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
5924
5924
  priority?: "low" | "medium" | "high" | undefined;
5925
5925
  }>>;
5926
5926
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
5927
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
5927
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
5928
5928
  kind: z.ZodString;
5929
5929
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5930
5930
  }, "strip", z.ZodTypeAny, {
5931
5931
  kind: string;
5932
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5932
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5933
5933
  payload: Record<string, unknown>;
5934
5934
  }, {
5935
5935
  kind: string;
5936
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
5936
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
5937
5937
  payload: Record<string, unknown>;
5938
5938
  }>, "many">>;
5939
5939
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -6002,7 +6002,7 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6002
6002
  rule: "relative_to_appointment";
6003
6003
  offset_minutes: number;
6004
6004
  };
6005
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
6005
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
6006
6006
  payload: Record<string, unknown>;
6007
6007
  retry?: z.objectOutputType<{
6008
6008
  max_attempts: z.ZodNumber;
@@ -6085,16 +6085,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6085
6085
  priority?: "low" | "medium" | "high" | undefined;
6086
6086
  }>>;
6087
6087
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
6088
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
6088
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
6089
6089
  kind: z.ZodString;
6090
6090
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6091
6091
  }, "strip", z.ZodTypeAny, {
6092
6092
  kind: string;
6093
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
6093
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
6094
6094
  payload: Record<string, unknown>;
6095
6095
  }, {
6096
6096
  kind: string;
6097
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
6097
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
6098
6098
  payload: Record<string, unknown>;
6099
6099
  }>, "many">>;
6100
6100
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -6161,7 +6161,7 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6161
6161
  rule: "relative_to_appointment";
6162
6162
  offset_minutes: number;
6163
6163
  };
6164
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
6164
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
6165
6165
  payload?: Record<string, unknown> | undefined;
6166
6166
  retry?: z.objectInputType<{
6167
6167
  max_attempts: z.ZodNumber;
@@ -6244,16 +6244,16 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6244
6244
  priority?: "low" | "medium" | "high" | undefined;
6245
6245
  }>>;
6246
6246
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
6247
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
6247
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
6248
6248
  kind: z.ZodString;
6249
6249
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6250
6250
  }, "strip", z.ZodTypeAny, {
6251
6251
  kind: string;
6252
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
6252
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
6253
6253
  payload: Record<string, unknown>;
6254
6254
  }, {
6255
6255
  kind: string;
6256
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
6256
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
6257
6257
  payload: Record<string, unknown>;
6258
6258
  }>, "many">>;
6259
6259
  }, z.ZodTypeAny, "passthrough"> | undefined;