From 16f7a029c29094a976909783427fc4cb2b90d542 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 25 Sep 2026 18:47:34 +0000 Subject: [PATCH 1/2] [fern-generated] Update SDK Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 5.28.0 --- .fern/metadata.json | 2 +- reference.md | 2 +- src/whop_sdk/disputes/client.py | 4 ++-- src/whop_sdk/disputes/raw_client.py | 4 ++-- .../types/list_disputes_request_status_item.py | 12 +++++++++++- .../types/summary_disputes_request_status_item.py | 12 +++++++++++- .../summary_disputes_response_groups_status.py | 3 +++ src/whop_sdk/types/dispute.py | 2 +- src/whop_sdk/types/dispute_status.py | 14 +++++++++++++- 9 files changed, 45 insertions(+), 10 deletions(-) diff --git a/.fern/metadata.json b/.fern/metadata.json index 41f925f6e..5012424d0 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -15,7 +15,7 @@ "standardwebhooks": ">=1.0.1,<2" } }, - "originGitCommit": "0c5b4feddaeb1a84823edea6fa71e78ffc5fa673", + "originGitCommit": "ceb022c72b137db1e3e81f33c39fea074f6bd77a", "originGitCommitIsDirty": false, "invokedBy": "ci", "requestedVersion": "2.0.0", diff --git a/reference.md b/reference.md index 5c5d4280f..28821252a 100644 --- a/reference.md +++ b/reference.md @@ -15901,7 +15901,7 @@ client.disputes.list()
-**status:** `typing.Optional[typing.Union[ListDisputesRequestStatusItem, typing.Sequence[ListDisputesRequestStatusItem]]]` — Only disputes in these statuses. Repeat the parameter to pass several — one paginated list covers all of them. Covers both chargebacks and inquiries at each stage. A `needs_response` dispute whose evidence deadline has passed reports and filters as `under_review` instead. +**status:** `typing.Optional[typing.Union[ListDisputesRequestStatusItem, typing.Sequence[ListDisputesRequestStatusItem]]]` — Only disputes in these statuses. Repeat the parameter to pass several — one paginated list covers all of them. Inquiries match only the `warning_` statuses. A `needs_response` dispute whose evidence deadline has passed reports and filters as `under_review` instead.
diff --git a/src/whop_sdk/disputes/client.py b/src/whop_sdk/disputes/client.py index 483041e71..103f0237c 100644 --- a/src/whop_sdk/disputes/client.py +++ b/src/whop_sdk/disputes/client.py @@ -81,7 +81,7 @@ def list( Sort direction. status : typing.Optional[typing.Union[ListDisputesRequestStatusItem, typing.Sequence[ListDisputesRequestStatusItem]]] - Only disputes in these statuses. Repeat the parameter to pass several — one paginated list covers all of them. Covers both chargebacks and inquiries at each stage. A `needs_response` dispute whose evidence deadline has passed reports and filters as `under_review` instead. + Only disputes in these statuses. Repeat the parameter to pass several — one paginated list covers all of them. Inquiries match only the `warning_` statuses. A `needs_response` dispute whose evidence deadline has passed reports and filters as `under_review` instead. currency : typing.Optional[str] Only disputes in this three-letter ISO currency. @@ -416,7 +416,7 @@ async def list( Sort direction. status : typing.Optional[typing.Union[ListDisputesRequestStatusItem, typing.Sequence[ListDisputesRequestStatusItem]]] - Only disputes in these statuses. Repeat the parameter to pass several — one paginated list covers all of them. Covers both chargebacks and inquiries at each stage. A `needs_response` dispute whose evidence deadline has passed reports and filters as `under_review` instead. + Only disputes in these statuses. Repeat the parameter to pass several — one paginated list covers all of them. Inquiries match only the `warning_` statuses. A `needs_response` dispute whose evidence deadline has passed reports and filters as `under_review` instead. currency : typing.Optional[str] Only disputes in this three-letter ISO currency. diff --git a/src/whop_sdk/disputes/raw_client.py b/src/whop_sdk/disputes/raw_client.py index 821ed6725..a871e9662 100644 --- a/src/whop_sdk/disputes/raw_client.py +++ b/src/whop_sdk/disputes/raw_client.py @@ -83,7 +83,7 @@ def list( Sort direction. status : typing.Optional[typing.Union[ListDisputesRequestStatusItem, typing.Sequence[ListDisputesRequestStatusItem]]] - Only disputes in these statuses. Repeat the parameter to pass several — one paginated list covers all of them. Covers both chargebacks and inquiries at each stage. A `needs_response` dispute whose evidence deadline has passed reports and filters as `under_review` instead. + Only disputes in these statuses. Repeat the parameter to pass several — one paginated list covers all of them. Inquiries match only the `warning_` statuses. A `needs_response` dispute whose evidence deadline has passed reports and filters as `under_review` instead. currency : typing.Optional[str] Only disputes in this three-letter ISO currency. @@ -693,7 +693,7 @@ async def list( Sort direction. status : typing.Optional[typing.Union[ListDisputesRequestStatusItem, typing.Sequence[ListDisputesRequestStatusItem]]] - Only disputes in these statuses. Repeat the parameter to pass several — one paginated list covers all of them. Covers both chargebacks and inquiries at each stage. A `needs_response` dispute whose evidence deadline has passed reports and filters as `under_review` instead. + Only disputes in these statuses. Repeat the parameter to pass several — one paginated list covers all of them. Inquiries match only the `warning_` statuses. A `needs_response` dispute whose evidence deadline has passed reports and filters as `under_review` instead. currency : typing.Optional[str] Only disputes in this three-letter ISO currency. diff --git a/src/whop_sdk/disputes/types/list_disputes_request_status_item.py b/src/whop_sdk/disputes/types/list_disputes_request_status_item.py index dc1d568db..6793b76db 100644 --- a/src/whop_sdk/disputes/types/list_disputes_request_status_item.py +++ b/src/whop_sdk/disputes/types/list_disputes_request_status_item.py @@ -3,5 +3,15 @@ import typing ListDisputesRequestStatusItem = typing.Union[ - typing.Literal["needs_response", "under_review", "won", "lost", "closed"], typing.Any + typing.Literal[ + "needs_response", + "warning_needs_response", + "under_review", + "warning_under_review", + "won", + "lost", + "closed", + "warning_closed", + ], + typing.Any, ] diff --git a/src/whop_sdk/disputes/types/summary_disputes_request_status_item.py b/src/whop_sdk/disputes/types/summary_disputes_request_status_item.py index fbb49781b..e5c17fb10 100644 --- a/src/whop_sdk/disputes/types/summary_disputes_request_status_item.py +++ b/src/whop_sdk/disputes/types/summary_disputes_request_status_item.py @@ -3,5 +3,15 @@ import typing SummaryDisputesRequestStatusItem = typing.Union[ - typing.Literal["needs_response", "under_review", "won", "lost", "closed"], typing.Any + typing.Literal[ + "needs_response", + "warning_needs_response", + "under_review", + "warning_under_review", + "won", + "lost", + "closed", + "warning_closed", + ], + typing.Any, ] diff --git a/src/whop_sdk/disputes/types/summary_disputes_response_groups_status.py b/src/whop_sdk/disputes/types/summary_disputes_response_groups_status.py index 7c892dc21..2be5090c0 100644 --- a/src/whop_sdk/disputes/types/summary_disputes_response_groups_status.py +++ b/src/whop_sdk/disputes/types/summary_disputes_response_groups_status.py @@ -15,6 +15,9 @@ class SummaryDisputesResponseGroupsStatus(UniversalBaseModel): lost: int needs_response: int under_review: int + warning_closed: int + warning_needs_response: int + warning_under_review: int won: int if IS_PYDANTIC_V2: diff --git a/src/whop_sdk/types/dispute.py b/src/whop_sdk/types/dispute.py index 054313269..6a6f918f0 100644 --- a/src/whop_sdk/types/dispute.py +++ b/src/whop_sdk/types/dispute.py @@ -104,7 +104,7 @@ class Dispute(UniversalBaseModel): status: DisputeStatus = pydantic.Field() """ - Where the dispute stands. `needs_response` is awaiting evidence, `under_review` is with the processor, `won` returned the funds to the seller, `lost` returned them to the customer, and `closed` ended without a ruling. A dispute past its `evidence_due_at` reports `under_review` — the window to respond has closed. + Where the dispute stands. `needs_response` is awaiting evidence, `under_review` is with the processor, `won` returned the funds to the seller, `lost` returned them to the customer, and `closed` ended without a ruling. The `warning_` statuses are the same stages for an inquiry, which moves no funds. A dispute past its `evidence_due_at` reports `under_review` — the window to respond has closed. """ updated_at: str = pydantic.Field() diff --git a/src/whop_sdk/types/dispute_status.py b/src/whop_sdk/types/dispute_status.py index 11929dc24..8433a0c98 100644 --- a/src/whop_sdk/types/dispute_status.py +++ b/src/whop_sdk/types/dispute_status.py @@ -2,4 +2,16 @@ import typing -DisputeStatus = typing.Union[typing.Literal["needs_response", "under_review", "won", "lost", "closed"], typing.Any] +DisputeStatus = typing.Union[ + typing.Literal[ + "needs_response", + "warning_needs_response", + "under_review", + "warning_under_review", + "won", + "lost", + "closed", + "warning_closed", + ], + typing.Any, +] From cb2013ae2c0a69904234402fdf64befe0fb7e250 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 25 Sep 2026 18:47:35 +0000 Subject: [PATCH 2/2] [fern-replay] advance lockfile --- .fern/replay.lock | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.fern/replay.lock b/.fern/replay.lock index a68993953..a171964cb 100644 --- a/.fern/replay.lock +++ b/.fern/replay.lock @@ -1236,5 +1236,11 @@ generations: cli_version: unknown generator_versions: fernapi/fern-python-sdk: 5.28.0 -current_generation: dac7f88f0d6dbe75cafd45223b58c997ff3f348b + - commit_sha: 509f9f6905b8102955f8b17263f47074d0cb8b3e + tree_hash: b0368a07530a44fd73e71e25ff6aa6cbb8418112 + timestamp: 2026-09-25T18:47:31.152Z + cli_version: unknown + generator_versions: + fernapi/fern-python-sdk: 5.28.0 +current_generation: 509f9f6905b8102955f8b17263f47074d0cb8b3e patches: []