@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 solfacilPfObject: 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 solfacilPfObject: 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 solfacilPfObject: 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 solfacilPfObject: 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 solfacilPfObject: 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 solfacilPfObject: 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 solfacilPfSchema: 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 solfacilPfSchema: 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 solfacilPfSchema: 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 solfacilPfSchema: 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 solfacilPfSchema: 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 solfacilPfSchema: 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 solfacilPfSchema: 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 solfacilPfSchema: 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 solfacilPfSchema: 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 solfacilPfSchema: 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;
|
|
@@ -7,20 +7,20 @@ declare const solfacilPfObject: 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 solfacilPfObject: 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 solfacilPfObject: 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 solfacilPfObject: 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 solfacilPfObject: 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 solfacilPfObject: 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 solfacilPfSchema: 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 solfacilPfSchema: 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 solfacilPfSchema: 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 solfacilPfSchema: 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 solfacilPfSchema: 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 solfacilPfSchema: 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 solfacilPfSchema: 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 solfacilPfSchema: 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 solfacilPfSchema: 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 solfacilPfSchema: 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/SolfacilPFSchema.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 { solfacilPfObject, solfacilPfSchema } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
3
|
-
import '../../../chunk-
|
|
1
|
+
export { solfacilPfObject, solfacilPfSchema } from '../../../chunk-ZQ2PKLTM.mjs';
|
|
2
|
+
import '../../../chunk-CSGG5DZE.mjs';
|
|
3
|
+
import '../../../chunk-5YFVPFSM.mjs';
|