@77sol-lab/form-schemas 1.6.1 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{chunk-BJZ4B43H.mjs → chunk-22SYVROO.mjs} +2 -2
- package/{chunk-57OTHRRU.mjs → chunk-2BHUMNK5.mjs} +3 -3
- package/{chunk-7OBG2GEG.mjs → chunk-4PZYGTUU.mjs} +4 -4
- package/{chunk-L4XSQTZM.mjs → chunk-5EHEC3RT.mjs} +3 -3
- package/{chunk-PZ6JDNAK.mjs → chunk-5P6NWFTX.mjs} +3 -3
- package/{chunk-XKMD2F5C.mjs → chunk-65EE5FW3.mjs} +3 -3
- package/{chunk-YS6GLH4U.mjs → chunk-6ZUOXZY3.mjs} +2 -2
- package/{chunk-5F3IUHOW.mjs → chunk-AM7HTUI3.mjs} +2 -2
- package/{chunk-K6JM7OJP.mjs → chunk-BYAXV4TG.mjs} +3 -3
- package/{chunk-5ZJ6TZRB.mjs → chunk-CPDLICOP.mjs} +3 -3
- package/{chunk-H245MSBR.mjs → chunk-DIYEI2PA.mjs} +2 -2
- package/{chunk-LH3JE57U.mjs → chunk-DJDG3UYR.mjs} +2 -2
- package/{chunk-26KEKEEF.mjs → chunk-ENDOIQ32.mjs} +40 -1
- package/{chunk-4NVLC5QJ.mjs → chunk-FBDTG3WD.mjs} +3 -3
- package/{chunk-U3WXTP5Y.mjs → chunk-FIPFWGBQ.mjs} +3 -3
- package/{chunk-7QXG7J4P.mjs → chunk-HMC73HBG.mjs} +3 -3
- package/{chunk-HSUS7XOX.mjs → chunk-JZ7DY7SU.mjs} +1 -1
- package/{chunk-XA4SJNUV.mjs → chunk-KBILM3GO.mjs} +3 -3
- package/{chunk-DAB6IBM6.mjs → chunk-KJTTMDZP.mjs} +3 -3
- package/{chunk-J5YKKOCK.mjs → chunk-L3OISOZA.mjs} +2 -2
- package/{chunk-6CTXET42.mjs → chunk-LU5ODSGQ.mjs} +2 -2
- package/{chunk-IV6UYEKI.mjs → chunk-MM6LQXI6.mjs} +3 -3
- package/{chunk-JQLNKJFR.mjs → chunk-ORQ52KPA.mjs} +3 -3
- package/{chunk-6RYVAKNX.mjs → chunk-PDBPFNAN.mjs} +34 -36
- package/{chunk-4LRATW5F.mjs → chunk-QMODZE4A.mjs} +3 -3
- package/{chunk-SSMQ7WOS.mjs → chunk-RWOX5QO3.mjs} +3 -3
- package/{chunk-6NX5BRIF.mjs → chunk-TDL42FZZ.mjs} +2 -2
- package/{chunk-WVDZZKR2.mjs → chunk-TKHIBI4R.mjs} +2 -2
- package/{chunk-XOTWCRWX.mjs → chunk-U4ZDMJX2.mjs} +3 -3
- package/{chunk-VYVXCUYH.mjs → chunk-UF45URAJ.mjs} +2 -2
- package/{chunk-2BJWG5HH.mjs → chunk-VDFDTLU5.mjs} +3 -3
- package/{chunk-TL5EG2ET.mjs → chunk-VP4HT24O.mjs} +3 -3
- package/{chunk-7L7ADQAE.mjs → chunk-Y67MNG2X.mjs} +2 -2
- package/financing/formalization/index.d.cts +395 -357
- package/financing/formalization/index.d.ts +395 -357
- package/financing/formalization/index.js +70 -31
- package/financing/formalization/index.mjs +33 -33
- package/financing/formalization/schemas/AlfaPFSchema.d.cts +8 -8
- package/financing/formalization/schemas/AlfaPFSchema.d.ts +8 -8
- package/financing/formalization/schemas/AlfaPFSchema.js +22 -1
- package/financing/formalization/schemas/AlfaPFSchema.mjs +3 -3
- package/financing/formalization/schemas/AlfaPJSchema.d.cts +12 -12
- package/financing/formalization/schemas/AlfaPJSchema.d.ts +12 -12
- package/financing/formalization/schemas/AlfaPJSchema.js +22 -1
- package/financing/formalization/schemas/AlfaPJSchema.mjs +2 -2
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.d.cts +8 -8
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.d.ts +8 -8
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.js +22 -1
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.mjs +3 -3
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.d.cts +12 -12
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.d.ts +12 -12
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.js +22 -1
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.mjs +2 -2
- package/financing/formalization/schemas/BtgPFSchema.d.cts +8 -8
- package/financing/formalization/schemas/BtgPFSchema.d.ts +8 -8
- package/financing/formalization/schemas/BtgPFSchema.js +22 -1
- package/financing/formalization/schemas/BtgPFSchema.mjs +3 -3
- package/financing/formalization/schemas/BtgPJSchema.d.cts +12 -12
- package/financing/formalization/schemas/BtgPJSchema.d.ts +12 -12
- package/financing/formalization/schemas/BtgPJSchema.js +22 -1
- package/financing/formalization/schemas/BtgPJSchema.mjs +3 -3
- package/financing/formalization/schemas/BvPFSchema.d.cts +8 -8
- package/financing/formalization/schemas/BvPFSchema.d.ts +8 -8
- package/financing/formalization/schemas/BvPFSchema.js +22 -1
- package/financing/formalization/schemas/BvPFSchema.mjs +3 -3
- package/financing/formalization/schemas/BvPJSchema.d.cts +12 -12
- package/financing/formalization/schemas/BvPJSchema.d.ts +12 -12
- package/financing/formalization/schemas/BvPJSchema.js +22 -1
- package/financing/formalization/schemas/BvPJSchema.mjs +3 -3
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.d.cts +8 -8
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.d.ts +8 -8
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.js +22 -1
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.mjs +3 -3
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.d.cts +12 -12
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.d.ts +12 -12
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.js +22 -1
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.mjs +2 -2
- package/financing/formalization/schemas/CashMePFSchema.d.cts +8 -8
- package/financing/formalization/schemas/CashMePFSchema.d.ts +8 -8
- package/financing/formalization/schemas/CashMePFSchema.js +22 -1
- package/financing/formalization/schemas/CashMePFSchema.mjs +3 -3
- package/financing/formalization/schemas/CashMePJSchema.d.cts +12 -12
- package/financing/formalization/schemas/CashMePJSchema.d.ts +12 -12
- package/financing/formalization/schemas/CashMePJSchema.js +22 -1
- package/financing/formalization/schemas/CashMePJSchema.mjs +2 -2
- package/financing/formalization/schemas/Credito77PFSchema.d.cts +8 -8
- package/financing/formalization/schemas/Credito77PFSchema.d.ts +8 -8
- package/financing/formalization/schemas/Credito77PFSchema.js +22 -1
- package/financing/formalization/schemas/Credito77PFSchema.mjs +3 -3
- package/financing/formalization/schemas/Credito77PJSchema.d.cts +12 -12
- package/financing/formalization/schemas/Credito77PJSchema.d.ts +12 -12
- package/financing/formalization/schemas/Credito77PJSchema.js +22 -1
- package/financing/formalization/schemas/Credito77PJSchema.mjs +2 -2
- package/financing/formalization/schemas/EosPFSchema.d.cts +8 -8
- package/financing/formalization/schemas/EosPFSchema.d.ts +8 -8
- package/financing/formalization/schemas/EosPFSchema.js +22 -1
- package/financing/formalization/schemas/EosPFSchema.mjs +3 -3
- package/financing/formalization/schemas/EosPJSchema.d.cts +12 -12
- package/financing/formalization/schemas/EosPJSchema.d.ts +12 -12
- package/financing/formalization/schemas/EosPJSchema.js +22 -1
- package/financing/formalization/schemas/EosPJSchema.mjs +2 -2
- package/financing/formalization/schemas/HdtEnergyPFSchema.d.cts +8 -8
- package/financing/formalization/schemas/HdtEnergyPFSchema.d.ts +8 -8
- package/financing/formalization/schemas/HdtEnergyPFSchema.js +22 -1
- package/financing/formalization/schemas/HdtEnergyPFSchema.mjs +3 -3
- package/financing/formalization/schemas/HdtEnergyPJSchema.d.cts +12 -12
- package/financing/formalization/schemas/HdtEnergyPJSchema.d.ts +12 -12
- package/financing/formalization/schemas/HdtEnergyPJSchema.js +22 -1
- package/financing/formalization/schemas/HdtEnergyPJSchema.mjs +2 -2
- package/financing/formalization/schemas/LosangoPFSchema.d.cts +8 -8
- package/financing/formalization/schemas/LosangoPFSchema.d.ts +8 -8
- package/financing/formalization/schemas/LosangoPFSchema.js +22 -1
- package/financing/formalization/schemas/LosangoPFSchema.mjs +3 -3
- package/financing/formalization/schemas/LosangoPJSchema.d.cts +12 -12
- package/financing/formalization/schemas/LosangoPJSchema.d.ts +12 -12
- package/financing/formalization/schemas/LosangoPJSchema.js +22 -1
- package/financing/formalization/schemas/LosangoPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SafraPFSchema.d.cts +8 -8
- package/financing/formalization/schemas/SafraPFSchema.d.ts +8 -8
- package/financing/formalization/schemas/SafraPFSchema.js +22 -1
- package/financing/formalization/schemas/SafraPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SafraPJSchema.d.cts +12 -12
- package/financing/formalization/schemas/SafraPJSchema.d.ts +12 -12
- package/financing/formalization/schemas/SafraPJSchema.js +22 -1
- package/financing/formalization/schemas/SafraPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SantanderPFSchema.d.cts +8 -8
- package/financing/formalization/schemas/SantanderPFSchema.d.ts +8 -8
- package/financing/formalization/schemas/SantanderPFSchema.js +22 -1
- package/financing/formalization/schemas/SantanderPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SantanderPJSchema.d.cts +12 -12
- package/financing/formalization/schemas/SantanderPJSchema.d.ts +12 -12
- package/financing/formalization/schemas/SantanderPJSchema.js +22 -1
- package/financing/formalization/schemas/SantanderPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SolAgoraPFSchema.d.cts +8 -8
- package/financing/formalization/schemas/SolAgoraPFSchema.d.ts +8 -8
- package/financing/formalization/schemas/SolAgoraPFSchema.js +22 -1
- package/financing/formalization/schemas/SolAgoraPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SolAgoraPJSchema.d.cts +12 -12
- package/financing/formalization/schemas/SolAgoraPJSchema.d.ts +12 -12
- package/financing/formalization/schemas/SolAgoraPJSchema.js +22 -1
- package/financing/formalization/schemas/SolAgoraPJSchema.mjs +3 -3
- package/financing/formalization/schemas/SolfacilPFSchema.d.cts +8 -8
- package/financing/formalization/schemas/SolfacilPFSchema.d.ts +8 -8
- package/financing/formalization/schemas/SolfacilPFSchema.js +22 -1
- package/financing/formalization/schemas/SolfacilPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SolfacilPJSchema.d.cts +12 -12
- package/financing/formalization/schemas/SolfacilPJSchema.d.ts +12 -12
- package/financing/formalization/schemas/SolfacilPJSchema.js +22 -1
- package/financing/formalization/schemas/SolfacilPJSchema.mjs +2 -2
- package/financing/formalization/schemas/UnifiedPFSchema.d.cts +8 -8
- package/financing/formalization/schemas/UnifiedPFSchema.d.ts +8 -8
- package/financing/formalization/schemas/UnifiedPFSchema.js +22 -1
- package/financing/formalization/schemas/UnifiedPFSchema.mjs +3 -3
- package/financing/formalization/schemas/UnifiedPJSchema.d.cts +24 -24
- package/financing/formalization/schemas/UnifiedPJSchema.d.ts +24 -24
- package/financing/formalization/schemas/UnifiedPJSchema.js +23 -2
- package/financing/formalization/schemas/UnifiedPJSchema.mjs +3 -3
- package/index.d.cts +1 -1
- package/index.d.ts +1 -1
- package/index.js +70 -31
- package/index.mjs +33 -33
- package/package.json +1 -1
|
@@ -84,6 +84,42 @@ var DocumentTypeLabels = {
|
|
|
84
84
|
|
|
85
85
|
// src/shared/enums/nationality.ts
|
|
86
86
|
var NATIONALITY_BRAZIL = "brasil";
|
|
87
|
+
var NationalityEnum = enumField([
|
|
88
|
+
NATIONALITY_BRAZIL,
|
|
89
|
+
"argentina",
|
|
90
|
+
"bolivia",
|
|
91
|
+
"chile",
|
|
92
|
+
"colombia",
|
|
93
|
+
"paraguai",
|
|
94
|
+
"peru",
|
|
95
|
+
"uruguai",
|
|
96
|
+
"venezuela",
|
|
97
|
+
"portugal",
|
|
98
|
+
"espanha",
|
|
99
|
+
"italia",
|
|
100
|
+
"estados_unidos",
|
|
101
|
+
"japao",
|
|
102
|
+
"china",
|
|
103
|
+
"outro"
|
|
104
|
+
]);
|
|
105
|
+
var NationalityLabels = {
|
|
106
|
+
brasil: "Brasil",
|
|
107
|
+
argentina: "Argentina",
|
|
108
|
+
bolivia: "Bol\xEDvia",
|
|
109
|
+
chile: "Chile",
|
|
110
|
+
colombia: "Col\xF4mbia",
|
|
111
|
+
paraguai: "Paraguai",
|
|
112
|
+
peru: "Peru",
|
|
113
|
+
uruguai: "Uruguai",
|
|
114
|
+
venezuela: "Venezuela",
|
|
115
|
+
portugal: "Portugal",
|
|
116
|
+
espanha: "Espanha",
|
|
117
|
+
italia: "It\xE1lia",
|
|
118
|
+
estados_unidos: "Estados Unidos",
|
|
119
|
+
japao: "Jap\xE3o",
|
|
120
|
+
china: "China",
|
|
121
|
+
outro: "Outro"
|
|
122
|
+
};
|
|
87
123
|
|
|
88
124
|
// src/shared/enums/nature-of-occupation-type.ts
|
|
89
125
|
var NatureOfOccupationTypeEnum = enumField(["autonomo", "clt", "aposentado", "empresario"]);
|
|
@@ -237,6 +273,7 @@ var OCCUPATIONS_REQUIRING_CNPJ = ["empresario", "empresario_ou_proprietario"];
|
|
|
237
273
|
// src/domains/financing/formalization/optionLabels.ts
|
|
238
274
|
var FORMALIZATION_OPTION_LABELS = {
|
|
239
275
|
sex: SexLabels,
|
|
276
|
+
nationality: NationalityLabels,
|
|
240
277
|
type_doc: DocumentTypeLabels,
|
|
241
278
|
partner_type_doc: DocumentTypeLabels,
|
|
242
279
|
residence_situation: ResidenceTypeLabels,
|
|
@@ -488,7 +525,7 @@ var alfaPfObject = zod.z.object({
|
|
|
488
525
|
city: textField(),
|
|
489
526
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
490
527
|
state: UfEnum,
|
|
491
|
-
nationality:
|
|
528
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
492
529
|
cellphone: phoneBRSchema,
|
|
493
530
|
email: emailSchema,
|
|
494
531
|
monthly_income: currencySchema,
|
|
@@ -536,7 +573,7 @@ var alfaPjObject = zod.z.object({
|
|
|
536
573
|
state: UfEnum,
|
|
537
574
|
office: textField(),
|
|
538
575
|
mother_name: textField(),
|
|
539
|
-
nationality:
|
|
576
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
540
577
|
}).strict()
|
|
541
578
|
)
|
|
542
579
|
});
|
|
@@ -557,7 +594,7 @@ var bancoDoBrasilPfObject = zod.z.object({
|
|
|
557
594
|
city: textField(),
|
|
558
595
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
559
596
|
state: UfEnum,
|
|
560
|
-
nationality:
|
|
597
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
561
598
|
cellphone: phoneBRSchema,
|
|
562
599
|
email: emailSchema,
|
|
563
600
|
monthly_income: currencySchema,
|
|
@@ -605,7 +642,7 @@ var bancoDoBrasilPjObject = zod.z.object({
|
|
|
605
642
|
state: UfEnum,
|
|
606
643
|
office: textField(),
|
|
607
644
|
mother_name: textField(),
|
|
608
|
-
nationality:
|
|
645
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
609
646
|
}).strict()
|
|
610
647
|
)
|
|
611
648
|
});
|
|
@@ -626,7 +663,7 @@ var btgPfObject = zod.z.object({
|
|
|
626
663
|
city: textField(),
|
|
627
664
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
628
665
|
state: UfEnum,
|
|
629
|
-
nationality:
|
|
666
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
630
667
|
cellphone: phoneBRSchema,
|
|
631
668
|
email: emailSchema,
|
|
632
669
|
monthly_income: currencySchema,
|
|
@@ -685,7 +722,7 @@ var btgPjObject = zod.z.object({
|
|
|
685
722
|
monthly_income: currencySchema,
|
|
686
723
|
patrimony: currencySchema,
|
|
687
724
|
uf_naturalness: UfEnum,
|
|
688
|
-
nationality:
|
|
725
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
689
726
|
}).strict()
|
|
690
727
|
)
|
|
691
728
|
});
|
|
@@ -710,7 +747,7 @@ var bvPfObject = zod.z.object({
|
|
|
710
747
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
711
748
|
civil_status: textField(),
|
|
712
749
|
state: UfEnum,
|
|
713
|
-
nationality:
|
|
750
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
714
751
|
uf_naturalness: UfEnum,
|
|
715
752
|
naturalness: textField(),
|
|
716
753
|
cellphone: phoneBRSchema,
|
|
@@ -783,7 +820,7 @@ var bvPjObject = zod.z.object({
|
|
|
783
820
|
patrimony: currencySchema,
|
|
784
821
|
naturalness: textField(),
|
|
785
822
|
uf_naturalness: UfEnum,
|
|
786
|
-
nationality:
|
|
823
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
787
824
|
pep_relationship: textField()
|
|
788
825
|
}).strict()
|
|
789
826
|
)
|
|
@@ -805,7 +842,7 @@ var caixaEconomicaFederalPfObject = zod.z.object({
|
|
|
805
842
|
city: textField(),
|
|
806
843
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
807
844
|
state: UfEnum,
|
|
808
|
-
nationality:
|
|
845
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
809
846
|
cellphone: phoneBRSchema,
|
|
810
847
|
email: emailSchema,
|
|
811
848
|
monthly_income: currencySchema,
|
|
@@ -853,7 +890,7 @@ var caixaEconomicaFederalPjObject = zod.z.object({
|
|
|
853
890
|
state: UfEnum,
|
|
854
891
|
office: textField(),
|
|
855
892
|
mother_name: textField(),
|
|
856
|
-
nationality:
|
|
893
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
857
894
|
}).strict()
|
|
858
895
|
)
|
|
859
896
|
});
|
|
@@ -874,7 +911,7 @@ var cashMePfObject = zod.z.object({
|
|
|
874
911
|
city: textField(),
|
|
875
912
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
876
913
|
state: UfEnum,
|
|
877
|
-
nationality:
|
|
914
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
878
915
|
cellphone: phoneBRSchema,
|
|
879
916
|
email: emailSchema,
|
|
880
917
|
monthly_income: currencySchema,
|
|
@@ -922,7 +959,7 @@ var cashMePjObject = zod.z.object({
|
|
|
922
959
|
state: UfEnum,
|
|
923
960
|
office: textField(),
|
|
924
961
|
mother_name: textField(),
|
|
925
|
-
nationality:
|
|
962
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
926
963
|
}).strict()
|
|
927
964
|
)
|
|
928
965
|
});
|
|
@@ -943,7 +980,7 @@ var credito77PfObject = zod.z.object({
|
|
|
943
980
|
city: textField(),
|
|
944
981
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
945
982
|
state: UfEnum,
|
|
946
|
-
nationality:
|
|
983
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
947
984
|
cellphone: phoneBRSchema,
|
|
948
985
|
email: emailSchema,
|
|
949
986
|
monthly_income: currencySchema,
|
|
@@ -991,7 +1028,7 @@ var credito77PjObject = zod.z.object({
|
|
|
991
1028
|
state: UfEnum,
|
|
992
1029
|
office: textField(),
|
|
993
1030
|
mother_name: textField(),
|
|
994
|
-
nationality:
|
|
1031
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
995
1032
|
}).strict()
|
|
996
1033
|
)
|
|
997
1034
|
});
|
|
@@ -1012,7 +1049,7 @@ var eosPfObject = zod.z.object({
|
|
|
1012
1049
|
city: textField(),
|
|
1013
1050
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
1014
1051
|
state: UfEnum,
|
|
1015
|
-
nationality:
|
|
1052
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
1016
1053
|
cellphone: phoneBRSchema,
|
|
1017
1054
|
email: emailSchema,
|
|
1018
1055
|
monthly_income: currencySchema,
|
|
@@ -1060,7 +1097,7 @@ var eosPjObject = zod.z.object({
|
|
|
1060
1097
|
state: UfEnum,
|
|
1061
1098
|
office: textField(),
|
|
1062
1099
|
mother_name: textField(),
|
|
1063
|
-
nationality:
|
|
1100
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
1064
1101
|
}).strict()
|
|
1065
1102
|
)
|
|
1066
1103
|
});
|
|
@@ -1081,7 +1118,7 @@ var hdtEnergyPfObject = zod.z.object({
|
|
|
1081
1118
|
city: textField(),
|
|
1082
1119
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
1083
1120
|
state: UfEnum,
|
|
1084
|
-
nationality:
|
|
1121
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
1085
1122
|
cellphone: phoneBRSchema,
|
|
1086
1123
|
email: emailSchema,
|
|
1087
1124
|
monthly_income: currencySchema,
|
|
@@ -1129,7 +1166,7 @@ var hdtEnergyPjObject = zod.z.object({
|
|
|
1129
1166
|
state: UfEnum,
|
|
1130
1167
|
office: textField(),
|
|
1131
1168
|
mother_name: textField(),
|
|
1132
|
-
nationality:
|
|
1169
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
1133
1170
|
}).strict()
|
|
1134
1171
|
)
|
|
1135
1172
|
});
|
|
@@ -1150,7 +1187,7 @@ var losangoPfObject = zod.z.object({
|
|
|
1150
1187
|
city: textField(),
|
|
1151
1188
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
1152
1189
|
state: UfEnum,
|
|
1153
|
-
nationality:
|
|
1190
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
1154
1191
|
cellphone: phoneBRSchema,
|
|
1155
1192
|
email: emailSchema,
|
|
1156
1193
|
monthly_income: currencySchema,
|
|
@@ -1198,7 +1235,7 @@ var losangoPjObject = zod.z.object({
|
|
|
1198
1235
|
state: UfEnum,
|
|
1199
1236
|
office: textField(),
|
|
1200
1237
|
mother_name: textField(),
|
|
1201
|
-
nationality:
|
|
1238
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
1202
1239
|
}).strict()
|
|
1203
1240
|
)
|
|
1204
1241
|
});
|
|
@@ -1219,7 +1256,7 @@ var safraPfObject = zod.z.object({
|
|
|
1219
1256
|
city: textField(),
|
|
1220
1257
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
1221
1258
|
state: UfEnum,
|
|
1222
|
-
nationality:
|
|
1259
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
1223
1260
|
cellphone: phoneBRSchema,
|
|
1224
1261
|
email: emailSchema,
|
|
1225
1262
|
monthly_income: currencySchema,
|
|
@@ -1267,7 +1304,7 @@ var safraPjObject = zod.z.object({
|
|
|
1267
1304
|
state: UfEnum,
|
|
1268
1305
|
office: textField(),
|
|
1269
1306
|
mother_name: textField(),
|
|
1270
|
-
nationality:
|
|
1307
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
1271
1308
|
}).strict()
|
|
1272
1309
|
)
|
|
1273
1310
|
});
|
|
@@ -1288,7 +1325,7 @@ var santanderPfObject = zod.z.object({
|
|
|
1288
1325
|
city: textField(),
|
|
1289
1326
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
1290
1327
|
state: UfEnum,
|
|
1291
|
-
nationality:
|
|
1328
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
1292
1329
|
cellphone: phoneBRSchema,
|
|
1293
1330
|
email: emailSchema,
|
|
1294
1331
|
monthly_income: currencySchema,
|
|
@@ -1336,7 +1373,7 @@ var santanderPjObject = zod.z.object({
|
|
|
1336
1373
|
state: UfEnum,
|
|
1337
1374
|
office: textField(),
|
|
1338
1375
|
mother_name: textField(),
|
|
1339
|
-
nationality:
|
|
1376
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
1340
1377
|
}).strict()
|
|
1341
1378
|
)
|
|
1342
1379
|
});
|
|
@@ -1357,7 +1394,7 @@ var solAgoraPfObject = zod.z.object({
|
|
|
1357
1394
|
city: textField(),
|
|
1358
1395
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
1359
1396
|
state: UfEnum,
|
|
1360
|
-
nationality:
|
|
1397
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
1361
1398
|
cellphone: phoneBRSchema,
|
|
1362
1399
|
email: emailSchema,
|
|
1363
1400
|
monthly_income: currencySchema,
|
|
@@ -1414,7 +1451,7 @@ var solAgoraPjObject = zod.z.object({
|
|
|
1414
1451
|
mother_name: textField(),
|
|
1415
1452
|
naturalness: textField(),
|
|
1416
1453
|
uf_naturalness: UfEnum,
|
|
1417
|
-
nationality:
|
|
1454
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
1418
1455
|
}).strict()
|
|
1419
1456
|
)
|
|
1420
1457
|
});
|
|
@@ -1435,7 +1472,7 @@ var solfacilPfObject = zod.z.object({
|
|
|
1435
1472
|
city: textField(),
|
|
1436
1473
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
1437
1474
|
state: UfEnum,
|
|
1438
|
-
nationality:
|
|
1475
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
1439
1476
|
cellphone: phoneBRSchema,
|
|
1440
1477
|
email: emailSchema,
|
|
1441
1478
|
monthly_income: currencySchema,
|
|
@@ -1488,7 +1525,7 @@ var solfacilPjObject = zod.z.object({
|
|
|
1488
1525
|
mother_name: textField(),
|
|
1489
1526
|
monthly_income: currencySchema,
|
|
1490
1527
|
patrimony: currencySchema,
|
|
1491
|
-
nationality:
|
|
1528
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
1492
1529
|
}).strict()
|
|
1493
1530
|
)
|
|
1494
1531
|
});
|
|
@@ -1508,7 +1545,7 @@ var unifiedPfObject = zod.z.object({
|
|
|
1508
1545
|
city: textField(),
|
|
1509
1546
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
1510
1547
|
state: UfEnum,
|
|
1511
|
-
nationality:
|
|
1548
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
1512
1549
|
cellphone: phoneBRSchema,
|
|
1513
1550
|
email: emailSchema,
|
|
1514
1551
|
monthly_income: currencySchema,
|
|
@@ -1579,7 +1616,7 @@ var unifiedPjObject = zod.z.object({
|
|
|
1579
1616
|
city: textField(),
|
|
1580
1617
|
state: UfEnum,
|
|
1581
1618
|
mother_name: textField(),
|
|
1582
|
-
nationality:
|
|
1619
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
1583
1620
|
office: textField().optional(),
|
|
1584
1621
|
phone: phoneBRSchema.optional(),
|
|
1585
1622
|
civil_status: textField().optional(),
|
|
@@ -1616,7 +1653,7 @@ var unifiedPjObject = zod.z.object({
|
|
|
1616
1653
|
city: textField(),
|
|
1617
1654
|
state: UfEnum,
|
|
1618
1655
|
mother_name: textField(),
|
|
1619
|
-
nationality:
|
|
1656
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
1620
1657
|
office: textField().optional(),
|
|
1621
1658
|
phone: phoneBRSchema.optional(),
|
|
1622
1659
|
civil_status: textField().optional(),
|
|
@@ -2011,6 +2048,8 @@ exports.CIVIL_STATUS_REQUIRING_PARTNER = CIVIL_STATUS_REQUIRING_PARTNER;
|
|
|
2011
2048
|
exports.FORMALIZATION_FIELD_META = FORMALIZATION_FIELD_META;
|
|
2012
2049
|
exports.FORMALIZATION_OPTION_LABELS = FORMALIZATION_OPTION_LABELS;
|
|
2013
2050
|
exports.NATIONALITY_BRAZIL = NATIONALITY_BRAZIL;
|
|
2051
|
+
exports.NationalityEnum = NationalityEnum;
|
|
2052
|
+
exports.NationalityLabels = NationalityLabels;
|
|
2014
2053
|
exports.OCCUPATIONS_REQUIRING_CNPJ = OCCUPATIONS_REQUIRING_CNPJ;
|
|
2015
2054
|
exports.PARTNER_FIELDS = PARTNER_FIELDS;
|
|
2016
2055
|
exports.UNIFIED_SLUG = UNIFIED_SLUG;
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
export { BANK_SLUGS, BankEnum, FORMALIZATION_FIELD_META, FORMALIZATION_OPTION_LABELS,
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
8
|
-
export { unifiedPfObject, unifiedPfSchema } from '../../chunk-
|
|
9
|
-
export { unifiedPjObject, unifiedPjSchema } from '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
11
|
-
import '../../chunk-
|
|
12
|
-
import '../../chunk-
|
|
13
|
-
import '../../chunk-
|
|
14
|
-
import '../../chunk-
|
|
15
|
-
import '../../chunk-
|
|
16
|
-
import '../../chunk-
|
|
17
|
-
import '../../chunk-
|
|
18
|
-
import '../../chunk-
|
|
19
|
-
import '../../chunk-
|
|
20
|
-
import '../../chunk-
|
|
21
|
-
import '../../chunk-
|
|
22
|
-
import '../../chunk-
|
|
23
|
-
import '../../chunk-
|
|
24
|
-
import '../../chunk-
|
|
25
|
-
import '../../chunk-
|
|
26
|
-
import '../../chunk-
|
|
27
|
-
import '../../chunk-
|
|
28
|
-
import '../../chunk-
|
|
29
|
-
import '../../chunk-
|
|
30
|
-
import '../../chunk-
|
|
31
|
-
import '../../chunk-
|
|
32
|
-
import '../../chunk-
|
|
33
|
-
export { CIVIL_STATUS_REQUIRING_PARTNER, OCCUPATIONS_REQUIRING_CNPJ, PARTNER_FIELDS, applyPfRefinements, applyPjRefinements } from '../../chunk-
|
|
1
|
+
export { BANK_SLUGS, BankEnum, FORMALIZATION_FIELD_META, FORMALIZATION_OPTION_LABELS, UNIFIED_SLUG, getFieldOptions, getFormalizationBaseSchema, getFormalizationSchema, pfBaseSchemaRegistry, pfSchemaRegistry, pjBaseSchemaRegistry, pjSchemaRegistry } from '../../chunk-PDBPFNAN.mjs';
|
|
2
|
+
import '../../chunk-CPDLICOP.mjs';
|
|
3
|
+
import '../../chunk-6ZUOXZY3.mjs';
|
|
4
|
+
import '../../chunk-RWOX5QO3.mjs';
|
|
5
|
+
import '../../chunk-5EHEC3RT.mjs';
|
|
6
|
+
import '../../chunk-65EE5FW3.mjs';
|
|
7
|
+
import '../../chunk-TKHIBI4R.mjs';
|
|
8
|
+
export { unifiedPfObject, unifiedPfSchema } from '../../chunk-FBDTG3WD.mjs';
|
|
9
|
+
export { unifiedPjObject, unifiedPjSchema } from '../../chunk-4PZYGTUU.mjs';
|
|
10
|
+
import '../../chunk-FIPFWGBQ.mjs';
|
|
11
|
+
import '../../chunk-TDL42FZZ.mjs';
|
|
12
|
+
import '../../chunk-MM6LQXI6.mjs';
|
|
13
|
+
import '../../chunk-LU5ODSGQ.mjs';
|
|
14
|
+
import '../../chunk-VDFDTLU5.mjs';
|
|
15
|
+
import '../../chunk-AM7HTUI3.mjs';
|
|
16
|
+
import '../../chunk-BYAXV4TG.mjs';
|
|
17
|
+
import '../../chunk-Y67MNG2X.mjs';
|
|
18
|
+
import '../../chunk-2BHUMNK5.mjs';
|
|
19
|
+
import '../../chunk-5P6NWFTX.mjs';
|
|
20
|
+
import '../../chunk-KBILM3GO.mjs';
|
|
21
|
+
import '../../chunk-UF45URAJ.mjs';
|
|
22
|
+
import '../../chunk-ORQ52KPA.mjs';
|
|
23
|
+
import '../../chunk-DJDG3UYR.mjs';
|
|
24
|
+
import '../../chunk-KJTTMDZP.mjs';
|
|
25
|
+
import '../../chunk-L3OISOZA.mjs';
|
|
26
|
+
import '../../chunk-VP4HT24O.mjs';
|
|
27
|
+
import '../../chunk-22SYVROO.mjs';
|
|
28
|
+
import '../../chunk-HMC73HBG.mjs';
|
|
29
|
+
import '../../chunk-DIYEI2PA.mjs';
|
|
30
|
+
import '../../chunk-QMODZE4A.mjs';
|
|
31
|
+
import '../../chunk-U4ZDMJX2.mjs';
|
|
32
|
+
import '../../chunk-JZ7DY7SU.mjs';
|
|
33
|
+
export { CIVIL_STATUS_REQUIRING_PARTNER, NATIONALITY_BRAZIL, NationalityEnum, NationalityLabels, OCCUPATIONS_REQUIRING_CNPJ, PARTNER_FIELDS, applyPfRefinements, applyPjRefinements } from '../../chunk-ENDOIQ32.mjs';
|
|
@@ -15,7 +15,7 @@ declare const alfaPfObject: z.ZodObject<{
|
|
|
15
15
|
city: z.ZodString;
|
|
16
16
|
energy_bill_owner_document: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
|
|
17
17
|
state: z.ZodEnum<[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
18
|
-
nationality: z.
|
|
18
|
+
nationality: z.ZodDefault<z.ZodEnum<["brasil", string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]>>;
|
|
19
19
|
cellphone: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
20
20
|
email: z.ZodEffects<z.ZodString, string, string>;
|
|
21
21
|
monthly_income: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
@@ -81,6 +81,7 @@ declare const alfaPfObject: z.ZodObject<{
|
|
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
|
82
82
|
number: string;
|
|
83
83
|
sex: string;
|
|
84
|
+
nationality: string;
|
|
84
85
|
type_doc: string;
|
|
85
86
|
state: string;
|
|
86
87
|
energy_account_in_requester_name: string;
|
|
@@ -93,7 +94,6 @@ declare const alfaPfObject: z.ZodObject<{
|
|
|
93
94
|
mother_name: string;
|
|
94
95
|
district: string;
|
|
95
96
|
city: string;
|
|
96
|
-
nationality: string;
|
|
97
97
|
cellphone: string;
|
|
98
98
|
email: string;
|
|
99
99
|
monthly_income: number;
|
|
@@ -139,7 +139,6 @@ declare const alfaPfObject: z.ZodObject<{
|
|
|
139
139
|
mother_name: string;
|
|
140
140
|
district: string;
|
|
141
141
|
city: string;
|
|
142
|
-
nationality: string;
|
|
143
142
|
cellphone: string;
|
|
144
143
|
email: string;
|
|
145
144
|
profession: string;
|
|
@@ -160,6 +159,7 @@ declare const alfaPfObject: z.ZodObject<{
|
|
|
160
159
|
sizeBytes: number;
|
|
161
160
|
url?: string | undefined;
|
|
162
161
|
};
|
|
162
|
+
nationality?: string | undefined;
|
|
163
163
|
proof_kinship_type?: string | undefined;
|
|
164
164
|
proof_kinship?: {
|
|
165
165
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
@@ -186,7 +186,7 @@ declare const alfaPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
186
186
|
city: z.ZodString;
|
|
187
187
|
energy_bill_owner_document: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
|
|
188
188
|
state: z.ZodEnum<[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
189
|
-
nationality: z.
|
|
189
|
+
nationality: z.ZodDefault<z.ZodEnum<["brasil", string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]>>;
|
|
190
190
|
cellphone: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
191
191
|
email: z.ZodEffects<z.ZodString, string, string>;
|
|
192
192
|
monthly_income: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
@@ -252,6 +252,7 @@ declare const alfaPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
252
252
|
}, "strict", z.ZodTypeAny, {
|
|
253
253
|
number: string;
|
|
254
254
|
sex: string;
|
|
255
|
+
nationality: string;
|
|
255
256
|
type_doc: string;
|
|
256
257
|
state: string;
|
|
257
258
|
energy_account_in_requester_name: string;
|
|
@@ -264,7 +265,6 @@ declare const alfaPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
264
265
|
mother_name: string;
|
|
265
266
|
district: string;
|
|
266
267
|
city: string;
|
|
267
|
-
nationality: string;
|
|
268
268
|
cellphone: string;
|
|
269
269
|
email: string;
|
|
270
270
|
monthly_income: number;
|
|
@@ -310,7 +310,6 @@ declare const alfaPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
310
310
|
mother_name: string;
|
|
311
311
|
district: string;
|
|
312
312
|
city: string;
|
|
313
|
-
nationality: string;
|
|
314
313
|
cellphone: string;
|
|
315
314
|
email: string;
|
|
316
315
|
profession: string;
|
|
@@ -331,6 +330,7 @@ declare const alfaPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
331
330
|
sizeBytes: number;
|
|
332
331
|
url?: string | undefined;
|
|
333
332
|
};
|
|
333
|
+
nationality?: string | undefined;
|
|
334
334
|
proof_kinship_type?: string | undefined;
|
|
335
335
|
proof_kinship?: {
|
|
336
336
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
@@ -344,6 +344,7 @@ declare const alfaPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
344
344
|
}>, {
|
|
345
345
|
number: string;
|
|
346
346
|
sex: string;
|
|
347
|
+
nationality: string;
|
|
347
348
|
type_doc: string;
|
|
348
349
|
state: string;
|
|
349
350
|
energy_account_in_requester_name: string;
|
|
@@ -356,7 +357,6 @@ declare const alfaPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
356
357
|
mother_name: string;
|
|
357
358
|
district: string;
|
|
358
359
|
city: string;
|
|
359
|
-
nationality: string;
|
|
360
360
|
cellphone: string;
|
|
361
361
|
email: string;
|
|
362
362
|
monthly_income: number;
|
|
@@ -402,7 +402,6 @@ declare const alfaPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
402
402
|
mother_name: string;
|
|
403
403
|
district: string;
|
|
404
404
|
city: string;
|
|
405
|
-
nationality: string;
|
|
406
405
|
cellphone: string;
|
|
407
406
|
email: string;
|
|
408
407
|
profession: string;
|
|
@@ -423,6 +422,7 @@ declare const alfaPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
423
422
|
sizeBytes: number;
|
|
424
423
|
url?: string | undefined;
|
|
425
424
|
};
|
|
425
|
+
nationality?: string | undefined;
|
|
426
426
|
proof_kinship_type?: string | undefined;
|
|
427
427
|
proof_kinship?: {
|
|
428
428
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
@@ -15,7 +15,7 @@ declare const alfaPfObject: z.ZodObject<{
|
|
|
15
15
|
city: z.ZodString;
|
|
16
16
|
energy_bill_owner_document: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
|
|
17
17
|
state: z.ZodEnum<[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
18
|
-
nationality: z.
|
|
18
|
+
nationality: z.ZodDefault<z.ZodEnum<["brasil", string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]>>;
|
|
19
19
|
cellphone: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
20
20
|
email: z.ZodEffects<z.ZodString, string, string>;
|
|
21
21
|
monthly_income: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
@@ -81,6 +81,7 @@ declare const alfaPfObject: z.ZodObject<{
|
|
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
|
82
82
|
number: string;
|
|
83
83
|
sex: string;
|
|
84
|
+
nationality: string;
|
|
84
85
|
type_doc: string;
|
|
85
86
|
state: string;
|
|
86
87
|
energy_account_in_requester_name: string;
|
|
@@ -93,7 +94,6 @@ declare const alfaPfObject: z.ZodObject<{
|
|
|
93
94
|
mother_name: string;
|
|
94
95
|
district: string;
|
|
95
96
|
city: string;
|
|
96
|
-
nationality: string;
|
|
97
97
|
cellphone: string;
|
|
98
98
|
email: string;
|
|
99
99
|
monthly_income: number;
|
|
@@ -139,7 +139,6 @@ declare const alfaPfObject: z.ZodObject<{
|
|
|
139
139
|
mother_name: string;
|
|
140
140
|
district: string;
|
|
141
141
|
city: string;
|
|
142
|
-
nationality: string;
|
|
143
142
|
cellphone: string;
|
|
144
143
|
email: string;
|
|
145
144
|
profession: string;
|
|
@@ -160,6 +159,7 @@ declare const alfaPfObject: z.ZodObject<{
|
|
|
160
159
|
sizeBytes: number;
|
|
161
160
|
url?: string | undefined;
|
|
162
161
|
};
|
|
162
|
+
nationality?: string | undefined;
|
|
163
163
|
proof_kinship_type?: string | undefined;
|
|
164
164
|
proof_kinship?: {
|
|
165
165
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
@@ -186,7 +186,7 @@ declare const alfaPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
186
186
|
city: z.ZodString;
|
|
187
187
|
energy_bill_owner_document: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
|
|
188
188
|
state: z.ZodEnum<[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
189
|
-
nationality: z.
|
|
189
|
+
nationality: z.ZodDefault<z.ZodEnum<["brasil", string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]>>;
|
|
190
190
|
cellphone: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
191
191
|
email: z.ZodEffects<z.ZodString, string, string>;
|
|
192
192
|
monthly_income: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
@@ -252,6 +252,7 @@ declare const alfaPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
252
252
|
}, "strict", z.ZodTypeAny, {
|
|
253
253
|
number: string;
|
|
254
254
|
sex: string;
|
|
255
|
+
nationality: string;
|
|
255
256
|
type_doc: string;
|
|
256
257
|
state: string;
|
|
257
258
|
energy_account_in_requester_name: string;
|
|
@@ -264,7 +265,6 @@ declare const alfaPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
264
265
|
mother_name: string;
|
|
265
266
|
district: string;
|
|
266
267
|
city: string;
|
|
267
|
-
nationality: string;
|
|
268
268
|
cellphone: string;
|
|
269
269
|
email: string;
|
|
270
270
|
monthly_income: number;
|
|
@@ -310,7 +310,6 @@ declare const alfaPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
310
310
|
mother_name: string;
|
|
311
311
|
district: string;
|
|
312
312
|
city: string;
|
|
313
|
-
nationality: string;
|
|
314
313
|
cellphone: string;
|
|
315
314
|
email: string;
|
|
316
315
|
profession: string;
|
|
@@ -331,6 +330,7 @@ declare const alfaPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
331
330
|
sizeBytes: number;
|
|
332
331
|
url?: string | undefined;
|
|
333
332
|
};
|
|
333
|
+
nationality?: string | undefined;
|
|
334
334
|
proof_kinship_type?: string | undefined;
|
|
335
335
|
proof_kinship?: {
|
|
336
336
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
@@ -344,6 +344,7 @@ declare const alfaPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
344
344
|
}>, {
|
|
345
345
|
number: string;
|
|
346
346
|
sex: string;
|
|
347
|
+
nationality: string;
|
|
347
348
|
type_doc: string;
|
|
348
349
|
state: string;
|
|
349
350
|
energy_account_in_requester_name: string;
|
|
@@ -356,7 +357,6 @@ declare const alfaPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
356
357
|
mother_name: string;
|
|
357
358
|
district: string;
|
|
358
359
|
city: string;
|
|
359
|
-
nationality: string;
|
|
360
360
|
cellphone: string;
|
|
361
361
|
email: string;
|
|
362
362
|
monthly_income: number;
|
|
@@ -402,7 +402,6 @@ declare const alfaPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
402
402
|
mother_name: string;
|
|
403
403
|
district: string;
|
|
404
404
|
city: string;
|
|
405
|
-
nationality: string;
|
|
406
405
|
cellphone: string;
|
|
407
406
|
email: string;
|
|
408
407
|
profession: string;
|
|
@@ -423,6 +422,7 @@ declare const alfaPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
423
422
|
sizeBytes: number;
|
|
424
423
|
url?: string | undefined;
|
|
425
424
|
};
|
|
425
|
+
nationality?: string | undefined;
|
|
426
426
|
proof_kinship_type?: string | undefined;
|
|
427
427
|
proof_kinship?: {
|
|
428
428
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
@@ -46,6 +46,27 @@ var DocumentTypeEnum = enumField([
|
|
|
46
46
|
"carteira_nacional_de_habilita\xE7\xE3o"
|
|
47
47
|
]);
|
|
48
48
|
|
|
49
|
+
// src/shared/enums/nationality.ts
|
|
50
|
+
var NATIONALITY_BRAZIL = "brasil";
|
|
51
|
+
var NationalityEnum = enumField([
|
|
52
|
+
NATIONALITY_BRAZIL,
|
|
53
|
+
"argentina",
|
|
54
|
+
"bolivia",
|
|
55
|
+
"chile",
|
|
56
|
+
"colombia",
|
|
57
|
+
"paraguai",
|
|
58
|
+
"peru",
|
|
59
|
+
"uruguai",
|
|
60
|
+
"venezuela",
|
|
61
|
+
"portugal",
|
|
62
|
+
"espanha",
|
|
63
|
+
"italia",
|
|
64
|
+
"estados_unidos",
|
|
65
|
+
"japao",
|
|
66
|
+
"china",
|
|
67
|
+
"outro"
|
|
68
|
+
]);
|
|
69
|
+
|
|
49
70
|
// src/shared/enums/proof-kinship-type.ts
|
|
50
71
|
var ProofKinshipTypeEnum = enumField([
|
|
51
72
|
"certidao_casamento",
|
|
@@ -329,7 +350,7 @@ var alfaPfObject = zod.z.object({
|
|
|
329
350
|
city: textField(),
|
|
330
351
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
331
352
|
state: UfEnum,
|
|
332
|
-
nationality:
|
|
353
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
333
354
|
cellphone: phoneBRSchema,
|
|
334
355
|
email: emailSchema,
|
|
335
356
|
monthly_income: currencySchema,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { alfaPfObject, alfaPfSchema } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
3
|
-
import '../../../chunk-
|
|
1
|
+
export { alfaPfObject, alfaPfSchema } from '../../../chunk-VP4HT24O.mjs';
|
|
2
|
+
import '../../../chunk-JZ7DY7SU.mjs';
|
|
3
|
+
import '../../../chunk-ENDOIQ32.mjs';
|