evo360-types 1.3.304 → 1.3.309

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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.zProviderInvoiceLinksSchema = exports.zServiceTaxInfoSchema = exports.zServiceLineItemSchema = exports.zServiceInvoiceStateSchema = exports.zProviderServiceInvoiceStatusSchema = exports.zExternalLinkSchema = exports.zExternalObjectTypeSchema = exports.zInvoiceSourceRefSchema = exports.zInvoiceSourceTypeSchema = exports.zInvoiceTakerRefSchema = exports.zInvoiceTakerSnapshotSchema = exports.zInvoiceTakerSnapshotAddressSchema = exports.zTakerDocumentSchema = exports.zTakerTaxProfileSchema = exports.zTakerProviderRefsSchema = exports.zTakerAddressSchema = exports.zInvoiceTakerTypeSchema = exports.zServiceSchema = exports.zCustomerServiceTaxInfoSchema = exports.zIssuerTaxProfileSchema = exports.zIssuerNfseConfigSchema = exports.zIssuerMunicipalCredentialsRefSchema = exports.zIssuerTaxRegimeSchema = exports.zIssuerCompanyIdentitySchema = exports.zIssuerCompanyAddressSchema = exports.zTaxProfileSyncStateSchema = exports.zAsaasProviderSchema = exports.zAsaasProviderAsaasBlockSchema = exports.zAsaasProviderCapabilitiesSchema = exports.zAsaasPaymentsCapabilitiesSchema = exports.zAsaasNfseCapabilitiesSchema = exports.zAsaasEnvAuthConfigSchema = exports.zAsaasSubaccountInputSchema = exports.zAsaasAccountScopeSchema = exports.zAsaasWebhookConfigSchema = exports.zRetryPolicySchema = exports.zAsaasWebhookEventSchema = exports.zAsaasAccountScopeModeSchema = exports.zProviderRemoteRefsSchema = exports.zProviderFiscalInfoPayloadSchema = exports.zProviderCredentialsInputSchema = exports.zProviderCredentialsSecretRefsSchema = exports.zProviderMunicipalOptionsSnapshotSchema = exports.zProviderOptionItemSchema = exports.zProviderMunicipalAuthTypeSchema = exports.zFinopsProviderBaseSchema = exports.zProviderStatusSchema = exports.zFinopsActionSchema = exports.zFinopsProviderTypeSchema = exports.zProviderEnvSchema = void 0;
4
- exports.zServiceInvoiceSchema = exports.zProviderPayloadSnapshotSchema = exports.zProviderTraceSchema = exports.zProviderInvoiceErrorSchema = exports.zProviderInvoiceIdentifiersSchema = void 0;
4
+ exports.zServiceInvoiceSchema = exports.zPaymentLinkSchema = exports.zPaymentLinkDocumentStateSchema = exports.zAsaasPaymentLinkSubscriptionCycleSchema = exports.zAsaasPaymentLinkChargeTypeSchema = exports.zAsaasPaymentLinkBillingTypeSchema = exports.zProviderPayloadSnapshotSchema = exports.zProviderTraceSchema = exports.zProviderInvoiceErrorSchema = exports.zProviderInvoiceIdentifiersSchema = void 0;
5
5
  const zod_1 = require("zod");
6
6
  const zod_schemas_1 = require("../shared/zod-schemas");
7
7
  // ---- Provider enums and base ----
@@ -548,6 +548,73 @@ exports.zProviderPayloadSnapshotSchema = zod_1.z.object({
548
548
  body: zod_1.z.unknown().optional(),
549
549
  raw: zod_1.z.string().optional(),
550
550
  });
