evo360-types 1.3.614 → 1.3.622

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.
@@ -15,9 +15,19 @@ export declare const zHubiaV1ChannelConfigSchema: z.ZodObject<{
15
15
  active: z.ZodDefault<z.ZodBoolean>;
16
16
  attendance_mode: z.ZodDefault<z.ZodEnum<["ai_auto", "ai_suggest", "disabled"]>>;
17
17
  debounce_seconds: z.ZodDefault<z.ZodNumber>;
18
+ /** Legado (Anthropic direta). Vale só quando não há `llm_connection_id`
19
+ * (feat-210). Default = `HUBIA_DEFAULT_MODEL` do runtime; o
20
+ * `claude-sonnet-4-20250514` foi aposentado pela Anthropic em 2026-06. */
18
21
  llm_model: z.ZodDefault<z.ZodString>;
22
+ /** 0-2: o mesmo teto do endpoint de escrita (`hubia-admin`). */
19
23
  llm_temperature: z.ZodDefault<z.ZodNumber>;
20
24
  llm_max_tokens: z.ZodDefault<z.ZodNumber>;
25
+ /** feat-210 — conexão do catálogo da plataforma
26
+ * (`/platform/evo-ai/llm-connections/{id}`, com `hubia` em `usable_for`)
27
+ * usada por padrão neste canal. `null`/ausente = `llm_model` legado ou
28
+ * default da plataforma. Um `llm_connection_id` no vínculo do departamento
29
+ * vence este. */
30
+ llm_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
31
  /** @deprecated Coleção `apps/evo-hubia-v1/prompts/{id}` virou histórico (Q5=B em decisions.md). Após a migração, runtime ignora este campo. */
22
32
  prompt_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
23
33
  /** Prompts inline herdados pelos bindings que apontam para este canal.
@@ -145,9 +155,19 @@ export declare const zHubiaV1ChannelConfigSchema: z.ZodObject<{
145
155
  active: z.ZodDefault<z.ZodBoolean>;
146
156
  attendance_mode: z.ZodDefault<z.ZodEnum<["ai_auto", "ai_suggest", "disabled"]>>;
147
157
  debounce_seconds: z.ZodDefault<z.ZodNumber>;
158
+ /** Legado (Anthropic direta). Vale só quando não há `llm_connection_id`
159
+ * (feat-210). Default = `HUBIA_DEFAULT_MODEL` do runtime; o
160
+ * `claude-sonnet-4-20250514` foi aposentado pela Anthropic em 2026-06. */
148
161
  llm_model: z.ZodDefault<z.ZodString>;
162
+ /** 0-2: o mesmo teto do endpoint de escrita (`hubia-admin`). */
149
163
  llm_temperature: z.ZodDefault<z.ZodNumber>;
150
164
  llm_max_tokens: z.ZodDefault<z.ZodNumber>;
165
+ /** feat-210 — conexão do catálogo da plataforma
166
+ * (`/platform/evo-ai/llm-connections/{id}`, com `hubia` em `usable_for`)
167
+ * usada por padrão neste canal. `null`/ausente = `llm_model` legado ou
168
+ * default da plataforma. Um `llm_connection_id` no vínculo do departamento
169
+ * vence este. */
170
+ llm_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
171
  /** @deprecated Coleção `apps/evo-hubia-v1/prompts/{id}` virou histórico (Q5=B em decisions.md). Após a migração, runtime ignora este campo. */
152
172
  prompt_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
153
173
  /** Prompts inline herdados pelos bindings que apontam para este canal.
@@ -275,9 +295,19 @@ export declare const zHubiaV1ChannelConfigSchema: z.ZodObject<{
275
295
  active: z.ZodDefault<z.ZodBoolean>;
276
296
  attendance_mode: z.ZodDefault<z.ZodEnum<["ai_auto", "ai_suggest", "disabled"]>>;
277
297
  debounce_seconds: z.ZodDefault<z.ZodNumber>;
298
+ /** Legado (Anthropic direta). Vale só quando não há `llm_connection_id`
299
+ * (feat-210). Default = `HUBIA_DEFAULT_MODEL` do runtime; o
300
+ * `claude-sonnet-4-20250514` foi aposentado pela Anthropic em 2026-06. */
278
301
  llm_model: z.ZodDefault<z.ZodString>;
302
+ /** 0-2: o mesmo teto do endpoint de escrita (`hubia-admin`). */
279
303
  llm_temperature: z.ZodDefault<z.ZodNumber>;
280
304
  llm_max_tokens: z.ZodDefault<z.ZodNumber>;
305
+ /** feat-210 — conexão do catálogo da plataforma
306
+ * (`/platform/evo-ai/llm-connections/{id}`, com `hubia` em `usable_for`)
307
+ * usada por padrão neste canal. `null`/ausente = `llm_model` legado ou
308
+ * default da plataforma. Um `llm_connection_id` no vínculo do departamento
309
+ * vence este. */
310
+ llm_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
281
311
  /** @deprecated Coleção `apps/evo-hubia-v1/prompts/{id}` virou histórico (Q5=B em decisions.md). Após a migração, runtime ignora este campo. */
282
312
  prompt_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
283
313
  /** Prompts inline herdados pelos bindings que apontam para este canal.
@@ -2311,6 +2341,10 @@ export declare const zAiBindingSchema: z.ZodObject<{
2311
2341
  /** CSQ 2.0 — off (default) | shadow (avalia, não notifica) | active.
2312
2342
  * Ausente equivale a `off`: o gate do pipeline só segue com `shadow`/`active`. */
2313
2343
  csq_mode: z.ZodOptional<z.ZodEnum<["off", "shadow", "active"]>>;
2344
+ /** Conexão do catálogo da plataforma (`/platform/evo-ai/llm-connections/{id}`,
2345
+ * com `hubia` em `usable_for`) usada neste departamento. Vence o
2346
+ * `llm_connection_id` do canal. `null`/ausente = herda do canal. */
2347
+ llm_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2314
2348
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2315
2349
  id: z.ZodString;
2316
2350
  ref: z.ZodAny;
@@ -3057,6 +3091,10 @@ export declare const zAiBindingSchema: z.ZodObject<{
3057
3091
  /** CSQ 2.0 — off (default) | shadow (avalia, não notifica) | active.
3058
3092
  * Ausente equivale a `off`: o gate do pipeline só segue com `shadow`/`active`. */
3059
3093
  csq_mode: z.ZodOptional<z.ZodEnum<["off", "shadow", "active"]>>;
3094
+ /** Conexão do catálogo da plataforma (`/platform/evo-ai/llm-connections/{id}`,
3095
+ * com `hubia` em `usable_for`) usada neste departamento. Vence o
3096
+ * `llm_connection_id` do canal. `null`/ausente = herda do canal. */
3097
+ llm_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3060
3098
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3061
3099
  id: z.ZodString;
3062
3100
  ref: z.ZodAny;
@@ -3803,6 +3841,10 @@ export declare const zAiBindingSchema: z.ZodObject<{
3803
3841
  /** CSQ 2.0 — off (default) | shadow (avalia, não notifica) | active.
3804
3842
  * Ausente equivale a `off`: o gate do pipeline só segue com `shadow`/`active`. */
3805
3843
  csq_mode: z.ZodOptional<z.ZodEnum<["off", "shadow", "active"]>>;
3844
+ /** Conexão do catálogo da plataforma (`/platform/evo-ai/llm-connections/{id}`,
3845
+ * com `hubia` em `usable_for`) usada neste departamento. Vence o
3846
+ * `llm_connection_id` do canal. `null`/ausente = herda do canal. */
3847
+ llm_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3806
3848
  }, z.ZodTypeAny, "passthrough">>;
3807
3849
  export type IAiBinding = z.infer<typeof zAiBindingSchema>;
3808
3850
  /** Disposição de fechamento publicada no evento. Os bridges publicam `null`
@@ -18,9 +18,19 @@ exports.zHubiaV1ChannelConfigSchema = zod_schemas_1.zFireDocSchema.extend({
18
18
  active: zod_1.z.boolean().default(false),
19
19
  attendance_mode: exports.zHubiaAttendanceModeSchema.default("ai_auto"),
20
20
  debounce_seconds: zod_1.z.number().default(20),
21
- llm_model: zod_1.z.string().default("claude-sonnet-4-20250514"),
22
- llm_temperature: zod_1.z.number().min(0).max(1).default(0.3),
21
+ /** Legado (Anthropic direta). Vale só quando não há `llm_connection_id`
22
+ * (feat-210). Default = `HUBIA_DEFAULT_MODEL` do runtime; o
23
+ * `claude-sonnet-4-20250514` foi aposentado pela Anthropic em 2026-06. */
24
+ llm_model: zod_1.z.string().default("claude-sonnet-4-6"),
25
+ /** 0-2: o mesmo teto do endpoint de escrita (`hubia-admin`). */
26
+ llm_temperature: zod_1.z.number().min(0).max(2).default(0.3),
23
27
  llm_max_tokens: zod_1.z.number().default(2048),
28
+ /** feat-210 — conexão do catálogo da plataforma
29
+ * (`/platform/evo-ai/llm-connections/{id}`, com `hubia` em `usable_for`)
30
+ * usada por padrão neste canal. `null`/ausente = `llm_model` legado ou
31
+ * default da plataforma. Um `llm_connection_id` no vínculo do departamento
32
+ * vence este. */
33
+ llm_connection_id: zod_1.z.string().nullable().optional(),
24
34
  /** @deprecated Coleção `apps/evo-hubia-v1/prompts/{id}` virou histórico (Q5=B em decisions.md). Após a migração, runtime ignora este campo. */
25
35
  prompt_ids: zod_1.z.array(zod_1.z.string()).default([]),
26
36
  /** Prompts inline herdados pelos bindings que apontam para este canal.
@@ -361,6 +371,11 @@ exports.zAiBindingSchema = zod_schemas_1.zFireDocSchema.extend({
361
371
  /** CSQ 2.0 — off (default) | shadow (avalia, não notifica) | active.
362
372
  * Ausente equivale a `off`: o gate do pipeline só segue com `shadow`/`active`. */
363
373
  csq_mode: zod_schemas_2.zCsqModeSchema.optional(),
374
+ // ───── LLM (feat-210) ─────
375
+ /** Conexão do catálogo da plataforma (`/platform/evo-ai/llm-connections/{id}`,
376
+ * com `hubia` em `usable_for`) usada neste departamento. Vence o
377
+ * `llm_connection_id` do canal. `null`/ausente = herda do canal. */
378
+ llm_connection_id: zod_1.z.string().nullable().optional(),
364
379
  }).passthrough();
