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.
- package/dist/apps/evo-campaigns/zod-schemas.d.ts +15 -3
- package/dist/apps/evo-campaigns/zod-schemas.js +5 -1
- package/dist/apps/evo-campaigns/zod-schemas.ts +5 -1
- package/dist/apps/evo-task/zod-schemas.d.ts +52 -52
- package/dist/apps/evo-task/zod-schemas.js +7 -0
- package/dist/apps/evo-task/zod-schemas.ts +7 -0
- package/dist/apps/hub-automation/zod-schemas.d.ts +172 -172
- package/dist/types/evo-task/index.d.ts +2 -0
- package/dist/types/evo-task/index.js +6 -0
- package/dist/types/evo-task/index.ts +6 -0
- package/package.json +1 -1
|
@@ -17316,19 +17316,31 @@ export declare const zCsvUploadMeta: z.ZodObject<{
|
|
|
17316
17316
|
label: z.ZodString;
|
|
17317
17317
|
filename: z.ZodString;
|
|
17318
17318
|
file_base64: z.ZodString;
|
|
17319
|
-
/**
|
|
17319
|
+
/** Mapping `{ <campo reservado|nome de variavel>: <coluna do CSV> }`.
|
|
17320
|
+
* Chaves reservadas: `name`, `phone`, `email`, `external_id`; qualquer outra
|
|
17321
|
+
* chave e tratada como nome de variavel de template (valor = coluna do CSV).
|
|
17322
|
+
* Canonico do backend (`toColumnMapping` no csv-service) — o FE converte a
|
|
17323
|
+
* UI header->campo para este shape antes de enviar (fix pos-review da F1). */
|
|
17320
17324
|
mapping: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
17321
17325
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
17322
17326
|
label: z.ZodString;
|
|
17323
17327
|
filename: z.ZodString;
|
|
17324
17328
|
file_base64: z.ZodString;
|
|
17325
|
-
/**
|
|
17329
|
+
/** Mapping `{ <campo reservado|nome de variavel>: <coluna do CSV> }`.
|
|
17330
|
+
* Chaves reservadas: `name`, `phone`, `email`, `external_id`; qualquer outra
|
|
17331
|
+
* chave e tratada como nome de variavel de template (valor = coluna do CSV).
|
|
17332
|
+
* Canonico do backend (`toColumnMapping` no csv-service) — o FE converte a
|
|
17333
|
+
* UI header->campo para este shape antes de enviar (fix pos-review da F1). */
|
|
17326
17334
|
mapping: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
17327
17335
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
17328
17336
|
label: z.ZodString;
|
|
17329
17337
|
filename: z.ZodString;
|
|
17330
17338
|
file_base64: z.ZodString;
|
|
17331
|
-
/**
|
|
17339
|
+
/** Mapping `{ <campo reservado|nome de variavel>: <coluna do CSV> }`.
|
|
17340
|
+
* Chaves reservadas: `name`, `phone`, `email`, `external_id`; qualquer outra
|
|
17341
|
+
* chave e tratada como nome de variavel de template (valor = coluna do CSV).
|
|
17342
|
+
* Canonico do backend (`toColumnMapping` no csv-service) — o FE converte a
|
|
17343
|
+
* UI header->campo para este shape antes de enviar (fix pos-review da F1). */
|
|
17332
17344
|
mapping: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
17333
17345
|
}, z.ZodTypeAny, "passthrough">>;
|
|
17334
17346
|
export type ICsvUploadMeta = z.infer<typeof zCsvUploadMeta>;
|
|
@@ -331,7 +331,11 @@ exports.zCsvUploadMeta = zod_1.z
|
|
|
331
331
|
label: zod_1.z.string().min(1),
|
|
332
332
|
filename: zod_1.z.string().min(1),
|
|
333
333
|
file_base64: zod_1.z.string(),
|
|
334
|
-
/**
|
|
334
|
+
/** Mapping `{ <campo reservado|nome de variavel>: <coluna do CSV> }`.
|
|
335
|
+
* Chaves reservadas: `name`, `phone`, `email`, `external_id`; qualquer outra
|
|
336
|
+
* chave e tratada como nome de variavel de template (valor = coluna do CSV).
|
|
337
|
+
* Canonico do backend (`toColumnMapping` no csv-service) — o FE converte a
|
|
338
|
+
* UI header->campo para este shape antes de enviar (fix pos-review da F1). */
|
|
335
339
|
mapping: zod_1.z.record(zod_1.z.string()),
|
|
336
340
|
})
|
|
337
341
|
.passthrough();
|
|
@@ -361,7 +361,11 @@ export const zCsvUploadMeta = z
|
|
|
361
361
|
label: z.string().min(1),
|
|
362
362
|
filename: z.string().min(1),
|
|
363
363
|
file_base64: z.string(),
|
|
364
|
-
/**
|
|
364
|
+
/** Mapping `{ <campo reservado|nome de variavel>: <coluna do CSV> }`.
|
|
365
|
+
* Chaves reservadas: `name`, `phone`, `email`, `external_id`; qualquer outra
|
|
366
|
+
* chave e tratada como nome de variavel de template (valor = coluna do CSV).
|
|
367
|
+
* Canonico do backend (`toColumnMapping` no csv-service) — o FE converte a
|
|
368
|
+
* UI header->campo para este shape antes de enviar (fix pos-review da F1). */
|
|
365
369
|
mapping: z.record(z.string()),
|
|
366
370
|
})
|
|
367
371
|
.passthrough();
|
|
@@ -4,7 +4,7 @@ export declare const zTaskStatusSchema: z.ZodEnum<["not_started", "in_progress",
|
|
|
4
4
|
export declare const zTaskPrioritySchema: z.ZodEnum<["low", "medium", "high"]>;
|
|
5
5
|
export declare const zTaskSourceSchema: z.ZodEnum<["user", "automation_hub", "system"]>;
|
|
6
6
|
export declare const zTaskModeSchema: z.ZodEnum<["human", "auto"]>;
|
|
7
|
-
export declare const zTaskAutoHandlerSchema: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
7
|
+
export declare const zTaskAutoHandlerSchema: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
8
8
|
export declare const zTaskRetryStrategySchema: z.ZodEnum<["fixed", "exponential"]>;
|
|
9
9
|
export declare const zTaskDedupScopeSchema: z.ZodEnum<["per_recipient", "per_recipient_and_object", "custom"]>;
|
|
10
10
|
export declare const zTaskDedupWindowSchema: z.ZodEnum<["same_day", "n_hours", "custom"]>;
|
|
@@ -188,19 +188,19 @@ export declare const zTaskDedupSchema: z.ZodObject<{
|
|
|
188
188
|
importance: z.ZodOptional<z.ZodNumber>;
|
|
189
189
|
}, z.ZodTypeAny, "passthrough">>;
|
|
190
190
|
export declare const zTaskAutoSpecSchema: z.ZodObject<{
|
|
191
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
191
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
192
192
|
kind: z.ZodString;
|
|
193
193
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
194
194
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
195
195
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
196
196
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
197
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
197
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
198
198
|
kind: z.ZodString;
|
|
199
199
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
200
200
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
201
201
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
202
202
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
203
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
203
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
204
204
|
kind: z.ZodString;
|
|
205
205
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
206
206
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -264,16 +264,16 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
264
264
|
priority?: "low" | "medium" | "high" | undefined;
|
|
265
265
|
}>>;
|
|
266
266
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
267
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
267
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
268
268
|
kind: z.ZodString;
|
|
269
269
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
270
270
|
}, "strip", z.ZodTypeAny, {
|
|
271
271
|
kind: string;
|
|
272
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
272
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
273
273
|
payload: Record<string, unknown>;
|
|
274
274
|
}, {
|
|
275
275
|
kind: string;
|
|
276
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
276
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
277
277
|
payload: Record<string, unknown>;
|
|
278
278
|
}>, "many">>;
|
|
279
279
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -334,16 +334,16 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
334
334
|
priority?: "low" | "medium" | "high" | undefined;
|
|
335
335
|
}>>;
|
|
336
336
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
337
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
337
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
338
338
|
kind: z.ZodString;
|
|
339
339
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
340
340
|
}, "strip", z.ZodTypeAny, {
|
|
341
341
|
kind: string;
|
|
342
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
342
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
343
343
|
payload: Record<string, unknown>;
|
|
344
344
|
}, {
|
|
345
345
|
kind: string;
|
|
346
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
346
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
347
347
|
payload: Record<string, unknown>;
|
|
348
348
|
}>, "many">>;
|
|
349
349
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -404,16 +404,16 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
404
404
|
priority?: "low" | "medium" | "high" | undefined;
|
|
405
405
|
}>>;
|
|
406
406
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
407
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
407
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
408
408
|
kind: z.ZodString;
|
|
409
409
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
410
410
|
}, "strip", z.ZodTypeAny, {
|
|
411
411
|
kind: string;
|
|
412
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
412
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
413
413
|
payload: Record<string, unknown>;
|
|
414
414
|
}, {
|
|
415
415
|
kind: string;
|
|
416
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
416
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
417
417
|
payload: Record<string, unknown>;
|
|
418
418
|
}>, "many">>;
|
|
419
419
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -677,16 +677,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
677
677
|
priority?: "low" | "medium" | "high" | undefined;
|
|
678
678
|
}>>;
|
|
679
679
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
680
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
680
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
681
681
|
kind: z.ZodString;
|
|
682
682
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
683
683
|
}, "strip", z.ZodTypeAny, {
|
|
684
684
|
kind: string;
|
|
685
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
685
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
686
686
|
payload: Record<string, unknown>;
|
|
687
687
|
}, {
|
|
688
688
|
kind: string;
|
|
689
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
689
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
690
690
|
payload: Record<string, unknown>;
|
|
691
691
|
}>, "many">>;
|
|
692
692
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -747,16 +747,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
747
747
|
priority?: "low" | "medium" | "high" | undefined;
|
|
748
748
|
}>>;
|
|
749
749
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
750
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
750
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
751
751
|
kind: z.ZodString;
|
|
752
752
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
753
753
|
}, "strip", z.ZodTypeAny, {
|
|
754
754
|
kind: string;
|
|
755
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
755
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
756
756
|
payload: Record<string, unknown>;
|
|
757
757
|
}, {
|
|
758
758
|
kind: string;
|
|
759
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
759
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
760
760
|
payload: Record<string, unknown>;
|
|
761
761
|
}>, "many">>;
|
|
762
762
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -817,16 +817,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
817
817
|
priority?: "low" | "medium" | "high" | undefined;
|
|
818
818
|
}>>;
|
|
819
819
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
820
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
820
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
821
821
|
kind: z.ZodString;
|
|
822
822
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
823
823
|
}, "strip", z.ZodTypeAny, {
|
|
824
824
|
kind: string;
|
|
825
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
825
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
826
826
|
payload: Record<string, unknown>;
|
|
827
827
|
}, {
|
|
828
828
|
kind: string;
|
|
829
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
829
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
830
830
|
payload: Record<string, unknown>;
|
|
831
831
|
}>, "many">>;
|
|
832
832
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -847,19 +847,19 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
847
847
|
dispatched_attempts: z.ZodOptional<z.ZodNumber>;
|
|
848
848
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
849
849
|
auto: z.ZodOptional<z.ZodObject<{
|
|
850
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
850
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
851
851
|
kind: z.ZodString;
|
|
852
852
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
853
853
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
854
854
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
855
855
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
856
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
856
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
857
857
|
kind: z.ZodString;
|
|
858
858
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
859
859
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
860
860
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
861
861
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
862
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
862
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
863
863
|
kind: z.ZodString;
|
|
864
864
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
865
865
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -1115,16 +1115,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1115
1115
|
priority?: "low" | "medium" | "high" | undefined;
|
|
1116
1116
|
}>>;
|
|
1117
1117
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1118
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
1118
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1119
1119
|
kind: z.ZodString;
|
|
1120
1120
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1121
1121
|
}, "strip", z.ZodTypeAny, {
|
|
1122
1122
|
kind: string;
|
|
1123
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
1123
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1124
1124
|
payload: Record<string, unknown>;
|
|
1125
1125
|
}, {
|
|
1126
1126
|
kind: string;
|
|
1127
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
1127
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1128
1128
|
payload: Record<string, unknown>;
|
|
1129
1129
|
}>, "many">>;
|
|
1130
1130
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1185,16 +1185,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1185
1185
|
priority?: "low" | "medium" | "high" | undefined;
|
|
1186
1186
|
}>>;
|
|
1187
1187
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1188
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
1188
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1189
1189
|
kind: z.ZodString;
|
|
1190
1190
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1191
1191
|
}, "strip", z.ZodTypeAny, {
|
|
1192
1192
|
kind: string;
|
|
1193
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
1193
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1194
1194
|
payload: Record<string, unknown>;
|
|
1195
1195
|
}, {
|
|
1196
1196
|
kind: string;
|
|
1197
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
1197
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1198
1198
|
payload: Record<string, unknown>;
|
|
1199
1199
|
}>, "many">>;
|
|
1200
1200
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1255,16 +1255,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1255
1255
|
priority?: "low" | "medium" | "high" | undefined;
|
|
1256
1256
|
}>>;
|
|
1257
1257
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1258
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
1258
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1259
1259
|
kind: z.ZodString;
|
|
1260
1260
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1261
1261
|
}, "strip", z.ZodTypeAny, {
|
|
1262
1262
|
kind: string;
|
|
1263
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
1263
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1264
1264
|
payload: Record<string, unknown>;
|
|
1265
1265
|
}, {
|
|
1266
1266
|
kind: string;
|
|
1267
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
1267
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1268
1268
|
payload: Record<string, unknown>;
|
|
1269
1269
|
}>, "many">>;
|
|
1270
1270
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1285,19 +1285,19 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1285
1285
|
dispatched_attempts: z.ZodOptional<z.ZodNumber>;
|
|
1286
1286
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1287
1287
|
auto: z.ZodOptional<z.ZodObject<{
|
|
1288
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
1288
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1289
1289
|
kind: z.ZodString;
|
|
1290
1290
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1291
1291
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1292
1292
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
1293
1293
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1294
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
1294
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1295
1295
|
kind: z.ZodString;
|
|
1296
1296
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1297
1297
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1298
1298
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
1299
1299
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1300
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
1300
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1301
1301
|
kind: z.ZodString;
|
|
1302
1302
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1303
1303
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -1553,16 +1553,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1553
1553
|
priority?: "low" | "medium" | "high" | undefined;
|
|
1554
1554
|
}>>;
|
|
1555
1555
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1556
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
1556
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1557
1557
|
kind: z.ZodString;
|
|
1558
1558
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1559
1559
|
}, "strip", z.ZodTypeAny, {
|
|
1560
1560
|
kind: string;
|
|
1561
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
1561
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1562
1562
|
payload: Record<string, unknown>;
|
|
1563
1563
|
}, {
|
|
1564
1564
|
kind: string;
|
|
1565
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
1565
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1566
1566
|
payload: Record<string, unknown>;
|
|
1567
1567
|
}>, "many">>;
|
|
1568
1568
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1623,16 +1623,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1623
1623
|
priority?: "low" | "medium" | "high" | undefined;
|
|
1624
1624
|
}>>;
|
|
1625
1625
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1626
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
1626
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1627
1627
|
kind: z.ZodString;
|
|
1628
1628
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1629
1629
|
}, "strip", z.ZodTypeAny, {
|
|
1630
1630
|
kind: string;
|
|
1631
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
1631
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1632
1632
|
payload: Record<string, unknown>;
|
|
1633
1633
|
}, {
|
|
1634
1634
|
kind: string;
|
|
1635
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
1635
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1636
1636
|
payload: Record<string, unknown>;
|
|
1637
1637
|
}>, "many">>;
|
|
1638
1638
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1693,16 +1693,16 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1693
1693
|
priority?: "low" | "medium" | "high" | undefined;
|
|
1694
1694
|
}>>;
|
|
1695
1695
|
auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1696
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
1696
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1697
1697
|
kind: z.ZodString;
|
|
1698
1698
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1699
1699
|
}, "strip", z.ZodTypeAny, {
|
|
1700
1700
|
kind: string;
|
|
1701
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
1701
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1702
1702
|
payload: Record<string, unknown>;
|
|
1703
1703
|
}, {
|
|
1704
1704
|
kind: string;
|
|
1705
|
-
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run";
|
|
1705
|
+
handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "evo-integrations.sync-run" | "campaign.materialize" | "campaign.dispatch_batch";
|
|
1706
1706
|
payload: Record<string, unknown>;
|
|
1707
1707
|
}>, "many">>;
|
|
1708
1708
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1723,19 +1723,19 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1723
1723
|
dispatched_attempts: z.ZodOptional<z.ZodNumber>;
|
|
1724
1724
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1725
1725
|
auto: z.ZodOptional<z.ZodObject<{
|
|
1726
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
1726
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1727
1727
|
kind: z.ZodString;
|
|
1728
1728
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1729
1729
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1730
1730
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
1731
1731
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1732
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
1732
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1733
1733
|
kind: z.ZodString;
|
|
1734
1734
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1735
1735
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1736
1736
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
1737
1737
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1738
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
1738
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1739
1739
|
kind: z.ZodString;
|
|
1740
1740
|
version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
1741
1741
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -1855,7 +1855,7 @@ export declare const zTaskExecutionSchema: z.ZodObject<{
|
|
|
1855
1855
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1856
1856
|
} & {
|
|
1857
1857
|
taskId: z.ZodString;
|
|
1858
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
1858
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1859
1859
|
kind: z.ZodString;
|
|
1860
1860
|
status: z.ZodEnum<["success", "error", "retry"]>;
|
|
1861
1861
|
attempt: z.ZodNumber;
|
|
@@ -1895,7 +1895,7 @@ export declare const zTaskExecutionSchema: z.ZodObject<{
|
|
|
1895
1895
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1896
1896
|
} & {
|
|
1897
1897
|
taskId: z.ZodString;
|
|
1898
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
1898
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1899
1899
|
kind: z.ZodString;
|
|
1900
1900
|
status: z.ZodEnum<["success", "error", "retry"]>;
|
|
1901
1901
|
attempt: z.ZodNumber;
|
|
@@ -1935,7 +1935,7 @@ export declare const zTaskExecutionSchema: z.ZodObject<{
|
|
|
1935
1935
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1936
1936
|
} & {
|
|
1937
1937
|
taskId: z.ZodString;
|
|
1938
|
-
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run"]>;
|
|
1938
|
+
handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "evo-integrations.sync-run", "campaign.materialize", "campaign.dispatch_batch"]>;
|
|
1939
1939
|
kind: z.ZodString;
|
|
1940
1940
|
status: z.ZodEnum<["success", "error", "retry"]>;
|
|
1941
1941
|
attempt: z.ZodNumber;
|
|
@@ -41,6 +41,13 @@ exports.zTaskAutoHandlerSchema = zod_1.z.enum([
|
|
|
41
41
|
// `evo-integrations.sync-run.execute_requests`. Sem isso, criar a task de sync
|
|
42
42
|
// via TaskModel.setProperties estoura ZodError.
|
|
43
43
|
"evo-integrations.sync-run",
|
|
44
|
+
// feat-081 F2: handlers do modulo de campanhas (mesmo padrao pontilhado da
|
|
45
|
+
// feat-078 — o topico do materialize vira `campaign.materialize.execute_requests`,
|
|
46
|
+
// que a CF `campaign_materialize` JA escuta desde a F1; o dispatch ganha
|
|
47
|
+
// `campaign.dispatch_batch.execute_requests`). Sem estes valores o runner
|
|
48
|
+
// rejeita as tasks de campanha em runtime (enum fechado — gate da F2).
|
|
49
|
+
"campaign.materialize",
|
|
50
|
+
"campaign.dispatch_batch",
|
|
44
51
|
]);
|
|
45
52
|
exports.zTaskRetryStrategySchema = zod_1.z.enum(["fixed", "exponential"]);
|
|
46
53
|
exports.zTaskDedupScopeSchema = zod_1.z.enum([
|
|
@@ -44,6 +44,13 @@ export const zTaskAutoHandlerSchema = z.enum([
|
|
|
44
44
|
// `evo-integrations.sync-run.execute_requests`. Sem isso, criar a task de sync
|
|
45
45
|
// via TaskModel.setProperties estoura ZodError.
|
|
46
46
|
"evo-integrations.sync-run",
|
|
47
|
+
// feat-081 F2: handlers do modulo de campanhas (mesmo padrao pontilhado da
|
|
48
|
+
// feat-078 — o topico do materialize vira `campaign.materialize.execute_requests`,
|
|
49
|
+
// que a CF `campaign_materialize` JA escuta desde a F1; o dispatch ganha
|
|
50
|
+
// `campaign.dispatch_batch.execute_requests`). Sem estes valores o runner
|
|
51
|
+
// rejeita as tasks de campanha em runtime (enum fechado — gate da F2).
|
|
52
|
+
"campaign.materialize",
|
|
53
|
+
"campaign.dispatch_batch",
|
|
47
54
|
]);
|
|
48
55
|
|
|
49
56
|
export const zTaskRetryStrategySchema = z.enum(["fixed", "exponential"]);
|