551
+ exports.zAsaasPaymentLinkBillingTypeSchema = zod_1.z.enum([
552
+ "UNDEFINED",
553
+ "BOLETO",
554
+ "CREDIT_CARD",
555
+ "PIX",
556
+ ]);
557
+ exports.zAsaasPaymentLinkChargeTypeSchema = zod_1.z.enum([
558
+ "DETACHED",
559
+ "RECURRENT",
560
+ "INSTALLMENT",
561
+ ]);
562
+ exports.zAsaasPaymentLinkSubscriptionCycleSchema = zod_1.z.enum([
563
+ "WEEKLY",
564
+ "BIWEEKLY",
565
+ "MONTHLY",
566
+ "BIMONTHLY",
567
+ "QUARTERLY",
568
+ "SEMIANNUALLY",
569
+ "YEARLY",
570
+ ]);
571
+ exports.zPaymentLinkDocumentStateSchema = zod_1.z.enum([
572
+ "DRAFT",
573
+ "ACTIVE",
574
+ "INACTIVE",
575
+ "DELETED",
576
+ ]);
577
+ exports.zPaymentLinkSchema = zod_schemas_1.zFireDocSchema
578
+ .extend({
579
+ providerId: zod_1.z.string(),
580
+ provider_name: zod_1.z.string().optional(),
581
+ provider_env: exports.zProviderEnvSchema.optional(),
582
+ provider_payment_link_id: zod_1.z.string().optional(),
583
+ asaas_customer_id: zod_1.z.string().optional(),
584
+ taker: exports.zInvoiceTakerRefSchema.optional(),
585
+ state: exports.zPaymentLinkDocumentStateSchema.optional(),
586
+ name: zod_1.z.string().optional(),
587
+ description: zod_1.z.string().optional(),
588
+ endDate: zod_1.z.string().optional(),
589
+ value: zod_1.z.number().optional(),
590
+ active: zod_1.z.boolean().optional(),
591
+ billing_type: exports.zAsaasPaymentLinkBillingTypeSchema.optional(),
592
+ charge_type: exports.zAsaasPaymentLinkChargeTypeSchema.optional(),
593
+ due_date_limit_days: zod_1.z.number().optional(),
594
+ subscription_cycle: exports.zAsaasPaymentLinkSubscriptionCycleSchema.optional(),
595
+ max_installment_count: zod_1.z.number().optional(),
596
+ external_reference: zod_1.z.string().optional(),
597
+ notification_enabled: zod_1.z.boolean().optional(),
598
+ checkout_url: zod_1.z.string().optional(),
599
+ callback: zod_1.z.record(zod_1.z.unknown()).optional(),
600
+ is_address_required: zod_1.z.boolean().optional(),
601
+ last_payment_webhook_event: zod_1.z.string().optional(),
602
+ last_payment_id: zod_1.z.string().optional(),
603
+ last_payment_status: zod_1.z.string().optional(),
604
+ last_payment_confirmed_at: zod_schemas_1.zFirestoreDateSchema.optional(),
605
+ last_payment_received_at: zod_schemas_1.zFirestoreDateSchema.optional(),
606
+ externalLinks: zod_1.z.array(zod_schemas_2.zExternalLinkSchema).optional(),
607
+ externalLinkKeys: zod_1.z.array(zod_1.z.string()).optional(),
608
+ raw: zod_1.z.record(zod_1.z.unknown()).optional(),
609
+ snapshots: zod_1.z
610
+ .array(zod_1.z.object({
611
+ direction: zod_1.z.enum(["request", "response", "webhook"]),
612
+ at: zod_schemas_1.zFirestoreDateSchema,
613
+ body: zod_1.z.unknown().optional(),
614
+ }))
615
+ .optional(),
616
+ })
617
+ .passthrough();
551
618
  exports.zServiceInvoiceSchema = zod_schemas_1.zFireDocSchema