365
380
  // ───────── Evento `hubia-ticket-closed` (payload do tópico PubSub) ─────────
366
381
  /** Disposição de fechamento publicada no evento. Os bridges publicam `null`
@@ -21,9 +21,19 @@ export const zHubiaV1ChannelConfigSchema = zFireDocSchema.extend({
21
21
  active: z.boolean().default(false),
22
22
  attendance_mode: zHubiaAttendanceModeSchema.default("ai_auto"),
23
23
  debounce_seconds: z.number().default(20),
24
- llm_model: z.string().default("claude-sonnet-4-20250514"),
25
- llm_temperature: z.number().min(0).max(1).default(0.3),
24
+ /** Legado (Anthropic direta). Vale só quando não há `llm_connection_id`
25
+ * (feat-210). Default = `HUBIA_DEFAULT_MODEL` do runtime; o
26
+ * `claude-sonnet-4-20250514` foi aposentado pela Anthropic em 2026-06. */
27
+ llm_model: z.string().default("claude-sonnet-4-6"),
28
+ /** 0-2: o mesmo teto do endpoint de escrita (`hubia-admin`). */
29
+ llm_temperature: z.number().min(0).max(2).default(0.3),
26
30
  llm_max_tokens: z.number().default(2048),
31
+ /** feat-210 — conexão do catálogo da plataforma
32
+ * (`/platform/evo-ai/llm-connections/{id}`, com `hubia` em `usable_for`)
33
+ * usada por padrão neste canal. `null`/ausente = `llm_model` legado ou
34
+ * default da plataforma. Um `llm_connection_id` no vínculo do departamento
35
+ * vence este. */
36
+ llm_connection_id: z.string().nullable().optional(),
27
37
  /** @deprecated Coleção `apps/evo-hubia-v1/prompts/{id}` virou histórico (Q5=B em decisions.md). Após a migração, runtime ignora este campo. */
