Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .fern/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"standardwebhooks": ">=1.0.1,<2"
}
},
"originGitCommit": "ecad5a5d0f90b1f058f39ae980c200701e10e3e1",
"originGitCommit": "da70fa1e40946a965238d445a51e71c3b9bbef76",
"originGitCommitIsDirty": false,
"invokedBy": "ci",
"requestedVersion": "2.8.1",
Expand Down
8 changes: 7 additions & 1 deletion .fern/replay.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -29309,7 +29309,7 @@ client.members.list(
<dl>
<dd>

**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`.

</dd>
</dl>
Expand Down
4 changes: 2 additions & 2 deletions src/whop_sdk/members/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions src/whop_sdk/members/raw_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
8 changes: 7 additions & 1 deletion src/whop_sdk/members/types/list_members_request_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]
Loading