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
|
@@ -12,24 +12,111 @@ export declare const zExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_pati
|
|
|
12
12
|
export declare const zTaskExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
13
13
|
export declare const zTaskExecutionStatusSchema: z.ZodEnum<["success", "error", "retry"]>;
|
|
14
14
|
export declare const zExternalOwnerSystemSchema: z.ZodEnum<["nexus"]>;
|
|
15
|
+
export declare const zExternalLinkKindSchema: z.ZodEnum<["identity", "representation"]>;
|
|
16
|
+
export declare const zExternalLinkStatusSchema: z.ZodEnum<["suggested", "confirmed", "rejected"]>;
|
|
17
|
+
export declare const zExternalLinkSourceSchema: z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>;
|
|
18
|
+
export declare const zLinkRelationPairSchema: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
19
|
+
export declare const zLinkRelationRoleSchema: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
20
|
+
export declare const zExternalLinkRelationSchema: z.ZodObject<{
|
|
21
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
22
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
25
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
26
|
+
}, {
|
|
27
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
28
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
29
|
+
}>;
|
|
15
30
|
export declare const zExternalLinkSchema: z.ZodObject<{
|
|
16
31
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
17
32
|
id: z.ZodString;
|
|
18
33
|
label: z.ZodOptional<z.ZodString>;
|
|
19
34
|
ref: z.ZodOptional<z.ZodAny>;
|
|
20
35
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
36
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
37
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
38
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
39
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
42
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
43
|
+
}, {
|
|
44
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
45
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
46
|
+
}>>>;
|
|
47
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
48
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
50
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
51
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
52
|
+
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"]>>>;
|
|
53
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
54
|
+
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"]>>>;
|
|
55
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
56
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
57
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
58
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
59
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
60
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
22
61
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
23
62
|
id: z.ZodString;
|
|
24
63
|
label: z.ZodOptional<z.ZodString>;
|
|
25
64
|
ref: z.ZodOptional<z.ZodAny>;
|
|
26
65
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
66
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
67
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
68
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
69
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
70
|
+
}, "strip", z.ZodTypeAny, {
|
|
71
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
72
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
73
|
+
}, {
|
|
74
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
75
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
76
|
+
}>>>;
|
|
77
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
78
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
80
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
81
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
82
|
+
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"]>>>;
|
|
83
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
84
|
+
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"]>>>;
|
|
85
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
86
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
87
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
88
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
89
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
90
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
28
91
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
29
92
|
id: z.ZodString;
|
|
30
93
|
label: z.ZodOptional<z.ZodString>;
|
|
31
94
|
ref: z.ZodOptional<z.ZodAny>;
|
|
32
95
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
96
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
97
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
98
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
99
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
100
|
+
}, "strip", z.ZodTypeAny, {
|
|
101
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
102
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
103
|
+
}, {
|
|
104
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
105
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
106
|
+
}>>>;
|
|
107
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
108
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
110
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
111
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
112
|
+
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"]>>>;
|
|
113
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
114
|
+
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"]>>>;
|
|
115
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
116
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
117
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
118
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
119
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
120
|
}, z.ZodTypeAny, "passthrough">>;
|
|
34
121
|
export declare const zTaskExternalLinkSchema: z.ZodObject<{
|
|
35
122
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
@@ -37,18 +124,90 @@ export declare const zTaskExternalLinkSchema: z.ZodObject<{
|
|
|
37
124
|
label: z.ZodOptional<z.ZodString>;
|
|
38
125
|
ref: z.ZodOptional<z.ZodAny>;
|
|
39
126
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
127
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
128
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
129
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
130
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
131
|
+
}, "strip", z.ZodTypeAny, {
|
|
132
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
133
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
134
|
+
}, {
|
|
135
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
136
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
137
|
+
}>>>;
|
|
138
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
139
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
140
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
141
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
142
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
143
|
+
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"]>>>;
|
|
144
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
145
|
+
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"]>>>;
|
|
146
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
147
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
148
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
149
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
150
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
151
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
41
152
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
42
153
|
id: z.ZodString;
|
|
43
154
|
label: z.ZodOptional<z.ZodString>;
|
|
44
155
|
ref: z.ZodOptional<z.ZodAny>;
|
|
45
156
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
157
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
158
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
159
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
160
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
161
|
+
}, "strip", z.ZodTypeAny, {
|
|
162
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
163
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
164
|
+
}, {
|
|
165
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
166
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
167
|
+
}>>>;
|
|
168
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
169
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
170
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
171
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
172
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
173
|
+
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"]>>>;
|
|
174
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
175
|
+
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"]>>>;
|
|
176
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
177
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
178
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
179
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
180
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
181
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
47
182
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
48
183
|
id: z.ZodString;
|
|
49
184
|
label: z.ZodOptional<z.ZodString>;
|
|
50
185
|
ref: z.ZodOptional<z.ZodAny>;
|
|
51
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>>;
|
|
52
211
|
}, z.ZodTypeAny, "passthrough">>;
|
|
53
212
|
export declare const zTaskScheduleSchema: z.ZodObject<{
|
|
54
213
|
execute_at: z.ZodOptional<z.ZodDate>;
|
|
@@ -238,14 +397,14 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
238
397
|
name: string;
|
|
239
398
|
hidden: boolean;
|
|
240
399
|
base?: boolean | undefined;
|
|
241
|
-
color?: string | undefined;
|
|
242
400
|
category?: string | null | undefined;
|
|
401
|
+
color?: string | undefined;
|
|
243
402
|
}, {
|
|
244
403
|
name: string;
|
|
245
404
|
hidden: boolean;
|
|
246
405
|
base?: boolean | undefined;
|
|
247
|
-
color?: string | undefined;
|
|
248
406
|
category?: string | null | undefined;
|
|
407
|
+
color?: string | undefined;
|
|
249
408
|
}>, "many">>>;
|
|
250
409
|
}, "strip", z.ZodTypeAny, {
|
|
251
410
|
description?: string | undefined;
|
|
@@ -253,8 +412,8 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
253
412
|
name: string;
|
|
254
413
|
hidden: boolean;
|
|
255
414
|
base?: boolean | undefined;
|
|
256
|
-
color?: string | undefined;
|
|
257
415
|
category?: string | null | undefined;
|
|
416
|
+
color?: string | undefined;
|
|
258
417
|
}[] | null | undefined;
|
|
259
418
|
title?: string | undefined;
|
|
260
419
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -264,8 +423,8 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
264
423
|
name: string;
|
|
265
424
|
hidden: boolean;
|
|
266
425
|
base?: boolean | undefined;
|
|
267
|
-
color?: string | undefined;
|
|
268
426
|
category?: string | null | undefined;
|
|
427
|
+
color?: string | undefined;
|
|
269
428
|
}[] | null | undefined;
|
|
270
429
|
title?: string | undefined;
|
|
271
430
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -276,11 +435,11 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
276
435
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
277
436
|
}, "strip", z.ZodTypeAny, {
|
|
278
437
|
kind: string;
|
|
279
|
-
handler: "
|
|
438
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
280
439
|
payload: Record<string, unknown>;
|
|
281
440
|
}, {
|
|
282
441
|
kind: string;
|
|
283
|
-
handler: "
|
|
442
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
284
443
|
payload: Record<string, unknown>;
|
|
285
444
|
}>, "many">>;
|
|
286
445
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -308,14 +467,14 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
308
467
|
name: string;
|
|
309
468
|
hidden: boolean;
|
|
310
469
|
base?: boolean | undefined;
|
|
311
|
-
color?: string | undefined;
|
|
312
470
|
category?: string | null | undefined;
|
|
471
|
+
color?: string | undefined;
|
|
313
472
|
}, {
|
|
314
473
|
name: string;
|
|
315
474
|
hidden: boolean;
|
|
316
475
|
base?: boolean | undefined;
|
|
317
|
-
color?: string | undefined;
|
|
318
476
|
category?: string | null | undefined;
|
|
477
|
+
color?: string | undefined;
|
|
319
478
|
}>, "many">>>;
|
|
320
479
|
}, "strip", z.ZodTypeAny, {
|
|
321
480
|
description?: string | undefined;
|
|
@@ -323,8 +482,8 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
323
482
|
name: string;
|
|
324
483
|
hidden: boolean;
|
|
325
484
|
base?: boolean | undefined;
|
|
326
|
-
color?: string | undefined;
|
|
327
485
|
category?: string | null | undefined;
|
|
486
|
+
color?: string | undefined;
|
|
328
487
|
}[] | null | undefined;
|
|
329
488
|
title?: string | undefined;
|
|
330
489
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -334,8 +493,8 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
334
493
|
name: string;
|
|
335
494
|
hidden: boolean;
|
|
336
495
|
base?: boolean | undefined;
|
|
337
|
-
color?: string | undefined;
|
|
338
496
|
category?: string | null | undefined;
|
|
497
|
+
color?: string | undefined;
|
|
339
498
|
}[] | null | undefined;
|
|
340
499
|
title?: string | undefined;
|
|
341
500
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -346,11 +505,11 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
346
505
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
347
506
|
}, "strip", z.ZodTypeAny, {
|
|
348
507
|
kind: string;
|
|
349
|
-
handler: "
|
|
508
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
350
509
|
payload: Record<string, unknown>;
|
|
351
510
|
}, {
|
|
352
511
|
kind: string;
|
|
353
|
-
handler: "
|
|
512
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
354
513
|
payload: Record<string, unknown>;
|
|
355
514
|
}>, "many">>;
|
|
356
515
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -378,14 +537,14 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
378
537
|
name: string;
|
|
379
538
|
hidden: boolean;
|
|
380
539
|
base?: boolean | undefined;
|
|
381
|
-
color?: string | undefined;
|
|
382
540
|
category?: string | null | undefined;
|
|
541
|
+
color?: string | undefined;
|
|
383
542
|
}, {
|
|
384
543
|
name: string;
|
|
385
544
|
hidden: boolean;
|
|
386
545
|
base?: boolean | undefined;
|
|
387
|
-
color?: string | undefined;
|
|
388
546
|
category?: string | null | undefined;
|
|
547
|
+
color?: string | undefined;
|
|
389
548
|
}>, "many">>>;
|
|
390
549
|
}, "strip", z.ZodTypeAny, {
|
|
391
550
|
description?: string | undefined;
|
|
@@ -393,8 +552,8 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
393
552
|
name: string;
|
|
394
553
|
hidden: boolean;
|
|
395
554
|
base?: boolean | undefined;
|
|
396
|
-
color?: string | undefined;
|
|
397
555
|
category?: string | null | undefined;
|
|
556
|
+
color?: string | undefined;
|
|
398
557
|
}[] | null | undefined;
|
|
399
558
|
title?: string | undefined;
|
|
400
559
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -404,8 +563,8 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
404
563
|
name: string;
|
|
405
564
|
hidden: boolean;
|
|
406
565
|
base?: boolean | undefined;
|
|
407
|
-
color?: string | undefined;
|
|
408
566
|
category?: string | null | undefined;
|
|
567
|
+
color?: string | undefined;
|
|
409
568
|
}[] | null | undefined;
|
|
410
569
|
title?: string | undefined;
|
|
411
570
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -416,11 +575,11 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
|
|
|
416
575
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
417
576
|
}, "strip", z.ZodTypeAny, {
|
|
418
577
|
kind: string;
|
|
419
|
-
handler: "
|
|
578
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
420
579
|
payload: Record<string, unknown>;
|
|
421
580
|
}, {
|
|
422
581
|
kind: string;
|
|
423
|
-
handler: "
|
|
582
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
424
583
|
payload: Record<string, unknown>;
|
|
425
584
|
}>, "many">>;
|
|
426
585
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -482,14 +641,14 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
482
641
|
name: string;
|
|
483
642
|
hidden: boolean;
|
|
484
643
|
base?: boolean | undefined;
|
|
485
|
-
color?: string | undefined;
|
|
486
644
|
category?: string | null | undefined;
|
|
645
|
+
color?: string | undefined;
|
|
487
646
|
}, {
|
|
488
647
|
name: string;
|
|
489
648
|
hidden: boolean;
|
|
490
649
|
base?: boolean | undefined;
|
|
491
|
-
color?: string | undefined;
|
|
492
650
|
category?: string | null | undefined;
|
|
651
|
+
color?: string | undefined;
|
|
493
652
|
}>, "many">>>;
|
|
494
653
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
495
654
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
@@ -497,18 +656,90 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
497
656
|
label: z.ZodOptional<z.ZodString>;
|
|
498
657
|
ref: z.ZodOptional<z.ZodAny>;
|
|
499
658
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
659
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
660
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
661
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
662
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
663
|
+
}, "strip", z.ZodTypeAny, {
|
|
664
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
665
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
666
|
+
}, {
|
|
667
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
668
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
669
|
+
}>>>;
|
|
670
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
671
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
672
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
673
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
674
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
675
|
+
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"]>>>;
|
|
676
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
677
|
+
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"]>>>;
|
|
678
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
679
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
680
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
681
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
682
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
500
683
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
501
684
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
502
685
|
id: z.ZodString;
|
|
503
686
|
label: z.ZodOptional<z.ZodString>;
|
|
504
687
|
ref: z.ZodOptional<z.ZodAny>;
|
|
505
688
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
689
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
690
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
691
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
692
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
693
|
+
}, "strip", z.ZodTypeAny, {
|
|
694
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
695
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
696
|
+
}, {
|
|
697
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
698
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
699
|
+
}>>>;
|
|
700
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
701
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
702
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
703
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
704
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
705
|
+
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"]>>>;
|
|
706
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
707
|
+
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"]>>>;
|
|
708
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
709
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
710
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
711
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
712
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
506
713
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
507
714
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
508
715
|
id: z.ZodString;
|
|
509
716
|
label: z.ZodOptional<z.ZodString>;
|
|
510
717
|
ref: z.ZodOptional<z.ZodAny>;
|
|
511
718
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
719
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
720
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
721
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
722
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
723
|
+
}, "strip", z.ZodTypeAny, {
|
|
724
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
725
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
726
|
+
}, {
|
|
727
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
728
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
729
|
+
}>>>;
|
|
730
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
731
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
732
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
733
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
734
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
735
|
+
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"]>>>;
|
|
736
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
737
|
+
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"]>>>;
|
|
738
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
739
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
740
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
741
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
742
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
512
743
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
513
744
|
externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
514
745
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
@@ -654,14 +885,14 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
654
885
|
name: string;
|
|
655
886
|
hidden: boolean;
|
|
656
887
|
base?: boolean | undefined;
|
|
657
|
-
color?: string | undefined;
|
|
658
888
|
category?: string | null | undefined;
|
|
889
|
+
color?: string | undefined;
|
|
659
890
|
}, {
|
|
660
891
|
name: string;
|
|
661
892
|
hidden: boolean;
|
|
662
893
|
base?: boolean | undefined;
|
|
663
|
-
color?: string | undefined;
|
|
664
894
|
category?: string | null | undefined;
|
|
895
|
+
color?: string | undefined;
|
|
665
896
|
}>, "many">>>;
|
|
666
897
|
}, "strip", z.ZodTypeAny, {
|
|
667
898
|
description?: string | undefined;
|
|
@@ -669,8 +900,8 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
669
900
|
name: string;
|
|
670
901
|
hidden: boolean;
|
|
671
902
|
base?: boolean | undefined;
|
|
672
|
-
color?: string | undefined;
|
|
673
903
|
category?: string | null | undefined;
|
|
904
|
+
color?: string | undefined;
|
|
674
905
|
}[] | null | undefined;
|
|
675
906
|
title?: string | undefined;
|
|
676
907
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -680,8 +911,8 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
680
911
|
name: string;
|
|
681
912
|
hidden: boolean;
|
|
682
913
|
base?: boolean | undefined;
|
|
683
|
-
color?: string | undefined;
|
|
684
914
|
category?: string | null | undefined;
|
|
915
|
+
color?: string | undefined;
|
|
685
916
|
}[] | null | undefined;
|
|
686
917
|
title?: string | undefined;
|
|
687
918
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -692,11 +923,11 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
692
923
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
693
924
|
}, "strip", z.ZodTypeAny, {
|
|
694
925
|
kind: string;
|
|
695
|
-
handler: "
|
|
926
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
696
927
|
payload: Record<string, unknown>;
|
|
697
928
|
}, {
|
|
698
929
|
kind: string;
|
|
699
|
-
handler: "
|
|
930
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
700
931
|
payload: Record<string, unknown>;
|
|
701
932
|
}>, "many">>;
|
|
702
933
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -724,14 +955,14 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
724
955
|
name: string;
|
|
725
956
|
hidden: boolean;
|
|
726
957
|
base?: boolean | undefined;
|
|
727
|
-
color?: string | undefined;
|
|
728
958
|
category?: string | null | undefined;
|
|
959
|
+
color?: string | undefined;
|
|
729
960
|
}, {
|
|
730
961
|
name: string;
|
|
731
962
|
hidden: boolean;
|
|
732
963
|
base?: boolean | undefined;
|
|
733
|
-
color?: string | undefined;
|
|
734
964
|
category?: string | null | undefined;
|
|
965
|
+
color?: string | undefined;
|
|
735
966
|
}>, "many">>>;
|
|
736
967
|
}, "strip", z.ZodTypeAny, {
|
|
737
968
|
description?: string | undefined;
|
|
@@ -739,8 +970,8 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
739
970
|
name: string;
|
|
740
971
|
hidden: boolean;
|
|
741
972
|
base?: boolean | undefined;
|
|
742
|
-
color?: string | undefined;
|
|
743
973
|
category?: string | null | undefined;
|
|
974
|
+
color?: string | undefined;
|
|
744
975
|
}[] | null | undefined;
|
|
745
976
|
title?: string | undefined;
|
|
746
977
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -750,8 +981,8 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
750
981
|
name: string;
|
|
751
982
|
hidden: boolean;
|
|
752
983
|
base?: boolean | undefined;
|
|
753
|
-
color?: string | undefined;
|
|
754
984
|
category?: string | null | undefined;
|
|
985
|
+
color?: string | undefined;
|
|
755
986
|
}[] | null | undefined;
|
|
756
987
|
title?: string | undefined;
|
|
757
988
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -762,11 +993,11 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
762
993
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
763
994
|
}, "strip", z.ZodTypeAny, {
|
|
764
995
|
kind: string;
|
|
765
|
-
handler: "
|
|
996
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
766
997
|
payload: Record<string, unknown>;
|
|
767
998
|
}, {
|
|
768
999
|
kind: string;
|
|
769
|
-
handler: "
|
|
1000
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
770
1001
|
payload: Record<string, unknown>;
|
|
771
1002
|
}>, "many">>;
|
|
772
1003
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -794,14 +1025,14 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
794
1025
|
name: string;
|
|
795
1026
|
hidden: boolean;
|
|
796
1027
|
base?: boolean | undefined;
|
|
797
|
-
color?: string | undefined;
|
|
798
1028
|
category?: string | null | undefined;
|
|
1029
|
+
color?: string | undefined;
|
|
799
1030
|
}, {
|
|
800
1031
|
name: string;
|
|
801
1032
|
hidden: boolean;
|
|
802
1033
|
base?: boolean | undefined;
|
|
803
|
-
color?: string | undefined;
|
|
804
1034
|
category?: string | null | undefined;
|
|
1035
|
+
color?: string | undefined;
|
|
805
1036
|
}>, "many">>>;
|
|
806
1037
|
}, "strip", z.ZodTypeAny, {
|
|
807
1038
|
description?: string | undefined;
|
|
@@ -809,8 +1040,8 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
809
1040
|
name: string;
|
|
810
1041
|
hidden: boolean;
|
|
811
1042
|
base?: boolean | undefined;
|
|
812
|
-
color?: string | undefined;
|
|
813
1043
|
category?: string | null | undefined;
|
|
1044
|
+
color?: string | undefined;
|
|
814
1045
|
}[] | null | undefined;
|
|
815
1046
|
title?: string | undefined;
|
|
816
1047
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -820,8 +1051,8 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
820
1051
|
name: string;
|
|
821
1052
|
hidden: boolean;
|
|
822
1053
|
base?: boolean | undefined;
|
|
823
|
-
color?: string | undefined;
|
|
824
1054
|
category?: string | null | undefined;
|
|
1055
|
+
color?: string | undefined;
|
|
825
1056
|
}[] | null | undefined;
|
|
826
1057
|
title?: string | undefined;
|
|
827
1058
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -832,11 +1063,11 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
832
1063
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
833
1064
|
}, "strip", z.ZodTypeAny, {
|
|
834
1065
|
kind: string;
|
|
835
|
-
handler: "
|
|
1066
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
836
1067
|
payload: Record<string, unknown>;
|
|
837
1068
|
}, {
|
|
838
1069
|
kind: string;
|
|
839
|
-
handler: "
|
|
1070
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
840
1071
|
payload: Record<string, unknown>;
|
|
841
1072
|
}>, "many">>;
|
|
842
1073
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -923,14 +1154,14 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
923
1154
|
name: string;
|
|
924
1155
|
hidden: boolean;
|
|
925
1156
|
base?: boolean | undefined;
|
|
926
|
-
color?: string | undefined;
|
|
927
1157
|
category?: string | null | undefined;
|
|
1158
|
+
color?: string | undefined;
|
|
928
1159
|
}, {
|
|
929
1160
|
name: string;
|
|
930
1161
|
hidden: boolean;
|
|
931
1162
|
base?: boolean | undefined;
|
|
932
|
-
color?: string | undefined;
|
|
933
1163
|
category?: string | null | undefined;
|
|
1164
|
+
color?: string | undefined;
|
|
934
1165
|
}>, "many">>>;
|
|
935
1166
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
936
1167
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
@@ -938,18 +1169,90 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
938
1169
|
label: z.ZodOptional<z.ZodString>;
|
|
939
1170
|
ref: z.ZodOptional<z.ZodAny>;
|
|
940
1171
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1172
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1173
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1174
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1175
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1176
|
+
}, "strip", z.ZodTypeAny, {
|
|
1177
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1178
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1179
|
+
}, {
|
|
1180
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1181
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1182
|
+
}>>>;
|
|
1183
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1184
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1185
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1186
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1187
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1188
|
+
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"]>>>;
|
|
1189
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1190
|
+
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"]>>>;
|
|
1191
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1192
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1193
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1194
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1195
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
941
1196
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
942
1197
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
943
1198
|
id: z.ZodString;
|
|
944
1199
|
label: z.ZodOptional<z.ZodString>;
|
|
945
1200
|
ref: z.ZodOptional<z.ZodAny>;
|
|
946
1201
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1202
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1203
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1204
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1205
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1206
|
+
}, "strip", z.ZodTypeAny, {
|
|
1207
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1208
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1209
|
+
}, {
|
|
1210
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1211
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1212
|
+
}>>>;
|
|
1213
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1214
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1215
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1216
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1217
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1218
|
+
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"]>>>;
|
|
1219
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1220
|
+
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"]>>>;
|
|
1221
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1222
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1223
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1224
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1225
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
947
1226
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
948
1227
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
949
1228
|
id: z.ZodString;
|
|
950
1229
|
label: z.ZodOptional<z.ZodString>;
|
|
951
1230
|
ref: z.ZodOptional<z.ZodAny>;
|
|
952
1231
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1232
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1233
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1234
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1235
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1236
|
+
}, "strip", z.ZodTypeAny, {
|
|
1237
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1238
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1239
|
+
}, {
|
|
1240
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1241
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1242
|
+
}>>>;
|
|
1243
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1244
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1245
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1246
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1247
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1248
|
+
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"]>>>;
|
|
1249
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1250
|
+
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"]>>>;
|
|
1251
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1252
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1253
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1254
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1255
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
953
1256
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
954
1257
|
externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
955
1258
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
@@ -1095,14 +1398,14 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1095
1398
|
name: string;
|
|
1096
1399
|
hidden: boolean;
|
|
1097
1400
|
base?: boolean | undefined;
|
|
1098
|
-
color?: string | undefined;
|
|
1099
1401
|
category?: string | null | undefined;
|
|
1402
|
+
color?: string | undefined;
|
|
1100
1403
|
}, {
|
|
1101
1404
|
name: string;
|
|
1102
1405
|
hidden: boolean;
|
|
1103
1406
|
base?: boolean | undefined;
|
|
1104
|
-
color?: string | undefined;
|
|
1105
1407
|
category?: string | null | undefined;
|
|
1408
|
+
color?: string | undefined;
|
|
1106
1409
|
}>, "many">>>;
|
|
1107
1410
|
}, "strip", z.ZodTypeAny, {
|
|
1108
1411
|
description?: string | undefined;
|
|
@@ -1110,8 +1413,8 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1110
1413
|
name: string;
|
|
1111
1414
|
hidden: boolean;
|
|
1112
1415
|
base?: boolean | undefined;
|
|
1113
|
-
color?: string | undefined;
|
|
1114
1416
|
category?: string | null | undefined;
|
|
1417
|
+
color?: string | undefined;
|
|
1115
1418
|
}[] | null | undefined;
|
|
1116
1419
|
title?: string | undefined;
|
|
1117
1420
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -1121,8 +1424,8 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1121
1424
|
name: string;
|
|
1122
1425
|
hidden: boolean;
|
|
1123
1426
|
base?: boolean | undefined;
|
|
1124
|
-
color?: string | undefined;
|
|
1125
1427
|
category?: string | null | undefined;
|
|
1428
|
+
color?: string | undefined;
|
|
1126
1429
|
}[] | null | undefined;
|
|
1127
1430
|
title?: string | undefined;
|
|
1128
1431
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -1133,11 +1436,11 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1133
1436
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1134
1437
|
}, "strip", z.ZodTypeAny, {
|
|
1135
1438
|
kind: string;
|
|
1136
|
-
handler: "
|
|
1439
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1137
1440
|
payload: Record<string, unknown>;
|
|
1138
1441
|
}, {
|
|
1139
1442
|
kind: string;
|
|
1140
|
-
handler: "
|
|
1443
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1141
1444
|
payload: Record<string, unknown>;
|
|
1142
1445
|
}>, "many">>;
|
|
1143
1446
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1165,14 +1468,14 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1165
1468
|
name: string;
|
|
1166
1469
|
hidden: boolean;
|
|
1167
1470
|
base?: boolean | undefined;
|
|
1168
|
-
color?: string | undefined;
|
|
1169
1471
|
category?: string | null | undefined;
|
|
1472
|
+
color?: string | undefined;
|
|
1170
1473
|
}, {
|
|
1171
1474
|
name: string;
|
|
1172
1475
|
hidden: boolean;
|
|
1173
1476
|
base?: boolean | undefined;
|
|
1174
|
-
color?: string | undefined;
|
|
1175
1477
|
category?: string | null | undefined;
|
|
1478
|
+
color?: string | undefined;
|
|
1176
1479
|
}>, "many">>>;
|
|
1177
1480
|
}, "strip", z.ZodTypeAny, {
|
|
1178
1481
|
description?: string | undefined;
|
|
@@ -1180,8 +1483,8 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1180
1483
|
name: string;
|
|
1181
1484
|
hidden: boolean;
|
|
1182
1485
|
base?: boolean | undefined;
|
|
1183
|
-
color?: string | undefined;
|
|
1184
1486
|
category?: string | null | undefined;
|
|
1487
|
+
color?: string | undefined;
|
|
1185
1488
|
}[] | null | undefined;
|
|
1186
1489
|
title?: string | undefined;
|
|
1187
1490
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -1191,8 +1494,8 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1191
1494
|
name: string;
|
|
1192
1495
|
hidden: boolean;
|
|
1193
1496
|
base?: boolean | undefined;
|
|
1194
|
-
color?: string | undefined;
|
|
1195
1497
|
category?: string | null | undefined;
|
|
1498
|
+
color?: string | undefined;
|
|
1196
1499
|
}[] | null | undefined;
|
|
1197
1500
|
title?: string | undefined;
|
|
1198
1501
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -1203,11 +1506,11 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1203
1506
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1204
1507
|
}, "strip", z.ZodTypeAny, {
|
|
1205
1508
|
kind: string;
|
|
1206
|
-
handler: "
|
|
1509
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1207
1510
|
payload: Record<string, unknown>;
|
|
1208
1511
|
}, {
|
|
1209
1512
|
kind: string;
|
|
1210
|
-
handler: "
|
|
1513
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1211
1514
|
payload: Record<string, unknown>;
|
|
1212
1515
|
}>, "many">>;
|
|
1213
1516
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1235,14 +1538,14 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1235
1538
|
name: string;
|
|
1236
1539
|
hidden: boolean;
|
|
1237
1540
|
base?: boolean | undefined;
|
|
1238
|
-
color?: string | undefined;
|
|
1239
1541
|
category?: string | null | undefined;
|
|
1542
|
+
color?: string | undefined;
|
|
1240
1543
|
}, {
|
|
1241
1544
|
name: string;
|
|
1242
1545
|
hidden: boolean;
|
|
1243
1546
|
base?: boolean | undefined;
|
|
1244
|
-
color?: string | undefined;
|
|
1245
1547
|
category?: string | null | undefined;
|
|
1548
|
+
color?: string | undefined;
|
|
1246
1549
|
}>, "many">>>;
|
|
1247
1550
|
}, "strip", z.ZodTypeAny, {
|
|
1248
1551
|
description?: string | undefined;
|
|
@@ -1250,8 +1553,8 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1250
1553
|
name: string;
|
|
1251
1554
|
hidden: boolean;
|
|
1252
1555
|
base?: boolean | undefined;
|
|
1253
|
-
color?: string | undefined;
|
|
1254
1556
|
category?: string | null | undefined;
|
|
1557
|
+
color?: string | undefined;
|
|
1255
1558
|
}[] | null | undefined;
|
|
1256
1559
|
title?: string | undefined;
|
|
1257
1560
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -1261,8 +1564,8 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1261
1564
|
name: string;
|
|
1262
1565
|
hidden: boolean;
|
|
1263
1566
|
base?: boolean | undefined;
|
|
1264
|
-
color?: string | undefined;
|
|
1265
1567
|
category?: string | null | undefined;
|
|
1568
|
+
color?: string | undefined;
|
|
1266
1569
|
}[] | null | undefined;
|
|
1267
1570
|
title?: string | undefined;
|
|
1268
1571
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -1273,11 +1576,11 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1273
1576
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1274
1577
|
}, "strip", z.ZodTypeAny, {
|
|
1275
1578
|
kind: string;
|
|
1276
|
-
handler: "
|
|
1579
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1277
1580
|
payload: Record<string, unknown>;
|
|
1278
1581
|
}, {
|
|
1279
1582
|
kind: string;
|
|
1280
|
-
handler: "
|
|
1583
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1281
1584
|
payload: Record<string, unknown>;
|
|
1282
1585
|
}>, "many">>;
|
|
1283
1586
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1364,14 +1667,14 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1364
1667
|
name: string;
|
|
1365
1668
|
hidden: boolean;
|
|
1366
1669
|
base?: boolean | undefined;
|
|
1367
|
-
color?: string | undefined;
|
|
1368
1670
|
category?: string | null | undefined;
|
|
1671
|
+
color?: string | undefined;
|
|
1369
1672
|
}, {
|
|
1370
1673
|
name: string;
|
|
1371
1674
|
hidden: boolean;
|
|
1372
1675
|
base?: boolean | undefined;
|
|
1373
|
-
color?: string | undefined;
|
|
1374
1676
|
category?: string | null | undefined;
|
|
1677
|
+
color?: string | undefined;
|
|
1375
1678
|
}>, "many">>>;
|
|
1376
1679
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1377
1680
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
@@ -1379,18 +1682,90 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1379
1682
|
label: z.ZodOptional<z.ZodString>;
|
|
1380
1683
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1381
1684
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1685
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1686
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1687
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1688
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1689
|
+
}, "strip", z.ZodTypeAny, {
|
|
1690
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1691
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1692
|
+
}, {
|
|
1693
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1694
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1695
|
+
}>>>;
|
|
1696
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1697
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1698
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1699
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1700
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1701
|
+
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"]>>>;
|
|
1702
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1703
|
+
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"]>>>;
|
|
1704
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1705
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1706
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1707
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1708
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1382
1709
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1383
1710
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1384
1711
|
id: z.ZodString;
|
|
1385
1712
|
label: z.ZodOptional<z.ZodString>;
|
|
1386
1713
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1387
1714
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1715
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1716
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1717
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1718
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1719
|
+
}, "strip", z.ZodTypeAny, {
|
|
1720
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1721
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1722
|
+
}, {
|
|
1723
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1724
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1725
|
+
}>>>;
|
|
1726
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1727
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1728
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1729
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1730
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1731
|
+
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"]>>>;
|
|
1732
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1733
|
+
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"]>>>;
|
|
1734
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1735
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1736
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1737
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1738
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1388
1739
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1389
1740
|
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1390
1741
|
id: z.ZodString;
|
|
1391
1742
|
label: z.ZodOptional<z.ZodString>;
|
|
1392
1743
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1393
1744
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1745
|
+
kind: z.ZodOptional<z.ZodEnum<["identity", "representation"]>>;
|
|
1746
|
+
relation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1747
|
+
pair: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
|
|
1748
|
+
other_role: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
|
|
1749
|
+
}, "strip", z.ZodTypeAny, {
|
|
1750
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1751
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1752
|
+
}, {
|
|
1753
|
+
pair: "parent_child" | "spouse" | "guardian_dependent" | "family" | "company_employee" | "third_party_company" | "other";
|
|
1754
|
+
other_role: "spouse" | "family" | "other" | "parent" | "child" | "guardian" | "dependent" | "company" | "employee" | "third_party" | "represented";
|
|
1755
|
+
}>>>;
|
|
1756
|
+
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1757
|
+
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1758
|
+
created_source: z.ZodOptional<z.ZodEnum<["ui_appointment", "ui_manual", "ui_family", "sync_inferred", "reminder_inferred", "send_inferred", "lead_autocreate", "inherited", "merge", "legacy"]>>;
|
|
1759
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1760
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1761
|
+
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"]>>>;
|
|
1762
|
+
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1763
|
+
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"]>>>;
|
|
1764
|
+
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1765
|
+
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1766
|
+
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1767
|
+
rejected_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1768
|
+
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1394
1769
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
1395
1770
|
externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1396
1771
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
@@ -1536,14 +1911,14 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1536
1911
|
name: string;
|
|
1537
1912
|
hidden: boolean;
|
|
1538
1913
|
base?: boolean | undefined;
|
|
1539
|
-
color?: string | undefined;
|
|
1540
1914
|
category?: string | null | undefined;
|
|
1915
|
+
color?: string | undefined;
|
|
1541
1916
|
}, {
|
|
1542
1917
|
name: string;
|
|
1543
1918
|
hidden: boolean;
|
|
1544
1919
|
base?: boolean | undefined;
|
|
1545
|
-
color?: string | undefined;
|
|
1546
1920
|
category?: string | null | undefined;
|
|
1921
|
+
color?: string | undefined;
|
|
1547
1922
|
}>, "many">>>;
|
|
1548
1923
|
}, "strip", z.ZodTypeAny, {
|
|
1549
1924
|
description?: string | undefined;
|
|
@@ -1551,8 +1926,8 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1551
1926
|
name: string;
|
|
1552
1927
|
hidden: boolean;
|
|
1553
1928
|
base?: boolean | undefined;
|
|
1554
|
-
color?: string | undefined;
|
|
1555
1929
|
category?: string | null | undefined;
|
|
1930
|
+
color?: string | undefined;
|
|
1556
1931
|
}[] | null | undefined;
|
|
1557
1932
|
title?: string | undefined;
|
|
1558
1933
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -1562,8 +1937,8 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1562
1937
|
name: string;
|
|
1563
1938
|
hidden: boolean;
|
|
1564
1939
|
base?: boolean | undefined;
|
|
1565
|
-
color?: string | undefined;
|
|
1566
1940
|
category?: string | null | undefined;
|
|
1941
|
+
color?: string | undefined;
|
|
1567
1942
|
}[] | null | undefined;
|
|
1568
1943
|
title?: string | undefined;
|
|
1569
1944
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -1574,11 +1949,11 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1574
1949
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1575
1950
|
}, "strip", z.ZodTypeAny, {
|
|
1576
1951
|
kind: string;
|
|
1577
|
-
handler: "
|
|
1952
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1578
1953
|
payload: Record<string, unknown>;
|
|
1579
1954
|
}, {
|
|
1580
1955
|
kind: string;
|
|
1581
|
-
handler: "
|
|
1956
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1582
1957
|
payload: Record<string, unknown>;
|
|
1583
1958
|
}>, "many">>;
|
|
1584
1959
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1606,14 +1981,14 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1606
1981
|
name: string;
|
|
1607
1982
|
hidden: boolean;
|
|
1608
1983
|
base?: boolean | undefined;
|
|
1609
|
-
color?: string | undefined;
|
|
1610
1984
|
category?: string | null | undefined;
|
|
1985
|
+
color?: string | undefined;
|
|
1611
1986
|
}, {
|
|
1612
1987
|
name: string;
|
|
1613
1988
|
hidden: boolean;
|
|
1614
1989
|
base?: boolean | undefined;
|
|
1615
|
-
color?: string | undefined;
|
|
1616
1990
|
category?: string | null | undefined;
|
|
1991
|
+
color?: string | undefined;
|
|
1617
1992
|
}>, "many">>>;
|
|
1618
1993
|
}, "strip", z.ZodTypeAny, {
|
|
1619
1994
|
description?: string | undefined;
|
|
@@ -1621,8 +1996,8 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1621
1996
|
name: string;
|
|
1622
1997
|
hidden: boolean;
|
|
1623
1998
|
base?: boolean | undefined;
|
|
1624
|
-
color?: string | undefined;
|
|
1625
1999
|
category?: string | null | undefined;
|
|
2000
|
+
color?: string | undefined;
|
|
1626
2001
|
}[] | null | undefined;
|
|
1627
2002
|
title?: string | undefined;
|
|
1628
2003
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -1632,8 +2007,8 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1632
2007
|
name: string;
|
|
1633
2008
|
hidden: boolean;
|
|
1634
2009
|
base?: boolean | undefined;
|
|
1635
|
-
color?: string | undefined;
|
|
1636
2010
|
category?: string | null | undefined;
|
|
2011
|
+
color?: string | undefined;
|
|
1637
2012
|
}[] | null | undefined;
|
|
1638
2013
|
title?: string | undefined;
|
|
1639
2014
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -1644,11 +2019,11 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1644
2019
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1645
2020
|
}, "strip", z.ZodTypeAny, {
|
|
1646
2021
|
kind: string;
|
|
1647
|
-
handler: "
|
|
2022
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1648
2023
|
payload: Record<string, unknown>;
|
|
1649
2024
|
}, {
|
|
1650
2025
|
kind: string;
|
|
1651
|
-
handler: "
|
|
2026
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1652
2027
|
payload: Record<string, unknown>;
|
|
1653
2028
|
}>, "many">>;
|
|
1654
2029
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1676,14 +2051,14 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1676
2051
|
name: string;
|
|
1677
2052
|
hidden: boolean;
|
|
1678
2053
|
base?: boolean | undefined;
|
|
1679
|
-
color?: string | undefined;
|
|
1680
2054
|
category?: string | null | undefined;
|
|
2055
|
+
color?: string | undefined;
|
|
1681
2056
|
}, {
|
|
1682
2057
|
name: string;
|
|
1683
2058
|
hidden: boolean;
|
|
1684
2059
|
base?: boolean | undefined;
|
|
1685
|
-
color?: string | undefined;
|
|
1686
2060
|
category?: string | null | undefined;
|
|
2061
|
+
color?: string | undefined;
|
|
1687
2062
|
}>, "many">>>;
|
|
1688
2063
|
}, "strip", z.ZodTypeAny, {
|
|
1689
2064
|
description?: string | undefined;
|
|
@@ -1691,8 +2066,8 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1691
2066
|
name: string;
|
|
1692
2067
|
hidden: boolean;
|
|
1693
2068
|
base?: boolean | undefined;
|
|
1694
|
-
color?: string | undefined;
|
|
1695
2069
|
category?: string | null | undefined;
|
|
2070
|
+
color?: string | undefined;
|
|
1696
2071
|
}[] | null | undefined;
|
|
1697
2072
|
title?: string | undefined;
|
|
1698
2073
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -1702,8 +2077,8 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1702
2077
|
name: string;
|
|
1703
2078
|
hidden: boolean;
|
|
1704
2079
|
base?: boolean | undefined;
|
|
1705
|
-
color?: string | undefined;
|
|
1706
2080
|
category?: string | null | undefined;
|
|
2081
|
+
color?: string | undefined;
|
|
1707
2082
|
}[] | null | undefined;
|
|
1708
2083
|
title?: string | undefined;
|
|
1709
2084
|
priority?: "low" | "medium" | "high" | undefined;
|
|
@@ -1714,11 +2089,11 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1714
2089
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1715
2090
|
}, "strip", z.ZodTypeAny, {
|
|
1716
2091
|
kind: string;
|
|
1717
|
-
handler: "
|
|
2092
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1718
2093
|
payload: Record<string, unknown>;
|
|
1719
2094
|
}, {
|
|
1720
2095
|
kind: string;
|
|
1721
|
-
handler: "
|
|
2096
|
+
handler: "custom" | "evo-integrations.sync-run" | "notifications" | "ai_agent" | "invoices" | "webhook" | "lead_reactivation" | "appointment_action" | "appointment_reminder" | "appointment_confirmation" | "appointment_post_consultation" | "lead_form_capture" | "campaign.materialize" | "campaign.dispatch_batch" | "telemedicine_join_reminder" | "appointment_invoice";
|
|
1722
2097
|
payload: Record<string, unknown>;
|
|
1723
2098
|
}>, "many">>;
|
|
1724
2099
|
}, z.ZodTypeAny, "passthrough">>>;
|