28
38
  prompt_ids: z.array(z.string()).default([]),
29
39
  /** Prompts inline herdados pelos bindings que apontam para este canal.
@@ -407,6 +417,12 @@ export const zAiBindingSchema = zFireDocSchema.extend({
407
417
  /** CSQ 2.0 — off (default) | shadow (avalia, não notifica) | active.
408
418
  * Ausente equivale a `off`: o gate do pipeline só segue com `shadow`/`active`. */
409
419
  csq_mode: zCsqModeSchema.optional(),
420
+
421
+ // ───── LLM (feat-210) ─────
422
+ /** Conexão do catálogo da plataforma (`/platform/evo-ai/llm-connections/{id}`,
423
+ * com `hubia` em `usable_for`) usada neste departamento. Vence o
424
+ * `llm_connection_id` do canal. `null`/ausente = herda do canal. */
425
+ llm_connection_id: z.string().nullable().optional(),
410
426
  }).passthrough();
411
427
 
412
428
  export type IAiBinding = z.infer<typeof zAiBindingSchema>;
@@ -4,7 +4,7 @@ export declare const zTaskStatusSchema: z.ZodEnum<["not_started", "in_progress",
4
4
  export declare const zTaskPrioritySchema: z.ZodEnum<["low", "medium", "high"]>;
5
5
  export declare const zTaskSourceSchema: z.ZodEnum<["user", "automation_hub", "system"]>;
6
6
  export declare const zTaskModeSchema: z.ZodEnum<["human", "auto"]>;
7
- export declare const zTaskAutoHandlerSchema: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
7
+ export declare const zTaskAutoHandlerSchema: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
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"]>;
@@ -195,19 +195,19 @@ export declare const zTaskDedupSchema: z.ZodObject<{
195
195
  importance: z.ZodOptional<z.ZodNumber>;
196
196
  }, z.ZodTypeAny, "passthrough">>;
197
197
  export declare const zTaskAutoSpecSchema: z.ZodObject<{
198
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
198
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
199
199
  kind: z.ZodString;
200
200
  version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
201
201
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
202
202
  idempotency_key: z.ZodOptional<z.ZodString>;
203
203
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
204
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
204
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
205
205
  kind: z.ZodString;
206
206
  version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
207
207
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
208
208
  idempotency_key: z.ZodOptional<z.ZodString>;
209
209
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
210
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
210
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
211
211
  kind: z.ZodString;
212
212
  version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
213
213
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -271,16 +271,16 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
271
271
  priority?: "low" | "medium" | "high" | undefined;
272
272
  }>>;
273
273
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
274
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
274
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
275
275
  kind: z.ZodString;
276
276
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
277
277
  }, "strip", z.ZodTypeAny, {
278
278
  kind: string;
279
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
279
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
280
280
  payload: Record<string, unknown>;
281
281
  }, {
282
282
  kind: string;
283
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
283
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
284
284
  payload: Record<string, unknown>;
285
285
  }>, "many">>;
