@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.
Files changed (160) hide show
  1. package/{chunk-OARPUXXM.mjs → chunk-2ZKUSLGU.mjs} +2 -2
  2. package/{chunk-5C4YMHXV.mjs → chunk-35IKZUF4.mjs} +2 -2
  3. package/{chunk-YIUJVGT4.mjs → chunk-57DSP6GG.mjs} +1 -1
  4. package/{chunk-HBTFOSJU.mjs → chunk-5YFVPFSM.mjs} +83 -28
  5. package/{chunk-53GXILC6.mjs → chunk-66Y3FO5R.mjs} +2 -2
  6. package/{chunk-VO573WIK.mjs → chunk-ACJUTGEC.mjs} +1 -1
  7. package/{chunk-6YS5KBXS.mjs → chunk-AQ43O5UO.mjs} +44 -35
  8. package/{chunk-7ZF45QUN.mjs → chunk-BITN6YDR.mjs} +2 -2
  9. package/{chunk-G5SKXDYM.mjs → chunk-BRBOOPFN.mjs} +2 -2
  10. package/{chunk-UU3MRKTH.mjs → chunk-BSG5DCL7.mjs} +1 -1
  11. package/{chunk-7I2LXGA2.mjs → chunk-CSGG5DZE.mjs} +2 -2
  12. package/{chunk-NCTEG6EL.mjs → chunk-E7JXDCBO.mjs} +2 -2
  13. package/{chunk-RYJSCFSY.mjs → chunk-GVOOT43S.mjs} +1 -1
  14. package/{chunk-GQ5G2YX4.mjs → chunk-ISJKYUMR.mjs} +2 -2
  15. package/{chunk-4XJZIRLT.mjs → chunk-JBTU6WKN.mjs} +2 -2
  16. package/{chunk-UMP5UF3U.mjs → chunk-K23FTEKB.mjs} +1 -1
  17. package/{chunk-OVANLPKX.mjs → chunk-LEUH6IFB.mjs} +2 -2
  18. package/{chunk-R6CEKWRQ.mjs → chunk-LOEAPRSO.mjs} +2 -2
  19. package/{chunk-N2IX5TRK.mjs → chunk-LVFKP46R.mjs} +2 -2
  20. package/{chunk-Z2TTZ3JJ.mjs → chunk-O5XQR5HN.mjs} +1 -1
  21. package/{chunk-IWSDOFBY.mjs → chunk-OFCVHF6Z.mjs} +2 -2
  22. package/{chunk-FPJKWVVF.mjs → chunk-PY7IUNIU.mjs} +1 -1
  23. package/{chunk-6PH42V5T.mjs → chunk-QUBWDT4D.mjs} +1 -1
  24. package/{chunk-WTHEEPBE.mjs → chunk-RDLOQ6HV.mjs} +1 -1
  25. package/{chunk-3OIG2FI5.mjs → chunk-SKSUT6CG.mjs} +2 -2
  26. package/{chunk-UUWULEKH.mjs → chunk-T2MFLA6J.mjs} +2 -2
  27. package/{chunk-H54QBCSW.mjs → chunk-UYCCHEM5.mjs} +2 -2
  28. package/{chunk-L4EWOROT.mjs → chunk-W6J3SW2H.mjs} +2 -2
  29. package/{chunk-7MWUETLP.mjs → chunk-WPJOW7IE.mjs} +2 -2
  30. package/{chunk-FRMGP3C3.mjs → chunk-X4LHQVVJ.mjs} +1 -1
  31. package/{chunk-2END6TYT.mjs → chunk-XVITSWCY.mjs} +1 -1
  32. package/{chunk-D2ZUTYWA.mjs → chunk-Y7TQ2NQ2.mjs} +17 -8
  33. package/{chunk-F27U6CXB.mjs → chunk-ZQ2PKLTM.mjs} +2 -2
  34. package/financing/formalization/index.d.cts +2173 -1306
  35. package/financing/formalization/index.d.ts +2173 -1306
  36. package/financing/formalization/index.js +111 -36
  37. package/financing/formalization/index.mjs +33 -33
  38. package/financing/formalization/schemas/AlfaPFSchema.d.cts +32 -24
  39. package/financing/formalization/schemas/AlfaPFSchema.d.ts +32 -24
  40. package/financing/formalization/schemas/AlfaPFSchema.js +76 -28
  41. package/financing/formalization/schemas/AlfaPFSchema.mjs +3 -3
  42. package/financing/formalization/schemas/AlfaPJSchema.d.cts +44 -36
  43. package/financing/formalization/schemas/AlfaPJSchema.d.ts +44 -36
  44. package/financing/formalization/schemas/AlfaPJSchema.js +73 -27
  45. package/financing/formalization/schemas/AlfaPJSchema.mjs +2 -2
  46. package/financing/formalization/schemas/BancoDoBrasilPFSchema.d.cts +32 -24
  47. package/financing/formalization/schemas/BancoDoBrasilPFSchema.d.ts +32 -24
  48. package/financing/formalization/schemas/BancoDoBrasilPFSchema.js +76 -28
  49. package/financing/formalization/schemas/BancoDoBrasilPFSchema.mjs +3 -3
  50. package/financing/formalization/schemas/BancoDoBrasilPJSchema.d.cts +44 -36
  51. package/financing/formalization/schemas/BancoDoBrasilPJSchema.d.ts +44 -36
  52. package/financing/formalization/schemas/BancoDoBrasilPJSchema.js +73 -27
  53. package/financing/formalization/schemas/BancoDoBrasilPJSchema.mjs +2 -2
  54. package/financing/formalization/schemas/BtgPFSchema.d.cts +32 -24
  55. package/financing/formalization/schemas/BtgPFSchema.d.ts +32 -24
  56. package/financing/formalization/schemas/BtgPFSchema.js +76 -28
  57. package/financing/formalization/schemas/BtgPFSchema.mjs +3 -3
  58. package/financing/formalization/schemas/BtgPJSchema.d.cts +80 -72
  59. package/financing/formalization/schemas/BtgPJSchema.d.ts +80 -72
  60. package/financing/formalization/schemas/BtgPJSchema.js +76 -28
  61. package/financing/formalization/schemas/BtgPJSchema.mjs +3 -3
  62. package/financing/formalization/schemas/BvPFSchema.d.cts +48 -40
  63. package/financing/formalization/schemas/BvPFSchema.d.ts +48 -40
  64. package/financing/formalization/schemas/BvPFSchema.js +76 -28
  65. package/financing/formalization/schemas/BvPFSchema.mjs +3 -3
  66. package/financing/formalization/schemas/BvPJSchema.d.cts +80 -72
  67. package/financing/formalization/schemas/BvPJSchema.d.ts +80 -72
  68. package/financing/formalization/schemas/BvPJSchema.js +76 -28
  69. package/financing/formalization/schemas/BvPJSchema.mjs +3 -3
  70. package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.d.cts +32 -24
  71. package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.d.ts +32 -24
  72. package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.js +76 -28
  73. package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.mjs +3 -3
  74. package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.d.cts +44 -36
  75. package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.d.ts +44 -36
  76. package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.js +73 -27
  77. package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.mjs +2 -2
  78. package/financing/formalization/schemas/CashMePFSchema.d.cts +32 -24
  79. package/financing/formalization/schemas/CashMePFSchema.d.ts +32 -24
  80. package/financing/formalization/schemas/CashMePFSchema.js +76 -28
  81. package/financing/formalization/schemas/CashMePFSchema.mjs +3 -3
  82. package/financing/formalization/schemas/CashMePJSchema.d.cts +44 -36
  83. package/financing/formalization/schemas/CashMePJSchema.d.ts +44 -36
  84. package/financing/formalization/schemas/CashMePJSchema.js +73 -27
  85. package/financing/formalization/schemas/CashMePJSchema.mjs +2 -2
  86. package/financing/formalization/schemas/Credito77PFSchema.d.cts +32 -24
  87. package/financing/formalization/schemas/Credito77PFSchema.d.ts +32 -24
  88. package/financing/formalization/schemas/Credito77PFSchema.js +76 -28
  89. package/financing/formalization/schemas/Credito77PFSchema.mjs +3 -3
  90. package/financing/formalization/schemas/Credito77PJSchema.d.cts +44 -36
  91. package/financing/formalization/schemas/Credito77PJSchema.d.ts +44 -36
  92. package/financing/formalization/schemas/Credito77PJSchema.js +73 -27
  93. package/financing/formalization/schemas/Credito77PJSchema.mjs +2 -2
  94. package/financing/formalization/schemas/EosPFSchema.d.cts +32 -24
  95. package/financing/formalization/schemas/EosPFSchema.d.ts +32 -24
  96. package/financing/formalization/schemas/EosPFSchema.js +76 -28
  97. package/financing/formalization/schemas/EosPFSchema.mjs +3 -3
  98. package/financing/formalization/schemas/EosPJSchema.d.cts +44 -36
  99. package/financing/formalization/schemas/EosPJSchema.d.ts +44 -36
  100. package/financing/formalization/schemas/EosPJSchema.js +73 -27
  101. package/financing/formalization/schemas/EosPJSchema.mjs +2 -2
  102. package/financing/formalization/schemas/HdtEnergyPFSchema.d.cts +32 -24
  103. package/financing/formalization/schemas/HdtEnergyPFSchema.d.ts +32 -24
  104. package/financing/formalization/schemas/HdtEnergyPFSchema.js +76 -28
  105. package/financing/formalization/schemas/HdtEnergyPFSchema.mjs +3 -3
  106. package/financing/formalization/schemas/HdtEnergyPJSchema.d.cts +44 -36
  107. package/financing/formalization/schemas/HdtEnergyPJSchema.d.ts +44 -36
  108. package/financing/formalization/schemas/HdtEnergyPJSchema.js +73 -27
  109. package/financing/formalization/schemas/HdtEnergyPJSchema.mjs +2 -2
  110. package/financing/formalization/schemas/LosangoPFSchema.d.cts +32 -24
  111. package/financing/formalization/schemas/LosangoPFSchema.d.ts +32 -24
  112. package/financing/formalization/schemas/LosangoPFSchema.js +76 -28
  113. package/financing/formalization/schemas/LosangoPFSchema.mjs +3 -3
  114. package/financing/formalization/schemas/LosangoPJSchema.d.cts +44 -36
  115. package/financing/formalization/schemas/LosangoPJSchema.d.ts +44 -36
  116. package/financing/formalization/schemas/LosangoPJSchema.js +73 -27
  117. package/financing/formalization/schemas/LosangoPJSchema.mjs +2 -2
  118. package/financing/formalization/schemas/SafraPFSchema.d.cts +32 -24
  119. package/financing/formalization/schemas/SafraPFSchema.d.ts +32 -24
  120. package/financing/formalization/schemas/SafraPFSchema.js +76 -28
  121. package/financing/formalization/schemas/SafraPFSchema.mjs +3 -3
  122. package/financing/formalization/schemas/SafraPJSchema.d.cts +44 -36
  123. package/financing/formalization/schemas/SafraPJSchema.d.ts +44 -36
  124. package/financing/formalization/schemas/SafraPJSchema.js +73 -27
  125. package/financing/formalization/schemas/SafraPJSchema.mjs +2 -2
  126. package/financing/formalization/schemas/SantanderPFSchema.d.cts +32 -24
  127. package/financing/formalization/schemas/SantanderPFSchema.d.ts +32 -24
  128. package/financing/formalization/schemas/SantanderPFSchema.js +76 -28
  129. package/financing/formalization/schemas/SantanderPFSchema.mjs +3 -3
  130. package/financing/formalization/schemas/SantanderPJSchema.d.cts +44 -36
  131. package/financing/formalization/schemas/SantanderPJSchema.d.ts +44 -36
  132. package/financing/formalization/schemas/SantanderPJSchema.js +73 -27
  133. package/financing/formalization/schemas/SantanderPJSchema.mjs +2 -2
  134. package/financing/formalization/schemas/SolAgoraPFSchema.d.cts +32 -24
  135. package/financing/formalization/schemas/SolAgoraPFSchema.d.ts +32 -24
  136. package/financing/formalization/schemas/SolAgoraPFSchema.js +76 -28
  137. package/financing/formalization/schemas/SolAgoraPFSchema.mjs +3 -3
  138. package/financing/formalization/schemas/SolAgoraPJSchema.d.cts +80 -72
  139. package/financing/formalization/schemas/SolAgoraPJSchema.d.ts +80 -72
  140. package/financing/formalization/schemas/SolAgoraPJSchema.js +76 -28
  141. package/financing/formalization/schemas/SolAgoraPJSchema.mjs +3 -3
  142. package/financing/formalization/schemas/SolfacilPFSchema.d.cts +32 -24
  143. package/financing/formalization/schemas/SolfacilPFSchema.d.ts +32 -24
  144. package/financing/formalization/schemas/SolfacilPFSchema.js +76 -28
  145. package/financing/formalization/schemas/SolfacilPFSchema.mjs +3 -3
  146. package/financing/formalization/schemas/SolfacilPJSchema.d.cts +56 -48
  147. package/financing/formalization/schemas/SolfacilPJSchema.d.ts +56 -48
  148. package/financing/formalization/schemas/SolfacilPJSchema.js +73 -27
  149. package/financing/formalization/schemas/SolfacilPJSchema.mjs +2 -2
  150. package/financing/formalization/schemas/UnifiedPFSchema.d.cts +98 -90
  151. package/financing/formalization/schemas/UnifiedPFSchema.d.ts +98 -90
  152. package/financing/formalization/schemas/UnifiedPFSchema.js +92 -34
  153. package/financing/formalization/schemas/UnifiedPFSchema.mjs +3 -3
  154. package/financing/formalization/schemas/UnifiedPJSchema.d.cts +164 -156
  155. package/financing/formalization/schemas/UnifiedPJSchema.d.ts +164 -156
  156. package/financing/formalization/schemas/UnifiedPJSchema.js +76 -28
  157. package/financing/formalization/schemas/UnifiedPJSchema.mjs +3 -3
  158. package/index.js +111 -36
  159. package/index.mjs +33 -33
  160. package/package.json +1 -1
