diff --git a/.fern/metadata.json b/.fern/metadata.json index dd935984c..72e2f23ef 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -15,7 +15,7 @@ "standardwebhooks": ">=1.0.1,<2" } }, - "originGitCommit": "ecad5a5d0f90b1f058f39ae980c200701e10e3e1", + "originGitCommit": "da70fa1e40946a965238d445a51e71c3b9bbef76", "originGitCommitIsDirty": false, "invokedBy": "ci", "requestedVersion": "2.8.1", diff --git a/.fern/replay.lock b/.fern/replay.lock index 41ffdf9b5..448b4ba78 100644 --- a/.fern/replay.lock +++ b/.fern/replay.lock @@ -5328,5 +5328,11 @@ generations: cli_version: unknown generator_versions: fernapi/fern-python-sdk: 5.39.2 -current_generation: efcf914cd78fa9b854685f39988e3228e039b629 + - commit_sha: 154070e39ce94b636a42e65725bbdef7da15ebb9 + tree_hash: 5d68290be65de564af4b7a490caacc170f202648 + timestamp: 2026-11-16T22:01:15.240Z + cli_version: unknown + generator_versions: + fernapi/fern-python-sdk: 5.39.2 +current_generation: 154070e39ce94b636a42e65725bbdef7da15ebb9 patches: [] diff --git a/reference.md b/reference.md index 8d35a6b18..badc40941 100644 --- a/reference.md +++ b/reference.md @@ -29309,7 +29309,7 @@ client.members.list(
-**order:** `typing.Optional[ListMembersRequestOrder]` — Sort field. `most_recent_action_at` and `last_activity_at` place members without one first when ascending and last when descending. +**order:** `typing.Optional[ListMembersRequestOrder]` — Sort field. `most_recent_action_at` and `last_activity_at` place members without one first when ascending and last when descending. `needs_reply` lists customers awaiting a support reply first, ordered by their latest qualifying message. Other members follow in last-activity order. Direction applies within each group. Requires `support_chat:read`.
diff --git a/src/whop_sdk/members/client.py b/src/whop_sdk/members/client.py index 366ef8054..958ceeb6e 100644 --- a/src/whop_sdk/members/client.py +++ b/src/whop_sdk/members/client.py @@ -114,7 +114,7 @@ def list( Only members who joined before this ISO 8601 timestamp. order : typing.Optional[ListMembersRequestOrder] - Sort field. `most_recent_action_at` and `last_activity_at` place members without one first when ascending and last when descending. + Sort field. `most_recent_action_at` and `last_activity_at` place members without one first when ascending and last when descending. `needs_reply` lists customers awaiting a support reply first, ordered by their latest qualifying message. Other members follow in last-activity order. Direction applies within each group. Requires `support_chat:read`. direction : typing.Optional[ListMembersRequestDirection] Sort direction. @@ -460,7 +460,7 @@ async def list( Only members who joined before this ISO 8601 timestamp. order : typing.Optional[ListMembersRequestOrder] - Sort field. `most_recent_action_at` and `last_activity_at` place members without one first when ascending and last when descending. + Sort field. `most_recent_action_at` and `last_activity_at` place members without one first when ascending and last when descending. `needs_reply` lists customers awaiting a support reply first, ordered by their latest qualifying message. Other members follow in last-activity order. Direction applies within each group. Requires `support_chat:read`. direction : typing.Optional[ListMembersRequestDirection] Sort direction. diff --git a/src/whop_sdk/members/raw_client.py b/src/whop_sdk/members/raw_client.py index 173d9ba1e..62bfc4b93 100644 --- a/src/whop_sdk/members/raw_client.py +++ b/src/whop_sdk/members/raw_client.py @@ -107,7 +107,7 @@ def list( Only members who joined before this ISO 8601 timestamp. order : typing.Optional[ListMembersRequestOrder] - Sort field. `most_recent_action_at` and `last_activity_at` place members without one first when ascending and last when descending. + Sort field. `most_recent_action_at` and `last_activity_at` place members without one first when ascending and last when descending. `needs_reply` lists customers awaiting a support reply first, ordered by their latest qualifying message. Other members follow in last-activity order. Direction applies within each group. Requires `support_chat:read`. direction : typing.Optional[ListMembersRequestDirection] Sort direction. @@ -669,7 +669,7 @@ async def list( Only members who joined before this ISO 8601 timestamp. order : typing.Optional[ListMembersRequestOrder] - Sort field. `most_recent_action_at` and `last_activity_at` place members without one first when ascending and last when descending. + Sort field. `most_recent_action_at` and `last_activity_at` place members without one first when ascending and last when descending. `needs_reply` lists customers awaiting a support reply first, ordered by their latest qualifying message. Other members follow in last-activity order. Direction applies within each group. Requires `support_chat:read`. direction : typing.Optional[ListMembersRequestDirection] Sort direction. diff --git a/src/whop_sdk/members/types/list_members_request_order.py b/src/whop_sdk/members/types/list_members_request_order.py index 5033315c1..422b081d3 100644 --- a/src/whop_sdk/members/types/list_members_request_order.py +++ b/src/whop_sdk/members/types/list_members_request_order.py @@ -4,7 +4,13 @@ ListMembersRequestOrder = typing.Union[ typing.Literal[ - "created_at", "joined_at", "last_accessed_at", "last_activity_at", "most_recent_action_at", "usd_total_spent" + "created_at", + "joined_at", + "last_accessed_at", + "last_activity_at", + "most_recent_action_at", + "usd_total_spent", + "needs_reply", ], typing.Any, ]