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": "34f29dde29ae4fcc5bfe3d56c7e77ceb0bd53670",
"originGitCommit": "ff13fcc8b0fead024dea04523b55138807199a75",
"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.

4 changes: 2 additions & 2 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -17888,7 +17888,7 @@ client.domains.update(
<dl>
<dd>

Lists an account's recommendations and generation requests, newest first by default. Without an account, signed-out visitors receive a business-setup template and eligible users receive their saved setup recommendation. With `has_run` and no account, users receive the recommendations run on every account they can read.
Lists an account's recommendations and generation requests, newest first by default. Without an account, signed-out visitors receive a business-setup template and eligible users receive their saved setup recommendation. With `has_run` and no account, users receive the recommendations run on every account they can read, including accounts whose Economic Intelligence is off. Executed recommendations, runs, and recommendations that were attributed stay listed after Economic Intelligence turns off. New recommendations are offered only while it is on. Visitor countries, page views, ad impressions and clicks, and payment volume for a time range come from `GET /stats/time_series/{metric}`.
</dd>
</dl>
</dd>
Expand Down Expand Up @@ -17951,7 +17951,7 @@ client.economic_intelligence.list()
<dl>
<dd>

**has_run:** `typing.Optional[bool]` — When true, only recommendations someone has started running, by any user. Without `account_id`, covers every account you can read that has Economic Intelligence. Can't be combined with `input`.
**has_run:** `typing.Optional[bool]` — When true, only recommendations someone has started running, by any user. Without `account_id`, covers every account you can read, including accounts whose Economic Intelligence is off. Can't be combined with `input`.

</dd>
</dl>
Expand Down
8 changes: 4 additions & 4 deletions src/whop_sdk/economic_intelligence/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def list(
request_options: typing.Optional[RequestOptions] = None,
) -> SyncPager[EconomicIntelligence, ListEconomicIntelligenceResponse]:
"""
Lists an account's recommendations and generation requests, newest first by default. Without an account, signed-out visitors receive a business-setup template and eligible users receive their saved setup recommendation. With `has_run` and no account, users receive the recommendations run on every account they can read.
Lists an account's recommendations and generation requests, newest first by default. Without an account, signed-out visitors receive a business-setup template and eligible users receive their saved setup recommendation. With `has_run` and no account, users receive the recommendations run on every account they can read, including accounts whose Economic Intelligence is off. Executed recommendations, runs, and recommendations that were attributed stay listed after Economic Intelligence turns off. New recommendations are offered only while it is on. Visitor countries, page views, ad impressions and clicks, and payment volume for a time range come from `GET /stats/time_series/{metric}`.

Parameters
----------
Expand All @@ -64,7 +64,7 @@ def list(
What you want recommendations for, in your own words. Up to 1000 characters. Narrows the list to the recommendations that address it. Without a `status` filter, when none do and you can update the account, new recommendations start generating for your input, and the list shows that request until they're ready. Repeating the same input while it generates doesn't start another.

has_run : typing.Optional[bool]
When true, only recommendations someone has started running, by any user. Without `account_id`, covers every account you can read that has Economic Intelligence. Can't be combined with `input`.
When true, only recommendations someone has started running, by any user. Without `account_id`, covers every account you can read, including accounts whose Economic Intelligence is off. Can't be combined with `input`.

order : typing.Optional[ListEconomicIntelligenceRequestOrder]
Sort field.
Expand Down Expand Up @@ -235,7 +235,7 @@ async def list(
request_options: typing.Optional[RequestOptions] = None,
) -> AsyncPager[EconomicIntelligence, ListEconomicIntelligenceResponse]:
"""
Lists an account's recommendations and generation requests, newest first by default. Without an account, signed-out visitors receive a business-setup template and eligible users receive their saved setup recommendation. With `has_run` and no account, users receive the recommendations run on every account they can read.
Lists an account's recommendations and generation requests, newest first by default. Without an account, signed-out visitors receive a business-setup template and eligible users receive their saved setup recommendation. With `has_run` and no account, users receive the recommendations run on every account they can read, including accounts whose Economic Intelligence is off. Executed recommendations, runs, and recommendations that were attributed stay listed after Economic Intelligence turns off. New recommendations are offered only while it is on. Visitor countries, page views, ad impressions and clicks, and payment volume for a time range come from `GET /stats/time_series/{metric}`.

Parameters
----------
Expand All @@ -249,7 +249,7 @@ async def list(
What you want recommendations for, in your own words. Up to 1000 characters. Narrows the list to the recommendations that address it. Without a `status` filter, when none do and you can update the account, new recommendations start generating for your input, and the list shows that request until they're ready. Repeating the same input while it generates doesn't start another.

has_run : typing.Optional[bool]
When true, only recommendations someone has started running, by any user. Without `account_id`, covers every account you can read that has Economic Intelligence. Can't be combined with `input`.
When true, only recommendations someone has started running, by any user. Without `account_id`, covers every account you can read, including accounts whose Economic Intelligence is off. Can't be combined with `input`.

order : typing.Optional[ListEconomicIntelligenceRequestOrder]
Sort field.
Expand Down
8 changes: 4 additions & 4 deletions src/whop_sdk/economic_intelligence/raw_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def list(
request_options: typing.Optional[RequestOptions] = None,
) -> SyncPager[EconomicIntelligence, ListEconomicIntelligenceResponse]:
"""
Lists an account's recommendations and generation requests, newest first by default. Without an account, signed-out visitors receive a business-setup template and eligible users receive their saved setup recommendation. With `has_run` and no account, users receive the recommendations run on every account they can read.
Lists an account's recommendations and generation requests, newest first by default. Without an account, signed-out visitors receive a business-setup template and eligible users receive their saved setup recommendation. With `has_run` and no account, users receive the recommendations run on every account they can read, including accounts whose Economic Intelligence is off. Executed recommendations, runs, and recommendations that were attributed stay listed after Economic Intelligence turns off. New recommendations are offered only while it is on. Visitor countries, page views, ad impressions and clicks, and payment volume for a time range come from `GET /stats/time_series/{metric}`.

Parameters
----------
Expand All @@ -65,7 +65,7 @@ def list(
What you want recommendations for, in your own words. Up to 1000 characters. Narrows the list to the recommendations that address it. Without a `status` filter, when none do and you can update the account, new recommendations start generating for your input, and the list shows that request until they're ready. Repeating the same input while it generates doesn't start another.

has_run : typing.Optional[bool]
When true, only recommendations someone has started running, by any user. Without `account_id`, covers every account you can read that has Economic Intelligence. Can't be combined with `input`.
When true, only recommendations someone has started running, by any user. Without `account_id`, covers every account you can read, including accounts whose Economic Intelligence is off. Can't be combined with `input`.

order : typing.Optional[ListEconomicIntelligenceRequestOrder]
Sort field.
Expand Down Expand Up @@ -353,7 +353,7 @@ async def list(
request_options: typing.Optional[RequestOptions] = None,
) -> AsyncPager[EconomicIntelligence, ListEconomicIntelligenceResponse]:
"""
Lists an account's recommendations and generation requests, newest first by default. Without an account, signed-out visitors receive a business-setup template and eligible users receive their saved setup recommendation. With `has_run` and no account, users receive the recommendations run on every account they can read.
Lists an account's recommendations and generation requests, newest first by default. Without an account, signed-out visitors receive a business-setup template and eligible users receive their saved setup recommendation. With `has_run` and no account, users receive the recommendations run on every account they can read, including accounts whose Economic Intelligence is off. Executed recommendations, runs, and recommendations that were attributed stay listed after Economic Intelligence turns off. New recommendations are offered only while it is on. Visitor countries, page views, ad impressions and clicks, and payment volume for a time range come from `GET /stats/time_series/{metric}`.

Parameters
----------
Expand All @@ -367,7 +367,7 @@ async def list(
What you want recommendations for, in your own words. Up to 1000 characters. Narrows the list to the recommendations that address it. Without a `status` filter, when none do and you can update the account, new recommendations start generating for your input, and the list shows that request until they're ready. Repeating the same input while it generates doesn't start another.

has_run : typing.Optional[bool]
When true, only recommendations someone has started running, by any user. Without `account_id`, covers every account you can read that has Economic Intelligence. Can't be combined with `input`.
When true, only recommendations someone has started running, by any user. Without `account_id`, covers every account you can read, including accounts whose Economic Intelligence is off. Can't be combined with `input`.

order : typing.Optional[ListEconomicIntelligenceRequestOrder]
Sort field.
Expand Down
Loading