kenso 0.1.59 → 0.1.61
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 +2 -2
- package/dist/operations.json +1 -1
- package/docs/crm.md +3 -1
- package/docs/reference.md +18 -6
- package/package.json +2 -2
package/docs/crm.md
CHANGED
|
@@ -75,6 +75,8 @@ kenso accounts search --data '{"where": {"match": "all", "conditions": [{"field"
|
|
|
75
75
|
- `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`.
|
|
76
76
|
- `filters` and `where` narrow the accounts.
|
|
77
77
|
|
|
78
|
+
An account's timeline pages the same way. `kenso accounts activity 812` returns the newest 100 earlier rows and, when older ones exist, `data.nextCursor`. Pass it back as `--cursor` (with the same `--category`) for the rows before them, until a page comes without one.
|
|
79
|
+
|
|
78
80
|
## Edit accounts, people and opportunities
|
|
79
81
|
|
|
80
82
|
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:
|
|
@@ -141,7 +143,7 @@ kenso people write-research --each people-research.jsonl --yes --concurrency 8
|
|
|
141
143
|
{"accountId": 502, "description": {"text": "Cloud cost tooling for retailers."}, "links": {"website": "https://beta.example"}}
|
|
142
144
|
```
|
|
143
145
|
|
|
144
|
-
A row fails as a whole with the API's code: `validation_failed` (an unknown field is `unknown_field`, and `error.details` names every bad field), `research_in_progress` (`409`: Ken is researching that record now, write it again once the run ends) or `not_found`. Rerunning a file is safe: each write replaces the record's research shown.
|
|
146
|
+
A row fails as a whole with the API's code: `validation_failed` (an unknown field is `unknown_field`, and `error.details` names every bad field), `research_in_progress` (`409`: Ken is researching that record now, write it again once the run ends; an account run waiting for credits counts too: it runs once the workspace has credits, and the write stays refused until that run ends) or `not_found`. Rerunning a file is safe: each write replaces the record's research shown.
|
|
145
147
|
|
|
146
148
|
## CRM sync
|
|
147
149
|
|
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.61 (API contracts 17c8f9df5c1a) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1632 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
|
|
|
@@ -261,8 +261,8 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
261
261
|
- [loopster-people](#loopster-people) (1)
|
|
262
262
|
- [loopster-search-filters](#loopster-search-filters) (1)
|
|
263
263
|
- [mail-messages](#mail-messages) (2)
|
|
264
|
-
- [market-profile](#market-profile) (
|
|
265
|
-
- [market-stories](#market-stories) (
|
|
264
|
+
- [market-profile](#market-profile) (3)
|
|
265
|
+
- [market-stories](#market-stories) (4)
|
|
266
266
|
- [markets](#markets) (2)
|
|
267
267
|
- [mcp](#mcp) (2)
|
|
268
268
|
- [mcp-calls](#mcp-calls) (1)
|
|
@@ -620,9 +620,9 @@ Flags: `--account-view-id` (required), `--name`, `--is-active`, `--no-is-active`
|
|
|
620
620
|
|
|
621
621
|
### kenso accounts activity
|
|
622
622
|
|
|
623
|
-
Return an account's activity timeline: what is planned next and what already happened. `GET /v1/accounts/{accountId}/activity
|
|
623
|
+
Return an account's activity timeline: what is planned next and what already happened. `GET /v1/accounts/{accountId}/activity` (a list). Beta: needs `accounts`.
|
|
624
624
|
|
|
625
|
-
Flags: `--account-id` (required), `--category`, `--limit`, `--each`, `--concurrency`.
|
|
625
|
+
Flags: `--account-id` (required), `--category`, `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
626
626
|
|
|
627
627
|
### kenso accounts add-to-campaign
|
|
628
628
|
|
|
@@ -5934,6 +5934,12 @@ Get the workspace's market news topic profile. `GET /v1/market-profile`. Beta: n
|
|
|
5934
5934
|
|
|
5935
5935
|
Flags: `--each`, `--concurrency`.
|
|
5936
5936
|
|
|
5937
|
+
### kenso market-profile rebuild
|
|
5938
|
+
|
|
5939
|
+
Rebuild the workspace's market news topic profile from its website. `POST /v1/market-profile/rebuild`. Beta: needs `market_news`.
|
|
5940
|
+
|
|
5941
|
+
Flags: `--each`, `--concurrency`.
|
|
5942
|
+
|
|
5937
5943
|
### kenso market-profile update
|
|
5938
5944
|
|
|
5939
5945
|
Update lists of the workspace's market news topic profile. `PATCH /v1/market-profile`. Beta: needs `market_news`.
|
|
@@ -5960,6 +5966,12 @@ List the workspace's market stories. `GET /v1/market-stories` (a list). Beta: ne
|
|
|
5960
5966
|
|
|
5961
5967
|
Flags: `--campaign-id`, `--cursor`, `--include-expired`, `--limit`, `--status`, `--no-include-expired`, `--all`, `--each`, `--concurrency`.
|
|
5962
5968
|
|
|
5969
|
+
### kenso market-stories update
|
|
5970
|
+
|
|
5971
|
+
Dismiss or restore a market story. `PATCH /v1/market-stories/{storyId}`. Beta: needs `market_news`.
|
|
5972
|
+
|
|
5973
|
+
Flags: `--story-id` (required), `--status`, `--data`, `--each`, `--concurrency`.
|
|
5974
|
+
|
|
5963
5975
|
## markets
|
|
5964
5976
|
|
|
5965
5977
|
### kenso markets get
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.61",
|
|
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": "18cfa66b050f727cfa5fd3f5f8d487ebff752172"
|
|
53
53
|
}
|