@77sol-lab/form-schemas 1.4.0 → 1.5.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-3LKC3OJJ.mjs → chunk-2END6TYT.mjs} +3 -3
- package/{chunk-YZ3YYQEI.mjs → chunk-3OIG2FI5.mjs} +2 -2
- package/{chunk-ENVJMMCX.mjs → chunk-4XJZIRLT.mjs} +5 -5
- package/{chunk-XXID67A4.mjs → chunk-53GXILC6.mjs} +2 -2
- package/{chunk-X3M274QY.mjs → chunk-5C4YMHXV.mjs} +4 -4
- package/{chunk-BTHGPT5U.mjs → chunk-6PH42V5T.mjs} +3 -3
- package/{chunk-LZCHOENM.mjs → chunk-6YS5KBXS.mjs} +37 -32
- package/{chunk-BCQD5NJB.mjs → chunk-7MWUETLP.mjs} +2 -2
- package/{chunk-PP5WJMGB.mjs → chunk-7ZF45QUN.mjs} +2 -2
- package/{chunk-TIB6TEME.mjs → chunk-D2ZUTYWA.mjs} +4 -4
- package/{chunk-A5ZODVEU.mjs → chunk-F27U6CXB.mjs} +2 -2
- package/{chunk-QH5BHXWK.mjs → chunk-FPJKWVVF.mjs} +3 -3
- package/{chunk-DIARPLFL.mjs → chunk-FRMGP3C3.mjs} +3 -3
- package/{chunk-UHQAHHAO.mjs → chunk-G5SKXDYM.mjs} +2 -2
- package/{chunk-AXXSWRN2.mjs → chunk-GQ5G2YX4.mjs} +2 -2
- package/{chunk-BZ4V4AAJ.mjs → chunk-H54QBCSW.mjs} +2 -2
- package/{chunk-SKFIWDPV.mjs → chunk-HBTFOSJU.mjs} +59 -1
- package/{chunk-BPWVGI53.mjs → chunk-IWSDOFBY.mjs} +5 -5
- package/{chunk-QBQDE5Y7.mjs → chunk-L4EWOROT.mjs} +2 -2
- package/{chunk-QZR62OU5.mjs → chunk-N2IX5TRK.mjs} +2 -2
- package/{chunk-HK7VVKRF.mjs → chunk-NCTEG6EL.mjs} +10 -10
- package/{chunk-PZG2YKS4.mjs → chunk-OARPUXXM.mjs} +2 -2
- package/{chunk-MUFER7FT.mjs → chunk-OVANLPKX.mjs} +2 -2
- package/{chunk-36ZWNLRE.mjs → chunk-R6CEKWRQ.mjs} +5 -5
- package/{chunk-2VGGCJ2O.mjs → chunk-RYJSCFSY.mjs} +3 -3
- package/{chunk-RFML2PIV.mjs → chunk-UMP5UF3U.mjs} +3 -3
- package/{chunk-2NFFUOYG.mjs → chunk-UU3MRKTH.mjs} +3 -3
- package/{chunk-VMIR7MGU.mjs → chunk-UUWULEKH.mjs} +2 -2
- package/{chunk-PYKWBM67.mjs → chunk-VO573WIK.mjs} +3 -3
- package/{chunk-XZSZRCO2.mjs → chunk-WTHEEPBE.mjs} +3 -3
- package/{chunk-DWXCA5I6.mjs → chunk-YIUJVGT4.mjs} +3 -3
- package/{chunk-3QVWHHHF.mjs → chunk-Z2TTZ3JJ.mjs} +4 -4
- package/financing/formalization/index.d.cts +917 -772
- package/financing/formalization/index.d.ts +917 -772
- package/financing/formalization/index.js +127 -64
- package/financing/formalization/index.mjs +32 -32
- package/financing/formalization/schemas/AlfaPFSchema.d.cts +8 -8
- package/financing/formalization/schemas/AlfaPFSchema.d.ts +8 -8
- package/financing/formalization/schemas/AlfaPFSchema.js +30 -1
- package/financing/formalization/schemas/AlfaPFSchema.mjs +2 -2
- package/financing/formalization/schemas/AlfaPJSchema.d.cts +24 -24
- package/financing/formalization/schemas/AlfaPJSchema.d.ts +24 -24
- package/financing/formalization/schemas/AlfaPJSchema.js +31 -2
- 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 +30 -1
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.mjs +2 -2
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.d.cts +24 -24
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.d.ts +24 -24
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.js +31 -2
- 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 +30 -1
- package/financing/formalization/schemas/BtgPFSchema.mjs +2 -2
- package/financing/formalization/schemas/BtgPJSchema.d.cts +48 -48
- package/financing/formalization/schemas/BtgPJSchema.d.ts +48 -48
- package/financing/formalization/schemas/BtgPJSchema.js +33 -4
- package/financing/formalization/schemas/BtgPJSchema.mjs +2 -2
- package/financing/formalization/schemas/BvPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/BvPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/BvPFSchema.js +32 -3
- package/financing/formalization/schemas/BvPFSchema.mjs +2 -2
- package/financing/formalization/schemas/BvPJSchema.d.cts +48 -48
- package/financing/formalization/schemas/BvPJSchema.d.ts +48 -48
- package/financing/formalization/schemas/BvPJSchema.js +33 -4
- package/financing/formalization/schemas/BvPJSchema.mjs +2 -2
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.d.cts +8 -8
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.d.ts +8 -8
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.js +30 -1
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.mjs +2 -2
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.d.cts +24 -24
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.d.ts +24 -24
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.js +31 -2
- 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 +30 -1
- package/financing/formalization/schemas/CashMePFSchema.mjs +2 -2
- package/financing/formalization/schemas/CashMePJSchema.d.cts +24 -24
- package/financing/formalization/schemas/CashMePJSchema.d.ts +24 -24
- package/financing/formalization/schemas/CashMePJSchema.js +31 -2
- 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 +30 -1
- package/financing/formalization/schemas/Credito77PFSchema.mjs +2 -2
- package/financing/formalization/schemas/Credito77PJSchema.d.cts +24 -24
- package/financing/formalization/schemas/Credito77PJSchema.d.ts +24 -24
- package/financing/formalization/schemas/Credito77PJSchema.js +31 -2
- 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 +30 -1
- package/financing/formalization/schemas/EosPFSchema.mjs +2 -2
- package/financing/formalization/schemas/EosPJSchema.d.cts +24 -24
- package/financing/formalization/schemas/EosPJSchema.d.ts +24 -24
- package/financing/formalization/schemas/EosPJSchema.js +31 -2
- 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 +30 -1
- package/financing/formalization/schemas/HdtEnergyPFSchema.mjs +2 -2
- package/financing/formalization/schemas/HdtEnergyPJSchema.d.cts +24 -24
- package/financing/formalization/schemas/HdtEnergyPJSchema.d.ts +24 -24
- package/financing/formalization/schemas/HdtEnergyPJSchema.js +31 -2
- 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 +30 -1
- package/financing/formalization/schemas/LosangoPFSchema.mjs +2 -2
- package/financing/formalization/schemas/LosangoPJSchema.d.cts +24 -24
- package/financing/formalization/schemas/LosangoPJSchema.d.ts +24 -24
- package/financing/formalization/schemas/LosangoPJSchema.js +31 -2
- 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 +30 -1
- package/financing/formalization/schemas/SafraPFSchema.mjs +2 -2
- package/financing/formalization/schemas/SafraPJSchema.d.cts +24 -24
- package/financing/formalization/schemas/SafraPJSchema.d.ts +24 -24
- package/financing/formalization/schemas/SafraPJSchema.js +31 -2
- 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 +30 -1
- package/financing/formalization/schemas/SantanderPFSchema.mjs +2 -2
- package/financing/formalization/schemas/SantanderPJSchema.d.cts +24 -24
- package/financing/formalization/schemas/SantanderPJSchema.d.ts +24 -24
- package/financing/formalization/schemas/SantanderPJSchema.js +31 -2
- 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 +30 -1
- package/financing/formalization/schemas/SolAgoraPFSchema.mjs +2 -2
- package/financing/formalization/schemas/SolAgoraPJSchema.d.cts +48 -48
- package/financing/formalization/schemas/SolAgoraPJSchema.d.ts +48 -48
- package/financing/formalization/schemas/SolAgoraPJSchema.js +33 -4
- package/financing/formalization/schemas/SolAgoraPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SolfacilPFSchema.d.cts +8 -8
- package/financing/formalization/schemas/SolfacilPFSchema.d.ts +8 -8
- package/financing/formalization/schemas/SolfacilPFSchema.js +30 -1
- package/financing/formalization/schemas/SolfacilPFSchema.mjs +2 -2
- package/financing/formalization/schemas/SolfacilPJSchema.d.cts +36 -36
- package/financing/formalization/schemas/SolfacilPJSchema.d.ts +36 -36
- package/financing/formalization/schemas/SolfacilPJSchema.js +32 -3
- package/financing/formalization/schemas/SolfacilPJSchema.mjs +2 -2
- package/financing/formalization/schemas/UnifiedPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/UnifiedPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/UnifiedPFSchema.js +32 -3
- package/financing/formalization/schemas/UnifiedPFSchema.mjs +2 -2
- package/financing/formalization/schemas/UnifiedPJSchema.d.cts +108 -108
- package/financing/formalization/schemas/UnifiedPJSchema.d.ts +108 -108
- package/financing/formalization/schemas/UnifiedPJSchema.js +38 -9
- package/financing/formalization/schemas/UnifiedPJSchema.mjs +2 -2
- package/index.js +127 -64
- package/index.mjs +32 -32
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-HBTFOSJU.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var safraPjObject = z.object({
|
|
@@ -17,7 +17,7 @@ var safraPjObject = z.object({
|
|
|
17
17
|
legal_nature: textField(),
|
|
18
18
|
city: textField(),
|
|
19
19
|
economic_activity_group: textField(),
|
|
20
|
-
state:
|
|
20
|
+
state: UfEnum,
|
|
21
21
|
economic_activity: textField(),
|
|
22
22
|
monthly_income: currencySchema
|
|
23
23
|
}).strict(),
|
|
@@ -35,7 +35,7 @@ var safraPjObject = z.object({
|
|
|
35
35
|
district: textField(),
|
|
36
36
|
sex: SexEnum,
|
|
37
37
|
city: textField(),
|
|
38
|
-
state:
|
|
38
|
+
state: UfEnum,
|
|
39
39
|
office: textField(),
|
|
40
40
|
mother_name: textField(),
|
|
41
41
|
nationality: textField()
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-HBTFOSJU.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var btgPfObject = z.object({
|
|
@@ -17,7 +17,7 @@ var btgPfObject = z.object({
|
|
|
17
17
|
energy_account_in_requester_name: textField(),
|
|
18
18
|
city: textField(),
|
|
19
19
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
20
|
-
state:
|
|
20
|
+
state: UfEnum,
|
|
21
21
|
nationality: textField(),
|
|
22
22
|
cellphone: phoneBRSchema,
|
|
23
23
|
email: emailSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
-
import { formalizationExtras, currencySchema, dateDMYSchema, issueDateSchema, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema, applyPjRefinements } from './chunk-
|
|
2
|
+
import { formalizationExtras, UfEnum, currencySchema, dateDMYSchema, issueDateSchema, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema, applyPjRefinements } from './chunk-HBTFOSJU.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var btgPjObject = z.object({
|
|
@@ -18,7 +18,7 @@ var btgPjObject = z.object({
|
|
|
18
18
|
legal_nature: textField(),
|
|
19
19
|
city: textField(),
|
|
20
20
|
economic_activity_group: textField(),
|
|
21
|
-
state:
|
|
21
|
+
state: UfEnum,
|
|
22
22
|
economic_activity: textField(),
|
|
23
23
|
monthly_income: currencySchema
|
|
24
24
|
}).strict(),
|
|
@@ -37,19 +37,19 @@ var btgPjObject = z.object({
|
|
|
37
37
|
district: textField(),
|
|
38
38
|
sex: SexEnum,
|
|
39
39
|
city: textField(),
|
|
40
|
-
state:
|
|
40
|
+
state: UfEnum,
|
|
41
41
|
civil_status: textField(),
|
|
42
42
|
office: textField(),
|
|
43
43
|
type_doc: DocumentTypeEnum,
|
|
44
44
|
doc: textField(),
|
|
45
45
|
issuing_body: textField(),
|
|
46
|
-
uf_issuing_body:
|
|
46
|
+
uf_issuing_body: UfEnum,
|
|
47
47
|
doc_issue_date: issueDateSchema,
|
|
48
48
|
doc_expiration_date: dateDMYSchema,
|
|
49
49
|
mother_name: textField(),
|
|
50
50
|
monthly_income: currencySchema,
|
|
51
51
|
patrimony: currencySchema,
|
|
52
|
-
uf_naturalness:
|
|
52
|
+
uf_naturalness: UfEnum,
|
|
53
53
|
nationality: textField()
|
|
54
54
|
}).strict()
|
|
55
55
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-HBTFOSJU.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var losangoPfObject = z.object({
|
|
@@ -17,7 +17,7 @@ var losangoPfObject = z.object({
|
|
|
17
17
|
energy_account_in_requester_name: textField(),
|
|
18
18
|
city: textField(),
|
|
19
19
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
20
|
-
state:
|
|
20
|
+
state: UfEnum,
|
|
21
21
|
nationality: textField(),
|
|
22
22
|
cellphone: phoneBRSchema,
|
|
23
23
|
email: emailSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
-
import { issueDateSchema, currencySchema, numberField, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, integerField, cpfSchema, cepSchema, formalizationExtras, textField, cnpjSchema, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
2
|
+
import { issueDateSchema, UfEnum, currencySchema, numberField, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, integerField, cpfSchema, cepSchema, formalizationExtras, textField, cnpjSchema, cpfCnpjSchema, applyPfRefinements } from './chunk-HBTFOSJU.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var bvPfObject = z.object({
|
|
@@ -21,9 +21,9 @@ var bvPfObject = z.object({
|
|
|
21
21
|
city: textField(),
|
|
22
22
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
23
23
|
civil_status: textField(),
|
|
24
|
-
state:
|
|
24
|
+
state: UfEnum,
|
|
25
25
|
nationality: textField(),
|
|
26
|
-
uf_naturalness:
|
|
26
|
+
uf_naturalness: UfEnum,
|
|
27
27
|
naturalness: textField(),
|
|
28
28
|
cellphone: phoneBRSchema,
|
|
29
29
|
email: emailSchema,
|
|
@@ -36,7 +36,7 @@ var bvPfObject = z.object({
|
|
|
36
36
|
type_doc: DocumentTypeEnum,
|
|
37
37
|
doc: textField(15),
|
|
38
38
|
issuing_body: textField(6),
|
|
39
|
-
emitting_state:
|
|
39
|
+
emitting_state: UfEnum,
|
|
40
40
|
doc_issue_date: issueDateSchema,
|
|
41
41
|
pep_relationship: textField().optional()
|
|
42
42
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-HBTFOSJU.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var bancoDoBrasilPjObject = z.object({
|
|
@@ -17,7 +17,7 @@ var bancoDoBrasilPjObject = z.object({
|
|
|
17
17
|
legal_nature: textField(),
|
|
18
18
|
city: textField(),
|
|
19
19
|
economic_activity_group: textField(),
|
|
20
|
-
state:
|
|
20
|
+
state: UfEnum,
|
|
21
21
|
economic_activity: textField(),
|
|
22
22
|
monthly_income: currencySchema
|
|
23
23
|
}).strict(),
|
|
@@ -35,7 +35,7 @@ var bancoDoBrasilPjObject = z.object({
|
|
|
35
35
|
district: textField(),
|
|
36
36
|
sex: SexEnum,
|
|
37
37
|
city: textField(),
|
|
38
|
-
state:
|
|
38
|
+
state: UfEnum,
|
|
39
39
|
office: textField(),
|
|
40
40
|
mother_name: textField(),
|
|
41
41
|
nationality: textField()
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { santanderPfObject, santanderPfSchema } from './chunk-
|
|
2
|
-
import { santanderPjObject, santanderPjSchema } from './chunk-
|
|
3
|
-
import { solAgoraPfObject, solAgoraPfSchema } from './chunk-
|
|
4
|
-
import { solAgoraPjObject, solAgoraPjSchema } from './chunk-
|
|
5
|
-
import { solfacilPfObject, solfacilPfSchema } from './chunk-
|
|
6
|
-
import { solfacilPjObject, solfacilPjSchema } from './chunk-
|
|
7
|
-
import { CommunionRegimeLabels, CivilStatusLabels, YesOrNoLabels, NatureOfOccupationTypeLabels, ResidenceTypeLabels, unifiedPfSchema, unifiedPfObject } from './chunk-
|
|
8
|
-
import { unifiedPjSchema, unifiedPjObject } from './chunk-
|
|
9
|
-
import { eosPfObject, eosPfSchema } from './chunk-
|
|
10
|
-
import { eosPjObject, eosPjSchema } from './chunk-
|
|
11
|
-
import { hdtEnergyPfObject, hdtEnergyPfSchema } from './chunk-
|
|
12
|
-
import { hdtEnergyPjObject, hdtEnergyPjSchema } from './chunk-
|
|
13
|
-
import { losangoPfObject, losangoPfSchema } from './chunk-
|
|
14
|
-
import { losangoPjObject, losangoPjSchema } from './chunk-
|
|
15
|
-
import { safraPfObject, safraPfSchema } from './chunk-
|
|
16
|
-
import { safraPjObject, safraPjSchema } from './chunk-
|
|
17
|
-
import { bvPfObject, bvPfSchema } from './chunk-
|
|
18
|
-
import { bvPjObject, bvPjSchema } from './chunk-
|
|
19
|
-
import { caixaEconomicaFederalPfObject, caixaEconomicaFederalPfSchema } from './chunk-
|
|
20
|
-
import { caixaEconomicaFederalPjObject, caixaEconomicaFederalPjSchema } from './chunk-
|
|
21
|
-
import { cashMePfObject, cashMePfSchema } from './chunk-
|
|
22
|
-
import { cashMePjObject, cashMePjSchema } from './chunk-
|
|
23
|
-
import { credito77PfObject, credito77PfSchema } from './chunk-
|
|
24
|
-
import { credito77PjObject, credito77PjSchema } from './chunk-
|
|
25
|
-
import { alfaPfObject, alfaPfSchema } from './chunk-
|
|
26
|
-
import { alfaPjObject, alfaPjSchema } from './chunk-
|
|
27
|
-
import { bancoDoBrasilPfObject, bancoDoBrasilPfSchema } from './chunk-
|
|
28
|
-
import { bancoDoBrasilPjObject, bancoDoBrasilPjSchema } from './chunk-
|
|
29
|
-
import { btgPfObject, btgPfSchema } from './chunk-
|
|
30
|
-
import { btgPjObject, btgPjSchema } from './chunk-
|
|
1
|
+
import { santanderPfObject, santanderPfSchema } from './chunk-UUWULEKH.mjs';
|
|
2
|
+
import { santanderPjObject, santanderPjSchema } from './chunk-RYJSCFSY.mjs';
|
|
3
|
+
import { solAgoraPfObject, solAgoraPfSchema } from './chunk-H54QBCSW.mjs';
|
|
4
|
+
import { solAgoraPjObject, solAgoraPjSchema } from './chunk-R6CEKWRQ.mjs';
|
|
5
|
+
import { solfacilPfObject, solfacilPfSchema } from './chunk-F27U6CXB.mjs';
|
|
6
|
+
import { solfacilPjObject, solfacilPjSchema } from './chunk-Z2TTZ3JJ.mjs';
|
|
7
|
+
import { CommunionRegimeLabels, CivilStatusLabels, YesOrNoLabels, NatureOfOccupationTypeLabels, ResidenceTypeLabels, unifiedPfSchema, unifiedPfObject } from './chunk-D2ZUTYWA.mjs';
|
|
8
|
+
import { unifiedPjSchema, unifiedPjObject } from './chunk-NCTEG6EL.mjs';
|
|
9
|
+
import { eosPfObject, eosPfSchema } from './chunk-OVANLPKX.mjs';
|
|
10
|
+
import { eosPjObject, eosPjSchema } from './chunk-UMP5UF3U.mjs';
|
|
11
|
+
import { hdtEnergyPfObject, hdtEnergyPfSchema } from './chunk-7MWUETLP.mjs';
|
|
12
|
+
import { hdtEnergyPjObject, hdtEnergyPjSchema } from './chunk-FRMGP3C3.mjs';
|
|
13
|
+
import { losangoPfObject, losangoPfSchema } from './chunk-53GXILC6.mjs';
|
|
14
|
+
import { losangoPjObject, losangoPjSchema } from './chunk-FPJKWVVF.mjs';
|
|
15
|
+
import { safraPfObject, safraPfSchema } from './chunk-G5SKXDYM.mjs';
|
|
16
|
+
import { safraPjObject, safraPjSchema } from './chunk-2END6TYT.mjs';
|
|
17
|
+
import { bvPfObject, bvPfSchema } from './chunk-5C4YMHXV.mjs';
|
|
18
|
+
import { bvPjObject, bvPjSchema } from './chunk-IWSDOFBY.mjs';
|
|
19
|
+
import { caixaEconomicaFederalPfObject, caixaEconomicaFederalPfSchema } from './chunk-7ZF45QUN.mjs';
|
|
20
|
+
import { caixaEconomicaFederalPjObject, caixaEconomicaFederalPjSchema } from './chunk-UU3MRKTH.mjs';
|
|
21
|
+
import { cashMePfObject, cashMePfSchema } from './chunk-GQ5G2YX4.mjs';
|
|
22
|
+
import { cashMePjObject, cashMePjSchema } from './chunk-VO573WIK.mjs';
|
|
23
|
+
import { credito77PfObject, credito77PfSchema } from './chunk-L4EWOROT.mjs';
|
|
24
|
+
import { credito77PjObject, credito77PjSchema } from './chunk-YIUJVGT4.mjs';
|
|
25
|
+
import { alfaPfObject, alfaPfSchema } from './chunk-N2IX5TRK.mjs';
|
|
26
|
+
import { alfaPjObject, alfaPjSchema } from './chunk-WTHEEPBE.mjs';
|
|
27
|
+
import { bancoDoBrasilPfObject, bancoDoBrasilPfSchema } from './chunk-OARPUXXM.mjs';
|
|
28
|
+
import { bancoDoBrasilPjObject, bancoDoBrasilPjSchema } from './chunk-6PH42V5T.mjs';
|
|
29
|
+
import { btgPfObject, btgPfSchema } from './chunk-3OIG2FI5.mjs';
|
|
30
|
+
import { btgPjObject, btgPjSchema } from './chunk-4XJZIRLT.mjs';
|
|
31
31
|
import { DocumentTypeLabels } from './chunk-7I2LXGA2.mjs';
|
|
32
|
-
import { SexLabels, applyPfRefinements } from './chunk-
|
|
32
|
+
import { UfLabels, SexLabels, applyPfRefinements } from './chunk-HBTFOSJU.mjs';
|
|
33
33
|
import { z } from 'zod';
|
|
34
34
|
|
|
35
35
|
// src/shared/enums/nationality.ts
|
|
@@ -61,7 +61,12 @@ var FORMALIZATION_OPTION_LABELS = {
|
|
|
61
61
|
nature_of_occupation: NatureOfOccupationTypeLabels,
|
|
62
62
|
pep_relationship: YesOrNoLabels,
|
|
63
63
|
civil_status: CivilStatusLabels,
|
|
64
|
-
communion_regime: CommunionRegimeLabels
|
|
64
|
+
communion_regime: CommunionRegimeLabels,
|
|
65
|
+
state: UfLabels,
|
|
66
|
+
uf_naturalness: UfLabels,
|
|
67
|
+
emitting_state: UfLabels,
|
|
68
|
+
uf_issuing_body: UfLabels,
|
|
69
|
+
doc_issuance_uf: UfLabels
|
|
65
70
|
};
|
|
66
71
|
function getFieldOptions(field) {
|
|
67
72
|
const labels = FORMALIZATION_OPTION_LABELS[field];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-HBTFOSJU.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var hdtEnergyPfObject = z.object({
|
|
@@ -17,7 +17,7 @@ var hdtEnergyPfObject = z.object({
|
|
|
17
17
|
energy_account_in_requester_name: textField(),
|
|
18
18
|
city: textField(),
|
|
19
19
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
20
|
-
state:
|
|
20
|
+
state: UfEnum,
|
|
21
21
|
nationality: textField(),
|
|
22
22
|
cellphone: phoneBRSchema,
|
|
23
23
|
email: emailSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-HBTFOSJU.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var caixaEconomicaFederalPfObject = z.object({
|
|
@@ -17,7 +17,7 @@ var caixaEconomicaFederalPfObject = z.object({
|
|
|
17
17
|
energy_account_in_requester_name: textField(),
|
|
18
18
|
city: textField(),
|
|
19
19
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
20
|
-
state:
|
|
20
|
+
state: UfEnum,
|
|
21
21
|
nationality: textField(),
|
|
22
22
|
cellphone: phoneBRSchema,
|
|
23
23
|
email: emailSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
-
import { formalizationExtras, issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, textField, dateDMYSchema, cnpjSchema, numberField, integerField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
2
|
+
import { formalizationExtras, UfEnum, issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, textField, dateDMYSchema, cnpjSchema, numberField, integerField, cpfCnpjSchema, applyPfRefinements } from './chunk-HBTFOSJU.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var NatureOfOccupationTypeEnum = z.enum(["autonomo", "clt", "aposentado", "empresario"]);
|
|
@@ -72,7 +72,7 @@ var unifiedPfObject = z.object({
|
|
|
72
72
|
energy_account_in_requester_name: textField(),
|
|
73
73
|
city: textField(),
|
|
74
74
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
75
|
-
state:
|
|
75
|
+
state: UfEnum,
|
|
76
76
|
nationality: textField(),
|
|
77
77
|
cellphone: phoneBRSchema,
|
|
78
78
|
email: emailSchema,
|
|
@@ -85,13 +85,13 @@ var unifiedPfObject = z.object({
|
|
|
85
85
|
residence_situation: ResidenceTypeEnum,
|
|
86
86
|
months_in_residence: integerField.optional(),
|
|
87
87
|
civil_status: CivilStatusEnum,
|
|
88
|
-
uf_naturalness:
|
|
88
|
+
uf_naturalness: UfEnum,
|
|
89
89
|
naturalness: textField().optional(),
|
|
90
90
|
nature_of_occupation: NatureOfOccupationTypeEnum,
|
|
91
91
|
company_time: numberField.optional(),
|
|
92
92
|
cnpj_proprietary: cnpjSchema.optional(),
|
|
93
93
|
equity_value: currencySchema.optional(),
|
|
94
|
-
emitting_state:
|
|
94
|
+
emitting_state: UfEnum,
|
|
95
95
|
pep_relationship: YesOrNoEnum,
|
|
96
96
|
social_name: textField().optional(),
|
|
97
97
|
partner_name: textField().optional(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-HBTFOSJU.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var solfacilPfObject = z.object({
|
|
@@ -17,7 +17,7 @@ var solfacilPfObject = z.object({
|
|
|
17
17
|
energy_account_in_requester_name: textField(),
|
|
18
18
|
city: textField(),
|
|
19
19
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
20
|
-
state:
|
|
20
|
+
state: UfEnum,
|
|
21
21
|
nationality: textField(),
|
|
22
22
|
cellphone: phoneBRSchema,
|
|
23
23
|
email: emailSchema,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-HBTFOSJU.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var losangoPjObject = z.object({
|
|
@@ -17,7 +17,7 @@ var losangoPjObject = z.object({
|
|
|
17
17
|
legal_nature: textField(),
|
|
18
18
|
city: textField(),
|
|
19
19
|
economic_activity_group: textField(),
|
|
20
|
-
state:
|
|
20
|
+
state: UfEnum,
|
|
21
21
|
economic_activity: textField(),
|
|
22
22
|
monthly_income: currencySchema
|
|
23
23
|
}).strict(),
|
|
@@ -35,7 +35,7 @@ var losangoPjObject = z.object({
|
|
|
35
35
|
district: textField(),
|
|
36
36
|
sex: SexEnum,
|
|
37
37
|
city: textField(),
|
|
38
|
-
state:
|
|
38
|
+
state: UfEnum,
|
|
39
39
|
office: textField(),
|
|
40
40
|
mother_name: textField(),
|
|
41
41
|
nationality: textField()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-HBTFOSJU.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var hdtEnergyPjObject = z.object({
|
|
@@ -17,7 +17,7 @@ var hdtEnergyPjObject = z.object({
|
|
|
17
17
|
legal_nature: textField(),
|
|
18
18
|
city: textField(),
|
|
19
19
|
economic_activity_group: textField(),
|
|
20
|
-
state:
|
|
20
|
+
state: UfEnum,
|
|
21
21
|
economic_activity: textField(),
|
|
22
22
|
monthly_income: currencySchema
|
|
23
23
|
}).strict(),
|
|
@@ -35,7 +35,7 @@ var hdtEnergyPjObject = z.object({
|
|
|
35
35
|
district: textField(),
|
|
36
36
|
sex: SexEnum,
|
|
37
37
|
city: textField(),
|
|
38
|
-
state:
|
|
38
|
+
state: UfEnum,
|
|
39
39
|
office: textField(),
|
|
40
40
|
mother_name: textField(),
|
|
41
41
|
nationality: textField()
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-HBTFOSJU.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var safraPfObject = z.object({
|
|
@@ -17,7 +17,7 @@ var safraPfObject = z.object({
|
|
|
17
17
|
energy_account_in_requester_name: textField(),
|
|
18
18
|
city: textField(),
|
|
19
19
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
20
|
-
state:
|
|
20
|
+
state: UfEnum,
|
|
21
21
|
nationality: textField(),
|
|
22
22
|
cellphone: phoneBRSchema,
|
|
23
23
|
email: emailSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-HBTFOSJU.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var cashMePfObject = z.object({
|
|
@@ -17,7 +17,7 @@ var cashMePfObject = z.object({
|
|
|
17
17
|
energy_account_in_requester_name: textField(),
|
|
18
18
|
city: textField(),
|
|
19
19
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
20
|
-
state:
|
|
20
|
+
state: UfEnum,
|
|
21
21
|
nationality: textField(),
|
|
22
22
|
cellphone: phoneBRSchema,
|
|
23
23
|
email: emailSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-HBTFOSJU.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var solAgoraPfObject = z.object({
|
|
@@ -17,7 +17,7 @@ var solAgoraPfObject = z.object({
|
|
|
17
17
|
energy_account_in_requester_name: textField(),
|
|
18
18
|
city: textField(),
|
|
19
19
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
20
|
-
state:
|
|
20
|
+
state: UfEnum,
|
|
21
21
|
nationality: textField(),
|
|
22
22
|
cellphone: phoneBRSchema,
|
|
23
23
|
email: emailSchema,
|
|
@@ -6,6 +6,64 @@ var SexLabels = {
|
|
|
6
6
|
masculino: "Masculino",
|
|
7
7
|
feminino: "Feminino"
|
|
8
8
|
};
|
|
9
|
+
var UfEnum = z.enum([
|
|
10
|
+
"AC",
|
|
11
|
+
"AL",
|
|
12
|
+
"AP",
|
|
13
|
+
"AM",
|
|
14
|
+
"BA",
|
|
15
|
+
"CE",
|
|
16
|
+
"DF",
|
|
17
|
+
"ES",
|
|
18
|
+
"GO",
|
|
19
|
+
"MA",
|
|
20
|
+
"MT",
|
|
21
|
+
"MS",
|
|
22
|
+
"MG",
|
|
23
|
+
"PA",
|
|
24
|
+
"PB",
|
|
25
|
+
"PR",
|
|
26
|
+
"PE",
|
|
27
|
+
"PI",
|
|
28
|
+
"RJ",
|
|
29
|
+
"RN",
|
|
30
|
+
"RS",
|
|
31
|
+
"RO",
|
|
32
|
+
"RR",
|
|
33
|
+
"SC",
|
|
34
|
+
"SP",
|
|
35
|
+
"SE",
|
|
36
|
+
"TO"
|
|
37
|
+
]);
|
|
38
|
+
var UfLabels = {
|
|
39
|
+
AC: "Acre",
|
|
40
|
+
AL: "Alagoas",
|
|
41
|
+
AP: "Amap\xE1",
|
|
42
|
+
AM: "Amazonas",
|
|
43
|
+
BA: "Bahia",
|
|
44
|
+
CE: "Cear\xE1",
|
|
45
|
+
DF: "Distrito Federal",
|
|
46
|
+
ES: "Esp\xEDrito Santo",
|
|
47
|
+
GO: "Goi\xE1s",
|
|
48
|
+
MA: "Maranh\xE3o",
|
|
49
|
+
MT: "Mato Grosso",
|
|
50
|
+
MS: "Mato Grosso do Sul",
|
|
51
|
+
MG: "Minas Gerais",
|
|
52
|
+
PA: "Par\xE1",
|
|
53
|
+
PB: "Para\xEDba",
|
|
54
|
+
PR: "Paran\xE1",
|
|
55
|
+
PE: "Pernambuco",
|
|
56
|
+
PI: "Piau\xED",
|
|
57
|
+
RJ: "Rio de Janeiro",
|
|
58
|
+
RN: "Rio Grande do Norte",
|
|
59
|
+
RS: "Rio Grande do Sul",
|
|
60
|
+
RO: "Rond\xF4nia",
|
|
61
|
+
RR: "Roraima",
|
|
62
|
+
SC: "Santa Catarina",
|
|
63
|
+
SP: "S\xE3o Paulo",
|
|
64
|
+
SE: "Sergipe",
|
|
65
|
+
TO: "Tocantins"
|
|
66
|
+
};
|
|
9
67
|
|
|
10
68
|
// src/domains/financing/enums/civil-status.ts
|
|
11
69
|
var CIVIL_STATUS_REQUIRING_PARTNER = ["casado"];
|
|
@@ -213,4 +271,4 @@ var formalizationExtras = {
|
|
|
213
271
|
rd_re_insurance_toggle: z.boolean().default(true)
|
|
214
272
|
};
|
|
215
273
|
|
|
216
|
-
export { CIVIL_STATUS_REQUIRING_PARTNER, OCCUPATIONS_REQUIRING_CNPJ, PARTNER_FIELDS, SexEnum, SexLabels, applyPfRefinements, applyPjRefinements, birthDateSchema, cepSchema, cnpjSchema, cpfCnpjSchema, cpfSchema, currencySchema, dateDMYSchema, emailSchema, formalizationExtras, integerField, issueDateSchema, numberField, phoneBRSchema, textField };
|
|
274
|
+
export { CIVIL_STATUS_REQUIRING_PARTNER, OCCUPATIONS_REQUIRING_CNPJ, PARTNER_FIELDS, SexEnum, SexLabels, UfEnum, UfLabels, applyPfRefinements, applyPjRefinements, birthDateSchema, cepSchema, cnpjSchema, cpfCnpjSchema, cpfSchema, currencySchema, dateDMYSchema, emailSchema, formalizationExtras, integerField, issueDateSchema, numberField, phoneBRSchema, textField };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
-
import { formalizationExtras, currencySchema, dateDMYSchema, issueDateSchema, integerField, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema, applyPjRefinements } from './chunk-
|
|
2
|
+
import { formalizationExtras, UfEnum, currencySchema, dateDMYSchema, issueDateSchema, integerField, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema, applyPjRefinements } from './chunk-HBTFOSJU.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var bvPjObject = z.object({
|
|
@@ -20,7 +20,7 @@ var bvPjObject = z.object({
|
|
|
20
20
|
legal_nature: textField(),
|
|
21
21
|
city: textField(),
|
|
22
22
|
economic_activity_group: textField(),
|
|
23
|
-
state:
|
|
23
|
+
state: UfEnum,
|
|
24
24
|
economic_activity: textField(),
|
|
25
25
|
monthly_income: currencySchema,
|
|
26
26
|
capital_social: currencySchema
|
|
@@ -40,7 +40,7 @@ var bvPjObject = z.object({
|
|
|
40
40
|
district: textField(),
|
|
41
41
|
sex: SexEnum,
|
|
42
42
|
city: textField(),
|
|
43
|
-
state:
|
|
43
|
+
state: UfEnum,
|
|
44
44
|
civil_status: textField(),
|
|
45
45
|
residence_situation: textField(),
|
|
46
46
|
office: textField(),
|
|
@@ -48,14 +48,14 @@ var bvPjObject = z.object({
|
|
|
48
48
|
type_doc: DocumentTypeEnum,
|
|
49
49
|
doc: textField(),
|
|
50
50
|
issuing_body: textField(),
|
|
51
|
-
uf_issuing_body:
|
|
51
|
+
uf_issuing_body: UfEnum,
|
|
52
52
|
doc_issue_date: issueDateSchema,
|
|
53
53
|
doc_expiration_date: dateDMYSchema,
|
|
54
54
|
mother_name: textField(),
|
|
55
55
|
monthly_income: currencySchema,
|
|
56
56
|
patrimony: currencySchema,
|
|
57
57
|
naturalness: textField(),
|
|
58
|
-
uf_naturalness:
|
|
58
|
+
uf_naturalness: UfEnum,
|
|
59
59
|
nationality: textField(),
|
|
60
60
|
pep_relationship: textField()
|
|
61
61
|
}).strict()
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-HBTFOSJU.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var credito77PfObject = z.object({
|
|
@@ -17,7 +17,7 @@ var credito77PfObject = z.object({
|
|
|
17
17
|
energy_account_in_requester_name: textField(),
|
|
18
18
|
city: textField(),
|
|
19
19
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
20
|
-
state:
|
|
20
|
+
state: UfEnum,
|
|
21
21
|
nationality: textField(),
|
|
22
22
|
cellphone: phoneBRSchema,
|
|
23
23
|
email: emailSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-HBTFOSJU.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var alfaPfObject = z.object({
|
|
@@ -17,7 +17,7 @@ var alfaPfObject = z.object({
|
|
|
17
17
|
energy_account_in_requester_name: textField(),
|
|
18
18
|
city: textField(),
|
|
19
19
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
20
|
-
state:
|
|
20
|
+
state: UfEnum,
|
|
21
21
|
nationality: textField(),
|
|
22
22
|
cellphone: phoneBRSchema,
|
|
23
23
|
email: emailSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
-
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, cepSchema, birthDateSchema, cpfSchema,
|
|
2
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, cepSchema, birthDateSchema, cpfSchema, issueDateSchema, textField, currencySchema, dateDMYSchema, integerField, cnpjSchema, applyPjRefinements } from './chunk-HBTFOSJU.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var unifiedPjObject = z.object({
|
|
@@ -16,7 +16,7 @@ var unifiedPjObject = z.object({
|
|
|
16
16
|
district: textField(),
|
|
17
17
|
legal_nature: textField(),
|
|
18
18
|
city: textField(),
|
|
19
|
-
state:
|
|
19
|
+
state: UfEnum,
|
|
20
20
|
cep: cepSchema,
|
|
21
21
|
economic_activity: textField().optional(),
|
|
22
22
|
economic_activity_group: textField().optional(),
|
|
@@ -39,7 +39,7 @@ var unifiedPjObject = z.object({
|
|
|
39
39
|
district: textField(),
|
|
40
40
|
sex: SexEnum,
|
|
41
41
|
city: textField(),
|
|
42
|
-
state:
|
|
42
|
+
state: UfEnum,
|
|
43
43
|
mother_name: textField(),
|
|
44
44
|
nationality: textField(),
|
|
45
45
|
office: textField().optional(),
|
|
@@ -50,16 +50,16 @@ var unifiedPjObject = z.object({
|
|
|
50
50
|
type_doc: DocumentTypeEnum.optional(),
|
|
51
51
|
doc: textField().optional(),
|
|
52
52
|
issuing_body: textField().optional(),
|
|
53
|
-
uf_issuing_body:
|
|
53
|
+
uf_issuing_body: UfEnum.optional(),
|
|
54
54
|
doc_issue_date: issueDateSchema.optional(),
|
|
55
55
|
doc_expiration_date: dateDMYSchema.optional(),
|
|
56
56
|
monthly_income: currencySchema.optional(),
|
|
57
57
|
patrimony: currencySchema.optional(),
|
|
58
58
|
naturalness: textField().optional(),
|
|
59
|
-
uf_naturalness:
|
|
59
|
+
uf_naturalness: UfEnum.optional(),
|
|
60
60
|
pep_relationship: textField().optional(),
|
|
61
61
|
entry_date: issueDateSchema.optional(),
|
|
62
|
-
doc_issuance_uf:
|
|
62
|
+
doc_issuance_uf: UfEnum.optional()
|
|
63
63
|
}).strict()
|
|
64
64
|
).optional(),
|
|
65
65
|
financing_company_qsa: z.array(
|
|
@@ -76,7 +76,7 @@ var unifiedPjObject = z.object({
|
|
|
76
76
|
district: textField(),
|
|
77
77
|
sex: SexEnum,
|
|
78
78
|
city: textField(),
|
|
79
|
-
state:
|
|
79
|
+
state: UfEnum,
|
|
80
80
|
mother_name: textField(),
|
|
81
81
|
nationality: textField(),
|
|
82
82
|
office: textField().optional(),
|
|
@@ -87,16 +87,16 @@ var unifiedPjObject = z.object({
|
|
|
87
87
|
type_doc: DocumentTypeEnum.optional(),
|
|
88
88
|
doc: textField().optional(),
|
|
89
89
|
issuing_body: textField().optional(),
|
|
90
|
-
uf_issuing_body:
|
|
90
|
+
uf_issuing_body: UfEnum.optional(),
|
|
91
91
|
doc_issue_date: issueDateSchema.optional(),
|
|
92
92
|
doc_expiration_date: dateDMYSchema.optional(),
|
|
93
93
|
monthly_income: currencySchema.optional(),
|
|
94
94
|
patrimony: currencySchema.optional(),
|
|
95
95
|
naturalness: textField().optional(),
|
|
96
|
-
uf_naturalness:
|
|
96
|
+
uf_naturalness: UfEnum.optional(),
|
|
97
97
|
pep_relationship: textField().optional(),
|
|
98
98
|
entry_date: issueDateSchema.optional(),
|
|
99
|
-
doc_issuance_uf:
|
|
99
|
+
doc_issuance_uf: UfEnum.optional()
|
|
100
100
|
}).strict()
|
|
101
101
|
).optional()
|
|
102
102
|
});
|