286
286
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -341,16 +341,16 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
341
341
  priority?: "low" | "medium" | "high" | undefined;
342
342
  }>>;
343
343
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
344
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
344
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
345
345
  kind: z.ZodString;
346
346
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
347
347
  }, "strip", z.ZodTypeAny, {
348
348
  kind: string;
349
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
349
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
350
350
  payload: Record<string, unknown>;
351
351
  }, {
352
352
  kind: string;
353
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
353
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
354
354
  payload: Record<string, unknown>;
355
355
  }>, "many">>;
356
356
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -411,16 +411,16 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
411
411
  priority?: "low" | "medium" | "high" | undefined;
412
412
  }>>;
413
413
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
414
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
414
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
415
415
  kind: z.ZodString;
416
416
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
417
417
  }, "strip", z.ZodTypeAny, {
418
418
  kind: string;
419
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
419
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
420
420
  payload: Record<string, unknown>;
421
421
  }, {
422
422
  kind: string;
423
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
423
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
424
424
  payload: Record<string, unknown>;
425
425
  }>, "many">>;
426
426
  }, z.ZodTypeAny, "passthrough">>;
@@ -687,16 +687,16 @@ export declare const zTaskSchema: z.ZodObject<{
687
687
  priority?: "low" | "medium" | "high" | undefined;
688
688
  }>>;
