evo360-types 1.3.634 → 1.3.637
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/chatbee/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 +70 -18
- package/dist/apps/evo-crm/dic/zod-schemas.js +17 -1
- package/dist/apps/evo-crm/dic/zod-schemas.ts +20 -0
- package/dist/apps/evo-crm/lead/zod-schemas.d.ts +240 -6
- package/dist/apps/evo-crm/lead/zod-schemas.js +6 -0
- package/dist/apps/evo-crm/lead/zod-schemas.ts +6 -0
- package/dist/apps/evo-csq/zod-schemas.d.ts +52 -52
- package/dist/apps/evo-finops/zod-schemas.d.ts +439 -7
- package/dist/apps/evo-hub-ia/channel/zod-schemas.d.ts +2 -2
- package/dist/apps/evo-hub-ia/v1/zod-schemas.d.ts +28 -28
- package/dist/apps/evo-integrations/zod-schemas.d.ts +24 -16
- package/dist/apps/evo-integrations/zod-schemas.js +8 -1
- package/dist/apps/evo-integrations/zod-schemas.ts +9 -0
- package/dist/apps/evo-med/appointment/zod-schemas.d.ts +83 -6
- package/dist/apps/evo-med/appointment/zod-schemas.js +19 -1
- package/dist/apps/evo-med/appointment/zod-schemas.ts +21 -0
- package/dist/apps/evo-med/calendar/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/dic/zod-schemas.d.ts +14 -14
- package/dist/apps/evo-med/insurance/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/people/zod-schemas.d.ts +1118 -20
- package/dist/apps/evo-med/people/zod-schemas.js +6 -0
- package/dist/apps/evo-med/people/zod-schemas.ts +6 -0
- package/dist/apps/evo-med/procedure/zod-schemas.d.ts +12 -12
- package/dist/apps/evo-notif-user/zod-schemas.d.ts +18 -18
- package/dist/apps/evo-notifications/zod-schemas.d.ts +936 -0
- package/dist/apps/evo-people/zod-schemas.d.ts +24 -24
- package/dist/apps/evo-survey/zod-schemas.d.ts +79 -79
- package/dist/apps/evo-task/zod-schemas.d.ts +453 -78
- package/dist/apps/evo-task/zod-schemas.js +66 -1
- package/dist/apps/evo-task/zod-schemas.ts +71 -0
- package/dist/apps/evo-tenant/zod-schemas.d.ts +18 -5
- package/dist/apps/evo-tenant/zod-schemas.js +3 -0
- package/dist/apps/evo-tenant/zod-schemas.ts +3 -0
- package/dist/apps/hub-automation/zod-schemas.d.ts +327 -327
- package/dist/apps/shared/zod-schemas.d.ts +3 -3
- package/dist/types/evo-crm/dic/index.d.ts +16 -1
- package/dist/types/evo-crm/dic/index.ts +23 -1
- package/dist/types/evo-crm/fb_collections.d.ts +1 -0
- package/dist/types/evo-crm/fb_collections.js +5 -1
- package/dist/types/evo-crm/fb_collections.ts +4 -0
- package/dist/types/evo-crm/lead/index.d.ts +6 -0
- package/dist/types/evo-crm/lead/index.ts +6 -0
- package/dist/types/evo-integrations/index.d.ts +16 -0
- package/dist/types/evo-integrations/index.js +18 -1
- package/dist/types/evo-integrations/index.ts +26 -0
- package/dist/types/evo-med/appointment/index.d.ts +22 -0
- package/dist/types/evo-med/appointment/index.js +7 -1
- package/dist/types/evo-med/appointment/index.ts +30 -0
- package/dist/types/evo-med/people/index.d.ts +6 -0
- package/dist/types/evo-med/people/index.ts +6 -0
- package/dist/types/evo-tenant/index.d.ts +7 -0
- package/dist/types/evo-tenant/index.ts +7 -0
- package/dist/types/shared/external-links.d.ts +98 -0
- package/dist/types/shared/external-links.js +64 -1
- package/dist/types/shared/external-links.ts +118 -0
- package/package.json +1 -1
|
@@ -184,18 +184,90 @@ export declare const zNotificationMessageSchema: z.ZodObject<{
|
|
|
184
184
|
label: z.ZodOptional<z.ZodString>;
|
|
185
185
|
ref: z.ZodOptional<z.ZodAny>;
|
|
186
186
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
187
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
188
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
189
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
190
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
191
|
+
}, "strip", z.ZodTypeAny, {
|
|
192
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
193
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
194
|
+
}, {
|
|
195
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
196
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
197
|
+
}>>>;
|
|
198
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
199
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
200
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
201
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
202
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
203
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
204
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
205
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
206
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
207
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
208
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
209
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
210
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
187
211
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
188
212
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
189
213
|
id: z.ZodString;
|
|
190
214
|
label: z.ZodOptional<z.ZodString>;
|
|
191
215
|
ref: z.ZodOptional<z.ZodAny>;
|
|
192
216
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
217
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
218
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
219
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
220
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
221
|
+
}, "strip", z.ZodTypeAny, {
|
|
222
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
223
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
224
|
+
}, {
|
|
225
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
226
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
227
|
+
}>>>;
|
|
228
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
229
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
230
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
231
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
232
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
233
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
234
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
235
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
236
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
237
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
238
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
239
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
240
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
193
241
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
194
242
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
195
243
|
id: z.ZodString;
|
|
196
244
|
label: z.ZodOptional<z.ZodString>;
|
|
197
245
|
ref: z.ZodOptional<z.ZodAny>;
|
|
198
246
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
247
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
248
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
249
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
250
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
251
|
+
}, "strip", z.ZodTypeAny, {
|
|
252
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
253
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
254
|
+
}, {
|
|
255
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
256
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
257
|
+
}>>>;
|
|
258
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
259
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
260
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
261
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
262
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
263
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
264
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
265
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
266
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
267
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
268
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
269
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
270
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
199
271
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
200
272
|
externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
201
273
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -304,18 +376,90 @@ export declare const zNotificationMessageSchema: z.ZodObject<{
|
|
|
304
376
|
label: z.ZodOptional<z.ZodString>;
|
|
305
377
|
ref: z.ZodOptional<z.ZodAny>;
|
|
306
378
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
379
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
380
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
381
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
382
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
383
|
+
}, "strip", z.ZodTypeAny, {
|
|
384
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
385
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
386
|
+
}, {
|
|
387
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
388
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
389
|
+
}>>>;
|
|
390
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
391
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
392
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
393
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
394
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
395
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
396
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
397
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
398
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
399
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
400
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
401
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
402
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
307
403
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
308
404
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
309
405
|
id: z.ZodString;
|
|
310
406
|
label: z.ZodOptional<z.ZodString>;
|
|
311
407
|
ref: z.ZodOptional<z.ZodAny>;
|
|
312
408
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
409
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
410
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
411
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
412
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
413
|
+
}, "strip", z.ZodTypeAny, {
|
|
414
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
415
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
416
|
+
}, {
|
|
417
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
418
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
419
|
+
}>>>;
|
|
420
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
421
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
422
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
423
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
424
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
425
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
426
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
427
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
428
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
429
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
430
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
431
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
432
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
313
433
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
314
434
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
315
435
|
id: z.ZodString;
|
|
316
436
|
label: z.ZodOptional<z.ZodString>;
|
|
317
437
|
ref: z.ZodOptional<z.ZodAny>;
|
|
318
438
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
439
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
440
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
441
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
442
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
443
|
+
}, "strip", z.ZodTypeAny, {
|
|
444
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
445
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
446
|
+
}, {
|
|
447
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
448
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
449
|
+
}>>>;
|
|
450
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
451
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
452
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
453
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
454
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
455
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
456
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
457
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
458
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
459
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
460
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
461
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
462
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
319
463
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
320
464
|
externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
321
465
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -424,18 +568,90 @@ export declare const zNotificationMessageSchema: z.ZodObject<{
|
|
|
424
568
|
label: z.ZodOptional<z.ZodString>;
|
|
425
569
|
ref: z.ZodOptional<z.ZodAny>;
|
|
426
570
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
571
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
572
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
573
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
574
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
575
|
+
}, "strip", z.ZodTypeAny, {
|
|
576
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
577
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
578
|
+
}, {
|
|
579
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
580
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
581
|
+
}>>>;
|
|
582
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
583
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
584
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
585
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
586
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
587
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
588
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
589
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
590
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
591
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
592
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
593
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
594
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
427
595
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
428
596
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
429
597
|
id: z.ZodString;
|
|
430
598
|
label: z.ZodOptional<z.ZodString>;
|
|
431
599
|
ref: z.ZodOptional<z.ZodAny>;
|
|
432
600
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
601
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
602
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
603
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
604
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
605
|
+
}, "strip", z.ZodTypeAny, {
|
|
606
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
607
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
608
|
+
}, {
|
|
609
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
610
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
611
|
+
}>>>;
|
|
612
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
613
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
614
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
615
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
616
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
617
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
618
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
619
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
620
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
621
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
622
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
623
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
624
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
433
625
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
434
626
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
435
627
|
id: z.ZodString;
|
|
436
628
|
label: z.ZodOptional<z.ZodString>;
|
|
437
629
|
ref: z.ZodOptional<z.ZodAny>;
|
|
438
630
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
631
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
632
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
633
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
634
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
635
|
+
}, "strip", z.ZodTypeAny, {
|
|
636
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
637
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
638
|
+
}, {
|
|
639
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
640
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
641
|
+
}>>>;
|
|
642
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
643
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
644
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
645
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
646
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
647
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
648
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
649
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
650
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
651
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
652
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
653
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
654
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
439
655
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
440
656
|
externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
441
657
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -731,18 +947,90 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
731
947
|
label: z.ZodOptional<z.ZodString>;
|
|
732
948
|
ref: z.ZodOptional<z.ZodAny>;
|
|
733
949
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
950
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
951
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
952
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
953
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
954
|
+
}, "strip", z.ZodTypeAny, {
|
|
955
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
956
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
957
|
+
}, {
|
|
958
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
959
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
960
|
+
}>>>;
|
|
961
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
962
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
963
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
964
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
965
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
966
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
967
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
968
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
969
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
970
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
971
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
972
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
973
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
734
974
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
735
975
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
736
976
|
id: z.ZodString;
|
|
737
977
|
label: z.ZodOptional<z.ZodString>;
|
|
738
978
|
ref: z.ZodOptional<z.ZodAny>;
|
|
739
979
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
980
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
981
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
982
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
983
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
984
|
+
}, "strip", z.ZodTypeAny, {
|
|
985
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
986
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
987
|
+
}, {
|
|
988
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
989
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
990
|
+
}>>>;
|
|
991
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
992
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
993
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
994
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
995
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
996
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
997
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
998
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
999
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1000
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1001
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1002
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1003
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
740
1004
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
741
1005
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
742
1006
|
id: z.ZodString;
|
|
743
1007
|
label: z.ZodOptional<z.ZodString>;
|
|
744
1008
|
ref: z.ZodOptional<z.ZodAny>;
|
|
745
1009
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1010
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1011
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1012
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1013
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1014
|
+
}, "strip", z.ZodTypeAny, {
|
|
1015
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1016
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1017
|
+
}, {
|
|
1018
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1019
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1020
|
+
}>>>;
|
|
1021
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1022
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1023
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1024
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1025
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1026
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1027
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1028
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1029
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1030
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1031
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1032
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1033
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
746
1034
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
747
1035
|
quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
748
1036
|
action_type: z.ZodString;
|
|
@@ -862,18 +1150,90 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
862
1150
|
label: z.ZodOptional<z.ZodString>;
|
|
863
1151
|
ref: z.ZodOptional<z.ZodAny>;
|
|
864
1152
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1153
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1154
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1155
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1156
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1157
|
+
}, "strip", z.ZodTypeAny, {
|
|
1158
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1159
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1160
|
+
}, {
|
|
1161
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1162
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1163
|
+
}>>>;
|
|
1164
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1165
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1166
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1167
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1168
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1169
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1170
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1171
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1172
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1173
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1174
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1175
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1176
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
865
1177
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
866
1178
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
867
1179
|
id: z.ZodString;
|
|
868
1180
|
label: z.ZodOptional<z.ZodString>;
|
|
869
1181
|
ref: z.ZodOptional<z.ZodAny>;
|
|
870
1182
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1183
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1184
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1185
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1186
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1187
|
+
}, "strip", z.ZodTypeAny, {
|
|
1188
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1189
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1190
|
+
}, {
|
|
1191
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1192
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1193
|
+
}>>>;
|
|
1194
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1195
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1196
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1197
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1198
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1199
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1200
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1201
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1202
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1203
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1204
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1205
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1206
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
871
1207
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
872
1208
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
873
1209
|
id: z.ZodString;
|
|
874
1210
|
label: z.ZodOptional<z.ZodString>;
|
|
875
1211
|
ref: z.ZodOptional<z.ZodAny>;
|
|
876
1212
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1213
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1214
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1215
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1216
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1217
|
+
}, "strip", z.ZodTypeAny, {
|
|
1218
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1219
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1220
|
+
}, {
|
|
1221
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1222
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1223
|
+
}>>>;
|
|
1224
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1225
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1226
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1227
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1228
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1229
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1230
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1231
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1232
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1233
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1234
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1235
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1236
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
877
1237
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
878
1238
|
quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
879
1239
|
action_type: z.ZodString;
|
|
@@ -993,18 +1353,90 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
993
1353
|
label: z.ZodOptional<z.ZodString>;
|
|
994
1354
|
ref: z.ZodOptional<z.ZodAny>;
|
|
995
1355
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1356
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1357
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1358
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1359
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1360
|
+
}, "strip", z.ZodTypeAny, {
|
|
1361
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1362
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1363
|
+
}, {
|
|
1364
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1365
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1366
|
+
}>>>;
|
|
1367
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1368
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1369
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1370
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1371
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1372
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1373
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1374
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1375
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1376
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1377
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1378
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1379
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
996
1380
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
997
1381
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
998
1382
|
id: z.ZodString;
|
|
999
1383
|
label: z.ZodOptional<z.ZodString>;
|
|
1000
1384
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1001
1385
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1386
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1387
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1388
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1389
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1390
|
+
}, "strip", z.ZodTypeAny, {
|
|
1391
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1392
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1393
|
+
}, {
|
|
1394
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1395
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1396
|
+
}>>>;
|
|
1397
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1398
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1399
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1400
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1401
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1402
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1403
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1404
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1405
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1406
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1407
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1408
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1409
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1002
1410
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1003
1411
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1004
1412
|
id: z.ZodString;
|
|
1005
1413
|
label: z.ZodOptional<z.ZodString>;
|
|
1006
1414
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1007
1415
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1416
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1417
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1418
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1419
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1420
|
+
}, "strip", z.ZodTypeAny, {
|
|
1421
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1422
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1423
|
+
}, {
|
|
1424
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1425
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1426
|
+
}>>>;
|
|
1427
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1428
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1429
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1430
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1431
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1432
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1433
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1434
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1435
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1436
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1437
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1438
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1439
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1008
1440
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
1009
1441
|
quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1010
1442
|
action_type: z.ZodString;
|
|
@@ -1124,18 +1556,90 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1124
1556
|
label: z.ZodOptional<z.ZodString>;
|
|
1125
1557
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1126
1558
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1559
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1560
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1561
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1562
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1563
|
+
}, "strip", z.ZodTypeAny, {
|
|
1564
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1565
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1566
|
+
}, {
|
|
1567
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1568
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1569
|
+
}>>>;
|
|
1570
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1571
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1572
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1573
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1574
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1575
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1576
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1577
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1578
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1579
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1580
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1581
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1582
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1127
1583
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1128
1584
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1129
1585
|
id: z.ZodString;
|
|
1130
1586
|
label: z.ZodOptional<z.ZodString>;
|
|
1131
1587
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1132
1588
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1589
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1590
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1591
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1592
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1593
|
+
}, "strip", z.ZodTypeAny, {
|
|
1594
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1595
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1596
|
+
}, {
|
|
1597
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1598
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1599
|
+
}>>>;
|
|
1600
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1601
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1602
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1603
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1604
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1605
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1606
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1607
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1608
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1609
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1610
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1611
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1612
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1133
1613
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1134
1614
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1135
1615
|
id: z.ZodString;
|
|
1136
1616
|
label: z.ZodOptional<z.ZodString>;
|
|
1137
1617
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1138
1618
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1619
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1620
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1621
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1622
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1623
|
+
}, "strip", z.ZodTypeAny, {
|
|
1624
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1625
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1626
|
+
}, {
|
|
1627
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1628
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1629
|
+
}>>>;
|
|
1630
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1631
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1632
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1633
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1634
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1635
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1636
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1637
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1638
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1639
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1640
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1641
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1642
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1139
1643
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
1140
1644
|
quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1141
1645
|
action_type: z.ZodString;
|
|
@@ -1255,18 +1759,90 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1255
1759
|
label: z.ZodOptional<z.ZodString>;
|
|
1256
1760
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1257
1761
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1762
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1763
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1764
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1765
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1766
|
+
}, "strip", z.ZodTypeAny, {
|
|
1767
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1768
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1769
|
+
}, {
|
|
1770
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1771
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1772
|
+
}>>>;
|
|
1773
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1774
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1775
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1776
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1777
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1778
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1779
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1780
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1781
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1782
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1783
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1784
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1785
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1258
1786
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1259
1787
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1260
1788
|
id: z.ZodString;
|
|
1261
1789
|
label: z.ZodOptional<z.ZodString>;
|
|
1262
1790
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1263
1791
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1792
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1793
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1794
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1795
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1796
|
+
}, "strip", z.ZodTypeAny, {
|
|
1797
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1798
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1799
|
+
}, {
|
|
1800
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1801
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1802
|
+
}>>>;
|
|
1803
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1804
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1805
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1806
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1807
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1808
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1809
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1810
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1811
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1812
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1813
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1814
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1815
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1264
1816
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1265
1817
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1266
1818
|
id: z.ZodString;
|
|
1267
1819
|
label: z.ZodOptional<z.ZodString>;
|
|
1268
1820
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1269
1821
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1822
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1823
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1824
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1825
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1826
|
+
}, "strip", z.ZodTypeAny, {
|
|
1827
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1828
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1829
|
+
}, {
|
|
1830
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1831
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1832
|
+
}>>>;
|
|
1833
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1834
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1835
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1836
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1837
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1838
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1839
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1840
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1841
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1842
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1843
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1844
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1845
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1270
1846
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
1271
1847
|
quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1272
1848
|
action_type: z.ZodString;
|
|
@@ -1385,18 +1961,90 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1385
1961
|
label: z.ZodOptional<z.ZodString>;
|
|
1386
1962
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1387
1963
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1964
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1965
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1966
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1967
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1968
|
+
}, "strip", z.ZodTypeAny, {
|
|
1969
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1970
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1971
|
+
}, {
|
|
1972
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1973
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1974
|
+
}>>>;
|
|
1975
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1976
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1977
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1978
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1979
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1980
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1981
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1982
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
1983
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1984
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1985
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1986
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1987
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1388
1988
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1389
1989
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1390
1990
|
id: z.ZodString;
|
|
1391
1991
|
label: z.ZodOptional<z.ZodString>;
|
|
1392
1992
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1393
1993
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1994
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1995
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1996
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1997
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1998
|
+
}, "strip", z.ZodTypeAny, {
|
|
1999
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2000
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2001
|
+
}, {
|
|
2002
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2003
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2004
|
+
}>>>;
|
|
2005
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2006
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2007
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
2008
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2009
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2010
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2011
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2012
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2013
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2014
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2015
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2016
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2017
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1394
2018
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1395
2019
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1396
2020
|
id: z.ZodString;
|
|
1397
2021
|
label: z.ZodOptional<z.ZodString>;
|
|
1398
2022
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1399
2023
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
2024
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
2025
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2026
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
2027
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
2028
|
+
}, "strip", z.ZodTypeAny, {
|
|
2029
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2030
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2031
|
+
}, {
|
|
2032
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2033
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2034
|
+
}>>>;
|
|
2035
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2036
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2037
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
2038
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2039
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2040
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2041
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2042
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2043
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2044
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2045
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2046
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2047
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1400
2048
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
1401
2049
|
quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1402
2050
|
action_type: z.ZodString;
|
|
@@ -1501,18 +2149,90 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1501
2149
|
label: z.ZodOptional<z.ZodString>;
|
|
1502
2150
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1503
2151
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
2152
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
2153
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2154
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
2155
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
2156
|
+
}, "strip", z.ZodTypeAny, {
|
|
2157
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2158
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2159
|
+
}, {
|
|
2160
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2161
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2162
|
+
}>>>;
|
|
2163
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2164
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2165
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
2166
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2167
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2168
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2169
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2170
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2171
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2172
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2173
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2174
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2175
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1504
2176
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1505
2177
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1506
2178
|
id: z.ZodString;
|
|
1507
2179
|
label: z.ZodOptional<z.ZodString>;
|
|
1508
2180
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1509
2181
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
2182
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
2183
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2184
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
2185
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
2186
|
+
}, "strip", z.ZodTypeAny, {
|
|
2187
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2188
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2189
|
+
}, {
|
|
2190
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2191
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2192
|
+
}>>>;
|
|
2193
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2194
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2195
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
2196
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2197
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2198
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2199
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2200
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2201
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2202
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2203
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2204
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2205
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1510
2206
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1511
2207
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1512
2208
|
id: z.ZodString;
|
|
1513
2209
|
label: z.ZodOptional<z.ZodString>;
|
|
1514
2210
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1515
2211
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
2212
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
2213
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2214
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
2215
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
2216
|
+
}, "strip", z.ZodTypeAny, {
|
|
2217
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2218
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2219
|
+
}, {
|
|
2220
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2221
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2222
|
+
}>>>;
|
|
2223
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2224
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2225
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
2226
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2227
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2228
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2229
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2230
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2231
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2232
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2233
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2234
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2235
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1516
2236
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
1517
2237
|
quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1518
2238
|
action_type: z.ZodString;
|
|
@@ -1617,18 +2337,90 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1617
2337
|
label: z.ZodOptional<z.ZodString>;
|
|
1618
2338
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1619
2339
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
2340
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
2341
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2342
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
2343
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
2344
|
+
}, "strip", z.ZodTypeAny, {
|
|
2345
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2346
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2347
|
+
}, {
|
|
2348
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2349
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2350
|
+
}>>>;
|
|
2351
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2352
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2353
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
2354
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2355
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2356
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2357
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2358
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2359
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2360
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2361
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2362
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2363
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1620
2364
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1621
2365
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1622
2366
|
id: z.ZodString;
|
|
1623
2367
|
label: z.ZodOptional<z.ZodString>;
|
|
1624
2368
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1625
2369
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
2370
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
2371
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2372
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
2373
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
2374
|
+
}, "strip", z.ZodTypeAny, {
|
|
2375
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2376
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2377
|
+
}, {
|
|
2378
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2379
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2380
|
+
}>>>;
|
|
2381
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2382
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2383
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
2384
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2385
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2386
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2387
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2388
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2389
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2390
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2391
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2392
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2393
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1626
2394
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1627
2395
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1628
2396
|
id: z.ZodString;
|
|
1629
2397
|
label: z.ZodOptional<z.ZodString>;
|
|
1630
2398
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1631
2399
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
2400
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
2401
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2402
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
2403
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
2404
|
+
}, "strip", z.ZodTypeAny, {
|
|
2405
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2406
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2407
|
+
}, {
|
|
2408
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2409
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2410
|
+
}>>>;
|
|
2411
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2412
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2413
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
2414
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2415
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2416
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2417
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2418
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2419
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2420
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2421
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2422
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2423
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1632
2424
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
1633
2425
|
quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1634
2426
|
action_type: z.ZodString;
|
|
@@ -1733,18 +2525,90 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1733
2525
|
label: z.ZodOptional<z.ZodString>;
|
|
1734
2526
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1735
2527
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
2528
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
2529
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2530
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
2531
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
2532
|
+
}, "strip", z.ZodTypeAny, {
|
|
2533
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2534
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2535
|
+
}, {
|
|
2536
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2537
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2538
|
+
}>>>;
|
|
2539
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2540
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2541
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
2542
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2543
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2544
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2545
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2546
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2547
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2548
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2549
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2550
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2551
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1736
2552
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1737
2553
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1738
2554
|
id: z.ZodString;
|
|
1739
2555
|
label: z.ZodOptional<z.ZodString>;
|
|
1740
2556
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1741
2557
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
2558
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
2559
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2560
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
2561
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
2562
|
+
}, "strip", z.ZodTypeAny, {
|
|
2563
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2564
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2565
|
+
}, {
|
|
2566
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2567
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2568
|
+
}>>>;
|
|
2569
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2570
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2571
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
2572
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2573
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2574
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2575
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2576
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2577
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2578
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2579
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2580
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2581
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1742
2582
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1743
2583
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1744
2584
|
id: z.ZodString;
|
|
1745
2585
|
label: z.ZodOptional<z.ZodString>;
|
|
1746
2586
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1747
2587
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
2588
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
2589
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2590
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
2591
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
2592
|
+
}, "strip", z.ZodTypeAny, {
|
|
2593
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2594
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2595
|
+
}, {
|
|
2596
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2597
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2598
|
+
}>>>;
|
|
2599
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2600
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2601
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
2602
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2603
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2604
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2605
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2606
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2607
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2608
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2609
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2610
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2611
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1748
2612
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
1749
2613
|
quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1750
2614
|
action_type: z.ZodString;
|
|
@@ -1849,18 +2713,90 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1849
2713
|
label: z.ZodOptional<z.ZodString>;
|
|
1850
2714
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1851
2715
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
2716
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
2717
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2718
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
2719
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
2720
|
+
}, "strip", z.ZodTypeAny, {
|
|
2721
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2722
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2723
|
+
}, {
|
|
2724
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2725
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2726
|
+
}>>>;
|
|
2727
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2728
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2729
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
2730
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2731
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2732
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2733
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2734
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2735
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2736
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2737
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2738
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2739
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1852
2740
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1853
2741
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1854
2742
|
id: z.ZodString;
|
|
1855
2743
|
label: z.ZodOptional<z.ZodString>;
|
|
1856
2744
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1857
2745
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
2746
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
2747
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2748
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
2749
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
2750
|
+
}, "strip", z.ZodTypeAny, {
|
|
2751
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2752
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2753
|
+
}, {
|
|
2754
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2755
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2756
|
+
}>>>;
|
|
2757
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2758
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2759
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
2760
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2761
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2762
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2763
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2764
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2765
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2766
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2767
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2768
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2769
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1858
2770
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1859
2771
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1860
2772
|
id: z.ZodString;
|
|
1861
2773
|
label: z.ZodOptional<z.ZodString>;
|
|
1862
2774
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1863
2775
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
2776
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
2777
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2778
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
2779
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
2780
|
+
}, "strip", z.ZodTypeAny, {
|
|
2781
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2782
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2783
|
+
}, {
|
|
2784
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
2785
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
2786
|
+
}>>>;
|
|
2787
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2788
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2789
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
2790
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2791
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2792
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2793
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2794
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>>;
|
|
2795
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2796
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2797
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2798
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2799
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1864
2800
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
1865
2801
|
quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1866
2802
|
action_type: z.ZodString;
|