@77sol-lab/form-schemas 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{chunk-53GXILC6.mjs → chunk-2CN56LSL.mjs} +2 -2
- package/{chunk-R6CEKWRQ.mjs → chunk-2W3LQ75V.mjs} +2 -2
- package/{chunk-D2ZUTYWA.mjs → chunk-2YVK6IDS.mjs} +16 -7
- package/{chunk-UU3MRKTH.mjs → chunk-3BPZV6IW.mjs} +1 -1
- package/{chunk-7MWUETLP.mjs → chunk-3O52U22S.mjs} +2 -2
- package/{chunk-Z2TTZ3JJ.mjs → chunk-3RSZ4NGE.mjs} +1 -1
- package/{chunk-4XJZIRLT.mjs → chunk-6HBDXEIK.mjs} +2 -2
- package/{chunk-G5SKXDYM.mjs → chunk-6TFRV3FG.mjs} +2 -2
- package/{chunk-7ZF45QUN.mjs → chunk-7ZERTOE7.mjs} +2 -2
- package/{chunk-NCTEG6EL.mjs → chunk-AURTWOTB.mjs} +2 -2
- package/{chunk-FPJKWVVF.mjs → chunk-DERWNSPY.mjs} +1 -1
- package/{chunk-IWSDOFBY.mjs → chunk-F76ICRGY.mjs} +2 -2
- package/{chunk-OVANLPKX.mjs → chunk-FT5BAKSG.mjs} +2 -2
- package/{chunk-UUWULEKH.mjs → chunk-GR2PK3Z7.mjs} +2 -2
- package/{chunk-UMP5UF3U.mjs → chunk-HHJNVLHK.mjs} +1 -1
- package/{chunk-3OIG2FI5.mjs → chunk-HZM2PWYJ.mjs} +2 -2
- package/{chunk-6PH42V5T.mjs → chunk-JPFAMQGV.mjs} +1 -1
- package/{chunk-L4EWOROT.mjs → chunk-MDK5KVJT.mjs} +2 -2
- package/{chunk-RYJSCFSY.mjs → chunk-O7OHCS36.mjs} +1 -1
- package/{chunk-GQ5G2YX4.mjs → chunk-OMDC46YE.mjs} +2 -2
- package/{chunk-FRMGP3C3.mjs → chunk-OUVNM2RX.mjs} +1 -1
- package/{chunk-5C4YMHXV.mjs → chunk-OX3X37VR.mjs} +2 -2
- package/{chunk-OARPUXXM.mjs → chunk-P54HBDOE.mjs} +2 -2
- package/{chunk-F27U6CXB.mjs → chunk-PO6GQE6E.mjs} +2 -2
- package/{chunk-N2IX5TRK.mjs → chunk-THYAK7O3.mjs} +2 -2
- package/{chunk-YIUJVGT4.mjs → chunk-VGFPONIS.mjs} +1 -1
- package/{chunk-WTHEEPBE.mjs → chunk-WGPPH7DC.mjs} +1 -1
- package/{chunk-H54QBCSW.mjs → chunk-WPLLR3SO.mjs} +2 -2
- package/{chunk-VO573WIK.mjs → chunk-WRJAOYL6.mjs} +1 -1
- package/{chunk-7I2LXGA2.mjs → chunk-XII4F5RZ.mjs} +2 -2
- package/{chunk-HBTFOSJU.mjs → chunk-Y3FAMPYF.mjs} +33 -18
- package/{chunk-6YS5KBXS.mjs → chunk-YNVJAGAY.mjs} +35 -34
- package/{chunk-2END6TYT.mjs → chunk-YQJCILG3.mjs} +1 -1
- package/financing/formalization/index.d.cts +1306 -1306
- package/financing/formalization/index.d.ts +1306 -1306
- package/financing/formalization/index.js +53 -24
- package/financing/formalization/index.mjs +33 -33
- package/financing/formalization/schemas/AlfaPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/AlfaPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/AlfaPFSchema.js +35 -18
- package/financing/formalization/schemas/AlfaPFSchema.mjs +3 -3
- package/financing/formalization/schemas/AlfaPJSchema.d.cts +36 -36
- package/financing/formalization/schemas/AlfaPJSchema.d.ts +36 -36
- package/financing/formalization/schemas/AlfaPJSchema.js +32 -17
- package/financing/formalization/schemas/AlfaPJSchema.mjs +2 -2
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.js +35 -18
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.mjs +3 -3
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.d.cts +36 -36
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.d.ts +36 -36
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.js +32 -17
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.mjs +2 -2
- package/financing/formalization/schemas/BtgPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/BtgPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/BtgPFSchema.js +35 -18
- package/financing/formalization/schemas/BtgPFSchema.mjs +3 -3
- package/financing/formalization/schemas/BtgPJSchema.d.cts +72 -72
- package/financing/formalization/schemas/BtgPJSchema.d.ts +72 -72
- package/financing/formalization/schemas/BtgPJSchema.js +35 -18
- package/financing/formalization/schemas/BtgPJSchema.mjs +3 -3
- package/financing/formalization/schemas/BvPFSchema.d.cts +40 -40
- package/financing/formalization/schemas/BvPFSchema.d.ts +40 -40
- package/financing/formalization/schemas/BvPFSchema.js +35 -18
- package/financing/formalization/schemas/BvPFSchema.mjs +3 -3
- package/financing/formalization/schemas/BvPJSchema.d.cts +72 -72
- package/financing/formalization/schemas/BvPJSchema.d.ts +72 -72
- package/financing/formalization/schemas/BvPJSchema.js +35 -18
- package/financing/formalization/schemas/BvPJSchema.mjs +3 -3
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.js +35 -18
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.mjs +3 -3
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.d.cts +36 -36
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.d.ts +36 -36
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.js +32 -17
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.mjs +2 -2
- package/financing/formalization/schemas/CashMePFSchema.d.cts +24 -24
- package/financing/formalization/schemas/CashMePFSchema.d.ts +24 -24
- package/financing/formalization/schemas/CashMePFSchema.js +35 -18
- package/financing/formalization/schemas/CashMePFSchema.mjs +3 -3
- package/financing/formalization/schemas/CashMePJSchema.d.cts +36 -36
- package/financing/formalization/schemas/CashMePJSchema.d.ts +36 -36
- package/financing/formalization/schemas/CashMePJSchema.js +32 -17
- package/financing/formalization/schemas/CashMePJSchema.mjs +2 -2
- package/financing/formalization/schemas/Credito77PFSchema.d.cts +24 -24
- package/financing/formalization/schemas/Credito77PFSchema.d.ts +24 -24
- package/financing/formalization/schemas/Credito77PFSchema.js +35 -18
- package/financing/formalization/schemas/Credito77PFSchema.mjs +3 -3
- package/financing/formalization/schemas/Credito77PJSchema.d.cts +36 -36
- package/financing/formalization/schemas/Credito77PJSchema.d.ts +36 -36
- package/financing/formalization/schemas/Credito77PJSchema.js +32 -17
- package/financing/formalization/schemas/Credito77PJSchema.mjs +2 -2
- package/financing/formalization/schemas/EosPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/EosPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/EosPFSchema.js +35 -18
- package/financing/formalization/schemas/EosPFSchema.mjs +3 -3
- package/financing/formalization/schemas/EosPJSchema.d.cts +36 -36
- package/financing/formalization/schemas/EosPJSchema.d.ts +36 -36
- package/financing/formalization/schemas/EosPJSchema.js +32 -17
- package/financing/formalization/schemas/EosPJSchema.mjs +2 -2
- package/financing/formalization/schemas/HdtEnergyPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/HdtEnergyPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/HdtEnergyPFSchema.js +35 -18
- package/financing/formalization/schemas/HdtEnergyPFSchema.mjs +3 -3
- package/financing/formalization/schemas/HdtEnergyPJSchema.d.cts +36 -36
- package/financing/formalization/schemas/HdtEnergyPJSchema.d.ts +36 -36
- package/financing/formalization/schemas/HdtEnergyPJSchema.js +32 -17
- package/financing/formalization/schemas/HdtEnergyPJSchema.mjs +2 -2
- package/financing/formalization/schemas/LosangoPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/LosangoPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/LosangoPFSchema.js +35 -18
- package/financing/formalization/schemas/LosangoPFSchema.mjs +3 -3
- package/financing/formalization/schemas/LosangoPJSchema.d.cts +36 -36
- package/financing/formalization/schemas/LosangoPJSchema.d.ts +36 -36
- package/financing/formalization/schemas/LosangoPJSchema.js +32 -17
- package/financing/formalization/schemas/LosangoPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SafraPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/SafraPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/SafraPFSchema.js +35 -18
- package/financing/formalization/schemas/SafraPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SafraPJSchema.d.cts +36 -36
- package/financing/formalization/schemas/SafraPJSchema.d.ts +36 -36
- package/financing/formalization/schemas/SafraPJSchema.js +32 -17
- package/financing/formalization/schemas/SafraPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SantanderPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/SantanderPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/SantanderPFSchema.js +35 -18
- package/financing/formalization/schemas/SantanderPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SantanderPJSchema.d.cts +36 -36
- package/financing/formalization/schemas/SantanderPJSchema.d.ts +36 -36
- package/financing/formalization/schemas/SantanderPJSchema.js +32 -17
- package/financing/formalization/schemas/SantanderPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SolAgoraPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/SolAgoraPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/SolAgoraPFSchema.js +35 -18
- package/financing/formalization/schemas/SolAgoraPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SolAgoraPJSchema.d.cts +72 -72
- package/financing/formalization/schemas/SolAgoraPJSchema.d.ts +72 -72
- package/financing/formalization/schemas/SolAgoraPJSchema.js +35 -18
- package/financing/formalization/schemas/SolAgoraPJSchema.mjs +3 -3
- package/financing/formalization/schemas/SolfacilPFSchema.d.cts +24 -24
- package/financing/formalization/schemas/SolfacilPFSchema.d.ts +24 -24
- package/financing/formalization/schemas/SolfacilPFSchema.js +35 -18
- package/financing/formalization/schemas/SolfacilPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SolfacilPJSchema.d.cts +48 -48
- package/financing/formalization/schemas/SolfacilPJSchema.d.ts +48 -48
- package/financing/formalization/schemas/SolfacilPJSchema.js +32 -17
- package/financing/formalization/schemas/SolfacilPJSchema.mjs +2 -2
- package/financing/formalization/schemas/UnifiedPFSchema.d.cts +88 -88
- package/financing/formalization/schemas/UnifiedPFSchema.d.ts +88 -88
- package/financing/formalization/schemas/UnifiedPFSchema.js +50 -23
- package/financing/formalization/schemas/UnifiedPFSchema.mjs +3 -3
- package/financing/formalization/schemas/UnifiedPJSchema.d.cts +156 -156
- package/financing/formalization/schemas/UnifiedPJSchema.d.ts +156 -156
- package/financing/formalization/schemas/UnifiedPJSchema.js +35 -18
- package/financing/formalization/schemas/UnifiedPJSchema.mjs +3 -3
- package/index.js +53 -24
- package/index.mjs +33 -33
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var losangoPfObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { formalizationExtras, UfEnum, dateDMYSchema, issueDateSchema, SexEnum, birthDateSchema, emailSchema, phoneBRSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { formalizationExtras, UfEnum, dateDMYSchema, issueDateSchema, SexEnum, birthDateSchema, emailSchema, phoneBRSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, applyPjRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var solAgoraPjObject = z.object({
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { formalizationExtras, UfEnum, issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, textField, dateDMYSchema, cnpjSchema, numberField, integerField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { enumField, formalizationExtras, UfEnum, issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, textField, dateDMYSchema, cnpjSchema, numberField, integerField, cpfCnpjSchema, applyPfRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/shared/enums/nature-of-occupation-type.ts
|
|
6
|
+
var NatureOfOccupationTypeEnum = enumField(["autonomo", "clt", "aposentado", "empresario"]);
|
|
6
7
|
var NatureOfOccupationTypeLabels = {
|
|
7
8
|
autonomo: "Aut\xF4nomo",
|
|
8
9
|
clt: "CLT",
|
|
9
10
|
aposentado: "Aposentado",
|
|
10
11
|
empresario: "Empres\xE1rio"
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
|
|
14
|
+
// src/shared/enums/residence-type.ts
|
|
15
|
+
var ResidenceTypeEnum = enumField([
|
|
13
16
|
"proprio",
|
|
14
17
|
"familiar",
|
|
15
18
|
"alugado",
|
|
@@ -23,12 +26,16 @@ var ResidenceTypeLabels = {
|
|
|
23
26
|
proprio_financiado: "Pr\xF3prio financiado",
|
|
24
27
|
cedido: "Cedido"
|
|
25
28
|
};
|
|
26
|
-
|
|
29
|
+
|
|
30
|
+
// src/shared/enums/yes-or-not-type.ts
|
|
31
|
+
var YesOrNoEnum = enumField(["sim", "nao"]);
|
|
27
32
|
var YesOrNoLabels = {
|
|
28
33
|
sim: "Sim",
|
|
29
34
|
nao: "N\xE3o"
|
|
30
35
|
};
|
|
31
|
-
|
|
36
|
+
|
|
37
|
+
// src/shared/enums/civil-status.ts
|
|
38
|
+
var CivilStatusEnum = enumField([
|
|
32
39
|
"solteiro",
|
|
33
40
|
"casado",
|
|
34
41
|
"divorciado",
|
|
@@ -44,7 +51,9 @@ var CivilStatusLabels = {
|
|
|
44
51
|
separado_judicialmente: "Separado(a) judicialmente",
|
|
45
52
|
companheiro: "Companheiro(a)"
|
|
46
53
|
};
|
|
47
|
-
|
|
54
|
+
|
|
55
|
+
// src/shared/enums/communion-regime.ts
|
|
56
|
+
var CommunionRegimeEnum = enumField([
|
|
48
57
|
"comunhao_parcial",
|
|
49
58
|
"comunhao_universal",
|
|
50
59
|
"separacao_total",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var caixaEconomicaFederalPjObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var hdtEnergyPfObject = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, currencySchema, issueDateSchema, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, currencySchema, issueDateSchema, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema, applyPjRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var solfacilPjObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { formalizationExtras, UfEnum, currencySchema, dateDMYSchema, issueDateSchema, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { formalizationExtras, UfEnum, currencySchema, dateDMYSchema, issueDateSchema, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema, applyPjRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var btgPjObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var safraPfObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var caixaEconomicaFederalPfObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, cepSchema, birthDateSchema, cpfSchema, issueDateSchema, textField, currencySchema, dateDMYSchema, integerField, cnpjSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, cepSchema, birthDateSchema, cpfSchema, issueDateSchema, textField, currencySchema, dateDMYSchema, integerField, cnpjSchema, applyPjRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var unifiedPjObject = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var losangoPjObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { formalizationExtras, UfEnum, currencySchema, dateDMYSchema, issueDateSchema, integerField, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { formalizationExtras, UfEnum, currencySchema, dateDMYSchema, issueDateSchema, integerField, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema, applyPjRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var bvPjObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var eosPfObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var santanderPfObject = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var eosPjObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var btgPfObject = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var bancoDoBrasilPjObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var credito77PfObject = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var santanderPjObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var cashMePfObject = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var hdtEnergyPjObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, UfEnum, currencySchema, numberField, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, integerField, cpfSchema, cepSchema, formalizationExtras, textField, cnpjSchema, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { issueDateSchema, UfEnum, currencySchema, numberField, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, integerField, cpfSchema, cepSchema, formalizationExtras, textField, cnpjSchema, cpfCnpjSchema, applyPfRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var bvPfObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var bancoDoBrasilPfObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var solfacilPfObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var alfaPfObject = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var credito77PjObject = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var alfaPjObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-XII4F5RZ.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, UfEnum, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var solAgoraPfObject = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var cashMePjObject = z.object({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { enumField } from './chunk-Y3FAMPYF.mjs';
|
|
2
2
|
|
|
3
3
|
// src/shared/enums/document-type.ts
|
|
4
|
-
var DocumentTypeEnum =
|
|
4
|
+
var DocumentTypeEnum = enumField([
|
|
5
5
|
"documento_de_identidade",
|
|
6
6
|
"carteira_nacional_de_habilita\xE7\xE3o"
|
|
7
7
|
]);
|
|
@@ -1,12 +1,42 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
+
// src/shared/fields/primitives.ts
|
|
4
|
+
var REQUIRED_MESSAGE = "Campo obrigat\xF3rio";
|
|
5
|
+
function textField(maxLength) {
|
|
6
|
+
const base = z.string().trim().min(1, REQUIRED_MESSAGE);
|
|
7
|
+
return maxLength === void 0 ? base : base.max(maxLength, `M\xE1ximo ${maxLength} caracteres`);
|
|
8
|
+
}
|
|
9
|
+
var numberField = z.number({ invalid_type_error: "Valor num\xE9rico inv\xE1lido" }).nonnegative("Valor n\xE3o pode ser negativo");
|
|
10
|
+
var integerField = z.number({ invalid_type_error: "Valor num\xE9rico inv\xE1lido" }).int("Deve ser um n\xFAmero inteiro").nonnegative("Valor n\xE3o pode ser negativo");
|
|
11
|
+
function enumField(values) {
|
|
12
|
+
return z.enum(values, {
|
|
13
|
+
errorMap: (issue, ctx) => {
|
|
14
|
+
if (issue.code === z.ZodIssueCode.invalid_type || issue.code === z.ZodIssueCode.invalid_enum_value && issue.received === "") {
|
|
15
|
+
return { message: REQUIRED_MESSAGE };
|
|
16
|
+
}
|
|
17
|
+
return { message: ctx.defaultError };
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
var MAX_UPLOAD_BYTES = 5 * 1024 * 1024;
|
|
22
|
+
var ACCEPTED_UPLOAD_MIME = ["image/jpeg", "image/png", "application/pdf"];
|
|
23
|
+
var fileUploadField = z.object({
|
|
24
|
+
url: z.string().url().optional(),
|
|
25
|
+
mime: z.enum(ACCEPTED_UPLOAD_MIME, {
|
|
26
|
+
errorMap: () => ({ message: "Formato deve ser JPEG, PNG ou PDF" })
|
|
27
|
+
}),
|
|
28
|
+
sizeBytes: z.number().max(MAX_UPLOAD_BYTES, "Arquivo deve ter no m\xE1ximo 5MB")
|
|
29
|
+
});
|
|
30
|
+
|
|
3
31
|
// src/shared/enums/sex.ts
|
|
4
|
-
var SexEnum =
|
|
32
|
+
var SexEnum = enumField(["masculino", "feminino"]);
|
|
5
33
|
var SexLabels = {
|
|
6
34
|
masculino: "Masculino",
|
|
7
35
|
feminino: "Feminino"
|
|
8
36
|
};
|
|
9
|
-
|
|
37
|
+
|
|
38
|
+
// src/shared/enums/uf.ts
|
|
39
|
+
var UfEnum = enumField([
|
|
10
40
|
"AC",
|
|
11
41
|
"AL",
|
|
12
42
|
"AP",
|
|
@@ -248,21 +278,6 @@ function applyPfRefinements(data, ctx) {
|
|
|
248
278
|
function applyPjRefinements(data, ctx) {
|
|
249
279
|
applyCommonRefinements(data, ctx);
|
|
250
280
|
}
|
|
251
|
-
function textField(maxLength) {
|
|
252
|
-
const base = z.string().trim().min(1, "Campo obrigat\xF3rio");
|
|
253
|
-
return maxLength === void 0 ? base : base.max(maxLength, `M\xE1ximo ${maxLength} caracteres`);
|
|
254
|
-
}
|
|
255
|
-
var numberField = z.number({ invalid_type_error: "Valor num\xE9rico inv\xE1lido" }).nonnegative("Valor n\xE3o pode ser negativo");
|
|
256
|
-
var integerField = z.number({ invalid_type_error: "Valor num\xE9rico inv\xE1lido" }).int("Deve ser um n\xFAmero inteiro").nonnegative("Valor n\xE3o pode ser negativo");
|
|
257
|
-
var MAX_UPLOAD_BYTES = 5 * 1024 * 1024;
|
|
258
|
-
var ACCEPTED_UPLOAD_MIME = ["image/jpeg", "image/png", "application/pdf"];
|
|
259
|
-
var fileUploadField = z.object({
|
|
260
|
-
url: z.string().url().optional(),
|
|
261
|
-
mime: z.enum(ACCEPTED_UPLOAD_MIME, {
|
|
262
|
-
errorMap: () => ({ message: "Formato deve ser JPEG, PNG ou PDF" })
|
|
263
|
-
}),
|
|
264
|
-
sizeBytes: z.number().max(MAX_UPLOAD_BYTES, "Arquivo deve ter no m\xE1ximo 5MB")
|
|
265
|
-
});
|
|
266
281
|
var formalizationExtras = {
|
|
267
282
|
voucher_local_installation_address: fileUploadField,
|
|
268
283
|
proof_kinship: fileUploadField.optional(),
|
|
@@ -271,4 +286,4 @@ var formalizationExtras = {
|
|
|
271
286
|
rd_re_insurance_toggle: z.boolean().default(true)
|
|
272
287
|
};
|
|
273
288
|
|
|
274
|
-
export { CIVIL_STATUS_REQUIRING_PARTNER, OCCUPATIONS_REQUIRING_CNPJ, PARTNER_FIELDS, SexEnum, SexLabels, UfEnum, UfLabels, applyPfRefinements, applyPjRefinements, birthDateSchema, cepSchema, cnpjSchema, cpfCnpjSchema, cpfSchema, currencySchema, dateDMYSchema, emailSchema, formalizationExtras, integerField, issueDateSchema, numberField, phoneBRSchema, textField };
|
|
289
|
+
export { CIVIL_STATUS_REQUIRING_PARTNER, OCCUPATIONS_REQUIRING_CNPJ, PARTNER_FIELDS, SexEnum, SexLabels, UfEnum, UfLabels, applyPfRefinements, applyPjRefinements, birthDateSchema, cepSchema, cnpjSchema, cpfCnpjSchema, cpfSchema, currencySchema, dateDMYSchema, emailSchema, enumField, formalizationExtras, integerField, issueDateSchema, numberField, phoneBRSchema, textField };
|
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
import { santanderPfObject, santanderPfSchema } from './chunk-
|
|
2
|
-
import { santanderPjObject, santanderPjSchema } from './chunk-
|
|
3
|
-
import { solAgoraPfObject, solAgoraPfSchema } from './chunk-
|
|
4
|
-
import { solAgoraPjObject, solAgoraPjSchema } from './chunk-
|
|
5
|
-
import { solfacilPfObject, solfacilPfSchema } from './chunk-
|
|
6
|
-
import { solfacilPjObject, solfacilPjSchema } from './chunk-
|
|
7
|
-
import { CommunionRegimeLabels, CivilStatusLabels, YesOrNoLabels, NatureOfOccupationTypeLabels, ResidenceTypeLabels, unifiedPfSchema, unifiedPfObject } from './chunk-
|
|
8
|
-
import { unifiedPjSchema, unifiedPjObject } from './chunk-
|
|
9
|
-
import { eosPfObject, eosPfSchema } from './chunk-
|
|
10
|
-
import { eosPjObject, eosPjSchema } from './chunk-
|
|
11
|
-
import { hdtEnergyPfObject, hdtEnergyPfSchema } from './chunk-
|
|
12
|
-
import { hdtEnergyPjObject, hdtEnergyPjSchema } from './chunk-
|
|
13
|
-
import { losangoPfObject, losangoPfSchema } from './chunk-
|
|
14
|
-
import { losangoPjObject, losangoPjSchema } from './chunk-
|
|
15
|
-
import { safraPfObject, safraPfSchema } from './chunk-
|
|
16
|
-
import { safraPjObject, safraPjSchema } from './chunk-
|
|
17
|
-
import { bvPfObject, bvPfSchema } from './chunk-
|
|
18
|
-
import { bvPjObject, bvPjSchema } from './chunk-
|
|
19
|
-
import { caixaEconomicaFederalPfObject, caixaEconomicaFederalPfSchema } from './chunk-
|
|
20
|
-
import { caixaEconomicaFederalPjObject, caixaEconomicaFederalPjSchema } from './chunk-
|
|
21
|
-
import { cashMePfObject, cashMePfSchema } from './chunk-
|
|
22
|
-
import { cashMePjObject, cashMePjSchema } from './chunk-
|
|
23
|
-
import { credito77PfObject, credito77PfSchema } from './chunk-
|
|
24
|
-
import { credito77PjObject, credito77PjSchema } from './chunk-
|
|
25
|
-
import { alfaPfObject, alfaPfSchema } from './chunk-
|
|
26
|
-
import { alfaPjObject, alfaPjSchema } from './chunk-
|
|
27
|
-
import { bancoDoBrasilPfObject, bancoDoBrasilPfSchema } from './chunk-
|
|
28
|
-
import { bancoDoBrasilPjObject, bancoDoBrasilPjSchema } from './chunk-
|
|
29
|
-
import { btgPfObject, btgPfSchema } from './chunk-
|
|
30
|
-
import { btgPjObject, btgPjSchema } from './chunk-
|
|
31
|
-
import { DocumentTypeLabels } from './chunk-
|
|
32
|
-
import { UfLabels, SexLabels, applyPfRefinements } from './chunk-
|
|
33
|
-
import { z } from 'zod';
|
|
1
|
+
import { santanderPfObject, santanderPfSchema } from './chunk-GR2PK3Z7.mjs';
|
|
2
|
+
import { santanderPjObject, santanderPjSchema } from './chunk-O7OHCS36.mjs';
|
|
3
|
+
import { solAgoraPfObject, solAgoraPfSchema } from './chunk-WPLLR3SO.mjs';
|
|
4
|
+
import { solAgoraPjObject, solAgoraPjSchema } from './chunk-2W3LQ75V.mjs';
|
|
5
|
+
import { solfacilPfObject, solfacilPfSchema } from './chunk-PO6GQE6E.mjs';
|
|
6
|
+
import { solfacilPjObject, solfacilPjSchema } from './chunk-3RSZ4NGE.mjs';
|
|
7
|
+
import { CommunionRegimeLabels, CivilStatusLabels, YesOrNoLabels, NatureOfOccupationTypeLabels, ResidenceTypeLabels, unifiedPfSchema, unifiedPfObject } from './chunk-2YVK6IDS.mjs';
|
|
8
|
+
import { unifiedPjSchema, unifiedPjObject } from './chunk-AURTWOTB.mjs';
|
|
9
|
+
import { eosPfObject, eosPfSchema } from './chunk-FT5BAKSG.mjs';
|
|
10
|
+
import { eosPjObject, eosPjSchema } from './chunk-HHJNVLHK.mjs';
|
|
11
|
+
import { hdtEnergyPfObject, hdtEnergyPfSchema } from './chunk-3O52U22S.mjs';
|
|
12
|
+
import { hdtEnergyPjObject, hdtEnergyPjSchema } from './chunk-OUVNM2RX.mjs';
|
|
13
|
+
import { losangoPfObject, losangoPfSchema } from './chunk-2CN56LSL.mjs';
|
|
14
|
+
import { losangoPjObject, losangoPjSchema } from './chunk-DERWNSPY.mjs';
|
|
15
|
+
import { safraPfObject, safraPfSchema } from './chunk-6TFRV3FG.mjs';
|
|
16
|
+
import { safraPjObject, safraPjSchema } from './chunk-YQJCILG3.mjs';
|
|
17
|
+
import { bvPfObject, bvPfSchema } from './chunk-OX3X37VR.mjs';
|
|
18
|
+
import { bvPjObject, bvPjSchema } from './chunk-F76ICRGY.mjs';
|
|
19
|
+
import { caixaEconomicaFederalPfObject, caixaEconomicaFederalPfSchema } from './chunk-7ZERTOE7.mjs';
|
|
20
|
+
import { caixaEconomicaFederalPjObject, caixaEconomicaFederalPjSchema } from './chunk-3BPZV6IW.mjs';
|
|
21
|
+
import { cashMePfObject, cashMePfSchema } from './chunk-OMDC46YE.mjs';
|
|
22
|
+
import { cashMePjObject, cashMePjSchema } from './chunk-WRJAOYL6.mjs';
|
|
23
|
+
import { credito77PfObject, credito77PfSchema } from './chunk-MDK5KVJT.mjs';
|
|
24
|
+
import { credito77PjObject, credito77PjSchema } from './chunk-VGFPONIS.mjs';
|
|
25
|
+
import { alfaPfObject, alfaPfSchema } from './chunk-THYAK7O3.mjs';
|
|
26
|
+
import { alfaPjObject, alfaPjSchema } from './chunk-WGPPH7DC.mjs';
|
|
27
|
+
import { bancoDoBrasilPfObject, bancoDoBrasilPfSchema } from './chunk-P54HBDOE.mjs';
|
|
28
|
+
import { bancoDoBrasilPjObject, bancoDoBrasilPjSchema } from './chunk-JPFAMQGV.mjs';
|
|
29
|
+
import { btgPfObject, btgPfSchema } from './chunk-HZM2PWYJ.mjs';
|
|
30
|
+
import { btgPjObject, btgPjSchema } from './chunk-6HBDXEIK.mjs';
|
|
31
|
+
import { DocumentTypeLabels } from './chunk-XII4F5RZ.mjs';
|
|
32
|
+
import { enumField, UfLabels, SexLabels, applyPfRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
34
33
|
|
|
35
34
|
// src/shared/enums/nationality.ts
|
|
36
35
|
var NATIONALITY_BRAZIL = "brasil";
|
|
36
|
+
|
|
37
|
+
// src/domains/financing/enums/banks.ts
|
|
37
38
|
var BANK_SLUGS = [
|
|
38
39
|
"credito77",
|
|
39
40
|
"losango",
|
|
@@ -50,7 +51,7 @@ var BANK_SLUGS = [
|
|
|
50
51
|
"sol_agora",
|
|
51
52
|
"eos"
|
|
52
53
|
];
|
|
53
|
-
var BankEnum =
|
|
54
|
+
var BankEnum = enumField(BANK_SLUGS);
|
|
54
55
|
|
|
55
56
|
// src/domains/financing/formalization/optionLabels.ts
|
|
56
57
|
var FORMALIZATION_OPTION_LABELS = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, UfEnum, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-Y3FAMPYF.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var safraPjObject = z.object({
|