@77sol-lab/form-schemas 1.2.0 → 1.3.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-52KJIJBF.mjs +45 -0
- package/{chunk-X4DDGGAB.mjs → chunk-KKGV43J4.mjs} +18 -1
- package/chunk-XNACW46V.mjs +105 -0
- package/financing/formalization/index.d.cts +1577 -244
- package/financing/formalization/index.d.ts +1577 -244
- package/financing/formalization/index.js +158 -0
- package/financing/formalization/index.mjs +3 -1
- package/financing/formalization/schemas/UnifiedPFSchema.d.cts +535 -0
- package/financing/formalization/schemas/UnifiedPFSchema.d.ts +535 -0
- package/financing/formalization/schemas/UnifiedPFSchema.js +248 -0
- package/financing/formalization/schemas/UnifiedPFSchema.mjs +3 -0
- package/financing/formalization/schemas/UnifiedPJSchema.d.cts +1335 -0
- package/financing/formalization/schemas/UnifiedPJSchema.d.ts +1335 -0
- package/financing/formalization/schemas/UnifiedPJSchema.js +268 -0
- package/financing/formalization/schemas/UnifiedPJSchema.mjs +3 -0
- package/index.d.cts +3 -1
- package/index.d.ts +3 -1
- package/index.js +158 -0
- package/index.mjs +3 -1
- package/package.json +1 -1
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { unifiedPfObject, unifiedPfSchema } from './schemas/UnifiedPFSchema.cjs';
|
|
2
|
+
export { unifiedPjObject, unifiedPjSchema } from './schemas/UnifiedPJSchema.cjs';
|
|
1
3
|
import * as zod from 'zod';
|
|
2
4
|
import { z, ZodTypeAny } from 'zod';
|
|
3
5
|
|
|
@@ -14,6 +16,9 @@ declare function applyPfRefinements(data: Record<string, unknown>, ctx: z.Refine
|
|
|
14
16
|
declare function applyPjRefinements(data: Record<string, unknown>, ctx: z.RefinementCtx): void;
|
|
15
17
|
|
|
16
18
|
type PersonType = 'pf' | 'pj';
|
|
19
|
+
declare const UNIFIED_SLUG: "unified";
|
|
20
|
+
type UnifiedSlug = typeof UNIFIED_SLUG;
|
|
21
|
+
|
|
17
22
|
declare const pfSchemaRegistry: {
|
|
18
23
|
credito77: zod.ZodEffects<zod.ZodObject<{
|
|
19
24
|
name: zod.ZodString;
|
|
@@ -16149,7 +16154,7 @@ declare const pjBaseSchemaRegistry: {
|
|
|
16149
16154
|
interface FormalizationSchemaOptions {
|
|
16150
16155
|
prestamistaIncluso?: boolean;
|
|
16151
16156
|
}
|
|
16152
|
-
declare function getFormalizationSchema(bank: BankSlug, person: PersonType, options?: FormalizationSchemaOptions): zod.ZodEffects<zod.ZodObject<{
|
|
16157
|
+
declare function getFormalizationSchema(bank: BankSlug | UnifiedSlug, person: PersonType, options?: FormalizationSchemaOptions): zod.ZodEffects<zod.ZodObject<{
|
|
16153
16158
|
financing_company: zod.ZodObject<{
|
|
16154
16159
|
corporate_name: zod.ZodString;
|
|
16155
16160
|
cep: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
@@ -17432,30 +17437,274 @@ declare function getFormalizationSchema(bank: BankSlug, person: PersonType, opti
|
|
|
17432
17437
|
url?: string | undefined;
|
|
17433
17438
|
} | undefined;
|
|
17434
17439
|
rd_re_insurance_toggle?: boolean | undefined;
|
|
17435
|
-
}> | zod.ZodEffects<zod.ZodObject<
|
|
17436
|
-
|
|
17437
|
-
|
|
17438
|
-
|
|
17439
|
-
|
|
17440
|
-
|
|
17441
|
-
|
|
17442
|
-
|
|
17443
|
-
|
|
17444
|
-
|
|
17445
|
-
|
|
17446
|
-
|
|
17447
|
-
|
|
17448
|
-
|
|
17449
|
-
|
|
17450
|
-
|
|
17451
|
-
|
|
17452
|
-
|
|
17453
|
-
|
|
17454
|
-
|
|
17455
|
-
|
|
17456
|
-
|
|
17457
|
-
|
|
17458
|
-
|
|
17440
|
+
}> | zod.ZodEffects<zod.ZodObject<{
|
|
17441
|
+
financing_company: zod.ZodObject<{
|
|
17442
|
+
corporate_name: zod.ZodString;
|
|
17443
|
+
cnpj: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
17444
|
+
foundation_date: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
17445
|
+
address: zod.ZodString;
|
|
17446
|
+
number: zod.ZodString;
|
|
17447
|
+
email: zod.ZodEffects<zod.ZodString, string, string>;
|
|
17448
|
+
complement: zod.ZodOptional<zod.ZodString>;
|
|
17449
|
+
phone: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
17450
|
+
district: zod.ZodString;
|
|
17451
|
+
legal_nature: zod.ZodString;
|
|
17452
|
+
city: zod.ZodString;
|
|
17453
|
+
state: zod.ZodString;
|
|
17454
|
+
cep: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
17455
|
+
economic_activity: zod.ZodOptional<zod.ZodString>;
|
|
17456
|
+
economic_activity_group: zod.ZodOptional<zod.ZodString>;
|
|
17457
|
+
monthly_income: zod.ZodOptional<zod.ZodNumber>;
|
|
17458
|
+
residence_situation: zod.ZodOptional<zod.ZodString>;
|
|
17459
|
+
months_in_residence: zod.ZodOptional<zod.ZodNumber>;
|
|
17460
|
+
capital_social: zod.ZodOptional<zod.ZodNumber>;
|
|
17461
|
+
}, "strict", ZodTypeAny, {
|
|
17462
|
+
number: string;
|
|
17463
|
+
cep: string;
|
|
17464
|
+
address: string;
|
|
17465
|
+
district: string;
|
|
17466
|
+
city: string;
|
|
17467
|
+
state: string;
|
|
17468
|
+
email: string;
|
|
17469
|
+
corporate_name: string;
|
|
17470
|
+
foundation_date: string;
|
|
17471
|
+
cnpj: string;
|
|
17472
|
+
phone: string;
|
|
17473
|
+
legal_nature: string;
|
|
17474
|
+
complement?: string | undefined;
|
|
17475
|
+
monthly_income?: number | undefined;
|
|
17476
|
+
economic_activity_group?: string | undefined;
|
|
17477
|
+
economic_activity?: string | undefined;
|
|
17478
|
+
residence_situation?: string | undefined;
|
|
17479
|
+
months_in_residence?: number | undefined;
|
|
17480
|
+
capital_social?: number | undefined;
|
|
17481
|
+
}, {
|
|
17482
|
+
number: string;
|
|
17483
|
+
cep: string;
|
|
17484
|
+
address: string;
|
|
17485
|
+
district: string;
|
|
17486
|
+
city: string;
|
|
17487
|
+
state: string;
|
|
17488
|
+
email: string;
|
|
17489
|
+
corporate_name: string;
|
|
17490
|
+
foundation_date: string;
|
|
17491
|
+
cnpj: string;
|
|
17492
|
+
phone: string;
|
|
17493
|
+
legal_nature: string;
|
|
17494
|
+
complement?: string | undefined;
|
|
17495
|
+
monthly_income?: number | undefined;
|
|
17496
|
+
economic_activity_group?: string | undefined;
|
|
17497
|
+
economic_activity?: string | undefined;
|
|
17498
|
+
residence_situation?: string | undefined;
|
|
17499
|
+
months_in_residence?: number | undefined;
|
|
17500
|
+
capital_social?: number | undefined;
|
|
17501
|
+
}>;
|
|
17502
|
+
financing_company_guarantor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
17503
|
+
name: zod.ZodString;
|
|
17504
|
+
cpf: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
17505
|
+
birth_date: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
17506
|
+
address: zod.ZodString;
|
|
17507
|
+
number: zod.ZodString;
|
|
17508
|
+
cep: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
17509
|
+
complement: zod.ZodOptional<zod.ZodString>;
|
|
17510
|
+
cellphone: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
17511
|
+
email: zod.ZodEffects<zod.ZodString, string, string>;
|
|
17512
|
+
district: zod.ZodString;
|
|
17513
|
+
sex: zod.ZodEnum<["masculino", "feminino"]>;
|
|
17514
|
+
city: zod.ZodString;
|
|
17515
|
+
state: zod.ZodString;
|
|
17516
|
+
mother_name: zod.ZodString;
|
|
17517
|
+
nationality: zod.ZodString;
|
|
17518
|
+
office: zod.ZodOptional<zod.ZodString>;
|
|
17519
|
+
phone: zod.ZodOptional<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>>;
|
|
17520
|
+
civil_status: zod.ZodOptional<zod.ZodString>;
|
|
17521
|
+
residence_situation: zod.ZodOptional<zod.ZodString>;
|
|
17522
|
+
months_in_residence: zod.ZodOptional<zod.ZodNumber>;
|
|
17523
|
+
type_doc: zod.ZodOptional<zod.ZodEnum<["rg", "cnh", "rne"]>>;
|
|
17524
|
+
doc: zod.ZodOptional<zod.ZodString>;
|
|
17525
|
+
issuing_body: zod.ZodOptional<zod.ZodString>;
|
|
17526
|
+
uf_issuing_body: zod.ZodOptional<zod.ZodString>;
|
|
17527
|
+
doc_issue_date: zod.ZodOptional<zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>>;
|
|
17528
|
+
doc_expiration_date: zod.ZodOptional<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>>;
|
|
17529
|
+
monthly_income: zod.ZodOptional<zod.ZodNumber>;
|
|
17530
|
+
patrimony: zod.ZodOptional<zod.ZodNumber>;
|
|
17531
|
+
naturalness: zod.ZodOptional<zod.ZodString>;
|
|
17532
|
+
uf_naturalness: zod.ZodOptional<zod.ZodString>;
|
|
17533
|
+
pep_relationship: zod.ZodOptional<zod.ZodString>;
|
|
17534
|
+
entry_date: zod.ZodOptional<zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>>;
|
|
17535
|
+
doc_issuance_uf: zod.ZodOptional<zod.ZodString>;
|
|
17536
|
+
}, "strict", ZodTypeAny, {
|
|
17537
|
+
number: string;
|
|
17538
|
+
nationality: string;
|
|
17539
|
+
name: string;
|
|
17540
|
+
cep: string;
|
|
17541
|
+
cpf: string;
|
|
17542
|
+
address: string;
|
|
17543
|
+
birth_date: string;
|
|
17544
|
+
sex: "masculino" | "feminino";
|
|
17545
|
+
mother_name: string;
|
|
17546
|
+
district: string;
|
|
17547
|
+
city: string;
|
|
17548
|
+
state: string;
|
|
17549
|
+
cellphone: string;
|
|
17550
|
+
email: string;
|
|
17551
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
17552
|
+
doc_issue_date?: string | undefined;
|
|
17553
|
+
complement?: string | undefined;
|
|
17554
|
+
monthly_income?: number | undefined;
|
|
17555
|
+
doc?: string | undefined;
|
|
17556
|
+
issuing_body?: string | undefined;
|
|
17557
|
+
phone?: string | undefined;
|
|
17558
|
+
office?: string | undefined;
|
|
17559
|
+
civil_status?: string | undefined;
|
|
17560
|
+
uf_issuing_body?: string | undefined;
|
|
17561
|
+
doc_expiration_date?: string | undefined;
|
|
17562
|
+
patrimony?: number | undefined;
|
|
17563
|
+
uf_naturalness?: string | undefined;
|
|
17564
|
+
residence_situation?: string | undefined;
|
|
17565
|
+
months_in_residence?: number | undefined;
|
|
17566
|
+
naturalness?: string | undefined;
|
|
17567
|
+
pep_relationship?: string | undefined;
|
|
17568
|
+
entry_date?: string | undefined;
|
|
17569
|
+
doc_issuance_uf?: string | undefined;
|
|
17570
|
+
}, {
|
|
17571
|
+
number: string;
|
|
17572
|
+
nationality: string;
|
|
17573
|
+
name: string;
|
|
17574
|
+
cep: string;
|
|
17575
|
+
cpf: string;
|
|
17576
|
+
address: string;
|
|
17577
|
+
birth_date: string;
|
|
17578
|
+
sex: "masculino" | "feminino";
|
|
17579
|
+
mother_name: string;
|
|
17580
|
+
district: string;
|
|
17581
|
+
city: string;
|
|
17582
|
+
state: string;
|
|
17583
|
+
cellphone: string;
|
|
17584
|
+
email: string;
|
|
17585
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
17586
|
+
doc_issue_date?: string | undefined;
|
|
17587
|
+
complement?: string | undefined;
|
|
17588
|
+
monthly_income?: number | undefined;
|
|
17589
|
+
doc?: string | undefined;
|
|
17590
|
+
issuing_body?: string | undefined;
|
|
17591
|
+
phone?: string | undefined;
|
|
17592
|
+
office?: string | undefined;
|
|
17593
|
+
civil_status?: string | undefined;
|
|
17594
|
+
uf_issuing_body?: string | undefined;
|
|
17595
|
+
doc_expiration_date?: string | undefined;
|
|
17596
|
+
patrimony?: number | undefined;
|
|
17597
|
+
uf_naturalness?: string | undefined;
|
|
17598
|
+
residence_situation?: string | undefined;
|
|
17599
|
+
months_in_residence?: number | undefined;
|
|
17600
|
+
naturalness?: string | undefined;
|
|
17601
|
+
pep_relationship?: string | undefined;
|
|
17602
|
+
entry_date?: string | undefined;
|
|
17603
|
+
doc_issuance_uf?: string | undefined;
|
|
17604
|
+
}>, "many">>;
|
|
17605
|
+
financing_company_qsa: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
17606
|
+
name: zod.ZodString;
|
|
17607
|
+
cpf: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
17608
|
+
birth_date: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
17609
|
+
address: zod.ZodString;
|
|
17610
|
+
number: zod.ZodString;
|
|
17611
|
+
cep: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
17612
|
+
complement: zod.ZodOptional<zod.ZodString>;
|
|
17613
|
+
cellphone: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
17614
|
+
email: zod.ZodEffects<zod.ZodString, string, string>;
|
|
17615
|
+
district: zod.ZodString;
|
|
17616
|
+
sex: zod.ZodEnum<["masculino", "feminino"]>;
|
|
17617
|
+
city: zod.ZodString;
|
|
17618
|
+
state: zod.ZodString;
|
|
17619
|
+
mother_name: zod.ZodString;
|
|
17620
|
+
nationality: zod.ZodString;
|
|
17621
|
+
office: zod.ZodOptional<zod.ZodString>;
|
|
17622
|
+
phone: zod.ZodOptional<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>>;
|
|
17623
|
+
civil_status: zod.ZodOptional<zod.ZodString>;
|
|
17624
|
+
residence_situation: zod.ZodOptional<zod.ZodString>;
|
|
17625
|
+
months_in_residence: zod.ZodOptional<zod.ZodNumber>;
|
|
17626
|
+
type_doc: zod.ZodOptional<zod.ZodEnum<["rg", "cnh", "rne"]>>;
|
|
17627
|
+
doc: zod.ZodOptional<zod.ZodString>;
|
|
17628
|
+
issuing_body: zod.ZodOptional<zod.ZodString>;
|
|
17629
|
+
uf_issuing_body: zod.ZodOptional<zod.ZodString>;
|
|
17630
|
+
doc_issue_date: zod.ZodOptional<zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>>;
|
|
17631
|
+
doc_expiration_date: zod.ZodOptional<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>>;
|
|
17632
|
+
monthly_income: zod.ZodOptional<zod.ZodNumber>;
|
|
17633
|
+
patrimony: zod.ZodOptional<zod.ZodNumber>;
|
|
17634
|
+
naturalness: zod.ZodOptional<zod.ZodString>;
|
|
17635
|
+
uf_naturalness: zod.ZodOptional<zod.ZodString>;
|
|
17636
|
+
pep_relationship: zod.ZodOptional<zod.ZodString>;
|
|
17637
|
+
entry_date: zod.ZodOptional<zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>>;
|
|
17638
|
+
doc_issuance_uf: zod.ZodOptional<zod.ZodString>;
|
|
17639
|
+
}, "strict", ZodTypeAny, {
|
|
17640
|
+
number: string;
|
|
17641
|
+
nationality: string;
|
|
17642
|
+
name: string;
|
|
17643
|
+
cep: string;
|
|
17644
|
+
cpf: string;
|
|
17645
|
+
address: string;
|
|
17646
|
+
birth_date: string;
|
|
17647
|
+
sex: "masculino" | "feminino";
|
|
17648
|
+
mother_name: string;
|
|
17649
|
+
district: string;
|
|
17650
|
+
city: string;
|
|
17651
|
+
state: string;
|
|
17652
|
+
cellphone: string;
|
|
17653
|
+
email: string;
|
|
17654
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
17655
|
+
doc_issue_date?: string | undefined;
|
|
17656
|
+
complement?: string | undefined;
|
|
17657
|
+
monthly_income?: number | undefined;
|
|
17658
|
+
doc?: string | undefined;
|
|
17659
|
+
issuing_body?: string | undefined;
|
|
17660
|
+
phone?: string | undefined;
|
|
17661
|
+
office?: string | undefined;
|
|
17662
|
+
civil_status?: string | undefined;
|
|
17663
|
+
uf_issuing_body?: string | undefined;
|
|
17664
|
+
doc_expiration_date?: string | undefined;
|
|
17665
|
+
patrimony?: number | undefined;
|
|
17666
|
+
uf_naturalness?: string | undefined;
|
|
17667
|
+
residence_situation?: string | undefined;
|
|
17668
|
+
months_in_residence?: number | undefined;
|
|
17669
|
+
naturalness?: string | undefined;
|
|
17670
|
+
pep_relationship?: string | undefined;
|
|
17671
|
+
entry_date?: string | undefined;
|
|
17672
|
+
doc_issuance_uf?: string | undefined;
|
|
17673
|
+
}, {
|
|
17674
|
+
number: string;
|
|
17675
|
+
nationality: string;
|
|
17676
|
+
name: string;
|
|
17677
|
+
cep: string;
|
|
17678
|
+
cpf: string;
|
|
17679
|
+
address: string;
|
|
17680
|
+
birth_date: string;
|
|
17681
|
+
sex: "masculino" | "feminino";
|
|
17682
|
+
mother_name: string;
|
|
17683
|
+
district: string;
|
|
17684
|
+
city: string;
|
|
17685
|
+
state: string;
|
|
17686
|
+
cellphone: string;
|
|
17687
|
+
email: string;
|
|
17688
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
17689
|
+
doc_issue_date?: string | undefined;
|
|
17690
|
+
complement?: string | undefined;
|
|
17691
|
+
monthly_income?: number | undefined;
|
|
17692
|
+
doc?: string | undefined;
|
|
17693
|
+
issuing_body?: string | undefined;
|
|
17694
|
+
phone?: string | undefined;
|
|
17695
|
+
office?: string | undefined;
|
|
17696
|
+
civil_status?: string | undefined;
|
|
17697
|
+
uf_issuing_body?: string | undefined;
|
|
17698
|
+
doc_expiration_date?: string | undefined;
|
|
17699
|
+
patrimony?: number | undefined;
|
|
17700
|
+
uf_naturalness?: string | undefined;
|
|
17701
|
+
residence_situation?: string | undefined;
|
|
17702
|
+
months_in_residence?: number | undefined;
|
|
17703
|
+
naturalness?: string | undefined;
|
|
17704
|
+
pep_relationship?: string | undefined;
|
|
17705
|
+
entry_date?: string | undefined;
|
|
17706
|
+
doc_issuance_uf?: string | undefined;
|
|
17707
|
+
}>, "many">>;
|
|
17459
17708
|
energy_bill_upload: zod.ZodObject<{
|
|
17460
17709
|
url: zod.ZodOptional<zod.ZodString>;
|
|
17461
17710
|
mime: zod.ZodEnum<["image/jpeg", "image/png", "application/pdf"]>;
|
|
@@ -17510,25 +17759,8 @@ declare function getFormalizationSchema(bank: BankSlug, person: PersonType, opti
|
|
|
17510
17759
|
url?: string | undefined;
|
|
17511
17760
|
}>;
|
|
17512
17761
|
rd_re_insurance_toggle: zod.ZodDefault<zod.ZodBoolean>;
|
|
17513
|
-
}, "
|
|
17514
|
-
number: string;
|
|
17762
|
+
}, "strict", ZodTypeAny, {
|
|
17515
17763
|
account_third_party: "nao_se_aplica" | "conjuge" | "pai_mae" | "filho_filha" | "parente" | "outro";
|
|
17516
|
-
type_doc: "rg" | "cnh" | "rne";
|
|
17517
|
-
nationality: string;
|
|
17518
|
-
name: string;
|
|
17519
|
-
cep: string;
|
|
17520
|
-
cpf: string;
|
|
17521
|
-
address: string;
|
|
17522
|
-
birth_date: string;
|
|
17523
|
-
mother_name: string;
|
|
17524
|
-
district: string;
|
|
17525
|
-
energy_account_in_requester_name: string;
|
|
17526
|
-
city: string;
|
|
17527
|
-
state: string;
|
|
17528
|
-
cellphone: string;
|
|
17529
|
-
email: string;
|
|
17530
|
-
monthly_income: number;
|
|
17531
|
-
profession: string;
|
|
17532
17764
|
energy_bill_upload: {
|
|
17533
17765
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
17534
17766
|
sizeBytes: number;
|
|
@@ -17545,32 +17777,104 @@ declare function getFormalizationSchema(bank: BankSlug, person: PersonType, opti
|
|
|
17545
17777
|
url?: string | undefined;
|
|
17546
17778
|
};
|
|
17547
17779
|
rd_re_insurance_toggle: boolean;
|
|
17780
|
+
financing_company: {
|
|
17781
|
+
number: string;
|
|
17782
|
+
cep: string;
|
|
17783
|
+
address: string;
|
|
17784
|
+
district: string;
|
|
17785
|
+
city: string;
|
|
17786
|
+
state: string;
|
|
17787
|
+
email: string;
|
|
17788
|
+
corporate_name: string;
|
|
17789
|
+
foundation_date: string;
|
|
17790
|
+
cnpj: string;
|
|
17791
|
+
phone: string;
|
|
17792
|
+
legal_nature: string;
|
|
17793
|
+
complement?: string | undefined;
|
|
17794
|
+
monthly_income?: number | undefined;
|
|
17795
|
+
economic_activity_group?: string | undefined;
|
|
17796
|
+
economic_activity?: string | undefined;
|
|
17797
|
+
residence_situation?: string | undefined;
|
|
17798
|
+
months_in_residence?: number | undefined;
|
|
17799
|
+
capital_social?: number | undefined;
|
|
17800
|
+
};
|
|
17548
17801
|
bond_document_upload?: {
|
|
17549
17802
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
17550
17803
|
sizeBytes: number;
|
|
17551
17804
|
url?: string | undefined;
|
|
17552
17805
|
} | undefined;
|
|
17553
|
-
|
|
17554
|
-
|
|
17806
|
+
financing_company_guarantor?: {
|
|
17807
|
+
number: string;
|
|
17808
|
+
nationality: string;
|
|
17809
|
+
name: string;
|
|
17810
|
+
cep: string;
|
|
17811
|
+
cpf: string;
|
|
17812
|
+
address: string;
|
|
17813
|
+
birth_date: string;
|
|
17814
|
+
sex: "masculino" | "feminino";
|
|
17815
|
+
mother_name: string;
|
|
17816
|
+
district: string;
|
|
17817
|
+
city: string;
|
|
17818
|
+
state: string;
|
|
17819
|
+
cellphone: string;
|
|
17820
|
+
email: string;
|
|
17821
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
17822
|
+
doc_issue_date?: string | undefined;
|
|
17823
|
+
complement?: string | undefined;
|
|
17824
|
+
monthly_income?: number | undefined;
|
|
17825
|
+
doc?: string | undefined;
|
|
17826
|
+
issuing_body?: string | undefined;
|
|
17827
|
+
phone?: string | undefined;
|
|
17828
|
+
office?: string | undefined;
|
|
17829
|
+
civil_status?: string | undefined;
|
|
17830
|
+
uf_issuing_body?: string | undefined;
|
|
17831
|
+
doc_expiration_date?: string | undefined;
|
|
17832
|
+
patrimony?: number | undefined;
|
|
17833
|
+
uf_naturalness?: string | undefined;
|
|
17834
|
+
residence_situation?: string | undefined;
|
|
17835
|
+
months_in_residence?: number | undefined;
|
|
17836
|
+
naturalness?: string | undefined;
|
|
17837
|
+
pep_relationship?: string | undefined;
|
|
17838
|
+
entry_date?: string | undefined;
|
|
17839
|
+
doc_issuance_uf?: string | undefined;
|
|
17840
|
+
}[] | undefined;
|
|
17841
|
+
financing_company_qsa?: {
|
|
17842
|
+
number: string;
|
|
17843
|
+
nationality: string;
|
|
17844
|
+
name: string;
|
|
17845
|
+
cep: string;
|
|
17846
|
+
cpf: string;
|
|
17847
|
+
address: string;
|
|
17848
|
+
birth_date: string;
|
|
17849
|
+
sex: "masculino" | "feminino";
|
|
17850
|
+
mother_name: string;
|
|
17851
|
+
district: string;
|
|
17852
|
+
city: string;
|
|
17853
|
+
state: string;
|
|
17854
|
+
cellphone: string;
|
|
17855
|
+
email: string;
|
|
17856
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
17857
|
+
doc_issue_date?: string | undefined;
|
|
17858
|
+
complement?: string | undefined;
|
|
17859
|
+
monthly_income?: number | undefined;
|
|
17860
|
+
doc?: string | undefined;
|
|
17861
|
+
issuing_body?: string | undefined;
|
|
17862
|
+
phone?: string | undefined;
|
|
17863
|
+
office?: string | undefined;
|
|
17864
|
+
civil_status?: string | undefined;
|
|
17865
|
+
uf_issuing_body?: string | undefined;
|
|
17866
|
+
doc_expiration_date?: string | undefined;
|
|
17867
|
+
patrimony?: number | undefined;
|
|
17868
|
+
uf_naturalness?: string | undefined;
|
|
17869
|
+
residence_situation?: string | undefined;
|
|
17870
|
+
months_in_residence?: number | undefined;
|
|
17871
|
+
naturalness?: string | undefined;
|
|
17872
|
+
pep_relationship?: string | undefined;
|
|
17873
|
+
entry_date?: string | undefined;
|
|
17874
|
+
doc_issuance_uf?: string | undefined;
|
|
17875
|
+
}[] | undefined;
|
|
17555
17876
|
}, {
|
|
17556
|
-
number: string;
|
|
17557
17877
|
account_third_party: "nao_se_aplica" | "conjuge" | "pai_mae" | "filho_filha" | "parente" | "outro";
|
|
17558
|
-
type_doc: "rg" | "cnh" | "rne";
|
|
17559
|
-
nationality: string;
|
|
17560
|
-
name: string;
|
|
17561
|
-
cep: string;
|
|
17562
|
-
cpf: string;
|
|
17563
|
-
address: string;
|
|
17564
|
-
birth_date: string;
|
|
17565
|
-
mother_name: string;
|
|
17566
|
-
district: string;
|
|
17567
|
-
energy_account_in_requester_name: string;
|
|
17568
|
-
city: string;
|
|
17569
|
-
state: string;
|
|
17570
|
-
cellphone: string;
|
|
17571
|
-
email: string;
|
|
17572
|
-
monthly_income: number;
|
|
17573
|
-
profession: string;
|
|
17574
17878
|
energy_bill_upload: {
|
|
17575
17879
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
17576
17880
|
sizeBytes: number;
|
|
@@ -17586,33 +17890,739 @@ declare function getFormalizationSchema(bank: BankSlug, person: PersonType, opti
|
|
|
17586
17890
|
sizeBytes: number;
|
|
17587
17891
|
url?: string | undefined;
|
|
17588
17892
|
};
|
|
17589
|
-
|
|
17590
|
-
|
|
17893
|
+
financing_company: {
|
|
17894
|
+
number: string;
|
|
17895
|
+
cep: string;
|
|
17896
|
+
address: string;
|
|
17897
|
+
district: string;
|
|
17898
|
+
city: string;
|
|
17899
|
+
state: string;
|
|
17900
|
+
email: string;
|
|
17901
|
+
corporate_name: string;
|
|
17902
|
+
foundation_date: string;
|
|
17903
|
+
cnpj: string;
|
|
17904
|
+
phone: string;
|
|
17905
|
+
legal_nature: string;
|
|
17906
|
+
complement?: string | undefined;
|
|
17907
|
+
monthly_income?: number | undefined;
|
|
17908
|
+
economic_activity_group?: string | undefined;
|
|
17909
|
+
economic_activity?: string | undefined;
|
|
17910
|
+
residence_situation?: string | undefined;
|
|
17911
|
+
months_in_residence?: number | undefined;
|
|
17912
|
+
capital_social?: number | undefined;
|
|
17913
|
+
};
|
|
17914
|
+
bond_document_upload?: {
|
|
17915
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
17916
|
+
sizeBytes: number;
|
|
17917
|
+
url?: string | undefined;
|
|
17918
|
+
} | undefined;
|
|
17919
|
+
rd_re_insurance_toggle?: boolean | undefined;
|
|
17920
|
+
financing_company_guarantor?: {
|
|
17921
|
+
number: string;
|
|
17922
|
+
nationality: string;
|
|
17923
|
+
name: string;
|
|
17924
|
+
cep: string;
|
|
17925
|
+
cpf: string;
|
|
17926
|
+
address: string;
|
|
17927
|
+
birth_date: string;
|
|
17928
|
+
sex: "masculino" | "feminino";
|
|
17929
|
+
mother_name: string;
|
|
17930
|
+
district: string;
|
|
17931
|
+
city: string;
|
|
17932
|
+
state: string;
|
|
17933
|
+
cellphone: string;
|
|
17934
|
+
email: string;
|
|
17935
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
17936
|
+
doc_issue_date?: string | undefined;
|
|
17937
|
+
complement?: string | undefined;
|
|
17938
|
+
monthly_income?: number | undefined;
|
|
17939
|
+
doc?: string | undefined;
|
|
17940
|
+
issuing_body?: string | undefined;
|
|
17941
|
+
phone?: string | undefined;
|
|
17942
|
+
office?: string | undefined;
|
|
17943
|
+
civil_status?: string | undefined;
|
|
17944
|
+
uf_issuing_body?: string | undefined;
|
|
17945
|
+
doc_expiration_date?: string | undefined;
|
|
17946
|
+
patrimony?: number | undefined;
|
|
17947
|
+
uf_naturalness?: string | undefined;
|
|
17948
|
+
residence_situation?: string | undefined;
|
|
17949
|
+
months_in_residence?: number | undefined;
|
|
17950
|
+
naturalness?: string | undefined;
|
|
17951
|
+
pep_relationship?: string | undefined;
|
|
17952
|
+
entry_date?: string | undefined;
|
|
17953
|
+
doc_issuance_uf?: string | undefined;
|
|
17954
|
+
}[] | undefined;
|
|
17955
|
+
financing_company_qsa?: {
|
|
17956
|
+
number: string;
|
|
17957
|
+
nationality: string;
|
|
17958
|
+
name: string;
|
|
17959
|
+
cep: string;
|
|
17960
|
+
cpf: string;
|
|
17961
|
+
address: string;
|
|
17962
|
+
birth_date: string;
|
|
17963
|
+
sex: "masculino" | "feminino";
|
|
17964
|
+
mother_name: string;
|
|
17965
|
+
district: string;
|
|
17966
|
+
city: string;
|
|
17967
|
+
state: string;
|
|
17968
|
+
cellphone: string;
|
|
17969
|
+
email: string;
|
|
17970
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
17971
|
+
doc_issue_date?: string | undefined;
|
|
17972
|
+
complement?: string | undefined;
|
|
17973
|
+
monthly_income?: number | undefined;
|
|
17974
|
+
doc?: string | undefined;
|
|
17975
|
+
issuing_body?: string | undefined;
|
|
17976
|
+
phone?: string | undefined;
|
|
17977
|
+
office?: string | undefined;
|
|
17978
|
+
civil_status?: string | undefined;
|
|
17979
|
+
uf_issuing_body?: string | undefined;
|
|
17980
|
+
doc_expiration_date?: string | undefined;
|
|
17981
|
+
patrimony?: number | undefined;
|
|
17982
|
+
uf_naturalness?: string | undefined;
|
|
17983
|
+
residence_situation?: string | undefined;
|
|
17984
|
+
months_in_residence?: number | undefined;
|
|
17985
|
+
naturalness?: string | undefined;
|
|
17986
|
+
pep_relationship?: string | undefined;
|
|
17987
|
+
entry_date?: string | undefined;
|
|
17988
|
+
doc_issuance_uf?: string | undefined;
|
|
17989
|
+
}[] | undefined;
|
|
17990
|
+
}>, {
|
|
17991
|
+
account_third_party: "nao_se_aplica" | "conjuge" | "pai_mae" | "filho_filha" | "parente" | "outro";
|
|
17992
|
+
energy_bill_upload: {
|
|
17993
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
17994
|
+
sizeBytes: number;
|
|
17995
|
+
url?: string | undefined;
|
|
17996
|
+
};
|
|
17997
|
+
document_front_upload: {
|
|
17998
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
17999
|
+
sizeBytes: number;
|
|
18000
|
+
url?: string | undefined;
|
|
18001
|
+
};
|
|
18002
|
+
document_back_upload: {
|
|
18003
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18004
|
+
sizeBytes: number;
|
|
18005
|
+
url?: string | undefined;
|
|
18006
|
+
};
|
|
18007
|
+
rd_re_insurance_toggle: boolean;
|
|
18008
|
+
financing_company: {
|
|
18009
|
+
number: string;
|
|
18010
|
+
cep: string;
|
|
18011
|
+
address: string;
|
|
18012
|
+
district: string;
|
|
18013
|
+
city: string;
|
|
18014
|
+
state: string;
|
|
18015
|
+
email: string;
|
|
18016
|
+
corporate_name: string;
|
|
18017
|
+
foundation_date: string;
|
|
18018
|
+
cnpj: string;
|
|
18019
|
+
phone: string;
|
|
18020
|
+
legal_nature: string;
|
|
18021
|
+
complement?: string | undefined;
|
|
18022
|
+
monthly_income?: number | undefined;
|
|
18023
|
+
economic_activity_group?: string | undefined;
|
|
18024
|
+
economic_activity?: string | undefined;
|
|
18025
|
+
residence_situation?: string | undefined;
|
|
18026
|
+
months_in_residence?: number | undefined;
|
|
18027
|
+
capital_social?: number | undefined;
|
|
18028
|
+
};
|
|
18029
|
+
bond_document_upload?: {
|
|
18030
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18031
|
+
sizeBytes: number;
|
|
18032
|
+
url?: string | undefined;
|
|
18033
|
+
} | undefined;
|
|
18034
|
+
financing_company_guarantor?: {
|
|
18035
|
+
number: string;
|
|
18036
|
+
nationality: string;
|
|
18037
|
+
name: string;
|
|
18038
|
+
cep: string;
|
|
18039
|
+
cpf: string;
|
|
18040
|
+
address: string;
|
|
18041
|
+
birth_date: string;
|
|
18042
|
+
sex: "masculino" | "feminino";
|
|
18043
|
+
mother_name: string;
|
|
18044
|
+
district: string;
|
|
18045
|
+
city: string;
|
|
18046
|
+
state: string;
|
|
18047
|
+
cellphone: string;
|
|
18048
|
+
email: string;
|
|
18049
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
18050
|
+
doc_issue_date?: string | undefined;
|
|
18051
|
+
complement?: string | undefined;
|
|
18052
|
+
monthly_income?: number | undefined;
|
|
18053
|
+
doc?: string | undefined;
|
|
18054
|
+
issuing_body?: string | undefined;
|
|
18055
|
+
phone?: string | undefined;
|
|
18056
|
+
office?: string | undefined;
|
|
18057
|
+
civil_status?: string | undefined;
|
|
18058
|
+
uf_issuing_body?: string | undefined;
|
|
18059
|
+
doc_expiration_date?: string | undefined;
|
|
18060
|
+
patrimony?: number | undefined;
|
|
18061
|
+
uf_naturalness?: string | undefined;
|
|
18062
|
+
residence_situation?: string | undefined;
|
|
18063
|
+
months_in_residence?: number | undefined;
|
|
18064
|
+
naturalness?: string | undefined;
|
|
18065
|
+
pep_relationship?: string | undefined;
|
|
18066
|
+
entry_date?: string | undefined;
|
|
18067
|
+
doc_issuance_uf?: string | undefined;
|
|
18068
|
+
}[] | undefined;
|
|
18069
|
+
financing_company_qsa?: {
|
|
18070
|
+
number: string;
|
|
18071
|
+
nationality: string;
|
|
18072
|
+
name: string;
|
|
18073
|
+
cep: string;
|
|
18074
|
+
cpf: string;
|
|
18075
|
+
address: string;
|
|
18076
|
+
birth_date: string;
|
|
18077
|
+
sex: "masculino" | "feminino";
|
|
18078
|
+
mother_name: string;
|
|
18079
|
+
district: string;
|
|
18080
|
+
city: string;
|
|
18081
|
+
state: string;
|
|
18082
|
+
cellphone: string;
|
|
18083
|
+
email: string;
|
|
18084
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
18085
|
+
doc_issue_date?: string | undefined;
|
|
18086
|
+
complement?: string | undefined;
|
|
18087
|
+
monthly_income?: number | undefined;
|
|
18088
|
+
doc?: string | undefined;
|
|
18089
|
+
issuing_body?: string | undefined;
|
|
18090
|
+
phone?: string | undefined;
|
|
18091
|
+
office?: string | undefined;
|
|
18092
|
+
civil_status?: string | undefined;
|
|
18093
|
+
uf_issuing_body?: string | undefined;
|
|
18094
|
+
doc_expiration_date?: string | undefined;
|
|
18095
|
+
patrimony?: number | undefined;
|
|
18096
|
+
uf_naturalness?: string | undefined;
|
|
18097
|
+
residence_situation?: string | undefined;
|
|
18098
|
+
months_in_residence?: number | undefined;
|
|
18099
|
+
naturalness?: string | undefined;
|
|
18100
|
+
pep_relationship?: string | undefined;
|
|
18101
|
+
entry_date?: string | undefined;
|
|
18102
|
+
doc_issuance_uf?: string | undefined;
|
|
18103
|
+
}[] | undefined;
|
|
18104
|
+
}, {
|
|
18105
|
+
account_third_party: "nao_se_aplica" | "conjuge" | "pai_mae" | "filho_filha" | "parente" | "outro";
|
|
18106
|
+
energy_bill_upload: {
|
|
18107
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18108
|
+
sizeBytes: number;
|
|
18109
|
+
url?: string | undefined;
|
|
18110
|
+
};
|
|
18111
|
+
document_front_upload: {
|
|
18112
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18113
|
+
sizeBytes: number;
|
|
18114
|
+
url?: string | undefined;
|
|
18115
|
+
};
|
|
18116
|
+
document_back_upload: {
|
|
18117
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18118
|
+
sizeBytes: number;
|
|
18119
|
+
url?: string | undefined;
|
|
18120
|
+
};
|
|
18121
|
+
financing_company: {
|
|
18122
|
+
number: string;
|
|
18123
|
+
cep: string;
|
|
18124
|
+
address: string;
|
|
18125
|
+
district: string;
|
|
18126
|
+
city: string;
|
|
18127
|
+
state: string;
|
|
18128
|
+
email: string;
|
|
18129
|
+
corporate_name: string;
|
|
18130
|
+
foundation_date: string;
|
|
18131
|
+
cnpj: string;
|
|
18132
|
+
phone: string;
|
|
18133
|
+
legal_nature: string;
|
|
18134
|
+
complement?: string | undefined;
|
|
18135
|
+
monthly_income?: number | undefined;
|
|
18136
|
+
economic_activity_group?: string | undefined;
|
|
18137
|
+
economic_activity?: string | undefined;
|
|
18138
|
+
residence_situation?: string | undefined;
|
|
18139
|
+
months_in_residence?: number | undefined;
|
|
18140
|
+
capital_social?: number | undefined;
|
|
18141
|
+
};
|
|
18142
|
+
bond_document_upload?: {
|
|
18143
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18144
|
+
sizeBytes: number;
|
|
18145
|
+
url?: string | undefined;
|
|
18146
|
+
} | undefined;
|
|
18147
|
+
rd_re_insurance_toggle?: boolean | undefined;
|
|
18148
|
+
financing_company_guarantor?: {
|
|
18149
|
+
number: string;
|
|
18150
|
+
nationality: string;
|
|
18151
|
+
name: string;
|
|
18152
|
+
cep: string;
|
|
18153
|
+
cpf: string;
|
|
18154
|
+
address: string;
|
|
18155
|
+
birth_date: string;
|
|
18156
|
+
sex: "masculino" | "feminino";
|
|
18157
|
+
mother_name: string;
|
|
18158
|
+
district: string;
|
|
18159
|
+
city: string;
|
|
18160
|
+
state: string;
|
|
18161
|
+
cellphone: string;
|
|
18162
|
+
email: string;
|
|
18163
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
18164
|
+
doc_issue_date?: string | undefined;
|
|
18165
|
+
complement?: string | undefined;
|
|
18166
|
+
monthly_income?: number | undefined;
|
|
18167
|
+
doc?: string | undefined;
|
|
18168
|
+
issuing_body?: string | undefined;
|
|
18169
|
+
phone?: string | undefined;
|
|
18170
|
+
office?: string | undefined;
|
|
18171
|
+
civil_status?: string | undefined;
|
|
18172
|
+
uf_issuing_body?: string | undefined;
|
|
18173
|
+
doc_expiration_date?: string | undefined;
|
|
18174
|
+
patrimony?: number | undefined;
|
|
18175
|
+
uf_naturalness?: string | undefined;
|
|
18176
|
+
residence_situation?: string | undefined;
|
|
18177
|
+
months_in_residence?: number | undefined;
|
|
18178
|
+
naturalness?: string | undefined;
|
|
18179
|
+
pep_relationship?: string | undefined;
|
|
18180
|
+
entry_date?: string | undefined;
|
|
18181
|
+
doc_issuance_uf?: string | undefined;
|
|
18182
|
+
}[] | undefined;
|
|
18183
|
+
financing_company_qsa?: {
|
|
18184
|
+
number: string;
|
|
18185
|
+
nationality: string;
|
|
18186
|
+
name: string;
|
|
18187
|
+
cep: string;
|
|
18188
|
+
cpf: string;
|
|
18189
|
+
address: string;
|
|
18190
|
+
birth_date: string;
|
|
18191
|
+
sex: "masculino" | "feminino";
|
|
18192
|
+
mother_name: string;
|
|
18193
|
+
district: string;
|
|
18194
|
+
city: string;
|
|
18195
|
+
state: string;
|
|
18196
|
+
cellphone: string;
|
|
18197
|
+
email: string;
|
|
18198
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
18199
|
+
doc_issue_date?: string | undefined;
|
|
18200
|
+
complement?: string | undefined;
|
|
18201
|
+
monthly_income?: number | undefined;
|
|
18202
|
+
doc?: string | undefined;
|
|
18203
|
+
issuing_body?: string | undefined;
|
|
18204
|
+
phone?: string | undefined;
|
|
18205
|
+
office?: string | undefined;
|
|
18206
|
+
civil_status?: string | undefined;
|
|
18207
|
+
uf_issuing_body?: string | undefined;
|
|
18208
|
+
doc_expiration_date?: string | undefined;
|
|
18209
|
+
patrimony?: number | undefined;
|
|
18210
|
+
uf_naturalness?: string | undefined;
|
|
18211
|
+
residence_situation?: string | undefined;
|
|
18212
|
+
months_in_residence?: number | undefined;
|
|
18213
|
+
naturalness?: string | undefined;
|
|
18214
|
+
pep_relationship?: string | undefined;
|
|
18215
|
+
entry_date?: string | undefined;
|
|
18216
|
+
doc_issuance_uf?: string | undefined;
|
|
18217
|
+
}[] | undefined;
|
|
18218
|
+
}> | zod.ZodEffects<zod.ZodObject<Omit<{
|
|
18219
|
+
name: zod.ZodString;
|
|
18220
|
+
cep: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
18221
|
+
cpf: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
18222
|
+
address: zod.ZodString;
|
|
18223
|
+
birth_date: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
18224
|
+
number: zod.ZodString;
|
|
18225
|
+
sex: zod.ZodEnum<["masculino", "feminino"]>;
|
|
18226
|
+
complement: zod.ZodOptional<zod.ZodString>;
|
|
18227
|
+
mother_name: zod.ZodString;
|
|
18228
|
+
district: zod.ZodString;
|
|
18229
|
+
energy_account_in_requester_name: zod.ZodString;
|
|
18230
|
+
city: zod.ZodString;
|
|
18231
|
+
energy_bill_owner_document: zod.ZodOptional<zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>>;
|
|
18232
|
+
state: zod.ZodString;
|
|
18233
|
+
nationality: zod.ZodString;
|
|
18234
|
+
cellphone: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
18235
|
+
email: zod.ZodEffects<zod.ZodString, string, string>;
|
|
18236
|
+
monthly_income: zod.ZodNumber;
|
|
18237
|
+
profession: zod.ZodString;
|
|
18238
|
+
type_doc: zod.ZodEnum<["rg", "cnh", "rne"]>;
|
|
18239
|
+
doc: zod.ZodString;
|
|
18240
|
+
issuing_body: zod.ZodString;
|
|
18241
|
+
doc_issue_date: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
18242
|
+
energy_bill_upload: zod.ZodObject<{
|
|
18243
|
+
url: zod.ZodOptional<zod.ZodString>;
|
|
18244
|
+
mime: zod.ZodEnum<["image/jpeg", "image/png", "application/pdf"]>;
|
|
18245
|
+
sizeBytes: zod.ZodNumber;
|
|
18246
|
+
}, "strip", ZodTypeAny, {
|
|
18247
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18248
|
+
sizeBytes: number;
|
|
18249
|
+
url?: string | undefined;
|
|
18250
|
+
}, {
|
|
18251
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18252
|
+
sizeBytes: number;
|
|
18253
|
+
url?: string | undefined;
|
|
18254
|
+
}>;
|
|
18255
|
+
account_third_party: zod.ZodEnum<["nao_se_aplica", "conjuge", "pai_mae", "filho_filha", "parente", "outro"]>;
|
|
18256
|
+
bond_document_upload: zod.ZodOptional<zod.ZodObject<{
|
|
18257
|
+
url: zod.ZodOptional<zod.ZodString>;
|
|
18258
|
+
mime: zod.ZodEnum<["image/jpeg", "image/png", "application/pdf"]>;
|
|
18259
|
+
sizeBytes: zod.ZodNumber;
|
|
18260
|
+
}, "strip", ZodTypeAny, {
|
|
18261
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18262
|
+
sizeBytes: number;
|
|
18263
|
+
url?: string | undefined;
|
|
18264
|
+
}, {
|
|
18265
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18266
|
+
sizeBytes: number;
|
|
18267
|
+
url?: string | undefined;
|
|
18268
|
+
}>>;
|
|
18269
|
+
document_front_upload: zod.ZodObject<{
|
|
18270
|
+
url: zod.ZodOptional<zod.ZodString>;
|
|
18271
|
+
mime: zod.ZodEnum<["image/jpeg", "image/png", "application/pdf"]>;
|
|
18272
|
+
sizeBytes: zod.ZodNumber;
|
|
18273
|
+
}, "strip", ZodTypeAny, {
|
|
18274
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18275
|
+
sizeBytes: number;
|
|
18276
|
+
url?: string | undefined;
|
|
18277
|
+
}, {
|
|
18278
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18279
|
+
sizeBytes: number;
|
|
18280
|
+
url?: string | undefined;
|
|
18281
|
+
}>;
|
|
18282
|
+
document_back_upload: zod.ZodObject<{
|
|
18283
|
+
url: zod.ZodOptional<zod.ZodString>;
|
|
18284
|
+
mime: zod.ZodEnum<["image/jpeg", "image/png", "application/pdf"]>;
|
|
18285
|
+
sizeBytes: zod.ZodNumber;
|
|
18286
|
+
}, "strip", ZodTypeAny, {
|
|
18287
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18288
|
+
sizeBytes: number;
|
|
18289
|
+
url?: string | undefined;
|
|
18290
|
+
}, {
|
|
18291
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18292
|
+
sizeBytes: number;
|
|
18293
|
+
url?: string | undefined;
|
|
18294
|
+
}>;
|
|
18295
|
+
rd_re_insurance_toggle: zod.ZodDefault<zod.ZodBoolean>;
|
|
18296
|
+
}, "doc_issue_date" | "sex" | "doc" | "issuing_body">, "strict", ZodTypeAny, {
|
|
18297
|
+
number: string;
|
|
18298
|
+
account_third_party: "nao_se_aplica" | "conjuge" | "pai_mae" | "filho_filha" | "parente" | "outro";
|
|
18299
|
+
type_doc: "rg" | "cnh" | "rne";
|
|
18300
|
+
nationality: string;
|
|
18301
|
+
name: string;
|
|
18302
|
+
cep: string;
|
|
18303
|
+
cpf: string;
|
|
18304
|
+
address: string;
|
|
18305
|
+
birth_date: string;
|
|
18306
|
+
mother_name: string;
|
|
18307
|
+
district: string;
|
|
18308
|
+
energy_account_in_requester_name: string;
|
|
18309
|
+
city: string;
|
|
18310
|
+
state: string;
|
|
18311
|
+
cellphone: string;
|
|
18312
|
+
email: string;
|
|
18313
|
+
monthly_income: number;
|
|
18314
|
+
profession: string;
|
|
18315
|
+
energy_bill_upload: {
|
|
18316
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18317
|
+
sizeBytes: number;
|
|
18318
|
+
url?: string | undefined;
|
|
18319
|
+
};
|
|
18320
|
+
document_front_upload: {
|
|
18321
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18322
|
+
sizeBytes: number;
|
|
18323
|
+
url?: string | undefined;
|
|
18324
|
+
};
|
|
18325
|
+
document_back_upload: {
|
|
18326
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18327
|
+
sizeBytes: number;
|
|
18328
|
+
url?: string | undefined;
|
|
18329
|
+
};
|
|
18330
|
+
rd_re_insurance_toggle: boolean;
|
|
18331
|
+
bond_document_upload?: {
|
|
18332
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18333
|
+
sizeBytes: number;
|
|
18334
|
+
url?: string | undefined;
|
|
18335
|
+
} | undefined;
|
|
18336
|
+
complement?: string | undefined;
|
|
18337
|
+
energy_bill_owner_document?: string | undefined;
|
|
18338
|
+
}, {
|
|
18339
|
+
number: string;
|
|
18340
|
+
account_third_party: "nao_se_aplica" | "conjuge" | "pai_mae" | "filho_filha" | "parente" | "outro";
|
|
18341
|
+
type_doc: "rg" | "cnh" | "rne";
|
|
18342
|
+
nationality: string;
|
|
18343
|
+
name: string;
|
|
18344
|
+
cep: string;
|
|
18345
|
+
cpf: string;
|
|
18346
|
+
address: string;
|
|
18347
|
+
birth_date: string;
|
|
18348
|
+
mother_name: string;
|
|
18349
|
+
district: string;
|
|
18350
|
+
energy_account_in_requester_name: string;
|
|
18351
|
+
city: string;
|
|
18352
|
+
state: string;
|
|
18353
|
+
cellphone: string;
|
|
18354
|
+
email: string;
|
|
18355
|
+
monthly_income: number;
|
|
18356
|
+
profession: string;
|
|
18357
|
+
energy_bill_upload: {
|
|
18358
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18359
|
+
sizeBytes: number;
|
|
18360
|
+
url?: string | undefined;
|
|
18361
|
+
};
|
|
18362
|
+
document_front_upload: {
|
|
18363
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18364
|
+
sizeBytes: number;
|
|
18365
|
+
url?: string | undefined;
|
|
18366
|
+
};
|
|
18367
|
+
document_back_upload: {
|
|
18368
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18369
|
+
sizeBytes: number;
|
|
18370
|
+
url?: string | undefined;
|
|
18371
|
+
};
|
|
18372
|
+
bond_document_upload?: {
|
|
18373
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18374
|
+
sizeBytes: number;
|
|
18375
|
+
url?: string | undefined;
|
|
18376
|
+
} | undefined;
|
|
18377
|
+
complement?: string | undefined;
|
|
18378
|
+
energy_bill_owner_document?: string | undefined;
|
|
18379
|
+
rd_re_insurance_toggle?: boolean | undefined;
|
|
18380
|
+
}>, {
|
|
18381
|
+
number: string;
|
|
18382
|
+
account_third_party: "nao_se_aplica" | "conjuge" | "pai_mae" | "filho_filha" | "parente" | "outro";
|
|
18383
|
+
type_doc: "rg" | "cnh" | "rne";
|
|
18384
|
+
nationality: string;
|
|
18385
|
+
name: string;
|
|
18386
|
+
cep: string;
|
|
18387
|
+
cpf: string;
|
|
18388
|
+
address: string;
|
|
18389
|
+
birth_date: string;
|
|
18390
|
+
mother_name: string;
|
|
18391
|
+
district: string;
|
|
18392
|
+
energy_account_in_requester_name: string;
|
|
18393
|
+
city: string;
|
|
18394
|
+
state: string;
|
|
18395
|
+
cellphone: string;
|
|
18396
|
+
email: string;
|
|
18397
|
+
monthly_income: number;
|
|
18398
|
+
profession: string;
|
|
18399
|
+
energy_bill_upload: {
|
|
18400
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18401
|
+
sizeBytes: number;
|
|
18402
|
+
url?: string | undefined;
|
|
18403
|
+
};
|
|
18404
|
+
document_front_upload: {
|
|
18405
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18406
|
+
sizeBytes: number;
|
|
18407
|
+
url?: string | undefined;
|
|
18408
|
+
};
|
|
18409
|
+
document_back_upload: {
|
|
18410
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18411
|
+
sizeBytes: number;
|
|
18412
|
+
url?: string | undefined;
|
|
18413
|
+
};
|
|
18414
|
+
rd_re_insurance_toggle: boolean;
|
|
18415
|
+
bond_document_upload?: {
|
|
18416
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18417
|
+
sizeBytes: number;
|
|
18418
|
+
url?: string | undefined;
|
|
18419
|
+
} | undefined;
|
|
18420
|
+
complement?: string | undefined;
|
|
18421
|
+
energy_bill_owner_document?: string | undefined;
|
|
18422
|
+
}, {
|
|
18423
|
+
number: string;
|
|
18424
|
+
account_third_party: "nao_se_aplica" | "conjuge" | "pai_mae" | "filho_filha" | "parente" | "outro";
|
|
18425
|
+
type_doc: "rg" | "cnh" | "rne";
|
|
18426
|
+
nationality: string;
|
|
18427
|
+
name: string;
|
|
18428
|
+
cep: string;
|
|
18429
|
+
cpf: string;
|
|
18430
|
+
address: string;
|
|
18431
|
+
birth_date: string;
|
|
18432
|
+
mother_name: string;
|
|
18433
|
+
district: string;
|
|
18434
|
+
energy_account_in_requester_name: string;
|
|
18435
|
+
city: string;
|
|
18436
|
+
state: string;
|
|
18437
|
+
cellphone: string;
|
|
18438
|
+
email: string;
|
|
18439
|
+
monthly_income: number;
|
|
18440
|
+
profession: string;
|
|
18441
|
+
energy_bill_upload: {
|
|
18442
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18443
|
+
sizeBytes: number;
|
|
18444
|
+
url?: string | undefined;
|
|
18445
|
+
};
|
|
18446
|
+
document_front_upload: {
|
|
18447
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18448
|
+
sizeBytes: number;
|
|
18449
|
+
url?: string | undefined;
|
|
18450
|
+
};
|
|
18451
|
+
document_back_upload: {
|
|
18452
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18453
|
+
sizeBytes: number;
|
|
18454
|
+
url?: string | undefined;
|
|
18455
|
+
};
|
|
18456
|
+
bond_document_upload?: {
|
|
18457
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18458
|
+
sizeBytes: number;
|
|
18459
|
+
url?: string | undefined;
|
|
18460
|
+
} | undefined;
|
|
18461
|
+
complement?: string | undefined;
|
|
18462
|
+
energy_bill_owner_document?: string | undefined;
|
|
18463
|
+
rd_re_insurance_toggle?: boolean | undefined;
|
|
18464
|
+
}>;
|
|
18465
|
+
declare function getFormalizationBaseSchema(bank: BankSlug | UnifiedSlug, person: PersonType, options?: FormalizationSchemaOptions): zod.ZodObject<{
|
|
18466
|
+
financing_company: zod.ZodObject<{
|
|
18467
|
+
corporate_name: zod.ZodString;
|
|
18468
|
+
cep: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
18469
|
+
address: zod.ZodString;
|
|
18470
|
+
foundation_date: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
18471
|
+
number: zod.ZodString;
|
|
18472
|
+
cnpj: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
18473
|
+
email: zod.ZodEffects<zod.ZodString, string, string>;
|
|
18474
|
+
complement: zod.ZodOptional<zod.ZodString>;
|
|
18475
|
+
phone: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
18476
|
+
district: zod.ZodString;
|
|
18477
|
+
legal_nature: zod.ZodString;
|
|
18478
|
+
city: zod.ZodString;
|
|
18479
|
+
economic_activity_group: zod.ZodString;
|
|
18480
|
+
state: zod.ZodString;
|
|
18481
|
+
economic_activity: zod.ZodString;
|
|
18482
|
+
monthly_income: zod.ZodNumber;
|
|
18483
|
+
}, "strict", ZodTypeAny, {
|
|
18484
|
+
number: string;
|
|
18485
|
+
cep: string;
|
|
18486
|
+
address: string;
|
|
18487
|
+
district: string;
|
|
18488
|
+
city: string;
|
|
18489
|
+
state: string;
|
|
18490
|
+
email: string;
|
|
18491
|
+
monthly_income: number;
|
|
18492
|
+
corporate_name: string;
|
|
18493
|
+
foundation_date: string;
|
|
18494
|
+
cnpj: string;
|
|
18495
|
+
phone: string;
|
|
18496
|
+
legal_nature: string;
|
|
18497
|
+
economic_activity_group: string;
|
|
18498
|
+
economic_activity: string;
|
|
18499
|
+
complement?: string | undefined;
|
|
18500
|
+
}, {
|
|
18501
|
+
number: string;
|
|
18502
|
+
cep: string;
|
|
18503
|
+
address: string;
|
|
18504
|
+
district: string;
|
|
18505
|
+
city: string;
|
|
18506
|
+
state: string;
|
|
18507
|
+
email: string;
|
|
18508
|
+
monthly_income: number;
|
|
18509
|
+
corporate_name: string;
|
|
18510
|
+
foundation_date: string;
|
|
18511
|
+
cnpj: string;
|
|
18512
|
+
phone: string;
|
|
18513
|
+
legal_nature: string;
|
|
18514
|
+
economic_activity_group: string;
|
|
18515
|
+
economic_activity: string;
|
|
18516
|
+
complement?: string | undefined;
|
|
18517
|
+
}>;
|
|
18518
|
+
financing_company_guarantor: zod.ZodArray<zod.ZodObject<{
|
|
18519
|
+
name: zod.ZodString;
|
|
18520
|
+
cep: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
18521
|
+
cpf: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
18522
|
+
address: zod.ZodString;
|
|
18523
|
+
birth_date: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
18524
|
+
number: zod.ZodString;
|
|
18525
|
+
complement: zod.ZodOptional<zod.ZodString>;
|
|
18526
|
+
cellphone: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
18527
|
+
email: zod.ZodEffects<zod.ZodString, string, string>;
|
|
18528
|
+
district: zod.ZodString;
|
|
18529
|
+
sex: zod.ZodEnum<["masculino", "feminino"]>;
|
|
18530
|
+
city: zod.ZodString;
|
|
18531
|
+
state: zod.ZodString;
|
|
18532
|
+
office: zod.ZodString;
|
|
18533
|
+
mother_name: zod.ZodString;
|
|
18534
|
+
nationality: zod.ZodString;
|
|
18535
|
+
}, "strict", ZodTypeAny, {
|
|
18536
|
+
number: string;
|
|
18537
|
+
nationality: string;
|
|
18538
|
+
name: string;
|
|
18539
|
+
cep: string;
|
|
18540
|
+
cpf: string;
|
|
18541
|
+
address: string;
|
|
18542
|
+
birth_date: string;
|
|
18543
|
+
sex: "masculino" | "feminino";
|
|
18544
|
+
mother_name: string;
|
|
18545
|
+
district: string;
|
|
18546
|
+
city: string;
|
|
18547
|
+
state: string;
|
|
18548
|
+
cellphone: string;
|
|
18549
|
+
email: string;
|
|
18550
|
+
office: string;
|
|
18551
|
+
complement?: string | undefined;
|
|
18552
|
+
}, {
|
|
18553
|
+
number: string;
|
|
18554
|
+
nationality: string;
|
|
18555
|
+
name: string;
|
|
18556
|
+
cep: string;
|
|
18557
|
+
cpf: string;
|
|
18558
|
+
address: string;
|
|
18559
|
+
birth_date: string;
|
|
18560
|
+
sex: "masculino" | "feminino";
|
|
18561
|
+
mother_name: string;
|
|
18562
|
+
district: string;
|
|
18563
|
+
city: string;
|
|
18564
|
+
state: string;
|
|
18565
|
+
cellphone: string;
|
|
18566
|
+
email: string;
|
|
18567
|
+
office: string;
|
|
18568
|
+
complement?: string | undefined;
|
|
18569
|
+
}>, "many">;
|
|
18570
|
+
energy_bill_upload: zod.ZodObject<{
|
|
18571
|
+
url: zod.ZodOptional<zod.ZodString>;
|
|
18572
|
+
mime: zod.ZodEnum<["image/jpeg", "image/png", "application/pdf"]>;
|
|
18573
|
+
sizeBytes: zod.ZodNumber;
|
|
18574
|
+
}, "strip", ZodTypeAny, {
|
|
18575
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
17591
18576
|
sizeBytes: number;
|
|
17592
18577
|
url?: string | undefined;
|
|
17593
|
-
}
|
|
17594
|
-
|
|
17595
|
-
|
|
17596
|
-
|
|
17597
|
-
}
|
|
17598
|
-
|
|
18578
|
+
}, {
|
|
18579
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18580
|
+
sizeBytes: number;
|
|
18581
|
+
url?: string | undefined;
|
|
18582
|
+
}>;
|
|
18583
|
+
account_third_party: zod.ZodEnum<["nao_se_aplica", "conjuge", "pai_mae", "filho_filha", "parente", "outro"]>;
|
|
18584
|
+
bond_document_upload: zod.ZodOptional<zod.ZodObject<{
|
|
18585
|
+
url: zod.ZodOptional<zod.ZodString>;
|
|
18586
|
+
mime: zod.ZodEnum<["image/jpeg", "image/png", "application/pdf"]>;
|
|
18587
|
+
sizeBytes: zod.ZodNumber;
|
|
18588
|
+
}, "strip", ZodTypeAny, {
|
|
18589
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18590
|
+
sizeBytes: number;
|
|
18591
|
+
url?: string | undefined;
|
|
18592
|
+
}, {
|
|
18593
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18594
|
+
sizeBytes: number;
|
|
18595
|
+
url?: string | undefined;
|
|
18596
|
+
}>>;
|
|
18597
|
+
document_front_upload: zod.ZodObject<{
|
|
18598
|
+
url: zod.ZodOptional<zod.ZodString>;
|
|
18599
|
+
mime: zod.ZodEnum<["image/jpeg", "image/png", "application/pdf"]>;
|
|
18600
|
+
sizeBytes: zod.ZodNumber;
|
|
18601
|
+
}, "strip", ZodTypeAny, {
|
|
18602
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18603
|
+
sizeBytes: number;
|
|
18604
|
+
url?: string | undefined;
|
|
18605
|
+
}, {
|
|
18606
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18607
|
+
sizeBytes: number;
|
|
18608
|
+
url?: string | undefined;
|
|
18609
|
+
}>;
|
|
18610
|
+
document_back_upload: zod.ZodObject<{
|
|
18611
|
+
url: zod.ZodOptional<zod.ZodString>;
|
|
18612
|
+
mime: zod.ZodEnum<["image/jpeg", "image/png", "application/pdf"]>;
|
|
18613
|
+
sizeBytes: zod.ZodNumber;
|
|
18614
|
+
}, "strip", ZodTypeAny, {
|
|
18615
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18616
|
+
sizeBytes: number;
|
|
18617
|
+
url?: string | undefined;
|
|
18618
|
+
}, {
|
|
18619
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
18620
|
+
sizeBytes: number;
|
|
18621
|
+
url?: string | undefined;
|
|
18622
|
+
}>;
|
|
18623
|
+
rd_re_insurance_toggle: zod.ZodDefault<zod.ZodBoolean>;
|
|
18624
|
+
}, "strip", ZodTypeAny, {
|
|
17599
18625
|
account_third_party: "nao_se_aplica" | "conjuge" | "pai_mae" | "filho_filha" | "parente" | "outro";
|
|
17600
|
-
type_doc: "rg" | "cnh" | "rne";
|
|
17601
|
-
nationality: string;
|
|
17602
|
-
name: string;
|
|
17603
|
-
cep: string;
|
|
17604
|
-
cpf: string;
|
|
17605
|
-
address: string;
|
|
17606
|
-
birth_date: string;
|
|
17607
|
-
mother_name: string;
|
|
17608
|
-
district: string;
|
|
17609
|
-
energy_account_in_requester_name: string;
|
|
17610
|
-
city: string;
|
|
17611
|
-
state: string;
|
|
17612
|
-
cellphone: string;
|
|
17613
|
-
email: string;
|
|
17614
|
-
monthly_income: number;
|
|
17615
|
-
profession: string;
|
|
17616
18626
|
energy_bill_upload: {
|
|
17617
18627
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
17618
18628
|
sizeBytes: number;
|
|
@@ -17629,32 +18639,49 @@ declare function getFormalizationSchema(bank: BankSlug, person: PersonType, opti
|
|
|
17629
18639
|
url?: string | undefined;
|
|
17630
18640
|
};
|
|
17631
18641
|
rd_re_insurance_toggle: boolean;
|
|
18642
|
+
financing_company: {
|
|
18643
|
+
number: string;
|
|
18644
|
+
cep: string;
|
|
18645
|
+
address: string;
|
|
18646
|
+
district: string;
|
|
18647
|
+
city: string;
|
|
18648
|
+
state: string;
|
|
18649
|
+
email: string;
|
|
18650
|
+
monthly_income: number;
|
|
18651
|
+
corporate_name: string;
|
|
18652
|
+
foundation_date: string;
|
|
18653
|
+
cnpj: string;
|
|
18654
|
+
phone: string;
|
|
18655
|
+
legal_nature: string;
|
|
18656
|
+
economic_activity_group: string;
|
|
18657
|
+
economic_activity: string;
|
|
18658
|
+
complement?: string | undefined;
|
|
18659
|
+
};
|
|
18660
|
+
financing_company_guarantor: {
|
|
18661
|
+
number: string;
|
|
18662
|
+
nationality: string;
|
|
18663
|
+
name: string;
|
|
18664
|
+
cep: string;
|
|
18665
|
+
cpf: string;
|
|
18666
|
+
address: string;
|
|
18667
|
+
birth_date: string;
|
|
18668
|
+
sex: "masculino" | "feminino";
|
|
18669
|
+
mother_name: string;
|
|
18670
|
+
district: string;
|
|
18671
|
+
city: string;
|
|
18672
|
+
state: string;
|
|
18673
|
+
cellphone: string;
|
|
18674
|
+
email: string;
|
|
18675
|
+
office: string;
|
|
18676
|
+
complement?: string | undefined;
|
|
18677
|
+
}[];
|
|
17632
18678
|
bond_document_upload?: {
|
|
17633
18679
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
17634
18680
|
sizeBytes: number;
|
|
17635
18681
|
url?: string | undefined;
|
|
17636
18682
|
} | undefined;
|
|
17637
|
-
complement?: string | undefined;
|
|
17638
|
-
energy_bill_owner_document?: string | undefined;
|
|
17639
18683
|
}, {
|
|
17640
|
-
number: string;
|
|
17641
18684
|
account_third_party: "nao_se_aplica" | "conjuge" | "pai_mae" | "filho_filha" | "parente" | "outro";
|
|
17642
|
-
type_doc: "rg" | "cnh" | "rne";
|
|
17643
|
-
nationality: string;
|
|
17644
|
-
name: string;
|
|
17645
|
-
cep: string;
|
|
17646
|
-
cpf: string;
|
|
17647
|
-
address: string;
|
|
17648
|
-
birth_date: string;
|
|
17649
|
-
mother_name: string;
|
|
17650
|
-
district: string;
|
|
17651
|
-
energy_account_in_requester_name: string;
|
|
17652
|
-
city: string;
|
|
17653
|
-
state: string;
|
|
17654
|
-
cellphone: string;
|
|
17655
|
-
email: string;
|
|
17656
|
-
monthly_income: number;
|
|
17657
|
-
profession: string;
|
|
17658
18685
|
energy_bill_upload: {
|
|
17659
18686
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
17660
18687
|
sizeBytes: number;
|
|
@@ -17670,16 +18697,49 @@ declare function getFormalizationSchema(bank: BankSlug, person: PersonType, opti
|
|
|
17670
18697
|
sizeBytes: number;
|
|
17671
18698
|
url?: string | undefined;
|
|
17672
18699
|
};
|
|
18700
|
+
financing_company: {
|
|
18701
|
+
number: string;
|
|
18702
|
+
cep: string;
|
|
18703
|
+
address: string;
|
|
18704
|
+
district: string;
|
|
18705
|
+
city: string;
|
|
18706
|
+
state: string;
|
|
18707
|
+
email: string;
|
|
18708
|
+
monthly_income: number;
|
|
18709
|
+
corporate_name: string;
|
|
18710
|
+
foundation_date: string;
|
|
18711
|
+
cnpj: string;
|
|
18712
|
+
phone: string;
|
|
18713
|
+
legal_nature: string;
|
|
18714
|
+
economic_activity_group: string;
|
|
18715
|
+
economic_activity: string;
|
|
18716
|
+
complement?: string | undefined;
|
|
18717
|
+
};
|
|
18718
|
+
financing_company_guarantor: {
|
|
18719
|
+
number: string;
|
|
18720
|
+
nationality: string;
|
|
18721
|
+
name: string;
|
|
18722
|
+
cep: string;
|
|
18723
|
+
cpf: string;
|
|
18724
|
+
address: string;
|
|
18725
|
+
birth_date: string;
|
|
18726
|
+
sex: "masculino" | "feminino";
|
|
18727
|
+
mother_name: string;
|
|
18728
|
+
district: string;
|
|
18729
|
+
city: string;
|
|
18730
|
+
state: string;
|
|
18731
|
+
cellphone: string;
|
|
18732
|
+
email: string;
|
|
18733
|
+
office: string;
|
|
18734
|
+
complement?: string | undefined;
|
|
18735
|
+
}[];
|
|
17673
18736
|
bond_document_upload?: {
|
|
17674
18737
|
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
17675
18738
|
sizeBytes: number;
|
|
17676
18739
|
url?: string | undefined;
|
|
17677
18740
|
} | undefined;
|
|
17678
|
-
complement?: string | undefined;
|
|
17679
|
-
energy_bill_owner_document?: string | undefined;
|
|
17680
18741
|
rd_re_insurance_toggle?: boolean | undefined;
|
|
17681
|
-
}
|
|
17682
|
-
declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType, options?: FormalizationSchemaOptions): zod.ZodObject<{
|
|
18742
|
+
}> | zod.ZodObject<{
|
|
17683
18743
|
financing_company: zod.ZodObject<{
|
|
17684
18744
|
corporate_name: zod.ZodString;
|
|
17685
18745
|
cep: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
@@ -17732,25 +18792,36 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
17732
18792
|
economic_activity: string;
|
|
17733
18793
|
complement?: string | undefined;
|
|
17734
18794
|
}>;
|
|
17735
|
-
|
|
17736
|
-
name: zod.ZodString;
|
|
18795
|
+
financing_company_qsa: zod.ZodArray<zod.ZodObject<{
|
|
17737
18796
|
cep: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
17738
|
-
|
|
18797
|
+
name: zod.ZodString;
|
|
17739
18798
|
address: zod.ZodString;
|
|
17740
|
-
|
|
18799
|
+
cpf: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
17741
18800
|
number: zod.ZodString;
|
|
18801
|
+
entry_date: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
17742
18802
|
complement: zod.ZodOptional<zod.ZodString>;
|
|
17743
|
-
|
|
17744
|
-
email: zod.ZodEffects<zod.ZodString, string, string>;
|
|
18803
|
+
phone: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
17745
18804
|
district: zod.ZodString;
|
|
17746
|
-
|
|
18805
|
+
cellphone: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
17747
18806
|
city: zod.ZodString;
|
|
18807
|
+
email: zod.ZodEffects<zod.ZodString, string, string>;
|
|
17748
18808
|
state: zod.ZodString;
|
|
17749
|
-
|
|
18809
|
+
birth_date: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
18810
|
+
civil_status: zod.ZodString;
|
|
18811
|
+
sex: zod.ZodEnum<["masculino", "feminino"]>;
|
|
18812
|
+
type_doc: zod.ZodEnum<["rg", "cnh", "rne"]>;
|
|
18813
|
+
doc: zod.ZodString;
|
|
18814
|
+
doc_issuance_uf: zod.ZodString;
|
|
18815
|
+
doc_issue_date: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
18816
|
+
doc_expiration_date: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
17750
18817
|
mother_name: zod.ZodString;
|
|
18818
|
+
naturalness: zod.ZodString;
|
|
18819
|
+
uf_naturalness: zod.ZodString;
|
|
17751
18820
|
nationality: zod.ZodString;
|
|
17752
18821
|
}, "strict", ZodTypeAny, {
|
|
17753
18822
|
number: string;
|
|
18823
|
+
type_doc: "rg" | "cnh" | "rne";
|
|
18824
|
+
doc_issue_date: string;
|
|
17754
18825
|
nationality: string;
|
|
17755
18826
|
name: string;
|
|
17756
18827
|
cep: string;
|
|
@@ -17764,10 +18835,19 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
17764
18835
|
state: string;
|
|
17765
18836
|
cellphone: string;
|
|
17766
18837
|
email: string;
|
|
17767
|
-
|
|
18838
|
+
doc: string;
|
|
18839
|
+
phone: string;
|
|
18840
|
+
civil_status: string;
|
|
18841
|
+
doc_expiration_date: string;
|
|
18842
|
+
uf_naturalness: string;
|
|
18843
|
+
naturalness: string;
|
|
18844
|
+
entry_date: string;
|
|
18845
|
+
doc_issuance_uf: string;
|
|
17768
18846
|
complement?: string | undefined;
|
|
17769
18847
|
}, {
|
|
17770
18848
|
number: string;
|
|
18849
|
+
type_doc: "rg" | "cnh" | "rne";
|
|
18850
|
+
doc_issue_date: string;
|
|
17771
18851
|
nationality: string;
|
|
17772
18852
|
name: string;
|
|
17773
18853
|
cep: string;
|
|
@@ -17781,7 +18861,14 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
17781
18861
|
state: string;
|
|
17782
18862
|
cellphone: string;
|
|
17783
18863
|
email: string;
|
|
17784
|
-
|
|
18864
|
+
doc: string;
|
|
18865
|
+
phone: string;
|
|
18866
|
+
civil_status: string;
|
|
18867
|
+
doc_expiration_date: string;
|
|
18868
|
+
uf_naturalness: string;
|
|
18869
|
+
naturalness: string;
|
|
18870
|
+
entry_date: string;
|
|
18871
|
+
doc_issuance_uf: string;
|
|
17785
18872
|
complement?: string | undefined;
|
|
17786
18873
|
}>, "many">;
|
|
17787
18874
|
energy_bill_upload: zod.ZodObject<{
|
|
@@ -17874,8 +18961,10 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
17874
18961
|
economic_activity: string;
|
|
17875
18962
|
complement?: string | undefined;
|
|
17876
18963
|
};
|
|
17877
|
-
|
|
18964
|
+
financing_company_qsa: {
|
|
17878
18965
|
number: string;
|
|
18966
|
+
type_doc: "rg" | "cnh" | "rne";
|
|
18967
|
+
doc_issue_date: string;
|
|
17879
18968
|
nationality: string;
|
|
17880
18969
|
name: string;
|
|
17881
18970
|
cep: string;
|
|
@@ -17889,7 +18978,14 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
17889
18978
|
state: string;
|
|
17890
18979
|
cellphone: string;
|
|
17891
18980
|
email: string;
|
|
17892
|
-
|
|
18981
|
+
doc: string;
|
|
18982
|
+
phone: string;
|
|
18983
|
+
civil_status: string;
|
|
18984
|
+
doc_expiration_date: string;
|
|
18985
|
+
uf_naturalness: string;
|
|
18986
|
+
naturalness: string;
|
|
18987
|
+
entry_date: string;
|
|
18988
|
+
doc_issuance_uf: string;
|
|
17893
18989
|
complement?: string | undefined;
|
|
17894
18990
|
}[];
|
|
17895
18991
|
bond_document_upload?: {
|
|
@@ -17932,8 +19028,10 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
17932
19028
|
economic_activity: string;
|
|
17933
19029
|
complement?: string | undefined;
|
|
17934
19030
|
};
|
|
17935
|
-
|
|
19031
|
+
financing_company_qsa: {
|
|
17936
19032
|
number: string;
|
|
19033
|
+
type_doc: "rg" | "cnh" | "rne";
|
|
19034
|
+
doc_issue_date: string;
|
|
17937
19035
|
nationality: string;
|
|
17938
19036
|
name: string;
|
|
17939
19037
|
cep: string;
|
|
@@ -17947,7 +19045,14 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
17947
19045
|
state: string;
|
|
17948
19046
|
cellphone: string;
|
|
17949
19047
|
email: string;
|
|
17950
|
-
|
|
19048
|
+
doc: string;
|
|
19049
|
+
phone: string;
|
|
19050
|
+
civil_status: string;
|
|
19051
|
+
doc_expiration_date: string;
|
|
19052
|
+
uf_naturalness: string;
|
|
19053
|
+
naturalness: string;
|
|
19054
|
+
entry_date: string;
|
|
19055
|
+
doc_issuance_uf: string;
|
|
17951
19056
|
complement?: string | undefined;
|
|
17952
19057
|
}[];
|
|
17953
19058
|
bond_document_upload?: {
|
|
@@ -17970,10 +19075,7 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
17970
19075
|
district: zod.ZodString;
|
|
17971
19076
|
legal_nature: zod.ZodString;
|
|
17972
19077
|
city: zod.ZodString;
|
|
17973
|
-
economic_activity_group: zod.ZodString;
|
|
17974
19078
|
state: zod.ZodString;
|
|
17975
|
-
economic_activity: zod.ZodString;
|
|
17976
|
-
monthly_income: zod.ZodNumber;
|
|
17977
19079
|
}, "strict", ZodTypeAny, {
|
|
17978
19080
|
number: string;
|
|
17979
19081
|
cep: string;
|
|
@@ -17982,14 +19084,11 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
17982
19084
|
city: string;
|
|
17983
19085
|
state: string;
|
|
17984
19086
|
email: string;
|
|
17985
|
-
monthly_income: number;
|
|
17986
19087
|
corporate_name: string;
|
|
17987
19088
|
foundation_date: string;
|
|
17988
19089
|
cnpj: string;
|
|
17989
19090
|
phone: string;
|
|
17990
19091
|
legal_nature: string;
|
|
17991
|
-
economic_activity_group: string;
|
|
17992
|
-
economic_activity: string;
|
|
17993
19092
|
complement?: string | undefined;
|
|
17994
19093
|
}, {
|
|
17995
19094
|
number: string;
|
|
@@ -17999,45 +19098,40 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
17999
19098
|
city: string;
|
|
18000
19099
|
state: string;
|
|
18001
19100
|
email: string;
|
|
18002
|
-
monthly_income: number;
|
|
18003
19101
|
corporate_name: string;
|
|
18004
19102
|
foundation_date: string;
|
|
18005
19103
|
cnpj: string;
|
|
18006
19104
|
phone: string;
|
|
18007
19105
|
legal_nature: string;
|
|
18008
|
-
economic_activity_group: string;
|
|
18009
|
-
economic_activity: string;
|
|
18010
19106
|
complement?: string | undefined;
|
|
18011
19107
|
}>;
|
|
18012
|
-
|
|
18013
|
-
cep: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
19108
|
+
financing_company_guarantor: zod.ZodArray<zod.ZodObject<{
|
|
18014
19109
|
name: zod.ZodString;
|
|
18015
|
-
|
|
19110
|
+
cep: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
18016
19111
|
cpf: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
19112
|
+
address: zod.ZodString;
|
|
19113
|
+
birth_date: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
18017
19114
|
number: zod.ZodString;
|
|
18018
|
-
entry_date: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
18019
19115
|
complement: zod.ZodOptional<zod.ZodString>;
|
|
19116
|
+
cellphone: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
18020
19117
|
phone: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
19118
|
+
email: zod.ZodEffects<zod.ZodString, string, string>;
|
|
18021
19119
|
district: zod.ZodString;
|
|
18022
|
-
|
|
19120
|
+
sex: zod.ZodEnum<["masculino", "feminino"]>;
|
|
18023
19121
|
city: zod.ZodString;
|
|
18024
|
-
email: zod.ZodEffects<zod.ZodString, string, string>;
|
|
18025
19122
|
state: zod.ZodString;
|
|
18026
|
-
birth_date: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
18027
19123
|
civil_status: zod.ZodString;
|
|
18028
|
-
|
|
18029
|
-
type_doc: zod.ZodEnum<["rg", "cnh", "rne"]>;
|
|
19124
|
+
office: zod.ZodString;
|
|
18030
19125
|
doc: zod.ZodString;
|
|
18031
|
-
|
|
19126
|
+
issuing_body: zod.ZodString;
|
|
19127
|
+
uf_issuing_body: zod.ZodString;
|
|
18032
19128
|
doc_issue_date: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
18033
|
-
doc_expiration_date: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
18034
19129
|
mother_name: zod.ZodString;
|
|
18035
|
-
|
|
18036
|
-
|
|
19130
|
+
monthly_income: zod.ZodNumber;
|
|
19131
|
+
patrimony: zod.ZodNumber;
|
|
18037
19132
|
nationality: zod.ZodString;
|
|
18038
19133
|
}, "strict", ZodTypeAny, {
|
|
18039
19134
|
number: string;
|
|
18040
|
-
type_doc: "rg" | "cnh" | "rne";
|
|
18041
19135
|
doc_issue_date: string;
|
|
18042
19136
|
nationality: string;
|
|
18043
19137
|
name: string;
|
|
@@ -18052,18 +19146,17 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
18052
19146
|
state: string;
|
|
18053
19147
|
cellphone: string;
|
|
18054
19148
|
email: string;
|
|
19149
|
+
monthly_income: number;
|
|
18055
19150
|
doc: string;
|
|
19151
|
+
issuing_body: string;
|
|
18056
19152
|
phone: string;
|
|
19153
|
+
office: string;
|
|
18057
19154
|
civil_status: string;
|
|
18058
|
-
|
|
18059
|
-
|
|
18060
|
-
naturalness: string;
|
|
18061
|
-
entry_date: string;
|
|
18062
|
-
doc_issuance_uf: string;
|
|
19155
|
+
uf_issuing_body: string;
|
|
19156
|
+
patrimony: number;
|
|
18063
19157
|
complement?: string | undefined;
|
|
18064
19158
|
}, {
|
|
18065
19159
|
number: string;
|
|
18066
|
-
type_doc: "rg" | "cnh" | "rne";
|
|
18067
19160
|
doc_issue_date: string;
|
|
18068
19161
|
nationality: string;
|
|
18069
19162
|
name: string;
|
|
@@ -18078,14 +19171,14 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
18078
19171
|
state: string;
|
|
18079
19172
|
cellphone: string;
|
|
18080
19173
|
email: string;
|
|
19174
|
+
monthly_income: number;
|
|
18081
19175
|
doc: string;
|
|
19176
|
+
issuing_body: string;
|
|
18082
19177
|
phone: string;
|
|
19178
|
+
office: string;
|
|
18083
19179
|
civil_status: string;
|
|
18084
|
-
|
|
18085
|
-
|
|
18086
|
-
naturalness: string;
|
|
18087
|
-
entry_date: string;
|
|
18088
|
-
doc_issuance_uf: string;
|
|
19180
|
+
uf_issuing_body: string;
|
|
19181
|
+
patrimony: number;
|
|
18089
19182
|
complement?: string | undefined;
|
|
18090
19183
|
}>, "many">;
|
|
18091
19184
|
energy_bill_upload: zod.ZodObject<{
|
|
@@ -18168,19 +19261,15 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
18168
19261
|
city: string;
|
|
18169
19262
|
state: string;
|
|
18170
19263
|
email: string;
|
|
18171
|
-
monthly_income: number;
|
|
18172
19264
|
corporate_name: string;
|
|
18173
19265
|
foundation_date: string;
|
|
18174
19266
|
cnpj: string;
|
|
18175
19267
|
phone: string;
|
|
18176
19268
|
legal_nature: string;
|
|
18177
|
-
economic_activity_group: string;
|
|
18178
|
-
economic_activity: string;
|
|
18179
19269
|
complement?: string | undefined;
|
|
18180
19270
|
};
|
|
18181
|
-
|
|
19271
|
+
financing_company_guarantor: {
|
|
18182
19272
|
number: string;
|
|
18183
|
-
type_doc: "rg" | "cnh" | "rne";
|
|
18184
19273
|
doc_issue_date: string;
|
|
18185
19274
|
nationality: string;
|
|
18186
19275
|
name: string;
|
|
@@ -18195,14 +19284,14 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
18195
19284
|
state: string;
|
|
18196
19285
|
cellphone: string;
|
|
18197
19286
|
email: string;
|
|
19287
|
+
monthly_income: number;
|
|
18198
19288
|
doc: string;
|
|
19289
|
+
issuing_body: string;
|
|
18199
19290
|
phone: string;
|
|
19291
|
+
office: string;
|
|
18200
19292
|
civil_status: string;
|
|
18201
|
-
|
|
18202
|
-
|
|
18203
|
-
naturalness: string;
|
|
18204
|
-
entry_date: string;
|
|
18205
|
-
doc_issuance_uf: string;
|
|
19293
|
+
uf_issuing_body: string;
|
|
19294
|
+
patrimony: number;
|
|
18206
19295
|
complement?: string | undefined;
|
|
18207
19296
|
}[];
|
|
18208
19297
|
bond_document_upload?: {
|
|
@@ -18235,19 +19324,15 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
18235
19324
|
city: string;
|
|
18236
19325
|
state: string;
|
|
18237
19326
|
email: string;
|
|
18238
|
-
monthly_income: number;
|
|
18239
19327
|
corporate_name: string;
|
|
18240
19328
|
foundation_date: string;
|
|
18241
19329
|
cnpj: string;
|
|
18242
19330
|
phone: string;
|
|
18243
19331
|
legal_nature: string;
|
|
18244
|
-
economic_activity_group: string;
|
|
18245
|
-
economic_activity: string;
|
|
18246
19332
|
complement?: string | undefined;
|
|
18247
19333
|
};
|
|
18248
|
-
|
|
19334
|
+
financing_company_guarantor: {
|
|
18249
19335
|
number: string;
|
|
18250
|
-
type_doc: "rg" | "cnh" | "rne";
|
|
18251
19336
|
doc_issue_date: string;
|
|
18252
19337
|
nationality: string;
|
|
18253
19338
|
name: string;
|
|
@@ -18262,14 +19347,14 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
18262
19347
|
state: string;
|
|
18263
19348
|
cellphone: string;
|
|
18264
19349
|
email: string;
|
|
19350
|
+
monthly_income: number;
|
|
18265
19351
|
doc: string;
|
|
19352
|
+
issuing_body: string;
|
|
18266
19353
|
phone: string;
|
|
19354
|
+
office: string;
|
|
18267
19355
|
civil_status: string;
|
|
18268
|
-
|
|
18269
|
-
|
|
18270
|
-
naturalness: string;
|
|
18271
|
-
entry_date: string;
|
|
18272
|
-
doc_issuance_uf: string;
|
|
19356
|
+
uf_issuing_body: string;
|
|
19357
|
+
patrimony: number;
|
|
18273
19358
|
complement?: string | undefined;
|
|
18274
19359
|
}[];
|
|
18275
19360
|
bond_document_upload?: {
|
|
@@ -18281,11 +19366,10 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
18281
19366
|
}> | zod.ZodObject<{
|
|
18282
19367
|
financing_company: zod.ZodObject<{
|
|
18283
19368
|
corporate_name: zod.ZodString;
|
|
18284
|
-
|
|
18285
|
-
address: zod.ZodString;
|
|
19369
|
+
cnpj: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
18286
19370
|
foundation_date: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
19371
|
+
address: zod.ZodString;
|
|
18287
19372
|
number: zod.ZodString;
|
|
18288
|
-
cnpj: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
18289
19373
|
email: zod.ZodEffects<zod.ZodString, string, string>;
|
|
18290
19374
|
complement: zod.ZodOptional<zod.ZodString>;
|
|
18291
19375
|
phone: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
@@ -18293,6 +19377,13 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
18293
19377
|
legal_nature: zod.ZodString;
|
|
18294
19378
|
city: zod.ZodString;
|
|
18295
19379
|
state: zod.ZodString;
|
|
19380
|
+
cep: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
19381
|
+
economic_activity: zod.ZodOptional<zod.ZodString>;
|
|
19382
|
+
economic_activity_group: zod.ZodOptional<zod.ZodString>;
|
|
19383
|
+
monthly_income: zod.ZodOptional<zod.ZodNumber>;
|
|
19384
|
+
residence_situation: zod.ZodOptional<zod.ZodString>;
|
|
19385
|
+
months_in_residence: zod.ZodOptional<zod.ZodNumber>;
|
|
19386
|
+
capital_social: zod.ZodOptional<zod.ZodNumber>;
|
|
18296
19387
|
}, "strict", ZodTypeAny, {
|
|
18297
19388
|
number: string;
|
|
18298
19389
|
cep: string;
|
|
@@ -18307,6 +19398,12 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
18307
19398
|
phone: string;
|
|
18308
19399
|
legal_nature: string;
|
|
18309
19400
|
complement?: string | undefined;
|
|
19401
|
+
monthly_income?: number | undefined;
|
|
19402
|
+
economic_activity_group?: string | undefined;
|
|
19403
|
+
economic_activity?: string | undefined;
|
|
19404
|
+
residence_situation?: string | undefined;
|
|
19405
|
+
months_in_residence?: number | undefined;
|
|
19406
|
+
capital_social?: number | undefined;
|
|
18310
19407
|
}, {
|
|
18311
19408
|
number: string;
|
|
18312
19409
|
cep: string;
|
|
@@ -18321,35 +19418,152 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
18321
19418
|
phone: string;
|
|
18322
19419
|
legal_nature: string;
|
|
18323
19420
|
complement?: string | undefined;
|
|
19421
|
+
monthly_income?: number | undefined;
|
|
19422
|
+
economic_activity_group?: string | undefined;
|
|
19423
|
+
economic_activity?: string | undefined;
|
|
19424
|
+
residence_situation?: string | undefined;
|
|
19425
|
+
months_in_residence?: number | undefined;
|
|
19426
|
+
capital_social?: number | undefined;
|
|
18324
19427
|
}>;
|
|
18325
|
-
financing_company_guarantor: zod.ZodArray<zod.ZodObject<{
|
|
19428
|
+
financing_company_guarantor: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
18326
19429
|
name: zod.ZodString;
|
|
18327
|
-
cep: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
18328
19430
|
cpf: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
19431
|
+
birth_date: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
18329
19432
|
address: zod.ZodString;
|
|
19433
|
+
number: zod.ZodString;
|
|
19434
|
+
cep: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
19435
|
+
complement: zod.ZodOptional<zod.ZodString>;
|
|
19436
|
+
cellphone: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
19437
|
+
email: zod.ZodEffects<zod.ZodString, string, string>;
|
|
19438
|
+
district: zod.ZodString;
|
|
19439
|
+
sex: zod.ZodEnum<["masculino", "feminino"]>;
|
|
19440
|
+
city: zod.ZodString;
|
|
19441
|
+
state: zod.ZodString;
|
|
19442
|
+
mother_name: zod.ZodString;
|
|
19443
|
+
nationality: zod.ZodString;
|
|
19444
|
+
office: zod.ZodOptional<zod.ZodString>;
|
|
19445
|
+
phone: zod.ZodOptional<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>>;
|
|
19446
|
+
civil_status: zod.ZodOptional<zod.ZodString>;
|
|
19447
|
+
residence_situation: zod.ZodOptional<zod.ZodString>;
|
|
19448
|
+
months_in_residence: zod.ZodOptional<zod.ZodNumber>;
|
|
19449
|
+
type_doc: zod.ZodOptional<zod.ZodEnum<["rg", "cnh", "rne"]>>;
|
|
19450
|
+
doc: zod.ZodOptional<zod.ZodString>;
|
|
19451
|
+
issuing_body: zod.ZodOptional<zod.ZodString>;
|
|
19452
|
+
uf_issuing_body: zod.ZodOptional<zod.ZodString>;
|
|
19453
|
+
doc_issue_date: zod.ZodOptional<zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>>;
|
|
19454
|
+
doc_expiration_date: zod.ZodOptional<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>>;
|
|
19455
|
+
monthly_income: zod.ZodOptional<zod.ZodNumber>;
|
|
19456
|
+
patrimony: zod.ZodOptional<zod.ZodNumber>;
|
|
19457
|
+
naturalness: zod.ZodOptional<zod.ZodString>;
|
|
19458
|
+
uf_naturalness: zod.ZodOptional<zod.ZodString>;
|
|
19459
|
+
pep_relationship: zod.ZodOptional<zod.ZodString>;
|
|
19460
|
+
entry_date: zod.ZodOptional<zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>>;
|
|
19461
|
+
doc_issuance_uf: zod.ZodOptional<zod.ZodString>;
|
|
19462
|
+
}, "strict", ZodTypeAny, {
|
|
19463
|
+
number: string;
|
|
19464
|
+
nationality: string;
|
|
19465
|
+
name: string;
|
|
19466
|
+
cep: string;
|
|
19467
|
+
cpf: string;
|
|
19468
|
+
address: string;
|
|
19469
|
+
birth_date: string;
|
|
19470
|
+
sex: "masculino" | "feminino";
|
|
19471
|
+
mother_name: string;
|
|
19472
|
+
district: string;
|
|
19473
|
+
city: string;
|
|
19474
|
+
state: string;
|
|
19475
|
+
cellphone: string;
|
|
19476
|
+
email: string;
|
|
19477
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
19478
|
+
doc_issue_date?: string | undefined;
|
|
19479
|
+
complement?: string | undefined;
|
|
19480
|
+
monthly_income?: number | undefined;
|
|
19481
|
+
doc?: string | undefined;
|
|
19482
|
+
issuing_body?: string | undefined;
|
|
19483
|
+
phone?: string | undefined;
|
|
19484
|
+
office?: string | undefined;
|
|
19485
|
+
civil_status?: string | undefined;
|
|
19486
|
+
uf_issuing_body?: string | undefined;
|
|
19487
|
+
doc_expiration_date?: string | undefined;
|
|
19488
|
+
patrimony?: number | undefined;
|
|
19489
|
+
uf_naturalness?: string | undefined;
|
|
19490
|
+
residence_situation?: string | undefined;
|
|
19491
|
+
months_in_residence?: number | undefined;
|
|
19492
|
+
naturalness?: string | undefined;
|
|
19493
|
+
pep_relationship?: string | undefined;
|
|
19494
|
+
entry_date?: string | undefined;
|
|
19495
|
+
doc_issuance_uf?: string | undefined;
|
|
19496
|
+
}, {
|
|
19497
|
+
number: string;
|
|
19498
|
+
nationality: string;
|
|
19499
|
+
name: string;
|
|
19500
|
+
cep: string;
|
|
19501
|
+
cpf: string;
|
|
19502
|
+
address: string;
|
|
19503
|
+
birth_date: string;
|
|
19504
|
+
sex: "masculino" | "feminino";
|
|
19505
|
+
mother_name: string;
|
|
19506
|
+
district: string;
|
|
19507
|
+
city: string;
|
|
19508
|
+
state: string;
|
|
19509
|
+
cellphone: string;
|
|
19510
|
+
email: string;
|
|
19511
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
19512
|
+
doc_issue_date?: string | undefined;
|
|
19513
|
+
complement?: string | undefined;
|
|
19514
|
+
monthly_income?: number | undefined;
|
|
19515
|
+
doc?: string | undefined;
|
|
19516
|
+
issuing_body?: string | undefined;
|
|
19517
|
+
phone?: string | undefined;
|
|
19518
|
+
office?: string | undefined;
|
|
19519
|
+
civil_status?: string | undefined;
|
|
19520
|
+
uf_issuing_body?: string | undefined;
|
|
19521
|
+
doc_expiration_date?: string | undefined;
|
|
19522
|
+
patrimony?: number | undefined;
|
|
19523
|
+
uf_naturalness?: string | undefined;
|
|
19524
|
+
residence_situation?: string | undefined;
|
|
19525
|
+
months_in_residence?: number | undefined;
|
|
19526
|
+
naturalness?: string | undefined;
|
|
19527
|
+
pep_relationship?: string | undefined;
|
|
19528
|
+
entry_date?: string | undefined;
|
|
19529
|
+
doc_issuance_uf?: string | undefined;
|
|
19530
|
+
}>, "many">>;
|
|
19531
|
+
financing_company_qsa: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
19532
|
+
name: zod.ZodString;
|
|
19533
|
+
cpf: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
18330
19534
|
birth_date: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
19535
|
+
address: zod.ZodString;
|
|
18331
19536
|
number: zod.ZodString;
|
|
19537
|
+
cep: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
18332
19538
|
complement: zod.ZodOptional<zod.ZodString>;
|
|
18333
19539
|
cellphone: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
18334
|
-
phone: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
18335
19540
|
email: zod.ZodEffects<zod.ZodString, string, string>;
|
|
18336
19541
|
district: zod.ZodString;
|
|
18337
19542
|
sex: zod.ZodEnum<["masculino", "feminino"]>;
|
|
18338
19543
|
city: zod.ZodString;
|
|
18339
19544
|
state: zod.ZodString;
|
|
18340
|
-
civil_status: zod.ZodString;
|
|
18341
|
-
office: zod.ZodString;
|
|
18342
|
-
doc: zod.ZodString;
|
|
18343
|
-
issuing_body: zod.ZodString;
|
|
18344
|
-
uf_issuing_body: zod.ZodString;
|
|
18345
|
-
doc_issue_date: zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>;
|
|
18346
19545
|
mother_name: zod.ZodString;
|
|
18347
|
-
monthly_income: zod.ZodNumber;
|
|
18348
|
-
patrimony: zod.ZodNumber;
|
|
18349
19546
|
nationality: zod.ZodString;
|
|
19547
|
+
office: zod.ZodOptional<zod.ZodString>;
|
|
19548
|
+
phone: zod.ZodOptional<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>>;
|
|
19549
|
+
civil_status: zod.ZodOptional<zod.ZodString>;
|
|
19550
|
+
residence_situation: zod.ZodOptional<zod.ZodString>;
|
|
19551
|
+
months_in_residence: zod.ZodOptional<zod.ZodNumber>;
|
|
19552
|
+
type_doc: zod.ZodOptional<zod.ZodEnum<["rg", "cnh", "rne"]>>;
|
|
19553
|
+
doc: zod.ZodOptional<zod.ZodString>;
|
|
19554
|
+
issuing_body: zod.ZodOptional<zod.ZodString>;
|
|
19555
|
+
uf_issuing_body: zod.ZodOptional<zod.ZodString>;
|
|
19556
|
+
doc_issue_date: zod.ZodOptional<zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>>;
|
|
19557
|
+
doc_expiration_date: zod.ZodOptional<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>>;
|
|
19558
|
+
monthly_income: zod.ZodOptional<zod.ZodNumber>;
|
|
19559
|
+
patrimony: zod.ZodOptional<zod.ZodNumber>;
|
|
19560
|
+
naturalness: zod.ZodOptional<zod.ZodString>;
|
|
19561
|
+
uf_naturalness: zod.ZodOptional<zod.ZodString>;
|
|
19562
|
+
pep_relationship: zod.ZodOptional<zod.ZodString>;
|
|
19563
|
+
entry_date: zod.ZodOptional<zod.ZodEffects<zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>, string, string>>;
|
|
19564
|
+
doc_issuance_uf: zod.ZodOptional<zod.ZodString>;
|
|
18350
19565
|
}, "strict", ZodTypeAny, {
|
|
18351
19566
|
number: string;
|
|
18352
|
-
doc_issue_date: string;
|
|
18353
19567
|
nationality: string;
|
|
18354
19568
|
name: string;
|
|
18355
19569
|
cep: string;
|
|
@@ -18363,18 +19577,27 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
18363
19577
|
state: string;
|
|
18364
19578
|
cellphone: string;
|
|
18365
19579
|
email: string;
|
|
18366
|
-
|
|
18367
|
-
|
|
18368
|
-
issuing_body: string;
|
|
18369
|
-
phone: string;
|
|
18370
|
-
office: string;
|
|
18371
|
-
civil_status: string;
|
|
18372
|
-
uf_issuing_body: string;
|
|
18373
|
-
patrimony: number;
|
|
19580
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
19581
|
+
doc_issue_date?: string | undefined;
|
|
18374
19582
|
complement?: string | undefined;
|
|
19583
|
+
monthly_income?: number | undefined;
|
|
19584
|
+
doc?: string | undefined;
|
|
19585
|
+
issuing_body?: string | undefined;
|
|
19586
|
+
phone?: string | undefined;
|
|
19587
|
+
office?: string | undefined;
|
|
19588
|
+
civil_status?: string | undefined;
|
|
19589
|
+
uf_issuing_body?: string | undefined;
|
|
19590
|
+
doc_expiration_date?: string | undefined;
|
|
19591
|
+
patrimony?: number | undefined;
|
|
19592
|
+
uf_naturalness?: string | undefined;
|
|
19593
|
+
residence_situation?: string | undefined;
|
|
19594
|
+
months_in_residence?: number | undefined;
|
|
19595
|
+
naturalness?: string | undefined;
|
|
19596
|
+
pep_relationship?: string | undefined;
|
|
19597
|
+
entry_date?: string | undefined;
|
|
19598
|
+
doc_issuance_uf?: string | undefined;
|
|
18375
19599
|
}, {
|
|
18376
19600
|
number: string;
|
|
18377
|
-
doc_issue_date: string;
|
|
18378
19601
|
nationality: string;
|
|
18379
19602
|
name: string;
|
|
18380
19603
|
cep: string;
|
|
@@ -18388,16 +19611,26 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
18388
19611
|
state: string;
|
|
18389
19612
|
cellphone: string;
|
|
18390
19613
|
email: string;
|
|
18391
|
-
|
|
18392
|
-
|
|
18393
|
-
issuing_body: string;
|
|
18394
|
-
phone: string;
|
|
18395
|
-
office: string;
|
|
18396
|
-
civil_status: string;
|
|
18397
|
-
uf_issuing_body: string;
|
|
18398
|
-
patrimony: number;
|
|
19614
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
19615
|
+
doc_issue_date?: string | undefined;
|
|
18399
19616
|
complement?: string | undefined;
|
|
18400
|
-
|
|
19617
|
+
monthly_income?: number | undefined;
|
|
19618
|
+
doc?: string | undefined;
|
|
19619
|
+
issuing_body?: string | undefined;
|
|
19620
|
+
phone?: string | undefined;
|
|
19621
|
+
office?: string | undefined;
|
|
19622
|
+
civil_status?: string | undefined;
|
|
19623
|
+
uf_issuing_body?: string | undefined;
|
|
19624
|
+
doc_expiration_date?: string | undefined;
|
|
19625
|
+
patrimony?: number | undefined;
|
|
19626
|
+
uf_naturalness?: string | undefined;
|
|
19627
|
+
residence_situation?: string | undefined;
|
|
19628
|
+
months_in_residence?: number | undefined;
|
|
19629
|
+
naturalness?: string | undefined;
|
|
19630
|
+
pep_relationship?: string | undefined;
|
|
19631
|
+
entry_date?: string | undefined;
|
|
19632
|
+
doc_issuance_uf?: string | undefined;
|
|
19633
|
+
}>, "many">>;
|
|
18401
19634
|
energy_bill_upload: zod.ZodObject<{
|
|
18402
19635
|
url: zod.ZodOptional<zod.ZodString>;
|
|
18403
19636
|
mime: zod.ZodEnum<["image/jpeg", "image/png", "application/pdf"]>;
|
|
@@ -18484,10 +19717,20 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
18484
19717
|
phone: string;
|
|
18485
19718
|
legal_nature: string;
|
|
18486
19719
|
complement?: string | undefined;
|
|
19720
|
+
monthly_income?: number | undefined;
|
|
19721
|
+
economic_activity_group?: string | undefined;
|
|
19722
|
+
economic_activity?: string | undefined;
|
|
19723
|
+
residence_situation?: string | undefined;
|
|
19724
|
+
months_in_residence?: number | undefined;
|
|
19725
|
+
capital_social?: number | undefined;
|
|
18487
19726
|
};
|
|
18488
|
-
|
|
19727
|
+
bond_document_upload?: {
|
|
19728
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
19729
|
+
sizeBytes: number;
|
|
19730
|
+
url?: string | undefined;
|
|
19731
|
+
} | undefined;
|
|
19732
|
+
financing_company_guarantor?: {
|
|
18489
19733
|
number: string;
|
|
18490
|
-
doc_issue_date: string;
|
|
18491
19734
|
nationality: string;
|
|
18492
19735
|
name: string;
|
|
18493
19736
|
cep: string;
|
|
@@ -18501,21 +19744,61 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
18501
19744
|
state: string;
|
|
18502
19745
|
cellphone: string;
|
|
18503
19746
|
email: string;
|
|
18504
|
-
|
|
18505
|
-
|
|
18506
|
-
issuing_body: string;
|
|
18507
|
-
phone: string;
|
|
18508
|
-
office: string;
|
|
18509
|
-
civil_status: string;
|
|
18510
|
-
uf_issuing_body: string;
|
|
18511
|
-
patrimony: number;
|
|
19747
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
19748
|
+
doc_issue_date?: string | undefined;
|
|
18512
19749
|
complement?: string | undefined;
|
|
18513
|
-
|
|
18514
|
-
|
|
18515
|
-
|
|
18516
|
-
|
|
18517
|
-
|
|
18518
|
-
|
|
19750
|
+
monthly_income?: number | undefined;
|
|
19751
|
+
doc?: string | undefined;
|
|
19752
|
+
issuing_body?: string | undefined;
|
|
19753
|
+
phone?: string | undefined;
|
|
19754
|
+
office?: string | undefined;
|
|
19755
|
+
civil_status?: string | undefined;
|
|
19756
|
+
uf_issuing_body?: string | undefined;
|
|
19757
|
+
doc_expiration_date?: string | undefined;
|
|
19758
|
+
patrimony?: number | undefined;
|
|
19759
|
+
uf_naturalness?: string | undefined;
|
|
19760
|
+
residence_situation?: string | undefined;
|
|
19761
|
+
months_in_residence?: number | undefined;
|
|
19762
|
+
naturalness?: string | undefined;
|
|
19763
|
+
pep_relationship?: string | undefined;
|
|
19764
|
+
entry_date?: string | undefined;
|
|
19765
|
+
doc_issuance_uf?: string | undefined;
|
|
19766
|
+
}[] | undefined;
|
|
19767
|
+
financing_company_qsa?: {
|
|
19768
|
+
number: string;
|
|
19769
|
+
nationality: string;
|
|
19770
|
+
name: string;
|
|
19771
|
+
cep: string;
|
|
19772
|
+
cpf: string;
|
|
19773
|
+
address: string;
|
|
19774
|
+
birth_date: string;
|
|
19775
|
+
sex: "masculino" | "feminino";
|
|
19776
|
+
mother_name: string;
|
|
19777
|
+
district: string;
|
|
19778
|
+
city: string;
|
|
19779
|
+
state: string;
|
|
19780
|
+
cellphone: string;
|
|
19781
|
+
email: string;
|
|
19782
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
19783
|
+
doc_issue_date?: string | undefined;
|
|
19784
|
+
complement?: string | undefined;
|
|
19785
|
+
monthly_income?: number | undefined;
|
|
19786
|
+
doc?: string | undefined;
|
|
19787
|
+
issuing_body?: string | undefined;
|
|
19788
|
+
phone?: string | undefined;
|
|
19789
|
+
office?: string | undefined;
|
|
19790
|
+
civil_status?: string | undefined;
|
|
19791
|
+
uf_issuing_body?: string | undefined;
|
|
19792
|
+
doc_expiration_date?: string | undefined;
|
|
19793
|
+
patrimony?: number | undefined;
|
|
19794
|
+
uf_naturalness?: string | undefined;
|
|
19795
|
+
residence_situation?: string | undefined;
|
|
19796
|
+
months_in_residence?: number | undefined;
|
|
19797
|
+
naturalness?: string | undefined;
|
|
19798
|
+
pep_relationship?: string | undefined;
|
|
19799
|
+
entry_date?: string | undefined;
|
|
19800
|
+
doc_issuance_uf?: string | undefined;
|
|
19801
|
+
}[] | undefined;
|
|
18519
19802
|
}, {
|
|
18520
19803
|
account_third_party: "nao_se_aplica" | "conjuge" | "pai_mae" | "filho_filha" | "parente" | "outro";
|
|
18521
19804
|
energy_bill_upload: {
|
|
@@ -18547,10 +19830,21 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
18547
19830
|
phone: string;
|
|
18548
19831
|
legal_nature: string;
|
|
18549
19832
|
complement?: string | undefined;
|
|
19833
|
+
monthly_income?: number | undefined;
|
|
19834
|
+
economic_activity_group?: string | undefined;
|
|
19835
|
+
economic_activity?: string | undefined;
|
|
19836
|
+
residence_situation?: string | undefined;
|
|
19837
|
+
months_in_residence?: number | undefined;
|
|
19838
|
+
capital_social?: number | undefined;
|
|
18550
19839
|
};
|
|
18551
|
-
|
|
19840
|
+
bond_document_upload?: {
|
|
19841
|
+
mime: "image/jpeg" | "image/png" | "application/pdf";
|
|
19842
|
+
sizeBytes: number;
|
|
19843
|
+
url?: string | undefined;
|
|
19844
|
+
} | undefined;
|
|
19845
|
+
rd_re_insurance_toggle?: boolean | undefined;
|
|
19846
|
+
financing_company_guarantor?: {
|
|
18552
19847
|
number: string;
|
|
18553
|
-
doc_issue_date: string;
|
|
18554
19848
|
nationality: string;
|
|
18555
19849
|
name: string;
|
|
18556
19850
|
cep: string;
|
|
@@ -18564,22 +19858,61 @@ declare function getFormalizationBaseSchema(bank: BankSlug, person: PersonType,
|
|
|
18564
19858
|
state: string;
|
|
18565
19859
|
cellphone: string;
|
|
18566
19860
|
email: string;
|
|
18567
|
-
|
|
18568
|
-
|
|
18569
|
-
issuing_body: string;
|
|
18570
|
-
phone: string;
|
|
18571
|
-
office: string;
|
|
18572
|
-
civil_status: string;
|
|
18573
|
-
uf_issuing_body: string;
|
|
18574
|
-
patrimony: number;
|
|
19861
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
19862
|
+
doc_issue_date?: string | undefined;
|
|
18575
19863
|
complement?: string | undefined;
|
|
18576
|
-
|
|
18577
|
-
|
|
18578
|
-
|
|
18579
|
-
|
|
18580
|
-
|
|
18581
|
-
|
|
18582
|
-
|
|
19864
|
+
monthly_income?: number | undefined;
|
|
19865
|
+
doc?: string | undefined;
|
|
19866
|
+
issuing_body?: string | undefined;
|
|
19867
|
+
phone?: string | undefined;
|
|
19868
|
+
office?: string | undefined;
|
|
19869
|
+
civil_status?: string | undefined;
|
|
19870
|
+
uf_issuing_body?: string | undefined;
|
|
19871
|
+
doc_expiration_date?: string | undefined;
|
|
19872
|
+
patrimony?: number | undefined;
|
|
19873
|
+
uf_naturalness?: string | undefined;
|
|
19874
|
+
residence_situation?: string | undefined;
|
|
19875
|
+
months_in_residence?: number | undefined;
|
|
19876
|
+
naturalness?: string | undefined;
|
|
19877
|
+
pep_relationship?: string | undefined;
|
|
19878
|
+
entry_date?: string | undefined;
|
|
19879
|
+
doc_issuance_uf?: string | undefined;
|
|
19880
|
+
}[] | undefined;
|
|
19881
|
+
financing_company_qsa?: {
|
|
19882
|
+
number: string;
|
|
19883
|
+
nationality: string;
|
|
19884
|
+
name: string;
|
|
19885
|
+
cep: string;
|
|
19886
|
+
cpf: string;
|
|
19887
|
+
address: string;
|
|
19888
|
+
birth_date: string;
|
|
19889
|
+
sex: "masculino" | "feminino";
|
|
19890
|
+
mother_name: string;
|
|
19891
|
+
district: string;
|
|
19892
|
+
city: string;
|
|
19893
|
+
state: string;
|
|
19894
|
+
cellphone: string;
|
|
19895
|
+
email: string;
|
|
19896
|
+
type_doc?: "rg" | "cnh" | "rne" | undefined;
|
|
19897
|
+
doc_issue_date?: string | undefined;
|
|
19898
|
+
complement?: string | undefined;
|
|
19899
|
+
monthly_income?: number | undefined;
|
|
19900
|
+
doc?: string | undefined;
|
|
19901
|
+
issuing_body?: string | undefined;
|
|
19902
|
+
phone?: string | undefined;
|
|
19903
|
+
office?: string | undefined;
|
|
19904
|
+
civil_status?: string | undefined;
|
|
19905
|
+
uf_issuing_body?: string | undefined;
|
|
19906
|
+
doc_expiration_date?: string | undefined;
|
|
19907
|
+
patrimony?: number | undefined;
|
|
19908
|
+
uf_naturalness?: string | undefined;
|
|
19909
|
+
residence_situation?: string | undefined;
|
|
19910
|
+
months_in_residence?: number | undefined;
|
|
19911
|
+
naturalness?: string | undefined;
|
|
19912
|
+
pep_relationship?: string | undefined;
|
|
19913
|
+
entry_date?: string | undefined;
|
|
19914
|
+
doc_issuance_uf?: string | undefined;
|
|
19915
|
+
}[] | undefined;
|
|
18583
19916
|
}> | zod.ZodObject<Omit<{
|
|
18584
19917
|
name: zod.ZodString;
|
|
18585
19918
|
cep: zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string, string>;
|
|
@@ -18752,4 +20085,4 @@ interface FormalizationFieldMeta {
|
|
|
18752
20085
|
}
|
|
18753
20086
|
declare const FORMALIZATION_FIELD_META: Record<string, FormalizationFieldMeta>;
|
|
18754
20087
|
|
|
18755
|
-
export { BANK_SLUGS, type Bank, BankEnum, type BankSlug, FORMALIZATION_FIELD_META, type FormalizationFieldKind, type FormalizationFieldMeta, NATIONALITY_BRAZIL, OCCUPATIONS_REQUIRING_CNPJ, type PersonType, applyPfRefinements, applyPjRefinements, getFormalizationBaseSchema, getFormalizationSchema, pfBaseSchemaRegistry, pfSchemaRegistry, pjBaseSchemaRegistry, pjSchemaRegistry };
|
|
20088
|
+
export { BANK_SLUGS, type Bank, BankEnum, type BankSlug, FORMALIZATION_FIELD_META, type FormalizationFieldKind, type FormalizationFieldMeta, NATIONALITY_BRAZIL, OCCUPATIONS_REQUIRING_CNPJ, type PersonType, UNIFIED_SLUG, type UnifiedSlug, applyPfRefinements, applyPjRefinements, getFormalizationBaseSchema, getFormalizationSchema, pfBaseSchemaRegistry, pfSchemaRegistry, pjBaseSchemaRegistry, pjSchemaRegistry };
|