diff --git a/.fern/metadata.json b/.fern/metadata.json index 772ca625c..8e9404066 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -15,7 +15,7 @@ "standardwebhooks": ">=1.0.1,<2" } }, - "originGitCommit": "f7cde5506d2791bbd0c2529a3db673aff245364a", + "originGitCommit": "70f1d0d2a2240f8ab315d8db1d2e22e2966d0fa8", "originGitCommitIsDirty": false, "invokedBy": "ci", "requestedVersion": "2.8.1", diff --git a/.fern/replay.lock b/.fern/replay.lock index 13eb00bb6..e1d49834e 100644 --- a/.fern/replay.lock +++ b/.fern/replay.lock @@ -6006,5 +6006,11 @@ generations: cli_version: unknown generator_versions: fernapi/fern-python-sdk: 5.39.2 -current_generation: 3e52dab8e856349a1818175eb571fe5fe5412fad + - commit_sha: 0bccde95a84a3173cae02895fd75af484197cef1 + tree_hash: f4460ce0d30b8e1ae307241342bb3e270ac64961 + timestamp: 2026-11-22T07:22:39.085Z + cli_version: unknown + generator_versions: + fernapi/fern-python-sdk: 5.39.2 +current_generation: 0bccde95a84a3173cae02895fd75af484197cef1 patches: [] diff --git a/src/whop_sdk/financial_activity/types/list_financial_activity_request_line_types_item.py b/src/whop_sdk/financial_activity/types/list_financial_activity_request_line_types_item.py index a54ad6604..a5d036aac 100644 --- a/src/whop_sdk/financial_activity/types/list_financial_activity_request_line_types_item.py +++ b/src/whop_sdk/financial_activity/types/list_financial_activity_request_line_types_item.py @@ -6,8 +6,11 @@ typing.Literal[ "account_settlement", "ad_affiliate_payout_received", + "ad_balance_funding_receipt", "ad_budget_release", "ad_campaign_budget", + "ad_funding_disbursement", + "ad_income_receipt", "ad_publisher_payout", "ad_publisher_payout_received", "ad_spend_charge", diff --git a/src/whop_sdk/financial_reports/types/retrieve_financial_reports_request_line_types_item.py b/src/whop_sdk/financial_reports/types/retrieve_financial_reports_request_line_types_item.py index f0728ad8e..3f1394fc5 100644 --- a/src/whop_sdk/financial_reports/types/retrieve_financial_reports_request_line_types_item.py +++ b/src/whop_sdk/financial_reports/types/retrieve_financial_reports_request_line_types_item.py @@ -6,8 +6,11 @@ typing.Literal[ "account_settlement", "ad_affiliate_payout_received", + "ad_balance_funding_receipt", "ad_budget_release", "ad_campaign_budget", + "ad_funding_disbursement", + "ad_income_receipt", "ad_publisher_payout", "ad_publisher_payout_received", "ad_spend_charge", diff --git a/src/whop_sdk/types/ledger_activity_source.py b/src/whop_sdk/types/ledger_activity_source.py index 77a5e8758..2027c8cab 100644 --- a/src/whop_sdk/types/ledger_activity_source.py +++ b/src/whop_sdk/types/ledger_activity_source.py @@ -17,6 +17,11 @@ class LedgerActivitySource(UniversalBaseModel): Source of this ledger activity. Platform markup fees use object platform_fee and the ledger activity ID. """ + account_id: typing.Optional[str] = pydantic.Field(default=None) + """ + ID of the account that runs the ad campaign (ad_campaign sources only). + """ + amount_float: typing.Optional[float] = pydantic.Field(default=None) """ Payout amount as a decimal number in the destination currency (payout sources only; requires payout:withdrawal:read). @@ -139,6 +144,11 @@ class LedgerActivitySource(UniversalBaseModel): Lifecycle status. On payout sources this is the payout status (requires payout:withdrawal:read); on airdrop_link sources it is the claim-link status (ungated); on payment and top-up sources it is the friendly payment status such as succeeded/pending/failed (ungated); on bank_deposit sources it is succeeded, reversal_in_progress or reversed (ungated). """ + title: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of the ad campaign the spend, payout, or funding belongs to (ad_campaign sources only). + """ + to_amount: typing.Optional[str] = pydantic.Field(default=None) """ Amount received in to_currency as a decimal string (swap sources only).