Skip to content

Commit

Permalink
Update generated code for v1429
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jan 2, 2025
1 parent 130f72d commit 066464e
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1427
v1429
2 changes: 1 addition & 1 deletion test/resources/generated_examples_test.spec.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions types/Accounts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,8 @@ declare module 'stripe' {
*/
ownership_declaration?: Company.OwnershipDeclaration | null;

ownership_exemption_reason?: Company.OwnershipExemptionReason;

/**
* The company's phone number (used for verification).
*/
Expand Down Expand Up @@ -884,6 +886,10 @@ declare module 'stripe' {
user_agent: string | null;
}

type OwnershipExemptionReason =
| 'qualified_entity_exceeds_ownership_threshold'
| 'qualifies_as_financial_institution';

type Structure =
| 'free_zone_establishment'
| 'free_zone_llc'
Expand Down
16 changes: 16 additions & 0 deletions types/AccountsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,10 @@ declare module 'stripe' {
*/
ownership_declaration?: Company.OwnershipDeclaration;

ownership_exemption_reason?: Stripe.Emptyable<
Company.OwnershipExemptionReason
>;

/**
* The company's phone number (used for verification).
*/
Expand Down Expand Up @@ -1114,6 +1118,10 @@ declare module 'stripe' {
user_agent?: string;
}

type OwnershipExemptionReason =
| 'qualified_entity_exceeds_ownership_threshold'
| 'qualifies_as_financial_institution';

type Structure =
| 'free_zone_establishment'
| 'free_zone_llc'
Expand Down Expand Up @@ -3061,6 +3069,10 @@ declare module 'stripe' {
*/
ownership_declaration?: Company.OwnershipDeclaration;

ownership_exemption_reason?: Stripe.Emptyable<
Company.OwnershipExemptionReason
>;

/**
* The company's phone number (used for verification).
*/
Expand Down Expand Up @@ -3115,6 +3127,10 @@ declare module 'stripe' {
user_agent?: string;
}

type OwnershipExemptionReason =
| 'qualified_entity_exceeds_ownership_threshold'
| 'qualifies_as_financial_institution';

type Structure =
| 'free_zone_establishment'
| 'free_zone_llc'
Expand Down
8 changes: 8 additions & 0 deletions types/TokensResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ declare module 'stripe' {
*/
ownership_declaration_shown_and_signed?: boolean;

ownership_exemption_reason?: Stripe.Emptyable<
Company.OwnershipExemptionReason
>;

/**
* The company's phone number (used for verification).
*/
Expand Down Expand Up @@ -194,6 +198,10 @@ declare module 'stripe' {
user_agent?: string;
}

type OwnershipExemptionReason =
| 'qualified_entity_exceeds_ownership_threshold'
| 'qualifies_as_financial_institution';

type Structure =
| 'free_zone_establishment'
| 'free_zone_llc'
Expand Down

0 comments on commit 066464e

Please sign in to comment.