This commit is contained in:
Iliyan Angelov
2025-11-17 18:26:30 +02:00
parent 48353cde9c
commit 0c59fe1173
2535 changed files with 278997 additions and 2480 deletions

View File

@@ -0,0 +1,124 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from importlib import import_module
from typing_extensions import TYPE_CHECKING
if TYPE_CHECKING:
from stripe.params.radar._early_fraud_warning_list_params import (
EarlyFraudWarningListParams as EarlyFraudWarningListParams,
EarlyFraudWarningListParamsCreated as EarlyFraudWarningListParamsCreated,
)
from stripe.params.radar._early_fraud_warning_retrieve_params import (
EarlyFraudWarningRetrieveParams as EarlyFraudWarningRetrieveParams,
)
from stripe.params.radar._value_list_create_params import (
ValueListCreateParams as ValueListCreateParams,
)
from stripe.params.radar._value_list_delete_params import (
ValueListDeleteParams as ValueListDeleteParams,
)
from stripe.params.radar._value_list_item_create_params import (
ValueListItemCreateParams as ValueListItemCreateParams,
)
from stripe.params.radar._value_list_item_delete_params import (
ValueListItemDeleteParams as ValueListItemDeleteParams,
)
from stripe.params.radar._value_list_item_list_params import (
ValueListItemListParams as ValueListItemListParams,
ValueListItemListParamsCreated as ValueListItemListParamsCreated,
)
from stripe.params.radar._value_list_item_retrieve_params import (
ValueListItemRetrieveParams as ValueListItemRetrieveParams,
)
from stripe.params.radar._value_list_list_params import (
ValueListListParams as ValueListListParams,
ValueListListParamsCreated as ValueListListParamsCreated,
)
from stripe.params.radar._value_list_modify_params import (
ValueListModifyParams as ValueListModifyParams,
)
from stripe.params.radar._value_list_retrieve_params import (
ValueListRetrieveParams as ValueListRetrieveParams,
)
from stripe.params.radar._value_list_update_params import (
ValueListUpdateParams as ValueListUpdateParams,
)
# name -> (import_target, is_submodule)
_import_map = {
"EarlyFraudWarningListParams": (
"stripe.params.radar._early_fraud_warning_list_params",
False,
),
"EarlyFraudWarningListParamsCreated": (
"stripe.params.radar._early_fraud_warning_list_params",
False,
),
"EarlyFraudWarningRetrieveParams": (
"stripe.params.radar._early_fraud_warning_retrieve_params",
False,
),
"ValueListCreateParams": (
"stripe.params.radar._value_list_create_params",
False,
),
"ValueListDeleteParams": (
"stripe.params.radar._value_list_delete_params",
False,
),
"ValueListItemCreateParams": (
"stripe.params.radar._value_list_item_create_params",
False,
),
"ValueListItemDeleteParams": (
"stripe.params.radar._value_list_item_delete_params",
False,
),
"ValueListItemListParams": (
"stripe.params.radar._value_list_item_list_params",
False,
),
"ValueListItemListParamsCreated": (
"stripe.params.radar._value_list_item_list_params",
False,
),
"ValueListItemRetrieveParams": (
"stripe.params.radar._value_list_item_retrieve_params",
False,
),
"ValueListListParams": (
"stripe.params.radar._value_list_list_params",
False,
),
"ValueListListParamsCreated": (
"stripe.params.radar._value_list_list_params",
False,
),
"ValueListModifyParams": (
"stripe.params.radar._value_list_modify_params",
False,
),
"ValueListRetrieveParams": (
"stripe.params.radar._value_list_retrieve_params",
False,
),
"ValueListUpdateParams": (
"stripe.params.radar._value_list_update_params",
False,
),
}
if not TYPE_CHECKING:
def __getattr__(name):
try:
target, is_submodule = _import_map[name]
module = import_module(target)
if is_submodule:
return module
return getattr(
module,
name,
)
except KeyError:
raise AttributeError()

View File

