Skip to content

Commit 1210a2d

Browse files
fix(types): make address/dob/email/government_id optional in account-holders
1 parent 0982295 commit 1210a2d

2 files changed

Lines changed: 33 additions & 32 deletions

File tree

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 190
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-e88a4837037207e9591d48d534bd61acca57ca6e7c59ec0d4fdcf6e05288cc6d.yml
3-
openapi_spec_hash: fd8bbc173d1b6dafd117fb1a3a3d446c
4-
config_hash: 64f05ed5c69d8a76596979dc2c17f0f9
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-dad98281bf8dca620bc21f30217878fc043d725586d0395558f0b66b78f316a8.yml
3+
openapi_spec_hash: 326eff6733ff1b438d77dd1288816101
4+
config_hash: 400b9afe0f7f7b7d96177d05950775f9

src/resources/account-holders/account-holders.ts

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2570,43 +2570,44 @@ export declare namespace AccountHolderCreateParams {
25702570
}
25712571

25722572
/**
2573-
* Individuals associated with a KYB application. Phone number is optional.
2573+
* Individuals associated with a KYB_DELEGATED application. Only first and last
2574+
* name are required.
25742575
*/
25752576
export interface BeneficialOwnerIndividual {
2577+
/**
2578+
* Individual's first name, as it appears on government-issued identity documents.
2579+
*/
2580+
first_name: string;
2581+
2582+
/**
2583+
* Individual's last name, as it appears on government-issued identity documents.
2584+
*/
2585+
last_name: string;
2586+
25762587
/**
25772588
* Individual's current address - PO boxes, UPS drops, and FedEx drops are not
25782589
* acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
25792590
*/
2580-
address: Shared.Address;
2591+
address?: Shared.Address;
25812592

25822593
/**
25832594
* Individual's date of birth, as an RFC 3339 date.
25842595
*/
2585-
dob: string;
2596+
dob?: string;
25862597

25872598
/**
25882599
* Individual's email address. If utilizing Lithic for chargeback processing, this
25892600
* customer email address may be used to communicate dispute status and resolution.
25902601
*/
2591-
email: string;
2592-
2593-
/**
2594-
* Individual's first name, as it appears on government-issued identity documents.
2595-
*/
2596-
first_name: string;
2602+
email?: string;
25972603

25982604
/**
25992605
* Government-issued identification number (required for identity verification and
26002606
* compliance with banking regulations). Social Security Numbers (SSN) and
26012607
* Individual Taxpayer Identification Numbers (ITIN) are currently supported,
26022608
* entered as full nine-digits, with or without hyphens
26032609
*/
2604-
government_id: string;
2605-
2606-
/**
2607-
* Individual's last name, as it appears on government-issued identity documents.
2608-
*/
2609-
last_name: string;
2610+
government_id?: string;
26102611

26112612
/**
26122613
* Individual's phone number, entered in E.164 format.
@@ -2625,40 +2626,40 @@ export declare namespace AccountHolderCreateParams {
26252626
* (Section II) for more background.
26262627
*/
26272628
export interface ControlPerson {
2629+
/**
2630+
* Individual's first name, as it appears on government-issued identity documents.
2631+
*/
2632+
first_name: string;
2633+
2634+
/**
2635+
* Individual's last name, as it appears on government-issued identity documents.
2636+
*/
2637+
last_name: string;
2638+
26282639
/**
26292640
* Individual's current address - PO boxes, UPS drops, and FedEx drops are not
26302641
* acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
26312642
*/
2632-
address: Shared.Address;
2643+
address?: Shared.Address;
26332644

26342645
/**
26352646
* Individual's date of birth, as an RFC 3339 date.
26362647
*/
2637-
dob: string;
2648+
dob?: string;
26382649

26392650
/**
26402651
* Individual's email address. If utilizing Lithic for chargeback processing, this
26412652
* customer email address may be used to communicate dispute status and resolution.
26422653
*/
2643-
email: string;
2644-
2645-
/**
2646-
* Individual's first name, as it appears on government-issued identity documents.
2647-
*/
2648-
first_name: string;
2654+
email?: string;
26492655

26502656
/**
26512657
* Government-issued identification number (required for identity verification and
26522658
* compliance with banking regulations). Social Security Numbers (SSN) and
26532659
* Individual Taxpayer Identification Numbers (ITIN) are currently supported,
26542660
* entered as full nine-digits, with or without hyphens
26552661
*/
2656-
government_id: string;
2657-
2658-
/**
2659-
* Individual's last name, as it appears on government-issued identity documents.
2660-
*/
2661-
last_name: string;
2662+
government_id?: string;
26622663

26632664
/**
26642665
* Individual's phone number, entered in E.164 format.

0 commit comments

Comments
 (0)