From 75fc276f1d79e402be6510377559070ee969b3c0 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Sat, 15 Nov 2025 22:43:15 +0000 Subject: [PATCH 1/2] Update generated code for v2123 and --- API_VERSION | 2 +- OPENAPI_VERSION | 2 +- stripe/v2/core/_event.py | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/API_VERSION b/API_VERSION index e0ecaaa28..4abc1b1af 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -f587035a62fe3323ed42077a0526158e57a8260b \ No newline at end of file +4e44e29e54f43547d4bff8d37c18e4f8453fb18f \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 559abffe4..e67a81ed1 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2121 \ No newline at end of file +v2123 \ No newline at end of file diff --git a/stripe/v2/core/_event.py b/stripe/v2/core/_event.py index cb7ad021b..415a2879e 100644 --- a/stripe/v2/core/_event.py +++ b/stripe/v2/core/_event.py @@ -42,10 +42,6 @@ class Request(StripeObject): """ _inner_class_types = {"request": Request} - changes: Optional[Dict[str, "Any"]] - """ - Before and after changes for the primary related object. - """ context: Optional[str] """ Authentication context needed to fetch the event or related object. From 84695d234bc869a212eb624010abfa39fa60e014 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 17 Nov 2025 18:46:26 +0000 Subject: [PATCH 2/2] Update generated code for v2124 and --- API_VERSION | 2 +- OPENAPI_VERSION | 2 +- stripe/params/v2/core/__init__.py | 5 ++++ stripe/params/v2/core/_event_list_params.py | 31 +++++++++++++-------- 4 files changed, 26 insertions(+), 14 deletions(-) diff --git a/API_VERSION b/API_VERSION index 4abc1b1af..330433275 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -4e44e29e54f43547d4bff8d37c18e4f8453fb18f \ No newline at end of file +e62524b587909bee231a15ce0dc618f1d04f69a4 \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index e67a81ed1..ea1ecdee1 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2123 \ No newline at end of file +v2124 \ No newline at end of file diff --git a/stripe/params/v2/core/__init__.py b/stripe/params/v2/core/__init__.py index efc5098be..b7c384aa4 100644 --- a/stripe/params/v2/core/__init__.py +++ b/stripe/params/v2/core/__init__.py @@ -33,6 +33,7 @@ ) from stripe.params.v2.core._event_list_params import ( EventListParams as EventListParams, + EventListParamsCreated as EventListParamsCreated, ) from stripe.params.v2.core._event_retrieve_params import ( EventRetrieveParams as EventRetrieveParams, @@ -85,6 +86,10 @@ False, ), "EventListParams": ("stripe.params.v2.core._event_list_params", False), + "EventListParamsCreated": ( + "stripe.params.v2.core._event_list_params", + False, + ), "EventRetrieveParams": ( "stripe.params.v2.core._event_retrieve_params", False, diff --git a/stripe/params/v2/core/_event_list_params.py b/stripe/params/v2/core/_event_list_params.py index da7f96049..f143ef764 100644 --- a/stripe/params/v2/core/_event_list_params.py +++ b/stripe/params/v2/core/_event_list_params.py @@ -5,6 +5,25 @@ class EventListParams(TypedDict): + created: NotRequired["EventListParamsCreated"] + """ + Set of filters to query events within a range of `created` timestamps. + """ + limit: NotRequired[int] + """ + The page size. + """ + object_id: NotRequired[str] + """ + Primary object ID used to retrieve related events. + """ + types: NotRequired[List[str]] + """ + An array of up to 20 strings containing specific event names. + """ + + +class EventListParamsCreated(TypedDict): gt: NotRequired[str] """ Filter for events created after the specified timestamp. @@ -13,10 +32,6 @@ class EventListParams(TypedDict): """ Filter for events created at or after the specified timestamp. """ - limit: NotRequired[int] - """ - The page size. - """ lt: NotRequired[str] """ Filter for events created before the specified timestamp. @@ -25,11 +40,3 @@ class EventListParams(TypedDict): """ Filter for events created at or before the specified timestamp. """ - object_id: NotRequired[str] - """ - Primary object ID used to retrieve related events. - """ - types: NotRequired[List[str]] - """ - An array of up to 20 strings containing specific event names. - """