| 1 |
# -*- coding: utf-8 -*- |
| 2 |
# File generated from our OpenAPI spec |
| 3 |
from stripe._request_options import RequestOptions |
| 4 |
from typing import List |
| 5 |
from typing_extensions import NotRequired, TypedDict |
| 6 |
|
| 7 |
|
| 8 |
class RequestListParams(RequestOptions): |
| 9 |
created: NotRequired["RequestListParamsCreated"] |
| 10 |
""" |
| 11 |
Similar to other List endpoints, filters results based on created timestamp. You can pass gt, gte, lt, and lte timestamp values. |
| 12 |
""" |
| 13 |
ending_before: NotRequired[str] |
| 14 |
""" |
| 15 |
A pagination cursor to fetch the previous page of the list. The value must be a ForwardingRequest ID. |
| 16 |
""" |
| 17 |
expand: NotRequired[List[str]] |
| 18 |
""" |
| 19 |
Specifies which fields in the response should be expanded. |
| 20 |
""" |
| 21 |
limit: NotRequired[int] |
| 22 |
""" |
| 23 |
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. |
| 24 |
""" |
| 25 |
starting_after: NotRequired[str] |
| 26 |
""" |
| 27 |
A pagination cursor to fetch the next page of the list. The value must be a ForwardingRequest ID. |
| 28 |
""" |
| 29 |
|
| 30 |
|
| 31 |
class RequestListParamsCreated(TypedDict): |
| 32 |
gt: NotRequired[int] |
| 33 |
""" |
| 34 |
Return results where the `created` field is greater than this value. |
| 35 |
""" |
| 36 |
gte: NotRequired[int] |
| 37 |
""" |
| 38 |
Return results where the `created` field is greater than or equal to this value. |
| 39 |
""" |
| 40 |
lt: NotRequired[int] |
| 41 |
""" |
| 42 |
Return results where the `created` field is less than this value. |
| 43 |
""" |
| 44 |
lte: NotRequired[int] |
| 45 |
""" |
| 46 |
Return results where the `created` field is less than or equal to this value. |
| 47 |
""" |