kenso 0.1.53 → 0.1.55
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/dist/kenso.js +7 -4
- package/dist/operations.json +1 -1
- package/docs/crm.md +20 -0
- package/docs/reference.md +53 -5
- package/package.json +2 -2
package/docs/crm.md
CHANGED
|
@@ -53,6 +53,26 @@ Bob Ray,,CTO,acme.io,
|
|
|
53
53
|
|
|
54
54
|
People already in the workspace are matched by email, then LinkedIn URL, so running the same file again creates nobody twice. A row comes back `created` (a new person), `updated` (an existing person added to the account), `skipped` with reason `already_on_account`, `matched` (no account asked) or `previously_removed`, or `failed`: `account_not_found` saves the person without an account (import the account, then rerun to place them), any other reason is the API's. The summary adds `matched`, `addedToAccounts` and `emailFindsQueued`.
|
|
55
55
|
|
|
56
|
+
## List and search accounts
|
|
57
|
+
|
|
58
|
+
`accounts list` and `accounts search` sort and page on the server, so they reach every account in the workspace, however many there are.
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
kenso accounts list --sort score:desc --limit 100 # one page; the output's next: line is the following one
|
|
62
|
+
kenso accounts list --sort score:desc --limit 100 --all # every page, to the end
|
|
63
|
+
kenso accounts search --search hiring --sort latestSignalAt:desc --data '{"qFields": ["name", "latestSignal"]}'
|
|
64
|
+
kenso accounts search --limit 1 --data '{"countBy": ["stage"]}' # how many accounts sit in each stage
|
|
65
|
+
kenso accounts search --data '{"where": {"match": "all", "conditions": [{"field": "tier", "operator": "is", "values": ["1"]}]}, "sort": "tier,-pipelineAmount"}' --all
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
- **`--sort`** takes up to 3 comma-separated keys, each `field` (ascending), `field:asc` or `field:desc`. The API's `-field` form needs the equals sign here, `--sort=-score`, because a value that starts with a dash reads as a flag. Fields: `createdAt`, `name`, `score`, `tier` (ascending is tier 1 first), `latestSignalAt`, `committee`, `pipelineAmount`, `nextTouchAt`, `lastTouchAt`. An account with no value for a key comes last in both directions. The default is `-createdAt`.
|
|
69
|
+
- **`--limit`** is 1 to 1000 (default 50). `--cursor` takes the previous page's `nextCursor` with the same filters and sort; `--all` follows the cursors for you.
|
|
70
|
+
- **`--search`** (also `--q`) matches the name or a domain.
|
|
71
|
+
- **Lists and objects go in `--data`** on `search`, as the API takes them (`kenso describe accounts search`); a flag beside it sets or replaces one key:
|
|
72
|
+
- `qFields` picks where the search text looks: `name`, `domain`, `latestSignal` (the latest signal's title).
|
|
73
|
+
- `countBy` (`stage`, `stageGroup`) adds `counts` to the output: every value with the number of matching accounts that hold it, whatever the page. The output is then one object: `data`, `pagination` and `counts`.
|
|
74
|
+
- `filters` and `where` narrow the accounts.
|
|
75
|
+
|
|
56
76
|
## Edit accounts, people and opportunities
|
|
57
77
|
|
|
58
78
|
Apart from `accounts bulk-update`, which sets one `accountType` on up to 500 accounts, there is no bulk edit route, so run the generated `update` command once per row with `--each`. Columns are the command's flags by API name or flag name, and the id column fills the route:
|
package/docs/reference.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Kenso CLI command reference
|
|
2
2
|
|
|
3
|
-
Generated from kenso 0.1.
|
|
3
|
+
Generated from kenso 0.1.55 (API contracts 8f4af1c9fb50) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1628 commands, one entry each: summary, API route, feature gate and flag names. Beta commands work only on workspaces with their feature flag; `kenso describe` hides the ones yours cannot use. Every command also takes the global flags below. A command's notes, flag descriptions, body schema and examples: `kenso <resource> <action> --help`, or `kenso describe <resource> <action>` as JSON.
|
|
6
6
|
|
|
7
7
|
## Global flags
|
|
8
8
|
|
|
@@ -57,7 +57,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
57
57
|
- [analytics](#analytics) (7)
|
|
58
58
|
- [answers](#answers) (4)
|
|
59
59
|
- [api](#api) (1)
|
|
60
|
-
- [api-keys](#api-keys) (
|
|
60
|
+
- [api-keys](#api-keys) (5)
|
|
61
61
|
- [apollo-lists](#apollo-lists) (1)
|
|
62
62
|
- [approval-tests](#approval-tests) (6)
|
|
63
63
|
- [approvals](#approvals) (4)
|
|
@@ -73,6 +73,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
73
73
|
- [auth](#auth) (3)
|
|
74
74
|
- [auto-pauses](#auto-pauses) (1)
|
|
75
75
|
- [autonomous-reply-settings](#autonomous-reply-settings) (2)
|
|
76
|
+
- [billing-entitlements](#billing-entitlements) (1)
|
|
76
77
|
- [billing-plans](#billing-plans) (1)
|
|
77
78
|
- [blitz-companies](#blitz-companies) (1)
|
|
78
79
|
- [blitz-decision-makers](#blitz-decision-makers) (1)
|
|
@@ -366,6 +367,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
366
367
|
- [slack-channels](#slack-channels) (1)
|
|
367
368
|
- [slack-connection](#slack-connection) (5)
|
|
368
369
|
- [social-lookups](#social-lookups) (2)
|
|
370
|
+
- [social-monitor](#social-monitor) (5)
|
|
369
371
|
- [social-records](#social-records) (1)
|
|
370
372
|
- [social-resolutions](#social-resolutions) (1)
|
|
371
373
|
- [social-searches](#social-searches) (2)
|
|
@@ -720,7 +722,7 @@ Flags: `--account-id` (required), `--force`, `--no-force`, `--data`, `--each`, `
|
|
|
720
722
|
|
|
721
723
|
Search accounts in the current workspace with filter conditions and AND / OR groups. `POST /v1/accounts/search` (a list). Beta: needs `accounts`.
|
|
722
724
|
|
|
723
|
-
Flags: `--search`, `--sort`, `--limit`, `--cursor`, `--include-total`, `--
|
|
725
|
+
Flags: `--search`, `--time-zone`, `--include-import-only`, `--sort`, `--limit`, `--cursor`, `--include-total`, `--no-include-import-only`, `--no-include-total`, `--data`, `--all`, `--each`, `--concurrency`.
|
|
724
726
|
|
|
725
727
|
### kenso accounts update
|
|
726
728
|
|
|
@@ -1238,6 +1240,12 @@ List the caller's API keys, including revoked keys. Secrets are omitted. `GET /v
|
|
|
1238
1240
|
|
|
1239
1241
|
Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
1240
1242
|
|
|
1243
|
+
### kenso api-keys rotate
|
|
1244
|
+
|
|
1245
|
+
Replace one of the caller's keys with a new one, keeping the old one working for a while. `POST /v1/api-keys/{apiKeyId}/rotate`.
|
|
1246
|
+
|
|
1247
|
+
Flags: `--api-key-id` (required), `--overlap-hours`, `--expires-in-days`, `--data`, `--each`, `--concurrency`.
|
|
1248
|
+
|
|
1241
1249
|
### kenso api-keys update
|
|
1242
1250
|
|
|
1243
1251
|
Rename one of the caller's keys, or change the API version it is pinned to. `PATCH /v1/api-keys/{apiKeyId}`.
|
|
@@ -1710,6 +1718,14 @@ Update the autonomous reply settings. `PATCH /v1/autonomous-reply-settings`.
|
|
|
1710
1718
|
|
|
1711
1719
|
Flags: `--data`, `--each`, `--concurrency`.
|
|
1712
1720
|
|
|
1721
|
+
## billing-entitlements
|
|
1722
|
+
|
|
1723
|
+
### kenso billing-entitlements get
|
|
1724
|
+
|
|
1725
|
+
Read what the workspace's plan includes. `GET /v1/billing/entitlements`.
|
|
1726
|
+
|
|
1727
|
+
Flags: `--each`, `--concurrency`.
|
|
1728
|
+
|
|
1713
1729
|
## billing-plans
|
|
1714
1730
|
|
|
1715
1731
|
### kenso billing-plans list
|
|
@@ -6012,7 +6028,7 @@ List the hosted Kenso MCP's tools.
|
|
|
6012
6028
|
|
|
6013
6029
|
List MCP tool calls in the current workspace. `GET /v1/mcp/calls` (a list).
|
|
6014
6030
|
|
|
6015
|
-
Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
6031
|
+
Flags: `--cursor`, `--limit`, `--ok`, `--no-ok`, `--all`, `--each`, `--concurrency`.
|
|
6016
6032
|
|
|
6017
6033
|
## mcp-clients
|
|
6018
6034
|
|
|
@@ -9192,6 +9208,38 @@ Get a social lookup. `GET /v1/social-lookups/{socialLookupId}`. Beta: needs `soc
|
|
|
9192
9208
|
|
|
9193
9209
|
Flags: `--social-lookup-id` (required), `--each`, `--concurrency`.
|
|
9194
9210
|
|
|
9211
|
+
## social-monitor
|
|
9212
|
+
|
|
9213
|
+
### kenso social-monitor approve-idea
|
|
9214
|
+
|
|
9215
|
+
Approve an edit idea's proposal. `POST /v1/social-monitor/ideas/{ideaId}/approve`. Beta: needs `social_monitor`.
|
|
9216
|
+
|
|
9217
|
+
Flags: `--idea-id` (required), `--each`, `--concurrency`.
|
|
9218
|
+
|
|
9219
|
+
### kenso social-monitor build-idea
|
|
9220
|
+
|
|
9221
|
+
Start building a new-campaign idea. `POST /v1/social-monitor/ideas/{ideaId}/build`. Beta: needs `social_monitor`.
|
|
9222
|
+
|
|
9223
|
+
Flags: `--idea-id` (required), `--each`, `--concurrency`.
|
|
9224
|
+
|
|
9225
|
+
### kenso social-monitor decline-idea
|
|
9226
|
+
|
|
9227
|
+
Decline an edit idea's proposal. `POST /v1/social-monitor/ideas/{ideaId}/decline`. Beta: needs `social_monitor`.
|
|
9228
|
+
|
|
9229
|
+
Flags: `--idea-id` (required), `--each`, `--concurrency`.
|
|
9230
|
+
|
|
9231
|
+
### kenso social-monitor dismiss-idea
|
|
9232
|
+
|
|
9233
|
+
Dismiss a new-campaign idea. `POST /v1/social-monitor/ideas/{ideaId}/dismiss`. Beta: needs `social_monitor`.
|
|
9234
|
+
|
|
9235
|
+
Flags: `--idea-id` (required), `--each`, `--concurrency`.
|
|
9236
|
+
|
|
9237
|
+
### kenso social-monitor list-weeks
|
|
9238
|
+
|
|
9239
|
+
List the weeks a From your posts message went out, newest first. `GET /v1/social-monitor/weeks` (a list). Beta: needs `social_monitor`.
|
|
9240
|
+
|
|
9241
|
+
Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
9242
|
+
|
|
9195
9243
|
## social-records
|
|
9196
9244
|
|
|
9197
9245
|
### kenso social-records list
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.55",
|
|
4
4
|
"description": "The Kenso CLI: bulk lead, CRM and Studio work for people and coding agents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"typescript-eslint": "8.71.1",
|
|
50
50
|
"vitest": "5.0.3"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "d80439b3eb5e3f638392c1517c32f4e91fc20baa"
|
|
53
53
|
}
|