689
689
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
690
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
690
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
691
691
  kind: z.ZodString;
692
692
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
693
693
  }, "strip", z.ZodTypeAny, {
694
694
  kind: string;
695
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
695
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
696
696
  payload: Record<string, unknown>;
697
697
  }, {
698
698
  kind: string;
699
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
699
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
700
700
  payload: Record<string, unknown>;
701
701
  }>, "many">>;
702
702
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -757,16 +757,16 @@ export declare const zTaskSchema: z.ZodObject<{
757
757
  priority?: "low" | "medium" | "high" | undefined;
758
758
  }>>;
759
759
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
760
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
760
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
761
761
  kind: z.ZodString;
762
762
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
763
763
  }, "strip", z.ZodTypeAny, {
764
764
  kind: string;
765
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
765
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
766
766
  payload: Record<string, unknown>;
767
767
  }, {
768
768
  kind: string;
769
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
769
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
770
770
  payload: Record<string, unknown>;
771
771
  }>, "many">>;
772
772
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -827,16 +827,16 @@ export declare const zTaskSchema: z.ZodObject<{
827
827
  priority?: "low" | "medium" | "high" | undefined;
828
828
  }>>;
829
829
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
830
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
830
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
831
831
  kind: z.ZodString;
832
832
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
833
833
  }, "strip", z.ZodTypeAny, {
834
834
  kind: string;
835
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
835
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
836
836
  payload: Record<string, unknown>;
837
837
  }, {
838
838
  kind: string;
839
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
839
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
840
840
  payload: Record<string, unknown>;
841
841
  }>, "many">>;
842
842
  }, z.ZodTypeAny, "passthrough">>>;
@@ -857,19 +857,19 @@ export declare const zTaskSchema: z.ZodObject<{
857
857
  dispatched_attempts: z.ZodOptional<z.ZodNumber>;
858
858
  }, z.ZodTypeAny, "passthrough">>>;