@@ -0,0 +1,55 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired, TypedDict
class EarlyFraudWarningListParams(RequestOptions):
charge: NotRequired[str]
"""
Only return early fraud warnings for the charge specified by this charge ID.
"""
created: NotRequired["EarlyFraudWarningListParamsCreated|int"]
"""
Only return early fraud warnings that were created during the given date interval.
"""
ending_before: NotRequired[str]
"""
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.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
limit: NotRequired[int]
"""
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
"""
payment_intent: NotRequired[str]
"""
Only return early fraud warnings for charges that were created by the PaymentIntent specified by this PaymentIntent ID.
"""
starting_after: NotRequired[str]
"""
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.
"""
class EarlyFraudWarningListParamsCreated(TypedDict):
gt: NotRequired[int]
"""
Minimum value to filter by (exclusive)
"""
gte: NotRequired[int]
"""
Minimum value to filter by (inclusive)
"""
lt: NotRequired[int]
"""
Maximum value to filter by (exclusive)
"""
lte: NotRequired[int]
"""
Maximum value to filter by (inclusive)
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class EarlyFraudWarningRetrieveParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,41 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import Dict, List
from typing_extensions import Literal, NotRequired
class ValueListCreateParams(RequestOptions):
alias: str
"""
The name of the value list for use in rules.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
item_type: NotRequired[
Literal[
"card_bin",
"card_fingerprint",
"case_sensitive_string",
"country",
"customer_id",
"email",
"ip_address",
"sepa_debit_fingerprint",
"string",
"us_bank_account_fingerprint",
]
]
"""
Type of the items in the value list. One of `card_fingerprint`, `card_bin`, `email`, `ip_address`, `country`, `string`, `case_sensitive_string`, `customer_id`, `sepa_debit_fingerprint`, or `us_bank_account_fingerprint`. Use `string` if the item type is unknown or mixed.
"""
metadata: NotRequired[Dict[str, str]]
"""
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
"""
name: str
"""
The human-readable name of the value list.
"""

View File

@@ -0,0 +1,7 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
class ValueListDeleteParams(RequestOptions):
pass

View File

@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class ValueListItemCreateParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
value: str
"""
The value of the item (whose type must match the type of the parent value list).
"""
value_list: str
"""
The identifier of the value list which the created item will be added to.
"""

View File

@@ -0,0 +1,7 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
class ValueListItemDeleteParams(RequestOptions):
pass

View File

@@ -0,0 +1,55 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired, TypedDict
class ValueListItemListParams(RequestOptions):
created: NotRequired["ValueListItemListParamsCreated|int"]
"""
Only return items that were created during the given date interval.
"""
ending_before: NotRequired[str]
"""
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.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
limit: NotRequired[int]
"""
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
"""
starting_after: NotRequired[str]
"""
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.
"""
value: NotRequired[str]
"""
Return items belonging to the parent list whose value matches the specified value (using an "is like" match).
"""
value_list: str
"""
Identifier for the parent value list this item belongs to.
"""
class ValueListItemListParamsCreated(TypedDict):
gt: NotRequired[int]
"""
Minimum value to filter by (exclusive)
"""
gte: NotRequired[int]
"""
Minimum value to filter by (inclusive)
"""
lt: NotRequired[int]
"""
Maximum value to filter by (exclusive)
"""
lte: NotRequired[int]
"""
Maximum value to filter by (inclusive)
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class ValueListItemRetrieveParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,55 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired, TypedDict
class ValueListListParams(RequestOptions):
alias: NotRequired[str]
"""
The alias used to reference the value list when writing rules.
"""
contains: NotRequired[str]
"""
A value contained within a value list - returns all value lists containing this value.
"""
created: NotRequired["ValueListListParamsCreated|int"]
"""
Only return value lists that were created during the given date interval.
"""
ending_before: NotRequired[str]
"""
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.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
limit: NotRequired[int]
"""
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
"""
starting_after: NotRequired[str]
"""
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.
"""
class ValueListListParamsCreated(TypedDict):
gt: NotRequired[int]
"""
Minimum value to filter by (exclusive)
"""
gte: NotRequired[int]
"""
Minimum value to filter by (inclusive)
"""
lt: NotRequired[int]
"""
Maximum value to filter by (exclusive)
"""
lte: NotRequired[int]
"""
Maximum value to filter by (inclusive)
"""

View File

@@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import Dict, List
from typing_extensions import NotRequired
class ValueListModifyParams(RequestOptions):
alias: NotRequired[str]
"""
The name of the value list for use in rules.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
metadata: NotRequired[Dict[str, str]]
"""
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
"""
name: NotRequired[str]
"""
The human-readable name of the value list.
"""

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._request_options import RequestOptions
from typing import List
from typing_extensions import NotRequired
class ValueListRetrieveParams(RequestOptions):
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""

View File

@@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from typing import Dict, List
from typing_extensions import NotRequired, TypedDict
class ValueListUpdateParams(TypedDict):
alias: NotRequired[str]
"""
The name of the value list for use in rules.
"""
expand: NotRequired[List[str]]
"""
Specifies which fields in the response should be expanded.
"""
metadata: NotRequired[Dict[str, str]]
"""
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
"""
name: NotRequired[str]
"""
The human-readable name of the value list.
"""