552
619
  .extend({
553
620
  providerId: zod_1.z.string(),
@@ -599,6 +599,80 @@ export const zProviderPayloadSnapshotSchema = z.object({
599
599
  raw: z.string().optional(),
600
600
  });
601
601
 
602
+ export const zAsaasPaymentLinkBillingTypeSchema = z.enum([
603
+ "UNDEFINED",
604
+ "BOLETO",
605
+ "CREDIT_CARD",
606
+ "PIX",
607
+ ]);
608
+
609
+ export const zAsaasPaymentLinkChargeTypeSchema = z.enum([
610
+ "DETACHED",
611
+ "RECURRENT",
612
+ "INSTALLMENT",
613
+ ]);
614
+
615
+ export const zAsaasPaymentLinkSubscriptionCycleSchema = z.enum([
616
+ "WEEKLY",
617
+ "BIWEEKLY",
618
+ "MONTHLY",
619
+ "BIMONTHLY",
620
+ "QUARTERLY",
621
+ "SEMIANNUALLY",
622
+ "YEARLY",
623
+ ]);
624
+
625
+ export const zPaymentLinkDocumentStateSchema = z.enum([
626
+ "DRAFT",
627
+ "ACTIVE",
628
+ "INACTIVE",
629
+ "DELETED",
630
+ ]);
631
+
632
+ export const zPaymentLinkSchema = zFireDocSchema
633
+ .extend({
634
+ providerId: z.string(),
635
+ provider_name: z.string().optional(),
636
+ provider_env: zProviderEnvSchema.optional(),
637
+ provider_payment_link_id: z.string().optional(),
638
+ asaas_customer_id: z.string().optional(),
639
+ taker: zInvoiceTakerRefSchema.optional(),
640
+ state: zPaymentLinkDocumentStateSchema.optional(),
641
+ name: z.string().optional(),
642
+ description: z.string().optional(),
643
+ endDate: z.string().optional(),
644
+ value: z.number().optional(),
645
+ active: z.boolean().optional(),
646
+ billing_type: zAsaasPaymentLinkBillingTypeSchema.optional(),
647
+ charge_type: zAsaasPaymentLinkChargeTypeSchema.optional(),
648
+ due_date_limit_days: z.number().optional(),
649
+ subscription_cycle: zAsaasPaymentLinkSubscriptionCycleSchema.optional(),
650
+ max_installment_count: z.number().optional(),
651
+ external_reference: z.string().optional(),
652
+ notification_enabled: z.boolean().optional(),
653
+ checkout_url: z.string().optional(),
654
+ callback: z.record(z.unknown()).optional(),
655
+ is_address_required: z.boolean().optional(),
656
+ last_payment_webhook_event: z.string().optional(),
657
+ last_payment_id: z.string().optional(),
658
+ last_payment_status: z.string().optional(),
659
+ last_payment_confirmed_at: zFirestoreDateSchema.optional(),
660
+ last_payment_received_at: zFirestoreDateSchema.optional(),
661
+ externalLinks: z.array(zExternalLinkSchema).optional(),
662
+ externalLinkKeys: z.array(z.string()).optional(),
663
+ raw: z.record(z.unknown()).optional(),
664
+ snapshots: z
665
+ .array(
666
+ z.object({
667
+ direction: z.enum(["request", "response", "webhook"]),
668
+ at: zFirestoreDateSchema,
669
+ body: z.unknown().optional(),
670
+ }),
671
+ )
672
+ .optional(),
673
+ })
674
+ .passthrough();
675
+
602
676
  export const zServiceInvoiceSchema = zFireDocSchema
603
677
  .extend({
604
678
  providerId: z.string(),
@@ -178,17 +178,17 @@ export declare const zNotificationMessageSchema: z.ZodObject<{
178
178
  dedup_group_key: z.ZodOptional<z.ZodString>;
179
179
  date_bucket: z.ZodOptional<z.ZodString>;
180
180
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
181
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
181
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
182
182
  id: z.ZodString;
183
183
  label: z.ZodOptional<z.ZodString>;
184
184
  ref: z.ZodOptional<z.ZodAny>;
185
185
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
186
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
186
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
187
187
  id: z.ZodString;
188
188
  label: z.ZodOptional<z.ZodString>;
189
189
  ref: z.ZodOptional<z.ZodAny>;
190
190
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
191
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
191
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
192
192
  id: z.ZodString;
193
193
  label: z.ZodOptional<z.ZodString>;
194
194
  ref: z.ZodOptional<z.ZodAny>;
@@ -294,17 +294,17 @@ export declare const zNotificationMessageSchema: z.ZodObject<{
294
294
  dedup_group_key: z.ZodOptional<z.ZodString>;
295
295
  date_bucket: z.ZodOptional<z.ZodString>;
296
296
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
297
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
297
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
298
298
  id: z.ZodString;
299
299
  label: z.ZodOptional<z.ZodString>;
300
300
  ref: z.ZodOptional<z.ZodAny>;
301
301
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
302
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
302
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
303
303
  id: z.ZodString;
304
304
  label: z.ZodOptional<z.ZodString>;
305
305
  ref: z.ZodOptional<z.ZodAny>;
306
306
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
307
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
307
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
308
308
  id: z.ZodString;
309
309
  label: z.ZodOptional<z.ZodString>;
310
310
  ref: z.ZodOptional<z.ZodAny>;
@@ -410,17 +410,17 @@ export declare const zNotificationMessageSchema: z.ZodObject<{
410
410
  dedup_group_key: z.ZodOptional<z.ZodString>;
411
411
  date_bucket: z.ZodOptional<z.ZodString>;
412
412
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
413
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
413
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
414
414
  id: z.ZodString;
415
415
  label: z.ZodOptional<z.ZodString>;
416
416
  ref: z.ZodOptional<z.ZodAny>;
417
417
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
418
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
418
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
419
419
  id: z.ZodString;
420
420
  label: z.ZodOptional<z.ZodString>;
421
421
  ref: z.ZodOptional<z.ZodAny>;
422
422
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
423
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
423
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
424
424
  id: z.ZodString;
425
425
  label: z.ZodOptional<z.ZodString>;
426
426
  ref: z.ZodOptional<z.ZodAny>;
@@ -679,17 +679,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
679
679
  dedup_key: z.ZodOptional<z.ZodString>;
680
680
  dedup_group_key: z.ZodOptional<z.ZodString>;
681
681
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
682
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
682
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
683
683
  id: z.ZodString;
684
684
  label: z.ZodOptional<z.ZodString>;
685
685
  ref: z.ZodOptional<z.ZodAny>;
686
686
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
687
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
687
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
688
688
  id: z.ZodString;
689
689
  label: z.ZodOptional<z.ZodString>;
690
690
  ref: z.ZodOptional<z.ZodAny>;
691
691
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
692
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
692
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
693
693
  id: z.ZodString;
694
694
  label: z.ZodOptional<z.ZodString>;
695
695
  ref: z.ZodOptional<z.ZodAny>;
@@ -761,17 +761,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
761
761
  dedup_key: z.ZodOptional<z.ZodString>;
762
762
  dedup_group_key: z.ZodOptional<z.ZodString>;
763
763
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
764
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
764
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
765
765
  id: z.ZodString;
766
766
  label: z.ZodOptional<z.ZodString>;
767
767
  ref: z.ZodOptional<z.ZodAny>;
768
768
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
769
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
769
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
770
770
  id: z.ZodString;
771
771
  label: z.ZodOptional<z.ZodString>;
772
772
  ref: z.ZodOptional<z.ZodAny>;
773
773
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
774
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
774
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
775
775
  id: z.ZodString;
776
776
  label: z.ZodOptional<z.ZodString>;
777
777
  ref: z.ZodOptional<z.ZodAny>;
@@ -843,17 +843,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
843
843
  dedup_key: z.ZodOptional<z.ZodString>;
844
844
  dedup_group_key: z.ZodOptional<z.ZodString>;
845
845
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
846
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
846
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
847
847
  id: z.ZodString;
848
848
  label: z.ZodOptional<z.ZodString>;
849
849
  ref: z.ZodOptional<z.ZodAny>;
850
850
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
851
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
851
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
852
852
  id: z.ZodString;
853
853
  label: z.ZodOptional<z.ZodString>;
854
854
  ref: z.ZodOptional<z.ZodAny>;
855
855
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
856
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
856
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
857
857
  id: z.ZodString;
858
858
  label: z.ZodOptional<z.ZodString>;
859
859
  ref: z.ZodOptional<z.ZodAny>;
@@ -925,17 +925,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
925
925
  dedup_key: z.ZodOptional<z.ZodString>;
926
926
  dedup_group_key: z.ZodOptional<z.ZodString>;
927
927
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
928
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
928
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
929
929
  id: z.ZodString;
930
930
  label: z.ZodOptional<z.ZodString>;
931
931
  ref: z.ZodOptional<z.ZodAny>;
932
932
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
933
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
933
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
934
934
  id: z.ZodString;
935
935
  label: z.ZodOptional<z.ZodString>;
936
936
  ref: z.ZodOptional<z.ZodAny>;
937
937
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
938
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
938
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
939
939
  id: z.ZodString;
940
940
  label: z.ZodOptional<z.ZodString>;
941
941
  ref: z.ZodOptional<z.ZodAny>;
@@ -1007,17 +1007,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1007
1007
  dedup_key: z.ZodOptional<z.ZodString>;
1008
1008
  dedup_group_key: z.ZodOptional<z.ZodString>;
1009
1009
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1010
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1010
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1011
1011
  id: z.ZodString;
1012
1012
  label: z.ZodOptional<z.ZodString>;
1013
1013
  ref: z.ZodOptional<z.ZodAny>;
1014
1014
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1015
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1015
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1016
1016
  id: z.ZodString;
1017
1017
  label: z.ZodOptional<z.ZodString>;
1018
1018
  ref: z.ZodOptional<z.ZodAny>;
1019
1019
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1020
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1020
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1021
1021
  id: z.ZodString;
1022
1022
  label: z.ZodOptional<z.ZodString>;
1023
1023
  ref: z.ZodOptional<z.ZodAny>;
@@ -1088,17 +1088,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1088
1088
  dedup_key: z.ZodOptional<z.ZodString>;
1089
1089
  dedup_group_key: z.ZodOptional<z.ZodString>;
1090
1090
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1091
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1091
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1092
1092
  id: z.ZodString;
1093
1093
  label: z.ZodOptional<z.ZodString>;
1094
1094
  ref: z.ZodOptional<z.ZodAny>;
1095
1095
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1096
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1096
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1097
1097
  id: z.ZodString;
1098
1098
  label: z.ZodOptional<z.ZodString>;
1099
1099
  ref: z.ZodOptional<z.ZodAny>;
1100
1100
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1101
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1101
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1102
1102
  id: z.ZodString;
1103
1103
  label: z.ZodOptional<z.ZodString>;
1104
1104
  ref: z.ZodOptional<z.ZodAny>;
@@ -1168,17 +1168,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1168
1168
  dedup_key: z.ZodOptional<z.ZodString>;
1169
1169
  dedup_group_key: z.ZodOptional<z.ZodString>;
1170
1170
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1171
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1171
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1172
1172
  id: z.ZodString;
1173
1173
  label: z.ZodOptional<z.ZodString>;
1174
1174
  ref: z.ZodOptional<z.ZodAny>;
1175
1175
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1176
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1176
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1177
1177
  id: z.ZodString;
1178
1178
  label: z.ZodOptional<z.ZodString>;
1179
1179
  ref: z.ZodOptional<z.ZodAny>;
1180
1180
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1181
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1181
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1182
1182
  id: z.ZodString;
1183
1183
  label: z.ZodOptional<z.ZodString>;
1184
1184
  ref: z.ZodOptional<z.ZodAny>;
@@ -1248,17 +1248,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1248
1248
  dedup_key: z.ZodOptional<z.ZodString>;
1249
1249
  dedup_group_key: z.ZodOptional<z.ZodString>;
1250
1250
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1251
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1251
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1252
1252
  id: z.ZodString;
1253
1253
  label: z.ZodOptional<z.ZodString>;
1254
1254
  ref: z.ZodOptional<z.ZodAny>;
1255
1255
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1256
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1256
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1257
1257
  id: z.ZodString;
1258
1258
  label: z.ZodOptional<z.ZodString>;
1259
1259
  ref: z.ZodOptional<z.ZodAny>;
1260
1260
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1261
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1261
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1262
1262
  id: z.ZodString;
1263
1263
  label: z.ZodOptional<z.ZodString>;
1264
1264
  ref: z.ZodOptional<z.ZodAny>;
@@ -1328,17 +1328,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1328
1328
  dedup_key: z.ZodOptional<z.ZodString>;
1329
1329
  dedup_group_key: z.ZodOptional<z.ZodString>;
1330
1330
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1331
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1331
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1332
1332
  id: z.ZodString;
1333
1333
  label: z.ZodOptional<z.ZodString>;
1334
1334
  ref: z.ZodOptional<z.ZodAny>;
1335
1335
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1336
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1336
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1337
1337
  id: z.ZodString;
1338
1338
  label: z.ZodOptional<z.ZodString>;
1339
1339
  ref: z.ZodOptional<z.ZodAny>;
1340
1340
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1341
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1341
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "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>;
@@ -1408,17 +1408,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1408
1408
  dedup_key: z.ZodOptional<z.ZodString>;
1409
1409
  dedup_group_key: z.ZodOptional<z.ZodString>;
1410
1410
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1411
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1411
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1412
1412
  id: z.ZodString;
1413
1413
  label: z.ZodOptional<z.ZodString>;
1414
1414
  ref: z.ZodOptional<z.ZodAny>;
1415
1415
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1416
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1416
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1417
1417
  id: z.ZodString;
1418
1418
  label: z.ZodOptional<z.ZodString>;
1419
1419
  ref: z.ZodOptional<z.ZodAny>;
1420
1420
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1421
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1421
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1422
1422
  id: z.ZodString;
1423
1423
  label: z.ZodOptional<z.ZodString>;
1424
1424
  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"]>;
12
- export declare const zTaskExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
11
+ export declare const zExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
12
+ export declare const zTaskExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "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"]>;
15
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "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"]>;
20
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "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"]>;
25
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "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"]>;
31
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "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"]>;
36
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "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"]>;
41
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "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>;
@@ -469,17 +469,17 @@ export declare const zTaskSchema: z.ZodObject<{
469
469
  category?: string | null | undefined;
470
470
  }>, "many">>>;
471
471
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
472
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
472
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
473
473
  id: z.ZodString;
474
474
  label: z.ZodOptional<z.ZodString>;
475
475
  ref: z.ZodOptional<z.ZodAny>;
476
476
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
477
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
477
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
478
478
  id: z.ZodString;
479
479
  label: z.ZodOptional<z.ZodString>;
480
480
  ref: z.ZodOptional<z.ZodAny>;
481
481
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
482
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
482
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
483
483
  id: z.ZodString;
484
484
  label: z.ZodOptional<z.ZodString>;
485
485
  ref: z.ZodOptional<z.ZodAny>;
@@ -891,17 +891,17 @@ export declare const zTaskSchema: z.ZodObject<{
891
891
  category?: string | null | undefined;
892
892
  }>, "many">>>;
893
893
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
894
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
894
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
895
895
  id: z.ZodString;
896
896
  label: z.ZodOptional<z.ZodString>;
897
897
  ref: z.ZodOptional<z.ZodAny>;
898
898
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
899
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
899
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
900
900
  id: z.ZodString;
901
901
  label: z.ZodOptional<z.ZodString>;
902
902
  ref: z.ZodOptional<z.ZodAny>;
903
903
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
904
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
904
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
905
905
  id: z.ZodString;
906
906
  label: z.ZodOptional<z.ZodString>;
907
907
  ref: z.ZodOptional<z.ZodAny>;
@@ -1313,17 +1313,17 @@ export declare const zTaskSchema: z.ZodObject<{
1313
1313
  category?: string | null | undefined;
1314
1314
  }>, "many">>>;
1315
1315
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1316
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1316
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1317
1317
  id: z.ZodString;
1318
1318
  label: z.ZodOptional<z.ZodString>;
1319
1319
  ref: z.ZodOptional<z.ZodAny>;
1320
1320
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1321
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1321
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1322
1322
  id: z.ZodString;
1323
1323
  label: z.ZodOptional<z.ZodString>;
1324
1324
  ref: z.ZodOptional<z.ZodAny>;
1325
1325
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1326
- type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
1326
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1327
1327
  id: z.ZodString;
1328
1328
  label: z.ZodOptional<z.ZodString>;
1329
1329
  ref: z.ZodOptional<z.ZodAny>;
@@ -41,6 +41,9 @@ exports.zExternalObjectTypeSchema = zod_1.z.enum([
41
41
  "med_professional",
42
42
  "med_appointment",
43
43
  "chat_contact",
44
+ "nex_billing",
45
+ "nex_contract",
46
+ "nex_customer",
44
47
  ]);
45
48
  // Backward compatibility alias
46
49
  exports.zTaskExternalObjectTypeSchema = exports.zExternalObjectTypeSchema;
@@ -48,6 +48,9 @@ export const zExternalObjectTypeSchema = z.enum([
48
48
  "med_professional",
49
49
  "med_appointment",
50
50
  "chat_contact",
51
+ "nex_billing",
52
+ "nex_contract",
53
+ "nex_customer",
51
54
  ]);
52
55
 
53
56
  // Backward compatibility alias
@@ -8,3 +8,4 @@ export * from "./providers/provider_fiscal_types";
8
8
  export * from "./providers/asaas/asaas_provider";
9
9
  export * from "./dic";
10
10
  export * from "./invoices";
11
+ export * from "./payment-links";
@@ -25,3 +25,4 @@ __exportStar(require("./providers/provider_fiscal_types"), exports);
25
25
  __exportStar(require("./providers/asaas/asaas_provider"), exports);
26
26
  __exportStar(require("./dic"), exports);
27
27
  __exportStar(require("./invoices"), exports);
28
+ __exportStar(require("./payment-links"), exports);
@@ -10,3 +10,4 @@ export * from "./providers/provider_fiscal_types";
10
10
  export * from "./providers/asaas/asaas_provider";
11
11
  export * from "./dic";
12
12
  export * from "./invoices";
13
+ export * from "./payment-links";