| 1 |
# -*- coding: utf-8 -*- |
| 2 |
# File generated from our OpenAPI spec |
| 3 |
from typing import List |
| 4 |
from typing_extensions import NotRequired, TypedDict |
| 5 |
|
| 6 |
|
| 7 |
class AccountPersonListParams(TypedDict): |
| 8 |
ending_before: NotRequired[str] |
| 9 |
""" |
| 10 |
A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. |
| 11 |
""" |
| 12 |
expand: NotRequired[List[str]] |
| 13 |
""" |
| 14 |
Specifies which fields in the response should be expanded. |
| 15 |
""" |
| 16 |
limit: NotRequired[int] |
| 17 |
""" |
| 18 |
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. |
| 19 |
""" |
| 20 |
relationship: NotRequired["AccountPersonListParamsRelationship"] |
| 21 |
""" |
| 22 |
Filters on the list of people returned based on the person's relationship to the account's company. |
| 23 |
""" |
| 24 |
starting_after: NotRequired[str] |
| 25 |
""" |
| 26 |
A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. |
| 27 |
""" |
| 28 |
|
| 29 |
|
| 30 |
class AccountPersonListParamsRelationship(TypedDict): |
| 31 |
authorizer: NotRequired[bool] |
| 32 |
""" |
| 33 |
A filter on the list of people returned based on whether these people are authorizers of the account's representative. |
| 34 |
""" |
| 35 |
director: NotRequired[bool] |
| 36 |
""" |
| 37 |
A filter on the list of people returned based on whether these people are directors of the account's company. |
| 38 |
""" |
| 39 |
executive: NotRequired[bool] |
| 40 |
""" |
| 41 |
A filter on the list of people returned based on whether these people are executives of the account's company. |
| 42 |
""" |
| 43 |
legal_guardian: NotRequired[bool] |
| 44 |
""" |
| 45 |
A filter on the list of people returned based on whether these people are legal guardians of the account's representative. |
| 46 |
""" |
| 47 |
owner: NotRequired[bool] |
| 48 |
""" |
| 49 |
A filter on the list of people returned based on whether these people are owners of the account's company. |
| 50 |
""" |
| 51 |
representative: NotRequired[bool] |
| 52 |
""" |
| 53 |
A filter on the list of people returned based on whether these people are the representative of the account's company. |
| 54 |
""" |