@whop/cli 0.7.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whop/cli",
3
- "version": "0.7.0",
3
+ "version": "0.8.1",
4
4
  "description": "The Whop CLI — build and manage Whop apps from your terminal. Human and agent friendly.",
5
5
  "keywords": [
6
6
  "agent",
@@ -20,5 +20,6 @@ Use the Accounts API to create accounts, list accounts visible to your credentia
20
20
  | `whop accounts update` | Update Account |
21
21
  | `whop accounts preferences` | Retrieve Account Preferences |
22
22
  | `whop accounts update-preferences` | Update Account Preferences |
23
+ | `whop accounts recommend_actions` | List Recommended Actions |
23
24
 
24
25
  Run `whop accounts <command> --help` for options, or `whop accounts <command> --schema` for full argument details.
@@ -5,9 +5,9 @@ requires_bin: whop
5
5
  command: whop apps
6
6
  ---
7
7
 
8
- An App is software you build on the Whop platform — from a fully-hosted web app served at `<route>.whop.app` to an API integration installed into whops as experiences. Apps belong to an account and hold their own credentials and settings.
8
+ An App is software you build on Whop. It can be a hosted web app served at `<route>.whop.app` or an API integration installed as an experience, and it belongs to the account that owns its credentials, settings, builds, and runtime logs.
9
9
 
10
- Use the Apps API to create and configure apps, and — for hosted apps — read their server runtime logs: every console line, uncaught exception, and failed request is captured for 7 days and queryable by build, level, time window, and message text.
10
+ Use the Apps API to manage app configuration and, for hosted apps, read server runtime logs for console output, uncaught exceptions, and failed requests. Logs are retained for 7 days and can be filtered by build, level, time window, and message text.
11
11
 
12
12
  ## Commands
13
13
 
@@ -0,0 +1,23 @@
1
+ ---
2
+ name: whop-partners
3
+ description: The users and businesses you referred to Whop, and what you earn from them. Run `whop partners --help` for usage details.
4
+ requires_bin: whop
5
+ command: whop partners
6
+ ---
7
+
8
+ The Partners API covers your Whop partner activity: the users you referred onto Whop, the businesses you referred and the earnings generated from their processing volume, and the partner leaderboard.
9
+
10
+ Use it to enroll as a Whop partner, list the users you referred, list your referred businesses and review their earnings, and see the partner leaderboard.
11
+
12
+ ## Commands
13
+
14
+ | Command | Description |
15
+ |---------|-------------|
16
+ | `whop partners create` | Enroll as a Whop partner |
17
+ | `whop partners list` | List a partner's referred businesses |
18
+ | `whop partners get` | Retrieve a referred business |
19
+ | `whop partners earnings` | List a partner's referred business earnings |
20
+ | `whop partners leaderboard` | Retrieve the partner leaderboard |
21
+ | `whop partners referred_users` | List the users the caller referred |
22
+
23
+ Run `whop partners <command> --help` for options, or `whop partners <command> --schema` for full argument details.
@@ -5,9 +5,9 @@ requires_bin: whop
5
5
  command: whop payouts
6
6
  ---
7
7
 
8
- Payouts represent money sent from an account balance to an external destination, such as a bank account or other supported payout method.
8
+ Payouts represent money sent from an account or user balance to an external destination, such as a bank account, wallet, or other saved payout method.
9
9
 
10
- Use the Payouts API to list payout history, monitor payout statuses, and show expected arrival details for funds leaving an account.
10
+ Use the Payouts API to create payouts from stablecoin accounts, list payout history for accounts or users, monitor payout statuses, and show expected arrival details for funds leaving Whop.
11
11
 
12
12
  ## Commands
13
13
 
@@ -0,0 +1,19 @@
1
+ ---
2
+ name: whop-stats
3
+ description: Aggregated account time series for reporting. Run `whop stats --help` for usage details.
4
+ requires_bin: whop
5
+ command: whop stats
6
+ ---
7
+
8
+ Stats represent aggregated activity for an account over time. They help you understand revenue, transactions, disputes, members, referrals, and advertising performance across reporting periods like days, weeks, or months.
9
+
10
+ Use the Stats API to list available metrics and their filterable properties, then retrieve time-series values for a date range.
11
+
12
+ ## Commands
13
+
14
+ | Command | Description |
15
+ |---------|-------------|
16
+ | `whop stats list` | List Metrics |
17
+ | `whop stats get` | Retrieve Metric |
18
+
19
+ Run `whop stats <command> --help` for options, or `whop stats <command> --schema` for full argument details.
@@ -18,5 +18,6 @@ Use the Users API to search for users, retrieve or update profiles, and check wh
18
18
  | `whop users get` | Retrieve User |
19
19
  | `whop users update` | Update User |
20
20
  | `whop users access` | Check User Access |
21
+ | `whop users recommend_actions` | List Recommended Actions |
21
22
 
22
23
  Run `whop users <command> --help` for options, or `whop users <command> --schema` for full argument details.
@@ -0,0 +1,19 @@
1
+ ---
2
+ name: whop-workforce-bounties
3
+ description: Paid tasks with reviewed submissions and escrowed rewards. Run `whop workforce-bounties --help` for usage details.
4
+ requires_bin: whop
5
+ command: whop workforce-bounties
6
+ ---
7
+
8
+ A Workforce Bounty is a paid task posted by an account or user. The reward is held in escrow when the bounty publishes, workers submit proof of completed work, and each accepted submission is paid out until every winner slot fills.
9
+
10
+ Use the Workforce Bounties API to list an account's bounties for reporting or dashboards, list the bounties a user can work or has participated in, and retrieve a single bounty by ID.
11
+
12
+ ## Commands
13
+
14
+ | Command | Description |
15
+ |---------|-------------|
16
+ | `whop workforce-bounties list` | List Workforce Bounties |
17
+ | `whop workforce-bounties get` | Retrieve Workforce Bounty |
18
+
19
+ Run `whop workforce-bounties <command> --help` for options, or `whop workforce-bounties <command> --schema` for full argument details.
@@ -1,20 +0,0 @@
1
- #!/usr/bin/env node
2
- import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
3
- import {
4
- API_VERSION_DATE,
5
- apps_spec_default,
6
- createWhopFetch,
7
- filterSpecByTag,
8
- native_spec_default,
9
- resolveActiveAccountId
10
- } from "./chunk-BSCOWFVU.js";
11
- import "./chunk-KFCNNWPI.js";
12
- export {
13
- API_VERSION_DATE,
14
- apps_spec_default as appsSpec,
15
- createWhopFetch,
16
- filterSpecByTag,
17
- native_spec_default as nativeSpec,
18
- resolveActiveAccountId
19
- };
20
- //# sourceMappingURL=api-YDHSDKDV.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}