evo360-types 1.3.602 → 1.3.606
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-chat/chatbee/zod-schemas.d.ts +4 -4
- package/dist/apps/evo-crm/lead/zod-schemas.d.ts +3 -0
- package/dist/apps/evo-crm/lead/zod-schemas.js +1 -0
- package/dist/apps/evo-crm/lead/zod-schemas.ts +2 -0
- package/dist/apps/evo-csq/zod-schemas.d.ts +595 -10
- package/dist/apps/evo-csq/zod-schemas.js +43 -2
- package/dist/apps/evo-csq/zod-schemas.ts +46 -0
- package/dist/apps/evo-hub-ia/v1/zod-schemas.d.ts +36 -36
- package/dist/apps/evo-med/dic/zod-schemas.d.ts +4 -4
- package/dist/apps/evo-med/people/zod-schemas.d.ts +3 -0
- package/dist/apps/evo-med/people/zod-schemas.js +1 -0
- package/dist/apps/evo-med/people/zod-schemas.ts +2 -0
- package/dist/apps/hub-automation/zod-schemas.d.ts +4 -4
- package/dist/apps/shared/zod-schemas.d.ts +100 -0
- package/dist/apps/shared/zod-schemas.js +39 -1
- package/dist/apps/shared/zod-schemas.ts +44 -0
- package/dist/types/evo-crm/lead/index.d.ts +3 -1
- package/dist/types/evo-crm/lead/index.ts +3 -0
- package/dist/types/evo-csq/index.d.ts +61 -2
- package/dist/types/evo-csq/index.js +5 -1
- package/dist/types/evo-csq/index.ts +72 -2
- package/dist/types/evo-med/people/index.d.ts +3 -1
- package/dist/types/evo-med/people/index.ts +3 -0
- package/dist/types/shared/capture-data.d.ts +49 -0
- package/dist/types/shared/capture-data.js +26 -0
- package/dist/types/shared/capture-data.ts +74 -0
- package/dist/types/shared/index.d.ts +1 -0
- package/dist/types/shared/index.js +1 -0
- package/dist/types/shared/index.ts +1 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.zCsqLeadReportSchema = exports.zCsqRunSchema = exports.zCsqAlertCountsSchema = exports.zCsqEligibilitySchema = exports.zCsqEvaluatedForSchema = exports.zCsqReportHeaderSchema = exports.zCsqReportAttendantSchema = exports.zCsqReportPatientSchema = exports.zCsqReportLeadSchema = exports.zCsqSystemFactsSchema = exports.zCsqBillingFactSchema = exports.zCsqPreviousTicketFactSchema = void 0;
|
|
3
|
+
exports.zCsqJudgeResolvedAlertSchema = exports.zCsqJudgeRevalidationSchema = exports.zCsqLlmUsageSchema = exports.zCsqTranscriptMessageSchema = exports.zCsqTicketSummarySchema = exports.zCsqTrailEntrySchema = exports.zCsqReviewSchema = exports.zCsqDataQualitySchema = exports.zCsqCoverageSchema = exports.zCsqContributorSchema = exports.zCsqEvaluationSchema = exports.zCsqPillarScoreSchema = exports.zCsqPillarCoverageSchema = exports.zCsqCriterionScoreSchema = exports.zCsqCrossCheckSchema = exports.zCsqClaimTypeSchema = exports.zCsqClaimSchema = exports.zCsqClaimPriceInformedSchema = exports.zCsqClaimPatientStatusSchema = exports.zCsqClaimFirstConcreteOfferSchema = exports.zCsqClaimQuestionRequiresAnswerSchema = exports.zCsqClaimOutcomeSchema = exports.zCsqClaimRequiredDataSchema = exports.zCsqClaimDataCollectedSchema = exports.zCsqClaimPromiseSchema = exports.zCsqClaimAppointmentInformedSchema = exports.zCsqLeadStateSchema = exports.zCsqLeadStateListFieldSchema = exports.zCsqLeadStateFieldSchema = exports.zCsqIndicatorsSchema = exports.zCsqIndicatorsSetSchema = exports.zCsqAlertSchema = exports.zCsqEvidenceSchema = exports.zCsqAlertSubtypeSchema = exports.zCsqAlertCodeSchema = exports.zCsqPillarCodeSchema = exports.zCsqCriterionScoreValueSchema = exports.zCsqAuthorKindSchema = exports.zCsqReviewVerdictSchema = exports.zCsqLlmConnectionSourceSchema = exports.zCsqPhaseSchema = exports.zCsqRunStatusSchema = exports.zCsqVerificationStateSchema = exports.zCsqAlertResolvedReasonSchema = exports.zCsqAlertLifecycleSchema = exports.zCsqAlertScopeSchema = exports.zCsqAlertSourceSchema = exports.zCsqSeveritySchema = exports.zCsqStatusSchema = exports.zCsqModeSchema = void 0;
|
|
4
|
+
exports.zCsqLeadReportSchema = exports.zCsqRunSchema = exports.zCsqAlertCountsSchema = exports.zCsqEligibilitySchema = exports.zCsqEvaluatedForSchema = exports.zCsqReportHeaderSchema = exports.zCsqReportAttendantSchema = exports.zCsqReportPatientSchema = exports.zCsqReportLeadSchema = exports.zCsqSystemFactsSchema = exports.zCsqBillingFactSchema = exports.zCsqPreviousTicketFactSchema = exports.zCsqOverlapFactSchema = exports.zCsqOverlapFamilyHintsSchema = exports.zCsqOverlapAppointmentFactSchema = exports.zCsqAppointmentFactSchema = exports.zCsqJudgeOutputSchema = void 0;
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
const zod_schemas_1 = require("../shared/zod-schemas");
|
|
7
7
|
// Schemas zod do CSQ 2.0 (feat-154). As interfaces TS equivalentes ficam em
|
|
@@ -23,6 +23,15 @@ exports.zCsqSeveritySchema = zod_1.z.enum(["critica", "alta", "media", "baixa"])
|
|
|
23
23
|
exports.zCsqAlertSourceSchema = zod_1.z.enum(["deterministic", "llm", "hybrid"]);
|
|
24
24
|
exports.zCsqAlertScopeSchema = zod_1.z.enum(["ticket", "journey"]);
|
|
25
25
|
exports.zCsqAlertLifecycleSchema = zod_1.z.enum(["open", "resolved"]);
|
|
26
|
+
/** Motivo da resolucao de um alerta (lote 9). */
|
|
27
|
+
exports.zCsqAlertResolvedReasonSchema = zod_1.z.enum([
|
|
28
|
+
"fact",
|
|
29
|
+
"judge_resolved",
|
|
30
|
+
"judge_dismissed",
|
|
31
|
+
"code_guard",
|
|
32
|
+
"recheck_ok",
|
|
33
|
+
"supervisor_false_positive",
|
|
34
|
+
]);
|
|
26
35
|
exports.zCsqVerificationStateSchema = zod_1.z.enum([
|
|
27
36
|
"pending",
|
|
28
37
|
"confirmed_ok",
|
|
@@ -129,6 +138,8 @@ exports.zCsqAlertSchema = zod_1.z.object({
|
|
|
129
138
|
verification: exports.zCsqVerificationStateSchema.optional(),
|
|
130
139
|
recheck_after: zod_schemas_1.zFirestoreDateSchema.optional(),
|
|
131
140
|
resolved_in_ticket: zod_1.z.string().optional(),
|
|
141
|
+
resolved_reason: exports.zCsqAlertResolvedReasonSchema.optional(),
|
|
142
|
+
resolved_note: zod_1.z.string().optional(),
|
|
132
143
|
appointment_id: zod_1.z.string().optional(),
|
|
133
144
|
calendar_id: zod_1.z.string().optional(),
|
|
134
145
|
first_seen_ticket_id: zod_1.z.string(),
|
|
@@ -378,6 +389,17 @@ exports.zCsqLlmUsageSchema = zod_1.z.object({
|
|
|
378
389
|
cache_creation_tokens: zod_1.z.number().optional(),
|
|
379
390
|
rounds: zod_1.z.number().optional(),
|
|
380
391
|
});
|
|
392
|
+
/** Veredito do juiz sobre um achado automatico revalidavel (lote 9). */
|
|
393
|
+
exports.zCsqJudgeRevalidationSchema = zod_1.z.object({
|
|
394
|
+
fingerprint: zod_1.z.string(),
|
|
395
|
+
verdict: zod_1.z.enum(["confirm", "dismiss"]),
|
|
396
|
+
reason: zod_1.z.string(),
|
|
397
|
+
});
|
|
398
|
+
/** Alerta anterior resolvido pelo juiz, com o motivo (lote 9). */
|
|
399
|
+
exports.zCsqJudgeResolvedAlertSchema = zod_1.z.object({
|
|
400
|
+
fingerprint: zod_1.z.string(),
|
|
401
|
+
reason: zod_1.z.string(),
|
|
402
|
+
});
|
|
381
403
|
/** Schema da tool `submit_csq_evaluation`. ESTRITO de proposito: e o contrato
|
|
382
404
|
* de saida do LLM, nao um doc do Firestore — nada de passthrough aqui. */
|
|
383
405
|
exports.zCsqJudgeOutputSchema = zod_1.z.object({
|
|
@@ -389,6 +411,8 @@ exports.zCsqJudgeOutputSchema = zod_1.z.object({
|
|
|
389
411
|
alerts: zod_1.z.array(exports.zCsqAlertSchema),
|
|
390
412
|
/** Fingerprints de alertas anteriores resolvidos neste atendimento. */
|
|
391
413
|
resolved_alert_ids: zod_1.z.array(zod_1.z.string()),
|
|
414
|
+
resolved_alerts: zod_1.z.array(exports.zCsqJudgeResolvedAlertSchema).optional(),
|
|
415
|
+
revalidations: zod_1.z.array(exports.zCsqJudgeRevalidationSchema).optional(),
|
|
392
416
|
highlights: zod_1.z.array(zod_1.z.string()),
|
|
393
417
|
improvements: zod_1.z.array(zod_1.z.string()),
|
|
394
418
|
confidence: zod_1.z.number().min(0).max(1),
|
|
@@ -407,11 +431,27 @@ exports.zCsqAppointmentFactSchema = zod_1.z.object({
|
|
|
407
431
|
modality: zod_1.z.string().optional(),
|
|
408
432
|
created_at: zod_schemas_1.zFirestoreDateSchema.optional(),
|
|
409
433
|
});
|
|
434
|
+
exports.zCsqOverlapAppointmentFactSchema = zod_1.z.object({
|
|
435
|
+
id: zod_1.z.string(),
|
|
436
|
+
patient_id: zod_1.z.string().optional(),
|
|
437
|
+
patient_name: zod_1.z.string().optional(),
|
|
438
|
+
start_at: zod_schemas_1.zFirestoreDateSchema,
|
|
439
|
+
end_at: zod_schemas_1.zFirestoreDateSchema.optional(),
|
|
440
|
+
professional_name: zod_1.z.string().optional(),
|
|
441
|
+
is_lead: zod_1.z.boolean(),
|
|
442
|
+
});
|
|
443
|
+
exports.zCsqOverlapFamilyHintsSchema = zod_1.z.object({
|
|
444
|
+
same_surname: zod_1.z.boolean(),
|
|
445
|
+
same_contact: zod_1.z.boolean(),
|
|
446
|
+
same_lead: zod_1.z.boolean(),
|
|
447
|
+
});
|
|
410
448
|
exports.zCsqOverlapFactSchema = zod_1.z.object({
|
|
411
449
|
professional_name: zod_1.z.string().optional(),
|
|
412
450
|
appointment_ids: zod_1.z.array(zod_1.z.string()),
|
|
413
451
|
start_at: zod_schemas_1.zFirestoreDateSchema,
|
|
414
452
|
end_at: zod_schemas_1.zFirestoreDateSchema,
|
|
453
|
+
appointments: zod_1.z.array(exports.zCsqOverlapAppointmentFactSchema).optional(),
|
|
454
|
+
family_hints: exports.zCsqOverlapFamilyHintsSchema.optional(),
|
|
415
455
|
});
|
|
416
456
|
exports.zCsqPreviousTicketFactSchema = zod_1.z.object({
|
|
417
457
|
ticket_id: zod_1.z.string(),
|
|
@@ -549,6 +589,7 @@ exports.zCsqLeadReportSchema = zod_schemas_1.zFireDocSchema
|
|
|
549
589
|
coverage: exports.zCsqCoverageSchema,
|
|
550
590
|
data_quality: exports.zCsqDataQualitySchema.optional(),
|
|
551
591
|
review: exports.zCsqReviewSchema.optional(),
|
|
592
|
+
suppressed_alert_fingerprints: zod_1.z.array(zod_1.z.string()).optional(),
|
|
552
593
|
deleted_by_login_id: zod_1.z.string().optional(),
|
|
553
594
|
deleted_reason: zod_1.z.string().optional(),
|
|
554
595
|
verification: exports.zCsqVerificationStateSchema.optional(),
|
|
@@ -29,6 +29,16 @@ export const zCsqAlertScopeSchema = z.enum(["ticket", "journey"]);
|
|
|
29
29
|
|
|
30
30
|
export const zCsqAlertLifecycleSchema = z.enum(["open", "resolved"]);
|
|
31
31
|
|
|
32
|
+
/** Motivo da resolucao de um alerta (lote 9). */
|
|
33
|
+
export const zCsqAlertResolvedReasonSchema = z.enum([
|
|
34
|
+
"fact",
|
|
35
|
+
"judge_resolved",
|
|
36
|
+
"judge_dismissed",
|
|
37
|
+
"code_guard",
|
|
38
|
+
"recheck_ok",
|
|
39
|
+
"supervisor_false_positive",
|
|
40
|
+
]);
|
|
41
|
+
|
|
32
42
|
export const zCsqVerificationStateSchema = z.enum([
|
|
33
43
|
"pending",
|
|
34
44
|
"confirmed_ok",
|
|
@@ -148,6 +158,8 @@ export const zCsqAlertSchema = z.object({
|
|
|
148
158
|
verification: zCsqVerificationStateSchema.optional(),
|
|
149
159
|
recheck_after: zFirestoreDateSchema.optional(),
|
|
150
160
|
resolved_in_ticket: z.string().optional(),
|
|
161
|
+
resolved_reason: zCsqAlertResolvedReasonSchema.optional(),
|
|
162
|
+
resolved_note: z.string().optional(),
|
|
151
163
|
appointment_id: z.string().optional(),
|
|
152
164
|
calendar_id: z.string().optional(),
|
|
153
165
|
first_seen_ticket_id: z.string(),
|
|
@@ -436,6 +448,19 @@ export const zCsqLlmUsageSchema = z.object({
|
|
|
436
448
|
rounds: z.number().optional(),
|
|
437
449
|
});
|
|
438
450
|
|
|
451
|
+
/** Veredito do juiz sobre um achado automatico revalidavel (lote 9). */
|
|
452
|
+
export const zCsqJudgeRevalidationSchema = z.object({
|
|
453
|
+
fingerprint: z.string(),
|
|
454
|
+
verdict: z.enum(["confirm", "dismiss"]),
|
|
455
|
+
reason: z.string(),
|
|
456
|
+
});
|
|
457
|
+
|
|
458
|
+
/** Alerta anterior resolvido pelo juiz, com o motivo (lote 9). */
|
|
459
|
+
export const zCsqJudgeResolvedAlertSchema = z.object({
|
|
460
|
+
fingerprint: z.string(),
|
|
461
|
+
reason: z.string(),
|
|
462
|
+
});
|
|
463
|
+
|
|
439
464
|
/** Schema da tool `submit_csq_evaluation`. ESTRITO de proposito: e o contrato
|
|
440
465
|
* de saida do LLM, nao um doc do Firestore — nada de passthrough aqui. */
|
|
441
466
|
export const zCsqJudgeOutputSchema = z.object({
|
|
@@ -447,6 +472,8 @@ export const zCsqJudgeOutputSchema = z.object({
|
|
|
447
472
|
alerts: z.array(zCsqAlertSchema),
|
|
448
473
|
/** Fingerprints de alertas anteriores resolvidos neste atendimento. */
|
|
449
474
|
resolved_alert_ids: z.array(z.string()),
|
|
475
|
+
resolved_alerts: z.array(zCsqJudgeResolvedAlertSchema).optional(),
|
|
476
|
+
revalidations: z.array(zCsqJudgeRevalidationSchema).optional(),
|
|
450
477
|
highlights: z.array(z.string()),
|
|
451
478
|
improvements: z.array(z.string()),
|
|
452
479
|
confidence: z.number().min(0).max(1),
|
|
@@ -468,11 +495,29 @@ export const zCsqAppointmentFactSchema = z.object({
|
|
|
468
495
|
created_at: zFirestoreDateSchema.optional(),
|
|
469
496
|
});
|
|
470
497
|
|
|
498
|
+
export const zCsqOverlapAppointmentFactSchema = z.object({
|
|
499
|
+
id: z.string(),
|
|
500
|
+
patient_id: z.string().optional(),
|
|
501
|
+
patient_name: z.string().optional(),
|
|
502
|
+
start_at: zFirestoreDateSchema,
|
|
503
|
+
end_at: zFirestoreDateSchema.optional(),
|
|
504
|
+
professional_name: z.string().optional(),
|
|
505
|
+
is_lead: z.boolean(),
|
|
506
|
+
});
|
|
507
|
+
|
|
508
|
+
export const zCsqOverlapFamilyHintsSchema = z.object({
|
|
509
|
+
same_surname: z.boolean(),
|
|
510
|
+
same_contact: z.boolean(),
|
|
511
|
+
same_lead: z.boolean(),
|
|
512
|
+
});
|
|
513
|
+
|
|
471
514
|
export const zCsqOverlapFactSchema = z.object({
|
|
472
515
|
professional_name: z.string().optional(),
|
|
473
516
|
appointment_ids: z.array(z.string()),
|
|
474
517
|
start_at: zFirestoreDateSchema,
|
|
475
518
|
end_at: zFirestoreDateSchema,
|
|
519
|
+
appointments: z.array(zCsqOverlapAppointmentFactSchema).optional(),
|
|
520
|
+
family_hints: zCsqOverlapFamilyHintsSchema.optional(),
|
|
476
521
|
});
|
|
477
522
|
|
|
478
523
|
export const zCsqPreviousTicketFactSchema = z.object({
|
|
@@ -629,6 +674,7 @@ export const zCsqLeadReportSchema = zFireDocSchema
|
|
|
629
674
|
coverage: zCsqCoverageSchema,
|
|
630
675
|
data_quality: zCsqDataQualitySchema.optional(),
|
|
631
676
|
review: zCsqReviewSchema.optional(),
|
|
677
|
+
suppressed_alert_fingerprints: z.array(z.string()).optional(),
|
|
632
678
|
deleted_by_login_id: z.string().optional(),
|
|
633
679
|
deleted_reason: z.string().optional(),
|
|
634
680
|
verification: zCsqVerificationStateSchema.optional(),
|
|
@@ -29,71 +29,71 @@ export declare const zHubiaV1ChannelConfigSchema: z.ZodObject<{
|
|
|
29
29
|
version: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
30
30
|
updated_at: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
text?: string | undefined;
|
|
32
33
|
version?: number | undefined;
|
|
33
34
|
updated_at?: any;
|
|
34
|
-
text?: string | undefined;
|
|
35
35
|
}, {
|
|
36
|
+
text?: string | undefined;
|
|
36
37
|
version?: number | undefined;
|
|
37
38
|
updated_at?: any;
|
|
38
|
-
text?: string | undefined;
|
|
39
39
|
}>>;
|
|
40
40
|
safety: z.ZodOptional<z.ZodObject<{
|
|
41
41
|
text: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
42
42
|
version: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
43
43
|
updated_at: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
text?: string | undefined;
|
|
45
46
|
version?: number | undefined;
|
|
46
47
|
updated_at?: any;
|
|
47
|
-
text?: string | undefined;
|
|
48
48
|
}, {
|
|
49
|
+
text?: string | undefined;
|
|
49
50
|
version?: number | undefined;
|
|
50
51
|
updated_at?: any;
|
|
51
|
-
text?: string | undefined;
|
|
52
52
|
}>>;
|
|
53
53
|
channel_custom: z.ZodOptional<z.ZodObject<{
|
|
54
54
|
text: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
55
55
|
version: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
56
56
|
updated_at: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
text?: string | undefined;
|
|
58
59
|
version?: number | undefined;
|
|
59
60
|
updated_at?: any;
|
|
60
|
-
text?: string | undefined;
|
|
61
61
|
}, {
|
|
62
|
+
text?: string | undefined;
|
|
62
63
|
version?: number | undefined;
|
|
63
64
|
updated_at?: any;
|
|
64
|
-
text?: string | undefined;
|
|
65
65
|
}>>;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
67
|
identity?: {
|
|
68
|
+
text?: string | undefined;
|
|
68
69
|
version?: number | undefined;
|
|
69
70
|
updated_at?: any;
|
|
70
|
-
text?: string | undefined;
|
|
71
71
|
} | undefined;
|
|
72
72
|
safety?: {
|
|
73
|
+
text?: string | undefined;
|
|
73
74
|
version?: number | undefined;
|
|
74
75
|
updated_at?: any;
|
|
75
|
-
text?: string | undefined;
|
|
76
76
|
} | undefined;
|
|
77
77
|
channel_custom?: {
|
|
78
|
+
text?: string | undefined;
|
|
78
79
|
version?: number | undefined;
|
|
79
80
|
updated_at?: any;
|
|
80
|
-
text?: string | undefined;
|
|
81
81
|
} | undefined;
|
|
82
82
|
}, {
|
|
83
83
|
identity?: {
|
|
84
|
+
text?: string | undefined;
|
|
84
85
|
version?: number | undefined;
|
|
85
86
|
updated_at?: any;
|
|
86
|
-
text?: string | undefined;
|
|
87
87
|
} | undefined;
|
|
88
88
|
safety?: {
|
|
89
|
+
text?: string | undefined;
|
|
89
90
|
version?: number | undefined;
|
|
90
91
|
updated_at?: any;
|
|
91
|
-
text?: string | undefined;
|
|
92
92
|
} | undefined;
|
|
93
93
|
channel_custom?: {
|
|
94
|
+
text?: string | undefined;
|
|
94
95
|
version?: number | undefined;
|
|
95
96
|
updated_at?: any;
|
|
96
|
-
text?: string | undefined;
|
|
97
97
|
} | undefined;
|
|
98
98
|
}>>;
|
|
99
99
|
toolkit_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -159,71 +159,71 @@ export declare const zHubiaV1ChannelConfigSchema: z.ZodObject<{
|
|
|
159
159
|
version: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
160
160
|
updated_at: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
|
+
text?: string | undefined;
|
|
162
163
|
version?: number | undefined;
|
|
163
164
|
updated_at?: any;
|
|
164
|
-
text?: string | undefined;
|
|
165
165
|
}, {
|
|
166
|
+
text?: string | undefined;
|
|
166
167
|
version?: number | undefined;
|
|
167
168
|
updated_at?: any;
|
|
168
|
-
text?: string | undefined;
|
|
169
169
|
}>>;
|
|
170
170
|
safety: z.ZodOptional<z.ZodObject<{
|
|
171
171
|
text: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
172
172
|
version: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
173
173
|
updated_at: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
174
174
|
}, "strip", z.ZodTypeAny, {
|
|
175
|
+
text?: string | undefined;
|
|
175
176
|
version?: number | undefined;
|
|
176
177
|
updated_at?: any;
|
|
177
|
-
text?: string | undefined;
|
|
178
178
|
}, {
|
|
179
|
+
text?: string | undefined;
|
|
179
180
|
version?: number | undefined;
|
|
180
181
|
updated_at?: any;
|
|
181
|
-
text?: string | undefined;
|
|
182
182
|
}>>;
|
|
183
183
|
channel_custom: z.ZodOptional<z.ZodObject<{
|
|
184
184
|
text: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
185
185
|
version: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
186
186
|
updated_at: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
|
+
text?: string | undefined;
|
|
188
189
|
version?: number | undefined;
|
|
189
190
|
updated_at?: any;
|
|
190
|
-
text?: string | undefined;
|
|
191
191
|
}, {
|
|
192
|
+
text?: string | undefined;
|
|
192
193
|
version?: number | undefined;
|
|
193
194
|
updated_at?: any;
|
|
194
|
-
text?: string | undefined;
|
|
195
195
|
}>>;
|
|
196
196
|
}, "strip", z.ZodTypeAny, {
|
|
197
197
|
identity?: {
|
|
198
|
+
text?: string | undefined;
|
|
198
199
|
version?: number | undefined;
|
|
199
200
|
updated_at?: any;
|
|
200
|
-
text?: string | undefined;
|
|
201
201
|
} | undefined;
|
|
202
202
|
safety?: {
|
|
203
|
+
text?: string | undefined;
|
|
203
204
|
version?: number | undefined;
|
|
204
205
|
updated_at?: any;
|
|
205
|
-
text?: string | undefined;
|
|
206
206
|
} | undefined;
|
|
207
207
|
channel_custom?: {
|
|
208
|
+
text?: string | undefined;
|
|
208
209
|
version?: number | undefined;
|
|
209
210
|
updated_at?: any;
|
|
210
|
-
text?: string | undefined;
|
|
211
211
|
} | undefined;
|
|
212
212
|
}, {
|
|
213
213
|
identity?: {
|
|
214
|
+
text?: string | undefined;
|
|
214
215
|
version?: number | undefined;
|
|
215
216
|
updated_at?: any;
|
|
216
|
-
text?: string | undefined;
|
|
217
217
|
} | undefined;
|
|
218
218
|
safety?: {
|
|
219
|
+
text?: string | undefined;
|
|
219
220
|
version?: number | undefined;
|
|
220
221
|
updated_at?: any;
|
|
221
|
-
text?: string | undefined;
|
|
222
222
|
} | undefined;
|
|
223
223
|
channel_custom?: {
|
|
224
|
+
text?: string | undefined;
|
|
224
225
|
version?: number | undefined;
|
|
225
226
|
updated_at?: any;
|
|
226
|
-
text?: string | undefined;
|
|
227
227
|
} | undefined;
|
|
228
228
|
}>>;
|
|
229
229
|
toolkit_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -289,71 +289,71 @@ export declare const zHubiaV1ChannelConfigSchema: z.ZodObject<{
|
|
|
289
289
|
version: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
290
290
|
updated_at: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
291
291
|
}, "strip", z.ZodTypeAny, {
|
|
292
|
+
text?: string | undefined;
|
|
292
293
|
version?: number | undefined;
|
|
293
294
|
updated_at?: any;
|
|
294
|
-
text?: string | undefined;
|
|
295
295
|
}, {
|
|
296
|
+
text?: string | undefined;
|
|
296
297
|
version?: number | undefined;
|
|
297
298
|
updated_at?: any;
|
|
298
|
-
text?: string | undefined;
|
|
299
299
|
}>>;
|
|
300
300
|
safety: z.ZodOptional<z.ZodObject<{
|
|
301
301
|
text: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
302
302
|
version: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
303
303
|
updated_at: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
304
304
|
}, "strip", z.ZodTypeAny, {
|
|
305
|
+
text?: string | undefined;
|
|
305
306
|
version?: number | undefined;
|
|
306
307
|
updated_at?: any;
|
|
307
|
-
text?: string | undefined;
|
|
308
308
|
}, {
|
|
309
|
+
text?: string | undefined;
|
|
309
310
|
version?: number | undefined;
|
|
310
311
|
updated_at?: any;
|
|
311
|
-
text?: string | undefined;
|
|
312
312
|
}>>;
|
|
313
313
|
channel_custom: z.ZodOptional<z.ZodObject<{
|
|
314
314
|
text: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
315
315
|
version: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
316
316
|
updated_at: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
317
317
|
}, "strip", z.ZodTypeAny, {
|
|
318
|
+
text?: string | undefined;
|
|
318
319
|
version?: number | undefined;
|
|
319
320
|
updated_at?: any;
|
|
320
|
-
text?: string | undefined;
|
|
321
321
|
}, {
|
|
322
|
+
text?: string | undefined;
|
|
322
323
|
version?: number | undefined;
|
|
323
324
|
updated_at?: any;
|
|
324
|
-
text?: string | undefined;
|
|
325
325
|
}>>;
|
|
326
326
|
}, "strip", z.ZodTypeAny, {
|
|
327
327
|
identity?: {
|
|
328
|
+
text?: string | undefined;
|
|
328
329
|
version?: number | undefined;
|
|
329
330
|
updated_at?: any;
|
|
330
|
-
text?: string | undefined;
|
|
331
331
|
} | undefined;
|
|
332
332
|
safety?: {
|
|
333
|
+
text?: string | undefined;
|
|
333
334
|
version?: number | undefined;
|
|
334
335
|
updated_at?: any;
|
|
335
|
-
text?: string | undefined;
|
|
336
336
|
} | undefined;
|
|
337
337
|
channel_custom?: {
|
|
338
|
+
text?: string | undefined;
|
|
338
339
|
version?: number | undefined;
|
|
339
340
|
updated_at?: any;
|
|
340
|
-
text?: string | undefined;
|
|
341
341
|
} | undefined;
|
|
342
342
|
}, {
|
|
343
343
|
identity?: {
|
|
344
|
+
text?: string | undefined;
|
|
344
345
|
version?: number | undefined;
|
|
345
346
|
updated_at?: any;
|
|
346
|
-
text?: string | undefined;
|
|
347
347
|
} | undefined;
|
|
348
348
|
safety?: {
|
|
349
|
+
text?: string | undefined;
|
|
349
350
|
version?: number | undefined;
|
|
350
351
|
updated_at?: any;
|
|
351
|
-
text?: string | undefined;
|
|
352
352
|
} | undefined;
|
|
353
353
|
channel_custom?: {
|
|
354
|
+
text?: string | undefined;
|
|
354
355
|
version?: number | undefined;
|
|
355
356
|
updated_at?: any;
|
|
356
|
-
text?: string | undefined;
|
|
357
357
|
} | undefined;
|
|
358
358
|
}>>;
|
|
359
359
|
toolkit_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -280,9 +280,9 @@ export declare const zAppointmentStatusSchema: z.ZodObject<{
|
|
|
280
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
281
|
name: string;
|
|
282
282
|
id: string;
|
|
283
|
+
order: number;
|
|
283
284
|
tenant: string;
|
|
284
285
|
model_ver: number;
|
|
285
|
-
order: number;
|
|
286
286
|
base_type: "cancelled" | "scheduled" | "confirmed" | "rescheduled" | "pre_checkin" | "waiting" | "in_progress" | "completed" | "no_show" | "cancelled_by_clinic" | "cancelled_by_patient" | "extra_slot" | "awaiting_payment" | "paid" | "awaiting_documents" | "blocked" | "waiting_list" | "expired";
|
|
287
287
|
ref?: any;
|
|
288
288
|
created_at?: Date | null | undefined;
|
|
@@ -292,8 +292,8 @@ export declare const zAppointmentStatusSchema: z.ZodObject<{
|
|
|
292
292
|
}, {
|
|
293
293
|
name: string;
|
|
294
294
|
id: string;
|
|
295
|
-
tenant: string;
|
|
296
295
|
order: number;
|
|
296
|
+
tenant: string;
|
|
297
297
|
base_type: "cancelled" | "scheduled" | "confirmed" | "rescheduled" | "pre_checkin" | "waiting" | "in_progress" | "completed" | "no_show" | "cancelled_by_clinic" | "cancelled_by_patient" | "extra_slot" | "awaiting_payment" | "paid" | "awaiting_documents" | "blocked" | "waiting_list" | "expired";
|
|
298
298
|
ref?: any;
|
|
299
299
|
model_ver?: number | undefined;
|
|
@@ -318,9 +318,9 @@ export declare const zAppointmentTypeSchema: z.ZodObject<{
|
|
|
318
318
|
}, "strip", z.ZodTypeAny, {
|
|
319
319
|
name: string;
|
|
320
320
|
id: string;
|
|
321
|
+
order: number;
|
|
321
322
|
tenant: string;
|
|
322
323
|
model_ver: number;
|
|
323
|
-
order: number;
|
|
324
324
|
base_type: "blocked" | "consultation" | "follow_up" | "procedure" | "surgery" | "exam" | "evaluation" | "emergency" | "check_up" | "vaccination" | "fit_test" | "therapy" | "meeting";
|
|
325
325
|
ref?: any;
|
|
326
326
|
created_at?: Date | null | undefined;
|
|
@@ -330,8 +330,8 @@ export declare const zAppointmentTypeSchema: z.ZodObject<{
|
|
|
330
330
|
}, {
|
|
331
331
|
name: string;
|
|
332
332
|
id: string;
|
|
333
|
-
tenant: string;
|
|
334
333
|
order: number;
|
|
334
|
+
tenant: string;
|
|
335
335
|
base_type: "blocked" | "consultation" | "follow_up" | "procedure" | "surgery" | "exam" | "evaluation" | "emergency" | "check_up" | "vaccination" | "fit_test" | "therapy" | "meeting";
|
|
336
336
|
ref?: any;
|
|
337
337
|
model_ver?: number | undefined;
|
|
@@ -1082,6 +1082,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1082
1082
|
color?: string | undefined;
|
|
1083
1083
|
category?: string | null | undefined;
|
|
1084
1084
|
}>, "many">>>;
|
|
1085
|
+
capture_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
1085
1086
|
userRef: z.ZodAny;
|
|
1086
1087
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1087
1088
|
id: z.ZodString;
|
|
@@ -1435,6 +1436,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1435
1436
|
color?: string | undefined;
|
|
1436
1437
|
category?: string | null | undefined;
|
|
1437
1438
|
}>, "many">>>;
|
|
1439
|
+
capture_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
1438
1440
|
userRef: z.ZodAny;
|
|
1439
1441
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1440
1442
|
id: z.ZodString;
|
|
@@ -1788,5 +1790,6 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1788
1790
|
color?: string | undefined;
|
|
1789
1791
|
category?: string | null | undefined;
|
|
1790
1792
|
}>, "many">>>;
|
|
1793
|
+
capture_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
1791
1794
|
userRef: z.ZodAny;
|
|
1792
1795
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -156,6 +156,7 @@ exports.zPatientSchema = zod_schemas_4.zProfileSchema // Extend from ProfileSche
|
|
|
156
156
|
attachments: zod_1.z.array(exports.zPatientAttachmentSchema).nullable().optional(),
|
|
157
157
|
attachmentExternalLinkKeys: zod_1.z.array(zod_1.z.string()).nullable().optional(),
|
|
158
158
|
tags: zod_1.z.array(zod_schemas_2.zTagSchema).nullable().optional(),
|
|
159
|
+
capture_data: zod_schemas_2.zCaptureDataMapSchema.nullable().optional(),
|
|
159
160
|
userRef: zod_1.z.any(),
|
|
160
161
|
})
|
|
161
162
|
.passthrough();
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
} from "../dic/zod-schemas";
|
|
9
9
|
import {
|
|
10
10
|
zAddressSchema,
|
|
11
|
+
zCaptureDataMapSchema,
|
|
11
12
|
zContactSchema,
|
|
12
13
|
zTagSchema,
|
|
13
14
|
} from "../../shared/zod-schemas";
|
|
@@ -177,6 +178,7 @@ export const zPatientSchema = zProfileSchema // Extend from ProfileSchema
|
|
|
177
178
|
attachments: z.array(zPatientAttachmentSchema).nullable().optional(),
|
|
178
179
|
attachmentExternalLinkKeys: z.array(z.string()).nullable().optional(),
|
|
179
180
|
tags: z.array(zTagSchema).nullable().optional(),
|
|
181
|
+
capture_data: zCaptureDataMapSchema.nullable().optional(),
|
|
180
182
|
userRef: z.any(),
|
|
181
183
|
})
|
|
182
184
|
.passthrough();
|
|
@@ -610,20 +610,20 @@ export declare const zAutomationConditionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
610
610
|
operator: z.ZodEnum<["eq", "neq", "in", "not_in", "exists", "not_exists", "is_true", "is_false", "between", "not_between"]>;
|
|
611
611
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
612
612
|
}, "strip", z.ZodTypeAny, {
|
|
613
|
-
operator: "in" | "eq" | "neq" | "not_in" | "exists" | "not_exists" | "is_true" | "is_false" | "between" | "not_between";
|
|
614
613
|
fact: string;
|
|
614
|
+
operator: "in" | "eq" | "neq" | "not_in" | "exists" | "not_exists" | "is_true" | "is_false" | "between" | "not_between";
|
|
615
615
|
value?: unknown;
|
|
616
616
|
}, {
|
|
617
|
-
operator: "in" | "eq" | "neq" | "not_in" | "exists" | "not_exists" | "is_true" | "is_false" | "between" | "not_between";
|
|
618
617
|
fact: string;
|
|
618
|
+
operator: "in" | "eq" | "neq" | "not_in" | "exists" | "not_exists" | "is_true" | "is_false" | "between" | "not_between";
|
|
619
619
|
value?: unknown;
|
|
620
620
|
}>, {
|
|
621
|
-
operator: "in" | "eq" | "neq" | "not_in" | "exists" | "not_exists" | "is_true" | "is_false" | "between" | "not_between";
|
|
622
621
|
fact: string;
|
|
622
|
+
operator: "in" | "eq" | "neq" | "not_in" | "exists" | "not_exists" | "is_true" | "is_false" | "between" | "not_between";
|
|
623
623
|
value?: unknown;
|
|
624
624
|
}, {
|
|
625
|
-
operator: "in" | "eq" | "neq" | "not_in" | "exists" | "not_exists" | "is_true" | "is_false" | "between" | "not_between";
|
|
626
625
|
fact: string;
|
|
626
|
+
operator: "in" | "eq" | "neq" | "not_in" | "exists" | "not_exists" | "is_true" | "is_false" | "between" | "not_between";
|
|
627
627
|
value?: unknown;
|
|
628
628
|
}>;
|
|
629
629
|
type ZAutomationConditionGroup = {
|
|
@@ -108,3 +108,103 @@ export declare const zContactSchema: z.ZodObject<{
|
|
|
108
108
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109
109
|
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110
110
|
}, z.ZodTypeAny, "passthrough">>;
|
|
111
|
+
export declare const zCaptureDataFieldTypeSchema: z.ZodEnum<["text", "number", "date", "select", "boolean"]>;
|
|
112
|
+
export declare const zCaptureDataFieldOptionSchema: z.ZodObject<{
|
|
113
|
+
value: z.ZodString;
|
|
114
|
+
label: z.ZodString;
|
|
115
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
116
|
+
value: z.ZodString;
|
|
117
|
+
label: z.ZodString;
|
|
118
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
119
|
+
value: z.ZodString;
|
|
120
|
+
label: z.ZodString;
|
|
121
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
122
|
+
/**
|
|
123
|
+
* Campo do dicionário (qualquer entidade). O `code` aceita o legado (1–64);
|
|
124
|
+
* o slug `^[a-z][a-z0-9_]{0,63}$` é regra de CRIAÇÃO, aplicada no backend.
|
|
125
|
+
*/
|
|
126
|
+
export declare const zCaptureDataFieldSchema: z.ZodObject<{
|
|
127
|
+
id: z.ZodString;
|
|
128
|
+
ref: z.ZodAny;
|
|
129
|
+
tenant: z.ZodString;
|
|
130
|
+
model_ver: z.ZodDefault<z.ZodNumber>;
|
|
131
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
132
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
133
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
134
|
+
} & {
|
|
135
|
+
code: z.ZodString;
|
|
136
|
+
name: z.ZodString;
|
|
137
|
+
type: z.ZodOptional<z.ZodEnum<["text", "number", "date", "select", "boolean"]>>;
|
|
138
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
139
|
+
value: z.ZodString;
|
|
140
|
+
label: z.ZodString;
|
|
141
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
142
|
+
value: z.ZodString;
|
|
143
|
+
label: z.ZodString;
|
|
144
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
145
|
+
value: z.ZodString;
|
|
146
|
+
label: z.ZodString;
|
|
147
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>>;
|
|
148
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
149
|
+
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
150
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
151
|
+
mcp_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
152
|
+
mcp_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
153
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
154
|
+
id: z.ZodString;
|
|
155
|
+
ref: z.ZodAny;
|
|
156
|
+
tenant: z.ZodString;
|
|
157
|
+
model_ver: z.ZodDefault<z.ZodNumber>;
|
|
158
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
159
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
160
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
161
|
+
} & {
|
|
162
|
+
code: z.ZodString;
|
|
163
|
+
name: z.ZodString;
|
|
164
|
+
type: z.ZodOptional<z.ZodEnum<["text", "number", "date", "select", "boolean"]>>;
|
|
165
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
166
|
+
value: z.ZodString;
|
|
167
|
+
label: z.ZodString;
|
|
168
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
169
|
+
value: z.ZodString;
|
|
170
|
+
label: z.ZodString;
|
|
171
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
172
|
+
value: z.ZodString;
|
|
173
|
+
label: z.ZodString;
|
|
174
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>>;
|
|
175
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
176
|
+
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
177
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
178
|
+
mcp_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
179
|
+
mcp_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
180
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
181
|
+
id: z.ZodString;
|
|
182
|
+
ref: z.ZodAny;
|
|
183
|
+
tenant: z.ZodString;
|
|
184
|
+
model_ver: z.ZodDefault<z.ZodNumber>;
|
|
185
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
186
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
187
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
188
|
+
} & {
|
|
189
|
+
code: z.ZodString;
|
|
190
|
+
name: z.ZodString;
|
|
191
|
+
type: z.ZodOptional<z.ZodEnum<["text", "number", "date", "select", "boolean"]>>;
|
|
192
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
193
|
+
value: z.ZodString;
|
|
194
|
+
label: z.ZodString;
|
|
195
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
196
|
+
value: z.ZodString;
|
|
197
|
+
label: z.ZodString;
|
|
198
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
199
|
+
value: z.ZodString;
|
|
200
|
+
label: z.ZodString;
|
|
201
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>>;
|
|
202
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
203
|
+
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
204
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
205
|
+
mcp_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
206
|
+
mcp_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
207
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
208
|
+
export declare const zCaptureDataValueSchema: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
209
|
+
/** Mapa `capture_data` gravado na entidade. */
|
|
210
|
+
export declare const zCaptureDataMapSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|