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": "b84de18966f48aec68d6e24ca19cf22a5afe0a9f",
"originGitCommit": "2a5a62ebdcc45ec9f3179633b5089b0f6aad5005",
"originGitCommitIsDirty": false,
"invokedBy": "ci",
"requestedVersion": "2.2.0",
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.

10 changes: 10 additions & 0 deletions src/whop_sdk/types/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,16 @@ class User(UniversalBaseModel):
When the user became an enrolled Whop Partner, as an ISO 8601 timestamp. `null` if never enrolled.
"""

whop_partner_onboarded_accounts_count: typing.Optional[int] = pydantic.Field(default=None)
"""
Number of accounts the user referred to Whop as a Whop Partner that have processed more than $1 in volume attributed to the user. Populated only when retrieving a single user who is a Verified Whop Partner; `null` otherwise.
"""

whop_partner_verified_at: typing.Optional[str] = pydantic.Field(default=None)
"""
When the user became a Verified Whop Partner, as an ISO 8601 timestamp. `null` for users who are not Verified Whop Partners, including partners who left the program and suspended users.
"""

if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
else:
Expand Down
Loading