@77sol-lab/form-schemas 1.6.1 → 2.0.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-57OTHRRU.mjs → chunk-26RFB4ZS.mjs} +4 -4
- package/{chunk-L4XSQTZM.mjs → chunk-2JHLFEU7.mjs} +4 -4
- package/{chunk-5ZJ6TZRB.mjs → chunk-64RQV46Z.mjs} +4 -4
- package/{chunk-K6JM7OJP.mjs → chunk-6EBUH4MK.mjs} +4 -4
- package/{chunk-7QXG7J4P.mjs → chunk-6U3W3WGJ.mjs} +4 -4
- package/{chunk-TL5EG2ET.mjs → chunk-AFF2ESHC.mjs} +4 -4
- package/{chunk-HSUS7XOX.mjs → chunk-ARSY3NB7.mjs} +1 -1
- package/{chunk-26KEKEEF.mjs → chunk-DKIUSETH.mjs} +73 -24
- package/{chunk-LH3JE57U.mjs → chunk-DQ6ZS36G.mjs} +3 -3
- package/{chunk-J5YKKOCK.mjs → chunk-DRLPCEVY.mjs} +3 -3
- package/{chunk-JQLNKJFR.mjs → chunk-DWOFPI2A.mjs} +4 -4
- package/{chunk-XA4SJNUV.mjs → chunk-E5SPEAZO.mjs} +4 -4
- package/{chunk-VYVXCUYH.mjs → chunk-ECQBM5TA.mjs} +3 -3
- package/{chunk-6RYVAKNX.mjs → chunk-FBL2YW6F.mjs} +35 -37
- package/{chunk-IV6UYEKI.mjs → chunk-FGNV6RT5.mjs} +4 -4
- package/{chunk-WVDZZKR2.mjs → chunk-IVT2ZFVR.mjs} +3 -3
- package/{chunk-7L7ADQAE.mjs → chunk-J4BYCQDX.mjs} +3 -3
- package/{chunk-5F3IUHOW.mjs → chunk-KIN5ASCQ.mjs} +3 -3
- package/{chunk-6NX5BRIF.mjs → chunk-KOB7CHDM.mjs} +3 -3
- package/{chunk-PZ6JDNAK.mjs → chunk-LCD7MY35.mjs} +4 -4
- package/{chunk-SSMQ7WOS.mjs → chunk-LNPPAYB6.mjs} +4 -4
- package/{chunk-DAB6IBM6.mjs → chunk-LXNKU6Q5.mjs} +4 -4
- package/{chunk-YS6GLH4U.mjs → chunk-MKN3T4EC.mjs} +3 -3
- package/{chunk-BJZ4B43H.mjs → chunk-NQIIQVGK.mjs} +3 -3
- package/{chunk-6CTXET42.mjs → chunk-P5QT636Q.mjs} +3 -3
- package/{chunk-4LRATW5F.mjs → chunk-QFCBUDTN.mjs} +4 -4
- package/{chunk-H245MSBR.mjs → chunk-QGHAWR7N.mjs} +3 -3
- package/{chunk-U3WXTP5Y.mjs → chunk-QSMMXRNI.mjs} +4 -4
- package/{chunk-7OBG2GEG.mjs → chunk-QZ2BTLCH.mjs} +5 -5
- package/{chunk-4NVLC5QJ.mjs → chunk-TGDPLYN3.mjs} +4 -4
- package/{chunk-XKMD2F5C.mjs → chunk-VGBIJ7LQ.mjs} +4 -4
- package/{chunk-XOTWCRWX.mjs → chunk-WVQ2LFIN.mjs} +4 -4
- package/{chunk-2BJWG5HH.mjs → chunk-Z6PA77SA.mjs} +4 -4
- package/financing/formalization/index.d.cts +4663 -19403
- package/financing/formalization/index.d.ts +4663 -19403
- package/financing/formalization/index.js +136 -87
- package/financing/formalization/index.mjs +33 -33
- package/financing/formalization/schemas/AlfaPFSchema.d.cts +105 -393
- package/financing/formalization/schemas/AlfaPFSchema.d.ts +105 -393
- package/financing/formalization/schemas/AlfaPFSchema.js +59 -25
- package/financing/formalization/schemas/AlfaPFSchema.mjs +3 -3
- package/financing/formalization/schemas/AlfaPJSchema.d.cts +115 -617
- package/financing/formalization/schemas/AlfaPJSchema.d.ts +115 -617
- package/financing/formalization/schemas/AlfaPJSchema.js +117 -22
- package/financing/formalization/schemas/AlfaPJSchema.mjs +2 -2
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.d.cts +105 -393
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.d.ts +105 -393
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.js +59 -25
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.mjs +3 -3
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.d.cts +115 -617
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.d.ts +115 -617
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.js +117 -22
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.mjs +2 -2
- package/financing/formalization/schemas/BtgPFSchema.d.cts +105 -393
- package/financing/formalization/schemas/BtgPFSchema.d.ts +105 -393
- package/financing/formalization/schemas/BtgPFSchema.js +59 -25
- package/financing/formalization/schemas/BtgPFSchema.mjs +3 -3
- package/financing/formalization/schemas/BtgPJSchema.d.cts +143 -743
- package/financing/formalization/schemas/BtgPJSchema.d.ts +143 -743
- package/financing/formalization/schemas/BtgPJSchema.js +117 -22
- package/financing/formalization/schemas/BtgPJSchema.mjs +3 -3
- package/financing/formalization/schemas/BvPFSchema.d.cts +121 -473
- package/financing/formalization/schemas/BvPFSchema.d.ts +121 -473
- package/financing/formalization/schemas/BvPFSchema.js +59 -25
- package/financing/formalization/schemas/BvPFSchema.mjs +3 -3
- package/financing/formalization/schemas/BvPJSchema.d.cts +145 -815
- package/financing/formalization/schemas/BvPJSchema.d.ts +145 -815
- package/financing/formalization/schemas/BvPJSchema.js +117 -22
- package/financing/formalization/schemas/BvPJSchema.mjs +3 -3
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.d.cts +105 -393
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.d.ts +105 -393
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.js +59 -25
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.mjs +3 -3
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.d.cts +115 -617
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.d.ts +115 -617
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.js +117 -22
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.mjs +2 -2
- package/financing/formalization/schemas/CashMePFSchema.d.cts +105 -393
- package/financing/formalization/schemas/CashMePFSchema.d.ts +105 -393
- package/financing/formalization/schemas/CashMePFSchema.js +59 -25
- package/financing/formalization/schemas/CashMePFSchema.mjs +3 -3
- package/financing/formalization/schemas/CashMePJSchema.d.cts +115 -617
- package/financing/formalization/schemas/CashMePJSchema.d.ts +115 -617
- package/financing/formalization/schemas/CashMePJSchema.js +117 -22
- package/financing/formalization/schemas/CashMePJSchema.mjs +2 -2
- package/financing/formalization/schemas/Credito77PFSchema.d.cts +105 -393
- package/financing/formalization/schemas/Credito77PFSchema.d.ts +105 -393
- package/financing/formalization/schemas/Credito77PFSchema.js +59 -25
- package/financing/formalization/schemas/Credito77PFSchema.mjs +3 -3
- package/financing/formalization/schemas/Credito77PJSchema.d.cts +115 -617
- package/financing/formalization/schemas/Credito77PJSchema.d.ts +115 -617
- package/financing/formalization/schemas/Credito77PJSchema.js +117 -22
- package/financing/formalization/schemas/Credito77PJSchema.mjs +2 -2
- package/financing/formalization/schemas/EosPFSchema.d.cts +105 -393
- package/financing/formalization/schemas/EosPFSchema.d.ts +105 -393
- package/financing/formalization/schemas/EosPFSchema.js +59 -25
- package/financing/formalization/schemas/EosPFSchema.mjs +3 -3
- package/financing/formalization/schemas/EosPJSchema.d.cts +115 -617
- package/financing/formalization/schemas/EosPJSchema.d.ts +115 -617
- package/financing/formalization/schemas/EosPJSchema.js +117 -22
- package/financing/formalization/schemas/EosPJSchema.mjs +2 -2
- package/financing/formalization/schemas/HdtEnergyPFSchema.d.cts +105 -393
- package/financing/formalization/schemas/HdtEnergyPFSchema.d.ts +105 -393
- package/financing/formalization/schemas/HdtEnergyPFSchema.js +59 -25
- package/financing/formalization/schemas/HdtEnergyPFSchema.mjs +3 -3
- package/financing/formalization/schemas/HdtEnergyPJSchema.d.cts +115 -617
- package/financing/formalization/schemas/HdtEnergyPJSchema.d.ts +115 -617
- package/financing/formalization/schemas/HdtEnergyPJSchema.js +117 -22
- package/financing/formalization/schemas/HdtEnergyPJSchema.mjs +2 -2
- package/financing/formalization/schemas/LosangoPFSchema.d.cts +105 -393
- package/financing/formalization/schemas/LosangoPFSchema.d.ts +105 -393
- package/financing/formalization/schemas/LosangoPFSchema.js +59 -25
- package/financing/formalization/schemas/LosangoPFSchema.mjs +3 -3
- package/financing/formalization/schemas/LosangoPJSchema.d.cts +115 -617
- package/financing/formalization/schemas/LosangoPJSchema.d.ts +115 -617
- package/financing/formalization/schemas/LosangoPJSchema.js +117 -22
- package/financing/formalization/schemas/LosangoPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SafraPFSchema.d.cts +105 -393
- package/financing/formalization/schemas/SafraPFSchema.d.ts +105 -393
- package/financing/formalization/schemas/SafraPFSchema.js +59 -25
- package/financing/formalization/schemas/SafraPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SafraPJSchema.d.cts +115 -617
- package/financing/formalization/schemas/SafraPJSchema.d.ts +115 -617
- package/financing/formalization/schemas/SafraPJSchema.js +117 -22
- package/financing/formalization/schemas/SafraPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SantanderPFSchema.d.cts +105 -393
- package/financing/formalization/schemas/SantanderPFSchema.d.ts +105 -393
- package/financing/formalization/schemas/SantanderPFSchema.js +59 -25
- package/financing/formalization/schemas/SantanderPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SantanderPJSchema.d.cts +115 -617
- package/financing/formalization/schemas/SantanderPJSchema.d.ts +115 -617
- package/financing/formalization/schemas/SantanderPJSchema.js +117 -22
- package/financing/formalization/schemas/SantanderPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SolAgoraPFSchema.d.cts +105 -393
- package/financing/formalization/schemas/SolAgoraPFSchema.d.ts +105 -393
- package/financing/formalization/schemas/SolAgoraPFSchema.js +59 -25
- package/financing/formalization/schemas/SolAgoraPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SolAgoraPJSchema.d.cts +141 -721
- package/financing/formalization/schemas/SolAgoraPJSchema.d.ts +141 -721
- package/financing/formalization/schemas/SolAgoraPJSchema.js +117 -22
- package/financing/formalization/schemas/SolAgoraPJSchema.mjs +3 -3
- package/financing/formalization/schemas/SolfacilPFSchema.d.cts +105 -393
- package/financing/formalization/schemas/SolfacilPFSchema.d.ts +105 -393
- package/financing/formalization/schemas/SolfacilPFSchema.js +59 -25
- package/financing/formalization/schemas/SolfacilPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SolfacilPJSchema.d.cts +127 -675
- package/financing/formalization/schemas/SolfacilPJSchema.d.ts +127 -675
- package/financing/formalization/schemas/SolfacilPJSchema.js +117 -22
- package/financing/formalization/schemas/SolfacilPJSchema.mjs +2 -2
- package/financing/formalization/schemas/UnifiedPFSchema.d.cts +167 -539
- package/financing/formalization/schemas/UnifiedPFSchema.d.ts +167 -539
- package/financing/formalization/schemas/UnifiedPFSchema.js +59 -25
- package/financing/formalization/schemas/UnifiedPFSchema.mjs +3 -3
- package/financing/formalization/schemas/UnifiedPJSchema.d.cts +219 -1223
- package/financing/formalization/schemas/UnifiedPJSchema.d.ts +219 -1223
- package/financing/formalization/schemas/UnifiedPJSchema.js +118 -23
- package/financing/formalization/schemas/UnifiedPJSchema.mjs +3 -3
- package/index.d.cts +2 -1
- package/index.d.ts +2 -1
- package/index.js +136 -87
- package/index.mjs +33 -33
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema,
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, NationalityEnum, NATIONALITY_BRAZIL, textField, currencySchema, cnpjSchema, issueDateSchema, pjRefinement } from './chunk-DKIUSETH.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var eosPjObject = z.object({
|
|
@@ -38,10 +38,10 @@ var eosPjObject = z.object({
|
|
|
38
38
|
state: UfEnum,
|
|
39
39
|
office: textField(),
|
|
40
40
|
mother_name: textField(),
|
|
41
|
-
nationality:
|
|
41
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
42
42
|
}).strict()
|
|
43
43
|
)
|
|
44
44
|
});
|
|
45
|
-
var eosPjSchema = eosPjObject.strict().
|
|
45
|
+
var eosPjSchema = eosPjObject.strict().check(pjRefinement);
|
|
46
46
|
|
|
47
47
|
export { eosPjObject, eosPjSchema };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { formalizationExtras, UfEnum, currencySchema, dateDMYSchema, issueDateSchema, integerField, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema,
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-ARSY3NB7.mjs';
|
|
2
|
+
import { formalizationExtras, UfEnum, currencySchema, dateDMYSchema, issueDateSchema, integerField, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, NationalityEnum, NATIONALITY_BRAZIL, cnpjSchema, pjRefinement } from './chunk-DKIUSETH.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var bvPjObject = z.object({
|
|
@@ -56,11 +56,11 @@ var bvPjObject = z.object({
|
|
|
56
56
|
patrimony: currencySchema,
|
|
57
57
|
naturalness: textField(),
|
|
58
58
|
uf_naturalness: UfEnum,
|
|
59
|
-
nationality:
|
|
59
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
60
60
|
pep_relationship: textField()
|
|
61
61
|
}).strict()
|
|
62
62
|
)
|
|
63
63
|
});
|
|
64
|
-
var bvPjSchema = bvPjObject.strict().
|
|
64
|
+
var bvPjSchema = bvPjObject.strict().check(pjRefinement);
|
|
65
65
|
|
|
66
66
|
export { bvPjObject, bvPjSchema };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema,
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-ARSY3NB7.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, NationalityEnum, NATIONALITY_BRAZIL, cpfCnpjSchema, pfRefinement } from './chunk-DKIUSETH.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var solAgoraPfObject = z.object({
|
|
@@ -18,7 +18,7 @@ var solAgoraPfObject = z.object({
|
|
|
18
18
|
city: textField(),
|
|
19
19
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
20
20
|
state: UfEnum,
|
|
21
|
-
nationality:
|
|
21
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
22
22
|
cellphone: phoneBRSchema,
|
|
23
23
|
email: emailSchema,
|
|
24
24
|
monthly_income: currencySchema,
|
|
@@ -28,6 +28,6 @@ var solAgoraPfObject = z.object({
|
|
|
28
28
|
issuing_body: textField(6),
|
|
29
29
|
doc_issue_date: issueDateSchema
|
|
30
30
|
});
|
|
31
|
-
var solAgoraPfSchema = solAgoraPfObject.strict().
|
|
31
|
+
var solAgoraPfSchema = solAgoraPfObject.strict().check(pfRefinement);
|
|
32
32
|
|
|
33
33
|
export { solAgoraPfObject, solAgoraPfSchema };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema,
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-ARSY3NB7.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, NationalityEnum, NATIONALITY_BRAZIL, cpfCnpjSchema, pfRefinement } from './chunk-DKIUSETH.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var credito77PfObject = z.object({
|
|
@@ -18,7 +18,7 @@ var credito77PfObject = z.object({
|
|
|
18
18
|
city: textField(),
|
|
19
19
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
20
20
|
state: UfEnum,
|
|
21
|
-
nationality:
|
|
21
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
22
22
|
cellphone: phoneBRSchema,
|
|
23
23
|
email: emailSchema,
|
|
24
24
|
monthly_income: currencySchema,
|
|
@@ -28,6 +28,6 @@ var credito77PfObject = z.object({
|
|
|
28
28
|
issuing_body: textField(6),
|
|
29
29
|
doc_issue_date: issueDateSchema
|
|
30
30
|
});
|
|
31
|
-
var credito77PfSchema = credito77PfObject.strict().
|
|
31
|
+
var credito77PfSchema = credito77PfObject.strict().check(pfRefinement);
|
|
32
32
|
|
|
33
33
|
export { credito77PfObject, credito77PfSchema };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema,
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, NationalityEnum, NATIONALITY_BRAZIL, textField, currencySchema, cnpjSchema, issueDateSchema, pjRefinement } from './chunk-DKIUSETH.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var santanderPjObject = z.object({
|
|
@@ -38,10 +38,10 @@ var santanderPjObject = z.object({
|
|
|
38
38
|
state: UfEnum,
|
|
39
39
|
office: textField(),
|
|
40
40
|
mother_name: textField(),
|
|
41
|
-
nationality:
|
|
41
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
42
42
|
}).strict()
|
|
43
43
|
)
|
|
44
44
|
});
|
|
45
|
-
var santanderPjSchema = santanderPjObject.strict().
|
|
45
|
+
var santanderPjSchema = santanderPjObject.strict().check(pjRefinement);
|
|
46
46
|
|
|
47
47
|
export { santanderPjObject, santanderPjSchema };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema,
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, NationalityEnum, NATIONALITY_BRAZIL, textField, currencySchema, cnpjSchema, issueDateSchema, pjRefinement } from './chunk-DKIUSETH.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var alfaPjObject = z.object({
|
|
@@ -38,10 +38,10 @@ var alfaPjObject = z.object({
|
|
|
38
38
|
state: UfEnum,
|
|
39
39
|
office: textField(),
|
|
40
40
|
mother_name: textField(),
|
|
41
|
-
nationality:
|
|
41
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
42
42
|
}).strict()
|
|
43
43
|
)
|
|
44
44
|
});
|
|
45
|
-
var alfaPjSchema = alfaPjObject.strict().
|
|
45
|
+
var alfaPjSchema = alfaPjObject.strict().check(pjRefinement);
|
|
46
46
|
|
|
47
47
|
export { alfaPjObject, alfaPjSchema };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema,
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, NationalityEnum, NATIONALITY_BRAZIL, textField, currencySchema, cnpjSchema, issueDateSchema, pjRefinement } from './chunk-DKIUSETH.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var hdtEnergyPjObject = z.object({
|
|
@@ -38,10 +38,10 @@ var hdtEnergyPjObject = z.object({
|
|
|
38
38
|
state: UfEnum,
|
|
39
39
|
office: textField(),
|
|
40
40
|
mother_name: textField(),
|
|
41
|
-
nationality:
|
|
41
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
42
42
|
}).strict()
|
|
43
43
|
)
|
|
44
44
|
});
|
|
45
|
-
var hdtEnergyPjSchema = hdtEnergyPjObject.strict().
|
|
45
|
+
var hdtEnergyPjSchema = hdtEnergyPjObject.strict().check(pjRefinement);
|
|
46
46
|
|
|
47
47
|
export { hdtEnergyPjObject, hdtEnergyPjSchema };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema,
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-ARSY3NB7.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, NationalityEnum, NATIONALITY_BRAZIL, cpfCnpjSchema, pfRefinement } from './chunk-DKIUSETH.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var btgPfObject = z.object({
|
|
@@ -18,7 +18,7 @@ var btgPfObject = z.object({
|
|
|
18
18
|
city: textField(),
|
|
19
19
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
20
20
|
state: UfEnum,
|
|
21
|
-
nationality:
|
|
21
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
22
22
|
cellphone: phoneBRSchema,
|
|
23
23
|
email: emailSchema,
|
|
24
24
|
monthly_income: currencySchema,
|
|
@@ -28,6 +28,6 @@ var btgPfObject = z.object({
|
|
|
28
28
|
issuing_body: textField(6),
|
|
29
29
|
doc_issue_date: issueDateSchema
|
|
30
30
|
});
|
|
31
|
-
var btgPfSchema = btgPfObject.strict().
|
|
31
|
+
var btgPfSchema = btgPfObject.strict().check(pfRefinement);
|
|
32
32
|
|
|
33
33
|
export { btgPfObject, btgPfSchema };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema,
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, NationalityEnum, NATIONALITY_BRAZIL, textField, currencySchema, cnpjSchema, issueDateSchema, pjRefinement } from './chunk-DKIUSETH.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var bancoDoBrasilPjObject = z.object({
|
|
@@ -38,10 +38,10 @@ var bancoDoBrasilPjObject = z.object({
|
|
|
38
38
|
state: UfEnum,
|
|
39
39
|
office: textField(),
|
|
40
40
|
mother_name: textField(),
|
|
41
|
-
nationality:
|
|
41
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
42
42
|
}).strict()
|
|
43
43
|
)
|
|
44
44
|
});
|
|
45
|
-
var bancoDoBrasilPjSchema = bancoDoBrasilPjObject.strict().
|
|
45
|
+
var bancoDoBrasilPjSchema = bancoDoBrasilPjObject.strict().check(pjRefinement);
|
|
46
46
|
|
|
47
47
|
export { bancoDoBrasilPjObject, bancoDoBrasilPjSchema };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema,
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-ARSY3NB7.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, NationalityEnum, NATIONALITY_BRAZIL, cpfCnpjSchema, pfRefinement } from './chunk-DKIUSETH.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var eosPfObject = z.object({
|
|
@@ -18,7 +18,7 @@ var eosPfObject = z.object({
|
|
|
18
18
|
city: textField(),
|
|
19
19
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
20
20
|
state: UfEnum,
|
|
21
|
-
nationality:
|
|
21
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
22
22
|
cellphone: phoneBRSchema,
|
|
23
23
|
email: emailSchema,
|
|
24
24
|
monthly_income: currencySchema,
|
|
@@ -28,6 +28,6 @@ var eosPfObject = z.object({
|
|
|
28
28
|
issuing_body: textField(6),
|
|
29
29
|
doc_issue_date: issueDateSchema
|
|
30
30
|
});
|
|
31
|
-
var eosPfSchema = eosPfObject.strict().
|
|
31
|
+
var eosPfSchema = eosPfObject.strict().check(pfRefinement);
|
|
32
32
|
|
|
33
33
|
export { eosPfObject, eosPfSchema };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, cepSchema, birthDateSchema, cpfSchema, issueDateSchema, textField, currencySchema, dateDMYSchema, integerField, cnpjSchema,
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-ARSY3NB7.mjs';
|
|
2
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, cepSchema, birthDateSchema, cpfSchema, issueDateSchema, textField, currencySchema, dateDMYSchema, integerField, NationalityEnum, NATIONALITY_BRAZIL, cnpjSchema, pjRefinement } from './chunk-DKIUSETH.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var unifiedPjObject = z.object({
|
|
@@ -41,7 +41,7 @@ var unifiedPjObject = z.object({
|
|
|
41
41
|
city: textField(),
|
|
42
42
|
state: UfEnum,
|
|
43
43
|
mother_name: textField(),
|
|
44
|
-
nationality:
|
|
44
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
45
45
|
office: textField().optional(),
|
|
46
46
|
phone: phoneBRSchema.optional(),
|
|
47
47
|
civil_status: textField().optional(),
|
|
@@ -78,7 +78,7 @@ var unifiedPjObject = z.object({
|
|
|
78
78
|
city: textField(),
|
|
79
79
|
state: UfEnum,
|
|
80
80
|
mother_name: textField(),
|
|
81
|
-
nationality:
|
|
81
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
82
82
|
office: textField().optional(),
|
|
83
83
|
phone: phoneBRSchema.optional(),
|
|
84
84
|
civil_status: textField().optional(),
|
|
@@ -100,6 +100,6 @@ var unifiedPjObject = z.object({
|
|
|
100
100
|
}).strict()
|
|
101
101
|
).optional()
|
|
102
102
|
});
|
|
103
|
-
var unifiedPjSchema = unifiedPjObject.strict().
|
|
103
|
+
var unifiedPjSchema = unifiedPjObject.strict().check(pjRefinement);
|
|
104
104
|
|
|
105
105
|
export { unifiedPjObject, unifiedPjSchema };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { enumField, formalizationExtras, UfEnum, issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, textField, dateDMYSchema, cnpjSchema, numberField, integerField, cpfCnpjSchema,
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-ARSY3NB7.mjs';
|
|
2
|
+
import { enumField, formalizationExtras, UfEnum, issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, textField, dateDMYSchema, cnpjSchema, numberField, integerField, NationalityEnum, NATIONALITY_BRAZIL, cpfCnpjSchema, pfRefinement } from './chunk-DKIUSETH.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
// src/shared/enums/nature-of-occupation-type.ts
|
|
@@ -82,7 +82,7 @@ var unifiedPfObject = z.object({
|
|
|
82
82
|
city: textField(),
|
|
83
83
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
84
84
|
state: UfEnum,
|
|
85
|
-
nationality:
|
|
85
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
86
86
|
cellphone: phoneBRSchema,
|
|
87
87
|
email: emailSchema,
|
|
88
88
|
monthly_income: currencySchema,
|
|
@@ -113,6 +113,6 @@ var unifiedPfObject = z.object({
|
|
|
113
113
|
rural_area: textField(3).optional(),
|
|
114
114
|
...formalizationExtras
|
|
115
115
|
});
|
|
116
|
-
var unifiedPfSchema = unifiedPfObject.strict().
|
|
116
|
+
var unifiedPfSchema = unifiedPfObject.strict().check(pfRefinement);
|
|
117
117
|
|
|
118
118
|
export { CivilStatusLabels, CommunionRegimeLabels, NatureOfOccupationTypeLabels, ResidenceTypeLabels, YesOrNoLabels, unifiedPfObject, unifiedPfSchema };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema,
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-ARSY3NB7.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, NationalityEnum, NATIONALITY_BRAZIL, cpfCnpjSchema, pfRefinement } from './chunk-DKIUSETH.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var solfacilPfObject = z.object({
|
|
@@ -18,7 +18,7 @@ var solfacilPfObject = z.object({
|
|
|
18
18
|
city: textField(),
|
|
19
19
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
20
20
|
state: UfEnum,
|
|
21
|
-
nationality:
|
|
21
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
22
22
|
cellphone: phoneBRSchema,
|
|
23
23
|
email: emailSchema,
|
|
24
24
|
monthly_income: currencySchema,
|
|
@@ -28,6 +28,6 @@ var solfacilPfObject = z.object({
|
|
|
28
28
|
issuing_body: textField(6),
|
|
29
29
|
doc_issue_date: issueDateSchema
|
|
30
30
|
});
|
|
31
|
-
var solfacilPfSchema = solfacilPfObject.strict().
|
|
31
|
+
var solfacilPfSchema = solfacilPfObject.strict().check(pfRefinement);
|
|
32
32
|
|
|
33
33
|
export { solfacilPfObject, solfacilPfSchema };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { formalizationExtras, UfEnum, currencySchema, dateDMYSchema, issueDateSchema, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema,
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-ARSY3NB7.mjs';
|
|
2
|
+
import { formalizationExtras, UfEnum, currencySchema, dateDMYSchema, issueDateSchema, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, NationalityEnum, NATIONALITY_BRAZIL, textField, cnpjSchema, pjRefinement } from './chunk-DKIUSETH.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var btgPjObject = z.object({
|
|
@@ -50,10 +50,10 @@ var btgPjObject = z.object({
|
|
|
50
50
|
monthly_income: currencySchema,
|
|
51
51
|
patrimony: currencySchema,
|
|
52
52
|
uf_naturalness: UfEnum,
|
|
53
|
-
nationality:
|
|
53
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL)
|
|
54
54
|
}).strict()
|
|
55
55
|
)
|
|
56
56
|
});
|
|
57
|
-
var btgPjSchema = btgPjObject.strict().
|
|
57
|
+
var btgPjSchema = btgPjObject.strict().check(pjRefinement);
|
|
58
58
|
|
|
59
59
|
export { btgPjObject, btgPjSchema };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema,
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-ARSY3NB7.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, NationalityEnum, NATIONALITY_BRAZIL, cpfCnpjSchema, pfRefinement } from './chunk-DKIUSETH.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var losangoPfObject = z.object({
|
|
@@ -18,7 +18,7 @@ var losangoPfObject = z.object({
|
|
|
18
18
|
city: textField(),
|
|
19
19
|
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
20
20
|
state: UfEnum,
|
|
21
|
-
nationality:
|
|
21
|
+
nationality: NationalityEnum.default(NATIONALITY_BRAZIL),
|
|
22
22
|
cellphone: phoneBRSchema,
|
|
23
23
|
email: emailSchema,
|
|
24
24
|
monthly_income: currencySchema,
|
|
@@ -28,6 +28,6 @@ var losangoPfObject = z.object({
|
|
|
28
28
|
issuing_body: textField(6),
|
|
29
29
|
doc_issue_date: issueDateSchema
|
|
30
30
|
});
|
|
31
|
-
var losangoPfSchema = losangoPfObject.strict().
|
|
31
|
+
var losangoPfSchema = losangoPfObject.strict().check(pfRefinement);
|
|
32
32
|
|
|
33
33
|
export { losangoPfObject, losangoPfSchema };
|