evo360-types 1.3.454 → 1.3.458

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.
@@ -169,17 +169,17 @@ export declare const zLeadSchema: z.ZodObject<{
169
169
  * a família inteira) e um paciente pode responder a vários leads. feat-095.
170
170
  */
171
171
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
172
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
172
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
173
173
  id: z.ZodString;
174
174
  label: z.ZodOptional<z.ZodString>;
175
175
  ref: z.ZodOptional<z.ZodAny>;
176
176
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
177
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
177
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
178
178
  id: z.ZodString;
179
179
  label: z.ZodOptional<z.ZodString>;
180
180
  ref: z.ZodOptional<z.ZodAny>;
181
181
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
182
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
182
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
183
183
  id: z.ZodString;
184
184
  label: z.ZodOptional<z.ZodString>;
185
185
  ref: z.ZodOptional<z.ZodAny>;
@@ -340,17 +340,17 @@ export declare const zLeadSchema: z.ZodObject<{
340
340
  * a família inteira) e um paciente pode responder a vários leads. feat-095.
341
341
  */
342
342
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
343
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
343
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
344
344
  id: z.ZodString;
345
345
  label: z.ZodOptional<z.ZodString>;
346
346
  ref: z.ZodOptional<z.ZodAny>;
347
347
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
348
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
348
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
349
349
  id: z.ZodString;
350
350
  label: z.ZodOptional<z.ZodString>;
351
351
  ref: z.ZodOptional<z.ZodAny>;
352
352
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
353
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
353
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
354
354
  id: z.ZodString;
355
355
  label: z.ZodOptional<z.ZodString>;
356
356
  ref: z.ZodOptional<z.ZodAny>;
@@ -511,17 +511,17 @@ export declare const zLeadSchema: z.ZodObject<{
511
511
  * a família inteira) e um paciente pode responder a vários leads. feat-095.
512
512
  */
513
513
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
514
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
514
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
515
515
  id: z.ZodString;
516
516
  label: z.ZodOptional<z.ZodString>;
517
517
  ref: z.ZodOptional<z.ZodAny>;
518
518
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
519
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
519
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
520
520
  id: z.ZodString;
521
521
  label: z.ZodOptional<z.ZodString>;
522
522
  ref: z.ZodOptional<z.ZodAny>;
523
523
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
524
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
524
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
525
525
  id: z.ZodString;
526
526
  label: z.ZodOptional<z.ZodString>;
527
527
  ref: z.ZodOptional<z.ZodAny>;
