kenso 0.1.81 → 0.1.82
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 +326 -177
- package/dist/operations.json +1 -1
- package/docs/crm.md +11 -0
- package/docs/reference.md +30 -4
- package/package.json +2 -2
package/docs/crm.md
CHANGED
|
@@ -10,6 +10,7 @@ The CRM commands work on Kenso's Accounts lane: accounts (companies), the people
|
|
|
10
10
|
| `accounts write-research`, `people write-research` | Store research you gathered as a record's latest research, free. `--each` writes many |
|
|
11
11
|
| `opportunities stage-history <id>` | A deal's stage history: each stage, when, who moved it and how long it sat there |
|
|
12
12
|
| `deleted-accounts list`, `accounts restore <id>` | The accounts deleted in the last 30 days, and bringing one back |
|
|
13
|
+
| `export <accounts\|people\|deals>` | The list as CSV: everything, a saved Accounts view, or what the filters match |
|
|
13
14
|
| `capture status` | Your captured mailbox, its backfill progress and what teammates see of a captured email. Needs the `crm_capture` flag |
|
|
14
15
|
| `capture connect` | Turn capture on for your own mailbox. `--private` starts it hidden from teammates; `--provider google` prints a sign-in link when no account is connected yet |
|
|
15
16
|
| `capture private on\|off` | Hide your captured email from teammates, or show it again. Email only: meetings stay visible |
|
|
@@ -185,6 +186,16 @@ kenso accounts restore 812
|
|
|
185
186
|
|
|
186
187
|
A deleted account can be restored for 30 days. `deleted-accounts list` shows each one with who deleted it, `expiresAt` (restore works until then) and what comes back: `personCount`, `opportunityCount` and `touchCount`. `accounts restore <id>` brings the account back with its domains, its people, its deals and its planned touches, which wait for approval again. A domain another account took since stays with that account and is listed in `domainsTaken`. A merged account is not listed and cannot be restored: a merge has no undo. Both commands are behind the `crm_import_export` feature flag (`404` while it is off).
|
|
187
188
|
|
|
189
|
+
## Export accounts, people or deals
|
|
190
|
+
|
|
191
|
+
```bash
|
|
192
|
+
kenso export accounts --out accounts.csv
|
|
193
|
+
kenso export accounts --view 12 --out tier-1.csv
|
|
194
|
+
kenso export deals --filters '[{"field":"stageCategory","operator":"is","values":["open"]}]' > open-deals.csv
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
It writes the CSV that `POST /v1/accounts/export`, `/v1/people/export` or `/v1/opportunities/export` returns, to stdout or to `--out` (then it prints the file and its row count). With no filter it exports every record. More than 50,000 rows is refused: narrow the filters. `--view <id>` exports a saved Accounts view (`kenso account-views list` shows the ids). `--filters`, `--where` (accounts), `--q` and `--sort` are the search operation's own fields, so a deals or people view exports with its filters and sort. The accounts and deals files start with `id` and import back as they are. Each export writes an audit-log entry and needs the export permission. Accounts and deals also need the `crm_import_export` flag while it is in beta.
|
|
198
|
+
|
|
188
199
|
## A deal's stage history
|
|
189
200
|
|
|
190
201
|
```bash
|
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.82 (API contracts 3eabdc0b785e) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1700 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
|
|
|
@@ -188,6 +188,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
188
188
|
- [event-subscriptions](#event-subscriptions) (5)
|
|
189
189
|
- [events](#events) (2)
|
|
190
190
|
- [experiments](#experiments) (12)
|
|
191
|
+
- [export](#export) (1)
|
|
191
192
|
- [external-bookings](#external-bookings) (2)
|
|
192
193
|
- [facebook-accounts](#facebook-accounts) (9)
|
|
193
194
|
- [fathom-connection](#fathom-connection) (3)
|
|
@@ -395,6 +396,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
395
396
|
- [support-attachments](#support-attachments) (3)
|
|
396
397
|
- [sync](#sync) (4)
|
|
397
398
|
- [tags](#tags) (9)
|
|
399
|
+
- [tasks](#tasks) (2)
|
|
398
400
|
- [teams-connection](#teams-connection) (5)
|
|
399
401
|
- [threads](#threads) (18)
|
|
400
402
|
- [today](#today) (1)
|
|
@@ -665,7 +667,7 @@ Flags: `--account-type`, `--data`, `--each`, `--concurrency`.
|
|
|
665
667
|
|
|
666
668
|
Create an account from its domains. `POST /v1/accounts`. Beta: needs `accounts`.
|
|
667
669
|
|
|
668
|
-
Flags: `--skip-research`, `--name`, `--stage`, `--network-label`, `--owner-member-id`, `--fit-score`, `--why-now`, `--angle`, `--cadence-days`, `--industry`, `--funding-round`, `--employee-count`, `--hq-location`, `--linkedin-url`, `--ken-company-id`, `--sends-from-inbox-id`, `--sends-from-linked-in-account-id`, `--sends-from-whats-app-account-id`, `--sends-from-facebook-account-id`, `--source`, `--no-skip-research`, `--data`, `--each`, `--concurrency`.
|
|
670
|
+
Flags: `--skip-research`, `--name`, `--stage`, `--network-label`, `--owner-member-id`, `--fit-score`, `--why-now`, `--angle`, `--cadence-days`, `--industry`, `--funding-round`, `--employee-count`, `--hq-location`, `--revenue-range`, `--hq-city`, `--hq-country`, `--founded-year`, `--linkedin-url`, `--ken-company-id`, `--sends-from-inbox-id`, `--sends-from-linked-in-account-id`, `--sends-from-whats-app-account-id`, `--sends-from-facebook-account-id`, `--source`, `--no-skip-research`, `--data`, `--each`, `--concurrency`.
|
|
669
671
|
|
|
670
672
|
### kenso accounts delete
|
|
671
673
|
|
|
@@ -755,7 +757,7 @@ Flags: `--search`, `--time-zone`, `--include-import-only`, `--sort`, `--limit`,
|
|
|
755
757
|
|
|
756
758
|
Update account fields. Absent fields stay unchanged; null clears. `PATCH /v1/accounts/{accountId}`. Beta: needs `accounts`.
|
|
757
759
|
|
|
758
|
-
Flags: `--account-id` (required), `--name`, `--stage`, `--network-label`, `--owner-member-id`, `--fit-score`, `--why-now`, `--angle`, `--cadence-days`, `--industry`, `--funding-round`, `--employee-count`, `--hq-location`, `--linkedin-url`, `--ken-company-id`, `--sends-from-inbox-id`, `--sends-from-linked-in-account-id`, `--sends-from-whats-app-account-id`, `--sends-from-facebook-account-id`, `--overwrite-pinned`, `--sends-from-instagram-account-id`, `--tier-override`, `--is-customer`, `--account-type`, `--no-overwrite-pinned`, `--no-is-customer`, `--data`, `--each`, `--concurrency`.
|
|
760
|
+
Flags: `--account-id` (required), `--name`, `--stage`, `--network-label`, `--owner-member-id`, `--fit-score`, `--why-now`, `--angle`, `--cadence-days`, `--industry`, `--funding-round`, `--employee-count`, `--hq-location`, `--revenue-range`, `--hq-city`, `--hq-country`, `--founded-year`, `--linkedin-url`, `--ken-company-id`, `--sends-from-inbox-id`, `--sends-from-linked-in-account-id`, `--sends-from-whats-app-account-id`, `--sends-from-facebook-account-id`, `--overwrite-pinned`, `--sends-from-instagram-account-id`, `--tier-override`, `--is-customer`, `--account-type`, `--no-overwrite-pinned`, `--no-is-customer`, `--data`, `--each`, `--concurrency`.
|
|
759
761
|
|
|
760
762
|
### kenso accounts write-research
|
|
761
763
|
|
|
@@ -4379,6 +4381,16 @@ Watch the finding. `PUT /v1/experiments/{experimentId}/watch`. Beta: needs `expe
|
|
|
4379
4381
|
|
|
4380
4382
|
Flags: `--experiment-id` (required), `--each`, `--concurrency`.
|
|
4381
4383
|
|
|
4384
|
+
## export
|
|
4385
|
+
|
|
4386
|
+
### kenso export
|
|
4387
|
+
|
|
4388
|
+
Export accounts, people or deals as CSV: everything, a saved view, or what the filters match. API operations: `accounts.export`, `people.export`, `opportunities.export`, `account-views.list`. Beta: needs `accounts`.
|
|
4389
|
+
|
|
4390
|
+
Arguments: `<object>`.
|
|
4391
|
+
|
|
4392
|
+
Flags: `--filters`, `--out`, `--q`, `--sort`, `--view`, `--where`.
|
|
4393
|
+
|
|
4382
4394
|
## external-bookings
|
|
4383
4395
|
|
|
4384
4396
|
### kenso external-bookings get
|
|
@@ -9953,6 +9965,20 @@ Update a tag. `PATCH /v1/tags/{tagId}`.
|
|
|
9953
9965
|
|
|
9954
9966
|
Flags: `--tag-id` (required), `--data`, `--each`, `--concurrency`.
|
|
9955
9967
|
|
|
9968
|
+
## tasks
|
|
9969
|
+
|
|
9970
|
+
### kenso tasks get
|
|
9971
|
+
|
|
9972
|
+
Return one task. `GET /v1/tasks/{taskId}`. Beta: needs `tasks`.
|
|
9973
|
+
|
|
9974
|
+
Flags: `--task-id` (required), `--timezone`, `--each`, `--concurrency`.
|
|
9975
|
+
|
|
9976
|
+
### kenso tasks list
|
|
9977
|
+
|
|
9978
|
+
List tasks. `GET /v1/tasks` (a list). Beta: needs `tasks`.
|
|
9979
|
+
|
|
9980
|
+
Flags: `--account-id`, `--assigned-by`, `--assignee`, `--cursor`, `--due`, `--limit`, `--opportunity-id`, `--person-id`, `--status`, `--timezone`, `--all`, `--each`, `--concurrency`.
|
|
9981
|
+
|
|
9956
9982
|
## teams-connection
|
|
9957
9983
|
|
|
9958
9984
|
### kenso teams-connection complete
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.82",
|
|
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": "5bda6ad490d93a1055318b8eafdd670230eb4558"
|
|
53
53
|
}
|