Debian Codegraph @

stripe/params/_file_list_params.py

raw
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 Literal, NotRequired, TypedDict
6
7
8 class FileListParams(RequestOptions):
9 created: NotRequired["FileListParamsCreated|int"]
10 """
11 Only return files that were created during the given date interval.
12 """
13 ending_before: NotRequired[str]
14 """
15 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.
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 purpose: NotRequired[
26 Literal[
27 "account_requirement",
28 "additional_verification",
29 "business_icon",
30 "business_logo",
31 "customer_signature",
32 "dispute_evidence",
33 "document_provider_identity_document",
34 "finance_report_run",
35 "financial_account_statement",
36 "identity_document",
37 "identity_document_downloadable",
38 "issuing_regulatory_reporting",
39 "pci_document",
40 "platform_terms_of_service",
41 "selfie",
42 "sigma_scheduled_query",
43 "tax_document_user_upload",
44 "terminal_android_apk",
45 "terminal_reader_splashscreen",
46 "terminal_wifi_certificate",
47 "terminal_wifi_private_key",
48 ]
49 ]
50 """
51 Filter queries by the file purpose. If you don't provide a purpose, the queries return unfiltered files.
52 """
53 starting_after: NotRequired[str]
54 """
55 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.
56 """
57
58
59 class FileListParamsCreated(TypedDict):
60 gt: NotRequired[int]
61 """
62 Minimum value to filter by (exclusive)
63 """
64 gte: NotRequired[int]
65 """
66 Minimum value to filter by (inclusive)
67 """
68 lt: NotRequired[int]
69 """
70 Maximum value to filter by (exclusive)
71 """
72 lte: NotRequired[int]
73 """
74 Maximum value to filter by (inclusive)
75 """