evo360-types 1.3.757 → 1.3.759
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-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/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;
|