evo360-types 1.3.755 → 1.3.759
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apps/evo-activity/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-chat/contact/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-chat/dic/ticket-close/zod-schemas.d.ts +12 -12
- package/dist/apps/evo-chat/message/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-core/zod-schemas.d.ts +96 -49
- package/dist/apps/evo-core/zod-schemas.js +11 -5
- package/dist/apps/evo-core/zod-schemas.ts +10 -4
- package/dist/apps/evo-crm/dic/zod-schemas.d.ts +18 -18
- package/dist/apps/evo-crm/lead/zod-schemas.d.ts +42 -42
- package/dist/apps/evo-finops/zod-schemas.d.ts +72 -72
- package/dist/apps/evo-med/appointment/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/calendar/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/dic/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/insurance/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/people/zod-schemas.d.ts +192 -192
- package/dist/apps/evo-med/procedure/zod-schemas.d.ts +12 -12
- package/dist/apps/evo-notifications/zod-schemas.d.ts +156 -156
- package/dist/apps/evo-people/zod-schemas.d.ts +24 -24
- package/dist/apps/evo-survey/zod-schemas.d.ts +58 -58
- package/dist/apps/evo-task/zod-schemas.d.ts +219 -117
- package/dist/apps/evo-task/zod-schemas.js +36 -5
- package/dist/apps/evo-task/zod-schemas.ts +38 -4
- package/dist/apps/hub-automation/zod-schemas.d.ts +184 -184
- package/dist/apps/shared/zod-schemas.d.ts +2 -2
- package/dist/types/evo-core/index.d.ts +13 -5
- package/dist/types/evo-core/index.ts +14 -5
- package/dist/types/shared/external-links.d.ts +27 -0
- package/dist/types/shared/external-links.js +12 -0
- package/dist/types/shared/external-links.ts +28 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.zNexusClaimsSchema = exports.zNexusModulesSchema = exports.
|
|
3
|
+
exports.zNexusClaimsSchema = exports.zNexusModulesSchema = exports.zNexusModuleToolsPermissionsSchema = exports.zNexusModuleFinancePermissionsSchema = exports.zNexusModuleChatPermissionsSchema = exports.zRbacGroupSchema = exports.zRbacPermissionMetadataSchema = exports.zRbacRoleSchema = exports.zRbacRolePermsSchema = exports.zUserTenantIndexSchema = exports.zTenantUserSchema = exports.zUserTenantIndexStatusSchema = exports.zTenantUserStatusSchema = exports.zRbacPermValueSchema = exports.zActionArgsSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const zod_schemas_1 = require("../shared/zod-schemas");
|
|
6
6
|
const zod_schemas_2 = require("../evo-tenant/zod-schemas");
|
|
@@ -96,7 +96,6 @@ exports.zRbacGroupSchema = zod_1.z
|
|
|
96
96
|
* Schema for INexusModuleChatPermissions
|
|
97
97
|
*/
|
|
98
98
|
exports.zNexusModuleChatPermissionsSchema = zod_1.z.object({
|
|
99
|
-
management: zod_1.z.boolean().optional(),
|
|
100
99
|
supervision: zod_1.z.boolean().optional(),
|
|
101
100
|
/** Supervisão 2.0 (CSQ). Gate da fila e do laudo do evo-csq no Nexus. */
|
|
102
101
|
csq: zod_1.z.boolean().optional(),
|
|
@@ -115,9 +114,11 @@ exports.zNexusModuleFinancePermissionsSchema = zod_1.z.object({
|
|
|
115
114
|
reimbursements: zod_1.z.boolean().optional(),
|
|
116
115
|
});
|
|
117
116
|
/**
|
|
118
|
-
* Schema for
|
|
117
|
+
* Schema for INexusModuleToolsPermissions
|
|
119
118
|
*/
|
|
120
|
-
exports.
|
|
119
|
+
exports.zNexusModuleToolsPermissionsSchema = zod_1.z.object({
|
|
120
|
+
forms: zod_1.z.boolean().optional(),
|
|
121
|
+
});
|
|
121
122
|
/**
|
|
122
123
|
* Schema for INexusModules
|
|
123
124
|
*/
|
|
@@ -130,7 +131,12 @@ exports.zNexusModulesSchema = zod_1.z
|
|
|
130
131
|
.optional(),
|
|
131
132
|
notifications: zod_1.z.boolean().optional(),
|
|
132
133
|
waba: zod_1.z.boolean().optional(),
|
|
133
|
-
|
|
134
|
+
task_runner: zod_1.z.boolean().optional(),
|
|
135
|
+
webhooks: zod_1.z.boolean().optional(),
|
|
136
|
+
integrations: zod_1.z.boolean().optional(),
|
|
137
|
+
tools: zod_1.z
|
|
138
|
+
.union([exports.zNexusModuleToolsPermissionsSchema, zod_1.z.boolean()])
|
|
139
|
+
.optional(),
|
|
134
140
|
})
|
|
135
141
|
.passthrough();
|
|
136
142
|
/**
|
|
@@ -106,7 +106,6 @@ export const zRbacGroupSchema = z
|
|
|
106
106
|
* Schema for INexusModuleChatPermissions
|
|
107
107
|
*/
|
|
108
108
|
export const zNexusModuleChatPermissionsSchema = z.object({
|
|
109
|
-
management: z.boolean().optional(),
|
|
110
109
|
supervision: z.boolean().optional(),
|
|
111
110
|
/** Supervisão 2.0 (CSQ). Gate da fila e do laudo do evo-csq no Nexus. */
|
|
112
111
|
csq: z.boolean().optional(),
|
|
@@ -127,9 +126,11 @@ export const zNexusModuleFinancePermissionsSchema = z.object({
|
|
|
127
126
|
});
|
|
128
127
|
|
|
129
128
|
/**
|
|
130
|
-
* Schema for
|
|
129
|
+
* Schema for INexusModuleToolsPermissions
|
|
131
130
|
*/
|
|
132
|
-
export const
|
|
131
|
+
export const zNexusModuleToolsPermissionsSchema = z.object({
|
|
132
|
+
forms: z.boolean().optional(),
|
|
133
|
+
});
|
|
133
134
|
|
|
134
135
|
/**
|
|
135
136
|
* Schema for INexusModules
|
|
@@ -143,7 +144,12 @@ export const zNexusModulesSchema = z
|
|
|
143
144
|
.optional(),
|
|
144
145
|
notifications: z.boolean().optional(),
|
|
145
146
|
waba: z.boolean().optional(),
|
|
146
|
-
|
|
147
|
+
task_runner: z.boolean().optional(),
|
|
148
|
+
webhooks: z.boolean().optional(),
|
|
149
|
+
integrations: z.boolean().optional(),
|
|
150
|
+
tools: z
|
|
151
|
+
.union([zNexusModuleToolsPermissionsSchema, z.boolean()])
|
|
152
|
+
.optional(),
|
|
147
153
|
})
|
|
148
154
|
.passthrough();
|
|
149
155
|
|
|
@@ -20,14 +20,14 @@ export declare const zDistChannelTypeSchema: z.ZodObject<{
|
|
|
20
20
|
name: string;
|
|
21
21
|
hidden: boolean;
|
|
22
22
|
base?: boolean | undefined;
|
|
23
|
-
category?: string | null | undefined;
|
|
24
23
|
color?: string | undefined;
|
|
24
|
+
category?: string | null | undefined;
|
|
25
25
|
}, {
|
|
26
26
|
name: string;
|
|
27
27
|
hidden: boolean;
|
|
28
28
|
base?: boolean | undefined;
|
|
29
|
-
category?: string | null | undefined;
|
|
30
29
|
color?: string | undefined;
|
|
30
|
+
category?: string | null | undefined;
|
|
31
31
|
}>, "many">>>;
|
|
32
32
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
33
33
|
id: z.ZodString;
|
|
@@ -50,14 +50,14 @@ export declare const zDistChannelTypeSchema: z.ZodObject<{
|
|
|
50
50
|
name: string;
|
|
51
51
|
hidden: boolean;
|
|
52
52
|
base?: boolean | undefined;
|
|
53
|
-
category?: string | null | undefined;
|
|
54
53
|
color?: string | undefined;
|
|
54
|
+
category?: string | null | undefined;
|
|
55
55
|
}, {
|
|
56
56
|
name: string;
|
|
57
57
|
hidden: boolean;
|
|
58
58
|
base?: boolean | undefined;
|
|
59
|
-
category?: string | null | undefined;
|
|
60
59
|
color?: string | undefined;
|
|
60
|
+
category?: string | null | undefined;
|
|
61
61
|
}>, "many">>>;
|
|
62
62
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
63
63
|
id: z.ZodString;
|
|
@@ -80,14 +80,14 @@ export declare const zDistChannelTypeSchema: z.ZodObject<{
|
|
|
80
80
|
name: string;
|
|
81
81
|
hidden: boolean;
|
|
82
82
|
base?: boolean | undefined;
|
|
83
|
-
category?: string | null | undefined;
|
|
84
83
|
color?: string | undefined;
|
|
84
|
+
category?: string | null | undefined;
|
|
85
85
|
}, {
|
|
86
86
|
name: string;
|
|
87
87
|
hidden: boolean;
|
|
88
88
|
base?: boolean | undefined;
|
|
89
|
-
category?: string | null | undefined;
|
|
90
89
|
color?: string | undefined;
|
|
90
|
+
category?: string | null | undefined;
|
|
91
91
|
}>, "many">>>;
|
|
92
92
|
}, z.ZodTypeAny, "passthrough">>;
|
|
93
93
|
export declare const zDistChannelSchema: z.ZodObject<{
|
|
@@ -114,14 +114,14 @@ export declare const zDistChannelSchema: z.ZodObject<{
|
|
|
114
114
|
name: string;
|
|
115
115
|
hidden: boolean;
|
|
116
116
|
base?: boolean | undefined;
|
|
117
|
-
category?: string | null | undefined;
|
|
118
117
|
color?: string | undefined;
|
|
118
|
+
category?: string | null | undefined;
|
|
119
119
|
}, {
|
|
120
120
|
name: string;
|
|
121
121
|
hidden: boolean;
|
|
122
122
|
base?: boolean | undefined;
|
|
123
|
-
category?: string | null | undefined;
|
|
124
123
|
color?: string | undefined;
|
|
124
|
+
category?: string | null | undefined;
|
|
125
125
|
}>, "many">>>;
|
|
126
126
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
127
127
|
id: z.ZodString;
|
|
@@ -147,14 +147,14 @@ export declare const zDistChannelSchema: z.ZodObject<{
|
|
|
147
147
|
name: string;
|
|
148
148
|
hidden: boolean;
|
|
149
149
|
base?: boolean | undefined;
|
|
150
|
-
category?: string | null | undefined;
|
|
151
150
|
color?: string | undefined;
|
|
151
|
+
category?: string | null | undefined;
|
|
152
152
|
}, {
|
|
153
153
|
name: string;
|
|
154
154
|
hidden: boolean;
|
|
155
155
|
base?: boolean | undefined;
|
|
156
|
-
category?: string | null | undefined;
|
|
157
156
|
color?: string | undefined;
|
|
157
|
+
category?: string | null | undefined;
|
|
158
158
|
}>, "many">>>;
|
|
159
159
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
160
160
|
id: z.ZodString;
|
|
@@ -180,14 +180,14 @@ export declare const zDistChannelSchema: z.ZodObject<{
|
|
|
180
180
|
name: string;
|
|
181
181
|
hidden: boolean;
|
|
182
182
|
base?: boolean | undefined;
|
|
183
|
-
category?: string | null | undefined;
|
|
184
183
|
color?: string | undefined;
|
|
184
|
+
category?: string | null | undefined;
|
|
185
185
|
}, {
|
|
186
186
|
name: string;
|
|
187
187
|
hidden: boolean;
|
|
188
188
|
base?: boolean | undefined;
|
|
189
|
-
category?: string | null | undefined;
|
|
190
189
|
color?: string | undefined;
|
|
190
|
+
category?: string | null | undefined;
|
|
191
191
|
}>, "many">>>;
|
|
192
192
|
}, z.ZodTypeAny, "passthrough">>;
|
|
193
193
|
export declare const zQualificationFunnelLevelSchema: z.ZodEnum<["invalid", "new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
@@ -215,14 +215,14 @@ export declare const zQualificationSchema: z.ZodObject<{
|
|
|
215
215
|
name: string;
|
|
216
216
|
hidden: boolean;
|
|
217
217
|
base?: boolean | undefined;
|
|
218
|
-
category?: string | null | undefined;
|
|
219
218
|
color?: string | undefined;
|
|
219
|
+
category?: string | null | undefined;
|
|
220
220
|
}, {
|
|
221
221
|
name: string;
|
|
222
222
|
hidden: boolean;
|
|
223
223
|
base?: boolean | undefined;
|
|
224
|
-
category?: string | null | undefined;
|
|
225
224
|
color?: string | undefined;
|
|
225
|
+
category?: string | null | undefined;
|
|
226
226
|
}>, "many">>>;
|
|
227
227
|
meta_event: z.ZodOptional<z.ZodNullable<z.ZodEnum<["LeadSubmitted", "AppointmentBooked", "Purchase", "InitiateCheckout", "AddToCart", "ViewContent"]>>>;
|
|
228
228
|
meta_event_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -250,14 +250,14 @@ export declare const zQualificationSchema: z.ZodObject<{
|
|
|
250
250
|
name: string;
|
|
251
251
|
hidden: boolean;
|
|
252
252
|
base?: boolean | undefined;
|
|
253
|
-
category?: string | null | undefined;
|
|
254
253
|
color?: string | undefined;
|
|
254
|
+
category?: string | null | undefined;
|
|
255
255
|
}, {
|
|
256
256
|
name: string;
|
|
257
257
|
hidden: boolean;
|
|
258
258
|
base?: boolean | undefined;
|
|
259
|
-
category?: string | null | undefined;
|
|
260
259
|
color?: string | undefined;
|
|
260
|
+
category?: string | null | undefined;
|
|
261
261
|
}>, "many">>>;
|
|
262
262
|
meta_event: z.ZodOptional<z.ZodNullable<z.ZodEnum<["LeadSubmitted", "AppointmentBooked", "Purchase", "InitiateCheckout", "AddToCart", "ViewContent"]>>>;
|
|
263
263
|
meta_event_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -285,14 +285,14 @@ export declare const zQualificationSchema: z.ZodObject<{
|
|
|
285
285
|
name: string;
|
|
286
286
|
hidden: boolean;
|
|
287
287
|
base?: boolean | undefined;
|
|
288
|
-
category?: string | null | undefined;
|
|
289
288
|
color?: string | undefined;
|
|
289
|
+
category?: string | null | undefined;
|
|
290
290
|
}, {
|
|
291
291
|
name: string;
|
|
292
292
|
hidden: boolean;
|
|
293
293
|
base?: boolean | undefined;
|
|
294
|
-
category?: string | null | undefined;
|
|
295
294
|
color?: string | undefined;
|
|
295
|
+
category?: string | null | undefined;
|
|
296
296
|
}>, "many">>>;
|
|
297
297
|
meta_event: z.ZodOptional<z.ZodNullable<z.ZodEnum<["LeadSubmitted", "AppointmentBooked", "Purchase", "InitiateCheckout", "AddToCart", "ViewContent"]>>>;
|
|
298
298
|
meta_event_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -178,7 +178,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
178
178
|
* a família inteira) e um paciente pode responder a vários leads. feat-095.
|
|
179
179
|
*/
|
|
180
180
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
181
|
-
type: z.
|
|
181
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
182
182
|
id: z.ZodString;
|
|
183
183
|
label: z.ZodOptional<z.ZodString>;
|
|
184
184
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -196,12 +196,12 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
196
196
|
}>>>;
|
|
197
197
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
198
198
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
199
|
-
created_source: z.ZodOptional<z.
|
|
199
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
200
200
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
201
201
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
202
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
202
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
203
203
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
204
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
204
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
205
205
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
206
206
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
207
207
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -209,7 +209,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
209
209
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
210
210
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
211
211
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
212
|
-
type: z.
|
|
212
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
213
213
|
id: z.ZodString;
|
|
214
214
|
label: z.ZodOptional<z.ZodString>;
|
|
215
215
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -227,12 +227,12 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
227
227
|
}>>>;
|
|
228
228
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
229
229
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
230
|
-
created_source: z.ZodOptional<z.
|
|
230
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
231
231
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
232
232
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
233
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
233
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
234
234
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
235
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
235
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
236
236
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
237
237
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
238
238
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -240,7 +240,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
240
240
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
241
241
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
242
242
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
243
|
-
type: z.
|
|
243
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
244
244
|
id: z.ZodString;
|
|
245
245
|
label: z.ZodOptional<z.ZodString>;
|
|
246
246
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -258,12 +258,12 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
258
258
|
}>>>;
|
|
259
259
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
260
260
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
261
|
-
created_source: z.ZodOptional<z.
|
|
261
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
262
262
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
263
263
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
264
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
264
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
265
265
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
266
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
266
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
267
267
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
268
268
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
269
269
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -289,14 +289,14 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
289
289
|
name: string;
|
|
290
290
|
hidden: boolean;
|
|
291
291
|
base?: boolean | undefined;
|
|
292
|
-
category?: string | null | undefined;
|
|
293
292
|
color?: string | undefined;
|
|
293
|
+
category?: string | null | undefined;
|
|
294
294
|
}, {
|
|
295
295
|
name: string;
|
|
296
296
|
hidden: boolean;
|
|
297
297
|
base?: boolean | undefined;
|
|
298
|
-
category?: string | null | undefined;
|
|
299
298
|
color?: string | undefined;
|
|
299
|
+
category?: string | null | undefined;
|
|
300
300
|
}>, "many">>>;
|
|
301
301
|
capture_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
302
302
|
userRef: z.ZodAny;
|
|
@@ -442,7 +442,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
442
442
|
* a família inteira) e um paciente pode responder a vários leads. feat-095.
|
|
443
443
|
*/
|
|
444
444
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
445
|
-
type: z.
|
|
445
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
446
446
|
id: z.ZodString;
|
|
447
447
|
label: z.ZodOptional<z.ZodString>;
|
|
448
448
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -460,12 +460,12 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
460
460
|
}>>>;
|
|
461
461
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
462
462
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
463
|
-
created_source: z.ZodOptional<z.
|
|
463
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
464
464
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
465
465
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
466
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
466
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
467
467
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
468
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
468
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
469
469
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
470
470
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
471
471
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -473,7 +473,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
473
473
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
474
474
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
475
475
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
476
|
-
type: z.
|
|
476
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
477
477
|
id: z.ZodString;
|
|
478
478
|
label: z.ZodOptional<z.ZodString>;
|
|
479
479
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -491,12 +491,12 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
491
491
|
}>>>;
|
|
492
492
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
493
493
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
494
|
-
created_source: z.ZodOptional<z.
|
|
494
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
495
495
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
496
496
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
497
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
497
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
498
498
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
499
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
499
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
500
500
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
501
501
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
502
502
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -504,7 +504,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
504
504
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
505
505
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
506
506
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
507
|
-
type: z.
|
|
507
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
508
508
|
id: z.ZodString;
|
|
509
509
|
label: z.ZodOptional<z.ZodString>;
|
|
510
510
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -522,12 +522,12 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
522
522
|
}>>>;
|
|
523
523
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
524
524
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
525
|
-
created_source: z.ZodOptional<z.
|
|
525
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
526
526
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
527
527
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
528
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
528
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
529
529
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
530
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
530
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
531
531
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
532
532
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
533
533
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -553,14 +553,14 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
553
553
|
name: string;
|
|
554
554
|
hidden: boolean;
|
|
555
555
|
base?: boolean | undefined;
|
|
556
|
-
category?: string | null | undefined;
|
|
557
556
|
color?: string | undefined;
|
|
557
|
+
category?: string | null | undefined;
|
|
558
558
|
}, {
|
|
559
559
|
name: string;
|
|
560
560
|
hidden: boolean;
|
|
561
561
|
base?: boolean | undefined;
|
|
562
|
-
category?: string | null | undefined;
|
|
563
562
|
color?: string | undefined;
|
|
563
|
+
category?: string | null | undefined;
|
|
564
564
|
}>, "many">>>;
|
|
565
565
|
capture_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
566
566
|
userRef: z.ZodAny;
|
|
@@ -706,7 +706,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
706
706
|
* a família inteira) e um paciente pode responder a vários leads. feat-095.
|
|
707
707
|
*/
|
|
708
708
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
709
|
-
type: z.
|
|
709
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
710
710
|
id: z.ZodString;
|
|
711
711
|
label: z.ZodOptional<z.ZodString>;
|
|
712
712
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -724,12 +724,12 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
724
724
|
}>>>;
|
|
725
725
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
726
726
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
727
|
-
created_source: z.ZodOptional<z.
|
|
727
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
728
728
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
729
729
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
730
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
730
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
731
731
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
732
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
732
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
733
733
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
734
734
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
735
735
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -737,7 +737,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
737
737
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
738
738
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
739
739
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
740
|
-
type: z.
|
|
740
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
741
741
|
id: z.ZodString;
|
|
742
742
|
label: z.ZodOptional<z.ZodString>;
|
|
743
743
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -755,12 +755,12 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
755
755
|
}>>>;
|
|
756
756
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
757
757
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
758
|
-
created_source: z.ZodOptional<z.
|
|
758
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
759
759
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
760
760
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
761
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
761
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
762
762
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
763
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
763
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
764
764
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
765
765
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
766
766
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -768,7 +768,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
768
768
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
769
769
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
770
770
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
771
|
-
type: z.
|
|
771
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
772
772
|
id: z.ZodString;
|
|
773
773
|
label: z.ZodOptional<z.ZodString>;
|
|
774
774
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -786,12 +786,12 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
786
786
|
}>>>;
|
|
787
787
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
788
788
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
789
|
-
created_source: z.ZodOptional<z.
|
|
789
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
790
790
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
791
791
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
792
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
792
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
793
793
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
794
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
794
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
795
795
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
796
796
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
797
797
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -817,14 +817,14 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
817
817
|
name: string;
|
|
818
818
|
hidden: boolean;
|
|
819
819
|
base?: boolean | undefined;
|
|
820
|
-
category?: string | null | undefined;
|
|
821
820
|
color?: string | undefined;
|
|
821
|
+
category?: string | null | undefined;
|
|
822
822
|
}, {
|
|
823
823
|
name: string;
|
|
824
824
|
hidden: boolean;
|
|
825
825
|
base?: boolean | undefined;
|
|
826
|
-
category?: string | null | undefined;
|
|
827
826
|
color?: string | undefined;
|
|
827
|
+
category?: string | null | undefined;
|
|
828
828
|
}>, "many">>>;
|
|
829
829
|
capture_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
830
830
|
userRef: z.ZodAny;
|