Skip to content

Commit

Permalink
feat(api): add date_formed property to legal entities (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Mar 12, 2024
1 parent 3776e85 commit b403083
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 7 deletions.
7 changes: 6 additions & 1 deletion src/resources/connection-legal-entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,12 @@ export namespace ConnectionLegalEntityCreateParams {
business_name?: string | null;

/**
* An individual's data of birth (YYYY-MM-DD).
* A business's formation date (YYYY-MM-DD).
*/
date_formed?: string | null;

/**
* An individual's date of birth (YYYY-MM-DD).
*/
date_of_birth?: string | null;

Expand Down
7 changes: 6 additions & 1 deletion src/resources/counterparties.ts
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,12 @@ export namespace CounterpartyCreateParams {
business_name?: string | null;

/**
* An individual's data of birth (YYYY-MM-DD).
* A business's formation date (YYYY-MM-DD).
*/
date_formed?: string | null;

/**
* An individual's date of birth (YYYY-MM-DD).
*/
date_of_birth?: string | null;

Expand Down
21 changes: 18 additions & 3 deletions src/resources/legal-entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,12 @@ export interface LegalEntity {
created_at?: string;

/**
* An individual's data of birth (YYYY-MM-DD).
* A business's formation date (YYYY-MM-DD).
*/
date_formed?: string | null;

/**
* An individual's date of birth (YYYY-MM-DD).
*/
date_of_birth?: string | null;

Expand Down Expand Up @@ -273,7 +278,12 @@ export interface LegalEntityCreateParams {
business_name?: string | null;

/**
* An individual's data of birth (YYYY-MM-DD).
* A business's formation date (YYYY-MM-DD).
*/
date_formed?: string | null;

/**
* An individual's date of birth (YYYY-MM-DD).
*/
date_of_birth?: string | null;

Expand Down Expand Up @@ -403,7 +413,12 @@ export interface LegalEntityUpdateParams {
business_name?: string | null;

/**
* An individual's data of birth (YYYY-MM-DD).
* A business's formation date (YYYY-MM-DD).
*/
date_formed?: string | null;

/**
* An individual's date of birth (YYYY-MM-DD).
*/
date_of_birth?: string | null;

Expand Down
14 changes: 12 additions & 2 deletions src/resources/legal-entity-associations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,12 @@ export namespace LegalEntityAssociation {
created_at?: string;

/**
* An individual's data of birth (YYYY-MM-DD).
* A business's formation date (YYYY-MM-DD).
*/
date_formed?: string | null;

/**
* An individual's date of birth (YYYY-MM-DD).
*/
date_of_birth?: string | null;

Expand Down Expand Up @@ -302,7 +307,12 @@ export namespace LegalEntityAssociationCreateParams {
business_name?: string | null;

/**
* An individual's data of birth (YYYY-MM-DD).
* A business's formation date (YYYY-MM-DD).
*/
date_formed?: string | null;

/**
* An individual's date of birth (YYYY-MM-DD).
*/
date_of_birth?: string | null;

Expand Down
1 change: 1 addition & 0 deletions tests/api-resources/connection-legal-entities.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ describe('resource connectionLegalEntities', () => {
first_name: 'string',
last_name: 'string',
date_of_birth: '2019-12-27',
date_formed: '2019-12-27',
business_name: 'string',
doing_business_as_names: ['string', 'string', 'string'],
legal_structure: 'corporation',
Expand Down
1 change: 1 addition & 0 deletions tests/api-resources/counterparties.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ describe('resource counterparties', () => {
first_name: 'string',
last_name: 'string',
date_of_birth: '2019-12-27',
date_formed: '2019-12-27',
business_name: 'string',
doing_business_as_names: ['string', 'string', 'string'],
legal_structure: 'corporation',
Expand Down
2 changes: 2 additions & 0 deletions tests/api-resources/legal-entities.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ describe('resource legalEntities', () => {
},
],
business_name: 'string',
date_formed: '2019-12-27',
date_of_birth: '2019-12-27',
doing_business_as_names: ['string', 'string', 'string'],
email: 'string',
Expand Down Expand Up @@ -114,6 +115,7 @@ describe('resource legalEntities', () => {
'string',
{
business_name: 'string',
date_formed: '2019-12-27',
date_of_birth: '2019-12-27',
doing_business_as_names: ['string', 'string', 'string'],
email: 'string',
Expand Down
1 change: 1 addition & 0 deletions tests/api-resources/legal-entity-associations.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ describe('resource legalEntityAssociations', () => {
first_name: 'string',
last_name: 'string',
date_of_birth: '2019-12-27',
date_formed: '2019-12-27',
business_name: 'string',
doing_business_as_names: ['string', 'string', 'string'],
legal_structure: 'corporation',
Expand Down

0 comments on commit b403083

Please sign in to comment.