@whop/cli 0.7.0 → 0.8.0
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/README.md +4 -2
- package/dist/index.js +37269 -773
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/skills/whop-accounts/SKILL.md +1 -0
- package/skills/whop-apps/SKILL.md +2 -2
- package/skills/whop-partners/SKILL.md +23 -0
- package/skills/whop-payouts/SKILL.md +2 -2
- package/skills/whop-stats/SKILL.md +19 -0
- package/skills/whop-workforce-bounties/SKILL.md +19 -0
- package/dist/api-YDHSDKDV.js +0 -20
- package/dist/api-YDHSDKDV.js.map +0 -1
- package/dist/chunk-BSCOWFVU.js +0 -34851
- package/dist/chunk-BSCOWFVU.js.map +0 -1
- package/skills/whop-referrals/SKILL.md +0 -22
package/package.json
CHANGED
|
@@ -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
|
|
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
|
|
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 Referrals 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 partner business referrals |
|
|
18
|
+
| `whop partners get` | Retrieve a partner business referral |
|
|
19
|
+
| `whop partners earnings` | List a partner business referral's 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
|
|
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
|
|
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.
|
|
@@ -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.
|
package/dist/api-YDHSDKDV.js
DELETED
|
@@ -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
|
package/dist/api-YDHSDKDV.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|