kenso 0.1.105 → 0.1.106
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 +4 -4
- package/dist/operations.json +1 -1
- package/docs/auth.md +2 -4
- package/docs/crm.md +1 -1
- package/docs/reference.md +1 -1
- package/package.json +2 -2
package/docs/auth.md
CHANGED
|
@@ -67,15 +67,13 @@ kenso campaigns list --workspace 5678
|
|
|
67
67
|
|
|
68
68
|
## Workspace-owned keys
|
|
69
69
|
|
|
70
|
-
A workspace admin can create a key the workspace owns: it keeps working when the admin leaves and acts with exactly the permissions of its template (`admin`, `editor` or `viewer`).
|
|
70
|
+
A workspace admin can create a key the workspace owns: it keeps working when the admin leaves and acts with exactly the permissions of its template (`admin`, `editor` or `viewer`). Workspace keys are on for every workspace. The command is in beta: `kenso --help` and `kenso workspace --help` list it, marked beta, once the CLI has read the workspace's features from `GET /v1/me`. When it cannot read them (no key, or the lookup fails or takes more than 1.5 seconds), help hides the command and names it on its "Beta, hidden" line instead; `--all-commands` shows it. It runs when typed either way.
|
|
71
71
|
|
|
72
72
|
```bash
|
|
73
73
|
kenso workspace keys create --name "Zapier sync" --template editor --expires-in-days 90
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
Once they are on for a workspace, no API key may create a workspace key, the one the CLI logs in with included. The command then prints the API's refusal (`forbidden`) with `"next":"A workspace admin can create it in the app: Settings > API keys > Workspace keys"` and exits 3, without retrying. A member who is not a workspace admin gets the same 403 and next step. An admin creates the key there; the secret is shown once.
|
|
76
|
+
No API key may create a workspace key, the one the CLI logs in with included. The command prints the API's refusal (`forbidden`) with `"next":"A workspace admin can create it in the app: Settings > API keys > Workspace keys"` and exits 3, without retrying. A member who is not a workspace admin gets a 403 too (`permission_denied`), with the same next step. An admin creates the key there; the secret is shown once.
|
|
79
77
|
|
|
80
78
|
## Profiles
|
|
81
79
|
|
package/docs/crm.md
CHANGED
|
@@ -127,7 +127,7 @@ kenso accounts bulk-update --ids 812,813 --set stage=engaged --set tier=2 --yes
|
|
|
127
127
|
kenso changes get --change-id 31
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
-
`accounts bulk-update` sets the same fields on every account you name: `--ids` (
|
|
130
|
+
`accounts bulk-update` sets the same fields on every account you name: `--ids` (1,000 at most), everything a `--filter` matches (the body `kenso accounts search --data` takes: `filters`, `where`, `q`; up to 50,000), or `--all`. A filter that holds only options and no condition (`--filter '{"includeImportOnly":true}'`) takes `--all` beside it. `--exclude-ids` leaves some of a filter's accounts out. `--set field=value` takes `ownerMemberId` (or `owner`), `stage`, `tierOverride` (or `tier`), `industry`, `fundingRound`, `employeeCount`, `hqLocation` and `cadenceDays`, and a custom field as `custom.<key>` (`--set custom.region=EMEA`; `kenso api GET '/v1/fields?object=account'` gives the keys); a value of `null` clears the field. A text field's value is sent as you type it (`--set hqLocation=10001` is the text "10001"); a custom field's type is not known to the CLI, so quote its text when it reads as a number or as true or false: `--set 'custom.code="10001"'`. Use `accounts update --each` when every row gets its own values.
|
|
131
131
|
|
|
132
132
|
It makes a change set: the accounts it names and, for each, the field, its value before and its value after. Without `--yes` (or with `--dry-run`) it previews: it prints `count` and a `sample`, writes nothing, and `next` is the `kenso changes apply` command that writes exactly those accounts. With `--yes` it writes in the background and waits (`--timeout`, default 10m), then prints the change with its `counts`: `applied`, `unchanged` (already had the value), `conflict` (the account changed after the preview, so it was left alone) and `failed` (for example `pinned`: a person set the field by hand; `--overwrite-pinned` replaces it). Exit 5 when some accounts failed or conflicted. It needs the `bulk_edit` flag as well as `accounts`.
|
|
133
133
|
|
package/docs/reference.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Kenso CLI command reference
|
|
2
2
|
|
|
3
|
-
Generated from kenso 0.1.
|
|
3
|
+
Generated from kenso 0.1.106 (API contracts 0846e4ccafa9) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
5
|
1866 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
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.106",
|
|
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": "1d60b30ab800e88ab1342e7227f2f241be9fa6b1"
|
|
53
53
|
}
|