From c2cbb797aa72c5bab30202c83b64593e482378f5 Mon Sep 17 00:00:00 2001 From: "stripe-openapi[bot]" <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 23:38:07 +0000 Subject: [PATCH] Update generated code (#1161) * Update generated code for v708 * Update generated code for v709 * Update generated code for v709 * Update generated code for v710 * Update generated code for v711 * Update generated code for v712 * Update generated code for v714 * Update generated code for v714 * Update generated code for v715 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: Richard Marmorstein <52928443+richardm-stripe@users.noreply.github.com> --- OPENAPI_VERSION | 2 +- stripe/_account_session.py | 3 -- stripe/_invoice.py | 8 ++-- stripe/_payment_intent.py | 6 +++ stripe/_payment_link.py | 63 +++++++++++++++++++++++++ stripe/_payment_method_configuration.py | 58 +++++++++++------------ stripe/checkout/_session.py | 51 ++++++++++++++++++++ stripe/issuing/_authorization.py | 2 +- stripe/radar/_early_fraud_warning.py | 30 +++++++++++- 9 files changed, 184 insertions(+), 39 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 55d0a33c4..4dcad4de2 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v704 \ No newline at end of file +v715 \ No newline at end of file diff --git a/stripe/_account_session.py b/stripe/_account_session.py index ba922589a..16d74bd26 100644 --- a/stripe/_account_session.py +++ b/stripe/_account_session.py @@ -142,9 +142,6 @@ class CreateParamsComponentsPayouts(TypedDict): features: NotRequired[ "AccountSession.CreateParamsComponentsPayoutsFeatures" ] - """ - The list of features enabled in the embedded component. - """ class CreateParamsComponentsPayoutsFeatures(TypedDict): pass diff --git a/stripe/_invoice.py b/stripe/_invoice.py index be0b1ad39..88d01e9f2 100644 --- a/stripe/_invoice.py +++ b/stripe/_invoice.py @@ -2224,7 +2224,7 @@ class UpcomingParams(RequestOptions): """ subscription_cancel_at: NotRequired["Literal['']|int"] """ - Timestamp indicating when the subscription should be scheduled to cancel. Will prorate if within the current period and prorations have been enabled using `proration_behavior`. + A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period. """ subscription_cancel_at_period_end: NotRequired["bool"] """ @@ -2260,7 +2260,7 @@ class UpcomingParams(RequestOptions): """ subscription_start_date: NotRequired["int"] """ - Date a subscription is intended to start (can be future or past) + Date a subscription is intended to start (can be future or past). """ subscription_trial_end: NotRequired["Literal['now']|int"] """ @@ -2737,7 +2737,7 @@ class UpcomingLinesParams(RequestOptions): """ subscription_cancel_at: NotRequired["Literal['']|int"] """ - Timestamp indicating when the subscription should be scheduled to cancel. Will prorate if within the current period and prorations have been enabled using `proration_behavior`. + A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period. """ subscription_cancel_at_period_end: NotRequired["bool"] """ @@ -2773,7 +2773,7 @@ class UpcomingLinesParams(RequestOptions): """ subscription_start_date: NotRequired["int"] """ - Date a subscription is intended to start (can be future or past) + Date a subscription is intended to start (can be future or past). """ subscription_trial_end: NotRequired["Literal['now']|int"] """ diff --git a/stripe/_payment_intent.py b/stripe/_payment_intent.py index 605401f77..de5cc9da9 100644 --- a/stripe/_payment_intent.py +++ b/stripe/_payment_intent.py @@ -3679,6 +3679,9 @@ class CreateParams(RequestOptions): Set to `true` to attempt to [confirm this PaymentIntent](https://stripe.com/docs/api/payment_intents/confirm) this PaymentIntent immediately. This parameter defaults to `false`. When creating and confirming a PaymentIntent at the same time, you can also provide the parameters available in the [Confirm API](https://stripe.com/docs/api/payment_intents/confirm). """ confirmation_method: NotRequired["Literal['automatic', 'manual']"] + """ + Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment. + """ currency: str """ Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). @@ -7496,6 +7499,9 @@ class SearchParams(RequestOptions): Refer to our docs to [accept a payment](https://stripe.com/docs/payments/accept-a-payment?ui=elements) and learn about how `client_secret` should be handled. """ confirmation_method: Literal["automatic", "manual"] + """ + Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment. + """ created: int """ Time at which the object was created. Measured in seconds since the Unix epoch. diff --git a/stripe/_payment_link.py b/stripe/_payment_link.py index 4bd757fb6..db344fef4 100644 --- a/stripe/_payment_link.py +++ b/stripe/_payment_link.py @@ -73,6 +73,18 @@ class AutomaticTax(StripeObject): """ class ConsentCollection(StripeObject): + class PaymentMethodReuseAgreement(StripeObject): + position: Literal["auto", "hidden"] + """ + Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's defaults will be used. + + When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. + """ + + payment_method_reuse_agreement: Optional[PaymentMethodReuseAgreement] + """ + Settings related to the payment method reuse text shown in the Checkout UI. + """ promotions: Optional[Literal["auto", "none"]] """ If set to `auto`, enables the collection of customer consent for promotional communications. @@ -81,6 +93,9 @@ class ConsentCollection(StripeObject): """ If set to `required`, it requires cutomers to accept the terms of service before being able to pay. If set to `none`, customers won't be shown a checkbox to accept the terms of service. """ + _inner_class_types = { + "payment_method_reuse_agreement": PaymentMethodReuseAgreement, + } class CustomField(StripeObject): class Dropdown(StripeObject): @@ -154,6 +169,12 @@ class Text(StripeObject): } class CustomText(StripeObject): + class AfterSubmit(StripeObject): + message: str + """ + Text may be up to 1200 characters in length. + """ + class ShippingAddress(StripeObject): message: str """ @@ -172,6 +193,10 @@ class TermsOfServiceAcceptance(StripeObject): Text may be up to 1200 characters in length. """ + after_submit: Optional[AfterSubmit] + """ + Custom text that should be displayed after the payment confirmation button. + """ shipping_address: Optional[ShippingAddress] """ Custom text that should be displayed alongside shipping address collection. @@ -185,6 +210,7 @@ class TermsOfServiceAcceptance(StripeObject): Custom text that should be displayed in place of the default terms of service agreement text. """ _inner_class_types = { + "after_submit": AfterSubmit, "shipping_address": ShippingAddress, "submit": Submit, "terms_of_service_acceptance": TermsOfServiceAcceptance, @@ -1202,6 +1228,12 @@ class CreateParamsInvoiceCreationInvoiceDataCustomField(TypedDict): """ class CreateParamsCustomText(TypedDict): + after_submit: NotRequired[ + "Literal['']|PaymentLink.CreateParamsCustomTextAfterSubmit" + ] + """ + Custom text that should be displayed after the payment confirmation button. + """ shipping_address: NotRequired[ "Literal['']|PaymentLink.CreateParamsCustomTextShippingAddress" ] @@ -1239,6 +1271,12 @@ class CreateParamsCustomTextShippingAddress(TypedDict): Text may be up to 1200 characters in length. """ + class CreateParamsCustomTextAfterSubmit(TypedDict): + message: str + """ + Text may be up to 1200 characters in length. + """ + class CreateParamsCustomField(TypedDict): dropdown: NotRequired["PaymentLink.CreateParamsCustomFieldDropdown"] """ @@ -1316,6 +1354,12 @@ class CreateParamsCustomFieldDropdownOption(TypedDict): """ class CreateParamsConsentCollection(TypedDict): + payment_method_reuse_agreement: NotRequired[ + "PaymentLink.CreateParamsConsentCollectionPaymentMethodReuseAgreement" + ] + """ + Determines the display of payment method reuse agreement text in the UI. If set to `hidden`, it will hide legal text related to the reuse of a payment method. + """ promotions: NotRequired["Literal['auto', 'none']"] """ If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout @@ -1328,6 +1372,13 @@ class CreateParamsConsentCollection(TypedDict): There must be a valid terms of service URL set in your [Dashboard settings](https://dashboard.stripe.com/settings/public). """ + class CreateParamsConsentCollectionPaymentMethodReuseAgreement(TypedDict): + position: Literal["auto", "hidden"] + """ + Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's + defaults will be used. When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. + """ + class CreateParamsAutomaticTax(TypedDict): enabled: bool """ @@ -1900,6 +1951,12 @@ class ModifyParamsInvoiceCreationInvoiceDataCustomField(TypedDict): """ class ModifyParamsCustomText(TypedDict): + after_submit: NotRequired[ + "Literal['']|PaymentLink.ModifyParamsCustomTextAfterSubmit" + ] + """ + Custom text that should be displayed after the payment confirmation button. + """ shipping_address: NotRequired[ "Literal['']|PaymentLink.ModifyParamsCustomTextShippingAddress" ] @@ -1937,6 +1994,12 @@ class ModifyParamsCustomTextShippingAddress(TypedDict): Text may be up to 1200 characters in length. """ + class ModifyParamsCustomTextAfterSubmit(TypedDict): + message: str + """ + Text may be up to 1200 characters in length. + """ + class ModifyParamsCustomField(TypedDict): dropdown: NotRequired["PaymentLink.ModifyParamsCustomFieldDropdown"] """ diff --git a/stripe/_payment_method_configuration.py b/stripe/_payment_method_configuration.py index 51f5ae4e5..53c31f4eb 100644 --- a/stripe/_payment_method_configuration.py +++ b/stripe/_payment_method_configuration.py @@ -433,7 +433,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class IdBankTransfer(StripeObject): + class Ideal(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -455,7 +455,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class Ideal(StripeObject): + class Jcb(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -477,7 +477,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class Jcb(StripeObject): + class Klarna(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -499,7 +499,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class Klarna(StripeObject): + class Konbini(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -521,7 +521,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class Konbini(StripeObject): + class Link(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -543,7 +543,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class Link(StripeObject): + class Oxxo(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -565,7 +565,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class Multibanco(StripeObject): + class P24(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -587,7 +587,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class Netbanking(StripeObject): + class Paynow(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -609,7 +609,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class Oxxo(StripeObject): + class Paypal(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -631,7 +631,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class P24(StripeObject): + class Promptpay(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -653,7 +653,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class PayByBank(StripeObject): + class SepaDebit(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -675,7 +675,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class Paynow(StripeObject): + class Sofort(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -697,7 +697,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class Paypal(StripeObject): + class UsBankAccount(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -719,7 +719,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class Promptpay(StripeObject): + class WechatPay(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -741,7 +741,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class SepaDebit(StripeObject): + class IdBankTransfer(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -763,7 +763,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class Sofort(StripeObject): + class Multibanco(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -785,7 +785,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class Upi(StripeObject): + class Netbanking(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -807,7 +807,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class UsBankAccount(StripeObject): + class PayByBank(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -829,7 +829,7 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class WechatPay(StripeObject): + class Upi(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] """ @@ -2165,7 +2165,6 @@ class RetrieveParams(RequestOptions): """ Unique identifier for the object. """ - id_bank_transfer: Optional[IdBankTransfer] ideal: Optional[Ideal] is_default: bool """ @@ -2179,12 +2178,10 @@ class RetrieveParams(RequestOptions): """ Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. """ - multibanco: Optional[Multibanco] name: str """ The configuration's name. """ - netbanking: Optional[Netbanking] object: Literal["payment_method_configuration"] """ String representing the object's type. Objects of the same type share the same value. @@ -2195,15 +2192,18 @@ class RetrieveParams(RequestOptions): """ For child configs, the configuration's parent configuration. """ - pay_by_bank: Optional[PayByBank] paynow: Optional[Paynow] paypal: Optional[Paypal] promptpay: Optional[Promptpay] sepa_debit: Optional[SepaDebit] sofort: Optional[Sofort] - upi: Optional[Upi] us_bank_account: Optional[UsBankAccount] wechat_pay: Optional[WechatPay] + id_bank_transfer: Optional[IdBankTransfer] + multibanco: Optional[Multibanco] + netbanking: Optional[Netbanking] + pay_by_bank: Optional[PayByBank] + upi: Optional[Upi] @classmethod def create( @@ -2309,23 +2309,23 @@ def retrieve( "giropay": Giropay, "google_pay": GooglePay, "grabpay": Grabpay, - "id_bank_transfer": IdBankTransfer, "ideal": Ideal, "jcb": Jcb, "klarna": Klarna, "konbini": Konbini, "link": Link, - "multibanco": Multibanco, - "netbanking": Netbanking, "oxxo": Oxxo, "p24": P24, - "pay_by_bank": PayByBank, "paynow": Paynow, "paypal": Paypal, "promptpay": Promptpay, "sepa_debit": SepaDebit, "sofort": Sofort, - "upi": Upi, "us_bank_account": UsBankAccount, "wechat_pay": WechatPay, + "id_bank_transfer": IdBankTransfer, + "multibanco": Multibanco, + "netbanking": Netbanking, + "pay_by_bank": PayByBank, + "upi": Upi, } diff --git a/stripe/checkout/_session.py b/stripe/checkout/_session.py index 0a9a88a02..89b584aef 100644 --- a/stripe/checkout/_session.py +++ b/stripe/checkout/_session.py @@ -104,6 +104,18 @@ class Consent(StripeObject): """ class ConsentCollection(StripeObject): + class PaymentMethodReuseAgreement(StripeObject): + position: Literal["auto", "hidden"] + """ + Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's defaults will be used. + + When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. + """ + + payment_method_reuse_agreement: Optional[PaymentMethodReuseAgreement] + """ + If set to `hidden`, it will hide legal text related to the reuse of a payment method. + """ promotions: Optional[Literal["auto", "none"]] """ If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout @@ -114,6 +126,9 @@ class ConsentCollection(StripeObject): """ If set to `required`, it requires customers to accept the terms of service before being able to pay. """ + _inner_class_types = { + "payment_method_reuse_agreement": PaymentMethodReuseAgreement, + } class CurrencyConversion(StripeObject): amount_subtotal: int @@ -217,6 +232,12 @@ class Text(StripeObject): } class CustomText(StripeObject): + class AfterSubmit(StripeObject): + message: str + """ + Text may be up to 1200 characters in length. + """ + class ShippingAddress(StripeObject): message: str """ @@ -235,6 +256,10 @@ class TermsOfServiceAcceptance(StripeObject): Text may be up to 1200 characters in length. """ + after_submit: Optional[AfterSubmit] + """ + Custom text that should be displayed after the payment confirmation button. + """ shipping_address: Optional[ShippingAddress] """ Custom text that should be displayed alongside shipping address collection. @@ -248,6 +273,7 @@ class TermsOfServiceAcceptance(StripeObject): Custom text that should be displayed in place of the default terms of service agreement text. """ _inner_class_types = { + "after_submit": AfterSubmit, "shipping_address": ShippingAddress, "submit": Submit, "terms_of_service_acceptance": TermsOfServiceAcceptance, @@ -3050,6 +3076,12 @@ class CreateParamsCustomerUpdate(TypedDict): """ class CreateParamsCustomText(TypedDict): + after_submit: NotRequired[ + "Literal['']|Session.CreateParamsCustomTextAfterSubmit" + ] + """ + Custom text that should be displayed after the payment confirmation button. + """ shipping_address: NotRequired[ "Literal['']|Session.CreateParamsCustomTextShippingAddress" ] @@ -3085,6 +3117,12 @@ class CreateParamsCustomTextShippingAddress(TypedDict): Text may be up to 1200 characters in length. """ + class CreateParamsCustomTextAfterSubmit(TypedDict): + message: str + """ + Text may be up to 1200 characters in length. + """ + class CreateParamsCustomField(TypedDict): dropdown: NotRequired["Session.CreateParamsCustomFieldDropdown"] """ @@ -3162,6 +3200,12 @@ class CreateParamsCustomFieldDropdownOption(TypedDict): """ class CreateParamsConsentCollection(TypedDict): + payment_method_reuse_agreement: NotRequired[ + "Session.CreateParamsConsentCollectionPaymentMethodReuseAgreement" + ] + """ + Determines the display of payment method reuse agreement text in the UI. If set to `hidden`, it will hide legal text related to the reuse of a payment method. + """ promotions: NotRequired["Literal['auto', 'none']"] """ If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout @@ -3174,6 +3218,13 @@ class CreateParamsConsentCollection(TypedDict): There must be a valid terms of service URL set in your [Dashboard settings](https://dashboard.stripe.com/settings/public). """ + class CreateParamsConsentCollectionPaymentMethodReuseAgreement(TypedDict): + position: Literal["auto", "hidden"] + """ + Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's + defaults will be used. When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. + """ + class CreateParamsAutomaticTax(TypedDict): enabled: bool """ diff --git a/stripe/issuing/_authorization.py b/stripe/issuing/_authorization.py index 7b3cdc628..3d8dcec4c 100644 --- a/stripe/issuing/_authorization.py +++ b/stripe/issuing/_authorization.py @@ -520,7 +520,7 @@ class CaptureParamsPurchaseDetailsFlightSegment(TypedDict): class CreateParams(RequestOptions): amount: int """ - The total amount to attempt to authorize. This amount is in the provided currency, or defaults to the cards currency, and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). + The total amount to attempt to authorize. This amount is in the provided currency, or defaults to the card's currency, and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). """ amount_details: NotRequired["Authorization.CreateParamsAmountDetails"] """ diff --git a/stripe/radar/_early_fraud_warning.py b/stripe/radar/_early_fraud_warning.py index b53ed7a1f..28f883e99 100644 --- a/stripe/radar/_early_fraud_warning.py +++ b/stripe/radar/_early_fraud_warning.py @@ -5,7 +5,13 @@ from stripe._listable_api_resource import ListableAPIResource from stripe._request_options import RequestOptions from typing import ClassVar, List, Optional -from typing_extensions import Literal, NotRequired, Unpack, TYPE_CHECKING +from typing_extensions import ( + Literal, + NotRequired, + TypedDict, + Unpack, + TYPE_CHECKING, +) if TYPE_CHECKING: from stripe._charge import Charge @@ -29,6 +35,10 @@ class ListParams(RequestOptions): """ Only return early fraud warnings for the charge specified by this charge ID. """ + created: NotRequired["EarlyFraudWarning.ListParamsCreated|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. @@ -50,6 +60,24 @@ class ListParams(RequestOptions): 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 ListParamsCreated(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) + """ + class RetrieveParams(RequestOptions): expand: NotRequired["List[str]"] """