Skip to content

Commit

Permalink
Update generated code for v1343
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Nov 12, 2024
1 parent fff278f commit 7232d3b
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1340
v1343
16 changes: 16 additions & 0 deletions stripe/_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -3658,6 +3658,10 @@ class CreatePersonParamsRegisteredAddress(TypedDict):
"""

class CreatePersonParamsRelationship(TypedDict):
authorizer: NotRequired[bool]
"""
Whether the person is the authorizer of the account's representative.
"""
director: NotRequired[bool]
"""
Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
Expand Down Expand Up @@ -3819,6 +3823,10 @@ class ListPersonsParams(RequestOptions):
"""

class ListPersonsParamsRelationship(TypedDict):
authorizer: NotRequired[bool]
"""
A filter on the list of people returned based on whether these people are authorizers of the account's representative.
"""
director: NotRequired[bool]
"""
A filter on the list of people returned based on whether these people are directors of the account's company.
Expand Down Expand Up @@ -4239,6 +4247,10 @@ class ModifyPersonParamsRegisteredAddress(TypedDict):
"""

class ModifyPersonParamsRelationship(TypedDict):
authorizer: NotRequired[bool]
"""
Whether the person is the authorizer of the account's representative.
"""
director: NotRequired[bool]
"""
Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
Expand Down Expand Up @@ -4323,6 +4335,10 @@ class PersonsParams(RequestOptions):
"""

class PersonsParamsRelationship(TypedDict):
authorizer: NotRequired[bool]
"""
A filter on the list of people returned based on whether these people are authorizers of the account's representative.
"""
director: NotRequired[bool]
"""
A filter on the list of people returned based on whether these people are directors of the account's company.
Expand Down
12 changes: 12 additions & 0 deletions stripe/_account_person_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,10 @@ class CreateParamsRegisteredAddress(TypedDict):
"""

class CreateParamsRelationship(TypedDict):
authorizer: NotRequired[bool]
"""
Whether the person is the authorizer of the account's representative.
"""
director: NotRequired[bool]
"""
Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
Expand Down Expand Up @@ -412,6 +416,10 @@ class ListParams(TypedDict):
"""

class ListParamsRelationship(TypedDict):
authorizer: NotRequired[bool]
"""
A filter on the list of people returned based on whether these people are authorizers of the account's representative.
"""
director: NotRequired[bool]
"""
A filter on the list of people returned based on whether these people are directors of the account's company.
Expand Down Expand Up @@ -750,6 +758,10 @@ class UpdateParamsRegisteredAddress(TypedDict):
"""

class UpdateParamsRelationship(TypedDict):
authorizer: NotRequired[bool]
"""
Whether the person is the authorizer of the account's representative.
"""
director: NotRequired[bool]
"""
Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
Expand Down
4 changes: 4 additions & 0 deletions stripe/_person.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,10 @@ class RegisteredAddress(StripeObject):
"""

class Relationship(StripeObject):
authorizer: Optional[bool]
"""
Whether the person is the authorizer of the account's representative.
"""
director: Optional[bool]
"""
Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
Expand Down
4 changes: 4 additions & 0 deletions stripe/_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -991,6 +991,10 @@ class CreateParamsPersonRegisteredAddress(TypedDict):
"""

class CreateParamsPersonRelationship(TypedDict):
authorizer: NotRequired[bool]
"""
Whether the person is the authorizer of the account's representative.
"""
director: NotRequired[bool]
"""
Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
Expand Down
4 changes: 4 additions & 0 deletions stripe/_token_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,10 @@ class CreateParamsPersonRegisteredAddress(TypedDict):
"""

class CreateParamsPersonRelationship(TypedDict):
authorizer: NotRequired[bool]
"""
Whether the person is the authorizer of the account's representative.
"""
director: NotRequired[bool]
"""
Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
Expand Down

0 comments on commit 7232d3b

Please sign in to comment.