evo360-types 1.3.757 → 1.3.762
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-activity/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-chat/contact/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-chat/dic/ticket-close/zod-schemas.d.ts +12 -12
- package/dist/apps/evo-chat/message/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-crm/dic/zod-schemas.d.ts +18 -18
- package/dist/apps/evo-crm/lead/zod-schemas.d.ts +42 -42
- package/dist/apps/evo-csq/zod-schemas.d.ts +106 -0
- package/dist/apps/evo-csq/zod-schemas.js +23 -0
- package/dist/apps/evo-csq/zod-schemas.ts +23 -0
- package/dist/apps/evo-finops/zod-schemas.d.ts +72 -72
- package/dist/apps/evo-med/appointment/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/calendar/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/dic/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/insurance/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/people/zod-schemas.d.ts +192 -192
- package/dist/apps/evo-med/procedure/zod-schemas.d.ts +12 -12
- package/dist/apps/evo-notifications/zod-schemas.d.ts +156 -156
- package/dist/apps/evo-people/zod-schemas.d.ts +24 -24
- package/dist/apps/evo-survey/zod-schemas.d.ts +58 -58
- package/dist/apps/evo-task/zod-schemas.d.ts +219 -117
- package/dist/apps/evo-task/zod-schemas.js +36 -5
- package/dist/apps/evo-task/zod-schemas.ts +38 -4
- package/dist/apps/hub-automation/zod-schemas.d.ts +184 -184
- package/dist/apps/shared/zod-schemas.d.ts +2 -2
- package/dist/types/evo-csq/index.d.ts +30 -0
- package/dist/types/evo-csq/index.ts +26 -0
- package/dist/types/shared/external-links.d.ts +27 -0
- package/dist/types/shared/external-links.js +12 -0
- package/dist/types/shared/external-links.ts +28 -0
- package/package.json +1 -1
|
@@ -178,7 +178,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
178
178
|
* a família inteira) e um paciente pode responder a vários leads. feat-095.
|
|
179
179
|
*/
|
|
180
180
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
181
|
-
type: z.
|
|
181
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
182
182
|
id: z.ZodString;
|
|
183
183
|
label: z.ZodOptional<z.ZodString>;
|
|
184
184
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -196,12 +196,12 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
196
196
|
}>>>;
|
|
197
197
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
198
198
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
199
|
-
created_source: z.ZodOptional<z.
|
|
199
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
200
200
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
201
201
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
202
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
202
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
203
203
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
204
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
204
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
205
205
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
206
206
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
207
207
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -209,7 +209,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
209
209
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
210
210
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
211
211
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
212
|
-
type: z.
|
|
212
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
213
213
|
id: z.ZodString;
|
|
214
214
|
label: z.ZodOptional<z.ZodString>;
|
|
215
215
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -227,12 +227,12 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
227
227
|
}>>>;
|
|
228
228
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
229
229
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
230
|
-
created_source: z.ZodOptional<z.
|
|
230
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
231
231
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
232
232
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
233
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
233
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
234
234
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
235
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
235
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
236
236
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
237
237
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
238
238
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -240,7 +240,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
240
240
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
241
241
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
242
242
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
243
|
-
type: z.
|
|
243
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
244
244
|
id: z.ZodString;
|
|
245
245
|
label: z.ZodOptional<z.ZodString>;
|
|
246
246
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -258,12 +258,12 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
258
258
|
}>>>;
|
|
259
259
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
260
260
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
261
|
-
created_source: z.ZodOptional<z.
|
|
261
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
262
262
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
263
263
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
264
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
264
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
265
265
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
266
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
266
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
267
267
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
268
268
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
269
269
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -289,14 +289,14 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
289
289
|
name: string;
|
|
290
290
|
hidden: boolean;
|
|
291
291
|
base?: boolean | undefined;
|
|
292
|
-
category?: string | null | undefined;
|
|
293
292
|
color?: string | undefined;
|
|
293
|
+
category?: string | null | undefined;
|
|
294
294
|
}, {
|
|
295
295
|
name: string;
|
|
296
296
|
hidden: boolean;
|
|
297
297
|
base?: boolean | undefined;
|
|
298
|
-
category?: string | null | undefined;
|
|
299
298
|
color?: string | undefined;
|
|
299
|
+
category?: string | null | undefined;
|
|
300
300
|
}>, "many">>>;
|
|
301
301
|
capture_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
302
302
|
userRef: z.ZodAny;
|
|
@@ -442,7 +442,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
442
442
|
* a família inteira) e um paciente pode responder a vários leads. feat-095.
|
|
443
443
|
*/
|
|
444
444
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
445
|
-
type: z.
|
|
445
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
446
446
|
id: z.ZodString;
|
|
447
447
|
label: z.ZodOptional<z.ZodString>;
|
|
448
448
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -460,12 +460,12 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
460
460
|
}>>>;
|
|
461
461
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
462
462
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
463
|
-
created_source: z.ZodOptional<z.
|
|
463
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
464
464
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
465
465
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
466
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
466
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
467
467
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
468
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
468
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
469
469
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
470
470
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
471
471
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -473,7 +473,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
473
473
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
474
474
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
475
475
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
476
|
-
type: z.
|
|
476
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
477
477
|
id: z.ZodString;
|
|
478
478
|
label: z.ZodOptional<z.ZodString>;
|
|
479
479
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -491,12 +491,12 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
491
491
|
}>>>;
|
|
492
492
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
493
493
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
494
|
-
created_source: z.ZodOptional<z.
|
|
494
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
495
495
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
496
496
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
497
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
497
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
498
498
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
499
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
499
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
500
500
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
501
501
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
502
502
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -504,7 +504,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
504
504
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
505
505
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
506
506
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
507
|
-
type: z.
|
|
507
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
508
508
|
id: z.ZodString;
|
|
509
509
|
label: z.ZodOptional<z.ZodString>;
|
|
510
510
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -522,12 +522,12 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
522
522
|
}>>>;
|
|
523
523
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
524
524
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
525
|
-
created_source: z.ZodOptional<z.
|
|
525
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
526
526
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
527
527
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
528
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
528
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
529
529
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
530
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
530
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
531
531
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
532
532
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
533
533
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -553,14 +553,14 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
553
553
|
name: string;
|
|
554
554
|
hidden: boolean;
|
|
555
555
|
base?: boolean | undefined;
|
|
556
|
-
category?: string | null | undefined;
|
|
557
556
|
color?: string | undefined;
|
|
557
|
+
category?: string | null | undefined;
|
|
558
558
|
}, {
|
|
559
559
|
name: string;
|
|
560
560
|
hidden: boolean;
|
|
561
561
|
base?: boolean | undefined;
|
|
562
|
-
category?: string | null | undefined;
|
|
563
562
|
color?: string | undefined;
|
|
563
|
+
category?: string | null | undefined;
|
|
564
564
|
}>, "many">>>;
|
|
565
565
|
capture_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
566
566
|
userRef: z.ZodAny;
|
|
@@ -706,7 +706,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
706
706
|
* a família inteira) e um paciente pode responder a vários leads. feat-095.
|
|
707
707
|
*/
|
|
708
708
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
709
|
-
type: z.
|
|
709
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
710
710
|
id: z.ZodString;
|
|
711
711
|
label: z.ZodOptional<z.ZodString>;
|
|
712
712
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -724,12 +724,12 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
724
724
|
}>>>;
|
|
725
725
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
726
726
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
727
|
-
created_source: z.ZodOptional<z.
|
|
727
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
728
728
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
729
729
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
730
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
730
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
731
731
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
732
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
732
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
733
733
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
734
734
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
735
735
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -737,7 +737,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
737
737
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
738
738
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
739
739
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
740
|
-
type: z.
|
|
740
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
741
741
|
id: z.ZodString;
|
|
742
742
|
label: z.ZodOptional<z.ZodString>;
|
|
743
743
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -755,12 +755,12 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
755
755
|
}>>>;
|
|
756
756
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
757
757
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
758
|
-
created_source: z.ZodOptional<z.
|
|
758
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
759
759
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
760
760
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
761
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
761
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
762
762
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
763
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
763
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
764
764
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
765
765
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
766
766
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -768,7 +768,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
768
768
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
769
769
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
770
770
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
771
|
-
type: z.
|
|
771
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
772
772
|
id: z.ZodString;
|
|
773
773
|
label: z.ZodOptional<z.ZodString>;
|
|
774
774
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -786,12 +786,12 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
786
786
|
}>>>;
|
|
787
787
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
788
788
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
789
|
-
created_source: z.ZodOptional<z.
|
|
789
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
790
790
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
791
791
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
792
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
792
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
793
793
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
794
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
794
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
795
795
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
796
796
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
797
797
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -817,14 +817,14 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
817
817
|
name: string;
|
|
818
818
|
hidden: boolean;
|
|
819
819
|
base?: boolean | undefined;
|
|
820
|
-
category?: string | null | undefined;
|
|
821
820
|
color?: string | undefined;
|
|
821
|
+
category?: string | null | undefined;
|
|
822
822
|
}, {
|
|
823
823
|
name: string;
|
|
824
824
|
hidden: boolean;
|
|
825
825
|
base?: boolean | undefined;
|
|
826
|
-
category?: string | null | undefined;
|
|
827
826
|
color?: string | undefined;
|
|
827
|
+
category?: string | null | undefined;
|
|
828
828
|
}>, "many">>>;
|
|
829
829
|
capture_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
830
830
|
userRef: z.ZodAny;
|
|
@@ -7548,6 +7548,28 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
7548
7548
|
suppressed_alert_fingerprints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7549
7549
|
deleted_by_login_id: z.ZodOptional<z.ZodString>;
|
|
7550
7550
|
deleted_reason: z.ZodOptional<z.ZodString>;
|
|
7551
|
+
reevaluation: z.ZodOptional<z.ZodObject<{
|
|
7552
|
+
by_login_id: z.ZodString;
|
|
7553
|
+
at: z.ZodEffects<z.ZodDate, Date, unknown>;
|
|
7554
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
7555
|
+
previous_score: z.ZodNullable<z.ZodNumber>;
|
|
7556
|
+
previous_status: z.ZodNullable<z.ZodString>;
|
|
7557
|
+
previous_version: z.ZodNullable<z.ZodNumber>;
|
|
7558
|
+
}, "strip", z.ZodTypeAny, {
|
|
7559
|
+
at: Date;
|
|
7560
|
+
by_login_id: string;
|
|
7561
|
+
previous_score: number | null;
|
|
7562
|
+
previous_status: string | null;
|
|
7563
|
+
previous_version: number | null;
|
|
7564
|
+
reason?: string | undefined;
|
|
7565
|
+
}, {
|
|
7566
|
+
by_login_id: string;
|
|
7567
|
+
previous_score: number | null;
|
|
7568
|
+
previous_status: string | null;
|
|
7569
|
+
previous_version: number | null;
|
|
7570
|
+
at?: unknown;
|
|
7571
|
+
reason?: string | undefined;
|
|
7572
|
+
}>>;
|
|
7551
7573
|
verification: z.ZodOptional<z.ZodEnum<["pending", "confirmed_ok", "confirmed", "inconclusive"]>>;
|
|
7552
7574
|
policy_snapshot_hash: z.ZodNullable<z.ZodString>;
|
|
7553
7575
|
dictionary_snapshot_hash: z.ZodNullable<z.ZodString>;
|
|
@@ -10013,6 +10035,28 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
10013
10035
|
suppressed_alert_fingerprints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10014
10036
|
deleted_by_login_id: z.ZodOptional<z.ZodString>;
|
|
10015
10037
|
deleted_reason: z.ZodOptional<z.ZodString>;
|
|
10038
|
+
reevaluation: z.ZodOptional<z.ZodObject<{
|
|
10039
|
+
by_login_id: z.ZodString;
|
|
10040
|
+
at: z.ZodEffects<z.ZodDate, Date, unknown>;
|
|
10041
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
10042
|
+
previous_score: z.ZodNullable<z.ZodNumber>;
|
|
10043
|
+
previous_status: z.ZodNullable<z.ZodString>;
|
|
10044
|
+
previous_version: z.ZodNullable<z.ZodNumber>;
|
|
10045
|
+
}, "strip", z.ZodTypeAny, {
|
|
10046
|
+
at: Date;
|
|
10047
|
+
by_login_id: string;
|
|
10048
|
+
previous_score: number | null;
|
|
10049
|
+
previous_status: string | null;
|
|
10050
|
+
previous_version: number | null;
|
|
10051
|
+
reason?: string | undefined;
|
|
10052
|
+
}, {
|
|
10053
|
+
by_login_id: string;
|
|
10054
|
+
previous_score: number | null;
|
|
10055
|
+
previous_status: string | null;
|
|
10056
|
+
previous_version: number | null;
|
|
10057
|
+
at?: unknown;
|
|
10058
|
+
reason?: string | undefined;
|
|
10059
|
+
}>>;
|
|
10016
10060
|
verification: z.ZodOptional<z.ZodEnum<["pending", "confirmed_ok", "confirmed", "inconclusive"]>>;
|
|
10017
10061
|
policy_snapshot_hash: z.ZodNullable<z.ZodString>;
|
|
10018
10062
|
dictionary_snapshot_hash: z.ZodNullable<z.ZodString>;
|
|
@@ -12478,6 +12522,28 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
12478
12522
|
suppressed_alert_fingerprints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12479
12523
|
deleted_by_login_id: z.ZodOptional<z.ZodString>;
|
|
12480
12524
|
deleted_reason: z.ZodOptional<z.ZodString>;
|
|
12525
|
+
reevaluation: z.ZodOptional<z.ZodObject<{
|
|
12526
|
+
by_login_id: z.ZodString;
|
|
12527
|
+
at: z.ZodEffects<z.ZodDate, Date, unknown>;
|
|
12528
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
12529
|
+
previous_score: z.ZodNullable<z.ZodNumber>;
|
|
12530
|
+
previous_status: z.ZodNullable<z.ZodString>;
|
|
12531
|
+
previous_version: z.ZodNullable<z.ZodNumber>;
|
|
12532
|
+
}, "strip", z.ZodTypeAny, {
|
|
12533
|
+
at: Date;
|
|
12534
|
+
by_login_id: string;
|
|
12535
|
+
previous_score: number | null;
|
|
12536
|
+
previous_status: string | null;
|
|
12537
|
+
previous_version: number | null;
|
|
12538
|
+
reason?: string | undefined;
|
|
12539
|
+
}, {
|
|
12540
|
+
by_login_id: string;
|
|
12541
|
+
previous_score: number | null;
|
|
12542
|
+
previous_status: string | null;
|
|
12543
|
+
previous_version: number | null;
|
|
12544
|
+
at?: unknown;
|
|
12545
|
+
reason?: string | undefined;
|
|
12546
|
+
}>>;
|
|
12481
12547
|
verification: z.ZodOptional<z.ZodEnum<["pending", "confirmed_ok", "confirmed", "inconclusive"]>>;
|
|
12482
12548
|
policy_snapshot_hash: z.ZodNullable<z.ZodString>;
|
|
12483
12549
|
dictionary_snapshot_hash: z.ZodNullable<z.ZodString>;
|
|
@@ -12778,6 +12844,8 @@ export declare const zCsqDryRunRequestSchema: z.ZodObject<{
|
|
|
12778
12844
|
login_id: string;
|
|
12779
12845
|
client_id?: string | null | undefined;
|
|
12780
12846
|
}>>>;
|
|
12847
|
+
persist: z.ZodOptional<z.ZodBoolean>;
|
|
12848
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12781
12849
|
}, "strict", z.ZodTypeAny, {
|
|
12782
12850
|
tenant: string;
|
|
12783
12851
|
ticket_id: string;
|
|
@@ -12787,8 +12855,10 @@ export declare const zCsqDryRunRequestSchema: z.ZodObject<{
|
|
|
12787
12855
|
login_id: string;
|
|
12788
12856
|
client_id?: string | null | undefined;
|
|
12789
12857
|
} | null | undefined;
|
|
12858
|
+
reason?: string | null | undefined;
|
|
12790
12859
|
connection_id?: string | null | undefined;
|
|
12791
12860
|
force_review?: boolean | undefined;
|
|
12861
|
+
persist?: boolean | undefined;
|
|
12792
12862
|
}, {
|
|
12793
12863
|
tenant: string;
|
|
12794
12864
|
ticket_id: string;
|
|
@@ -12798,8 +12868,10 @@ export declare const zCsqDryRunRequestSchema: z.ZodObject<{
|
|
|
12798
12868
|
login_id: string;
|
|
12799
12869
|
client_id?: string | null | undefined;
|
|
12800
12870
|
} | null | undefined;
|
|
12871
|
+
reason?: string | null | undefined;
|
|
12801
12872
|
connection_id?: string | null | undefined;
|
|
12802
12873
|
force_review?: boolean | undefined;
|
|
12874
|
+
persist?: boolean | undefined;
|
|
12803
12875
|
}>;
|
|
12804
12876
|
export declare const zCsqDryRunResultSchema: z.ZodObject<{
|
|
12805
12877
|
outcome: z.ZodString;
|
|
@@ -13125,6 +13197,24 @@ export declare const zCsqDryRunResultSchema: z.ZodObject<{
|
|
|
13125
13197
|
triage_mode: z.ZodNullable<z.ZodEnum<["skip_llm", "full_review"]>>;
|
|
13126
13198
|
cost_usd_est: z.ZodNullable<z.ZodNumber>;
|
|
13127
13199
|
duration_ms: z.ZodNumber;
|
|
13200
|
+
persisted: z.ZodOptional<z.ZodBoolean>;
|
|
13201
|
+
persist_action: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13202
|
+
previous: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13203
|
+
evaluation_id: z.ZodNullable<z.ZodString>;
|
|
13204
|
+
score: z.ZodNullable<z.ZodNumber>;
|
|
13205
|
+
status: z.ZodNullable<z.ZodString>;
|
|
13206
|
+
version: z.ZodNullable<z.ZodNumber>;
|
|
13207
|
+
}, "strip", z.ZodTypeAny, {
|
|
13208
|
+
status: string | null;
|
|
13209
|
+
version: number | null;
|
|
13210
|
+
evaluation_id: string | null;
|
|
13211
|
+
score: number | null;
|
|
13212
|
+
}, {
|
|
13213
|
+
status: string | null;
|
|
13214
|
+
version: number | null;
|
|
13215
|
+
evaluation_id: string | null;
|
|
13216
|
+
score: number | null;
|
|
13217
|
+
}>>>;
|
|
13128
13218
|
}, "strip", z.ZodTypeAny, {
|
|
13129
13219
|
duration_ms: number;
|
|
13130
13220
|
model: string | null;
|
|
@@ -13243,6 +13333,14 @@ export declare const zCsqDryRunResultSchema: z.ZodObject<{
|
|
|
13243
13333
|
report: Record<string, unknown> | null;
|
|
13244
13334
|
detail: string | null;
|
|
13245
13335
|
triage_mode: "skip_llm" | "full_review" | null;
|
|
13336
|
+
persisted?: boolean | undefined;
|
|
13337
|
+
persist_action?: string | null | undefined;
|
|
13338
|
+
previous?: {
|
|
13339
|
+
status: string | null;
|
|
13340
|
+
version: number | null;
|
|
13341
|
+
evaluation_id: string | null;
|
|
13342
|
+
score: number | null;
|
|
13343
|
+
} | null | undefined;
|
|
13246
13344
|
}, {
|
|
13247
13345
|
duration_ms: number;
|
|
13248
13346
|
model: string | null;
|
|
@@ -13361,4 +13459,12 @@ export declare const zCsqDryRunResultSchema: z.ZodObject<{
|
|
|
13361
13459
|
report: Record<string, unknown> | null;
|
|
13362
13460
|
detail: string | null;
|
|
13363
13461
|
triage_mode: "skip_llm" | "full_review" | null;
|
|
13462
|
+
persisted?: boolean | undefined;
|
|
13463
|
+
persist_action?: string | null | undefined;
|
|
13464
|
+
previous?: {
|
|
13465
|
+
status: string | null;
|
|
13466
|
+
version: number | null;
|
|
13467
|
+
evaluation_id: string | null;
|
|
13468
|
+
score: number | null;
|
|
13469
|
+
} | null | undefined;
|
|
13364
13470
|
}>;
|
|
@@ -732,6 +732,16 @@ exports.zCsqLeadReportSchema = zod_schemas_1.zFireDocSchema
|
|
|
732
732
|
suppressed_alert_fingerprints: zod_1.z.array(zod_1.z.string()).optional(),
|
|
733
733
|
deleted_by_login_id: zod_1.z.string().optional(),
|
|
734
734
|
deleted_reason: zod_1.z.string().optional(),
|
|
735
|
+
reevaluation: zod_1.z
|
|
736
|
+
.object({
|
|
737
|
+
by_login_id: zod_1.z.string(),
|
|
738
|
+
at: zod_schemas_1.zFirestoreDateSchema,
|
|
739
|
+
reason: zod_1.z.string().optional(),
|
|
740
|
+
previous_score: zod_1.z.number().nullable(),
|
|
741
|
+
previous_status: zod_1.z.string().nullable(),
|
|
742
|
+
previous_version: zod_1.z.number().nullable(),
|
|
743
|
+
})
|
|
744
|
+
.optional(),
|
|
735
745
|
verification: exports.zCsqVerificationStateSchema.optional(),
|
|
736
746
|
policy_snapshot_hash: zod_1.z.string().nullable(),
|
|
737
747
|
dictionary_snapshot_hash: zod_1.z.string().nullable(),
|
|
@@ -767,6 +777,8 @@ exports.zCsqDryRunRequestSchema = zod_1.z
|
|
|
767
777
|
.object({ login_id: zod_1.z.string().min(1), client_id: zod_1.z.string().nullable().optional() })
|
|
768
778
|
.nullable()
|
|
769
779
|
.optional(),
|
|
780
|
+
persist: zod_1.z.boolean().optional(),
|
|
781
|
+
reason: zod_1.z.string().max(500).nullable().optional(),
|
|
770
782
|
})
|
|
771
783
|
.strict();
|
|
772
784
|
exports.zCsqDryRunResultSchema = zod_1.z.object({
|
|
@@ -784,4 +796,15 @@ exports.zCsqDryRunResultSchema = zod_1.z.object({
|
|
|
784
796
|
triage_mode: exports.zCsqTriageModeSchema.nullable(),
|
|
785
797
|
cost_usd_est: zod_1.z.number().nullable(),
|
|
786
798
|
duration_ms: zod_1.z.number(),
|
|
799
|
+
persisted: zod_1.z.boolean().optional(),
|
|
800
|
+
persist_action: zod_1.z.string().nullable().optional(),
|
|
801
|
+
previous: zod_1.z
|
|
802
|
+
.object({
|
|
803
|
+
evaluation_id: zod_1.z.string().nullable(),
|
|
804
|
+
score: zod_1.z.number().nullable(),
|
|
805
|
+
status: zod_1.z.string().nullable(),
|
|
806
|
+
version: zod_1.z.number().nullable(),
|
|
807
|
+
})
|
|
808
|
+
.nullable()
|
|
809
|
+
.optional(),
|
|
787
810
|
});
|
|
@@ -842,6 +842,16 @@ export const zCsqLeadReportSchema = zFireDocSchema
|
|
|
842
842
|
suppressed_alert_fingerprints: z.array(z.string()).optional(),
|
|
843
843
|
deleted_by_login_id: z.string().optional(),
|
|
844
844
|
deleted_reason: z.string().optional(),
|
|
845
|
+
reevaluation: z
|
|
846
|
+
.object({
|
|
847
|
+
by_login_id: z.string(),
|
|
848
|
+
at: zFirestoreDateSchema,
|
|
849
|
+
reason: z.string().optional(),
|
|
850
|
+
previous_score: z.number().nullable(),
|
|
851
|
+
previous_status: z.string().nullable(),
|
|
852
|
+
previous_version: z.number().nullable(),
|
|
853
|
+
})
|
|
854
|
+
.optional(),
|
|
845
855
|
verification: zCsqVerificationStateSchema.optional(),
|
|
846
856
|
|
|
847
857
|
policy_snapshot_hash: z.string().nullable(),
|
|
@@ -882,6 +892,8 @@ export const zCsqDryRunRequestSchema = z
|
|
|
882
892
|
.object({ login_id: z.string().min(1), client_id: z.string().nullable().optional() })
|
|
883
893
|
.nullable()
|
|
884
894
|
.optional(),
|
|
895
|
+
persist: z.boolean().optional(),
|
|
896
|
+
reason: z.string().max(500).nullable().optional(),
|
|
885
897
|
})
|
|
886
898
|
.strict();
|
|
887
899
|
|
|
@@ -900,4 +912,15 @@ export const zCsqDryRunResultSchema = z.object({
|
|
|
900
912
|
triage_mode: zCsqTriageModeSchema.nullable(),
|
|
901
913
|
cost_usd_est: z.number().nullable(),
|
|
902
914
|
duration_ms: z.number(),
|
|
915
|
+
persisted: z.boolean().optional(),
|
|
916
|
+
persist_action: z.string().nullable().optional(),
|
|
917
|
+
previous: z
|
|
918
|
+
.object({
|
|
919
|
+
evaluation_id: z.string().nullable(),
|
|
920
|
+
score: z.number().nullable(),
|
|
921
|
+
status: z.string().nullable(),
|
|
922
|
+
version: z.number().nullable(),
|
|
923
|
+
})
|
|
924
|
+
.nullable()
|
|
925
|
+
.optional(),
|
|
903
926
|
});
|