@77sol-lab/form-schemas 1.5.0 → 1.6.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-OARPUXXM.mjs → chunk-2ZKUSLGU.mjs} +2 -2
- package/{chunk-5C4YMHXV.mjs → chunk-35IKZUF4.mjs} +2 -2
- package/{chunk-YIUJVGT4.mjs → chunk-57DSP6GG.mjs} +1 -1
- package/{chunk-HBTFOSJU.mjs → chunk-5YFVPFSM.mjs} +83 -28
- package/{chunk-53GXILC6.mjs → chunk-66Y3FO5R.mjs} +2 -2
- package/{chunk-VO573WIK.mjs → chunk-ACJUTGEC.mjs} +1 -1
- package/{chunk-6YS5KBXS.mjs → chunk-AQ43O5UO.mjs} +44 -35
- package/{chunk-7ZF45QUN.mjs → chunk-BITN6YDR.mjs} +2 -2
- package/{chunk-G5SKXDYM.mjs → chunk-BRBOOPFN.mjs} +2 -2
- package/{chunk-UU3MRKTH.mjs → chunk-BSG5DCL7.mjs} +1 -1
- package/{chunk-7I2LXGA2.mjs → chunk-CSGG5DZE.mjs} +2 -2
- package/{chunk-NCTEG6EL.mjs → chunk-E7JXDCBO.mjs} +2 -2
- package/{chunk-RYJSCFSY.mjs → chunk-GVOOT43S.mjs} +1 -1
- package/{chunk-GQ5G2YX4.mjs → chunk-ISJKYUMR.mjs} +2 -2
- package/{chunk-4XJZIRLT.mjs → chunk-JBTU6WKN.mjs} +2 -2
- package/{chunk-UMP5UF3U.mjs → chunk-K23FTEKB.mjs} +1 -1
- package/{chunk-OVANLPKX.mjs → chunk-LEUH6IFB.mjs} +2 -2
- package/{chunk-R6CEKWRQ.mjs → chunk-LOEAPRSO.mjs} +2 -2
- package/{chunk-N2IX5TRK.mjs → chunk-LVFKP46R.mjs} +2 -2
- package/{chunk-Z2TTZ3JJ.mjs → chunk-O5XQR5HN.mjs} +1 -1
- package/{chunk-IWSDOFBY.mjs → chunk-OFCVHF6Z.mjs} +2 -2
- package/{chunk-FPJKWVVF.mjs → chunk-PY7IUNIU.mjs} +1 -1
- package/{chunk-6PH42V5T.mjs → chunk-QUBWDT4D.mjs} +1 -1
- package/{chunk-WTHEEPBE.mjs → chunk-RDLOQ6HV.mjs} +1 -1
- package/{chunk-3OIG2FI5.mjs → chunk-SKSUT6CG.mjs} +2 -2
- package/{chunk-UUWULEKH.mjs → chunk-T2MFLA6J.mjs} +2 -2
- package/{chunk-H54QBCSW.mjs → chunk-UYCCHEM5.mjs} +2 -2
- package/{chunk-L4EWOROT.mjs → chunk-W6J3SW2H.mjs} +2 -2
- package/{chunk-7MWUETLP.mjs → chunk-WPJOW7IE.mjs} +2 -2
- package/{chunk-FRMGP3C3.mjs → chunk-X4LHQVVJ.mjs} +1 -1
- package/{chunk-2END6TYT.mjs → chunk-XVITSWCY.mjs} +1 -1
- package/{chunk-D2ZUTYWA.mjs → chunk-Y7TQ2NQ2.mjs} +17 -8
- package/{chunk-F27U6CXB.mjs → chunk-ZQ2PKLTM.mjs} +2 -2
- package/financing/formalization/index.d.cts +2173 -1306
- package/financing/formalization/index.d.ts +2173 -1306
- package/financing/formalization/index.js +111 -36
- package/financing/formalization/index.mjs +33 -33
- package/financing/formalization/schemas/AlfaPFSchema.d.cts +32 -24
- package/financing/formalization/schemas/AlfaPFSchema.d.ts +32 -24
- package/financing/formalization/schemas/AlfaPFSchema.js +76 -28
- package/financing/formalization/schemas/AlfaPFSchema.mjs +3 -3
- package/financing/formalization/schemas/AlfaPJSchema.d.cts +44 -36
- package/financing/formalization/schemas/AlfaPJSchema.d.ts +44 -36
- package/financing/formalization/schemas/AlfaPJSchema.js +73 -27
- package/financing/formalization/schemas/AlfaPJSchema.mjs +2 -2
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.d.cts +32 -24
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.d.ts +32 -24
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.js +76 -28
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.mjs +3 -3
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.d.cts +44 -36
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.d.ts +44 -36
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.js +73 -27
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.mjs +2 -2
- package/financing/formalization/schemas/BtgPFSchema.d.cts +32 -24
- package/financing/formalization/schemas/BtgPFSchema.d.ts +32 -24
- package/financing/formalization/schemas/BtgPFSchema.js +76 -28
- package/financing/formalization/schemas/BtgPFSchema.mjs +3 -3
- package/financing/formalization/schemas/BtgPJSchema.d.cts +80 -72
- package/financing/formalization/schemas/BtgPJSchema.d.ts +80 -72
- package/financing/formalization/schemas/BtgPJSchema.js +76 -28
- package/financing/formalization/schemas/BtgPJSchema.mjs +3 -3
- package/financing/formalization/schemas/BvPFSchema.d.cts +48 -40
- package/financing/formalization/schemas/BvPFSchema.d.ts +48 -40
- package/financing/formalization/schemas/BvPFSchema.js +76 -28
- package/financing/formalization/schemas/BvPFSchema.mjs +3 -3
- package/financing/formalization/schemas/BvPJSchema.d.cts +80 -72
- package/financing/formalization/schemas/BvPJSchema.d.ts +80 -72
- package/financing/formalization/schemas/BvPJSchema.js +76 -28
- package/financing/formalization/schemas/BvPJSchema.mjs +3 -3
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.d.cts +32 -24
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.d.ts +32 -24
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.js +76 -28
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.mjs +3 -3
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.d.cts +44 -36
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.d.ts +44 -36
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.js +73 -27
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.mjs +2 -2
- package/financing/formalization/schemas/CashMePFSchema.d.cts +32 -24
- package/financing/formalization/schemas/CashMePFSchema.d.ts +32 -24
- package/financing/formalization/schemas/CashMePFSchema.js +76 -28
- package/financing/formalization/schemas/CashMePFSchema.mjs +3 -3
- package/financing/formalization/schemas/CashMePJSchema.d.cts +44 -36
- package/financing/formalization/schemas/CashMePJSchema.d.ts +44 -36
- package/financing/formalization/schemas/CashMePJSchema.js +73 -27
- package/financing/formalization/schemas/CashMePJSchema.mjs +2 -2
- package/financing/formalization/schemas/Credito77PFSchema.d.cts +32 -24
- package/financing/formalization/schemas/Credito77PFSchema.d.ts +32 -24
- package/financing/formalization/schemas/Credito77PFSchema.js +76 -28
- package/financing/formalization/schemas/Credito77PFSchema.mjs +3 -3
- package/financing/formalization/schemas/Credito77PJSchema.d.cts +44 -36
- package/financing/formalization/schemas/Credito77PJSchema.d.ts +44 -36
- package/financing/formalization/schemas/Credito77PJSchema.js +73 -27
- package/financing/formalization/schemas/Credito77PJSchema.mjs +2 -2
- package/financing/formalization/schemas/EosPFSchema.d.cts +32 -24
- package/financing/formalization/schemas/EosPFSchema.d.ts +32 -24
- package/financing/formalization/schemas/EosPFSchema.js +76 -28
- package/financing/formalization/schemas/EosPFSchema.mjs +3 -3
- package/financing/formalization/schemas/EosPJSchema.d.cts +44 -36
- package/financing/formalization/schemas/EosPJSchema.d.ts +44 -36
- package/financing/formalization/schemas/EosPJSchema.js +73 -27
- package/financing/formalization/schemas/EosPJSchema.mjs +2 -2
- package/financing/formalization/schemas/HdtEnergyPFSchema.d.cts +32 -24
- package/financing/formalization/schemas/HdtEnergyPFSchema.d.ts +32 -24
- package/financing/formalization/schemas/HdtEnergyPFSchema.js +76 -28
- package/financing/formalization/schemas/HdtEnergyPFSchema.mjs +3 -3
- package/financing/formalization/schemas/HdtEnergyPJSchema.d.cts +44 -36
- package/financing/formalization/schemas/HdtEnergyPJSchema.d.ts +44 -36
- package/financing/formalization/schemas/HdtEnergyPJSchema.js +73 -27
- package/financing/formalization/schemas/HdtEnergyPJSchema.mjs +2 -2
- package/financing/formalization/schemas/LosangoPFSchema.d.cts +32 -24
- package/financing/formalization/schemas/LosangoPFSchema.d.ts +32 -24
- package/financing/formalization/schemas/LosangoPFSchema.js +76 -28
- package/financing/formalization/schemas/LosangoPFSchema.mjs +3 -3
- package/financing/formalization/schemas/LosangoPJSchema.d.cts +44 -36
- package/financing/formalization/schemas/LosangoPJSchema.d.ts +44 -36
- package/financing/formalization/schemas/LosangoPJSchema.js +73 -27
- package/financing/formalization/schemas/LosangoPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SafraPFSchema.d.cts +32 -24
- package/financing/formalization/schemas/SafraPFSchema.d.ts +32 -24
- package/financing/formalization/schemas/SafraPFSchema.js +76 -28
- package/financing/formalization/schemas/SafraPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SafraPJSchema.d.cts +44 -36
- package/financing/formalization/schemas/SafraPJSchema.d.ts +44 -36
- package/financing/formalization/schemas/SafraPJSchema.js +73 -27
- package/financing/formalization/schemas/SafraPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SantanderPFSchema.d.cts +32 -24
- package/financing/formalization/schemas/SantanderPFSchema.d.ts +32 -24
- package/financing/formalization/schemas/SantanderPFSchema.js +76 -28
- package/financing/formalization/schemas/SantanderPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SantanderPJSchema.d.cts +44 -36
- package/financing/formalization/schemas/SantanderPJSchema.d.ts +44 -36
- package/financing/formalization/schemas/SantanderPJSchema.js +73 -27
- package/financing/formalization/schemas/SantanderPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SolAgoraPFSchema.d.cts +32 -24
- package/financing/formalization/schemas/SolAgoraPFSchema.d.ts +32 -24
- package/financing/formalization/schemas/SolAgoraPFSchema.js +76 -28
- package/financing/formalization/schemas/SolAgoraPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SolAgoraPJSchema.d.cts +80 -72
- package/financing/formalization/schemas/SolAgoraPJSchema.d.ts +80 -72
- package/financing/formalization/schemas/SolAgoraPJSchema.js +76 -28
- package/financing/formalization/schemas/SolAgoraPJSchema.mjs +3 -3
- package/financing/formalization/schemas/SolfacilPFSchema.d.cts +32 -24
- package/financing/formalization/schemas/SolfacilPFSchema.d.ts +32 -24
- package/financing/formalization/schemas/SolfacilPFSchema.js +76 -28
- package/financing/formalization/schemas/SolfacilPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SolfacilPJSchema.d.cts +56 -48
- package/financing/formalization/schemas/SolfacilPJSchema.d.ts +56 -48
- package/financing/formalization/schemas/SolfacilPJSchema.js +73 -27
- package/financing/formalization/schemas/SolfacilPJSchema.mjs +2 -2
- package/financing/formalization/schemas/UnifiedPFSchema.d.cts +98 -90
- package/financing/formalization/schemas/UnifiedPFSchema.d.ts +98 -90
- package/financing/formalization/schemas/UnifiedPFSchema.js +92 -34
- package/financing/formalization/schemas/UnifiedPFSchema.mjs +3 -3
- package/financing/formalization/schemas/UnifiedPJSchema.d.cts +164 -156
- package/financing/formalization/schemas/UnifiedPJSchema.d.ts +164 -156
- package/financing/formalization/schemas/UnifiedPJSchema.js +76 -28
- package/financing/formalization/schemas/UnifiedPJSchema.mjs +3 -3
- package/index.js +111 -36
- package/index.mjs +33 -33
- package/package.json +1 -1
|
@@ -7,20 +7,20 @@ declare const hdtEnergyPfObject: z.ZodObject<{
|
|
|
7
7
|
address: z.ZodString;
|
|
8
8
|
birth_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
|
|
9
9
|
number: z.ZodString;
|
|
10
|
-
sex: z.ZodEnum<[
|
|
10
|
+
sex: z.ZodEnum<[string, string]>;
|
|
11
11
|
complement: z.ZodOptional<z.ZodString>;
|
|
12
12
|
mother_name: z.ZodString;
|
|
13
13
|
district: z.ZodString;
|
|
14
14
|
energy_account_in_requester_name: z.ZodString;
|
|
15
15
|
city: z.ZodString;
|
|
16
16
|
energy_bill_owner_document: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
|
|
17
|
-
state: z.ZodEnum<[
|
|
17
|
+
state: z.ZodEnum<[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
18
18
|
nationality: z.ZodString;
|
|
19
19
|
cellphone: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
20
20
|
email: z.ZodEffects<z.ZodString, string, string>;
|
|
21
21
|
monthly_income: z.ZodNumber;
|
|
22
22
|
profession: z.ZodString;
|
|
23
|
-
type_doc: z.ZodEnum<[
|
|
23
|
+
type_doc: z.ZodEnum<[string, string]>;
|
|
24
24
|
doc: z.ZodString;
|
|
25
25
|
issuing_body: z.ZodString;
|
|
26
26
|
doc_issue_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
|
|
@@ -37,6 +37,7 @@ declare const hdtEnergyPfObject: z.ZodObject<{
|
|
|
37
37
|
sizeBytes: number;
|
|
38
38
|
url?: string | undefined;
|
|
39
39
|
}>;
|
|
40
|
+
proof_kinship_type: z.ZodOptional<z.ZodEnum<[string, string, string, string, string]>>;
|
|
40
41
|
proof_kinship: z.ZodOptional<z.ZodObject<{
|
|
41
42
|
url: z.ZodOptional<z.ZodString>;
|
|
42
43
|
mime: z.ZodEnum<["image/jpeg", "image/png", "application/pdf"]>;
|
|
@@ -79,9 +80,9 @@ declare const hdtEnergyPfObject: z.ZodObject<{
|
|
|
79
80
|
rd_re_insurance_toggle: z.ZodDefault<z.ZodBoolean>;
|
|
80
81
|
}, "strip", z.ZodTypeAny, {
|
|
81
82
|
number: string;
|
|
82
|
-
sex:
|
|
83
|
-
type_doc:
|
|
84
|
-
state:
|
|
83
|
+
sex: string;
|
|
84
|
+
type_doc: string;
|
|
85
|
+
state: string;
|
|
85
86
|
energy_account_in_requester_name: string;
|
|
86
87
|
doc_issue_date: string;
|
|
87
88
|
name: string;
|
|
@@ -115,6 +116,7 @@ declare const hdtEnergyPfObject: z.ZodObject<{
|
|
|
115
116
|
url?: string | undefined;
|
|
116
117
|
};
|
|
117
118
|
rd_re_insurance_toggle: boolean;
|
|
119
|
+
proof_kinship_type?: string | undefined;
|
|
118
120
|
proof_kinship?: {
|
|
119
121
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
120
122
|
sizeBytes: number;
|
|
@@ -124,9 +126,9 @@ declare const hdtEnergyPfObject: z.ZodObject<{
|
|
|
124
126
|
energy_bill_owner_document?: string | undefined;
|
|
125
127
|
}, {
|
|
126
128
|
number: string;
|
|
127
|
-
sex:
|
|
128
|
-
type_doc:
|
|
129
|
-
state:
|
|
129
|
+
sex: string;
|
|
130
|
+
type_doc: string;
|
|
131
|
+
state: string;
|
|
130
132
|
energy_account_in_requester_name: string;
|
|
131
133
|
doc_issue_date: string;
|
|
132
134
|
name: string;
|
|
@@ -159,6 +161,7 @@ declare const hdtEnergyPfObject: z.ZodObject<{
|
|
|
159
161
|
sizeBytes: number;
|
|
160
162
|
url?: string | undefined;
|
|
161
163
|
};
|
|
164
|
+
proof_kinship_type?: string | undefined;
|
|
162
165
|
proof_kinship?: {
|
|
163
166
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
164
167
|
sizeBytes: number;
|
|
@@ -175,20 +178,20 @@ declare const hdtEnergyPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
175
178
|
address: z.ZodString;
|
|
176
179
|
birth_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
|
|
177
180
|
number: z.ZodString;
|
|
178
|
-
sex: z.ZodEnum<[
|
|
181
|
+
sex: z.ZodEnum<[string, string]>;
|
|
179
182
|
complement: z.ZodOptional<z.ZodString>;
|
|
180
183
|
mother_name: z.ZodString;
|
|
181
184
|
district: z.ZodString;
|
|
182
185
|
energy_account_in_requester_name: z.ZodString;
|
|
183
186
|
city: z.ZodString;
|
|
184
187
|
energy_bill_owner_document: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
|
|
185
|
-
state: z.ZodEnum<[
|
|
188
|
+
state: z.ZodEnum<[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
186
189
|
nationality: z.ZodString;
|
|
187
190
|
cellphone: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
188
191
|
email: z.ZodEffects<z.ZodString, string, string>;
|
|
189
192
|
monthly_income: z.ZodNumber;
|
|
190
193
|
profession: z.ZodString;
|
|
191
|
-
type_doc: z.ZodEnum<[
|
|
194
|
+
type_doc: z.ZodEnum<[string, string]>;
|
|
192
195
|
doc: z.ZodString;
|
|
193
196
|
issuing_body: z.ZodString;
|
|
194
197
|
doc_issue_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
|
|
@@ -205,6 +208,7 @@ declare const hdtEnergyPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
205
208
|
sizeBytes: number;
|
|
206
209
|
url?: string | undefined;
|
|
207
210
|
}>;
|
|
211
|
+
proof_kinship_type: z.ZodOptional<z.ZodEnum<[string, string, string, string, string]>>;
|
|
208
212
|
proof_kinship: z.ZodOptional<z.ZodObject<{
|
|
209
213
|
url: z.ZodOptional<z.ZodString>;
|
|
210
214
|
mime: z.ZodEnum<["image/jpeg", "image/png", "application/pdf"]>;
|
|
@@ -247,9 +251,9 @@ declare const hdtEnergyPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
247
251
|
rd_re_insurance_toggle: z.ZodDefault<z.ZodBoolean>;
|
|
248
252
|
}, "strict", z.ZodTypeAny, {
|
|
249
253
|
number: string;
|
|
250
|
-
sex:
|
|
251
|
-
type_doc:
|
|
252
|
-
state:
|
|
254
|
+
sex: string;
|
|
255
|
+
type_doc: string;
|
|
256
|
+
state: string;
|
|
253
257
|
energy_account_in_requester_name: string;
|
|
254
258
|
doc_issue_date: string;
|
|
255
259
|
name: string;
|
|
@@ -283,6 +287,7 @@ declare const hdtEnergyPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
283
287
|
url?: string | undefined;
|
|
284
288
|
};
|
|
285
289
|
rd_re_insurance_toggle: boolean;
|
|
290
|
+
proof_kinship_type?: string | undefined;
|
|
286
291
|
proof_kinship?: {
|
|
287
292
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
288
293
|
sizeBytes: number;
|
|
@@ -292,9 +297,9 @@ declare const hdtEnergyPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
292
297
|
energy_bill_owner_document?: string | undefined;
|
|
293
298
|
}, {
|
|
294
299
|
number: string;
|
|
295
|
-
sex:
|
|
296
|
-
type_doc:
|
|
297
|
-
state:
|
|
300
|
+
sex: string;
|
|
301
|
+
type_doc: string;
|
|
302
|
+
state: string;
|
|
298
303
|
energy_account_in_requester_name: string;
|
|
299
304
|
doc_issue_date: string;
|
|
300
305
|
name: string;
|
|
@@ -327,6 +332,7 @@ declare const hdtEnergyPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
327
332
|
sizeBytes: number;
|
|
328
333
|
url?: string | undefined;
|
|
329
334
|
};
|
|
335
|
+
proof_kinship_type?: string | undefined;
|
|
330
336
|
proof_kinship?: {
|
|
331
337
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
332
338
|
sizeBytes: number;
|
|
@@ -337,9 +343,9 @@ declare const hdtEnergyPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
337
343
|
rd_re_insurance_toggle?: boolean | undefined;
|
|
338
344
|
}>, {
|
|
339
345
|
number: string;
|
|
340
|
-
sex:
|
|
341
|
-
type_doc:
|
|
342
|
-
state:
|
|
346
|
+
sex: string;
|
|
347
|
+
type_doc: string;
|
|
348
|
+
state: string;
|
|
343
349
|
energy_account_in_requester_name: string;
|
|
344
350
|
doc_issue_date: string;
|
|
345
351
|
name: string;
|
|
@@ -373,6 +379,7 @@ declare const hdtEnergyPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
373
379
|
url?: string | undefined;
|
|
374
380
|
};
|
|
375
381
|
rd_re_insurance_toggle: boolean;
|
|
382
|
+
proof_kinship_type?: string | undefined;
|
|
376
383
|
proof_kinship?: {
|
|
377
384
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
378
385
|
sizeBytes: number;
|
|
@@ -382,9 +389,9 @@ declare const hdtEnergyPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
382
389
|
energy_bill_owner_document?: string | undefined;
|
|
383
390
|
}, {
|
|
384
391
|
number: string;
|
|
385
|
-
sex:
|
|
386
|
-
type_doc:
|
|
387
|
-
state:
|
|
392
|
+
sex: string;
|
|
393
|
+
type_doc: string;
|
|
394
|
+
state: string;
|
|
388
395
|
energy_account_in_requester_name: string;
|
|
389
396
|
doc_issue_date: string;
|
|
390
397
|
name: string;
|
|
@@ -417,6 +424,7 @@ declare const hdtEnergyPfSchema: z.ZodEffects<z.ZodObject<{
|
|
|
417
424
|
sizeBytes: number;
|
|
418
425
|
url?: string | undefined;
|
|
419
426
|
};
|
|
427
|
+
proof_kinship_type?: string | undefined;
|
|
420
428
|
proof_kinship?: {
|
|
421
429
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
422
430
|
sizeBytes: number;
|
|
@@ -3,12 +3,63 @@
|
|
|
3
3
|
var zod = require('zod');
|
|
4
4
|
|
|
5
5
|
// src/domains/financing/formalization/schemas/HdtEnergyPFSchema.ts
|
|
6
|
-
var
|
|
6
|
+
var REQUIRED_MESSAGE = "Campo obrigat\xF3rio";
|
|
7
|
+
var REQUIRED_STRING_PARAMS = {
|
|
8
|
+
required_error: REQUIRED_MESSAGE,
|
|
9
|
+
invalid_type_error: REQUIRED_MESSAGE
|
|
10
|
+
};
|
|
11
|
+
function requiredString() {
|
|
12
|
+
return zod.z.string(REQUIRED_STRING_PARAMS);
|
|
13
|
+
}
|
|
14
|
+
function textField(maxLength) {
|
|
15
|
+
const base = requiredString().trim().min(1, REQUIRED_MESSAGE);
|
|
16
|
+
return maxLength === void 0 ? base : base.max(maxLength, `M\xE1ximo ${maxLength} caracteres`);
|
|
17
|
+
}
|
|
18
|
+
zod.z.number({ required_error: REQUIRED_MESSAGE, invalid_type_error: "Valor num\xE9rico inv\xE1lido" }).nonnegative("Valor n\xE3o pode ser negativo");
|
|
19
|
+
zod.z.number({ required_error: REQUIRED_MESSAGE, invalid_type_error: "Valor num\xE9rico inv\xE1lido" }).int("Deve ser um n\xFAmero inteiro").nonnegative("Valor n\xE3o pode ser negativo");
|
|
20
|
+
function enumField(values) {
|
|
21
|
+
return zod.z.enum(values, {
|
|
22
|
+
errorMap: (issue, ctx) => {
|
|
23
|
+
if (issue.code === zod.z.ZodIssueCode.invalid_type || issue.code === zod.z.ZodIssueCode.invalid_enum_value && issue.received === "") {
|
|
24
|
+
return { message: REQUIRED_MESSAGE };
|
|
25
|
+
}
|
|
26
|
+
return { message: ctx.defaultError };
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
var MAX_UPLOAD_BYTES = 5 * 1024 * 1024;
|
|
31
|
+
var ACCEPTED_UPLOAD_MIME = ["image/jpeg", "image/png", "application/pdf"];
|
|
32
|
+
var fileUploadField = zod.z.object(
|
|
33
|
+
{
|
|
34
|
+
url: zod.z.string().url().optional(),
|
|
35
|
+
mime: zod.z.enum(ACCEPTED_UPLOAD_MIME, {
|
|
36
|
+
errorMap: () => ({ message: "Formato deve ser JPEG, PNG ou PDF" })
|
|
37
|
+
}),
|
|
38
|
+
sizeBytes: zod.z.number().max(MAX_UPLOAD_BYTES, "Arquivo deve ter no m\xE1ximo 5MB")
|
|
39
|
+
},
|
|
40
|
+
REQUIRED_STRING_PARAMS
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
// src/shared/enums/document-type.ts
|
|
44
|
+
var DocumentTypeEnum = enumField([
|
|
7
45
|
"documento_de_identidade",
|
|
8
46
|
"carteira_nacional_de_habilita\xE7\xE3o"
|
|
9
47
|
]);
|
|
10
|
-
|
|
11
|
-
|
|
48
|
+
|
|
49
|
+
// src/shared/enums/proof-kinship-type.ts
|
|
50
|
+
var ProofKinshipTypeEnum = enumField([
|
|
51
|
+
"certidao_casamento",
|
|
52
|
+
"documento_identificacao",
|
|
53
|
+
"contrato_social",
|
|
54
|
+
"declaracao_parentesco",
|
|
55
|
+
"outro_documento"
|
|
56
|
+
]);
|
|
57
|
+
|
|
58
|
+
// src/shared/enums/sex.ts
|
|
59
|
+
var SexEnum = enumField(["masculino", "feminino"]);
|
|
60
|
+
|
|
61
|
+
// src/shared/enums/uf.ts
|
|
62
|
+
var UfEnum = enumField([
|
|
12
63
|
"AC",
|
|
13
64
|
"AL",
|
|
14
65
|
"AP",
|
|
@@ -37,21 +88,6 @@ var UfEnum = zod.z.enum([
|
|
|
37
88
|
"SE",
|
|
38
89
|
"TO"
|
|
39
90
|
]);
|
|
40
|
-
function textField(maxLength) {
|
|
41
|
-
const base = zod.z.string().trim().min(1, "Campo obrigat\xF3rio");
|
|
42
|
-
return maxLength === void 0 ? base : base.max(maxLength, `M\xE1ximo ${maxLength} caracteres`);
|
|
43
|
-
}
|
|
44
|
-
zod.z.number({ invalid_type_error: "Valor num\xE9rico inv\xE1lido" }).nonnegative("Valor n\xE3o pode ser negativo");
|
|
45
|
-
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");
|
|
46
|
-
var MAX_UPLOAD_BYTES = 5 * 1024 * 1024;
|
|
47
|
-
var ACCEPTED_UPLOAD_MIME = ["image/jpeg", "image/png", "application/pdf"];
|
|
48
|
-
var fileUploadField = zod.z.object({
|
|
49
|
-
url: zod.z.string().url().optional(),
|
|
50
|
-
mime: zod.z.enum(ACCEPTED_UPLOAD_MIME, {
|
|
51
|
-
errorMap: () => ({ message: "Formato deve ser JPEG, PNG ou PDF" })
|
|
52
|
-
}),
|
|
53
|
-
sizeBytes: zod.z.number().max(MAX_UPLOAD_BYTES, "Arquivo deve ter no m\xE1ximo 5MB")
|
|
54
|
-
});
|
|
55
91
|
|
|
56
92
|
// src/shared/regex/patterns.ts
|
|
57
93
|
var PATTERNS = {
|
|
@@ -149,16 +185,16 @@ function yearsSinceDMY(value, reference = /* @__PURE__ */ new Date()) {
|
|
|
149
185
|
}
|
|
150
186
|
|
|
151
187
|
// src/shared/regex/index.ts
|
|
152
|
-
var cpfSchema =
|
|
153
|
-
|
|
154
|
-
var cpfCnpjSchema =
|
|
188
|
+
var cpfSchema = requiredString().transform(onlyDigits).refine((v) => PATTERNS.cpf.test(v), "CPF inv\xE1lido").refine(isValidCPF, "CPF inv\xE1lido");
|
|
189
|
+
requiredString().transform(onlyDigits).refine((v) => PATTERNS.cnpj.test(v), "CNPJ inv\xE1lido").refine(isValidCNPJ, "CNPJ inv\xE1lido");
|
|
190
|
+
var cpfCnpjSchema = requiredString().transform(onlyDigits).refine(
|
|
155
191
|
(v) => PATTERNS.cpf.test(v) || PATTERNS.cnpj.test(v),
|
|
156
192
|
"Documento deve ter 11 (CPF) ou 14 (CNPJ) d\xEDgitos"
|
|
157
193
|
).refine((v) => v.length === 11 ? isValidCPF(v) : isValidCNPJ(v), "Documento inv\xE1lido");
|
|
158
|
-
var cepSchema =
|
|
159
|
-
var phoneBRSchema =
|
|
160
|
-
var emailSchema =
|
|
161
|
-
var dateDMYSchema =
|
|
194
|
+
var cepSchema = requiredString().transform(onlyDigits).refine((v) => PATTERNS.cep.test(v), "CEP inv\xE1lido");
|
|
195
|
+
var phoneBRSchema = requiredString().transform(onlyDigits).refine((v) => PATTERNS.phoneBR.test(v), "Telefone inv\xE1lido");
|
|
196
|
+
var emailSchema = requiredString().trim().refine((v) => PATTERNS.email.test(v), "E-mail inv\xE1lido");
|
|
197
|
+
var dateDMYSchema = requiredString().refine((v) => PATTERNS.dateDMY.test(v), "Data inv\xE1lida").refine((v) => parseDMY(v) !== null, "Data inexistente no calend\xE1rio");
|
|
162
198
|
var birthDateSchema = dateDMYSchema.refine(
|
|
163
199
|
(v) => isAdultDMY(v),
|
|
164
200
|
"\xC9 necess\xE1rio ser maior de idade (18+)"
|
|
@@ -167,10 +203,11 @@ var issueDateSchema = dateDMYSchema.refine(
|
|
|
167
203
|
(v) => isNotFutureDMY(v),
|
|
168
204
|
"Data de emiss\xE3o n\xE3o pode ser futura"
|
|
169
205
|
);
|
|
170
|
-
var currencySchema = zod.z.number({ invalid_type_error: "Valor monet\xE1rio inv\xE1lido" }).positive("Valor deve ser positivo");
|
|
171
|
-
zod.z.number().int("Deve ser um n\xFAmero inteiro").min(1, "M\xEDnimo 1").max(28, "M\xE1ximo 28");
|
|
206
|
+
var currencySchema = zod.z.number({ required_error: REQUIRED_MESSAGE, invalid_type_error: "Valor monet\xE1rio inv\xE1lido" }).positive("Valor deve ser positivo");
|
|
207
|
+
zod.z.number({ required_error: REQUIRED_MESSAGE, invalid_type_error: "Valor num\xE9rico inv\xE1lido" }).int("Deve ser um n\xFAmero inteiro").min(1, "M\xEDnimo 1").max(28, "M\xE1ximo 28");
|
|
172
208
|
var formalizationExtras = {
|
|
173
209
|
voucher_local_installation_address: fileUploadField,
|
|
210
|
+
proof_kinship_type: ProofKinshipTypeEnum.optional(),
|
|
174
211
|
proof_kinship: fileUploadField.optional(),
|
|
175
212
|
document_front_upload: fileUploadField,
|
|
176
213
|
document_back_upload: fileUploadField,
|
|
@@ -213,7 +250,18 @@ function applyPartnerRefinement(data, ctx) {
|
|
|
213
250
|
}
|
|
214
251
|
}
|
|
215
252
|
function applyCommonRefinements(data, ctx) {
|
|
216
|
-
|
|
253
|
+
const accountInThirdPartyName = data.energy_account_in_requester_name === "sim";
|
|
254
|
+
if (!accountInThirdPartyName) {
|
|
255
|
+
return;
|
|
256
|
+
}
|
|
257
|
+
if (!data.proof_kinship_type) {
|
|
258
|
+
ctx.addIssue({
|
|
259
|
+
code: zod.z.ZodIssueCode.custom,
|
|
260
|
+
path: ["proof_kinship_type"],
|
|
261
|
+
message: "Tipo de comprovante \xE9 obrigat\xF3rio quando a conta est\xE1 em nome de terceiro"
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
if (!data.proof_kinship) {
|
|
217
265
|
ctx.addIssue({
|
|
218
266
|
code: zod.z.ZodIssueCode.custom,
|
|
219
267
|
path: ["proof_kinship"],
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { hdtEnergyPfObject, hdtEnergyPfSchema } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
3
|
-
import '../../../chunk-
|
|
1
|
+
export { hdtEnergyPfObject, hdtEnergyPfSchema } from '../../../chunk-WPJOW7IE.mjs';
|
|
2
|
+
import '../../../chunk-CSGG5DZE.mjs';
|
|
3
|
+
import '../../../chunk-5YFVPFSM.mjs';
|
|
@@ -15,12 +15,12 @@ declare const hdtEnergyPjObject: 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 hdtEnergyPjObject: 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 hdtEnergyPjObject: 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 hdtEnergyPjObject: 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;
|
|
@@ -118,6 +118,7 @@ declare const hdtEnergyPjObject: z.ZodObject<{
|
|
|
118
118
|
sizeBytes: number;
|
|
119
119
|
url?: string | undefined;
|
|
120
120
|
}>;
|
|
121
|
+
proof_kinship_type: z.ZodOptional<z.ZodEnum<[string, string, string, string, string]>>;
|
|
121
122
|
proof_kinship: z.ZodOptional<z.ZodObject<{
|
|
122
123
|
url: z.ZodOptional<z.ZodString>;
|
|
123
124
|
mime: z.ZodEnum<["image/jpeg", "image/png", "application/pdf"]>;
|
|
@@ -177,7 +178,7 @@ declare const hdtEnergyPjObject: z.ZodObject<{
|
|
|
177
178
|
rd_re_insurance_toggle: boolean;
|
|
178
179
|
financing_company: {
|
|
179
180
|
number: string;
|
|
180
|
-
state:
|
|
181
|
+
state: string;
|
|
181
182
|
cep: string;
|
|
182
183
|
address: string;
|
|
183
184
|
district: string;
|
|
@@ -195,8 +196,8 @@ declare const hdtEnergyPjObject: z.ZodObject<{
|
|
|
195
196
|
};
|
|
196
197
|
financing_company_guarantor: {
|
|
197
198
|
number: string;
|
|
198
|
-
sex:
|
|
199
|
-
state:
|
|
199
|
+
sex: string;
|
|
200
|
+
state: string;
|
|
200
201
|
name: string;
|
|
201
202
|
cep: string;
|
|
202
203
|
cpf: string;
|
|
@@ -211,6 +212,7 @@ declare const hdtEnergyPjObject: z.ZodObject<{
|
|
|
211
212
|
office: string;
|
|
212
213
|
complement?: string | undefined;
|
|
213
214
|
}[];
|
|
215
|
+
proof_kinship_type?: string | undefined;
|
|
214
216
|
proof_kinship?: {
|
|
215
217
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
216
218
|
sizeBytes: number;
|
|
@@ -234,7 +236,7 @@ declare const hdtEnergyPjObject: z.ZodObject<{
|
|
|
234
236
|
};
|
|
235
237
|
financing_company: {
|
|
236
238
|
number: string;
|
|
237
|
-
state:
|
|
239
|
+
state: string;
|
|
238
240
|
cep: string;
|
|
239
241
|
address: string;
|
|
240
242
|
district: string;
|
|
@@ -252,8 +254,8 @@ declare const hdtEnergyPjObject: z.ZodObject<{
|
|
|
252
254
|
};
|
|
253
255
|
financing_company_guarantor: {
|
|
254
256
|
number: string;
|
|
255
|
-
sex:
|
|
256
|
-
state:
|
|
257
|
+
sex: string;
|
|
258
|
+
state: string;
|
|
257
259
|
name: string;
|
|
258
260
|
cep: string;
|
|
259
261
|
cpf: string;
|
|
@@ -268,6 +270,7 @@ declare const hdtEnergyPjObject: z.ZodObject<{
|
|
|
268
270
|
office: string;
|
|
269
271
|
complement?: string | undefined;
|
|
270
272
|
}[];
|
|
273
|
+
proof_kinship_type?: string | undefined;
|
|
271
274
|
proof_kinship?: {
|
|
272
275
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
273
276
|
sizeBytes: number;
|
|
@@ -290,12 +293,12 @@ declare const hdtEnergyPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
290
293
|
legal_nature: z.ZodString;
|
|
291
294
|
city: z.ZodString;
|
|
292
295
|
economic_activity_group: z.ZodString;
|
|
293
|
-
state: z.ZodEnum<[
|
|
296
|
+
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
297
|
economic_activity: z.ZodString;
|
|
295
298
|
monthly_income: z.ZodNumber;
|
|
296
299
|
}, "strict", z.ZodTypeAny, {
|
|
297
300
|
number: string;
|
|
298
|
-
state:
|
|
301
|
+
state: string;
|
|
299
302
|
cep: string;
|
|
300
303
|
address: string;
|
|
301
304
|
district: string;
|
|
@@ -312,7 +315,7 @@ declare const hdtEnergyPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
312
315
|
complement?: string | undefined;
|
|
313
316
|
}, {
|
|
314
317
|
number: string;
|
|
315
|
-
state:
|
|
318
|
+
state: string;
|
|
316
319
|
cep: string;
|
|
317
320
|
address: string;
|
|
318
321
|
district: string;
|
|
@@ -339,16 +342,16 @@ declare const hdtEnergyPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
339
342
|
cellphone: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
340
343
|
email: z.ZodEffects<z.ZodString, string, string>;
|
|
341
344
|
district: z.ZodString;
|
|
342
|
-
sex: z.ZodEnum<[
|
|
345
|
+
sex: z.ZodEnum<[string, string]>;
|
|
343
346
|
city: z.ZodString;
|
|
344
|
-
state: z.ZodEnum<[
|
|
347
|
+
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
348
|
office: z.ZodString;
|
|
346
349
|
mother_name: z.ZodString;
|
|
347
350
|
nationality: z.ZodString;
|
|
348
351
|
}, "strict", z.ZodTypeAny, {
|
|
349
352
|
number: string;
|
|
350
|
-
sex:
|
|
351
|
-
state:
|
|
353
|
+
sex: string;
|
|
354
|
+
state: string;
|
|
352
355
|
name: string;
|
|
353
356
|
cep: string;
|
|
354
357
|
cpf: string;
|
|
@@ -364,8 +367,8 @@ declare const hdtEnergyPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
364
367
|
complement?: string | undefined;
|
|
365
368
|
}, {
|
|
366
369
|
number: string;
|
|
367
|
-
sex:
|
|
368
|
-
state:
|
|
370
|
+
sex: string;
|
|
371
|
+
state: string;
|
|
369
372
|
name: string;
|
|
370
373
|
cep: string;
|
|
371
374
|
cpf: string;
|
|
@@ -393,6 +396,7 @@ declare const hdtEnergyPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
393
396
|
sizeBytes: number;
|
|
394
397
|
url?: string | undefined;
|
|
395
398
|
}>;
|
|
399
|
+
proof_kinship_type: z.ZodOptional<z.ZodEnum<[string, string, string, string, string]>>;
|
|
396
400
|
proof_kinship: z.ZodOptional<z.ZodObject<{
|
|
397
401
|
url: z.ZodOptional<z.ZodString>;
|
|
398
402
|
mime: z.ZodEnum<["image/jpeg", "image/png", "application/pdf"]>;
|
|
@@ -452,7 +456,7 @@ declare const hdtEnergyPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
452
456
|
rd_re_insurance_toggle: boolean;
|
|
453
457
|
financing_company: {
|
|
454
458
|
number: string;
|
|
455
|
-
state:
|
|
459
|
+
state: string;
|
|
456
460
|
cep: string;
|
|
457
461
|
address: string;
|
|
458
462
|
district: string;
|
|
@@ -470,8 +474,8 @@ declare const hdtEnergyPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
470
474
|
};
|
|
471
475
|
financing_company_guarantor: {
|
|
472
476
|
number: string;
|
|
473
|
-
sex:
|
|
474
|
-
state:
|
|
477
|
+
sex: string;
|
|
478
|
+
state: string;
|
|
475
479
|
name: string;
|
|
476
480
|
cep: string;
|
|
477
481
|
cpf: string;
|
|
@@ -486,6 +490,7 @@ declare const hdtEnergyPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
486
490
|
office: string;
|
|
487
491
|
complement?: string | undefined;
|
|
488
492
|
}[];
|
|
493
|
+
proof_kinship_type?: string | undefined;
|
|
489
494
|
proof_kinship?: {
|
|
490
495
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
491
496
|
sizeBytes: number;
|
|
@@ -509,7 +514,7 @@ declare const hdtEnergyPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
509
514
|
};
|
|
510
515
|
financing_company: {
|
|
511
516
|
number: string;
|
|
512
|
-
state:
|
|
517
|
+
state: string;
|
|
513
518
|
cep: string;
|
|
514
519
|
address: string;
|
|
515
520
|
district: string;
|
|
@@ -527,8 +532,8 @@ declare const hdtEnergyPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
527
532
|
};
|
|
528
533
|
financing_company_guarantor: {
|
|
529
534
|
number: string;
|
|
530
|
-
sex:
|
|
531
|
-
state:
|
|
535
|
+
sex: string;
|
|
536
|
+
state: string;
|
|
532
537
|
name: string;
|
|
533
538
|
cep: string;
|
|
534
539
|
cpf: string;
|
|
@@ -543,6 +548,7 @@ declare const hdtEnergyPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
543
548
|
office: string;
|
|
544
549
|
complement?: string | undefined;
|
|
545
550
|
}[];
|
|
551
|
+
proof_kinship_type?: string | undefined;
|
|
546
552
|
proof_kinship?: {
|
|
547
553
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
548
554
|
sizeBytes: number;
|
|
@@ -568,7 +574,7 @@ declare const hdtEnergyPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
568
574
|
rd_re_insurance_toggle: boolean;
|
|
569
575
|
financing_company: {
|
|
570
576
|
number: string;
|
|
571
|
-
state:
|
|
577
|
+
state: string;
|
|
572
578
|
cep: string;
|
|
573
579
|
address: string;
|
|
574
580
|
district: string;
|
|
@@ -586,8 +592,8 @@ declare const hdtEnergyPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
586
592
|
};
|
|
587
593
|
financing_company_guarantor: {
|
|
588
594
|
number: string;
|
|
589
|
-
sex:
|
|
590
|
-
state:
|
|
595
|
+
sex: string;
|
|
596
|
+
state: string;
|
|
591
597
|
name: string;
|
|
592
598
|
cep: string;
|
|
593
599
|
cpf: string;
|
|
@@ -602,6 +608,7 @@ declare const hdtEnergyPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
602
608
|
office: string;
|
|
603
609
|
complement?: string | undefined;
|
|
604
610
|
}[];
|
|
611
|
+
proof_kinship_type?: string | undefined;
|
|
605
612
|
proof_kinship?: {
|
|
606
613
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
607
614
|
sizeBytes: number;
|
|
@@ -625,7 +632,7 @@ declare const hdtEnergyPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
625
632
|
};
|
|
626
633
|
financing_company: {
|
|
627
634
|
number: string;
|
|
628
|
-
state:
|
|
635
|
+
state: string;
|
|
629
636
|
cep: string;
|
|
630
637
|
address: string;
|
|
631
638
|
district: string;
|
|
@@ -643,8 +650,8 @@ declare const hdtEnergyPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
643
650
|
};
|
|
644
651
|
financing_company_guarantor: {
|
|
645
652
|
number: string;
|
|
646
|
-
sex:
|
|
647
|
-
state:
|
|
653
|
+
sex: string;
|
|
654
|
+
state: string;
|
|
648
655
|
name: string;
|
|
649
656
|
cep: string;
|
|
650
657
|
cpf: string;
|
|
@@ -659,6 +666,7 @@ declare const hdtEnergyPjSchema: z.ZodEffects<z.ZodObject<{
|
|
|
659
666
|
office: string;
|
|
660
667
|
complement?: string | undefined;
|
|
661
668
|
}[];
|
|
669
|
+
proof_kinship_type?: string | undefined;
|
|
662
670
|
proof_kinship?: {
|
|
663
671
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
664
672
|
sizeBytes: number;
|