@77sol-lab/form-schemas 1.3.0 → 1.4.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-GCYI6OFG.mjs → chunk-2NFFUOYG.mjs} +1 -1
- package/{chunk-MWPQSGDD.mjs → chunk-2VGGCJ2O.mjs} +1 -1
- package/{chunk-B7RDVG4R.mjs → chunk-36ZWNLRE.mjs} +2 -2
- package/{chunk-TEL6EWAJ.mjs → chunk-3LKC3OJJ.mjs} +1 -1
- package/{chunk-XUMC3TQU.mjs → chunk-3QVWHHHF.mjs} +1 -1
- package/chunk-7I2LXGA2.mjs +13 -0
- package/{chunk-KXEEZLMR.mjs → chunk-A5ZODVEU.mjs} +2 -2
- package/{chunk-NL4VK2TF.mjs → chunk-AXXSWRN2.mjs} +2 -2
- package/{chunk-2TGZGHS3.mjs → chunk-BCQD5NJB.mjs} +2 -2
- package/{chunk-FVIOZ4Q5.mjs → chunk-BPWVGI53.mjs} +2 -2
- package/{chunk-TUYULPDF.mjs → chunk-BTHGPT5U.mjs} +1 -1
- package/{chunk-RMWCQ6YU.mjs → chunk-BZ4V4AAJ.mjs} +2 -2
- package/{chunk-G3T562PC.mjs → chunk-DIARPLFL.mjs} +1 -1
- package/{chunk-EFLW2FHX.mjs → chunk-DWXCA5I6.mjs} +1 -1
- package/{chunk-FISPUQLP.mjs → chunk-ENVJMMCX.mjs} +2 -2
- package/{chunk-XNACW46V.mjs → chunk-HK7VVKRF.mjs} +2 -2
- package/chunk-LZCHOENM.mjs +433 -0
- package/{chunk-ORO6OVTB.mjs → chunk-MUFER7FT.mjs} +2 -2
- package/{chunk-W3CNJVMM.mjs → chunk-PP5WJMGB.mjs} +2 -2
- package/{chunk-6BD6V7EB.mjs → chunk-PYKWBM67.mjs} +1 -1
- package/{chunk-TCPW5MUT.mjs → chunk-PZG2YKS4.mjs} +2 -2
- package/{chunk-HKY6D6J5.mjs → chunk-QBQDE5Y7.mjs} +2 -2
- package/{chunk-TE64VI3I.mjs → chunk-QH5BHXWK.mjs} +1 -1
- package/{chunk-7LHQ27CS.mjs → chunk-QZR62OU5.mjs} +2 -2
- package/{chunk-36GQASLI.mjs → chunk-RFML2PIV.mjs} +1 -1
- package/{chunk-NDJRJOFE.mjs → chunk-SKFIWDPV.mjs} +47 -33
- package/chunk-TIB6TEME.mjs +109 -0
- package/{chunk-UHMVAJYK.mjs → chunk-UHQAHHAO.mjs} +2 -2
- package/{chunk-TTHE6D3Y.mjs → chunk-VMIR7MGU.mjs} +2 -2
- package/{chunk-CY2EXD6C.mjs → chunk-X3M274QY.mjs} +2 -2
- package/{chunk-SBOQWT53.mjs → chunk-XXID67A4.mjs} +2 -2
- package/{chunk-22ZUS7K3.mjs → chunk-XZSZRCO2.mjs} +1 -1
- package/{chunk-WHVCW22E.mjs → chunk-YZ3YYQEI.mjs} +2 -2
- package/financing/formalization/index.d.cts +1601 -1809
- package/financing/formalization/index.d.ts +1601 -1809
- package/financing/formalization/index.js +359 -91
- package/financing/formalization/index.mjs +33 -33
- package/financing/formalization/schemas/AlfaPFSchema.d.cts +42 -50
- package/financing/formalization/schemas/AlfaPFSchema.d.ts +42 -50
- package/financing/formalization/schemas/AlfaPFSchema.js +45 -34
- package/financing/formalization/schemas/AlfaPFSchema.mjs +3 -3
- package/financing/formalization/schemas/AlfaPJSchema.d.cts +36 -44
- package/financing/formalization/schemas/AlfaPJSchema.d.ts +36 -44
- package/financing/formalization/schemas/AlfaPJSchema.js +9 -22
- package/financing/formalization/schemas/AlfaPJSchema.mjs +2 -2
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.d.cts +42 -50
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.d.ts +42 -50
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.js +45 -34
- package/financing/formalization/schemas/BancoDoBrasilPFSchema.mjs +3 -3
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.d.cts +36 -44
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.d.ts +36 -44
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.js +9 -22
- package/financing/formalization/schemas/BancoDoBrasilPJSchema.mjs +2 -2
- package/financing/formalization/schemas/BtgPFSchema.d.cts +42 -50
- package/financing/formalization/schemas/BtgPFSchema.d.ts +42 -50
- package/financing/formalization/schemas/BtgPFSchema.js +45 -34
- package/financing/formalization/schemas/BtgPFSchema.mjs +3 -3
- package/financing/formalization/schemas/BtgPJSchema.d.cts +58 -66
- package/financing/formalization/schemas/BtgPJSchema.d.ts +58 -66
- package/financing/formalization/schemas/BtgPJSchema.js +13 -23
- package/financing/formalization/schemas/BtgPJSchema.mjs +3 -3
- package/financing/formalization/schemas/BvPFSchema.d.cts +60 -68
- package/financing/formalization/schemas/BvPFSchema.d.ts +60 -68
- package/financing/formalization/schemas/BvPFSchema.js +45 -34
- package/financing/formalization/schemas/BvPFSchema.mjs +3 -3
- package/financing/formalization/schemas/BvPJSchema.d.cts +88 -96
- package/financing/formalization/schemas/BvPJSchema.d.ts +88 -96
- package/financing/formalization/schemas/BvPJSchema.js +13 -23
- package/financing/formalization/schemas/BvPJSchema.mjs +3 -3
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.d.cts +42 -50
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.d.ts +42 -50
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.js +45 -34
- package/financing/formalization/schemas/CaixaEconomicaFederalPFSchema.mjs +3 -3
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.d.cts +36 -44
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.d.ts +36 -44
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.js +9 -22
- package/financing/formalization/schemas/CaixaEconomicaFederalPJSchema.mjs +2 -2
- package/financing/formalization/schemas/CashMePFSchema.d.cts +42 -50
- package/financing/formalization/schemas/CashMePFSchema.d.ts +42 -50
- package/financing/formalization/schemas/CashMePFSchema.js +45 -34
- package/financing/formalization/schemas/CashMePFSchema.mjs +3 -3
- package/financing/formalization/schemas/CashMePJSchema.d.cts +36 -44
- package/financing/formalization/schemas/CashMePJSchema.d.ts +36 -44
- package/financing/formalization/schemas/CashMePJSchema.js +9 -22
- package/financing/formalization/schemas/CashMePJSchema.mjs +2 -2
- package/financing/formalization/schemas/Credito77PFSchema.d.cts +42 -50
- package/financing/formalization/schemas/Credito77PFSchema.d.ts +42 -50
- package/financing/formalization/schemas/Credito77PFSchema.js +45 -34
- package/financing/formalization/schemas/Credito77PFSchema.mjs +3 -3
- package/financing/formalization/schemas/Credito77PJSchema.d.cts +36 -44
- package/financing/formalization/schemas/Credito77PJSchema.d.ts +36 -44
- package/financing/formalization/schemas/Credito77PJSchema.js +9 -22
- package/financing/formalization/schemas/Credito77PJSchema.mjs +2 -2
- package/financing/formalization/schemas/EosPFSchema.d.cts +42 -50
- package/financing/formalization/schemas/EosPFSchema.d.ts +42 -50
- package/financing/formalization/schemas/EosPFSchema.js +45 -34
- package/financing/formalization/schemas/EosPFSchema.mjs +3 -3
- package/financing/formalization/schemas/EosPJSchema.d.cts +36 -44
- package/financing/formalization/schemas/EosPJSchema.d.ts +36 -44
- package/financing/formalization/schemas/EosPJSchema.js +9 -22
- package/financing/formalization/schemas/EosPJSchema.mjs +2 -2
- package/financing/formalization/schemas/HdtEnergyPFSchema.d.cts +42 -50
- package/financing/formalization/schemas/HdtEnergyPFSchema.d.ts +42 -50
- package/financing/formalization/schemas/HdtEnergyPFSchema.js +45 -34
- package/financing/formalization/schemas/HdtEnergyPFSchema.mjs +3 -3
- package/financing/formalization/schemas/HdtEnergyPJSchema.d.cts +36 -44
- package/financing/formalization/schemas/HdtEnergyPJSchema.d.ts +36 -44
- package/financing/formalization/schemas/HdtEnergyPJSchema.js +9 -22
- package/financing/formalization/schemas/HdtEnergyPJSchema.mjs +2 -2
- package/financing/formalization/schemas/LosangoPFSchema.d.cts +42 -50
- package/financing/formalization/schemas/LosangoPFSchema.d.ts +42 -50
- package/financing/formalization/schemas/LosangoPFSchema.js +45 -34
- package/financing/formalization/schemas/LosangoPFSchema.mjs +3 -3
- package/financing/formalization/schemas/LosangoPJSchema.d.cts +36 -44
- package/financing/formalization/schemas/LosangoPJSchema.d.ts +36 -44
- package/financing/formalization/schemas/LosangoPJSchema.js +9 -22
- package/financing/formalization/schemas/LosangoPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SafraPFSchema.d.cts +42 -50
- package/financing/formalization/schemas/SafraPFSchema.d.ts +42 -50
- package/financing/formalization/schemas/SafraPFSchema.js +45 -34
- package/financing/formalization/schemas/SafraPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SafraPJSchema.d.cts +36 -44
- package/financing/formalization/schemas/SafraPJSchema.d.ts +36 -44
- package/financing/formalization/schemas/SafraPJSchema.js +9 -22
- package/financing/formalization/schemas/SafraPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SantanderPFSchema.d.cts +42 -50
- package/financing/formalization/schemas/SantanderPFSchema.d.ts +42 -50
- package/financing/formalization/schemas/SantanderPFSchema.js +45 -34
- package/financing/formalization/schemas/SantanderPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SantanderPJSchema.d.cts +36 -44
- package/financing/formalization/schemas/SantanderPJSchema.d.ts +36 -44
- package/financing/formalization/schemas/SantanderPJSchema.js +9 -22
- package/financing/formalization/schemas/SantanderPJSchema.mjs +2 -2
- package/financing/formalization/schemas/SolAgoraPFSchema.d.cts +42 -50
- package/financing/formalization/schemas/SolAgoraPFSchema.d.ts +42 -50
- package/financing/formalization/schemas/SolAgoraPFSchema.js +45 -34
- package/financing/formalization/schemas/SolAgoraPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SolAgoraPJSchema.d.cts +58 -66
- package/financing/formalization/schemas/SolAgoraPJSchema.d.ts +58 -66
- package/financing/formalization/schemas/SolAgoraPJSchema.js +13 -23
- package/financing/formalization/schemas/SolAgoraPJSchema.mjs +3 -3
- package/financing/formalization/schemas/SolfacilPFSchema.d.cts +42 -50
- package/financing/formalization/schemas/SolfacilPFSchema.d.ts +42 -50
- package/financing/formalization/schemas/SolfacilPFSchema.js +45 -34
- package/financing/formalization/schemas/SolfacilPFSchema.mjs +3 -3
- package/financing/formalization/schemas/SolfacilPJSchema.d.cts +46 -54
- package/financing/formalization/schemas/SolfacilPJSchema.d.ts +46 -54
- package/financing/formalization/schemas/SolfacilPJSchema.js +9 -22
- package/financing/formalization/schemas/SolfacilPJSchema.mjs +2 -2
- package/financing/formalization/schemas/UnifiedPFSchema.d.cts +204 -148
- package/financing/formalization/schemas/UnifiedPFSchema.d.ts +204 -148
- package/financing/formalization/schemas/UnifiedPFSchema.js +82 -40
- package/financing/formalization/schemas/UnifiedPFSchema.mjs +3 -3
- package/financing/formalization/schemas/UnifiedPJSchema.d.cts +150 -158
- package/financing/formalization/schemas/UnifiedPJSchema.d.ts +150 -158
- package/financing/formalization/schemas/UnifiedPJSchema.js +13 -23
- package/financing/formalization/schemas/UnifiedPJSchema.mjs +3 -3
- package/index.d.cts +1 -1
- package/index.d.ts +1 -1
- package/index.js +359 -91
- package/index.mjs +33 -33
- package/package.json +1 -1
- package/chunk-52KJIJBF.mjs +0 -45
- package/chunk-A2TV7TRP.mjs +0 -6
- package/chunk-KKGV43J4.mjs +0 -250
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-SKFIWDPV.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var caixaEconomicaFederalPjObject = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-SKFIWDPV.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 { formalizationExtras, dateDMYSchema, issueDateSchema, SexEnum, birthDateSchema, emailSchema, phoneBRSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
+
import { formalizationExtras, dateDMYSchema, issueDateSchema, SexEnum, birthDateSchema, emailSchema, phoneBRSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, applyPjRefinements } from './chunk-SKFIWDPV.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var solAgoraPjObject = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-SKFIWDPV.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var safraPjObject = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, currencySchema, issueDateSchema, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, currencySchema, issueDateSchema, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema, applyPjRefinements } from './chunk-SKFIWDPV.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var solfacilPjObject = z.object({
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
// src/shared/enums/document-type.ts
|
|
4
|
+
var DocumentTypeEnum = z.enum([
|
|
5
|
+
"documento_de_identidade",
|
|
6
|
+
"carteira_nacional_de_habilita\xE7\xE3o"
|
|
7
|
+
]);
|
|
8
|
+
var DocumentTypeLabels = {
|
|
9
|
+
documento_de_identidade: "Documento de identidade (RG)",
|
|
10
|
+
carteira_nacional_de_habilita\u00E7\u00E3o: "Carteira Nacional de Habilita\xE7\xE3o (CNH)"
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { DocumentTypeEnum, DocumentTypeLabels };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-SKFIWDPV.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, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-SKFIWDPV.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var cashMePfObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-SKFIWDPV.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var hdtEnergyPfObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { formalizationExtras, currencySchema, dateDMYSchema, issueDateSchema, integerField, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
+
import { formalizationExtras, currencySchema, dateDMYSchema, issueDateSchema, integerField, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema, applyPjRefinements } from './chunk-SKFIWDPV.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var bvPjObject = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-SKFIWDPV.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, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-SKFIWDPV.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var solAgoraPfObject = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-SKFIWDPV.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var hdtEnergyPjObject = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-SKFIWDPV.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var credito77PjObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { formalizationExtras, currencySchema, dateDMYSchema, issueDateSchema, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
+
import { formalizationExtras, currencySchema, dateDMYSchema, issueDateSchema, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, cnpjSchema, applyPjRefinements } from './chunk-SKFIWDPV.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 { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, cepSchema, birthDateSchema, cpfSchema, textField, issueDateSchema, currencySchema, dateDMYSchema, integerField, cnpjSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
+
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, cepSchema, birthDateSchema, cpfSchema, textField, issueDateSchema, currencySchema, dateDMYSchema, integerField, cnpjSchema, applyPjRefinements } from './chunk-SKFIWDPV.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var unifiedPjObject = z.object({
|
|
@@ -0,0 +1,433 @@
|
|
|
1
|
+
import { santanderPfObject, santanderPfSchema } from './chunk-VMIR7MGU.mjs';
|
|
2
|
+
import { santanderPjObject, santanderPjSchema } from './chunk-2VGGCJ2O.mjs';
|
|
3
|
+
import { solAgoraPfObject, solAgoraPfSchema } from './chunk-BZ4V4AAJ.mjs';
|
|
4
|
+
import { solAgoraPjObject, solAgoraPjSchema } from './chunk-36ZWNLRE.mjs';
|
|
5
|
+
import { solfacilPfObject, solfacilPfSchema } from './chunk-A5ZODVEU.mjs';
|
|
6
|
+
import { solfacilPjObject, solfacilPjSchema } from './chunk-3QVWHHHF.mjs';
|
|
7
|
+
import { CommunionRegimeLabels, CivilStatusLabels, YesOrNoLabels, NatureOfOccupationTypeLabels, ResidenceTypeLabels, unifiedPfSchema, unifiedPfObject } from './chunk-TIB6TEME.mjs';
|
|
8
|
+
import { unifiedPjSchema, unifiedPjObject } from './chunk-HK7VVKRF.mjs';
|
|
9
|
+
import { eosPfObject, eosPfSchema } from './chunk-MUFER7FT.mjs';
|
|
10
|
+
import { eosPjObject, eosPjSchema } from './chunk-RFML2PIV.mjs';
|
|
11
|
+
import { hdtEnergyPfObject, hdtEnergyPfSchema } from './chunk-BCQD5NJB.mjs';
|
|
12
|
+
import { hdtEnergyPjObject, hdtEnergyPjSchema } from './chunk-DIARPLFL.mjs';
|
|
13
|
+
import { losangoPfObject, losangoPfSchema } from './chunk-XXID67A4.mjs';
|
|
14
|
+
import { losangoPjObject, losangoPjSchema } from './chunk-QH5BHXWK.mjs';
|
|
15
|
+
import { safraPfObject, safraPfSchema } from './chunk-UHQAHHAO.mjs';
|
|
16
|
+
import { safraPjObject, safraPjSchema } from './chunk-3LKC3OJJ.mjs';
|
|
17
|
+
import { bvPfObject, bvPfSchema } from './chunk-X3M274QY.mjs';
|
|
18
|
+
import { bvPjObject, bvPjSchema } from './chunk-BPWVGI53.mjs';
|
|
19
|
+
import { caixaEconomicaFederalPfObject, caixaEconomicaFederalPfSchema } from './chunk-PP5WJMGB.mjs';
|
|
20
|
+
import { caixaEconomicaFederalPjObject, caixaEconomicaFederalPjSchema } from './chunk-2NFFUOYG.mjs';
|
|
21
|
+
import { cashMePfObject, cashMePfSchema } from './chunk-AXXSWRN2.mjs';
|
|
22
|
+
import { cashMePjObject, cashMePjSchema } from './chunk-PYKWBM67.mjs';
|
|
23
|
+
import { credito77PfObject, credito77PfSchema } from './chunk-QBQDE5Y7.mjs';
|
|
24
|
+
import { credito77PjObject, credito77PjSchema } from './chunk-DWXCA5I6.mjs';
|
|
25
|
+
import { alfaPfObject, alfaPfSchema } from './chunk-QZR62OU5.mjs';
|
|
26
|
+
import { alfaPjObject, alfaPjSchema } from './chunk-XZSZRCO2.mjs';
|
|
27
|
+
import { bancoDoBrasilPfObject, bancoDoBrasilPfSchema } from './chunk-PZG2YKS4.mjs';
|
|
28
|
+
import { bancoDoBrasilPjObject, bancoDoBrasilPjSchema } from './chunk-BTHGPT5U.mjs';
|
|
29
|
+
import { btgPfObject, btgPfSchema } from './chunk-YZ3YYQEI.mjs';
|
|
30
|
+
import { btgPjObject, btgPjSchema } from './chunk-ENVJMMCX.mjs';
|
|
31
|
+
import { DocumentTypeLabels } from './chunk-7I2LXGA2.mjs';
|
|
32
|
+
import { SexLabels, applyPfRefinements } from './chunk-SKFIWDPV.mjs';
|
|
33
|
+
import { z } from 'zod';
|
|
34
|
+
|
|
35
|
+
// src/shared/enums/nationality.ts
|
|
36
|
+
var NATIONALITY_BRAZIL = "brasil";
|
|
37
|
+
var BANK_SLUGS = [
|
|
38
|
+
"credito77",
|
|
39
|
+
"losango",
|
|
40
|
+
"santander",
|
|
41
|
+
"btg",
|
|
42
|
+
"bv",
|
|
43
|
+
"banco-do-brasil",
|
|
44
|
+
"caixa-economica-federal",
|
|
45
|
+
"alfa",
|
|
46
|
+
"safra",
|
|
47
|
+
"cash_me_",
|
|
48
|
+
"hdt_energy",
|
|
49
|
+
"solfacil",
|
|
50
|
+
"sol_agora",
|
|
51
|
+
"eos"
|
|
52
|
+
];
|
|
53
|
+
var BankEnum = z.enum(BANK_SLUGS);
|
|
54
|
+
|
|
55
|
+
// src/domains/financing/formalization/optionLabels.ts
|
|
56
|
+
var FORMALIZATION_OPTION_LABELS = {
|
|
57
|
+
sex: SexLabels,
|
|
58
|
+
type_doc: DocumentTypeLabels,
|
|
59
|
+
partner_type_doc: DocumentTypeLabels,
|
|
60
|
+
residence_situation: ResidenceTypeLabels,
|
|
61
|
+
nature_of_occupation: NatureOfOccupationTypeLabels,
|
|
62
|
+
pep_relationship: YesOrNoLabels,
|
|
63
|
+
civil_status: CivilStatusLabels,
|
|
64
|
+
communion_regime: CommunionRegimeLabels
|
|
65
|
+
};
|
|
66
|
+
function getFieldOptions(field) {
|
|
67
|
+
const labels = FORMALIZATION_OPTION_LABELS[field];
|
|
68
|
+
if (!labels) {
|
|
69
|
+
return [];
|
|
70
|
+
}
|
|
71
|
+
return Object.entries(labels).map(([value, label]) => ({ value, label }));
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// src/domains/financing/formalization/registry.ts
|
|
75
|
+
var UNIFIED_SLUG = "unified";
|
|
76
|
+
var unifiedSchemaByPerson = {
|
|
77
|
+
pf: unifiedPfSchema,
|
|
78
|
+
pj: unifiedPjSchema
|
|
79
|
+
};
|
|
80
|
+
var unifiedBaseSchemaByPerson = {
|
|
81
|
+
pf: unifiedPfObject,
|
|
82
|
+
pj: unifiedPjObject
|
|
83
|
+
};
|
|
84
|
+
var pfSchemaRegistry = {
|
|
85
|
+
credito77: credito77PfSchema,
|
|
86
|
+
losango: losangoPfSchema,
|
|
87
|
+
santander: santanderPfSchema,
|
|
88
|
+
btg: btgPfSchema,
|
|
89
|
+
bv: bvPfSchema,
|
|
90
|
+
"banco-do-brasil": bancoDoBrasilPfSchema,
|
|
91
|
+
"caixa-economica-federal": caixaEconomicaFederalPfSchema,
|
|
92
|
+
alfa: alfaPfSchema,
|
|
93
|
+
safra: safraPfSchema,
|
|
94
|
+
cash_me_: cashMePfSchema,
|
|
95
|
+
hdt_energy: hdtEnergyPfSchema,
|
|
96
|
+
solfacil: solfacilPfSchema,
|
|
97
|
+
sol_agora: solAgoraPfSchema,
|
|
98
|
+
eos: eosPfSchema
|
|
99
|
+
};
|
|
100
|
+
var pjSchemaRegistry = {
|
|
101
|
+
credito77: credito77PjSchema,
|
|
102
|
+
losango: losangoPjSchema,
|
|
103
|
+
santander: santanderPjSchema,
|
|
104
|
+
btg: btgPjSchema,
|
|
105
|
+
bv: bvPjSchema,
|
|
106
|
+
"banco-do-brasil": bancoDoBrasilPjSchema,
|
|
107
|
+
"caixa-economica-federal": caixaEconomicaFederalPjSchema,
|
|
108
|
+
alfa: alfaPjSchema,
|
|
109
|
+
safra: safraPjSchema,
|
|
110
|
+
cash_me_: cashMePjSchema,
|
|
111
|
+
hdt_energy: hdtEnergyPjSchema,
|
|
112
|
+
solfacil: solfacilPjSchema,
|
|
113
|
+
sol_agora: solAgoraPjSchema,
|
|
114
|
+
eos: eosPjSchema
|
|
115
|
+
};
|
|
116
|
+
var pfBaseSchemaRegistry = {
|
|
117
|
+
credito77: credito77PfObject,
|
|
118
|
+
losango: losangoPfObject,
|
|
119
|
+
santander: santanderPfObject,
|
|
120
|
+
btg: btgPfObject,
|
|
121
|
+
bv: bvPfObject,
|
|
122
|
+
"banco-do-brasil": bancoDoBrasilPfObject,
|
|
123
|
+
"caixa-economica-federal": caixaEconomicaFederalPfObject,
|
|
124
|
+
alfa: alfaPfObject,
|
|
125
|
+
safra: safraPfObject,
|
|
126
|
+
cash_me_: cashMePfObject,
|
|
127
|
+
hdt_energy: hdtEnergyPfObject,
|
|
128
|
+
solfacil: solfacilPfObject,
|
|
129
|
+
sol_agora: solAgoraPfObject,
|
|
130
|
+
eos: eosPfObject
|
|
131
|
+
};
|
|
132
|
+
var pjBaseSchemaRegistry = {
|
|
133
|
+
credito77: credito77PjObject,
|
|
134
|
+
losango: losangoPjObject,
|
|
135
|
+
santander: santanderPjObject,
|
|
136
|
+
btg: btgPjObject,
|
|
137
|
+
bv: bvPjObject,
|
|
138
|
+
"banco-do-brasil": bancoDoBrasilPjObject,
|
|
139
|
+
"caixa-economica-federal": caixaEconomicaFederalPjObject,
|
|
140
|
+
alfa: alfaPjObject,
|
|
141
|
+
safra: safraPjObject,
|
|
142
|
+
cash_me_: cashMePjObject,
|
|
143
|
+
hdt_energy: hdtEnergyPjObject,
|
|
144
|
+
solfacil: solfacilPjObject,
|
|
145
|
+
sol_agora: solAgoraPjObject,
|
|
146
|
+
eos: eosPjObject
|
|
147
|
+
};
|
|
148
|
+
var CREDITO77_PRESTAMISTA_FIELDS = {
|
|
149
|
+
doc: true,
|
|
150
|
+
issuing_body: true,
|
|
151
|
+
doc_issue_date: true,
|
|
152
|
+
sex: true
|
|
153
|
+
};
|
|
154
|
+
function isCredito77WithoutPrestamista(bank, person, options) {
|
|
155
|
+
return bank === "credito77" && person === "pf" && !options.prestamistaIncluso;
|
|
156
|
+
}
|
|
157
|
+
function getFormalizationSchema(bank, person, options = {}) {
|
|
158
|
+
if (bank === UNIFIED_SLUG) {
|
|
159
|
+
return unifiedSchemaByPerson[person];
|
|
160
|
+
}
|
|
161
|
+
if (isCredito77WithoutPrestamista(bank, person, options)) {
|
|
162
|
+
return credito77PfObject.omit(CREDITO77_PRESTAMISTA_FIELDS).strict().superRefine(applyPfRefinements);
|
|
163
|
+
}
|
|
164
|
+
return person === "pf" ? pfSchemaRegistry[bank] : pjSchemaRegistry[bank];
|
|
165
|
+
}
|
|
166
|
+
function getFormalizationBaseSchema(bank, person, options = {}) {
|
|
167
|
+
if (bank === UNIFIED_SLUG) {
|
|
168
|
+
return unifiedBaseSchemaByPerson[person];
|
|
169
|
+
}
|
|
170
|
+
if (isCredito77WithoutPrestamista(bank, person, options)) {
|
|
171
|
+
return credito77PfObject.omit(CREDITO77_PRESTAMISTA_FIELDS);
|
|
172
|
+
}
|
|
173
|
+
return person === "pf" ? pfBaseSchemaRegistry[bank] : pjBaseSchemaRegistry[bank];
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
// src/domains/financing/formalization/uiMeta.ts
|
|
177
|
+
var FORMALIZATION_FIELD_META = {
|
|
178
|
+
voucher_local_installation_address: {
|
|
179
|
+
kind: "file",
|
|
180
|
+
label: "Comprovante de endere\xE7o da instala\xE7\xE3o",
|
|
181
|
+
step: 1
|
|
182
|
+
},
|
|
183
|
+
energy_account_in_requester_name: {
|
|
184
|
+
kind: "select",
|
|
185
|
+
label: "Conta em nome de terceiro?",
|
|
186
|
+
step: 1,
|
|
187
|
+
placeholder: "Selecione uma op\xE7\xE3o"
|
|
188
|
+
},
|
|
189
|
+
proof_kinship: {
|
|
190
|
+
kind: "file",
|
|
191
|
+
label: "Documento de v\xEDnculo com o titular",
|
|
192
|
+
step: 1
|
|
193
|
+
},
|
|
194
|
+
type_doc: {
|
|
195
|
+
kind: "select",
|
|
196
|
+
label: "Tipo de documento",
|
|
197
|
+
step: 3,
|
|
198
|
+
placeholder: "Selecione uma op\xE7\xE3o"
|
|
199
|
+
},
|
|
200
|
+
document_front_upload: {
|
|
201
|
+
kind: "file",
|
|
202
|
+
label: "Documento de identidade (frente)",
|
|
203
|
+
step: 2
|
|
204
|
+
},
|
|
205
|
+
document_back_upload: {
|
|
206
|
+
kind: "file",
|
|
207
|
+
label: "Documento de identidade (verso)",
|
|
208
|
+
step: 2
|
|
209
|
+
},
|
|
210
|
+
name: {
|
|
211
|
+
kind: "text",
|
|
212
|
+
label: "Nome",
|
|
213
|
+
step: 3,
|
|
214
|
+
placeholder: "Digite o nome completo"
|
|
215
|
+
},
|
|
216
|
+
cpf: { kind: "cpf", label: "CPF", step: 3, placeholder: "Digite o CPF" },
|
|
217
|
+
birth_date: {
|
|
218
|
+
kind: "date",
|
|
219
|
+
label: "Data de nascimento",
|
|
220
|
+
step: 3,
|
|
221
|
+
placeholder: "Digite a data de nascimento"
|
|
222
|
+
},
|
|
223
|
+
nationality: {
|
|
224
|
+
kind: "select",
|
|
225
|
+
label: "Nacionalidade",
|
|
226
|
+
step: 3,
|
|
227
|
+
placeholder: "Selecione uma op\xE7\xE3o"
|
|
228
|
+
},
|
|
229
|
+
doc: {
|
|
230
|
+
kind: "text",
|
|
231
|
+
label: "N\xFAmero do documento",
|
|
232
|
+
step: 3,
|
|
233
|
+
placeholder: "Digite o n\xFAmero do documento"
|
|
234
|
+
},
|
|
235
|
+
issuing_body: {
|
|
236
|
+
kind: "text",
|
|
237
|
+
label: "\xD3rg\xE3o emissor",
|
|
238
|
+
step: 3,
|
|
239
|
+
placeholder: "Digite o \xF3rg\xE3o emissor"
|
|
240
|
+
},
|
|
241
|
+
emitting_state: {
|
|
242
|
+
kind: "select",
|
|
243
|
+
label: "UF emissor",
|
|
244
|
+
step: 3,
|
|
245
|
+
placeholder: "Digite a UF do emissor"
|
|
246
|
+
},
|
|
247
|
+
doc_issue_date: {
|
|
248
|
+
kind: "date",
|
|
249
|
+
label: "Data de expedi\xE7\xE3o",
|
|
250
|
+
step: 3,
|
|
251
|
+
placeholder: "Digite a data de expedi\xE7\xE3o"
|
|
252
|
+
},
|
|
253
|
+
email: {
|
|
254
|
+
kind: "email",
|
|
255
|
+
label: "E-mail",
|
|
256
|
+
step: 3,
|
|
257
|
+
placeholder: "Digite o e-mail"
|
|
258
|
+
},
|
|
259
|
+
cellphone: {
|
|
260
|
+
kind: "phone",
|
|
261
|
+
label: "Celular",
|
|
262
|
+
step: 3,
|
|
263
|
+
placeholder: "Digite o celular"
|
|
264
|
+
},
|
|
265
|
+
monthly_income: {
|
|
266
|
+
kind: "currency",
|
|
267
|
+
label: "Renda mensal",
|
|
268
|
+
step: 3
|
|
269
|
+
},
|
|
270
|
+
mother_name: {
|
|
271
|
+
kind: "text",
|
|
272
|
+
label: "Nome da m\xE3e",
|
|
273
|
+
step: 3,
|
|
274
|
+
placeholder: "Digite o nome da m\xE3e"
|
|
275
|
+
},
|
|
276
|
+
// naturalness: {
|
|
277
|
+
// kind: 'text',
|
|
278
|
+
// label: 'Naturalidade',
|
|
279
|
+
// step: 3,
|
|
280
|
+
// placeholder: 'Selecione uma opção',
|
|
281
|
+
// },
|
|
282
|
+
uf_naturalness: {
|
|
283
|
+
kind: "select",
|
|
284
|
+
label: "UF de naturalidade",
|
|
285
|
+
step: 3,
|
|
286
|
+
placeholder: "Selecione uma op\xE7\xE3o"
|
|
287
|
+
},
|
|
288
|
+
cep: { kind: "cep", label: "CEP", step: 3, placeholder: "Digite o CEP" },
|
|
289
|
+
address: {
|
|
290
|
+
kind: "text",
|
|
291
|
+
label: "Endere\xE7o",
|
|
292
|
+
step: 3,
|
|
293
|
+
placeholder: "Digite o endere\xE7o"
|
|
294
|
+
},
|
|
295
|
+
number: {
|
|
296
|
+
kind: "text",
|
|
297
|
+
label: "N\xFAmero",
|
|
298
|
+
step: 3,
|
|
299
|
+
placeholder: "Digite o n\xFAmero"
|
|
300
|
+
},
|
|
301
|
+
complement: {
|
|
302
|
+
kind: "text",
|
|
303
|
+
label: "Complemento",
|
|
304
|
+
step: 3,
|
|
305
|
+
placeholder: "Digite o complemento"
|
|
306
|
+
},
|
|
307
|
+
district: {
|
|
308
|
+
kind: "text",
|
|
309
|
+
label: "Bairro",
|
|
310
|
+
step: 3,
|
|
311
|
+
placeholder: "Digite o bairro"
|
|
312
|
+
},
|
|
313
|
+
state: {
|
|
314
|
+
kind: "select",
|
|
315
|
+
label: "Estado (UF)",
|
|
316
|
+
step: 3,
|
|
317
|
+
placeholder: "Selecione uma op\xE7\xE3o"
|
|
318
|
+
},
|
|
319
|
+
city: {
|
|
320
|
+
kind: "text",
|
|
321
|
+
label: "Cidade",
|
|
322
|
+
step: 3,
|
|
323
|
+
placeholder: "Informe a cidade"
|
|
324
|
+
},
|
|
325
|
+
sex: {
|
|
326
|
+
kind: "select",
|
|
327
|
+
label: "Sexo",
|
|
328
|
+
step: 4,
|
|
329
|
+
placeholder: "Selecione uma op\xE7\xE3o"
|
|
330
|
+
},
|
|
331
|
+
profession: {
|
|
332
|
+
kind: "select",
|
|
333
|
+
label: "Profiss\xE3o",
|
|
334
|
+
step: 4,
|
|
335
|
+
placeholder: "Selecione uma op\xE7\xE3o"
|
|
336
|
+
},
|
|
337
|
+
nature_of_occupation: {
|
|
338
|
+
kind: "select",
|
|
339
|
+
label: "Natureza da ocupa\xE7\xE3o",
|
|
340
|
+
step: 4,
|
|
341
|
+
placeholder: "Selecione uma op\xE7\xE3o"
|
|
342
|
+
},
|
|
343
|
+
cnpj_proprietary: {
|
|
344
|
+
kind: "cnpj",
|
|
345
|
+
label: "CNPJ do propriet\xE1rio",
|
|
346
|
+
step: 4,
|
|
347
|
+
placeholder: "Digite o CNPJ do propriet\xE1rio"
|
|
348
|
+
},
|
|
349
|
+
equity_value: { kind: "currency", label: "Patrim\xF4nio", step: 4 },
|
|
350
|
+
civil_status: {
|
|
351
|
+
kind: "select",
|
|
352
|
+
label: "Estado civil",
|
|
353
|
+
step: 4,
|
|
354
|
+
placeholder: "Selecione uma op\xE7\xE3o"
|
|
355
|
+
},
|
|
356
|
+
company_time: {
|
|
357
|
+
kind: "number",
|
|
358
|
+
label: "Tempo de empresa (meses)",
|
|
359
|
+
step: 4,
|
|
360
|
+
placeholder: "Digite o tempo de empresa em meses"
|
|
361
|
+
},
|
|
362
|
+
pep_relationship: {
|
|
363
|
+
kind: "select",
|
|
364
|
+
label: "Rela\xE7\xE3o com PEP",
|
|
365
|
+
step: 4,
|
|
366
|
+
placeholder: "Selecione uma op\xE7\xE3o"
|
|
367
|
+
},
|
|
368
|
+
residence_situation: {
|
|
369
|
+
kind: "select",
|
|
370
|
+
label: "Situa\xE7\xE3o da resid\xEAncia",
|
|
371
|
+
step: 4,
|
|
372
|
+
placeholder: "Selecione uma op\xE7\xE3o"
|
|
373
|
+
},
|
|
374
|
+
months_in_residence: {
|
|
375
|
+
kind: "integer",
|
|
376
|
+
label: "Tempo de resid\xEAncia (meses)",
|
|
377
|
+
step: 4,
|
|
378
|
+
placeholder: "Digite o tempo de resid\xEAncia em meses"
|
|
379
|
+
},
|
|
380
|
+
financing_company: { kind: "group", label: "Dados da empresa", step: 4 },
|
|
381
|
+
financing_company_guarantor: { kind: "array", label: "Avalistas", step: 4 },
|
|
382
|
+
financing_company_qsa: {
|
|
383
|
+
kind: "array",
|
|
384
|
+
label: "Quadro societ\xE1rio (QSA)",
|
|
385
|
+
step: 4,
|
|
386
|
+
placeholder: "Selecione uma op\xE7\xE3o"
|
|
387
|
+
},
|
|
388
|
+
social_name: { kind: "text", label: "Nome social", step: 4 },
|
|
389
|
+
partner_name: { kind: "text", label: "Nome do c\xF4njuge", step: 4 },
|
|
390
|
+
partner_birth: {
|
|
391
|
+
kind: "date",
|
|
392
|
+
label: "Data de nascimento do c\xF4njuge",
|
|
393
|
+
step: 4,
|
|
394
|
+
placeholder: "Digite a data de nascimento do c\xF4njuge"
|
|
395
|
+
},
|
|
396
|
+
partner_type_doc: {
|
|
397
|
+
kind: "select",
|
|
398
|
+
label: "Tipo de documento do c\xF4njuge",
|
|
399
|
+
step: 4,
|
|
400
|
+
placeholder: "Selecione uma op\xE7\xE3o"
|
|
401
|
+
},
|
|
402
|
+
partner_doc: {
|
|
403
|
+
kind: "text",
|
|
404
|
+
label: "Documento do c\xF4njuge",
|
|
405
|
+
step: 4,
|
|
406
|
+
placeholder: "Digite o documento do c\xF4njuge"
|
|
407
|
+
},
|
|
408
|
+
partner_cpf: {
|
|
409
|
+
kind: "cpf",
|
|
410
|
+
label: "CPF do c\xF4njuge",
|
|
411
|
+
step: 4,
|
|
412
|
+
placeholder: "Digite o CPF do c\xF4njuge"
|
|
413
|
+
},
|
|
414
|
+
partner_city: {
|
|
415
|
+
kind: "text",
|
|
416
|
+
label: "Cidade do c\xF4njuge",
|
|
417
|
+
step: 4,
|
|
418
|
+
placeholder: "Digite a cidade do c\xF4njuge"
|
|
419
|
+
},
|
|
420
|
+
communion_regime: {
|
|
421
|
+
kind: "select",
|
|
422
|
+
label: "Regime de comunh\xE3o",
|
|
423
|
+
step: 4,
|
|
424
|
+
placeholder: "Selecione uma op\xE7\xE3o"
|
|
425
|
+
},
|
|
426
|
+
rd_re_insurance_toggle: {
|
|
427
|
+
kind: "toggle",
|
|
428
|
+
label: "Seguro prestamista (RD/RE)",
|
|
429
|
+
step: 4
|
|
430
|
+
}
|
|
431
|
+
};
|
|
432
|
+
|
|
433
|
+
export { BANK_SLUGS, BankEnum, FORMALIZATION_FIELD_META, FORMALIZATION_OPTION_LABELS, NATIONALITY_BRAZIL, UNIFIED_SLUG, getFieldOptions, getFormalizationBaseSchema, getFormalizationSchema, pfBaseSchemaRegistry, pfSchemaRegistry, pjBaseSchemaRegistry, pjSchemaRegistry };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-SKFIWDPV.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, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-SKFIWDPV.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var caixaEconomicaFederalPfObject = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-SKFIWDPV.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var cashMePjObject = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DocumentTypeEnum } from './chunk-
|
|
2
|
-
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-SKFIWDPV.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, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-SKFIWDPV.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var credito77PfObject = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-SKFIWDPV.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 { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-
|
|
1
|
+
import { DocumentTypeEnum } from './chunk-7I2LXGA2.mjs';
|
|
2
|
+
import { issueDateSchema, currencySchema, emailSchema, phoneBRSchema, SexEnum, birthDateSchema, cpfSchema, cepSchema, formalizationExtras, textField, cpfCnpjSchema, applyPfRefinements } from './chunk-SKFIWDPV.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var alfaPfObject = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-
|
|
1
|
+
import { formalizationExtras, SexEnum, emailSchema, phoneBRSchema, birthDateSchema, cpfSchema, cepSchema, textField, currencySchema, cnpjSchema, issueDateSchema, applyPjRefinements } from './chunk-SKFIWDPV.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var eosPjObject = z.object({
|