@77sol-lab/form-schemas 1.1.0 → 1.2.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-22ZUS7K3.mjs +47 -0
- package/{src/domains/financing/formalization/schemas/BtgPFSchema.ts → chunk-2TGZGHS3.mjs} +8 -21
- package/chunk-36GQASLI.mjs +47 -0
- package/chunk-6BD6V7EB.mjs +47 -0
- package/{src/domains/financing/formalization/schemas/EosPFSchema.ts → chunk-7LHQ27CS.mjs} +8 -21
- package/chunk-A2TV7TRP.mjs +6 -0
- package/chunk-B7RDVG4R.mjs +57 -0
- package/{src/domains/financing/formalization/schemas/BvPFSchema.ts → chunk-CY2EXD6C.mjs} +8 -22
- package/chunk-EFLW2FHX.mjs +47 -0
- package/chunk-FISPUQLP.mjs +59 -0
- package/chunk-FVIOZ4Q5.mjs +66 -0
- package/chunk-G3T562PC.mjs +47 -0
- package/chunk-GCYI6OFG.mjs +47 -0
- package/chunk-HKY6D6J5.mjs +33 -0
- package/chunk-KXEEZLMR.mjs +33 -0
- package/chunk-MWPQSGDD.mjs +47 -0
- package/chunk-NDJRJOFE.mjs +202 -0
- package/chunk-NL4VK2TF.mjs +33 -0
- package/chunk-ORO6OVTB.mjs +33 -0
- package/chunk-RMWCQ6YU.mjs +33 -0
- package/chunk-SBOQWT53.mjs +33 -0
- package/chunk-TCPW5MUT.mjs +33 -0
- package/chunk-TE64VI3I.mjs +47 -0
- package/chunk-TEL6EWAJ.mjs +47 -0
- package/chunk-TTHE6D3Y.mjs +33 -0
- package/chunk-TUYULPDF.mjs +47 -0
- package/chunk-UHMVAJYK.mjs +33 -0
- package/chunk-W3CNJVMM.mjs +33 -0
- package/chunk-WHVCW22E.mjs +33 -0
- package/chunk-X4DDGGAB.mjs +233 -0
- package/chunk-XUMC3TQU.mjs +52 -0
- package/financing/formalization/index.d.cts +18755 -0
- package/financing/formalization/index.d.ts +18755 -0
- package/financing/formalization/index.js +1444 -0
- package/financing/formalization/index.mjs +31 -0
- package/financing/formalization/schemas/AlfaPFSchema.d.cts +439 -0
- package/financing/formalization/schemas/AlfaPFSchema.d.ts +439 -0
- package/financing/formalization/schemas/AlfaPFSchema.js +236 -0
- package/financing/formalization/schemas/AlfaPFSchema.mjs +3 -0
- package/financing/formalization/schemas/AlfaPJSchema.d.cts +679 -0
- package/financing/formalization/schemas/AlfaPJSchema.d.ts +679 -0
- package/financing/formalization/schemas/AlfaPJSchema.js +210 -0
- package/financing/formalization/schemas/AlfaPJSchema.mjs +2 -0
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.d.cts +439 -0
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.d.ts +439 -0
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.js +236 -0
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.mjs +3 -0
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.d.cts +679 -0
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.d.ts +679 -0
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.js +210 -0
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.mjs +2 -0
- package/financing/formalization/schemas/BtgPFSchema.d.cts +439 -0
- package/financing/formalization/schemas/BtgPFSchema.d.ts +439 -0
- package/financing/formalization/schemas/BtgPFSchema.js +236 -0
- package/financing/formalization/schemas/BtgPFSchema.mjs +3 -0
- package/financing/formalization/schemas/BtgPJSchema.d.cts +811 -0
- package/financing/formalization/schemas/BtgPJSchema.d.ts +811 -0
- package/financing/formalization/schemas/BtgPJSchema.js +222 -0
- package/financing/formalization/schemas/BtgPJSchema.mjs +3 -0
- package/financing/formalization/schemas/BvPFSchema.d.cts +535 -0
- package/financing/formalization/schemas/BvPFSchema.d.ts +535 -0
- package/financing/formalization/schemas/BvPFSchema.js +248 -0
- package/financing/formalization/schemas/BvPFSchema.mjs +3 -0
- package/financing/formalization/schemas/BvPJSchema.d.cts +895 -0
- package/financing/formalization/schemas/BvPJSchema.d.ts +895 -0
- package/financing/formalization/schemas/BvPJSchema.js +229 -0
- package/financing/formalization/schemas/BvPJSchema.mjs +3 -0
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.d.cts +439 -0
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.d.ts +439 -0
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.js +236 -0
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.mjs +3 -0
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.d.cts +679 -0
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.d.ts +679 -0
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.js +210 -0
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.mjs +2 -0
- package/financing/formalization/schemas/CashMePFSchema.d.cts +439 -0
- package/financing/formalization/schemas/CashMePFSchema.d.ts +439 -0
- package/financing/formalization/schemas/CashMePFSchema.js +236 -0
- package/financing/formalization/schemas/CashMePFSchema.mjs +3 -0
- package/financing/formalization/schemas/CashMePJSchema.d.cts +679 -0
- package/financing/formalization/schemas/CashMePJSchema.d.ts +679 -0
- package/financing/formalization/schemas/CashMePJSchema.js +210 -0
- package/financing/formalization/schemas/CashMePJSchema.mjs +2 -0
- package/financing/formalization/schemas/Credito77PFSchema.d.cts +439 -0
- package/financing/formalization/schemas/Credito77PFSchema.d.ts +439 -0
- package/financing/formalization/schemas/Credito77PFSchema.js +236 -0
- package/financing/formalization/schemas/Credito77PFSchema.mjs +3 -0
- package/financing/formalization/schemas/Credito77PJSchema.d.cts +679 -0
- package/financing/formalization/schemas/Credito77PJSchema.d.ts +679 -0
- package/financing/formalization/schemas/Credito77PJSchema.js +210 -0
- package/financing/formalization/schemas/Credito77PJSchema.mjs +2 -0
- package/financing/formalization/schemas/EosPFSchema.d.cts +439 -0
- package/financing/formalization/schemas/EosPFSchema.d.ts +439 -0
- package/financing/formalization/schemas/EosPFSchema.js +236 -0
- package/financing/formalization/schemas/EosPFSchema.mjs +3 -0
- package/financing/formalization/schemas/EosPJSchema.d.cts +679 -0
- package/financing/formalization/schemas/EosPJSchema.d.ts +679 -0
- package/financing/formalization/schemas/EosPJSchema.js +210 -0
- package/financing/formalization/schemas/EosPJSchema.mjs +2 -0
- package/financing/formalization/schemas/HdtEnergyPFSchema.d.cts +439 -0
- package/financing/formalization/schemas/HdtEnergyPFSchema.d.ts +439 -0
- package/financing/formalization/schemas/HdtEnergyPFSchema.js +236 -0
- package/financing/formalization/schemas/HdtEnergyPFSchema.mjs +3 -0
- package/financing/formalization/schemas/HdtEnergyPJSchema.d.cts +679 -0
- package/financing/formalization/schemas/HdtEnergyPJSchema.d.ts +679 -0
- package/financing/formalization/schemas/HdtEnergyPJSchema.js +210 -0
- package/financing/formalization/schemas/HdtEnergyPJSchema.mjs +2 -0
- package/financing/formalization/schemas/LosangoPFSchema.d.cts +439 -0
- package/financing/formalization/schemas/LosangoPFSchema.d.ts +439 -0
- package/financing/formalization/schemas/LosangoPFSchema.js +236 -0
- package/financing/formalization/schemas/LosangoPFSchema.mjs +3 -0
- package/financing/formalization/schemas/LosangoPJSchema.d.cts +679 -0
- package/financing/formalization/schemas/LosangoPJSchema.d.ts +679 -0
- package/financing/formalization/schemas/LosangoPJSchema.js +210 -0
- package/financing/formalization/schemas/LosangoPJSchema.mjs +2 -0
- package/financing/formalization/schemas/SafraPFSchema.d.cts +439 -0
- package/financing/formalization/schemas/SafraPFSchema.d.ts +439 -0
- package/financing/formalization/schemas/SafraPFSchema.js +236 -0
- package/financing/formalization/schemas/SafraPFSchema.mjs +3 -0
- package/financing/formalization/schemas/SafraPJSchema.d.cts +679 -0
- package/financing/formalization/schemas/SafraPJSchema.d.ts +679 -0
- package/financing/formalization/schemas/SafraPJSchema.js +210 -0
- package/financing/formalization/schemas/SafraPJSchema.mjs +2 -0
- package/financing/formalization/schemas/SantanderPFSchema.d.cts +439 -0
- package/financing/formalization/schemas/SantanderPFSchema.d.ts +439 -0
- package/financing/formalization/schemas/SantanderPFSchema.js +236 -0
- package/financing/formalization/schemas/SantanderPFSchema.mjs +3 -0
- package/financing/formalization/schemas/SantanderPJSchema.d.cts +679 -0
- package/financing/formalization/schemas/SantanderPJSchema.d.ts +679 -0
- package/financing/formalization/schemas/SantanderPJSchema.js +210 -0
- package/financing/formalization/schemas/SantanderPJSchema.mjs +2 -0
- package/financing/formalization/schemas/SolAgoraPFSchema.d.cts +439 -0
- package/financing/formalization/schemas/SolAgoraPFSchema.d.ts +439 -0
- package/financing/formalization/schemas/SolAgoraPFSchema.js +236 -0
- package/financing/formalization/schemas/SolAgoraPFSchema.mjs +3 -0
- package/financing/formalization/schemas/SolAgoraPJSchema.d.cts +787 -0
- package/financing/formalization/schemas/SolAgoraPJSchema.d.ts +787 -0
- package/financing/formalization/schemas/SolAgoraPJSchema.js +220 -0
- package/financing/formalization/schemas/SolAgoraPJSchema.mjs +3 -0
- package/financing/formalization/schemas/SolfacilPFSchema.d.cts +439 -0
- package/financing/formalization/schemas/SolfacilPFSchema.d.ts +439 -0
- package/financing/formalization/schemas/SolfacilPFSchema.js +236 -0
- package/financing/formalization/schemas/SolfacilPFSchema.mjs +3 -0
- package/financing/formalization/schemas/SolfacilPJSchema.d.cts +739 -0
- package/financing/formalization/schemas/SolfacilPJSchema.d.ts +739 -0
- package/financing/formalization/schemas/SolfacilPJSchema.js +215 -0
- package/financing/formalization/schemas/SolfacilPJSchema.mjs +2 -0
- package/index.d.cts +2 -0
- package/index.d.ts +2 -0
- package/index.js +1444 -0
- package/index.mjs +31 -0
- package/package.json +21 -43
- package/README.md +0 -182
- package/src/domains/financing/enums/banks.ts +0 -22
- package/src/domains/financing/enums/index.ts +0 -2
- package/src/domains/financing/enums/occupation.ts +0 -2
- package/src/domains/financing/formalization/extras.ts +0 -21
- package/src/domains/financing/formalization/index.ts +0 -18
- package/src/domains/financing/formalization/refinements.ts +0 -70
- package/src/domains/financing/formalization/registry.ts +0 -153
- package/src/domains/financing/formalization/schemas/AlfaPFSchema.ts +0 -46
- package/src/domains/financing/formalization/schemas/AlfaPJSchema.ts +0 -65
- package/src/domains/financing/formalization/schemas/BancoDoBrasilPFSchema.ts +0 -46
- package/src/domains/financing/formalization/schemas/BancoDoBrasilPJSchema.ts +0 -65
- package/src/domains/financing/formalization/schemas/BtgPJSchema.ts +0 -77
- package/src/domains/financing/formalization/schemas/BvPJSchema.ts +0 -84
- package/src/domains/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.ts +0 -48
- package/src/domains/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.ts +0 -67
- package/src/domains/financing/formalization/schemas/CashMePFSchema.ts +0 -46
- package/src/domains/financing/formalization/schemas/CashMePJSchema.ts +0 -65
- package/src/domains/financing/formalization/schemas/Credito77PFSchema.ts +0 -46
- package/src/domains/financing/formalization/schemas/Credito77PJSchema.ts +0 -65
- package/src/domains/financing/formalization/schemas/EosPJSchema.ts +0 -65
- package/src/domains/financing/formalization/schemas/HdtEnergyPFSchema.ts +0 -46
- package/src/domains/financing/formalization/schemas/HdtEnergyPJSchema.ts +0 -65
- package/src/domains/financing/formalization/schemas/LosangoPFSchema.ts +0 -46
- package/src/domains/financing/formalization/schemas/LosangoPJSchema.ts +0 -65
- package/src/domains/financing/formalization/schemas/SafraPFSchema.ts +0 -46
- package/src/domains/financing/formalization/schemas/SafraPJSchema.ts +0 -65
- package/src/domains/financing/formalization/schemas/SantanderPFSchema.ts +0 -46
- package/src/domains/financing/formalization/schemas/SantanderPJSchema.ts +0 -65
- package/src/domains/financing/formalization/schemas/SolAgoraPFSchema.ts +0 -46
- package/src/domains/financing/formalization/schemas/SolAgoraPJSchema.ts +0 -75
- package/src/domains/financing/formalization/schemas/SolfacilPFSchema.ts +0 -46
- package/src/domains/financing/formalization/schemas/SolfacilPJSchema.ts +0 -70
- package/src/domains/financing/formalization/uiMeta.ts +0 -122
- package/src/domains/financing/index.ts +0 -1
- package/src/index.ts +0 -1
- package/src/shared/enums/document-type.ts +0 -4
- package/src/shared/enums/index.ts +0 -3
- package/src/shared/enums/nationality.ts +0 -2
- package/src/shared/enums/sex.ts +0 -4
- package/src/shared/fields/index.ts +0 -1
- package/src/shared/fields/primitives.ts +0 -32
- package/src/shared/regex/index.ts +0 -75
- package/src/shared/regex/patterns.ts +0 -15
- package/src/shared/regex/validators.spec.ts +0 -162
- package/src/shared/regex/validators.ts +0 -96
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-NDJRJOFE.mjs';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
|
|
4
|
+
var alfaPjObject = z.object({
|
|
5
|
+
...formalizationExtras,
|
|
6
|
+
financing_company: z.object({
|
|
7
|
+
corporate_name: textField(),
|
|
8
|
+
cep: cepSchema,
|
|
9
|
+
address: textField(),
|
|
10
|
+
foundation_date: issueDateSchema,
|
|
11
|
+
number: textField(),
|
|
12
|
+
cnpj: cnpjSchema,
|
|
13
|
+
email: emailSchema,
|
|
14
|
+
complement: textField(15).optional(),
|
|
15
|
+
phone: phoneBRSchema,
|
|
16
|
+
district: textField(),
|
|
17
|
+
legal_nature: textField(),
|
|
18
|
+
city: textField(),
|
|
19
|
+
economic_activity_group: textField(),
|
|
20
|
+
state: textField(2),
|
|
21
|
+
economic_activity: textField(),
|
|
22
|
+
monthly_income: currencySchema
|
|
23
|
+
}).strict(),
|
|
24
|
+
financing_company_guarantor: z.array(
|
|
25
|
+
z.object({
|
|
26
|
+
name: textField(),
|
|
27
|
+
cep: cepSchema,
|
|
28
|
+
cpf: cpfSchema,
|
|
29
|
+
address: textField(),
|
|
30
|
+
birth_date: birthDateSchema,
|
|
31
|
+
number: textField(),
|
|
32
|
+
complement: textField(15).optional(),
|
|
33
|
+
cellphone: phoneBRSchema,
|
|
34
|
+
email: emailSchema,
|
|
35
|
+
district: textField(),
|
|
36
|
+
sex: SexEnum,
|
|
37
|
+
city: textField(),
|
|
38
|
+
state: textField(2),
|
|
39
|
+
office: textField(),
|
|
40
|
+
mother_name: textField(),
|
|
41
|
+
nationality: textField()
|
|
42
|
+
}).strict()
|
|
43
|
+
)
|
|
44
|
+
});
|
|
45
|
+
var alfaPjSchema = alfaPjObject.strict().superRefine(applyPjRefinements);
|
|
46
|
+
|
|
47
|
+
export { alfaPjObject, alfaPjSchema };
|
|
@@ -1,20 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
birthDateSchema,
|
|
6
|
-
cepSchema,
|
|
7
|
-
cpfCnpjSchema,
|
|
8
|
-
cpfSchema,
|
|
9
|
-
currencySchema,
|
|
10
|
-
emailSchema,
|
|
11
|
-
issueDateSchema,
|
|
12
|
-
phoneBRSchema,
|
|
13
|
-
} from '../../../../shared/regex'
|
|
14
|
-
import { formalizationExtras } from '../extras'
|
|
15
|
-
import { applyPfRefinements } from '../refinements'
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-A2TV7TRP.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-NDJRJOFE.mjs';
|
|
3
|
+
import { z } from 'zod';
|
|
16
4
|
|
|
17
|
-
|
|
5
|
+
var hdtEnergyPfObject = z.object({
|
|
18
6
|
...formalizationExtras,
|
|
19
7
|
name: textField(),
|
|
20
8
|
cep: cepSchema,
|
|
@@ -38,9 +26,8 @@ export const btgPfObject = z.object({
|
|
|
38
26
|
type_doc: DocumentTypeEnum,
|
|
39
27
|
doc: textField(15),
|
|
40
28
|
issuing_body: textField(6),
|
|
41
|
-
doc_issue_date: issueDateSchema
|
|
42
|
-
})
|
|
29
|
+
doc_issue_date: issueDateSchema
|
|
30
|
+
});
|
|
31
|
+
var hdtEnergyPfSchema = hdtEnergyPfObject.strict().superRefine(applyPfRefinements);
|
|
43
32
|
|
|
44
|
-
export
|
|
45
|
-
|
|
46
|
-
export type BtgPfFicha = z.infer<typeof btgPfSchema>
|
|
33
|
+
export { hdtEnergyPfObject, hdtEnergyPfSchema };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-NDJRJOFE.mjs';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
|
|
4
|
+
var eosPjObject = z.object({
|
|
5
|
+
...formalizationExtras,
|
|
6
|
+
financing_company: z.object({
|
|
7
|
+
corporate_name: textField(),
|
|
8
|
+
cep: cepSchema,
|
|
9
|
+
address: textField(),
|
|
10
|
+
foundation_date: issueDateSchema,
|
|
11
|
+
number: textField(),
|
|
12
|
+
cnpj: cnpjSchema,
|
|
13
|
+
email: emailSchema,
|
|
14
|
+
complement: textField(15).optional(),
|
|
15
|
+
phone: phoneBRSchema,
|
|
16
|
+
district: textField(),
|
|
17
|
+
legal_nature: textField(),
|
|
18
|
+
city: textField(),
|
|
19
|
+
economic_activity_group: textField(),
|
|
20
|
+
state: textField(2),
|
|
21
|
+
economic_activity: textField(),
|
|
22
|
+
monthly_income: currencySchema
|
|
23
|
+
}).strict(),
|
|
24
|
+
financing_company_guarantor: z.array(
|
|
25
|
+
z.object({
|
|
26
|
+
name: textField(),
|
|
27
|
+
cep: cepSchema,
|
|
28
|
+
cpf: cpfSchema,
|
|
29
|
+
address: textField(),
|
|
30
|
+
birth_date: birthDateSchema,
|
|
31
|
+
number: textField(),
|
|
32
|
+
complement: textField(15).optional(),
|
|
33
|
+
cellphone: phoneBRSchema,
|
|
34
|
+
email: emailSchema,
|
|
35
|
+
district: textField(),
|
|
36
|
+
sex: SexEnum,
|
|
37
|
+
city: textField(),
|
|
38
|
+
state: textField(2),
|
|
39
|
+
office: textField(),
|
|
40
|
+
mother_name: textField(),
|
|
41
|
+
nationality: textField()
|
|
42
|
+
}).strict()
|
|
43
|
+
)
|
|
44
|
+
});
|
|
45
|
+
var eosPjSchema = eosPjObject.strict().superRefine(applyPjRefinements);
|
|
46
|
+
|
|
47
|
+
export { eosPjObject, eosPjSchema };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-NDJRJOFE.mjs';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
|
|
4
|
+
var cashMePjObject = z.object({
|
|
5
|
+
...formalizationExtras,
|
|
6
|
+
financing_company: z.object({
|
|
7
|
+
corporate_name: textField(),
|
|
8
|
+
cep: cepSchema,
|
|
9
|
+
address: textField(),
|
|
10
|
+
foundation_date: issueDateSchema,
|
|
11
|
+
number: textField(),
|
|
12
|
+
cnpj: cnpjSchema,
|
|
13
|
+
email: emailSchema,
|
|
14
|
+
complement: textField(15).optional(),
|
|
15
|
+
phone: phoneBRSchema,
|
|
16
|
+
district: textField(),
|
|
17
|
+
legal_nature: textField(),
|
|
18
|
+
city: textField(),
|
|
19
|
+
economic_activity_group: textField(),
|
|
20
|
+
state: textField(2),
|
|
21
|
+
economic_activity: textField(),
|
|
22
|
+
monthly_income: currencySchema
|
|
23
|
+
}).strict(),
|
|
24
|
+
financing_company_guarantor: z.array(
|
|
25
|
+
z.object({
|
|
26
|
+
name: textField(),
|
|
27
|
+
cep: cepSchema,
|
|
28
|
+
cpf: cpfSchema,
|
|
29
|
+
address: textField(),
|
|
30
|
+
birth_date: birthDateSchema,
|
|
31
|
+
number: textField(),
|
|
32
|
+
complement: textField(15).optional(),
|
|
33
|
+
cellphone: phoneBRSchema,
|
|
34
|
+
email: emailSchema,
|
|
35
|
+
district: textField(),
|
|
36
|
+
sex: SexEnum,
|
|
37
|
+
city: textField(),
|
|
38
|
+
state: textField(2),
|
|
39
|
+
office: textField(),
|
|
40
|
+
mother_name: textField(),
|
|
41
|
+
nationality: textField()
|
|
42
|
+
}).strict()
|
|
43
|
+
)
|
|
44
|
+
});
|
|
45
|
+
var cashMePjSchema = cashMePjObject.strict().superRefine(applyPjRefinements);
|
|
46
|
+
|
|
47
|
+
export { cashMePjObject, cashMePjSchema };
|
|
@@ -1,20 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
birthDateSchema,
|
|
6
|
-
cepSchema,
|
|
7
|
-
cpfCnpjSchema,
|
|
8
|
-
cpfSchema,
|
|
9
|
-
currencySchema,
|
|
10
|
-
emailSchema,
|
|
11
|
-
issueDateSchema,
|
|
12
|
-
phoneBRSchema,
|
|
13
|
-
} from '../../../../shared/regex'
|
|
14
|
-
import { formalizationExtras } from '../extras'
|
|
15
|
-
import { applyPfRefinements } from '../refinements'
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-A2TV7TRP.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-NDJRJOFE.mjs';
|
|
3
|
+
import { z } from 'zod';
|
|
16
4
|
|
|
17
|
-
|
|
5
|
+
var alfaPfObject = z.object({
|
|
18
6
|
...formalizationExtras,
|
|
19
7
|
name: textField(),
|
|
20
8
|
cep: cepSchema,
|
|
@@ -38,9 +26,8 @@ export const eosPfObject = z.object({
|
|
|
38
26
|
type_doc: DocumentTypeEnum,
|
|
39
27
|
doc: textField(15),
|
|
40
28
|
issuing_body: textField(6),
|
|
41
|
-
doc_issue_date: issueDateSchema
|
|
42
|
-
})
|
|
29
|
+
doc_issue_date: issueDateSchema
|
|
30
|
+
});
|
|
31
|
+
var alfaPfSchema = alfaPfObject.strict().superRefine(applyPfRefinements);
|
|
43
32
|
|
|
44
|
-
export
|
|
45
|
-
|
|
46
|
-
export type EosPfFicha = z.infer<typeof eosPfSchema>
|
|
33
|
+
export { alfaPfObject, alfaPfSchema };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-A2TV7TRP.mjs';
|
|
2
|
+
import { formalizationExtras, dateDMYSchema, issueDateSchema, SexEnum, birthDateSchema, emailSchema, phoneBRSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, applyPjRefinements } from './chunk-NDJRJOFE.mjs';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
|
|
5
|
+
var solAgoraPjObject = z.object({
|
|
6
|
+
...formalizationExtras,
|
|
7
|
+
financing_company: z.object({
|
|
8
|
+
corporate_name: textField(),
|
|
9
|
+
cep: cepSchema,
|
|
10
|
+
address: textField(),
|
|
11
|
+
foundation_date: issueDateSchema,
|
|
12
|
+
number: textField(),
|
|
13
|
+
cnpj: cnpjSchema,
|
|
14
|
+
email: emailSchema,
|
|
15
|
+
complement: textField(15).optional(),
|
|
16
|
+
phone: phoneBRSchema,
|
|
17
|
+
district: textField(),
|
|
18
|
+
legal_nature: textField(),
|
|
19
|
+
city: textField(),
|
|
20
|
+
economic_activity_group: textField(),
|
|
21
|
+
state: textField(2),
|
|
22
|
+
economic_activity: textField(),
|
|
23
|
+
monthly_income: currencySchema
|
|
24
|
+
}).strict(),
|
|
25
|
+
financing_company_qsa: z.array(
|
|
26
|
+
z.object({
|
|
27
|
+
cep: cepSchema,
|
|
28
|
+
name: textField(),
|
|
29
|
+
address: textField(),
|
|
30
|
+
cpf: cpfSchema,
|
|
31
|
+
number: textField(),
|
|
32
|
+
entry_date: issueDateSchema,
|
|
33
|
+
complement: textField(15).optional(),
|
|
34
|
+
phone: phoneBRSchema,
|
|
35
|
+
district: textField(),
|
|
36
|
+
cellphone: phoneBRSchema,
|
|
37
|
+
city: textField(),
|
|
38
|
+
email: emailSchema,
|
|
39
|
+
state: textField(2),
|
|
40
|
+
birth_date: birthDateSchema,
|
|
41
|
+
civil_status: textField(),
|
|
42
|
+
sex: SexEnum,
|
|
43
|
+
type_doc: DocumentTypeEnum,
|
|
44
|
+
doc: textField(),
|
|
45
|
+
doc_issuance_uf: textField(2),
|
|
46
|
+
doc_issue_date: issueDateSchema,
|
|
47
|
+
doc_expiration_date: dateDMYSchema,
|
|
48
|
+
mother_name: textField(),
|
|
49
|
+
naturalness: textField(),
|
|
50
|
+
uf_naturalness: textField(2),
|
|
51
|
+
nationality: textField()
|
|
52
|
+
}).strict()
|
|
53
|
+
)
|
|
54
|
+
});
|
|
55
|
+
var solAgoraPjSchema = solAgoraPjObject.strict().superRefine(applyPjRefinements);
|
|
56
|
+
|
|
57
|
+
export { solAgoraPjObject, solAgoraPjSchema };
|
|
@@ -1,21 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
birthDateSchema,
|
|
6
|
-
cepSchema,
|
|
7
|
-
cnpjSchema,
|
|
8
|
-
cpfCnpjSchema,
|
|
9
|
-
cpfSchema,
|
|
10
|
-
currencySchema,
|
|
11
|
-
emailSchema,
|
|
12
|
-
issueDateSchema,
|
|
13
|
-
phoneBRSchema,
|
|
14
|
-
} from '../../../../shared/regex'
|
|
15
|
-
import { formalizationExtras } from '../extras'
|
|
16
|
-
import { applyPfRefinements } from '../refinements'
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-A2TV7TRP.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, numberField, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, integerField, cpfSchema, cepSchema, formalizationExtras, textField, cnpjSchema, cpfCnpjSchema, applyPfRefinements } from './chunk-NDJRJOFE.mjs';
|
|
3
|
+
import { z } from 'zod';
|
|
17
4
|
|
|
18
|
-
|
|
5
|
+
var bvPfObject = z.object({
|
|
19
6
|
...formalizationExtras,
|
|
20
7
|
name: textField(),
|
|
21
8
|
cep: cepSchema,
|
|
@@ -51,9 +38,8 @@ export const bvPfObject = z.object({
|
|
|
51
38
|
issuing_body: textField(6),
|
|
52
39
|
emitting_state: textField(2),
|
|
53
40
|
doc_issue_date: issueDateSchema,
|
|
54
|
-
pep_relationship: textField().optional()
|
|
55
|
-
})
|
|
41
|
+
pep_relationship: textField().optional()
|
|
42
|
+
});
|
|
43
|
+
var bvPfSchema = bvPfObject.strict().superRefine(applyPfRefinements);
|
|
56
44
|
|
|
57
|
-
export
|
|
58
|
-
|
|
59
|
-
export type BvPfFicha = z.infer<typeof bvPfSchema>
|
|
45
|
+
export { bvPfObject, bvPfSchema };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-NDJRJOFE.mjs';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
|
|
4
|
+
var credito77PjObject = z.object({
|
|
5
|
+
...formalizationExtras,
|
|
6
|
+
financing_company: z.object({
|
|
7
|
+
corporate_name: textField(),
|
|
8
|
+
cep: cepSchema,
|
|
9
|
+
address: textField(),
|
|
10
|
+
foundation_date: issueDateSchema,
|
|
11
|
+
number: textField(),
|
|
12
|
+
cnpj: cnpjSchema,
|
|
13
|
+
email: emailSchema,
|
|
14
|
+
complement: textField(15).optional(),
|
|
15
|
+
phone: phoneBRSchema,
|
|
16
|
+
district: textField(),
|
|
17
|
+
legal_nature: textField(),
|
|
18
|
+
city: textField(),
|
|
19
|
+
economic_activity_group: textField(),
|
|
20
|
+
state: textField(2),
|
|
21
|
+
economic_activity: textField(),
|
|
22
|
+
monthly_income: currencySchema
|
|
23
|
+
}).strict(),
|
|
24
|
+
financing_company_guarantor: z.array(
|
|
25
|
+
z.object({
|
|
26
|
+
name: textField(),
|
|
27
|
+
cep: cepSchema,
|
|
28
|
+
cpf: cpfSchema,
|
|
29
|
+
address: textField(),
|
|
30
|
+
birth_date: birthDateSchema,
|
|
31
|
+
number: textField(),
|
|
32
|
+
complement: textField(15).optional(),
|
|
33
|
+
cellphone: phoneBRSchema,
|
|
34
|
+
email: emailSchema,
|
|
35
|
+
district: textField(),
|
|
36
|
+
sex: SexEnum,
|
|
37
|
+
city: textField(),
|
|
38
|
+
state: textField(2),
|
|
39
|
+
office: textField(),
|
|
40
|
+
mother_name: textField(),
|
|
41
|
+
nationality: textField()
|
|
42
|
+
}).strict()
|
|
43
|
+
)
|
|
44
|
+
});
|
|
45
|
+
var credito77PjSchema = credito77PjObject.strict().superRefine(applyPjRefinements);
|
|
46
|
+
|
|
47
|
+
export { credito77PjObject, credito77PjSchema };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-A2TV7TRP.mjs';
|
|
2
|
+
import { formalizationExtras, currencySchema, dateDMYSchema, issueDateSchema, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema, applyPjRefinements } from './chunk-NDJRJOFE.mjs';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
|
|
5
|
+
var btgPjObject = z.object({
|
|
6
|
+
...formalizationExtras,
|
|
7
|
+
financing_company: z.object({
|
|
8
|
+
corporate_name: textField(),
|
|
9
|
+
cep: cepSchema,
|
|
10
|
+
address: textField(),
|
|
11
|
+
foundation_date: issueDateSchema,
|
|
12
|
+
number: textField(),
|
|
13
|
+
cnpj: cnpjSchema,
|
|
14
|
+
email: emailSchema,
|
|
15
|
+
complement: textField(15).optional(),
|
|
16
|
+
phone: phoneBRSchema,
|
|
17
|
+
district: textField(),
|
|
18
|
+
legal_nature: textField(),
|
|
19
|
+
city: textField(),
|
|
20
|
+
economic_activity_group: textField(),
|
|
21
|
+
state: textField(2),
|
|
22
|
+
economic_activity: textField(),
|
|
23
|
+
monthly_income: currencySchema
|
|
24
|
+
}).strict(),
|
|
25
|
+
financing_company_guarantor: z.array(
|
|
26
|
+
z.object({
|
|
27
|
+
name: textField(),
|
|
28
|
+
cep: cepSchema,
|
|
29
|
+
cpf: cpfSchema,
|
|
30
|
+
address: textField(),
|
|
31
|
+
birth_date: birthDateSchema,
|
|
32
|
+
number: textField(),
|
|
33
|
+
complement: textField(15).optional(),
|
|
34
|
+
cellphone: phoneBRSchema,
|
|
35
|
+
phone: phoneBRSchema,
|
|
36
|
+
email: emailSchema,
|
|
37
|
+
district: textField(),
|
|
38
|
+
sex: SexEnum,
|
|
39
|
+
city: textField(),
|
|
40
|
+
state: textField(2),
|
|
41
|
+
civil_status: textField(),
|
|
42
|
+
office: textField(),
|
|
43
|
+
type_doc: DocumentTypeEnum,
|
|
44
|
+
doc: textField(),
|
|
45
|
+
issuing_body: textField(),
|
|
46
|
+
uf_issuing_body: textField(2),
|
|
47
|
+
doc_issue_date: issueDateSchema,
|
|
48
|
+
doc_expiration_date: dateDMYSchema,
|
|
49
|
+
mother_name: textField(),
|
|
50
|
+
monthly_income: currencySchema,
|
|
51
|
+
patrimony: currencySchema,
|
|
52
|
+
uf_naturalness: textField(2),
|
|
53
|
+
nationality: textField()
|
|
54
|
+
}).strict()
|
|
55
|
+
)
|
|
56
|
+
});
|
|
57
|
+
var btgPjSchema = btgPjObject.strict().superRefine(applyPjRefinements);
|
|
58
|
+
|
|
59
|
+
export { btgPjObject, btgPjSchema };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-A2TV7TRP.mjs';
|
|
2
|
+
import { formalizationExtras, currencySchema, dateDMYSchema, issueDateSchema, integerField, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema, applyPjRefinements } from './chunk-NDJRJOFE.mjs';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
|
|
5
|
+
var bvPjObject = z.object({
|
|
6
|
+
...formalizationExtras,
|
|
7
|
+
financing_company: z.object({
|
|
8
|
+
corporate_name: textField(),
|
|
9
|
+
cep: cepSchema,
|
|
10
|
+
residence_situation: textField(),
|
|
11
|
+
address: textField(),
|
|
12
|
+
foundation_date: issueDateSchema,
|
|
13
|
+
months_in_residence: integerField,
|
|
14
|
+
number: textField(),
|
|
15
|
+
cnpj: cnpjSchema,
|
|
16
|
+
email: emailSchema,
|
|
17
|
+
complement: textField(15).optional(),
|
|
18
|
+
phone: phoneBRSchema,
|
|
19
|
+
district: textField(),
|
|
20
|
+
legal_nature: textField(),
|
|
21
|
+
city: textField(),
|
|
22
|
+
economic_activity_group: textField(),
|
|
23
|
+
state: textField(2),
|
|
24
|
+
economic_activity: textField(),
|
|
25
|
+
monthly_income: currencySchema,
|
|
26
|
+
capital_social: currencySchema
|
|
27
|
+
}).strict(),
|
|
28
|
+
financing_company_guarantor: z.array(
|
|
29
|
+
z.object({
|
|
30
|
+
name: textField(),
|
|
31
|
+
cep: cepSchema,
|
|
32
|
+
cpf: cpfSchema,
|
|
33
|
+
address: textField(),
|
|
34
|
+
birth_date: birthDateSchema,
|
|
35
|
+
number: textField(),
|
|
36
|
+
complement: textField(15).optional(),
|
|
37
|
+
cellphone: phoneBRSchema,
|
|
38
|
+
phone: phoneBRSchema,
|
|
39
|
+
email: emailSchema,
|
|
40
|
+
district: textField(),
|
|
41
|
+
sex: SexEnum,
|
|
42
|
+
city: textField(),
|
|
43
|
+
state: textField(2),
|
|
44
|
+
civil_status: textField(),
|
|
45
|
+
residence_situation: textField(),
|
|
46
|
+
office: textField(),
|
|
47
|
+
months_in_residence: integerField,
|
|
48
|
+
type_doc: DocumentTypeEnum,
|
|
49
|
+
doc: textField(),
|
|
50
|
+
issuing_body: textField(),
|
|
51
|
+
uf_issuing_body: textField(2),
|
|
52
|
+
doc_issue_date: issueDateSchema,
|
|
53
|
+
doc_expiration_date: dateDMYSchema,
|
|
54
|
+
mother_name: textField(),
|
|
55
|
+
monthly_income: currencySchema,
|
|
56
|
+
patrimony: currencySchema,
|
|
57
|
+
naturalness: textField(),
|
|
58
|
+
uf_naturalness: textField(2),
|
|
59
|
+
nationality: textField(),
|
|
60
|
+
pep_relationship: textField()
|
|
61
|
+
}).strict()
|
|
62
|
+
)
|
|
63
|
+
});
|
|
64
|
+
var bvPjSchema = bvPjObject.strict().superRefine(applyPjRefinements);
|
|
65
|
+
|
|
66
|
+
export { bvPjObject, bvPjSchema };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-NDJRJOFE.mjs';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
|
|
4
|
+
var hdtEnergyPjObject = z.object({
|
|
5
|
+
...formalizationExtras,
|
|
6
|
+
financing_company: z.object({
|
|
7
|
+
corporate_name: textField(),
|
|
8
|
+
cep: cepSchema,
|
|
9
|
+
address: textField(),
|
|
10
|
+
foundation_date: issueDateSchema,
|
|
11
|
+
number: textField(),
|
|
12
|
+
cnpj: cnpjSchema,
|
|
13
|
+
email: emailSchema,
|
|
14
|
+
complement: textField(15).optional(),
|
|
15
|
+
phone: phoneBRSchema,
|
|
16
|
+
district: textField(),
|
|
17
|
+
legal_nature: textField(),
|
|
18
|
+
city: textField(),
|
|
19
|
+
economic_activity_group: textField(),
|
|
20
|
+
state: textField(2),
|
|
21
|
+
economic_activity: textField(),
|
|
22
|
+
monthly_income: currencySchema
|
|
23
|
+
}).strict(),
|
|
24
|
+
financing_company_guarantor: z.array(
|
|
25
|
+
z.object({
|
|
26
|
+
name: textField(),
|
|
27
|
+
cep: cepSchema,
|
|
28
|
+
cpf: cpfSchema,
|
|
29
|
+
address: textField(),
|
|
30
|
+
birth_date: birthDateSchema,
|
|
31
|
+
number: textField(),
|
|
32
|
+
complement: textField(15).optional(),
|
|
33
|
+
cellphone: phoneBRSchema,
|
|
34
|
+
email: emailSchema,
|
|
35
|
+
district: textField(),
|
|
36
|
+
sex: SexEnum,
|
|
37
|
+
city: textField(),
|
|
38
|
+
state: textField(2),
|
|
39
|
+
office: textField(),
|
|
40
|
+
mother_name: textField(),
|
|
41
|
+
nationality: textField()
|
|
42
|
+
}).strict()
|
|
43
|
+
)
|
|
44
|
+
});
|
|
45
|
+
var hdtEnergyPjSchema = hdtEnergyPjObject.strict().superRefine(applyPjRefinements);
|
|
46
|
+
|
|
47
|
+
export { hdtEnergyPjObject, hdtEnergyPjSchema };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-NDJRJOFE.mjs';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
|
|
4
|
+
var caixaEconomicaFederalPjObject = z.object({
|
|
5
|
+
...formalizationExtras,
|
|
6
|
+
financing_company: z.object({
|
|
7
|
+
corporate_name: textField(),
|
|
8
|
+
cep: cepSchema,
|
|
9
|
+
address: textField(),
|
|
10
|
+
foundation_date: issueDateSchema,
|
|
11
|
+
number: textField(),
|
|
12
|
+
cnpj: cnpjSchema,
|
|
13
|
+
email: emailSchema,
|
|
14
|
+
complement: textField(15).optional(),
|
|
15
|
+
phone: phoneBRSchema,
|
|
16
|
+
district: textField(),
|
|
17
|
+
legal_nature: textField(),
|
|
18
|
+
city: textField(),
|
|
19
|
+
economic_activity_group: textField(),
|
|
20
|
+
state: textField(2),
|
|
21
|
+
economic_activity: textField(),
|
|
22
|
+
monthly_income: currencySchema
|
|
23
|
+
}).strict(),
|
|
24
|
+
financing_company_guarantor: z.array(
|
|
25
|
+
z.object({
|
|
26
|
+
name: textField(),
|
|
27
|
+
cep: cepSchema,
|
|
28
|
+
cpf: cpfSchema,
|
|
29
|
+
address: textField(),
|
|
30
|
+
birth_date: birthDateSchema,
|
|
31
|
+
number: textField(),
|
|
32
|
+
complement: textField(15).optional(),
|
|
33
|
+
cellphone: phoneBRSchema,
|
|
34
|
+
email: emailSchema,
|
|
35
|
+
district: textField(),
|
|
36
|
+
sex: SexEnum,
|
|
37
|
+
city: textField(),
|
|
38
|
+
state: textField(2),
|
|
39
|
+
office: textField(),
|
|
40
|
+
mother_name: textField(),
|
|
41
|
+
nationality: textField()
|
|
42
|
+
}).strict()
|
|
43
|
+
)
|
|
44
|
+
});
|
|
45
|
+
var caixaEconomicaFederalPjSchema = caixaEconomicaFederalPjObject.strict().superRefine(applyPjRefinements);
|
|
46
|
+
|
|
47
|
+
export { caixaEconomicaFederalPjObject, caixaEconomicaFederalPjSchema };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-A2TV7TRP.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-NDJRJOFE.mjs';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
|
|
5
|
+
var credito77PfObject = z.object({
|
|
6
|
+
...formalizationExtras,
|
|
7
|
+
name: textField(),
|
|
8
|
+
cep: cepSchema,
|
|
9
|
+
cpf: cpfSchema,
|
|
10
|
+
address: textField(),
|
|
11
|
+
birth_date: birthDateSchema,
|
|
12
|
+
number: textField(),
|
|
13
|
+
sex: SexEnum,
|
|
14
|
+
complement: textField(15).optional(),
|
|
15
|
+
mother_name: textField(),
|
|
16
|
+
district: textField(),
|
|
17
|
+
energy_account_in_requester_name: textField(),
|
|
18
|
+
city: textField(),
|
|
19
|
+
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
20
|
+
state: textField(2),
|
|
21
|
+
nationality: textField(),
|
|
22
|
+
cellphone: phoneBRSchema,
|
|
23
|
+
email: emailSchema,
|
|
24
|
+
monthly_income: currencySchema,
|
|
25
|
+
profession: textField(),
|
|
26
|
+
type_doc: DocumentTypeEnum,
|
|
27
|
+
doc: textField(15),
|
|
28
|
+
issuing_body: textField(6),
|
|
29
|
+
doc_issue_date: issueDateSchema
|
|
30
|
+
});
|
|
31
|
+
var credito77PfSchema = credito77PfObject.strict().superRefine(applyPfRefinements);
|
|
32
|
+
|
|
33
|
+
export { credito77PfObject, credito77PfSchema };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-A2TV7TRP.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-NDJRJOFE.mjs';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
|
|
5
|
+
var solfacilPfObject = z.object({
|
|
6
|
+
...formalizationExtras,
|
|
7
|
+
name: textField(),
|
|
8
|
+
cep: cepSchema,
|
|
9
|
+
cpf: cpfSchema,
|
|
10
|
+
address: textField(),
|
|
11
|
+
birth_date: birthDateSchema,
|
|
12
|
+
number: textField(),
|
|
13
|
+
sex: SexEnum,
|
|
14
|
+
complement: textField(15).optional(),
|
|
15
|
+
mother_name: textField(),
|
|
16
|
+
district: textField(),
|
|
17
|
+
energy_account_in_requester_name: textField(),
|
|
18
|
+
city: textField(),
|
|
19
|
+
energy_bill_owner_document: cpfCnpjSchema.optional(),
|
|
20
|
+
state: textField(2),
|
|
21
|
+
nationality: textField(),
|
|
22
|
+
cellphone: phoneBRSchema,
|
|
23
|
+
email: emailSchema,
|
|
24
|
+
monthly_income: currencySchema,
|
|
25
|
+
profession: textField(),
|
|
26
|
+
type_doc: DocumentTypeEnum,
|
|
27
|
+
doc: textField(15),
|
|
28
|
+
issuing_body: textField(6),
|
|
29
|
+
doc_issue_date: issueDateSchema
|
|
30
|
+
});
|
|
31
|
+
var solfacilPfSchema = solfacilPfObject.strict().superRefine(applyPfRefinements);
|
|
32
|
+
|
|
33
|
+
export { solfacilPfObject, solfacilPfSchema };
|