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 1b80943 commit 0fd723a
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1424
v1429
9 changes: 9 additions & 0 deletions stripe/_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,12 @@ class Document(StripeObject):
"""
This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
"""
ownership_exemption_reason: Optional[
Literal[
"qualified_entity_exceeds_ownership_threshold",
"qualifies_as_financial_institution",
]
]
phone: Optional[str]
"""
The company's phone number (used for verification).
Expand Down Expand Up @@ -2536,6 +2542,9 @@ class CreateParamsCompany(TypedDict):
"""
This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
"""
ownership_exemption_reason: NotRequired[
"Literal['']|Literal['qualified_entity_exceeds_ownership_threshold', 'qualifies_as_financial_institution']"
]
phone: NotRequired[str]
"""
The company's phone number (used for verification).
Expand Down
6 changes: 6 additions & 0 deletions stripe/_account_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -1119,6 +1119,9 @@ class CreateParamsCompany(TypedDict):
"""
This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
"""
ownership_exemption_reason: NotRequired[
"Literal['']|Literal['qualified_entity_exceeds_ownership_threshold', 'qualifies_as_financial_institution']"
]
phone: NotRequired[str]
"""
The company's phone number (used for verification).
Expand Down Expand Up @@ -3143,6 +3146,9 @@ class UpdateParamsCompany(TypedDict):
"""
This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
"""
ownership_exemption_reason: NotRequired[
"Literal['']|Literal['qualified_entity_exceeds_ownership_threshold', 'qualifies_as_financial_institution']"
]
phone: NotRequired[str]
"""
The company's phone number (used for verification).
Expand Down
3 changes: 3 additions & 0 deletions stripe/_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ class CreateParamsAccountCompany(TypedDict):
"""
Whether the user described by the data in the token has been shown the Ownership Declaration and indicated that it is correct.
"""
ownership_exemption_reason: NotRequired[
"Literal['']|Literal['qualified_entity_exceeds_ownership_threshold', 'qualifies_as_financial_institution']"
]
phone: NotRequired[str]
"""
The company's phone number (used for verification).
Expand Down
3 changes: 3 additions & 0 deletions stripe/_token_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ class CreateParamsAccountCompany(TypedDict):
"""
Whether the user described by the data in the token has been shown the Ownership Declaration and indicated that it is correct.
"""
ownership_exemption_reason: NotRequired[
"Literal['']|Literal['qualified_entity_exceeds_ownership_threshold', 'qualifies_as_financial_institution']"
]
phone: NotRequired[str]
"""
The company's phone number (used for verification).
Expand Down

0 comments on commit 0fd723a

Please sign in to comment.