859
859
  auto: z.ZodOptional<z.ZodObject<{
860
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
860
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
861
861
  kind: z.ZodString;
862
862
  version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
863
863
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
864
864
  idempotency_key: z.ZodOptional<z.ZodString>;
865
865
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
866
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
866
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
867
867
  kind: z.ZodString;
868
868
  version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
869
869
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
870
870
  idempotency_key: z.ZodOptional<z.ZodString>;
871
871
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
872
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
872
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
873
873
  kind: z.ZodString;
874
874
  version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
875
875
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -1128,16 +1128,16 @@ export declare const zTaskSchema: z.ZodObject<{
1128
1128
  priority?: "low" | "medium" | "high" | undefined;
1129
1129
  }>>;
1130
1130
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1131
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
1131
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
1132
1132
  kind: z.ZodString;
1133
1133
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1134
1134
  }, "strip", z.ZodTypeAny, {
1135
1135
  kind: string;
1136
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
1136
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
1137
1137
  payload: Record<string, unknown>;
1138
1138
  }, {
1139
1139
  kind: string;
1140
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
1140
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
1141
1141
  payload: Record<string, unknown>;
1142
1142
  }>, "many">>;
1143
1143
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -1198,16 +1198,16 @@ export declare const zTaskSchema: z.ZodObject<{
1198
1198
  priority?: "low" | "medium" | "high" | undefined;
1199
1199
  }>>;
1200
1200
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1201
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
1201
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
1202
1202
  kind: z.ZodString;
1203
1203
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1204
1204
  }, "strip", z.ZodTypeAny, {
1205
1205
  kind: string;
1206
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
1206
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
1207
1207
  payload: Record<string, unknown>;
1208
1208
  }, {
1209
1209
  kind: string;
1210
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
1210
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
1211
1211
  payload: Record<string, unknown>;
1212
1212
  }>, "many">>;
1213
1213
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -1268,16 +1268,16 @@ export declare const zTaskSchema: z.ZodObject<{
1268
1268
  priority?: "low" | "medium" | "high" | undefined;
1269
1269
  }>>;
1270
1270
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1271
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
1271
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
1272
1272
  kind: z.ZodString;
1273
1273
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1274
1274
  }, "strip", z.ZodTypeAny, {
1275
1275
  kind: string;
1276
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
1276
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
1277
1277
  payload: Record<string, unknown>;
1278
1278
  }, {
1279
1279
  kind: string;
1280
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
1280
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
1281
1281
  payload: Record<string, unknown>;
1282
1282
  }>, "many">>;
1283
1283
  }, z.ZodTypeAny, "passthrough">>>;
@@ -1298,19 +1298,19 @@ export declare const zTaskSchema: z.ZodObject<{
1298
1298
  dispatched_attempts: z.ZodOptional<z.ZodNumber>;
1299
1299
  }, z.ZodTypeAny, "passthrough">>>;
1300
1300
  auto: z.ZodOptional<z.ZodObject<{
1301
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
1301
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
1302
1302
  kind: z.ZodString;
1303
1303
  version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1304
1304
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1305
1305
  idempotency_key: z.ZodOptional<z.ZodString>;
1306
1306
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1307
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
1307
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
1308
1308
  kind: z.ZodString;
1309
1309
  version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1310
1310
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1311
1311
  idempotency_key: z.ZodOptional<z.ZodString>;
1312
1312
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1313
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
1313
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
1314
1314
  kind: z.ZodString;
1315
1315
  version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1316
1316
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -1569,16 +1569,16 @@ export declare const zTaskSchema: z.ZodObject<{
1569
1569
  priority?: "low" | "medium" | "high" | undefined;
1570
1570
  }>>;
1571
1571
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1572
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
1572
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
1573
1573
  kind: z.ZodString;
1574
1574
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1575
1575
  }, "strip", z.ZodTypeAny, {
1576
1576
  kind: string;
1577
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
1577
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
1578
1578
  payload: Record<string, unknown>;
1579
1579
  }, {
1580
1580
  kind: string;
1581
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
1581
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
1582
1582
  payload: Record<string, unknown>;
1583
1583
  }>, "many">>;
1584
1584
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -1639,16 +1639,16 @@ export declare const zTaskSchema: z.ZodObject<{
1639
1639
  priority?: "low" | "medium" | "high" | undefined;
1640
1640
  }>>;
