evo360-types 1.3.630 → 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-telemedicine/zod-schemas.d.ts +12 -0
- package/dist/apps/evo-telemedicine/zod-schemas.js +4 -0
- package/dist/apps/evo-telemedicine/zod-schemas.ts +4 -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-telemedicine/index.d.ts +43 -0
- package/dist/types/evo-telemedicine/index.ts +43 -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
|
@@ -77,8 +77,8 @@ export declare const zCsqAlertSchema: z.ZodObject<{
|
|
|
77
77
|
created_at: z.ZodEffects<z.ZodDate, Date, unknown>;
|
|
78
78
|
}, "strip", z.ZodTypeAny, {
|
|
79
79
|
code: "AGENDAMENTO_INFORMADO_NAO_REGISTRADO" | "AGENDAMENTO_DIVERGENTE" | "AGENDAMENTO_SOBREPOSTO" | "PACIENTE_NAO_VINCULADO" | "CONTRADICAO_PREMISSA_ANTERIOR" | "ORIENTACAO_CLINICA_INDEVIDA" | "POLITICA_VIOLADA" | "ULTIMA_MENSAGEM_SEM_RESPOSTA" | "PERGUNTA_NAO_RESPONDIDA" | "PROMESSA_NAO_CUMPRIDA" | "IDENTIDADE_ERRADA" | "DADO_JA_INFORMADO_RECOLETADO" | "DADO_OBRIGATORIO_NAO_COLETADO" | "FLUXO_VENDA_NAO_SEGUIDO" | "MOTIVO_ENCERRAMENTO_INCOMPATIVEL" | "SLA_RESPOSTA_ALTO" | "LEAD_QUENTE_SEM_FOLLOWUP" | "LEAD_ORIGEM_INCONSISTENTE" | "LEAD_QUALIFICACAO_INCONSISTENTE" | "AUTOMACAO_CONFLITANTE" | "DADO_SENSIVEL_SOLICITADO" | "URGENCIA_NAO_ENCAMINHADA" | "NF_NAO_ENVIADA" | "COBRANCA_NAO_ENVIADA";
|
|
80
|
-
created_at: Date;
|
|
81
80
|
status: "open" | "resolved";
|
|
81
|
+
created_at: Date;
|
|
82
82
|
severity: "media" | "critica" | "alta" | "baixa";
|
|
83
83
|
title: string;
|
|
84
84
|
scope: "ticket" | "journey";
|
|
@@ -91,8 +91,8 @@ export declare const zCsqAlertSchema: z.ZodObject<{
|
|
|
91
91
|
}[];
|
|
92
92
|
fingerprint: string;
|
|
93
93
|
first_seen_ticket_id: string;
|
|
94
|
-
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
95
94
|
calendar_id?: string | undefined;
|
|
95
|
+
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
96
96
|
appointment_id?: string | undefined;
|
|
97
97
|
subtype?: "valor" | "parcelamento" | "convenio" | "dia_horario" | "procedimento" | "modalidade" | "objecao_sem_argumento" | "sem_oferta_concreta" | "preco_antes_da_queixa" | undefined;
|
|
98
98
|
suggested_action?: string | undefined;
|
|
@@ -116,8 +116,8 @@ export declare const zCsqAlertSchema: z.ZodObject<{
|
|
|
116
116
|
fingerprint: string;
|
|
117
117
|
first_seen_ticket_id: string;
|
|
118
118
|
created_at?: unknown;
|
|
119
|
-
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
120
119
|
calendar_id?: string | undefined;
|
|
120
|
+
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
121
121
|
appointment_id?: string | undefined;
|
|
122
122
|
subtype?: "valor" | "parcelamento" | "convenio" | "dia_horario" | "procedimento" | "modalidade" | "objecao_sem_argumento" | "sem_oferta_concreta" | "preco_antes_da_queixa" | undefined;
|
|
123
123
|
suggested_action?: string | undefined;
|
|
@@ -1909,8 +1909,8 @@ export declare const zCsqCrossCheckSchema: z.ZodObject<{
|
|
|
1909
1909
|
expected: string;
|
|
1910
1910
|
claim_type: "promise" | "appointment_informed" | "data_collected" | "required_data" | "outcome" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
|
|
1911
1911
|
found: string | null;
|
|
1912
|
-
note?: string | undefined;
|
|
1913
1912
|
calendar_id?: string | undefined;
|
|
1913
|
+
note?: string | undefined;
|
|
1914
1914
|
appointment_id?: string | undefined;
|
|
1915
1915
|
alert_code?: "AGENDAMENTO_INFORMADO_NAO_REGISTRADO" | "AGENDAMENTO_DIVERGENTE" | "AGENDAMENTO_SOBREPOSTO" | "PACIENTE_NAO_VINCULADO" | "CONTRADICAO_PREMISSA_ANTERIOR" | "ORIENTACAO_CLINICA_INDEVIDA" | "POLITICA_VIOLADA" | "ULTIMA_MENSAGEM_SEM_RESPOSTA" | "PERGUNTA_NAO_RESPONDIDA" | "PROMESSA_NAO_CUMPRIDA" | "IDENTIDADE_ERRADA" | "DADO_JA_INFORMADO_RECOLETADO" | "DADO_OBRIGATORIO_NAO_COLETADO" | "FLUXO_VENDA_NAO_SEGUIDO" | "MOTIVO_ENCERRAMENTO_INCOMPATIVEL" | "SLA_RESPOSTA_ALTO" | "LEAD_QUENTE_SEM_FOLLOWUP" | "LEAD_ORIGEM_INCONSISTENTE" | "LEAD_QUALIFICACAO_INCONSISTENTE" | "AUTOMACAO_CONFLITANTE" | "DADO_SENSIVEL_SOLICITADO" | "URGENCIA_NAO_ENCAMINHADA" | "NF_NAO_ENVIADA" | "COBRANCA_NAO_ENVIADA" | undefined;
|
|
1916
1916
|
}, {
|
|
@@ -1918,8 +1918,8 @@ export declare const zCsqCrossCheckSchema: z.ZodObject<{
|
|
|
1918
1918
|
expected: string;
|
|
1919
1919
|
claim_type: "promise" | "appointment_informed" | "data_collected" | "required_data" | "outcome" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
|
|
1920
1920
|
found: string | null;
|
|
1921
|
-
note?: string | undefined;
|
|
1922
1921
|
calendar_id?: string | undefined;
|
|
1922
|
+
note?: string | undefined;
|
|
1923
1923
|
appointment_id?: string | undefined;
|
|
1924
1924
|
alert_code?: "AGENDAMENTO_INFORMADO_NAO_REGISTRADO" | "AGENDAMENTO_DIVERGENTE" | "AGENDAMENTO_SOBREPOSTO" | "PACIENTE_NAO_VINCULADO" | "CONTRADICAO_PREMISSA_ANTERIOR" | "ORIENTACAO_CLINICA_INDEVIDA" | "POLITICA_VIOLADA" | "ULTIMA_MENSAGEM_SEM_RESPOSTA" | "PERGUNTA_NAO_RESPONDIDA" | "PROMESSA_NAO_CUMPRIDA" | "IDENTIDADE_ERRADA" | "DADO_JA_INFORMADO_RECOLETADO" | "DADO_OBRIGATORIO_NAO_COLETADO" | "FLUXO_VENDA_NAO_SEGUIDO" | "MOTIVO_ENCERRAMENTO_INCOMPATIVEL" | "SLA_RESPOSTA_ALTO" | "LEAD_QUENTE_SEM_FOLLOWUP" | "LEAD_ORIGEM_INCONSISTENTE" | "LEAD_QUALIFICACAO_INCONSISTENTE" | "AUTOMACAO_CONFLITANTE" | "DADO_SENSIVEL_SOLICITADO" | "URGENCIA_NAO_ENCAMINHADA" | "NF_NAO_ENVIADA" | "COBRANCA_NAO_ENVIADA" | undefined;
|
|
1925
1925
|
}>;
|
|
@@ -2211,7 +2211,7 @@ export declare const zCsqTrailEntrySchema: z.ZodObject<{
|
|
|
2211
2211
|
alerts_critical: number;
|
|
2212
2212
|
alerts_new: number;
|
|
2213
2213
|
alerts_resolved: number;
|
|
2214
|
-
judge?: "
|
|
2214
|
+
judge?: "skipped" | "judged" | undefined;
|
|
2215
2215
|
triage_reasons?: ("document_only" | "spam_close" | "reopen_without_new_messages" | "automation_only" | "ack_only" | "forced")[] | undefined;
|
|
2216
2216
|
}, {
|
|
2217
2217
|
status: "Excelente" | "Bom" | "Regular" | "Ruim" | "Crítico" | "pending_judge";
|
|
@@ -2222,7 +2222,7 @@ export declare const zCsqTrailEntrySchema: z.ZodObject<{
|
|
|
2222
2222
|
alerts_resolved: number;
|
|
2223
2223
|
evaluated_at?: unknown;
|
|
2224
2224
|
closed_at?: unknown;
|
|
2225
|
-
judge?: "
|
|
2225
|
+
judge?: "skipped" | "judged" | undefined;
|
|
2226
2226
|
triage_reasons?: ("document_only" | "spam_close" | "reopen_without_new_messages" | "automation_only" | "ack_only" | "forced")[] | undefined;
|
|
2227
2227
|
}>;
|
|
2228
2228
|
/** Resumo denormalizado gravado em `ticket.csq`. */
|
|
@@ -3437,8 +3437,8 @@ export declare const zCsqJudgeOutputSchema: z.ZodObject<{
|
|
|
3437
3437
|
created_at: z.ZodEffects<z.ZodDate, Date, unknown>;
|
|
3438
3438
|
}, "strip", z.ZodTypeAny, {
|
|
3439
3439
|
code: "AGENDAMENTO_INFORMADO_NAO_REGISTRADO" | "AGENDAMENTO_DIVERGENTE" | "AGENDAMENTO_SOBREPOSTO" | "PACIENTE_NAO_VINCULADO" | "CONTRADICAO_PREMISSA_ANTERIOR" | "ORIENTACAO_CLINICA_INDEVIDA" | "POLITICA_VIOLADA" | "ULTIMA_MENSAGEM_SEM_RESPOSTA" | "PERGUNTA_NAO_RESPONDIDA" | "PROMESSA_NAO_CUMPRIDA" | "IDENTIDADE_ERRADA" | "DADO_JA_INFORMADO_RECOLETADO" | "DADO_OBRIGATORIO_NAO_COLETADO" | "FLUXO_VENDA_NAO_SEGUIDO" | "MOTIVO_ENCERRAMENTO_INCOMPATIVEL" | "SLA_RESPOSTA_ALTO" | "LEAD_QUENTE_SEM_FOLLOWUP" | "LEAD_ORIGEM_INCONSISTENTE" | "LEAD_QUALIFICACAO_INCONSISTENTE" | "AUTOMACAO_CONFLITANTE" | "DADO_SENSIVEL_SOLICITADO" | "URGENCIA_NAO_ENCAMINHADA" | "NF_NAO_ENVIADA" | "COBRANCA_NAO_ENVIADA";
|
|
3440
|
-
created_at: Date;
|
|
3441
3440
|
status: "open" | "resolved";
|
|
3441
|
+
created_at: Date;
|
|
3442
3442
|
severity: "media" | "critica" | "alta" | "baixa";
|
|
3443
3443
|
title: string;
|
|
3444
3444
|
scope: "ticket" | "journey";
|
|
@@ -3451,8 +3451,8 @@ export declare const zCsqJudgeOutputSchema: z.ZodObject<{
|
|
|
3451
3451
|
}[];
|
|
3452
3452
|
fingerprint: string;
|
|
3453
3453
|
first_seen_ticket_id: string;
|
|
3454
|
-
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
3455
3454
|
calendar_id?: string | undefined;
|
|
3455
|
+
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
3456
3456
|
appointment_id?: string | undefined;
|
|
3457
3457
|
subtype?: "valor" | "parcelamento" | "convenio" | "dia_horario" | "procedimento" | "modalidade" | "objecao_sem_argumento" | "sem_oferta_concreta" | "preco_antes_da_queixa" | undefined;
|
|
3458
3458
|
suggested_action?: string | undefined;
|
|
@@ -3476,8 +3476,8 @@ export declare const zCsqJudgeOutputSchema: z.ZodObject<{
|
|
|
3476
3476
|
fingerprint: string;
|
|
3477
3477
|
first_seen_ticket_id: string;
|
|
3478
3478
|
created_at?: unknown;
|
|
3479
|
-
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
3480
3479
|
calendar_id?: string | undefined;
|
|
3480
|
+
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
3481
3481
|
appointment_id?: string | undefined;
|
|
3482
3482
|
subtype?: "valor" | "parcelamento" | "convenio" | "dia_horario" | "procedimento" | "modalidade" | "objecao_sem_argumento" | "sem_oferta_concreta" | "preco_antes_da_queixa" | undefined;
|
|
3483
3483
|
suggested_action?: string | undefined;
|
|
@@ -3733,8 +3733,8 @@ export declare const zCsqJudgeOutputSchema: z.ZodObject<{
|
|
|
3733
3733
|
}[];
|
|
3734
3734
|
alerts: {
|
|
3735
3735
|
code: "AGENDAMENTO_INFORMADO_NAO_REGISTRADO" | "AGENDAMENTO_DIVERGENTE" | "AGENDAMENTO_SOBREPOSTO" | "PACIENTE_NAO_VINCULADO" | "CONTRADICAO_PREMISSA_ANTERIOR" | "ORIENTACAO_CLINICA_INDEVIDA" | "POLITICA_VIOLADA" | "ULTIMA_MENSAGEM_SEM_RESPOSTA" | "PERGUNTA_NAO_RESPONDIDA" | "PROMESSA_NAO_CUMPRIDA" | "IDENTIDADE_ERRADA" | "DADO_JA_INFORMADO_RECOLETADO" | "DADO_OBRIGATORIO_NAO_COLETADO" | "FLUXO_VENDA_NAO_SEGUIDO" | "MOTIVO_ENCERRAMENTO_INCOMPATIVEL" | "SLA_RESPOSTA_ALTO" | "LEAD_QUENTE_SEM_FOLLOWUP" | "LEAD_ORIGEM_INCONSISTENTE" | "LEAD_QUALIFICACAO_INCONSISTENTE" | "AUTOMACAO_CONFLITANTE" | "DADO_SENSIVEL_SOLICITADO" | "URGENCIA_NAO_ENCAMINHADA" | "NF_NAO_ENVIADA" | "COBRANCA_NAO_ENVIADA";
|
|
3736
|
-
created_at: Date;
|
|
3737
3736
|
status: "open" | "resolved";
|
|
3737
|
+
created_at: Date;
|
|
3738
3738
|
severity: "media" | "critica" | "alta" | "baixa";
|
|
3739
3739
|
title: string;
|
|
3740
3740
|
scope: "ticket" | "journey";
|
|
@@ -3747,8 +3747,8 @@ export declare const zCsqJudgeOutputSchema: z.ZodObject<{
|
|
|
3747
3747
|
}[];
|
|
3748
3748
|
fingerprint: string;
|
|
3749
3749
|
first_seen_ticket_id: string;
|
|
3750
|
-
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
3751
3750
|
calendar_id?: string | undefined;
|
|
3751
|
+
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
3752
3752
|
appointment_id?: string | undefined;
|
|
3753
3753
|
subtype?: "valor" | "parcelamento" | "convenio" | "dia_horario" | "procedimento" | "modalidade" | "objecao_sem_argumento" | "sem_oferta_concreta" | "preco_antes_da_queixa" | undefined;
|
|
3754
3754
|
suggested_action?: string | undefined;
|
|
@@ -4003,8 +4003,8 @@ export declare const zCsqJudgeOutputSchema: z.ZodObject<{
|
|
|
4003
4003
|
fingerprint: string;
|
|
4004
4004
|
first_seen_ticket_id: string;
|
|
4005
4005
|
created_at?: unknown;
|
|
4006
|
-
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
4007
4006
|
calendar_id?: string | undefined;
|
|
4007
|
+
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
4008
4008
|
appointment_id?: string | undefined;
|
|
4009
4009
|
subtype?: "valor" | "parcelamento" | "convenio" | "dia_horario" | "procedimento" | "modalidade" | "objecao_sem_argumento" | "sem_oferta_concreta" | "preco_antes_da_queixa" | undefined;
|
|
4010
4010
|
suggested_action?: string | undefined;
|
|
@@ -4043,8 +4043,8 @@ export declare const zCsqAppointmentFactSchema: z.ZodObject<{
|
|
|
4043
4043
|
id: string;
|
|
4044
4044
|
calendar_id: string;
|
|
4045
4045
|
start_at: Date;
|
|
4046
|
-
created_at?: Date | undefined;
|
|
4047
4046
|
status?: string | undefined;
|
|
4047
|
+
created_at?: Date | undefined;
|
|
4048
4048
|
patient_id?: string | undefined;
|
|
4049
4049
|
modality?: string | undefined;
|
|
4050
4050
|
end_at?: Date | undefined;
|
|
@@ -4053,8 +4053,8 @@ export declare const zCsqAppointmentFactSchema: z.ZodObject<{
|
|
|
4053
4053
|
}, {
|
|
4054
4054
|
id: string;
|
|
4055
4055
|
calendar_id: string;
|
|
4056
|
-
created_at?: unknown;
|
|
4057
4056
|
status?: string | undefined;
|
|
4057
|
+
created_at?: unknown;
|
|
4058
4058
|
patient_id?: string | undefined;
|
|
4059
4059
|
modality?: string | undefined;
|
|
4060
4060
|
start_at?: unknown;
|
|
@@ -4242,8 +4242,8 @@ export declare const zCsqSystemFactsSchema: z.ZodObject<{
|
|
|
4242
4242
|
id: string;
|
|
4243
4243
|
calendar_id: string;
|
|
4244
4244
|
start_at: Date;
|
|
4245
|
-
created_at?: Date | undefined;
|
|
4246
4245
|
status?: string | undefined;
|
|
4246
|
+
created_at?: Date | undefined;
|
|
4247
4247
|
patient_id?: string | undefined;
|
|
4248
4248
|
modality?: string | undefined;
|
|
4249
4249
|
end_at?: Date | undefined;
|
|
@@ -4252,8 +4252,8 @@ export declare const zCsqSystemFactsSchema: z.ZodObject<{
|
|
|
4252
4252
|
}, {
|
|
4253
4253
|
id: string;
|
|
4254
4254
|
calendar_id: string;
|
|
4255
|
-
created_at?: unknown;
|
|
4256
4255
|
status?: string | undefined;
|
|
4256
|
+
created_at?: unknown;
|
|
4257
4257
|
patient_id?: string | undefined;
|
|
4258
4258
|
modality?: string | undefined;
|
|
4259
4259
|
start_at?: unknown;
|
|
@@ -4418,8 +4418,8 @@ export declare const zCsqSystemFactsSchema: z.ZodObject<{
|
|
|
4418
4418
|
id: string;
|
|
4419
4419
|
calendar_id: string;
|
|
4420
4420
|
start_at: Date;
|
|
4421
|
-
created_at?: Date | undefined;
|
|
4422
4421
|
status?: string | undefined;
|
|
4422
|
+
created_at?: Date | undefined;
|
|
4423
4423
|
patient_id?: string | undefined;
|
|
4424
4424
|
modality?: string | undefined;
|
|
4425
4425
|
end_at?: Date | undefined;
|
|
@@ -4478,8 +4478,8 @@ export declare const zCsqSystemFactsSchema: z.ZodObject<{
|
|
|
4478
4478
|
appointments: {
|
|
4479
4479
|
id: string;
|
|
4480
4480
|
calendar_id: string;
|
|
4481
|
-
created_at?: unknown;
|
|
4482
4481
|
status?: string | undefined;
|
|
4482
|
+
created_at?: unknown;
|
|
4483
4483
|
patient_id?: string | undefined;
|
|
4484
4484
|
modality?: string | undefined;
|
|
4485
4485
|
start_at?: unknown;
|
|
@@ -5208,8 +5208,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
5208
5208
|
id: string;
|
|
5209
5209
|
calendar_id: string;
|
|
5210
5210
|
start_at: Date;
|
|
5211
|
-
created_at?: Date | undefined;
|
|
5212
5211
|
status?: string | undefined;
|
|
5212
|
+
created_at?: Date | undefined;
|
|
5213
5213
|
patient_id?: string | undefined;
|
|
5214
5214
|
modality?: string | undefined;
|
|
5215
5215
|
end_at?: Date | undefined;
|
|
@@ -5218,8 +5218,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
5218
5218
|
}, {
|
|
5219
5219
|
id: string;
|
|
5220
5220
|
calendar_id: string;
|
|
5221
|
-
created_at?: unknown;
|
|
5222
5221
|
status?: string | undefined;
|
|
5222
|
+
created_at?: unknown;
|
|
5223
5223
|
patient_id?: string | undefined;
|
|
5224
5224
|
modality?: string | undefined;
|
|
5225
5225
|
start_at?: unknown;
|
|
@@ -5384,8 +5384,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
5384
5384
|
id: string;
|
|
5385
5385
|
calendar_id: string;
|
|
5386
5386
|
start_at: Date;
|
|
5387
|
-
created_at?: Date | undefined;
|
|
5388
5387
|
status?: string | undefined;
|
|
5388
|
+
created_at?: Date | undefined;
|
|
5389
5389
|
patient_id?: string | undefined;
|
|
5390
5390
|
modality?: string | undefined;
|
|
5391
5391
|
end_at?: Date | undefined;
|
|
@@ -5444,8 +5444,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
5444
5444
|
appointments: {
|
|
5445
5445
|
id: string;
|
|
5446
5446
|
calendar_id: string;
|
|
5447
|
-
created_at?: unknown;
|
|
5448
5447
|
status?: string | undefined;
|
|
5448
|
+
created_at?: unknown;
|
|
5449
5449
|
patient_id?: string | undefined;
|
|
5450
5450
|
modality?: string | undefined;
|
|
5451
5451
|
start_at?: unknown;
|
|
@@ -6524,8 +6524,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
6524
6524
|
expected: string;
|
|
6525
6525
|
claim_type: "promise" | "appointment_informed" | "data_collected" | "required_data" | "outcome" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
|
|
6526
6526
|
found: string | null;
|
|
6527
|
-
note?: string | undefined;
|
|
6528
6527
|
calendar_id?: string | undefined;
|
|
6528
|
+
note?: string | undefined;
|
|
6529
6529
|
appointment_id?: string | undefined;
|
|
6530
6530
|
alert_code?: "AGENDAMENTO_INFORMADO_NAO_REGISTRADO" | "AGENDAMENTO_DIVERGENTE" | "AGENDAMENTO_SOBREPOSTO" | "PACIENTE_NAO_VINCULADO" | "CONTRADICAO_PREMISSA_ANTERIOR" | "ORIENTACAO_CLINICA_INDEVIDA" | "POLITICA_VIOLADA" | "ULTIMA_MENSAGEM_SEM_RESPOSTA" | "PERGUNTA_NAO_RESPONDIDA" | "PROMESSA_NAO_CUMPRIDA" | "IDENTIDADE_ERRADA" | "DADO_JA_INFORMADO_RECOLETADO" | "DADO_OBRIGATORIO_NAO_COLETADO" | "FLUXO_VENDA_NAO_SEGUIDO" | "MOTIVO_ENCERRAMENTO_INCOMPATIVEL" | "SLA_RESPOSTA_ALTO" | "LEAD_QUENTE_SEM_FOLLOWUP" | "LEAD_ORIGEM_INCONSISTENTE" | "LEAD_QUALIFICACAO_INCONSISTENTE" | "AUTOMACAO_CONFLITANTE" | "DADO_SENSIVEL_SOLICITADO" | "URGENCIA_NAO_ENCAMINHADA" | "NF_NAO_ENVIADA" | "COBRANCA_NAO_ENVIADA" | undefined;
|
|
6531
6531
|
}, {
|
|
@@ -6533,8 +6533,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
6533
6533
|
expected: string;
|
|
6534
6534
|
claim_type: "promise" | "appointment_informed" | "data_collected" | "required_data" | "outcome" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
|
|
6535
6535
|
found: string | null;
|
|
6536
|
-
note?: string | undefined;
|
|
6537
6536
|
calendar_id?: string | undefined;
|
|
6537
|
+
note?: string | undefined;
|
|
6538
6538
|
appointment_id?: string | undefined;
|
|
6539
6539
|
alert_code?: "AGENDAMENTO_INFORMADO_NAO_REGISTRADO" | "AGENDAMENTO_DIVERGENTE" | "AGENDAMENTO_SOBREPOSTO" | "PACIENTE_NAO_VINCULADO" | "CONTRADICAO_PREMISSA_ANTERIOR" | "ORIENTACAO_CLINICA_INDEVIDA" | "POLITICA_VIOLADA" | "ULTIMA_MENSAGEM_SEM_RESPOSTA" | "PERGUNTA_NAO_RESPONDIDA" | "PROMESSA_NAO_CUMPRIDA" | "IDENTIDADE_ERRADA" | "DADO_JA_INFORMADO_RECOLETADO" | "DADO_OBRIGATORIO_NAO_COLETADO" | "FLUXO_VENDA_NAO_SEGUIDO" | "MOTIVO_ENCERRAMENTO_INCOMPATIVEL" | "SLA_RESPOSTA_ALTO" | "LEAD_QUENTE_SEM_FOLLOWUP" | "LEAD_ORIGEM_INCONSISTENTE" | "LEAD_QUALIFICACAO_INCONSISTENTE" | "AUTOMACAO_CONFLITANTE" | "DADO_SENSIVEL_SOLICITADO" | "URGENCIA_NAO_ENCAMINHADA" | "NF_NAO_ENVIADA" | "COBRANCA_NAO_ENVIADA" | undefined;
|
|
6540
6540
|
}>, "many">;
|
|
@@ -6698,8 +6698,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
6698
6698
|
created_at: z.ZodEffects<z.ZodDate, Date, unknown>;
|
|
6699
6699
|
}, "strip", z.ZodTypeAny, {
|
|
6700
6700
|
code: "AGENDAMENTO_INFORMADO_NAO_REGISTRADO" | "AGENDAMENTO_DIVERGENTE" | "AGENDAMENTO_SOBREPOSTO" | "PACIENTE_NAO_VINCULADO" | "CONTRADICAO_PREMISSA_ANTERIOR" | "ORIENTACAO_CLINICA_INDEVIDA" | "POLITICA_VIOLADA" | "ULTIMA_MENSAGEM_SEM_RESPOSTA" | "PERGUNTA_NAO_RESPONDIDA" | "PROMESSA_NAO_CUMPRIDA" | "IDENTIDADE_ERRADA" | "DADO_JA_INFORMADO_RECOLETADO" | "DADO_OBRIGATORIO_NAO_COLETADO" | "FLUXO_VENDA_NAO_SEGUIDO" | "MOTIVO_ENCERRAMENTO_INCOMPATIVEL" | "SLA_RESPOSTA_ALTO" | "LEAD_QUENTE_SEM_FOLLOWUP" | "LEAD_ORIGEM_INCONSISTENTE" | "LEAD_QUALIFICACAO_INCONSISTENTE" | "AUTOMACAO_CONFLITANTE" | "DADO_SENSIVEL_SOLICITADO" | "URGENCIA_NAO_ENCAMINHADA" | "NF_NAO_ENVIADA" | "COBRANCA_NAO_ENVIADA";
|
|
6701
|
-
created_at: Date;
|
|
6702
6701
|
status: "open" | "resolved";
|
|
6702
|
+
created_at: Date;
|
|
6703
6703
|
severity: "media" | "critica" | "alta" | "baixa";
|
|
6704
6704
|
title: string;
|
|
6705
6705
|
scope: "ticket" | "journey";
|
|
@@ -6712,8 +6712,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
6712
6712
|
}[];
|
|
6713
6713
|
fingerprint: string;
|
|
6714
6714
|
first_seen_ticket_id: string;
|
|
6715
|
-
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
6716
6715
|
calendar_id?: string | undefined;
|
|
6716
|
+
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
6717
6717
|
appointment_id?: string | undefined;
|
|
6718
6718
|
subtype?: "valor" | "parcelamento" | "convenio" | "dia_horario" | "procedimento" | "modalidade" | "objecao_sem_argumento" | "sem_oferta_concreta" | "preco_antes_da_queixa" | undefined;
|
|
6719
6719
|
suggested_action?: string | undefined;
|
|
@@ -6737,8 +6737,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
6737
6737
|
fingerprint: string;
|
|
6738
6738
|
first_seen_ticket_id: string;
|
|
6739
6739
|
created_at?: unknown;
|
|
6740
|
-
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
6741
6740
|
calendar_id?: string | undefined;
|
|
6741
|
+
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
6742
6742
|
appointment_id?: string | undefined;
|
|
6743
6743
|
subtype?: "valor" | "parcelamento" | "convenio" | "dia_horario" | "procedimento" | "modalidade" | "objecao_sem_argumento" | "sem_oferta_concreta" | "preco_antes_da_queixa" | undefined;
|
|
6744
6744
|
suggested_action?: string | undefined;
|
|
@@ -6923,7 +6923,7 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
6923
6923
|
alerts_critical: number;
|
|
6924
6924
|
alerts_new: number;
|
|
6925
6925
|
alerts_resolved: number;
|
|
6926
|
-
judge?: "
|
|
6926
|
+
judge?: "skipped" | "judged" | undefined;
|
|
6927
6927
|
triage_reasons?: ("document_only" | "spam_close" | "reopen_without_new_messages" | "automation_only" | "ack_only" | "forced")[] | undefined;
|
|
6928
6928
|
}, {
|
|
6929
6929
|
status: "Excelente" | "Bom" | "Regular" | "Ruim" | "Crítico" | "pending_judge";
|
|
@@ -6934,7 +6934,7 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
6934
6934
|
alerts_resolved: number;
|
|
6935
6935
|
evaluated_at?: unknown;
|
|
6936
6936
|
closed_at?: unknown;
|
|
6937
|
-
judge?: "
|
|
6937
|
+
judge?: "skipped" | "judged" | undefined;
|
|
6938
6938
|
triage_reasons?: ("document_only" | "spam_close" | "reopen_without_new_messages" | "automation_only" | "ack_only" | "forced")[] | undefined;
|
|
6939
6939
|
}>, "many">;
|
|
6940
6940
|
judge_error: z.ZodOptional<z.ZodString>;
|
|
@@ -7370,8 +7370,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
7370
7370
|
id: string;
|
|
7371
7371
|
calendar_id: string;
|
|
7372
7372
|
start_at: Date;
|
|
7373
|
-
created_at?: Date | undefined;
|
|
7374
7373
|
status?: string | undefined;
|
|
7374
|
+
created_at?: Date | undefined;
|
|
7375
7375
|
patient_id?: string | undefined;
|
|
7376
7376
|
modality?: string | undefined;
|
|
7377
7377
|
end_at?: Date | undefined;
|
|
@@ -7380,8 +7380,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
7380
7380
|
}, {
|
|
7381
7381
|
id: string;
|
|
7382
7382
|
calendar_id: string;
|
|
7383
|
-
created_at?: unknown;
|
|
7384
7383
|
status?: string | undefined;
|
|
7384
|
+
created_at?: unknown;
|
|
7385
7385
|
patient_id?: string | undefined;
|
|
7386
7386
|
modality?: string | undefined;
|
|
7387
7387
|
start_at?: unknown;
|
|
@@ -7546,8 +7546,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
7546
7546
|
id: string;
|
|
7547
7547
|
calendar_id: string;
|
|
7548
7548
|
start_at: Date;
|
|
7549
|
-
created_at?: Date | undefined;
|
|
7550
7549
|
status?: string | undefined;
|
|
7550
|
+
created_at?: Date | undefined;
|
|
7551
7551
|
patient_id?: string | undefined;
|
|
7552
7552
|
modality?: string | undefined;
|
|
7553
7553
|
end_at?: Date | undefined;
|
|
@@ -7606,8 +7606,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
7606
7606
|
appointments: {
|
|
7607
7607
|
id: string;
|
|
7608
7608
|
calendar_id: string;
|
|
7609
|
-
created_at?: unknown;
|
|
7610
7609
|
status?: string | undefined;
|
|
7610
|
+
created_at?: unknown;
|
|
7611
7611
|
patient_id?: string | undefined;
|
|
7612
7612
|
modality?: string | undefined;
|
|
7613
7613
|
start_at?: unknown;
|
|
@@ -8686,8 +8686,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
8686
8686
|
expected: string;
|
|
8687
8687
|
claim_type: "promise" | "appointment_informed" | "data_collected" | "required_data" | "outcome" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
|
|
8688
8688
|
found: string | null;
|
|
8689
|
-
note?: string | undefined;
|
|
8690
8689
|
calendar_id?: string | undefined;
|
|
8690
|
+
note?: string | undefined;
|
|
8691
8691
|
appointment_id?: string | undefined;
|
|
8692
8692
|
alert_code?: "AGENDAMENTO_INFORMADO_NAO_REGISTRADO" | "AGENDAMENTO_DIVERGENTE" | "AGENDAMENTO_SOBREPOSTO" | "PACIENTE_NAO_VINCULADO" | "CONTRADICAO_PREMISSA_ANTERIOR" | "ORIENTACAO_CLINICA_INDEVIDA" | "POLITICA_VIOLADA" | "ULTIMA_MENSAGEM_SEM_RESPOSTA" | "PERGUNTA_NAO_RESPONDIDA" | "PROMESSA_NAO_CUMPRIDA" | "IDENTIDADE_ERRADA" | "DADO_JA_INFORMADO_RECOLETADO" | "DADO_OBRIGATORIO_NAO_COLETADO" | "FLUXO_VENDA_NAO_SEGUIDO" | "MOTIVO_ENCERRAMENTO_INCOMPATIVEL" | "SLA_RESPOSTA_ALTO" | "LEAD_QUENTE_SEM_FOLLOWUP" | "LEAD_ORIGEM_INCONSISTENTE" | "LEAD_QUALIFICACAO_INCONSISTENTE" | "AUTOMACAO_CONFLITANTE" | "DADO_SENSIVEL_SOLICITADO" | "URGENCIA_NAO_ENCAMINHADA" | "NF_NAO_ENVIADA" | "COBRANCA_NAO_ENVIADA" | undefined;
|
|
8693
8693
|
}, {
|
|
@@ -8695,8 +8695,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
8695
8695
|
expected: string;
|
|
8696
8696
|
claim_type: "promise" | "appointment_informed" | "data_collected" | "required_data" | "outcome" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
|
|
8697
8697
|
found: string | null;
|
|
8698
|
-
note?: string | undefined;
|
|
8699
8698
|
calendar_id?: string | undefined;
|
|
8699
|
+
note?: string | undefined;
|
|
8700
8700
|
appointment_id?: string | undefined;
|
|
8701
8701
|
alert_code?: "AGENDAMENTO_INFORMADO_NAO_REGISTRADO" | "AGENDAMENTO_DIVERGENTE" | "AGENDAMENTO_SOBREPOSTO" | "PACIENTE_NAO_VINCULADO" | "CONTRADICAO_PREMISSA_ANTERIOR" | "ORIENTACAO_CLINICA_INDEVIDA" | "POLITICA_VIOLADA" | "ULTIMA_MENSAGEM_SEM_RESPOSTA" | "PERGUNTA_NAO_RESPONDIDA" | "PROMESSA_NAO_CUMPRIDA" | "IDENTIDADE_ERRADA" | "DADO_JA_INFORMADO_RECOLETADO" | "DADO_OBRIGATORIO_NAO_COLETADO" | "FLUXO_VENDA_NAO_SEGUIDO" | "MOTIVO_ENCERRAMENTO_INCOMPATIVEL" | "SLA_RESPOSTA_ALTO" | "LEAD_QUENTE_SEM_FOLLOWUP" | "LEAD_ORIGEM_INCONSISTENTE" | "LEAD_QUALIFICACAO_INCONSISTENTE" | "AUTOMACAO_CONFLITANTE" | "DADO_SENSIVEL_SOLICITADO" | "URGENCIA_NAO_ENCAMINHADA" | "NF_NAO_ENVIADA" | "COBRANCA_NAO_ENVIADA" | undefined;
|
|
8702
8702
|
}>, "many">;
|
|
@@ -8860,8 +8860,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
8860
8860
|
created_at: z.ZodEffects<z.ZodDate, Date, unknown>;
|
|
8861
8861
|
}, "strip", z.ZodTypeAny, {
|
|
8862
8862
|
code: "AGENDAMENTO_INFORMADO_NAO_REGISTRADO" | "AGENDAMENTO_DIVERGENTE" | "AGENDAMENTO_SOBREPOSTO" | "PACIENTE_NAO_VINCULADO" | "CONTRADICAO_PREMISSA_ANTERIOR" | "ORIENTACAO_CLINICA_INDEVIDA" | "POLITICA_VIOLADA" | "ULTIMA_MENSAGEM_SEM_RESPOSTA" | "PERGUNTA_NAO_RESPONDIDA" | "PROMESSA_NAO_CUMPRIDA" | "IDENTIDADE_ERRADA" | "DADO_JA_INFORMADO_RECOLETADO" | "DADO_OBRIGATORIO_NAO_COLETADO" | "FLUXO_VENDA_NAO_SEGUIDO" | "MOTIVO_ENCERRAMENTO_INCOMPATIVEL" | "SLA_RESPOSTA_ALTO" | "LEAD_QUENTE_SEM_FOLLOWUP" | "LEAD_ORIGEM_INCONSISTENTE" | "LEAD_QUALIFICACAO_INCONSISTENTE" | "AUTOMACAO_CONFLITANTE" | "DADO_SENSIVEL_SOLICITADO" | "URGENCIA_NAO_ENCAMINHADA" | "NF_NAO_ENVIADA" | "COBRANCA_NAO_ENVIADA";
|
|
8863
|
-
created_at: Date;
|
|
8864
8863
|
status: "open" | "resolved";
|
|
8864
|
+
created_at: Date;
|
|
8865
8865
|
severity: "media" | "critica" | "alta" | "baixa";
|
|
8866
8866
|
title: string;
|
|
8867
8867
|
scope: "ticket" | "journey";
|
|
@@ -8874,8 +8874,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
8874
8874
|
}[];
|
|
8875
8875
|
fingerprint: string;
|
|
8876
8876
|
first_seen_ticket_id: string;
|
|
8877
|
-
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
8878
8877
|
calendar_id?: string | undefined;
|
|
8878
|
+
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
8879
8879
|
appointment_id?: string | undefined;
|
|
8880
8880
|
subtype?: "valor" | "parcelamento" | "convenio" | "dia_horario" | "procedimento" | "modalidade" | "objecao_sem_argumento" | "sem_oferta_concreta" | "preco_antes_da_queixa" | undefined;
|
|
8881
8881
|
suggested_action?: string | undefined;
|
|
@@ -8899,8 +8899,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
8899
8899
|
fingerprint: string;
|
|
8900
8900
|
first_seen_ticket_id: string;
|
|
8901
8901
|
created_at?: unknown;
|
|
8902
|
-
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
8903
8902
|
calendar_id?: string | undefined;
|
|
8903
|
+
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
8904
8904
|
appointment_id?: string | undefined;
|
|
8905
8905
|
subtype?: "valor" | "parcelamento" | "convenio" | "dia_horario" | "procedimento" | "modalidade" | "objecao_sem_argumento" | "sem_oferta_concreta" | "preco_antes_da_queixa" | undefined;
|
|
8906
8906
|
suggested_action?: string | undefined;
|
|
@@ -9085,7 +9085,7 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
9085
9085
|
alerts_critical: number;
|
|
9086
9086
|
alerts_new: number;
|
|
9087
9087
|
alerts_resolved: number;
|
|
9088
|
-
judge?: "
|
|
9088
|
+
judge?: "skipped" | "judged" | undefined;
|
|
9089
9089
|
triage_reasons?: ("document_only" | "spam_close" | "reopen_without_new_messages" | "automation_only" | "ack_only" | "forced")[] | undefined;
|
|
9090
9090
|
}, {
|
|
9091
9091
|
status: "Excelente" | "Bom" | "Regular" | "Ruim" | "Crítico" | "pending_judge";
|
|
@@ -9096,7 +9096,7 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
9096
9096
|
alerts_resolved: number;
|
|
9097
9097
|
evaluated_at?: unknown;
|
|
9098
9098
|
closed_at?: unknown;
|
|
9099
|
-
judge?: "
|
|
9099
|
+
judge?: "skipped" | "judged" | undefined;
|
|
9100
9100
|
triage_reasons?: ("document_only" | "spam_close" | "reopen_without_new_messages" | "automation_only" | "ack_only" | "forced")[] | undefined;
|
|
9101
9101
|
}>, "many">;
|
|
9102
9102
|
judge_error: z.ZodOptional<z.ZodString>;
|
|
@@ -9532,8 +9532,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
9532
9532
|
id: string;
|
|
9533
9533
|
calendar_id: string;
|
|
9534
9534
|
start_at: Date;
|
|
9535
|
-
created_at?: Date | undefined;
|
|
9536
9535
|
status?: string | undefined;
|
|
9536
|
+
created_at?: Date | undefined;
|
|
9537
9537
|
patient_id?: string | undefined;
|
|
9538
9538
|
modality?: string | undefined;
|
|
9539
9539
|
end_at?: Date | undefined;
|
|
@@ -9542,8 +9542,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
9542
9542
|
}, {
|
|
9543
9543
|
id: string;
|
|
9544
9544
|
calendar_id: string;
|
|
9545
|
-
created_at?: unknown;
|
|
9546
9545
|
status?: string | undefined;
|
|
9546
|
+
created_at?: unknown;
|
|
9547
9547
|
patient_id?: string | undefined;
|
|
9548
9548
|
modality?: string | undefined;
|
|
9549
9549
|
start_at?: unknown;
|
|
@@ -9708,8 +9708,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
9708
9708
|
id: string;
|
|
9709
9709
|
calendar_id: string;
|
|
9710
9710
|
start_at: Date;
|
|
9711
|
-
created_at?: Date | undefined;
|
|
9712
9711
|
status?: string | undefined;
|
|
9712
|
+
created_at?: Date | undefined;
|
|
9713
9713
|
patient_id?: string | undefined;
|
|
9714
9714
|
modality?: string | undefined;
|
|
9715
9715
|
end_at?: Date | undefined;
|
|
@@ -9768,8 +9768,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
9768
9768
|
appointments: {
|
|
9769
9769
|
id: string;
|
|
9770
9770
|
calendar_id: string;
|
|
9771
|
-
created_at?: unknown;
|
|
9772
9771
|
status?: string | undefined;
|
|
9772
|
+
created_at?: unknown;
|
|
9773
9773
|
patient_id?: string | undefined;
|
|
9774
9774
|
modality?: string | undefined;
|
|
9775
9775
|
start_at?: unknown;
|
|
@@ -10848,8 +10848,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
10848
10848
|
expected: string;
|
|
10849
10849
|
claim_type: "promise" | "appointment_informed" | "data_collected" | "required_data" | "outcome" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
|
|
10850
10850
|
found: string | null;
|
|
10851
|
-
note?: string | undefined;
|
|
10852
10851
|
calendar_id?: string | undefined;
|
|
10852
|
+
note?: string | undefined;
|
|
10853
10853
|
appointment_id?: string | undefined;
|
|
10854
10854
|
alert_code?: "AGENDAMENTO_INFORMADO_NAO_REGISTRADO" | "AGENDAMENTO_DIVERGENTE" | "AGENDAMENTO_SOBREPOSTO" | "PACIENTE_NAO_VINCULADO" | "CONTRADICAO_PREMISSA_ANTERIOR" | "ORIENTACAO_CLINICA_INDEVIDA" | "POLITICA_VIOLADA" | "ULTIMA_MENSAGEM_SEM_RESPOSTA" | "PERGUNTA_NAO_RESPONDIDA" | "PROMESSA_NAO_CUMPRIDA" | "IDENTIDADE_ERRADA" | "DADO_JA_INFORMADO_RECOLETADO" | "DADO_OBRIGATORIO_NAO_COLETADO" | "FLUXO_VENDA_NAO_SEGUIDO" | "MOTIVO_ENCERRAMENTO_INCOMPATIVEL" | "SLA_RESPOSTA_ALTO" | "LEAD_QUENTE_SEM_FOLLOWUP" | "LEAD_ORIGEM_INCONSISTENTE" | "LEAD_QUALIFICACAO_INCONSISTENTE" | "AUTOMACAO_CONFLITANTE" | "DADO_SENSIVEL_SOLICITADO" | "URGENCIA_NAO_ENCAMINHADA" | "NF_NAO_ENVIADA" | "COBRANCA_NAO_ENVIADA" | undefined;
|
|
10855
10855
|
}, {
|
|
@@ -10857,8 +10857,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
10857
10857
|
expected: string;
|
|
10858
10858
|
claim_type: "promise" | "appointment_informed" | "data_collected" | "required_data" | "outcome" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
|
|
10859
10859
|
found: string | null;
|
|
10860
|
-
note?: string | undefined;
|
|
10861
10860
|
calendar_id?: string | undefined;
|
|
10861
|
+
note?: string | undefined;
|
|
10862
10862
|
appointment_id?: string | undefined;
|
|
10863
10863
|
alert_code?: "AGENDAMENTO_INFORMADO_NAO_REGISTRADO" | "AGENDAMENTO_DIVERGENTE" | "AGENDAMENTO_SOBREPOSTO" | "PACIENTE_NAO_VINCULADO" | "CONTRADICAO_PREMISSA_ANTERIOR" | "ORIENTACAO_CLINICA_INDEVIDA" | "POLITICA_VIOLADA" | "ULTIMA_MENSAGEM_SEM_RESPOSTA" | "PERGUNTA_NAO_RESPONDIDA" | "PROMESSA_NAO_CUMPRIDA" | "IDENTIDADE_ERRADA" | "DADO_JA_INFORMADO_RECOLETADO" | "DADO_OBRIGATORIO_NAO_COLETADO" | "FLUXO_VENDA_NAO_SEGUIDO" | "MOTIVO_ENCERRAMENTO_INCOMPATIVEL" | "SLA_RESPOSTA_ALTO" | "LEAD_QUENTE_SEM_FOLLOWUP" | "LEAD_ORIGEM_INCONSISTENTE" | "LEAD_QUALIFICACAO_INCONSISTENTE" | "AUTOMACAO_CONFLITANTE" | "DADO_SENSIVEL_SOLICITADO" | "URGENCIA_NAO_ENCAMINHADA" | "NF_NAO_ENVIADA" | "COBRANCA_NAO_ENVIADA" | undefined;
|
|
10864
10864
|
}>, "many">;
|
|
@@ -11022,8 +11022,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
11022
11022
|
created_at: z.ZodEffects<z.ZodDate, Date, unknown>;
|
|
11023
11023
|
}, "strip", z.ZodTypeAny, {
|
|
11024
11024
|
code: "AGENDAMENTO_INFORMADO_NAO_REGISTRADO" | "AGENDAMENTO_DIVERGENTE" | "AGENDAMENTO_SOBREPOSTO" | "PACIENTE_NAO_VINCULADO" | "CONTRADICAO_PREMISSA_ANTERIOR" | "ORIENTACAO_CLINICA_INDEVIDA" | "POLITICA_VIOLADA" | "ULTIMA_MENSAGEM_SEM_RESPOSTA" | "PERGUNTA_NAO_RESPONDIDA" | "PROMESSA_NAO_CUMPRIDA" | "IDENTIDADE_ERRADA" | "DADO_JA_INFORMADO_RECOLETADO" | "DADO_OBRIGATORIO_NAO_COLETADO" | "FLUXO_VENDA_NAO_SEGUIDO" | "MOTIVO_ENCERRAMENTO_INCOMPATIVEL" | "SLA_RESPOSTA_ALTO" | "LEAD_QUENTE_SEM_FOLLOWUP" | "LEAD_ORIGEM_INCONSISTENTE" | "LEAD_QUALIFICACAO_INCONSISTENTE" | "AUTOMACAO_CONFLITANTE" | "DADO_SENSIVEL_SOLICITADO" | "URGENCIA_NAO_ENCAMINHADA" | "NF_NAO_ENVIADA" | "COBRANCA_NAO_ENVIADA";
|
|
11025
|
-
created_at: Date;
|
|
11026
11025
|
status: "open" | "resolved";
|
|
11026
|
+
created_at: Date;
|
|
11027
11027
|
severity: "media" | "critica" | "alta" | "baixa";
|
|
11028
11028
|
title: string;
|
|
11029
11029
|
scope: "ticket" | "journey";
|
|
@@ -11036,8 +11036,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
11036
11036
|
}[];
|
|
11037
11037
|
fingerprint: string;
|
|
11038
11038
|
first_seen_ticket_id: string;
|
|
11039
|
-
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
11040
11039
|
calendar_id?: string | undefined;
|
|
11040
|
+
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
11041
11041
|
appointment_id?: string | undefined;
|
|
11042
11042
|
subtype?: "valor" | "parcelamento" | "convenio" | "dia_horario" | "procedimento" | "modalidade" | "objecao_sem_argumento" | "sem_oferta_concreta" | "preco_antes_da_queixa" | undefined;
|
|
11043
11043
|
suggested_action?: string | undefined;
|
|
@@ -11061,8 +11061,8 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
11061
11061
|
fingerprint: string;
|
|
11062
11062
|
first_seen_ticket_id: string;
|
|
11063
11063
|
created_at?: unknown;
|
|
11064
|
-
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
11065
11064
|
calendar_id?: string | undefined;
|
|
11065
|
+
verification?: "confirmed" | "pending" | "confirmed_ok" | "inconclusive" | undefined;
|
|
11066
11066
|
appointment_id?: string | undefined;
|
|
11067
11067
|
subtype?: "valor" | "parcelamento" | "convenio" | "dia_horario" | "procedimento" | "modalidade" | "objecao_sem_argumento" | "sem_oferta_concreta" | "preco_antes_da_queixa" | undefined;
|
|
11068
11068
|
suggested_action?: string | undefined;
|
|
@@ -11247,7 +11247,7 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
11247
11247
|
alerts_critical: number;
|
|
11248
11248
|
alerts_new: number;
|
|
11249
11249
|
alerts_resolved: number;
|
|
11250
|
-
judge?: "
|
|
11250
|
+
judge?: "skipped" | "judged" | undefined;
|
|
11251
11251
|
triage_reasons?: ("document_only" | "spam_close" | "reopen_without_new_messages" | "automation_only" | "ack_only" | "forced")[] | undefined;
|
|
11252
11252
|
}, {
|
|
11253
11253
|
status: "Excelente" | "Bom" | "Regular" | "Ruim" | "Crítico" | "pending_judge";
|
|
@@ -11258,7 +11258,7 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
|
|
|
11258
11258
|
alerts_resolved: number;
|
|
11259
11259
|
evaluated_at?: unknown;
|
|
11260
11260
|
closed_at?: unknown;
|
|
11261
|
-
judge?: "
|
|
11261
|
+
judge?: "skipped" | "judged" | undefined;
|
|
11262
11262
|
triage_reasons?: ("document_only" | "spam_close" | "reopen_without_new_messages" | "automation_only" | "ack_only" | "forced")[] | undefined;
|
|
11263
11263
|
}>, "many">;
|
|
11264
11264
|
judge_error: z.ZodOptional<z.ZodString>;
|