@@ -10854,17 +10854,17 @@ export declare const zPaymentLinkSchema: z.ZodObject<{
10854
10854
  last_payment_confirmed_at: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, unknown>>;
10855
10855
  last_payment_received_at: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, unknown>>;
10856
10856
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
10857
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
10857
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
10858
10858
  id: z.ZodString;
10859
10859
  label: z.ZodOptional<z.ZodString>;
10860
10860
  ref: z.ZodOptional<z.ZodAny>;
10861
10861
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10862
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
10862
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
10863
10863
  id: z.ZodString;
10864
10864
  label: z.ZodOptional<z.ZodString>;
10865
10865
  ref: z.ZodOptional<z.ZodAny>;
10866
10866
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10867
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
10867
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
10868
10868
  id: z.ZodString;
10869
10869
  label: z.ZodOptional<z.ZodString>;
10870
10870
  ref: z.ZodOptional<z.ZodAny>;
@@ -11039,17 +11039,17 @@ export declare const zPaymentLinkSchema: z.ZodObject<{
11039
11039
  last_payment_confirmed_at: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, unknown>>;
11040
11040
  last_payment_received_at: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, unknown>>;
11041
11041
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
11042
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
11042
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
11043
11043
  id: z.ZodString;
11044
11044
  label: z.ZodOptional<z.ZodString>;
11045
11045
  ref: z.ZodOptional<z.ZodAny>;
11046
11046
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11047
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
11047
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
11048
11048
  id: z.ZodString;
11049
11049
  label: z.ZodOptional<z.ZodString>;
11050
11050
  ref: z.ZodOptional<z.ZodAny>;
11051
11051
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11052
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
11052
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
11053
11053
  id: z.ZodString;
11054
11054
  label: z.ZodOptional<z.ZodString>;
11055
11055
  ref: z.ZodOptional<z.ZodAny>;
@@ -11224,17 +11224,17 @@ export declare const zPaymentLinkSchema: z.ZodObject<{
11224
11224
  last_payment_confirmed_at: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, unknown>>;
11225
11225
  last_payment_received_at: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, unknown>>;
11226
11226
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
11227
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
11227
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
11228
11228
  id: z.ZodString;
11229
11229
  label: z.ZodOptional<z.ZodString>;
11230
11230
  ref: z.ZodOptional<z.ZodAny>;
11231
11231
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11232
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
11232
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
11233
11233
  id: z.ZodString;
11234
11234
  label: z.ZodOptional<z.ZodString>;
11235
11235
  ref: z.ZodOptional<z.ZodAny>;
11236
11236
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11237
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
11237
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
11238
11238
  id: z.ZodString;
11239
11239
  label: z.ZodOptional<z.ZodString>;
11240
11240
  ref: z.ZodOptional<z.ZodAny>;
@@ -11424,17 +11424,17 @@ export declare const zServiceInvoiceSchema: z.ZodObject<{
11424
11424
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11425
11425
  }, z.ZodTypeAny, "passthrough">>>;
11426
11426
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
11427
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
11427
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
11428
11428
  id: z.ZodString;
11429
11429
  label: z.ZodOptional<z.ZodString>;
11430
11430
  ref: z.ZodOptional<z.ZodAny>;
11431
11431
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11432
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
11432
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
11433
11433
  id: z.ZodString;
11434
11434
  label: z.ZodOptional<z.ZodString>;
11435
11435
  ref: z.ZodOptional<z.ZodAny>;
11436
11436
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11437
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
11437
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
11438
11438
  id: z.ZodString;
11439
11439
  label: z.ZodOptional<z.ZodString>;
11440
11440
  ref: z.ZodOptional<z.ZodAny>;
@@ -11843,17 +11843,17 @@ export declare const zServiceInvoiceSchema: z.ZodObject<{
11843
11843
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11844
11844
  }, z.ZodTypeAny, "passthrough">>>;
11845
11845
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
11846
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
11846
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
11847
11847
  id: z.ZodString;
11848
11848
  label: z.ZodOptional<z.ZodString>;
11849
11849
  ref: z.ZodOptional<z.ZodAny>;
11850
11850
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11851
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
11851
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
11852
11852
  id: z.ZodString;
11853
11853
  label: z.ZodOptional<z.ZodString>;
11854
11854
  ref: z.ZodOptional<z.ZodAny>;
11855
11855
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11856
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
11856
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
11857
11857
  id: z.ZodString;
11858
11858
  label: z.ZodOptional<z.ZodString>;
11859
11859
  ref: z.ZodOptional<z.ZodAny>;
@@ -12262,17 +12262,17 @@ export declare const zServiceInvoiceSchema: z.ZodObject<{
12262
12262
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12263
12263
  }, z.ZodTypeAny, "passthrough">>>;
12264
12264
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
12265
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
12265
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
12266
12266
  id: z.ZodString;
12267
12267
  label: z.ZodOptional<z.ZodString>;
12268
12268
  ref: z.ZodOptional<z.ZodAny>;
12269
12269
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12270
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
12270
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
12271
12271
  id: z.ZodString;
12272
12272
  label: z.ZodOptional<z.ZodString>;
12273
12273
  ref: z.ZodOptional<z.ZodAny>;
12274
12274
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12275
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
12275
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
12276
12276
  id: z.ZodString;
12277
12277
  label: z.ZodOptional<z.ZodString>;
12278
12278
  ref: z.ZodOptional<z.ZodAny>;
@@ -605,17 +605,17 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
605
605
  baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
606
606
  categoryColor: z.ZodOptional<z.ZodString>;
607
607
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
608
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
608
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
609
609
  id: z.ZodString;
610
610
  label: z.ZodOptional<z.ZodString>;
611
611
  ref: z.ZodOptional<z.ZodAny>;
612
612
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
613
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
613
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
614
614
  id: z.ZodString;
615
615
  label: z.ZodOptional<z.ZodString>;
616
616
  ref: z.ZodOptional<z.ZodAny>;
617
617
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
618
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
618
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
619
619
  id: z.ZodString;
620
620
  label: z.ZodOptional<z.ZodString>;
621
621
  ref: z.ZodOptional<z.ZodAny>;
@@ -644,17 +644,17 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
644
644
  baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
645
645
  categoryColor: z.ZodOptional<z.ZodString>;
646
646
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
647
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
647
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
648
648
  id: z.ZodString;
649
649
  label: z.ZodOptional<z.ZodString>;
650
650
  ref: z.ZodOptional<z.ZodAny>;
651
651
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
652
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
652
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
653
653
  id: z.ZodString;
654
654
  label: z.ZodOptional<z.ZodString>;
655
655
  ref: z.ZodOptional<z.ZodAny>;
656
656
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
657
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
657
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
658
658
  id: z.ZodString;
659
659
  label: z.ZodOptional<z.ZodString>;
660
660
  ref: z.ZodOptional<z.ZodAny>;
@@ -683,17 +683,17 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
683
683
  baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
684
684
  categoryColor: z.ZodOptional<z.ZodString>;
685
685
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
686
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
686
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
687
687
  id: z.ZodString;
688
688
  label: z.ZodOptional<z.ZodString>;
689
689
  ref: z.ZodOptional<z.ZodAny>;
690
690
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
691
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
691
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
692
692
  id: z.ZodString;
693
693
  label: z.ZodOptional<z.ZodString>;
694
694
  ref: z.ZodOptional<z.ZodAny>;
695
695
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
696
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
696
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
697
697
  id: z.ZodString;
698
698
  label: z.ZodOptional<z.ZodString>;
699
699
  ref: z.ZodOptional<z.ZodAny>;
@@ -807,17 +807,17 @@ export declare const zPatientSchema: z.ZodObject<{
807
807
  * um lead pode ter vários pacientes. feat-095.
808
808
  */
809
809
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
810
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
810
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
811
811
  id: z.ZodString;
812
812
  label: z.ZodOptional<z.ZodString>;
813
813
  ref: z.ZodOptional<z.ZodAny>;
814
814
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
815
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
815
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
816
816
  id: z.ZodString;
817
817
  label: z.ZodOptional<z.ZodString>;
818
818
  ref: z.ZodOptional<z.ZodAny>;
819
819
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
820
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
820
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
821
821
  id: z.ZodString;
822
822
  label: z.ZodOptional<z.ZodString>;
823
823
  ref: z.ZodOptional<z.ZodAny>;
@@ -922,17 +922,17 @@ export declare const zPatientSchema: z.ZodObject<{
922
922
  baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
923
923
  categoryColor: z.ZodOptional<z.ZodString>;
924
924
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
925
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
925
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
926
926
  id: z.ZodString;
927
927
  label: z.ZodOptional<z.ZodString>;
928
928
  ref: z.ZodOptional<z.ZodAny>;
929
929
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
930
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
930
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
931
931
  id: z.ZodString;
932
932
  label: z.ZodOptional<z.ZodString>;
933
933
  ref: z.ZodOptional<z.ZodAny>;
934
934
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
935
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
935
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
936
936
  id: z.ZodString;
937
937
  label: z.ZodOptional<z.ZodString>;
938
938
  ref: z.ZodOptional<z.ZodAny>;
@@ -961,17 +961,17 @@ export declare const zPatientSchema: z.ZodObject<{
961
961
  baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
962
962
  categoryColor: z.ZodOptional<z.ZodString>;
963
963
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
964
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
964
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
965
965
  id: z.ZodString;
966
966
  label: z.ZodOptional<z.ZodString>;
967
967
  ref: z.ZodOptional<z.ZodAny>;
968
968
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
969
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
969
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
970
970
  id: z.ZodString;
971
971
  label: z.ZodOptional<z.ZodString>;
972
972
  ref: z.ZodOptional<z.ZodAny>;
973
973
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
974
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
974
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
975
975
  id: z.ZodString;
976
976
  label: z.ZodOptional<z.ZodString>;
977
977
  ref: z.ZodOptional<z.ZodAny>;
@@ -1000,17 +1000,17 @@ export declare const zPatientSchema: z.ZodObject<{
1000
1000
  baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
1001
1001
  categoryColor: z.ZodOptional<z.ZodString>;
1002
1002
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1003
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1003
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1004
1004
  id: z.ZodString;
1005
1005
  label: z.ZodOptional<z.ZodString>;
1006
1006
  ref: z.ZodOptional<z.ZodAny>;
1007
1007
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1008
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1008
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1009
1009
  id: z.ZodString;
1010
1010
  label: z.ZodOptional<z.ZodString>;
1011
1011
  ref: z.ZodOptional<z.ZodAny>;
1012
1012
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1013
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1013
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1014
1014
  id: z.ZodString;
1015
1015
  label: z.ZodOptional<z.ZodString>;
1016
1016
  ref: z.ZodOptional<z.ZodAny>;
@@ -1145,17 +1145,17 @@ export declare const zPatientSchema: z.ZodObject<{
1145
1145
  * um lead pode ter vários pacientes. feat-095.
1146
1146
  */
1147
1147
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1148
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1148
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1149
1149
  id: z.ZodString;
1150
1150
  label: z.ZodOptional<z.ZodString>;
1151
1151
  ref: z.ZodOptional<z.ZodAny>;
1152
1152
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1153
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1153
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1154
1154
  id: z.ZodString;
1155
1155
  label: z.ZodOptional<z.ZodString>;
1156
1156
  ref: z.ZodOptional<z.ZodAny>;
1157
1157
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1158
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1158
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1159
1159
  id: z.ZodString;
1160
1160
  label: z.ZodOptional<z.ZodString>;
1161
1161
  ref: z.ZodOptional<z.ZodAny>;
@@ -1260,17 +1260,17 @@ export declare const zPatientSchema: z.ZodObject<{
1260
1260
  baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
1261
1261
  categoryColor: z.ZodOptional<z.ZodString>;
1262
1262
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1263
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1263
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1264
1264
  id: z.ZodString;
1265
1265
  label: z.ZodOptional<z.ZodString>;
1266
1266
  ref: z.ZodOptional<z.ZodAny>;
1267
1267
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1268
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1268
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1269
1269
  id: z.ZodString;
1270
1270
  label: z.ZodOptional<z.ZodString>;
1271
1271
  ref: z.ZodOptional<z.ZodAny>;
1272
1272
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1273
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1273
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1274
1274
  id: z.ZodString;
1275
1275
  label: z.ZodOptional<z.ZodString>;
1276
1276
  ref: z.ZodOptional<z.ZodAny>;
@@ -1299,17 +1299,17 @@ export declare const zPatientSchema: z.ZodObject<{
1299
1299
  baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
1300
1300
  categoryColor: z.ZodOptional<z.ZodString>;
1301
1301
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1302
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1302
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1303
1303
  id: z.ZodString;
1304
1304
  label: z.ZodOptional<z.ZodString>;
1305
1305
  ref: z.ZodOptional<z.ZodAny>;
1306
1306
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1307
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1307
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1308
1308
  id: z.ZodString;
1309
1309
  label: z.ZodOptional<z.ZodString>;
1310
1310
  ref: z.ZodOptional<z.ZodAny>;
1311
1311
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1312
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1312
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1313
1313
  id: z.ZodString;
1314
1314
  label: z.ZodOptional<z.ZodString>;
1315
1315
  ref: z.ZodOptional<z.ZodAny>;
@@ -1338,17 +1338,17 @@ export declare const zPatientSchema: z.ZodObject<{
1338
1338
  baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
1339
1339
  categoryColor: z.ZodOptional<z.ZodString>;
1340
1340
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1341
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1341
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1342
1342
  id: z.ZodString;
1343
1343
  label: z.ZodOptional<z.ZodString>;
1344
1344
  ref: z.ZodOptional<z.ZodAny>;
1345
1345
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1346
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1346
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1347
1347
  id: z.ZodString;
1348
1348
  label: z.ZodOptional<z.ZodString>;
1349
1349
  ref: z.ZodOptional<z.ZodAny>;
1350
1350
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1351
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1351
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1352
1352
  id: z.ZodString;
1353
1353
  label: z.ZodOptional<z.ZodString>;
1354
1354
  ref: z.ZodOptional<z.ZodAny>;
@@ -1483,17 +1483,17 @@ export declare const zPatientSchema: z.ZodObject<{
1483
1483
  * um lead pode ter vários pacientes. feat-095.
1484
1484
  */
1485
1485
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1486
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1486
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1487
1487
  id: z.ZodString;
1488
1488
  label: z.ZodOptional<z.ZodString>;
1489
1489
  ref: z.ZodOptional<z.ZodAny>;
1490
1490
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1491
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1491
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1492
1492
  id: z.ZodString;
1493
1493
  label: z.ZodOptional<z.ZodString>;
1494
1494
  ref: z.ZodOptional<z.ZodAny>;
1495
1495
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1496
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1496
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1497
1497
  id: z.ZodString;
1498
1498
  label: z.ZodOptional<z.ZodString>;
1499
1499
  ref: z.ZodOptional<z.ZodAny>;
@@ -1598,17 +1598,17 @@ export declare const zPatientSchema: z.ZodObject<{
1598
1598
  baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
1599
1599
  categoryColor: z.ZodOptional<z.ZodString>;
1600
1600
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1601
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1601
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1602
1602
  id: z.ZodString;
1603
1603
  label: z.ZodOptional<z.ZodString>;
1604
1604
  ref: z.ZodOptional<z.ZodAny>;
1605
1605
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1606
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1606
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1607
1607
  id: z.ZodString;
1608
1608
  label: z.ZodOptional<z.ZodString>;
1609
1609
  ref: z.ZodOptional<z.ZodAny>;
1610
1610
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1611
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1611
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1612
1612
  id: z.ZodString;
1613
1613
  label: z.ZodOptional<z.ZodString>;
1614
1614
  ref: z.ZodOptional<z.ZodAny>;
@@ -1637,17 +1637,17 @@ export declare const zPatientSchema: z.ZodObject<{
1637
1637
  baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
1638
1638
  categoryColor: z.ZodOptional<z.ZodString>;
1639
1639
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1640
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1640
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1641
1641
  id: z.ZodString;
1642
1642
  label: z.ZodOptional<z.ZodString>;
1643
1643
  ref: z.ZodOptional<z.ZodAny>;
1644
1644
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1645
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1645
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1646
1646
  id: z.ZodString;
1647
1647
  label: z.ZodOptional<z.ZodString>;
1648
1648
  ref: z.ZodOptional<z.ZodAny>;
1649
1649
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1650
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1650
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1651
1651
  id: z.ZodString;
1652
1652
  label: z.ZodOptional<z.ZodString>;
1653
1653
  ref: z.ZodOptional<z.ZodAny>;
@@ -1676,17 +1676,17 @@ export declare const zPatientSchema: z.ZodObject<{
1676
1676
  baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
1677
1677
  categoryColor: z.ZodOptional<z.ZodString>;
1678
1678
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1679
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1679
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1680
1680
  id: z.ZodString;
1681
1681
  label: z.ZodOptional<z.ZodString>;
1682
1682
  ref: z.ZodOptional<z.ZodAny>;
1683
1683
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1684
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1684
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1685
1685
  id: z.ZodString;
1686
1686
  label: z.ZodOptional<z.ZodString>;
1687
1687
  ref: z.ZodOptional<z.ZodAny>;
1688
1688
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1689
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1689
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1690
1690
  id: z.ZodString;
1691
1691
  label: z.ZodOptional<z.ZodString>;
1692
1692
  ref: z.ZodOptional<z.ZodAny>;
@@ -179,17 +179,17 @@ export declare const zNotificationMessageSchema: z.ZodObject<{
179
179
  dedup_group_key: z.ZodOptional<z.ZodString>;
180
180
  date_bucket: z.ZodOptional<z.ZodString>;
181
181
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
182
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
182
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
183
183
  id: z.ZodString;
184
184
  label: z.ZodOptional<z.ZodString>;
185
185
  ref: z.ZodOptional<z.ZodAny>;
186
186
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
187
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
187
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
188
188
  id: z.ZodString;
189
189
  label: z.ZodOptional<z.ZodString>;
190
190
  ref: z.ZodOptional<z.ZodAny>;
191
191
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
192
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
192
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
193
193
  id: z.ZodString;
194
194
  label: z.ZodOptional<z.ZodString>;
195
195
  ref: z.ZodOptional<z.ZodAny>;
@@ -296,17 +296,17 @@ export declare const zNotificationMessageSchema: z.ZodObject<{
296
296
  dedup_group_key: z.ZodOptional<z.ZodString>;
297
297
  date_bucket: z.ZodOptional<z.ZodString>;
298
298
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
299
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
299
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
300
300
  id: z.ZodString;
301
301
  label: z.ZodOptional<z.ZodString>;
302
302
  ref: z.ZodOptional<z.ZodAny>;
303
303
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
304
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
304
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
305
305
  id: z.ZodString;
306
306
  label: z.ZodOptional<z.ZodString>;
307
307
  ref: z.ZodOptional<z.ZodAny>;
308
308
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
309
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
309
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
310
310
  id: z.ZodString;
311
311
  label: z.ZodOptional<z.ZodString>;
312
312
  ref: z.ZodOptional<z.ZodAny>;
@@ -413,17 +413,17 @@ export declare const zNotificationMessageSchema: z.ZodObject<{
413
413
  dedup_group_key: z.ZodOptional<z.ZodString>;
414
414
  date_bucket: z.ZodOptional<z.ZodString>;
415
415
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
416
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
416
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
417
417
  id: z.ZodString;
418
418
  label: z.ZodOptional<z.ZodString>;
419
419
  ref: z.ZodOptional<z.ZodAny>;
420
420
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
421
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
421
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
422
422
  id: z.ZodString;
423
423
  label: z.ZodOptional<z.ZodString>;
424
424
  ref: z.ZodOptional<z.ZodAny>;
425
425
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
426
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
426
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
427
427
  id: z.ZodString;
428
428
  label: z.ZodOptional<z.ZodString>;
429
429
  ref: z.ZodOptional<z.ZodAny>;
@@ -683,17 +683,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
683
683
  dedup_group_key: z.ZodOptional<z.ZodString>;
684
684
  force_send: z.ZodOptional<z.ZodBoolean>;
685
685
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
686
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
686
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
687
687
  id: z.ZodString;
688
688
  label: z.ZodOptional<z.ZodString>;
689
689
  ref: z.ZodOptional<z.ZodAny>;
690
690
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
691
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
691
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
692
692
  id: z.ZodString;
693
693
  label: z.ZodOptional<z.ZodString>;
694
694
  ref: z.ZodOptional<z.ZodAny>;
695
695
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
696
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
696
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
697
697
  id: z.ZodString;
698
698
  label: z.ZodOptional<z.ZodString>;
699
699
  ref: z.ZodOptional<z.ZodAny>;
@@ -785,17 +785,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
785
785
  dedup_group_key: z.ZodOptional<z.ZodString>;
786
786
  force_send: z.ZodOptional<z.ZodBoolean>;
787
787
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
788
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
788
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
789
789
  id: z.ZodString;
790
790
  label: z.ZodOptional<z.ZodString>;
791
791
  ref: z.ZodOptional<z.ZodAny>;
792
792
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
793
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
793
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
794
794
  id: z.ZodString;
795
795
  label: z.ZodOptional<z.ZodString>;
796
796
  ref: z.ZodOptional<z.ZodAny>;
797
797
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
798
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
798
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
799
799
  id: z.ZodString;
800
800
  label: z.ZodOptional<z.ZodString>;
801
801
  ref: z.ZodOptional<z.ZodAny>;
@@ -887,17 +887,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
887
887
  dedup_group_key: z.ZodOptional<z.ZodString>;
888
888
  force_send: z.ZodOptional<z.ZodBoolean>;
889
889
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
890
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
890
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
891
891
  id: z.ZodString;
892
892
  label: z.ZodOptional<z.ZodString>;
893
893
  ref: z.ZodOptional<z.ZodAny>;
894
894
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
895
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
895
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
896
896
  id: z.ZodString;
897
897
  label: z.ZodOptional<z.ZodString>;
898
898
  ref: z.ZodOptional<z.ZodAny>;
899
899
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
900
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
900
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
901
901
  id: z.ZodString;
902
902
  label: z.ZodOptional<z.ZodString>;
903
903
  ref: z.ZodOptional<z.ZodAny>;
@@ -989,17 +989,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
989
989
  dedup_group_key: z.ZodOptional<z.ZodString>;
990
990
  force_send: z.ZodOptional<z.ZodBoolean>;
991
991
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
992
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
992
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
993
993
  id: z.ZodString;
994
994
  label: z.ZodOptional<z.ZodString>;
995
995
  ref: z.ZodOptional<z.ZodAny>;
996
996
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
997
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
997
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
998
998
  id: z.ZodString;
999
999
  label: z.ZodOptional<z.ZodString>;
1000
1000
  ref: z.ZodOptional<z.ZodAny>;
1001
1001
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1002
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1002
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1003
1003
  id: z.ZodString;
1004
1004
  label: z.ZodOptional<z.ZodString>;
1005
1005
  ref: z.ZodOptional<z.ZodAny>;
@@ -1091,17 +1091,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1091
1091
  dedup_group_key: z.ZodOptional<z.ZodString>;
1092
1092
  force_send: z.ZodOptional<z.ZodBoolean>;
1093
1093
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1094
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1094
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1095
1095
  id: z.ZodString;
1096
1096
  label: z.ZodOptional<z.ZodString>;
1097
1097
  ref: z.ZodOptional<z.ZodAny>;
1098
1098
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1099
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1099
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1100
1100
  id: z.ZodString;
1101
1101
  label: z.ZodOptional<z.ZodString>;
1102
1102
  ref: z.ZodOptional<z.ZodAny>;
1103
1103
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1104
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1104
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1105
1105
  id: z.ZodString;
1106
1106
  label: z.ZodOptional<z.ZodString>;
1107
1107
  ref: z.ZodOptional<z.ZodAny>;
@@ -1192,17 +1192,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1192
1192
  dedup_group_key: z.ZodOptional<z.ZodString>;
1193
1193
  force_send: z.ZodOptional<z.ZodBoolean>;
1194
1194
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1195
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1195
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1196
1196
  id: z.ZodString;
1197
1197
  label: z.ZodOptional<z.ZodString>;
1198
1198
  ref: z.ZodOptional<z.ZodAny>;
1199
1199
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1200
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1200
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1201
1201
  id: z.ZodString;
1202
1202
  label: z.ZodOptional<z.ZodString>;
1203
1203
  ref: z.ZodOptional<z.ZodAny>;
1204
1204
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1205
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1205
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1206
1206
  id: z.ZodString;
1207
1207
  label: z.ZodOptional<z.ZodString>;
1208
1208
  ref: z.ZodOptional<z.ZodAny>;
@@ -1292,17 +1292,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1292
1292
  dedup_group_key: z.ZodOptional<z.ZodString>;
1293
1293
  force_send: z.ZodOptional<z.ZodBoolean>;
1294
1294
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1295
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1295
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1296
1296
  id: z.ZodString;
1297
1297
  label: z.ZodOptional<z.ZodString>;
1298
1298
  ref: z.ZodOptional<z.ZodAny>;
1299
1299
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1300
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1300
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1301
1301
  id: z.ZodString;
1302
1302
  label: z.ZodOptional<z.ZodString>;
1303
1303
  ref: z.ZodOptional<z.ZodAny>;
1304
1304
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1305
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1305
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1306
1306
  id: z.ZodString;
1307
1307
  label: z.ZodOptional<z.ZodString>;
1308
1308
  ref: z.ZodOptional<z.ZodAny>;
@@ -1392,17 +1392,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1392
1392
  dedup_group_key: z.ZodOptional<z.ZodString>;
1393
1393
  force_send: z.ZodOptional<z.ZodBoolean>;
1394
1394
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1395
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1395
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1396
1396
  id: z.ZodString;
1397
1397
  label: z.ZodOptional<z.ZodString>;
1398
1398
  ref: z.ZodOptional<z.ZodAny>;
1399
1399
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1400
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1400
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1401
1401
  id: z.ZodString;
1402
1402
  label: z.ZodOptional<z.ZodString>;
1403
1403
  ref: z.ZodOptional<z.ZodAny>;
1404
1404
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1405
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1405
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1406
1406
  id: z.ZodString;
1407
1407
  label: z.ZodOptional<z.ZodString>;
1408
1408
  ref: z.ZodOptional<z.ZodAny>;
@@ -1492,17 +1492,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1492
1492
  dedup_group_key: z.ZodOptional<z.ZodString>;
1493
1493
  force_send: z.ZodOptional<z.ZodBoolean>;
1494
1494
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1495
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1495
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1496
1496
  id: z.ZodString;
1497
1497
  label: z.ZodOptional<z.ZodString>;
1498
1498
  ref: z.ZodOptional<z.ZodAny>;
1499
1499
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1500
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1500
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1501
1501
  id: z.ZodString;
1502
1502
  label: z.ZodOptional<z.ZodString>;
1503
1503
  ref: z.ZodOptional<z.ZodAny>;
1504
1504
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1505
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1505
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1506
1506
  id: z.ZodString;
1507
1507
  label: z.ZodOptional<z.ZodString>;
1508
1508
  ref: z.ZodOptional<z.ZodAny>;
@@ -1592,17 +1592,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1592
1592
  dedup_group_key: z.ZodOptional<z.ZodString>;
1593
1593
  force_send: z.ZodOptional<z.ZodBoolean>;
1594
1594
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1595
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1595
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1596
1596
  id: z.ZodString;
1597
1597
  label: z.ZodOptional<z.ZodString>;
1598
1598
  ref: z.ZodOptional<z.ZodAny>;
1599
1599
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1600
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1600
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1601
1601
  id: z.ZodString;
1602
1602
  label: z.ZodOptional<z.ZodString>;
1603
1603
  ref: z.ZodOptional<z.ZodAny>;
1604
1604
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1605
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1605
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1606
1606
  id: z.ZodString;
1607
1607
  label: z.ZodOptional<z.ZodString>;
1608
1608
  ref: z.ZodOptional<z.ZodAny>;
@@ -8,37 +8,37 @@ export declare const zTaskAutoHandlerSchema: z.ZodEnum<["notifications", "ai_age
8
8
  export declare const zTaskRetryStrategySchema: z.ZodEnum<["fixed", "exponential"]>;
9
9
  export declare const zTaskDedupScopeSchema: z.ZodEnum<["per_recipient", "per_recipient_and_object", "custom"]>;
10
10
  export declare const zTaskDedupWindowSchema: z.ZodEnum<["same_day", "n_hours", "custom"]>;
11
- export declare const zExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
12
- export declare const zTaskExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
11
+ export declare const zExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
12
+ export declare const zTaskExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
13
13
  export declare const zTaskExecutionStatusSchema: z.ZodEnum<["success", "error", "retry"]>;
14
14
  export declare const zExternalLinkSchema: z.ZodObject<{
15
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
15
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
16
16
  id: z.ZodString;
17
17
  label: z.ZodOptional<z.ZodString>;
18
18
  ref: z.ZodOptional<z.ZodAny>;
19
19
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
20
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
21
21
  id: z.ZodString;
22
22
  label: z.ZodOptional<z.ZodString>;
23
23
  ref: z.ZodOptional<z.ZodAny>;
24
24
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
25
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
25
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
26
26
  id: z.ZodString;
27
27
  label: z.ZodOptional<z.ZodString>;
28
28
  ref: z.ZodOptional<z.ZodAny>;
29
29
  }, z.ZodTypeAny, "passthrough">>;
30
30
  export declare const zTaskExternalLinkSchema: z.ZodObject<{
31
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
31
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
32
32
  id: z.ZodString;
33
33
  label: z.ZodOptional<z.ZodString>;
34
34
  ref: z.ZodOptional<z.ZodAny>;
35
35
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
36
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
36
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
37
37
  id: z.ZodString;
38
38
  label: z.ZodOptional<z.ZodString>;
39
39
  ref: z.ZodOptional<z.ZodAny>;
40
40
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
41
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
41
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
42
42
  id: z.ZodString;
43
43
  label: z.ZodOptional<z.ZodString>;
44
44
  ref: z.ZodOptional<z.ZodAny>;
@@ -485,17 +485,17 @@ export declare const zTaskSchema: z.ZodObject<{
485
485
  category?: string | null | undefined;
486
486
  }>, "many">>>;
487
487
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
488
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
488
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
489
489
  id: z.ZodString;
490
490
  label: z.ZodOptional<z.ZodString>;
491
491
  ref: z.ZodOptional<z.ZodAny>;
492
492
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
493
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
493
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
494
494
  id: z.ZodString;
495
495
  label: z.ZodOptional<z.ZodString>;
496
496
  ref: z.ZodOptional<z.ZodAny>;
497
497
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
498
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
498
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
499
499
  id: z.ZodString;
500
500
  label: z.ZodOptional<z.ZodString>;
501
501
  ref: z.ZodOptional<z.ZodAny>;
@@ -923,17 +923,17 @@ export declare const zTaskSchema: z.ZodObject<{
923
923
  category?: string | null | undefined;
924
924
  }>, "many">>>;
925
925
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
926
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
926
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
927
927
  id: z.ZodString;
928
928
  label: z.ZodOptional<z.ZodString>;
929
929
  ref: z.ZodOptional<z.ZodAny>;
930
930
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
931
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
931
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
932
932
  id: z.ZodString;
933
933
  label: z.ZodOptional<z.ZodString>;
934
934
  ref: z.ZodOptional<z.ZodAny>;
935
935
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
936
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
936
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
937
937
  id: z.ZodString;
938
938
  label: z.ZodOptional<z.ZodString>;
939
939
  ref: z.ZodOptional<z.ZodAny>;
@@ -1361,17 +1361,17 @@ export declare const zTaskSchema: z.ZodObject<{
1361
1361
  category?: string | null | undefined;
1362
1362
  }>, "many">>>;
1363
1363
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1364
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1364
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1365
1365
  id: z.ZodString;
1366
1366
  label: z.ZodOptional<z.ZodString>;
1367
1367
  ref: z.ZodOptional<z.ZodAny>;
1368
1368
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1369
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1369
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1370
1370
  id: z.ZodString;
1371
1371
  label: z.ZodOptional<z.ZodString>;
1372
1372
  ref: z.ZodOptional<z.ZodAny>;
1373
1373
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1374
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
1374
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1375
1375
  id: z.ZodString;
1376
1376
  label: z.ZodOptional<z.ZodString>;
1377
1377
  ref: z.ZodOptional<z.ZodAny>;
@@ -71,6 +71,14 @@ exports.zExternalObjectTypeSchema = zod_1.z.enum([
71
71
  // (mordeu o primeiro disparo real da 5LCCZX — o TS enum ganhou 'campaign' no
72
72
  // bump da F3 mas este zod tem lista propria).
73
73
  "campaign",
74
+ // Nexus FinOps. Estavam aqui desde a promocao do schema para shared e foram
75
+ // REMOVIDOS por engano no 5fb26e2 (o hotfix da F3 substituiu estas 3 linhas em
76
+ // vez de acrescentar 'evo_task'/'campaign'). Resultado: todo notification.send
77
+ // do Nexus passou a tomar 400 invalid-argument, porque os dialogs de cobranca
78
+ // mandam sempre um link nex_billing.
79
+ "nex_billing",
80
+ "nex_contract",
81
+ "nex_customer",
74
82
  ]);
75
83
  // Backward compatibility alias
76
84
  exports.zTaskExternalObjectTypeSchema = exports.zExternalObjectTypeSchema;
@@ -78,6 +78,14 @@ export const zExternalObjectTypeSchema = z.enum([
78
78
  // (mordeu o primeiro disparo real da 5LCCZX — o TS enum ganhou 'campaign' no
79
79
  // bump da F3 mas este zod tem lista propria).
80
80
  "campaign",
81
+ // Nexus FinOps. Estavam aqui desde a promocao do schema para shared e foram
82
+ // REMOVIDOS por engano no 5fb26e2 (o hotfix da F3 substituiu estas 3 linhas em
83
+ // vez de acrescentar 'evo_task'/'campaign'). Resultado: todo notification.send
84
+ // do Nexus passou a tomar 400 invalid-argument, porque os dialogs de cobranca
85
+ // mandam sempre um link nex_billing.
86
+ "nex_billing",
87
+ "nex_contract",
88
+ "nex_customer",
81
89
  ]);
82
90
 
83
91
  // Backward compatibility alias
@@ -3,3 +3,17 @@ export declare const EVO_INTEGRATIONS_PLATFORM_DOC = "evo-integrations";
3
3
  export declare const ADAPTERS_COLLECTION = "adapters";
4
4
  export declare const INTEGRATION_CREDENTIALS_COLLECTION = "integration-credentials";
5
5
  export declare const SYNC_STATES_COLLECTION = "sync-states";
6
+ /**
7
+ * Per-WEEK sync state, subcollection of the calendar's sync state (feat-098).
8
+ * Path: /tenants/{t}/apps/evo-med/sync-states/{calendar_id}/sync-weeks/{sunday}
9
+ *
10
+ * O nome precisa ser ESPECÍFICO, não descritivo. A TTL policy do Firestore que
11
+ * apaga estes docs é configurada por COLLECTION GROUP — ou seja, ela alcança
12
+ * toda coleção com este id, em qualquer profundidade do banco. Um nome genérico
13
+ * como `weeks` faria qualquer subcoleção homônima criada no futuro, com um campo
14
+ * `expires_at`, ter os documentos apagados em silêncio.
15
+ *
16
+ * Por isso mora aqui e não como string solta: o backend, as security rules e o
17
+ * FE têm que concordar, e a policy de TTL é amarrada exatamente a este valor.
18
+ */
19
+ export declare const SYNC_WEEKS_COLLECTION = "sync-weeks";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SYNC_STATES_COLLECTION = exports.INTEGRATION_CREDENTIALS_COLLECTION = exports.ADAPTERS_COLLECTION = exports.EVO_INTEGRATIONS_PLATFORM_DOC = exports.PLATFORM_COLLECTION = void 0;
3
+ exports.SYNC_WEEKS_COLLECTION = exports.SYNC_STATES_COLLECTION = exports.INTEGRATION_CREDENTIALS_COLLECTION = exports.ADAPTERS_COLLECTION = exports.EVO_INTEGRATIONS_PLATFORM_DOC = exports.PLATFORM_COLLECTION = void 0;
4
4
  // Platform-level (Nexus-managed, cross-tenant) adapter catalog
5
5
  // Path: /platform/evo-integrations/adapters/{adapter_id}
6
6
  exports.PLATFORM_COLLECTION = "platform";
@@ -12,3 +12,17 @@ exports.INTEGRATION_CREDENTIALS_COLLECTION = "integration-credentials";
12
12
  // Per-calendar sync state (1 doc per calendar).
13
13
  // Path: /tenants/{t}/apps/evo-med/sync-states/{calendar_id}
14
14
  exports.SYNC_STATES_COLLECTION = "sync-states";
15
+ /**
16
+ * Per-WEEK sync state, subcollection of the calendar's sync state (feat-098).
17
+ * Path: /tenants/{t}/apps/evo-med/sync-states/{calendar_id}/sync-weeks/{sunday}
18
+ *
19
+ * O nome precisa ser ESPECÍFICO, não descritivo. A TTL policy do Firestore que
20
+ * apaga estes docs é configurada por COLLECTION GROUP — ou seja, ela alcança
21
+ * toda coleção com este id, em qualquer profundidade do banco. Um nome genérico
22
+ * como `weeks` faria qualquer subcoleção homônima criada no futuro, com um campo
23
+ * `expires_at`, ter os documentos apagados em silêncio.
24
+ *
25
+ * Por isso mora aqui e não como string solta: o backend, as security rules e o
26
+ * FE têm que concordar, e a policy de TTL é amarrada exatamente a este valor.
27
+ */
28
+ exports.SYNC_WEEKS_COLLECTION = "sync-weeks";
@@ -11,3 +11,18 @@ export const INTEGRATION_CREDENTIALS_COLLECTION = "integration-credentials";
11
11
  // Per-calendar sync state (1 doc per calendar).
12
12
  // Path: /tenants/{t}/apps/evo-med/sync-states/{calendar_id}
13
13
  export const SYNC_STATES_COLLECTION = "sync-states";
14
+
15
+ /**
16
+ * Per-WEEK sync state, subcollection of the calendar's sync state (feat-098).
17
+ * Path: /tenants/{t}/apps/evo-med/sync-states/{calendar_id}/sync-weeks/{sunday}
18
+ *
19
+ * O nome precisa ser ESPECÍFICO, não descritivo. A TTL policy do Firestore que
20
+ * apaga estes docs é configurada por COLLECTION GROUP — ou seja, ela alcança
21
+ * toda coleção com este id, em qualquer profundidade do banco. Um nome genérico
22
+ * como `weeks` faria qualquer subcoleção homônima criada no futuro, com um campo
23
+ * `expires_at`, ter os documentos apagados em silêncio.
24
+ *
25
+ * Por isso mora aqui e não como string solta: o backend, as security rules e o
26
+ * FE têm que concordar, e a policy de TTL é amarrada exatamente a este valor.
27
+ */
28
+ export const SYNC_WEEKS_COLLECTION = "sync-weeks";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.454",
3
+ "version": "1.3.458",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",