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
|
@@ -10084,6 +10084,7 @@ export declare const zTakerTaxProfileSchema: z.ZodObject<{
|
|
|
10084
10084
|
}, "strip", z.ZodTypeAny, {
|
|
10085
10085
|
name: string;
|
|
10086
10086
|
type: "unknown" | "PJ" | "PF";
|
|
10087
|
+
company?: string | undefined;
|
|
10087
10088
|
email?: string | undefined;
|
|
10088
10089
|
address?: z.objectOutputType<{
|
|
10089
10090
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
@@ -10097,13 +10098,13 @@ export declare const zTakerTaxProfileSchema: z.ZodObject<{
|
|
|
10097
10098
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
10098
10099
|
phone?: string | undefined;
|
|
10099
10100
|
cpfCnpj?: string | undefined;
|
|
10100
|
-
company?: string | undefined;
|
|
10101
10101
|
municipal_inscription?: string | undefined;
|
|
10102
10102
|
state_inscription?: string | undefined;
|
|
10103
10103
|
observations?: string | undefined;
|
|
10104
10104
|
}, {
|
|
10105
10105
|
name: string;
|
|
10106
10106
|
type: "unknown" | "PJ" | "PF";
|
|
10107
|
+
company?: string | undefined;
|
|
10107
10108
|
email?: string | undefined;
|
|
10108
10109
|
address?: z.objectInputType<{
|
|
10109
10110
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
@@ -10117,7 +10118,6 @@ export declare const zTakerTaxProfileSchema: z.ZodObject<{
|
|
|
10117
10118
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
10118
10119
|
phone?: string | undefined;
|
|
10119
10120
|
cpfCnpj?: string | undefined;
|
|
10120
|
-
company?: string | undefined;
|
|
10121
10121
|
municipal_inscription?: string | undefined;
|
|
10122
10122
|
state_inscription?: string | undefined;
|
|
10123
10123
|
observations?: string | undefined;
|
|
@@ -10859,18 +10859,90 @@ export declare const zPaymentLinkSchema: z.ZodObject<{
|
|
|
10859
10859
|
label: z.ZodOptional<z.ZodString>;
|
|
10860
10860
|
ref: z.ZodOptional<z.ZodAny>;
|
|
10861
10861
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
10862
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
10863
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10864
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
10865
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
10866
|
+
}, "strip", z.ZodTypeAny, {
|
|
10867
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
10868
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
10869
|
+
}, {
|
|
10870
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
10871
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
10872
|
+
}>>>;
|
|
10873
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
10874
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10875
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
10876
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
10877
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10878
|
+
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"]>>>;
|
|
10879
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10880
|
+
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"]>>>;
|
|
10881
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
10882
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10883
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
10884
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10885
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10862
10886
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10863
10887
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
10864
10888
|
id: z.ZodString;
|
|
10865
10889
|
label: z.ZodOptional<z.ZodString>;
|
|
10866
10890
|
ref: z.ZodOptional<z.ZodAny>;
|
|
10867
10891
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
10892
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
10893
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10894
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
10895
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
10896
|
+
}, "strip", z.ZodTypeAny, {
|
|
10897
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
10898
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
10899
|
+
}, {
|
|
10900
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
10901
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
10902
|
+
}>>>;
|
|
10903
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
10904
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10905
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
10906
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
10907
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10908
|
+
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"]>>>;
|
|
10909
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10910
|
+
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"]>>>;
|
|
10911
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
10912
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10913
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
10914
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10915
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10868
10916
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10869
10917
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
10870
10918
|
id: z.ZodString;
|
|
10871
10919
|
label: z.ZodOptional<z.ZodString>;
|
|
10872
10920
|
ref: z.ZodOptional<z.ZodAny>;
|
|
10873
10921
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
10922
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
10923
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10924
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
10925
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
10926
|
+
}, "strip", z.ZodTypeAny, {
|
|
10927
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
10928
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
10929
|
+
}, {
|
|
10930
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
10931
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
10932
|
+
}>>>;
|
|
10933
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
10934
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10935
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
10936
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
10937
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10938
|
+
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"]>>>;
|
|
10939
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10940
|
+
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"]>>>;
|
|
10941
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
10942
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10943
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
10944
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10945
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10874
10946
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
10875
10947
|
externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10876
10948
|
raw: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -11047,18 +11119,90 @@ export declare const zPaymentLinkSchema: z.ZodObject<{
|
|
|
11047
11119
|
label: z.ZodOptional<z.ZodString>;
|
|
11048
11120
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11049
11121
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
11122
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
11123
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11124
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
11125
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
11126
|
+
}, "strip", z.ZodTypeAny, {
|
|
11127
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
11128
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
11129
|
+
}, {
|
|
11130
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
11131
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
11132
|
+
}>>>;
|
|
11133
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
11134
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11135
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
11136
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11137
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11138
|
+
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"]>>>;
|
|
11139
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11140
|
+
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"]>>>;
|
|
11141
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11142
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11143
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11144
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11145
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11050
11146
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11051
11147
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
11052
11148
|
id: z.ZodString;
|
|
11053
11149
|
label: z.ZodOptional<z.ZodString>;
|
|
11054
11150
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11055
11151
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
11152
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
11153
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11154
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
11155
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
11156
|
+
}, "strip", z.ZodTypeAny, {
|
|
11157
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
11158
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
11159
|
+
}, {
|
|
11160
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
11161
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
11162
|
+
}>>>;
|
|
11163
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
11164
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11165
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
11166
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11167
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11168
|
+
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"]>>>;
|
|
11169
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11170
|
+
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"]>>>;
|
|
11171
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11172
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11173
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11174
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11175
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11056
11176
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11057
11177
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
11058
11178
|
id: z.ZodString;
|
|
11059
11179
|
label: z.ZodOptional<z.ZodString>;
|
|
11060
11180
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11061
11181
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
11182
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
11183
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11184
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
11185
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
11186
|
+
}, "strip", z.ZodTypeAny, {
|
|
11187
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
11188
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
11189
|
+
}, {
|
|
11190
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
11191
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
11192
|
+
}>>>;
|
|
11193
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
11194
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11195
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
11196
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11197
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11198
|
+
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"]>>>;
|
|
11199
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11200
|
+
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"]>>>;
|
|
11201
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11202
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11203
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11204
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11205
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11062
11206
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
11063
11207
|
externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11064
11208
|
raw: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -11235,18 +11379,90 @@ export declare const zPaymentLinkSchema: z.ZodObject<{
|
|
|
11235
11379
|
label: z.ZodOptional<z.ZodString>;
|
|
11236
11380
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11237
11381
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
11382
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
11383
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11384
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
11385
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
11386
|
+
}, "strip", z.ZodTypeAny, {
|
|
11387
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
11388
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
11389
|
+
}, {
|
|
11390
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
11391
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
11392
|
+
}>>>;
|
|
11393
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
11394
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11395
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
11396
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11397
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11398
|
+
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"]>>>;
|
|
11399
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11400
|
+
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"]>>>;
|
|
11401
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11402
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11403
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11404
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11405
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11238
11406
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11239
11407
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
11240
11408
|
id: z.ZodString;
|
|
11241
11409
|
label: z.ZodOptional<z.ZodString>;
|
|
11242
11410
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11243
11411
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
11412
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
11413
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11414
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
11415
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
11416
|
+
}, "strip", z.ZodTypeAny, {
|
|
11417
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
11418
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
11419
|
+
}, {
|
|
11420
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
11421
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
11422
|
+
}>>>;
|
|
11423
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
11424
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11425
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
11426
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11427
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11428
|
+
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"]>>>;
|
|
11429
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11430
|
+
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"]>>>;
|
|
11431
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11432
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11433
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11434
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11435
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11244
11436
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11245
11437
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
11246
11438
|
id: z.ZodString;
|
|
11247
11439
|
label: z.ZodOptional<z.ZodString>;
|
|
11248
11440
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11249
11441
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
11442
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
11443
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11444
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
11445
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
11446
|
+
}, "strip", z.ZodTypeAny, {
|
|
11447
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
11448
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
11449
|
+
}, {
|
|
11450
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
11451
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
11452
|
+
}>>>;
|
|
11453
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
11454
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11455
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
11456
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11457
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11458
|
+
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"]>>>;
|
|
11459
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11460
|
+
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"]>>>;
|
|
11461
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11462
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11463
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11464
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11465
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11250
11466
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
11251
11467
|
externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11252
11468
|
raw: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -11438,18 +11654,90 @@ export declare const zServiceInvoiceSchema: z.ZodObject<{
|
|
|
11438
11654
|
label: z.ZodOptional<z.ZodString>;
|
|
11439
11655
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11440
11656
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
11657
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
11658
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11659
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
11660
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
11661
|
+
}, "strip", z.ZodTypeAny, {
|
|
11662
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
11663
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
11664
|
+
}, {
|
|
11665
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
11666
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
11667
|
+
}>>>;
|
|
11668
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
11669
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11670
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
11671
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11672
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11673
|
+
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"]>>>;
|
|
11674
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11675
|
+
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"]>>>;
|
|
11676
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11677
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11678
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11679
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11680
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11441
11681
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11442
11682
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
11443
11683
|
id: z.ZodString;
|
|
11444
11684
|
label: z.ZodOptional<z.ZodString>;
|
|
11445
11685
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11446
11686
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
11687
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
11688
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11689
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
11690
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
11691
|
+
}, "strip", z.ZodTypeAny, {
|
|
11692
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
11693
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
11694
|
+
}, {
|
|
11695
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
11696
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
11697
|
+
}>>>;
|
|
11698
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
11699
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11700
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
11701
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11702
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11703
|
+
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"]>>>;
|
|
11704
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11705
|
+
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"]>>>;
|
|
11706
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11707
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11708
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11709
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11710
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11447
11711
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11448
11712
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
11449
11713
|
id: z.ZodString;
|
|
11450
11714
|
label: z.ZodOptional<z.ZodString>;
|
|
11451
11715
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11452
11716
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
11717
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
11718
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11719
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
11720
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
11721
|
+
}, "strip", z.ZodTypeAny, {
|
|
11722
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
11723
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
11724
|
+
}, {
|
|
11725
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
11726
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
11727
|
+
}>>>;
|
|
11728
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
11729
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11730
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
11731
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11732
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11733
|
+
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"]>>>;
|
|
11734
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11735
|
+
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"]>>>;
|
|
11736
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11737
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11738
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11739
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11740
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11453
11741
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
11454
11742
|
externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11455
11743
|
evo_chat: z.ZodOptional<z.ZodObject<{
|
|
@@ -11860,18 +12148,90 @@ export declare const zServiceInvoiceSchema: z.ZodObject<{
|
|
|
11860
12148
|
label: z.ZodOptional<z.ZodString>;
|
|
11861
12149
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11862
12150
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
12151
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
12152
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12153
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
12154
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
12155
|
+
}, "strip", z.ZodTypeAny, {
|
|
12156
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
12157
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
12158
|
+
}, {
|
|
12159
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
12160
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
12161
|
+
}>>>;
|
|
12162
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
12163
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12164
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
12165
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
12166
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12167
|
+
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"]>>>;
|
|
12168
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12169
|
+
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"]>>>;
|
|
12170
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
12171
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12172
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
12173
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12174
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11863
12175
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11864
12176
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
11865
12177
|
id: z.ZodString;
|
|
11866
12178
|
label: z.ZodOptional<z.ZodString>;
|
|
11867
12179
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11868
12180
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
12181
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
12182
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12183
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
12184
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
12185
|
+
}, "strip", z.ZodTypeAny, {
|
|
12186
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
12187
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
12188
|
+
}, {
|
|
12189
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
12190
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
12191
|
+
}>>>;
|
|
12192
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
12193
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12194
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
12195
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
12196
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12197
|
+
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"]>>>;
|
|
12198
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12199
|
+
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"]>>>;
|
|
12200
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
12201
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12202
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
12203
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12204
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11869
12205
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11870
12206
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
11871
12207
|
id: z.ZodString;
|
|
11872
12208
|
label: z.ZodOptional<z.ZodString>;
|
|
11873
12209
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11874
12210
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
12211
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
12212
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12213
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
12214
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
12215
|
+
}, "strip", z.ZodTypeAny, {
|
|
12216
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
12217
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
12218
|
+
}, {
|
|
12219
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
12220
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
12221
|
+
}>>>;
|
|
12222
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
12223
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12224
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
12225
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
12226
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12227
|
+
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"]>>>;
|
|
12228
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12229
|
+
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"]>>>;
|
|
12230
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
12231
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12232
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
12233
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12234
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11875
12235
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
11876
12236
|
externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11877
12237
|
evo_chat: z.ZodOptional<z.ZodObject<{
|
|
@@ -12282,18 +12642,90 @@ export declare const zServiceInvoiceSchema: z.ZodObject<{
|
|
|
12282
12642
|
label: z.ZodOptional<z.ZodString>;
|
|
12283
12643
|
ref: z.ZodOptional<z.ZodAny>;
|
|
12284
12644
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
12645
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
12646
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12647
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
12648
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
12649
|
+
}, "strip", z.ZodTypeAny, {
|
|
12650
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
12651
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
12652
|
+
}, {
|
|
12653
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
12654
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
12655
|
+
}>>>;
|
|
12656
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
12657
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12658
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
12659
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
12660
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12661
|
+
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"]>>>;
|
|
12662
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12663
|
+
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"]>>>;
|
|
12664
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
12665
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12666
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
12667
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12668
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12285
12669
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12286
12670
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
12287
12671
|
id: z.ZodString;
|
|
12288
12672
|
label: z.ZodOptional<z.ZodString>;
|
|
12289
12673
|
ref: z.ZodOptional<z.ZodAny>;
|
|
12290
12674
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
12675
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
12676
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12677
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
12678
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
12679
|
+
}, "strip", z.ZodTypeAny, {
|
|
12680
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
12681
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
12682
|
+
}, {
|
|
12683
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
12684
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
12685
|
+
}>>>;
|
|
12686
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
12687
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12688
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
12689
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
12690
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12691
|
+
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"]>>>;
|
|
12692
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12693
|
+
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"]>>>;
|
|
12694
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
12695
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12696
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
12697
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12698
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12291
12699
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12292
12700
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
12293
12701
|
id: z.ZodString;
|
|
12294
12702
|
label: z.ZodOptional<z.ZodString>;
|
|
12295
12703
|
ref: z.ZodOptional<z.ZodAny>;
|
|
12296
12704
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
12705
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
12706
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12707
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
12708
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
12709
|
+
}, "strip", z.ZodTypeAny, {
|
|
12710
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
12711
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
12712
|
+
}, {
|
|
12713
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
12714
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
12715
|
+
}>>>;
|
|
12716
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
12717
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12718
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
12719
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
12720
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12721
|
+
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"]>>>;
|
|
12722
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12723
|
+
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"]>>>;
|
|
12724
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
12725
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12726
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
12727
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12728
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12297
12729
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
12298
12730
|
externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12299
12731
|
evo_chat: z.ZodOptional<z.ZodObject<{
|
|
@@ -12968,8 +13400,8 @@ export declare const zNexVendasJourneyPaymentSupersededSchema: z.ZodObject<{
|
|
|
12968
13400
|
}, {
|
|
12969
13401
|
method: "payment_link" | "boleto" | "card_subscription";
|
|
12970
13402
|
kind: "payment_link" | "boleto" | "asaas_checkout";
|
|
12971
|
-
at?: unknown;
|
|
12972
13403
|
revoked?: boolean | null | undefined;
|
|
13404
|
+
at?: unknown;
|
|
12973
13405
|
checkout_id?: string | null | undefined;
|
|
12974
13406
|
payment_id?: string | null | undefined;
|
|
12975
13407
|
payment_link_id?: string | null | undefined;
|
|
@@ -13050,8 +13482,8 @@ export declare const zNexVendasJourneyPaymentSchema: z.ZodObject<{
|
|
|
13050
13482
|
}, {
|
|
13051
13483
|
method: "payment_link" | "boleto" | "card_subscription";
|
|
13052
13484
|
kind: "payment_link" | "boleto" | "asaas_checkout";
|
|
13053
|
-
at?: unknown;
|
|
13054
13485
|
revoked?: boolean | null | undefined;
|
|
13486
|
+
at?: unknown;
|
|
13055
13487
|
checkout_id?: string | null | undefined;
|
|
13056
13488
|
payment_id?: string | null | undefined;
|
|
13057
13489
|
payment_link_id?: string | null | undefined;
|
|
@@ -13061,8 +13493,8 @@ export declare const zNexVendasJourneyPaymentSchema: z.ZodObject<{
|
|
|
13061
13493
|
state: "awaiting_payment" | "paid" | "none" | "compensating";
|
|
13062
13494
|
link?: string | null | undefined;
|
|
13063
13495
|
method?: "payment_link" | "boleto" | "card_subscription" | null | undefined;
|
|
13064
|
-
created_at?: Date | null | undefined;
|
|
13065
13496
|
kind?: "payment_link" | "boleto" | "asaas_checkout" | null | undefined;
|
|
13497
|
+
created_at?: Date | null | undefined;
|
|
13066
13498
|
last_error?: string | null | undefined;
|
|
13067
13499
|
expires_at?: Date | null | undefined;
|
|
13068
13500
|
boleto?: {
|
|
@@ -13100,8 +13532,8 @@ export declare const zNexVendasJourneyPaymentSchema: z.ZodObject<{
|
|
|
13100
13532
|
state: "awaiting_payment" | "paid" | "none" | "compensating";
|
|
13101
13533
|
link?: string | null | undefined;
|
|
13102
13534
|
method?: "payment_link" | "boleto" | "card_subscription" | null | undefined;
|
|
13103
|
-
created_at?: unknown;
|
|
13104
13535
|
kind?: "payment_link" | "boleto" | "asaas_checkout" | null | undefined;
|
|
13536
|
+
created_at?: unknown;
|
|
13105
13537
|
last_error?: string | null | undefined;
|
|
13106
13538
|
expires_at?: unknown;
|
|
13107
13539
|
boleto?: {
|
|
@@ -13129,8 +13561,8 @@ export declare const zNexVendasJourneyPaymentSchema: z.ZodObject<{
|
|
|
13129
13561
|
superseded?: {
|
|
13130
13562
|
method: "payment_link" | "boleto" | "card_subscription";
|
|
13131
13563
|
kind: "payment_link" | "boleto" | "asaas_checkout";
|
|
13132
|
-
at?: unknown;
|
|
13133
13564
|
revoked?: boolean | null | undefined;
|
|
13565
|
+
at?: unknown;
|
|
13134
13566
|
checkout_id?: string | null | undefined;
|
|
13135
13567
|
payment_id?: string | null | undefined;
|
|
13136
13568
|
payment_link_id?: string | null | undefined;
|