@77sol-lab/form-schemas 1.5.0 → 1.5.1
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-53GXILC6.mjs → chunk-2CN56LSL.mjs} +2 -2
- package/{chunk-R6CEKWRQ.mjs → chunk-2W3LQ75V.mjs} +2 -2
- package/{chunk-D2ZUTYWA.mjs → chunk-2YVK6IDS.mjs} +16 -7
- package/{chunk-UU3MRKTH.mjs → chunk-3BPZV6IW.mjs} +1 -1
- package/{chunk-7MWUETLP.mjs → chunk-3O52U22S.mjs} +2 -2
- package/{chunk-Z2TTZ3JJ.mjs → chunk-3RSZ4NGE.mjs} +1 -1
- package/{chunk-4XJZIRLT.mjs → chunk-6HBDXEIK.mjs} +2 -2
- package/{chunk-G5SKXDYM.mjs → chunk-6TFRV3FG.mjs} +2 -2
- package/{chunk-7ZF45QUN.mjs → chunk-7ZERTOE7.mjs} +2 -2
- package/{chunk-NCTEG6EL.mjs → chunk-AURTWOTB.mjs} +2 -2
- package/{chunk-FPJKWVVF.mjs → chunk-DERWNSPY.mjs} +1 -1
- package/{chunk-IWSDOFBY.mjs → chunk-F76ICRGY.mjs} +2 -2
- package/{chunk-OVANLPKX.mjs → chunk-FT5BAKSG.mjs} +2 -2
- package/{chunk-UUWULEKH.mjs → chunk-GR2PK3Z7.mjs} +2 -2
- package/{chunk-UMP5UF3U.mjs → chunk-HHJNVLHK.mjs} +1 -1
- package/{chunk-3OIG2FI5.mjs → chunk-HZM2PWYJ.mjs} +2 -2
- package/{chunk-6PH42V5T.mjs → chunk-JPFAMQGV.mjs} +1 -1
- package/{chunk-L4EWOROT.mjs → chunk-MDK5KVJT.mjs} +2 -2
- package/{chunk-RYJSCFSY.mjs → chunk-O7OHCS36.mjs} +1 -1
- package/{chunk-GQ5G2YX4.mjs → chunk-OMDC46YE.mjs} +2 -2
- package/{chunk-FRMGP3C3.mjs → chunk-OUVNM2RX.mjs} +1 -1
- package/{chunk-5C4YMHXV.mjs → chunk-OX3X37VR.mjs} +2 -2
- package/{chunk-OARPUXXM.mjs → chunk-P54HBDOE.mjs} +2 -2
- package/{chunk-F27U6CXB.mjs → chunk-PO6GQE6E.mjs} +2 -2
- package/{chunk-N2IX5TRK.mjs → chunk-THYAK7O3.mjs} +2 -2
- package/{chunk-YIUJVGT4.mjs → chunk-VGFPONIS.mjs} +1 -1
- package/{chunk-WTHEEPBE.mjs → chunk-WGPPH7DC.mjs} +1 -1
- package/{chunk-H54QBCSW.mjs → chunk-WPLLR3SO.mjs} +2 -2
- package/{chunk-VO573WIK.mjs → chunk-WRJAOYL6.mjs} +1 -1
- package/{chunk-7I2LXGA2.mjs → chunk-XII4F5RZ.mjs} +2 -2
- package/{chunk-HBTFOSJU.mjs → chunk-Y3FAMPYF.mjs} +33 -18
- package/{chunk-6YS5KBXS.mjs → chunk-YNVJAGAY.mjs} +35 -34
- package/{chunk-2END6TYT.mjs → chunk-YQJCILG3.mjs} +1 -1
- package/financing/formalization/index.d.cts +1306 -1306
- package/financing/formalization/index.d.ts +1306 -1306
- package/financing/formalization/index.js +53 -24
- package/financing/formalization/index.mjs +33 -33
- package/financing/formalization/schemas/AlfaPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/AlfaPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/AlfaPFSchema.js +35 -18
- package/financing/formalization/schemas/AlfaPFSchema.mjs +3 -3
- package/financing/formalization/schemas/AlfaPJSchema.d.cts +36 -36
- package/financing/formalization/schemas/AlfaPJSchema.d.ts +36 -36
- package/financing/formalization/schemas/AlfaPJSchema.js +32 -17
- package/financing/formalization/schemas/AlfaPJSchema.mjs +2 -2
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.js +35 -18
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.mjs +3 -3
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.d.cts +36 -36
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.d.ts +36 -36
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.js +32 -17
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.mjs +2 -2
- package/financing/formalization/schemas/BtgPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/BtgPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/BtgPFSchema.js +35 -18
- package/financing/formalization/schemas/BtgPFSchema.mjs +3 -3
- package/financing/formalization/schemas/BtgPJSchema.d.cts +72 -72
- package/financing/formalization/schemas/BtgPJSchema.d.ts +72 -72
- package/financing/formalization/schemas/BtgPJSchema.js +35 -18
- package/financing/formalization/schemas/BtgPJSchema.mjs +3 -3
- package/financing/formalization/schemas/BvPFSchema.d.cts +40 -40
- package/financing/formalization/schemas/BvPFSchema.d.ts +40 -40
- package/financing/formalization/schemas/BvPFSchema.js +35 -18
- package/financing/formalization/schemas/BvPFSchema.mjs +3 -3
- package/financing/formalization/schemas/BvPJSchema.d.cts +72 -72
- package/financing/formalization/schemas/BvPJSchema.d.ts +72 -72
- package/financing/formalization/schemas/BvPJSchema.js +35 -18
- package/financing/formalization/schemas/BvPJSchema.mjs +3 -3
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.js +35 -18
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.mjs +3 -3
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.d.cts +36 -36
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.d.ts +36 -36
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.js +32 -17
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.mjs +2 -2
- package/financing/formalization/schemas/CashMePFSchema.d.cts +24 -24
- package/financing/formalization/schemas/CashMePFSchema.d.ts +24 -24
- package/financing/formalization/schemas/CashMePFSchema.js +35 -18
- package/financing/formalization/schemas/CashMePFSchema.mjs +3 -3
- package/financing/formalization/schemas/CashMePJSchema.d.cts +36 -36
- package/financing/formalization/schemas/CashMePJSchema.d.ts +36 -36
- package/financing/formalization/schemas/CashMePJSchema.js +32 -17
- package/financing/formalization/schemas/CashMePJSchema.mjs +2 -2
- package/financing/formalization/schemas/Credito77PFSchema.d.cts +24 -24
- package/financing/formalization/schemas/Credito77PFSchema.d.ts +24 -24
- package/financing/formalization/schemas/Credito77PFSchema.js +35 -18
- package/financing/formalization/schemas/Credito77PFSchema.mjs +3 -3
- package/financing/formalization/schemas/Credito77PJSchema.d.cts +36 -36
- package/financing/formalization/schemas/Credito77PJSchema.d.ts +36 -36
- package/financing/formalization/schemas/Credito77PJSchema.js +32 -17
- package/financing/formalization/schemas/Credito77PJSchema.mjs +2 -2
- package/financing/formalization/schemas/EosPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/EosPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/EosPFSchema.js +35 -18
- package/financing/formalization/schemas/EosPFSchema.mjs +3 -3
- package/financing/formalization/schemas/EosPJSchema.d.cts +36 -36
- package/financing/formalization/schemas/EosPJSchema.d.ts +36 -36
- package/financing/formalization/schemas/EosPJSchema.js +32 -17
- package/financing/formalization/schemas/EosPJSchema.mjs +2 -2
- package/financing/formalization/schemas/HdtEnergyPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/HdtEnergyPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/HdtEnergyPFSchema.js +35 -18
- package/financing/formalization/schemas/HdtEnergyPFSchema.mjs +3 -3
- package/financing/formalization/schemas/HdtEnergyPJSchema.d.cts +36 -36
- package/financing/formalization/schemas/HdtEnergyPJSchema.d.ts +36 -36
- package/financing/formalization/schemas/HdtEnergyPJSchema.js +32 -17
- package/financing/formalization/schemas/HdtEnergyPJSchema.mjs +2 -2
- package/financing/formalization/schemas/LosangoPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/LosangoPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/LosangoPFSchema.js +35 -18
- package/financing/formalization/schemas/LosangoPFSchema.mjs +3 -3
- package/financing/formalization/schemas/LosangoPJSchema.d.cts +36 -36
- package/financing/formalization/schemas/LosangoPJSchema.d.ts +36 -36
- package/financing/formalization/schemas/LosangoPJSchema.js +32 -17
- package/financing/formalization/schemas/LosangoPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SafraPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/SafraPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/SafraPFSchema.js +35 -18
- package/financing/formalization/schemas/SafraPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SafraPJSchema.d.cts +36 -36
- package/financing/formalization/schemas/SafraPJSchema.d.ts +36 -36
- package/financing/formalization/schemas/SafraPJSchema.js +32 -17
- package/financing/formalization/schemas/SafraPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SantanderPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/SantanderPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/SantanderPFSchema.js +35 -18
- package/financing/formalization/schemas/SantanderPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SantanderPJSchema.d.cts +36 -36
- package/financing/formalization/schemas/SantanderPJSchema.d.ts +36 -36
- package/financing/formalization/schemas/SantanderPJSchema.js +32 -17
- package/financing/formalization/schemas/SantanderPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SolAgoraPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/SolAgoraPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/SolAgoraPFSchema.js +35 -18
- package/financing/formalization/schemas/SolAgoraPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SolAgoraPJSchema.d.cts +72 -72
- package/financing/formalization/schemas/SolAgoraPJSchema.d.ts +72 -72
- package/financing/formalization/schemas/SolAgoraPJSchema.js +35 -18
- package/financing/formalization/schemas/SolAgoraPJSchema.mjs +3 -3
- package/financing/formalization/schemas/SolfacilPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/SolfacilPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/SolfacilPFSchema.js +35 -18
- package/financing/formalization/schemas/SolfacilPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SolfacilPJSchema.d.cts +48 -48
- package/financing/formalization/schemas/SolfacilPJSchema.d.ts +48 -48
- package/financing/formalization/schemas/SolfacilPJSchema.js +32 -17
- package/financing/formalization/schemas/SolfacilPJSchema.mjs +2 -2
- package/financing/formalization/schemas/UnifiedPFSchema.d.cts +88 -88
- package/financing/formalization/schemas/UnifiedPFSchema.d.ts +88 -88
- package/financing/formalization/schemas/UnifiedPFSchema.js +50 -23
- package/financing/formalization/schemas/UnifiedPFSchema.mjs +3 -3
- package/financing/formalization/schemas/UnifiedPJSchema.d.cts +156 -156
- package/financing/formalization/schemas/UnifiedPJSchema.d.ts +156 -156
- package/financing/formalization/schemas/UnifiedPJSchema.js +35 -18
- package/financing/formalization/schemas/UnifiedPJSchema.mjs +3 -3
- package/index.js +53 -24
- package/index.mjs +33 -33
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { eosPfObject, eosPfSchema } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
3
|
-
import '../../../chunk-
|
|
1
|
+
export { eosPfObject, eosPfSchema } from '../../../chunk-FT5BAKSG.mjs';
|
|
2
|
+
import '../../../chunk-XII4F5RZ.mjs';
|
|
3
|
+
import '../../../chunk-Y3FAMPYF.mjs';
|
|
@@ -15,12 +15,12 @@ declare const eosPjObject: z.ZodObject<{
|
|
|
15
15
|
legal_nature: z.ZodString;
|
|
16
16
|
city: z.ZodString;
|
|
17
17
|
economic_activity_group: z.ZodString;
|
|
18
|
-
state: z.ZodEnum<[
|
|
18
|
+
state: z.ZodEnum<[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
19
19
|
economic_activity: z.ZodString;
|
|
20
20
|
monthly_income: z.ZodNumber;
|
|
21
21
|
}, "strict", z.ZodTypeAny, {
|
|
22
22
|
number: string;
|
|
23
|
-
state:
|
|
23
|
+
state: string;
|
|
24
24
|
cep: string;
|
|
25
25
|
address: string;
|
|
26
26
|
district: string;
|
|
@@ -37,7 +37,7 @@ declare const eosPjObject: z.ZodObject<{
|
|
|
37
37
|
complement?: string | undefined;
|
|
38
38
|
}, {
|
|
39
39
|
number: string;
|
|
40
|
-
state:
|
|
40
|
+
state: string;
|
|
41
41
|
cep: string;
|
|
42
42
|
address: string;
|
|
43
43
|
district: string;
|
|
@@ -64,16 +64,16 @@ declare const eosPjObject: z.ZodObject<{
|
|
|
64
64
|
cellphone: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
65
65
|
email: z.ZodEffects<z.ZodString, string, string>;
|
|
66
66
|
district: z.ZodString;
|
|
67
|
-
sex: z.ZodEnum<[
|
|
67
|
+
sex: z.ZodEnum<[string, string]>;
|
|
68
68
|
city: z.ZodString;
|
|
69
|
-
state: z.ZodEnum<[
|
|
69
|
+
state: z.ZodEnum<[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
70
70
|
office: z.ZodString;
|
|
71
71
|
mother_name: z.ZodString;
|
|
72
72
|
nationality: z.ZodString;
|
|
73
73
|
}, "strict", z.ZodTypeAny, {
|
|
74
74
|
number: string;
|
|
75
|
-
sex:
|
|
76
|
-
state:
|
|
75
|
+
sex: string;
|
|
76
|
+
state: string;
|
|
77
77
|
name: string;
|
|
78
78
|
cep: string;
|
|
79
79
|
cpf: string;
|
|
@@ -89,8 +89,8 @@ declare const eosPjObject: z.ZodObject<{
|
|
|
89
89
|
complement?: string | undefined;
|
|
90
90
|
}, {
|
|
91
91
|
number: string;
|
|
92
|
-
sex:
|
|
93
|
-
state:
|
|
92
|
+
sex: string;
|
|
93
|
+
state: string;
|
|
94
94
|
name: string;
|
|
95
95
|
cep: string;
|
|
96
96
|
cpf: string;
|
|
@@ -177,7 +177,7 @@ declare const eosPjObject: z.ZodObject<{
|
|
|
177
177
|
rd_re_insurance_toggle: boolean;
|
|
178
178
|
financing_company: {
|
|
179
179
|
number: string;
|
|
180
|
-
state:
|
|
180
|
+
state: string;
|
|
181
181
|
cep: string;
|
|
182
182
|
address: string;
|
|
183
183
|
district: string;
|
|
@@ -195,8 +195,8 @@ declare const eosPjObject: z.ZodObject<{
|
|
|
195
195
|
};
|
|
196
196
|
financing_company_guarantor: {
|
|
197
197
|
number: string;
|
|
198
|
-
sex:
|
|
199
|
-
state:
|
|
198
|
+
sex: string;
|
|
199
|
+
state: string;
|
|
200
200
|
name: string;
|
|
201
201
|
cep: string;
|
|
202
202
|
cpf: string;
|
|
@@ -234,7 +234,7 @@ declare const eosPjObject: z.ZodObject<{
|
|
|
234
234
|
};
|
|
235
235
|
financing_company: {
|
|
236
236
|
number: string;
|
|
237
|
-
state:
|
|
237
|
+
state: string;
|
|
238
238
|
cep: string;
|
|
239
239
|
address: string;
|
|
240
240
|
district: string;
|
|
@@ -252,8 +252,8 @@ declare const eosPjObject: z.ZodObject<{
|
|
|
252
252
|
};
|
|
253
253
|
financing_company_guarantor: {
|
|
254
254
|
number: string;
|
|
255
|
-
sex:
|
|
256
|
-
state:
|
|
255
|
+
sex: string;
|
|
256
|
+
state: string;
|
|
257
257
|
name: string;
|
|
258
258
|
cep: string;
|
|
259
259
|
cpf: string;
|
|
@@ -290,12 +290,12 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
290
290
|
legal_nature: z.ZodString;
|
|
291
291
|
city: z.ZodString;
|
|
292
292
|
economic_activity_group: z.ZodString;
|
|
293
|
-
state: z.ZodEnum<[
|
|
293
|
+
state: z.ZodEnum<[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
294
294
|
economic_activity: z.ZodString;
|
|
295
295
|
monthly_income: z.ZodNumber;
|
|
296
296
|
}, "strict", z.ZodTypeAny, {
|
|
297
297
|
number: string;
|
|
298
|
-
state:
|
|
298
|
+
state: string;
|
|
299
299
|
cep: string;
|
|
300
300
|
address: string;
|
|
301
301
|
district: string;
|
|
@@ -312,7 +312,7 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
312
312
|
complement?: string | undefined;
|
|
313
313
|
}, {
|
|
314
314
|
number: string;
|
|
315
|
-
state:
|
|
315
|
+
state: string;
|
|
316
316
|
cep: string;
|
|
317
317
|
address: string;
|
|
318
318
|
district: string;
|
|
@@ -339,16 +339,16 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
339
339
|
cellphone: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
340
340
|
email: z.ZodEffects<z.ZodString, string, string>;
|
|
341
341
|
district: z.ZodString;
|
|
342
|
-
sex: z.ZodEnum<[
|
|
342
|
+
sex: z.ZodEnum<[string, string]>;
|
|
343
343
|
city: z.ZodString;
|
|
344
|
-
state: z.ZodEnum<[
|
|
344
|
+
state: z.ZodEnum<[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
345
345
|
office: z.ZodString;
|
|
346
346
|
mother_name: z.ZodString;
|
|
347
347
|
nationality: z.ZodString;
|
|
348
348
|
}, "strict", z.ZodTypeAny, {
|
|
349
349
|
number: string;
|
|
350
|
-
sex:
|
|
351
|
-
state:
|
|
350
|
+
sex: string;
|
|
351
|
+
state: string;
|
|
352
352
|
name: string;
|
|
353
353
|
cep: string;
|
|
354
354
|
cpf: string;
|
|
@@ -364,8 +364,8 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
364
364
|
complement?: string | undefined;
|
|
365
365
|
}, {
|
|
366
366
|
number: string;
|
|
367
|
-
sex:
|
|
368
|
-
state:
|
|
367
|
+
sex: string;
|
|
368
|
+
state: string;
|
|
369
369
|
name: string;
|
|
370
370
|
cep: string;
|
|
371
371
|
cpf: string;
|
|
@@ -452,7 +452,7 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
452
452
|
rd_re_insurance_toggle: boolean;
|
|
453
453
|
financing_company: {
|
|
454
454
|
number: string;
|
|
455
|
-
state:
|
|
455
|
+
state: string;
|
|
456
456
|
cep: string;
|
|
457
457
|
address: string;
|
|
458
458
|
district: string;
|
|
@@ -470,8 +470,8 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
470
470
|
};
|
|
471
471
|
financing_company_guarantor: {
|
|
472
472
|
number: string;
|
|
473
|
-
sex:
|
|
474
|
-
state:
|
|
473
|
+
sex: string;
|
|
474
|
+
state: string;
|
|
475
475
|
name: string;
|
|
476
476
|
cep: string;
|
|
477
477
|
cpf: string;
|
|
@@ -509,7 +509,7 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
509
509
|
};
|
|
510
510
|
financing_company: {
|
|
511
511
|
number: string;
|
|
512
|
-
state:
|
|
512
|
+
state: string;
|
|
513
513
|
cep: string;
|
|
514
514
|
address: string;
|
|
515
515
|
district: string;
|
|
@@ -527,8 +527,8 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
527
527
|
};
|
|
528
528
|
financing_company_guarantor: {
|
|
529
529
|
number: string;
|
|
530
|
-
sex:
|
|
531
|
-
state:
|
|
530
|
+
sex: string;
|
|
531
|
+
state: string;
|
|
532
532
|
name: string;
|
|
533
533
|
cep: string;
|
|
534
534
|
cpf: string;
|
|
@@ -568,7 +568,7 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
568
568
|
rd_re_insurance_toggle: boolean;
|
|
569
569
|
financing_company: {
|
|
570
570
|
number: string;
|
|
571
|
-
state:
|
|
571
|
+
state: string;
|
|
572
572
|
cep: string;
|
|
573
573
|
address: string;
|
|
574
574
|
district: string;
|
|
@@ -586,8 +586,8 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
586
586
|
};
|
|
587
587
|
financing_company_guarantor: {
|
|
588
588
|
number: string;
|
|
589
|
-
sex:
|
|
590
|
-
state:
|
|
589
|
+
sex: string;
|
|
590
|
+
state: string;
|
|
591
591
|
name: string;
|
|
592
592
|
cep: string;
|
|
593
593
|
cpf: string;
|
|
@@ -625,7 +625,7 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
625
625
|
};
|
|
626
626
|
financing_company: {
|
|
627
627
|
number: string;
|
|
628
|
-
state:
|
|
628
|
+
state: string;
|
|
629
629
|
cep: string;
|
|
630
630
|
address: string;
|
|
631
631
|
district: string;
|
|
@@ -643,8 +643,8 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
643
643
|
};
|
|
644
644
|
financing_company_guarantor: {
|
|
645
645
|
number: string;
|
|
646
|
-
sex:
|
|
647
|
-
state:
|
|
646
|
+
sex: string;
|
|
647
|
+
state: string;
|
|
648
648
|
name: string;
|
|
649
649
|
cep: string;
|
|
650
650
|
cpf: string;
|
|
@@ -15,12 +15,12 @@ declare const eosPjObject: z.ZodObject<{
|
|
|
15
15
|
legal_nature: z.ZodString;
|
|
16
16
|
city: z.ZodString;
|
|
17
17
|
economic_activity_group: z.ZodString;
|
|
18
|
-
state: z.ZodEnum<[
|
|
18
|
+
state: z.ZodEnum<[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
19
19
|
economic_activity: z.ZodString;
|
|
20
20
|
monthly_income: z.ZodNumber;
|
|
21
21
|
}, "strict", z.ZodTypeAny, {
|
|
22
22
|
number: string;
|
|
23
|
-
state:
|
|
23
|
+
state: string;
|
|
24
24
|
cep: string;
|
|
25
25
|
address: string;
|
|
26
26
|
district: string;
|
|
@@ -37,7 +37,7 @@ declare const eosPjObject: z.ZodObject<{
|
|
|
37
37
|
complement?: string | undefined;
|
|
38
38
|
}, {
|
|
39
39
|
number: string;
|
|
40
|
-
state:
|
|
40
|
+
state: string;
|
|
41
41
|
cep: string;
|
|
42
42
|
address: string;
|
|
43
43
|
district: string;
|
|
@@ -64,16 +64,16 @@ declare const eosPjObject: z.ZodObject<{
|
|
|
64
64
|
cellphone: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
65
65
|
email: z.ZodEffects<z.ZodString, string, string>;
|
|
66
66
|
district: z.ZodString;
|
|
67
|
-
sex: z.ZodEnum<[
|
|
67
|
+
sex: z.ZodEnum<[string, string]>;
|
|
68
68
|
city: z.ZodString;
|
|
69
|
-
state: z.ZodEnum<[
|
|
69
|
+
state: z.ZodEnum<[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
70
70
|
office: z.ZodString;
|
|
71
71
|
mother_name: z.ZodString;
|
|
72
72
|
nationality: z.ZodString;
|
|
73
73
|
}, "strict", z.ZodTypeAny, {
|
|
74
74
|
number: string;
|
|
75
|
-
sex:
|
|
76
|
-
state:
|
|
75
|
+
sex: string;
|
|
76
|
+
state: string;
|
|
77
77
|
name: string;
|
|
78
78
|
cep: string;
|
|
79
79
|
cpf: string;
|
|
@@ -89,8 +89,8 @@ declare const eosPjObject: z.ZodObject<{
|
|
|
89
89
|
complement?: string | undefined;
|
|
90
90
|
}, {
|
|
91
91
|
number: string;
|
|
92
|
-
sex:
|
|
93
|
-
state:
|
|
92
|
+
sex: string;
|
|
93
|
+
state: string;
|
|
94
94
|
name: string;
|
|
95
95
|
cep: string;
|
|
96
96
|
cpf: string;
|
|
@@ -177,7 +177,7 @@ declare const eosPjObject: z.ZodObject<{
|
|
|
177
177
|
rd_re_insurance_toggle: boolean;
|
|
178
178
|
financing_company: {
|
|
179
179
|
number: string;
|
|
180
|
-
state:
|
|
180
|
+
state: string;
|
|
181
181
|
cep: string;
|
|
182
182
|
address: string;
|
|
183
183
|
district: string;
|
|
@@ -195,8 +195,8 @@ declare const eosPjObject: z.ZodObject<{
|
|
|
195
195
|
};
|
|
196
196
|
financing_company_guarantor: {
|
|
197
197
|
number: string;
|
|
198
|
-
sex:
|
|
199
|
-
state:
|
|
198
|
+
sex: string;
|
|
199
|
+
state: string;
|
|
200
200
|
name: string;
|
|
201
201
|
cep: string;
|
|
202
202
|
cpf: string;
|
|
@@ -234,7 +234,7 @@ declare const eosPjObject: z.ZodObject<{
|
|
|
234
234
|
};
|
|
235
235
|
financing_company: {
|
|
236
236
|
number: string;
|
|
237
|
-
state:
|
|
237
|
+
state: string;
|
|
238
238
|
cep: string;
|
|
239
239
|
address: string;
|
|
240
240
|
district: string;
|
|
@@ -252,8 +252,8 @@ declare const eosPjObject: z.ZodObject<{
|
|
|
252
252
|
};
|
|
253
253
|
financing_company_guarantor: {
|
|
254
254
|
number: string;
|
|
255
|
-
sex:
|
|
256
|
-
state:
|
|
255
|
+
sex: string;
|
|
256
|
+
state: string;
|
|
257
257
|
name: string;
|
|
258
258
|
cep: string;
|
|
259
259
|
cpf: string;
|
|
@@ -290,12 +290,12 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
290
290
|
legal_nature: z.ZodString;
|
|
291
291
|
city: z.ZodString;
|
|
292
292
|
economic_activity_group: z.ZodString;
|
|
293
|
-
state: z.ZodEnum<[
|
|
293
|
+
state: z.ZodEnum<[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
294
294
|
economic_activity: z.ZodString;
|
|
295
295
|
monthly_income: z.ZodNumber;
|
|
296
296
|
}, "strict", z.ZodTypeAny, {
|
|
297
297
|
number: string;
|
|
298
|
-
state:
|
|
298
|
+
state: string;
|
|
299
299
|
cep: string;
|
|
300
300
|
address: string;
|
|
301
301
|
district: string;
|
|
@@ -312,7 +312,7 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
312
312
|
complement?: string | undefined;
|
|
313
313
|
}, {
|
|
314
314
|
number: string;
|
|
315
|
-
state:
|
|
315
|
+
state: string;
|
|
316
316
|
cep: string;
|
|
317
317
|
address: string;
|
|
318
318
|
district: string;
|
|
@@ -339,16 +339,16 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
339
339
|
cellphone: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
340
340
|
email: z.ZodEffects<z.ZodString, string, string>;
|
|
341
341
|
district: z.ZodString;
|
|
342
|
-
sex: z.ZodEnum<[
|
|
342
|
+
sex: z.ZodEnum<[string, string]>;
|
|
343
343
|
city: z.ZodString;
|
|
344
|
-
state: z.ZodEnum<[
|
|
344
|
+
state: z.ZodEnum<[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
345
345
|
office: z.ZodString;
|
|
346
346
|
mother_name: z.ZodString;
|
|
347
347
|
nationality: z.ZodString;
|
|
348
348
|
}, "strict", z.ZodTypeAny, {
|
|
349
349
|
number: string;
|
|
350
|
-
sex:
|
|
351
|
-
state:
|
|
350
|
+
sex: string;
|
|
351
|
+
state: string;
|
|
352
352
|
name: string;
|
|
353
353
|
cep: string;
|
|
354
354
|
cpf: string;
|
|
@@ -364,8 +364,8 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
364
364
|
complement?: string | undefined;
|
|
365
365
|
}, {
|
|
366
366
|
number: string;
|
|
367
|
-
sex:
|
|
368
|
-
state:
|
|
367
|
+
sex: string;
|
|
368
|
+
state: string;
|
|
369
369
|
name: string;
|
|
370
370
|
cep: string;
|
|
371
371
|
cpf: string;
|
|
@@ -452,7 +452,7 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
452
452
|
rd_re_insurance_toggle: boolean;
|
|
453
453
|
financing_company: {
|
|
454
454
|
number: string;
|
|
455
|
-
state:
|
|
455
|
+
state: string;
|
|
456
456
|
cep: string;
|
|
457
457
|
address: string;
|
|
458
458
|
district: string;
|
|
@@ -470,8 +470,8 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
470
470
|
};
|
|
471
471
|
financing_company_guarantor: {
|
|
472
472
|
number: string;
|
|
473
|
-
sex:
|
|
474
|
-
state:
|
|
473
|
+
sex: string;
|
|
474
|
+
state: string;
|
|
475
475
|
name: string;
|
|
476
476
|
cep: string;
|
|
477
477
|
cpf: string;
|
|
@@ -509,7 +509,7 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
509
509
|
};
|
|
510
510
|
financing_company: {
|
|
511
511
|
number: string;
|
|
512
|
-
state:
|
|
512
|
+
state: string;
|
|
513
513
|
cep: string;
|
|
514
514
|
address: string;
|
|
515
515
|
district: string;
|
|
@@ -527,8 +527,8 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
527
527
|
};
|
|
528
528
|
financing_company_guarantor: {
|
|
529
529
|
number: string;
|
|
530
|
-
sex:
|
|
531
|
-
state:
|
|
530
|
+
sex: string;
|
|
531
|
+
state: string;
|
|
532
532
|
name: string;
|
|
533
533
|
cep: string;
|
|
534
534
|
cpf: string;
|
|
@@ -568,7 +568,7 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
568
568
|
rd_re_insurance_toggle: boolean;
|
|
569
569
|
financing_company: {
|
|
570
570
|
number: string;
|
|
571
|
-
state:
|
|
571
|
+
state: string;
|
|
572
572
|
cep: string;
|
|
573
573
|
address: string;
|
|
574
574
|
district: string;
|
|
@@ -586,8 +586,8 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
586
586
|
};
|
|
587
587
|
financing_company_guarantor: {
|
|
588
588
|
number: string;
|
|
589
|
-
sex:
|
|
590
|
-
state:
|
|
589
|
+
sex: string;
|
|
590
|
+
state: string;
|
|
591
591
|
name: string;
|
|
592
592
|
cep: string;
|
|
593
593
|
cpf: string;
|
|
@@ -625,7 +625,7 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
625
625
|
};
|
|
626
626
|
financing_company: {
|
|
627
627
|
number: string;
|
|
628
|
-
state:
|
|
628
|
+
state: string;
|
|
629
629
|
cep: string;
|
|
630
630
|
address: string;
|
|
631
631
|
district: string;
|
|
@@ -643,8 +643,8 @@ declare const eosPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
643
643
|
};
|
|
644
644
|
financing_company_guarantor: {
|
|
645
645
|
number: string;
|
|
646
|
-
sex:
|
|
647
|
-
state:
|
|
646
|
+
sex: string;
|
|
647
|
+
state: string;
|
|
648
648
|
name: string;
|
|
649
649
|
cep: string;
|
|
650
650
|
cpf: string;
|
|
@@ -3,8 +3,38 @@
|
|
|
3
3
|
var zod = require('zod');
|
|
4
4
|
|
|
5
5
|
// src/domains/financing/formalization/schemas/EosPJSchema.ts
|
|
6
|
-
var
|
|
7
|
-
|
|
6
|
+
var REQUIRED_MESSAGE = "Campo obrigat\xF3rio";
|
|
7
|
+
function textField(maxLength) {
|
|
8
|
+
const base = zod.z.string().trim().min(1, REQUIRED_MESSAGE);
|
|
9
|
+
return maxLength === void 0 ? base : base.max(maxLength, `M\xE1ximo ${maxLength} caracteres`);
|
|
10
|
+
}
|
|
11
|
+
zod.z.number({ invalid_type_error: "Valor num\xE9rico inv\xE1lido" }).nonnegative("Valor n\xE3o pode ser negativo");
|
|
12
|
+
zod.z.number({ invalid_type_error: "Valor num\xE9rico inv\xE1lido" }).int("Deve ser um n\xFAmero inteiro").nonnegative("Valor n\xE3o pode ser negativo");
|
|
13
|
+
function enumField(values) {
|
|
14
|
+
return zod.z.enum(values, {
|
|
15
|
+
errorMap: (issue, ctx) => {
|
|
16
|
+
if (issue.code === zod.z.ZodIssueCode.invalid_type || issue.code === zod.z.ZodIssueCode.invalid_enum_value && issue.received === "") {
|
|
17
|
+
return { message: REQUIRED_MESSAGE };
|
|
18
|
+
}
|
|
19
|
+
return { message: ctx.defaultError };
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
var MAX_UPLOAD_BYTES = 5 * 1024 * 1024;
|
|
24
|
+
var ACCEPTED_UPLOAD_MIME = ["image/jpeg", "image/png", "application/pdf"];
|
|
25
|
+
var fileUploadField = zod.z.object({
|
|
26
|
+
url: zod.z.string().url().optional(),
|
|
27
|
+
mime: zod.z.enum(ACCEPTED_UPLOAD_MIME, {
|
|
28
|
+
errorMap: () => ({ message: "Formato deve ser JPEG, PNG ou PDF" })
|
|
29
|
+
}),
|
|
30
|
+
sizeBytes: zod.z.number().max(MAX_UPLOAD_BYTES, "Arquivo deve ter no m\xE1ximo 5MB")
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
// src/shared/enums/sex.ts
|
|
34
|
+
var SexEnum = enumField(["masculino", "feminino"]);
|
|
35
|
+
|
|
36
|
+
// src/shared/enums/uf.ts
|
|
37
|
+
var UfEnum = enumField([
|
|
8
38
|
"AC",
|
|
9
39
|
"AL",
|
|
10
40
|
"AP",
|
|
@@ -33,21 +63,6 @@ var UfEnum = zod.z.enum([
|
|
|
33
63
|
"SE",
|
|
34
64
|
"TO"
|
|
35
65
|
]);
|
|
36
|
-
function textField(maxLength) {
|
|
37
|
-
const base = zod.z.string().trim().min(1, "Campo obrigat\xF3rio");
|
|
38
|
-
return maxLength === void 0 ? base : base.max(maxLength, `M\xE1ximo ${maxLength} caracteres`);
|
|
39
|
-
}
|
|
40
|
-
zod.z.number({ invalid_type_error: "Valor num\xE9rico inv\xE1lido" }).nonnegative("Valor n\xE3o pode ser negativo");
|
|
41
|
-
zod.z.number({ invalid_type_error: "Valor num\xE9rico inv\xE1lido" }).int("Deve ser um n\xFAmero inteiro").nonnegative("Valor n\xE3o pode ser negativo");
|
|
42
|
-
var MAX_UPLOAD_BYTES = 5 * 1024 * 1024;
|
|
43
|
-
var ACCEPTED_UPLOAD_MIME = ["image/jpeg", "image/png", "application/pdf"];
|
|
44
|
-
var fileUploadField = zod.z.object({
|
|
45
|
-
url: zod.z.string().url().optional(),
|
|
46
|
-
mime: zod.z.enum(ACCEPTED_UPLOAD_MIME, {
|
|
47
|
-
errorMap: () => ({ message: "Formato deve ser JPEG, PNG ou PDF" })
|
|
48
|
-
}),
|
|
49
|
-
sizeBytes: zod.z.number().max(MAX_UPLOAD_BYTES, "Arquivo deve ter no m\xE1ximo 5MB")
|
|
50
|
-
});
|
|
51
66
|
|
|
52
67
|
// src/shared/regex/patterns.ts
|
|
53
68
|
var PATTERNS = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { eosPjObject, eosPjSchema } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
1
|
+
export { eosPjObject, eosPjSchema } from '../../../chunk-HHJNVLHK.mjs';
|
|
2
|
+
import '../../../chunk-Y3FAMPYF.mjs';
|