1641
1641
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1642
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
1642
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
1643
1643
  kind: z.ZodString;
1644
1644
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1645
1645
  }, "strip", z.ZodTypeAny, {
1646
1646
  kind: string;
1647
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
1647
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
1648
1648
  payload: Record<string, unknown>;
1649
1649
  }, {
1650
1650
  kind: string;
1651
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
1651
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
1652
1652
  payload: Record<string, unknown>;
1653
1653
  }>, "many">>;
1654
1654
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -1709,16 +1709,16 @@ export declare const zTaskSchema: z.ZodObject<{
1709
1709
  priority?: "low" | "medium" | "high" | undefined;
1710
1710
  }>>;
1711
1711
  auto_fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1712
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
1712
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
1713
1713
  kind: z.ZodString;
1714
1714
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1715
1715
  }, "strip", z.ZodTypeAny, {
1716
1716
  kind: string;
1717
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
1717
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
1718
1718
  payload: Record<string, unknown>;
1719
1719
  }, {
1720
1720
  kind: string;
1721
- handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder";
1721
+ handler: "notifications" | "ai_agent" | "invoices" | "webhook" | "custom" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "evo-integrations.sync-run" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
1722
1722
  payload: Record<string, unknown>;
1723
1723
  }>, "many">>;
1724
1724
  }, z.ZodTypeAny, "passthrough">>>;
@@ -1739,19 +1739,19 @@ export declare const zTaskSchema: z.ZodObject<{
1739
1739
  dispatched_attempts: z.ZodOptional<z.ZodNumber>;
1740
1740
  }, z.ZodTypeAny, "passthrough">>>;
1741
1741
  auto: z.ZodOptional<z.ZodObject<{
1742
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
1742
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
1743
1743
  kind: z.ZodString;
1744
1744
  version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1745
1745
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1746
1746
  idempotency_key: z.ZodOptional<z.ZodString>;
1747
1747
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1748
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
1748
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
1749
1749
  kind: z.ZodString;
1750
1750
  version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1751
1751
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1752
1752
  idempotency_key: z.ZodOptional<z.ZodString>;
1753
1753
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1754
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
1754
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
1755
1755
  kind: z.ZodString;
1756
1756
  version: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1757
1757
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -1871,7 +1871,7 @@ export declare const zTaskExecutionSchema: z.ZodObject<{
1871
1871
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1872
1872
  } & {
1873
1873
  taskId: z.ZodString;
1874
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
1874
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
1875
1875
  kind: z.ZodString;
1876
1876
  status: z.ZodEnum<["success", "error", "retry"]>;
1877
1877
  attempt: z.ZodNumber;
@@ -1911,7 +1911,7 @@ export declare const zTaskExecutionSchema: z.ZodObject<{
1911
1911
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1912
1912
  } & {
1913
1913
  taskId: z.ZodString;
1914
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
1914
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
1915
1915
  kind: z.ZodString;
1916
1916
  status: z.ZodEnum<["success", "error", "retry"]>;
1917
1917
  attempt: z.ZodNumber;
@@ -1951,7 +1951,7 @@ export declare const zTaskExecutionSchema: z.ZodObject<{
1951
1951
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1952
1952
  } & {
1953
1953
  taskId: z.ZodString;
1954
- handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder"]>;
1954
+ handler: z.ZodEnum<["notifications", "ai_agent", "invoices", "webhook", "custom", "lead_reactivation", "appointment_action", "appointment_reminder", "appointment_confirmation", "appointment_post_consultation", "evo-integrations.sync-run", "lead_form_capture", "campaign.materialize", "campaign.dispatch_batch", "telemedicine_join_reminder", "appointment_invoice"]>;
1955
1955
  kind: z.ZodString;
1956
1956
  status: z.ZodEnum<["success", "error", "retry"]>;
1957
1957
  attempt: z.ZodNumber;