@@ -15,12 +15,12 @@ declare const credito77PjObject: z.ZodObject<{
15
15
  legal_nature: z.ZodString;
16
16
  city: z.ZodString;
17
17
  economic_activity_group: z.ZodString;
18
- state: z.ZodEnum<["AC", "AL", "AP", "AM", "BA", "CE", "DF", "ES", "GO", "MA", "MT", "MS", "MG", "PA", "PB", "PR", "PE", "PI", "RJ", "RN", "RS", "RO", "RR", "SC", "SP", "SE", "TO"]>;
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: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
23
+ state: string;
24
24
  cep: string;
25
25
  address: string;
26
26
  district: string;
@@ -37,7 +37,7 @@ declare const credito77PjObject: z.ZodObject<{
37
37
  complement?: string | undefined;
38
38
  }, {
39
39
  number: string;
40
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
40
+ state: string;
41
41
  cep: string;
42
42
  address: string;
43
43
  district: string;
@@ -64,16 +64,16 @@ declare const credito77PjObject: 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<["masculino", "feminino"]>;
67
+ sex: z.ZodEnum<[string, string]>;
68
68
  city: z.ZodString;
69
- state: z.ZodEnum<["AC", "AL", "AP", "AM", "BA", "CE", "DF", "ES", "GO", "MA", "MT", "MS", "MG", "PA", "PB", "PR", "PE", "PI", "RJ", "RN", "RS", "RO", "RR", "SC", "SP", "SE", "TO"]>;
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: "masculino" | "feminino";
76
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
75
+ sex: string;
76
+ state: string;
77
77
  name: string;
78
78
  cep: string;
79
79
  cpf: string;
@@ -89,8 +89,8 @@ declare const credito77PjObject: z.ZodObject<{
89
89
  complement?: string | undefined;
90
90
  }, {
91
91
  number: string;
92
- sex: "masculino" | "feminino";
93
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
92
+ sex: string;
93
+ state: string;
94
94
  name: string;
95
95
  cep: string;
96
96
  cpf: string;
@@ -118,6 +118,7 @@ declare const credito77PjObject: 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 credito77PjObject: z.ZodObject<{
177
178
  rd_re_insurance_toggle: boolean;
178
179
  financing_company: {
179
180
  number: string;
180
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
181
+ state: string;
181
182
  cep: string;
182
183
  address: string;
183
184
  district: string;
@@ -195,8 +196,8 @@ declare const credito77PjObject: z.ZodObject<{
195
196
  };
196
197
  financing_company_guarantor: {
197
198
  number: string;
198
- sex: "masculino" | "feminino";
199
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
199
+ sex: string;
200
+ state: string;
200
201
  name: string;
201
202
  cep: string;
202
203
  cpf: string;
@@ -211,6 +212,7 @@ declare const credito77PjObject: 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 credito77PjObject: z.ZodObject<{
234
236
  };
235
237
  financing_company: {
236
238
  number: string;
237
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
239
+ state: string;
238
240
  cep: string;
239
241
  address: string;
240
242
  district: string;
@@ -252,8 +254,8 @@ declare const credito77PjObject: z.ZodObject<{
252
254
  };
253
255
  financing_company_guarantor: {
254
256
  number: string;
255
- sex: "masculino" | "feminino";
256
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
257
+ sex: string;
258
+ state: string;
257
259
  name: string;
258
260
  cep: string;
259
261
  cpf: string;
@@ -268,6 +270,7 @@ declare const credito77PjObject: 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 credito77PjSchema: 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<["AC", "AL", "AP", "AM", "BA", "CE", "DF", "ES", "GO", "MA", "MT", "MS", "MG", "PA", "PB", "PR", "PE", "PI", "RJ", "RN", "RS", "RO", "RR", "SC", "SP", "SE", "TO"]>;
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: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
301
+ state: string;
299
302
  cep: string;
300
303
  address: string;
301
304
  district: string;
@@ -312,7 +315,7 @@ declare const credito77PjSchema: z.ZodEffects<z.ZodObject<{
312
315
  complement?: string | undefined;
313
316
  }, {
314
317
  number: string;
315
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
318
+ state: string;
316
319
  cep: string;
317
320
  address: string;
318
321
  district: string;
@@ -339,16 +342,16 @@ declare const credito77PjSchema: 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<["masculino", "feminino"]>;
345
+ sex: z.ZodEnum<[string, string]>;
343
346
  city: z.ZodString;
344
- state: z.ZodEnum<["AC", "AL", "AP", "AM", "BA", "CE", "DF", "ES", "GO", "MA", "MT", "MS", "MG", "PA", "PB", "PR", "PE", "PI", "RJ", "RN", "RS", "RO", "RR", "SC", "SP", "SE", "TO"]>;
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: "masculino" | "feminino";
351
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
353
+ sex: string;
354
+ state: string;
352
355
  name: string;
353
356
  cep: string;
354
357
  cpf: string;
@@ -364,8 +367,8 @@ declare const credito77PjSchema: z.ZodEffects<z.ZodObject<{
364
367
  complement?: string | undefined;
365
368
  }, {
366
369
  number: string;
367
- sex: "masculino" | "feminino";
368
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
370
+ sex: string;
371
+ state: string;
369
372
  name: string;
370
373
  cep: string;
371
374
  cpf: string;
@@ -393,6 +396,7 @@ declare const credito77PjSchema: 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 credito77PjSchema: z.ZodEffects<z.ZodObject<{
452
456
  rd_re_insurance_toggle: boolean;
453
457
  financing_company: {
454
458
  number: string;
455
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
459
+ state: string;
456
460
  cep: string;
457
461
  address: string;
458
462
  district: string;
@@ -470,8 +474,8 @@ declare const credito77PjSchema: z.ZodEffects<z.ZodObject<{
470
474
  };
471
475
  financing_company_guarantor: {
472
476
  number: string;
473
- sex: "masculino" | "feminino";
474
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
477
+ sex: string;
478
+ state: string;
475
479
  name: string;
476
480
  cep: string;
477
481
  cpf: string;
@@ -486,6 +490,7 @@ declare const credito77PjSchema: 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 credito77PjSchema: z.ZodEffects<z.ZodObject<{
509
514
  };
510
515
  financing_company: {
511
516
  number: string;
512
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
517
+ state: string;
513
518
  cep: string;
514
519
  address: string;
515
520
  district: string;
@@ -527,8 +532,8 @@ declare const credito77PjSchema: z.ZodEffects<z.ZodObject<{
527
532
  };
528
533
  financing_company_guarantor: {
529
534
  number: string;
530
- sex: "masculino" | "feminino";
531
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
535
+ sex: string;
536
+ state: string;
532
537
  name: string;
533
538
  cep: string;
534
539
  cpf: string;
@@ -543,6 +548,7 @@ declare const credito77PjSchema: 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 credito77PjSchema: z.ZodEffects<z.ZodObject<{
568
574
  rd_re_insurance_toggle: boolean;
569
575
  financing_company: {
570
576
  number: string;
571
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
577
+ state: string;
572
578
  cep: string;
573
579
  address: string;
574
580
  district: string;
@@ -586,8 +592,8 @@ declare const credito77PjSchema: z.ZodEffects<z.ZodObject<{
586
592
  };
587
593
  financing_company_guarantor: {
588
594
  number: string;
589
- sex: "masculino" | "feminino";
590
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
595
+ sex: string;
596
+ state: string;
591
597
  name: string;
592
598
  cep: string;
593
599
  cpf: string;
@@ -602,6 +608,7 @@ declare const credito77PjSchema: 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 credito77PjSchema: z.ZodEffects<z.ZodObject<{
625
632
  };
626
633
  financing_company: {
627
634
  number: string;
628
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
635
+ state: string;
629
636
  cep: string;
630
637
  address: string;
631
638
  district: string;
@@ -643,8 +650,8 @@ declare const credito77PjSchema: z.ZodEffects<z.ZodObject<{
643
650
  };
644
651
  financing_company_guarantor: {
645
652
  number: string;
646
- sex: "masculino" | "feminino";
647
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
653
+ sex: string;
654
+ state: string;
648
655
  name: string;
649
656
  cep: string;
650
657
  cpf: string;
@@ -659,6 +666,7 @@ declare const credito77PjSchema: 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;
@@ -3,8 +3,57 @@
3
3
  var zod = require('zod');
4
4
 
5
5
  // src/domains/financing/formalization/schemas/Credito77PJSchema.ts
6
- var SexEnum = zod.z.enum(["masculino", "feminino"]);
7
- var UfEnum = zod.z.enum([
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/proof-kinship-type.ts
44
+ var ProofKinshipTypeEnum = enumField([
45
+ "certidao_casamento",
46
+ "documento_identificacao",
47
+ "contrato_social",
48
+ "declaracao_parentesco",
49
+ "outro_documento"
50
+ ]);
51
+
52
+ // src/shared/enums/sex.ts
53
+ var SexEnum = enumField(["masculino", "feminino"]);
54
+
55
+ // src/shared/enums/uf.ts
56
+ var UfEnum = enumField([
8
57
  "AC",
9
58
  "AL",
10
59
  "AP",
@@ -33,21 +82,6 @@ var UfEnum = zod.z.enum([
33
82
  "SE",
34
83
  "TO"
35
84
  ]);
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
85
 
52
86
  // src/shared/regex/patterns.ts
53
87
  var PATTERNS = {
@@ -138,16 +172,16 @@ function isNotFutureDMY(value, reference = /* @__PURE__ */ new Date()) {
138
172
  }
139
173
 
140
174
  // src/shared/regex/index.ts
141
- var cpfSchema = zod.z.string().transform(onlyDigits).refine((v) => PATTERNS.cpf.test(v), "CPF inv\xE1lido").refine(isValidCPF, "CPF inv\xE1lido");
142
- var cnpjSchema = zod.z.string().transform(onlyDigits).refine((v) => PATTERNS.cnpj.test(v), "CNPJ inv\xE1lido").refine(isValidCNPJ, "CNPJ inv\xE1lido");
143
- zod.z.string().transform(onlyDigits).refine(
175
+ var cpfSchema = requiredString().transform(onlyDigits).refine((v) => PATTERNS.cpf.test(v), "CPF inv\xE1lido").refine(isValidCPF, "CPF inv\xE1lido");
176
+ var cnpjSchema = requiredString().transform(onlyDigits).refine((v) => PATTERNS.cnpj.test(v), "CNPJ inv\xE1lido").refine(isValidCNPJ, "CNPJ inv\xE1lido");
177
+ requiredString().transform(onlyDigits).refine(
144
178
  (v) => PATTERNS.cpf.test(v) || PATTERNS.cnpj.test(v),
145
179
  "Documento deve ter 11 (CPF) ou 14 (CNPJ) d\xEDgitos"
146
180
  ).refine((v) => v.length === 11 ? isValidCPF(v) : isValidCNPJ(v), "Documento inv\xE1lido");
147
- var cepSchema = zod.z.string().transform(onlyDigits).refine((v) => PATTERNS.cep.test(v), "CEP inv\xE1lido");
148
- var phoneBRSchema = zod.z.string().transform(onlyDigits).refine((v) => PATTERNS.phoneBR.test(v), "Telefone inv\xE1lido");
149
- var emailSchema = zod.z.string().trim().refine((v) => PATTERNS.email.test(v), "E-mail inv\xE1lido");
150
- var dateDMYSchema = zod.z.string().refine((v) => PATTERNS.dateDMY.test(v), "Data inv\xE1lida").refine((v) => parseDMY(v) !== null, "Data inexistente no calend\xE1rio");
181
+ var cepSchema = requiredString().transform(onlyDigits).refine((v) => PATTERNS.cep.test(v), "CEP inv\xE1lido");
182
+ var phoneBRSchema = requiredString().transform(onlyDigits).refine((v) => PATTERNS.phoneBR.test(v), "Telefone inv\xE1lido");
183
+ var emailSchema = requiredString().trim().refine((v) => PATTERNS.email.test(v), "E-mail inv\xE1lido");
184
+ var dateDMYSchema = requiredString().refine((v) => PATTERNS.dateDMY.test(v), "Data inv\xE1lida").refine((v) => parseDMY(v) !== null, "Data inexistente no calend\xE1rio");
151
185
  var birthDateSchema = dateDMYSchema.refine(
152
186
  (v) => isAdultDMY(v),
153
187
  "\xC9 necess\xE1rio ser maior de idade (18+)"
@@ -156,17 +190,29 @@ var issueDateSchema = dateDMYSchema.refine(
156
190
  (v) => isNotFutureDMY(v),
157
191
  "Data de emiss\xE3o n\xE3o pode ser futura"
158
192
  );
159
- var currencySchema = zod.z.number({ invalid_type_error: "Valor monet\xE1rio inv\xE1lido" }).positive("Valor deve ser positivo");
160
- zod.z.number().int("Deve ser um n\xFAmero inteiro").min(1, "M\xEDnimo 1").max(28, "M\xE1ximo 28");
193
+ var currencySchema = zod.z.number({ required_error: REQUIRED_MESSAGE, invalid_type_error: "Valor monet\xE1rio inv\xE1lido" }).positive("Valor deve ser positivo");
194
+ 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");
161
195
  var formalizationExtras = {
162
196
  voucher_local_installation_address: fileUploadField,
197
+ proof_kinship_type: ProofKinshipTypeEnum.optional(),
163
198
  proof_kinship: fileUploadField.optional(),
164
199
  document_front_upload: fileUploadField,
165
200
  document_back_upload: fileUploadField,
166
201
  rd_re_insurance_toggle: zod.z.boolean().default(true)
167
202
  };
168
203
  function applyCommonRefinements(data, ctx) {
169
- if ("energy_account_in_requester_name" in data && typeof data.energy_account_in_requester_name === "string" && data.energy_account_in_requester_name !== "nao_aplica" && !data.proof_kinship) {
204
+ const accountInThirdPartyName = data.energy_account_in_requester_name === "sim";
205
+ if (!accountInThirdPartyName) {
206
+ return;
207
+ }
208
+ if (!data.proof_kinship_type) {
209
+ ctx.addIssue({
210
+ code: zod.z.ZodIssueCode.custom,
211
+ path: ["proof_kinship_type"],
212
+ message: "Tipo de comprovante \xE9 obrigat\xF3rio quando a conta est\xE1 em nome de terceiro"
213
+ });
214
+ }
215
+ if (!data.proof_kinship) {
170
216
  ctx.addIssue({
171
217
  code: zod.z.ZodIssueCode.custom,
172
218
  path: ["proof_kinship"],
@@ -1,2 +1,2 @@
1
- export { credito77PjObject, credito77PjSchema } from '../../../chunk-YIUJVGT4.mjs';
2
- import '../../../chunk-HBTFOSJU.mjs';
1
+ export { credito77PjObject, credito77PjSchema } from '../../../chunk-57DSP6GG.mjs';
2
+ import '../../../chunk-5YFVPFSM.mjs';
@@ -7,20 +7,20 @@ declare const eosPfObject: 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<["masculino", "feminino"]>;
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<["AC", "AL", "AP", "AM", "BA", "CE", "DF", "ES", "GO", "MA", "MT", "MS", "MG", "PA", "PB", "PR", "PE", "PI", "RJ", "RN", "RS", "RO", "RR", "SC", "SP", "SE", "TO"]>;
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<["documento_de_identidade", "carteira_nacional_de_habilitação"]>;
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 eosPfObject: 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 eosPfObject: z.ZodObject<{
79
80
  rd_re_insurance_toggle: z.ZodDefault<z.ZodBoolean>;
80
81
  }, "strip", z.ZodTypeAny, {
81
82
  number: string;
82
- sex: "masculino" | "feminino";
83
- type_doc: "documento_de_identidade" | "carteira_nacional_de_habilitação";
84
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
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 eosPfObject: 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 eosPfObject: z.ZodObject<{
124
126
  energy_bill_owner_document?: string | undefined;
125
127
  }, {
126
128
  number: string;
127
- sex: "masculino" | "feminino";
128
- type_doc: "documento_de_identidade" | "carteira_nacional_de_habilitação";
129
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
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 eosPfObject: 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 eosPfSchema: 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<["masculino", "feminino"]>;
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<["AC", "AL", "AP", "AM", "BA", "CE", "DF", "ES", "GO", "MA", "MT", "MS", "MG", "PA", "PB", "PR", "PE", "PI", "RJ", "RN", "RS", "RO", "RR", "SC", "SP", "SE", "TO"]>;
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<["documento_de_identidade", "carteira_nacional_de_habilitação"]>;
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 eosPfSchema: 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 eosPfSchema: 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: "masculino" | "feminino";
251
- type_doc: "documento_de_identidade" | "carteira_nacional_de_habilitação";
252
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
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 eosPfSchema: 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 eosPfSchema: z.ZodEffects<z.ZodObject<{
292
297
  energy_bill_owner_document?: string | undefined;
293
298
  }, {
294
299
  number: string;
295
- sex: "masculino" | "feminino";
296
- type_doc: "documento_de_identidade" | "carteira_nacional_de_habilitação";
297
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
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 eosPfSchema: 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 eosPfSchema: z.ZodEffects<z.ZodObject<{
337
343
  rd_re_insurance_toggle?: boolean | undefined;
338
344
  }>, {
339
345
  number: string;
340
- sex: "masculino" | "feminino";
341
- type_doc: "documento_de_identidade" | "carteira_nacional_de_habilitação";
342
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
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 eosPfSchema: 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 eosPfSchema: z.ZodEffects<z.ZodObject<{
382
389
  energy_bill_owner_document?: string | undefined;
383
390
  }, {
384
391
  number: string;
385
- sex: "masculino" | "feminino";
386
- type_doc: "documento_de_identidade" | "carteira_nacional_de_habilitação";
387
- state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
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 eosPfSchema: 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;