kenso 0.1.104 → 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/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`). The feature is in beta and off by default, so `kenso --help` and `kenso workspace --help` hide the command until `workspace_api_keys` and `workspace_owned_api_keys` are both on for the workspace (`--all-commands` shows it, marked beta). It still runs when typed.
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
- Today workspace keys are off for every workspace: the API answers 404, so the command prints `not_found` with "Workspace keys are not available for this workspace yet." and exits 4.
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` (up to 1,000), 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.
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,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.104 (API contracts 8efdf3497273) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
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
- 1842 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.
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
 
7
7
  ## Global flags
8
8
 
@@ -135,9 +135,11 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
135
135
  - [client-approvals](#client-approvals) (8)
136
136
  - [cloud-files](#cloud-files) (2)
137
137
  - [coaching-calls](#coaching-calls) (1)
138
+ - [coaching-objections](#coaching-objections) (2)
138
139
  - [coaching-practice-sessions](#coaching-practice-sessions) (2)
139
140
  - [coaching-reviews](#coaching-reviews) (2)
140
141
  - [coaching-scorecards](#coaching-scorecards) (4)
142
+ - [coaching-weekly-notes](#coaching-weekly-notes) (3)
141
143
  - [committee](#committee) (4)
142
144
  - [committee-seats](#committee-seats) (1)
143
145
  - [companies](#companies) (2)
@@ -299,6 +301,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
299
301
  - [meeting-call-types](#meeting-call-types) (4)
300
302
  - [meeting-chase-emails](#meeting-chase-emails) (4)
301
303
  - [meeting-notes](#meeting-notes) (4)
304
+ - [meeting-pack](#meeting-pack) (4)
302
305
  - [meeting-portal](#meeting-portal) (7)
303
306
  - [meeting-public-links](#meeting-public-links) (3)
304
307
  - [meeting-recordings](#meeting-recordings) (1)
@@ -402,6 +405,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
402
405
  - [sending-provider-connections](#sending-provider-connections) (7)
403
406
  - [sending-providers](#sending-providers) (1)
404
407
  - [sequence-imports](#sequence-imports) (1)
408
+ - [sequence-steps](#sequence-steps) (1)
405
409
  - [sequence-variables](#sequence-variables) (1)
406
410
  - [shared-meetings](#shared-meetings) (1)
407
411
  - [shares](#shares) (8)
@@ -431,7 +435,8 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
431
435
  - [tasks](#tasks) (10)
432
436
  - [teams-connection](#teams-connection) (5)
433
437
  - [theme-mentions](#theme-mentions) (1)
434
- - [themes](#themes) (1)
438
+ - [theme-suggestions](#theme-suggestions) (3)
439
+ - [themes](#themes) (6)
435
440
  - [threads](#threads) (18)
436
441
  - [today](#today) (1)
437
442
  - [today-items](#today-items) (1)
@@ -448,6 +453,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
448
453
  - [usage](#usage) (1)
449
454
  - [video-connections](#video-connections) (4)
450
455
  - [video-provider-connections](#video-provider-connections) (8)
456
+ - [views](#views) (6)
451
457
  - [voice](#voice) (1)
452
458
  - [voice-conversation-tickets](#voice-conversation-tickets) (1)
453
459
  - [voice-conversations](#voice-conversations) (1)
@@ -3383,6 +3389,20 @@ List the workspace's reviewed calls. `GET /v1/coaching/calls` (a list). Beta: ne
3383
3389
 
3384
3390
  Flags: `--cursor`, `--from`, `--limit`, `--outcome`, `--rep-user-id`, `--to`, `--all`, `--each`, `--concurrency`.
3385
3391
 
3392
+ ## coaching-objections
3393
+
3394
+ ### kenso coaching-objections list
3395
+
3396
+ List the workspace's objections with their quotes and best answers. `GET /v1/coaching/objections` (a list). Beta: needs `call_coaching`.
3397
+
3398
+ Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
3399
+
3400
+ ### kenso coaching-objections update
3401
+
3402
+ Pin a manager's own answer to an objection, or unpin it. `PATCH /v1/coaching/objections/{themeId}`. Beta: needs `call_coaching`.
3403
+
3404
+ Flags: `--theme-id` (required), `--response-text`, `--data`, `--each`, `--concurrency`.
3405
+
3386
3406
  ## coaching-practice-sessions
3387
3407
 
3388
3408
  ### kenso coaching-practice-sessions create
@@ -3437,6 +3457,26 @@ Edit the team's draft scorecard. `PATCH /v1/coaching/scorecards/{scorecardId}`.
3437
3457
 
3438
3458
  Flags: `--scorecard-id` (required), `--summary`, `--data`, `--each`, `--concurrency`.
3439
3459
 
3460
+ ## coaching-weekly-notes
3461
+
3462
+ ### kenso coaching-weekly-notes get
3463
+
3464
+ Return a weekly note. `GET /v1/coaching/weekly-notes/{noteId}`. Beta: needs `call_coaching`.
3465
+
3466
+ Flags: `--note-id` (required), `--each`, `--concurrency`.
3467
+
3468
+ ### kenso coaching-weekly-notes list
3469
+
3470
+ List weekly notes. `GET /v1/coaching/weekly-notes` (a list). Beta: needs `call_coaching`.
3471
+
3472
+ Flags: `--cursor`, `--limit`, `--rep-user-id`, `--status`, `--all`, `--each`, `--concurrency`.
3473
+
3474
+ ### kenso coaching-weekly-notes update
3475
+
3476
+ Edit, approve, dismiss or acknowledge a weekly note. `PATCH /v1/coaching/weekly-notes/{noteId}`. Beta: needs `call_coaching`.
3477
+
3478
+ Flags: `--note-id` (required), `--action`, `--opener`, `--data`, `--each`, `--concurrency`.
3479
+
3440
3480
  ## committee
3441
3481
 
3442
3482
  ### kenso committee get
@@ -7081,6 +7121,32 @@ List an account's meeting notes. `GET /v1/accounts/{accountId}/meeting-notes` (a
7081
7121
 
7082
7122
  Flags: `--account-id` (required), `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
7083
7123
 
7124
+ ## meeting-pack
7125
+
7126
+ ### kenso meeting-pack approve
7127
+
7128
+ Approve one pack item. `POST /v1/meetings/{meetingId}/pack/{kind}/approve`. Beta: needs `accounts` and `meeting_pack` and `meetings`.
7129
+
7130
+ Flags: `--meeting-id` (required), `--kind` (required), `--create-opportunity`, `--no-create-opportunity`, `--data`, `--each`, `--concurrency`.
7131
+
7132
+ ### kenso meeting-pack get
7133
+
7134
+ Read a meeting's post-meeting pack. `GET /v1/meetings/{meetingId}/pack`. Beta: needs `accounts` and `meeting_pack` and `meetings`.
7135
+
7136
+ Flags: `--meeting-id` (required), `--each`, `--concurrency`.
7137
+
7138
+ ### kenso meeting-pack skip
7139
+
7140
+ Skip one pack item. `POST /v1/meetings/{meetingId}/pack/{kind}/skip`. Beta: needs `accounts` and `meeting_pack` and `meetings`.
7141
+
7142
+ Flags: `--meeting-id` (required), `--kind` (required), `--each`, `--concurrency`.
7143
+
7144
+ ### kenso meeting-pack update
7145
+
7146
+ Replace a ready pack item's draft. `PATCH /v1/meetings/{meetingId}/pack/{kind}`. Beta: needs `accounts` and `meeting_pack` and `meetings`.
7147
+
7148
+ Flags: `--meeting-id` (required), `--kind` (required), `--data`, `--each`, `--concurrency`.
7149
+
7084
7150
  ## meeting-portal
7085
7151
 
7086
7152
  ### kenso meeting-portal answer
@@ -7909,7 +7975,7 @@ Flags: `--each`, `--concurrency`.
7909
7975
 
7910
7976
  PATCH /v1/notetaker/settings. `PATCH /v1/notetaker/settings`. Beta: needs `notetaker`.
7911
7977
 
7912
- Flags: `--auto-start`, `--keep-audio30-days`, `--draft-follow-up`, `--share-with-workspace`, `--apply-to-past-meetings`, `--auto-send-follow-up`, `--fallback-follow-up`, `--fallback-follow-up-subject`, `--fallback-follow-up-body`, `--no-auto-start`, `--no-keep-audio30-days`, `--no-draft-follow-up`, `--no-share-with-workspace`, `--no-apply-to-past-meetings`, `--no-auto-send-follow-up`, `--no-fallback-follow-up`, `--data`, `--each`, `--concurrency`.
7978
+ Flags: `--auto-start`, `--keep-audio30-days`, `--draft-follow-up`, `--share-with-workspace`, `--apply-to-past-meetings`, `--auto-send-follow-up`, `--fallback-follow-up`, `--fallback-follow-up-subject`, `--fallback-follow-up-body`, `--audio-retention-days`, `--bot-announcement`, `--chat-notice`, `--pre-meeting-email`, `--set-up`, `--no-auto-start`, `--no-keep-audio30-days`, `--no-draft-follow-up`, `--no-share-with-workspace`, `--no-apply-to-past-meetings`, `--no-auto-send-follow-up`, `--no-fallback-follow-up`, `--no-bot-announcement`, `--no-chat-notice`, `--no-pre-meeting-email`, `--no-set-up`, `--data`, `--each`, `--concurrency`.
7913
7979
 
7914
7980
  ## offer
7915
7981
 
@@ -10273,6 +10339,14 @@ Preview a sequence from another tool. `POST /v1/sequence-imports/previews`.
10273
10339
 
10274
10340
  Flags: `--text`, `--source`, `--data`, `--each`, `--concurrency`.
10275
10341
 
10342
+ ## sequence-steps
10343
+
10344
+ ### kenso sequence-steps replace-angle
10345
+
10346
+ Rename a step variant's angle. `PUT /v1/sequence-steps/{stepId}/angle`. Beta: needs `meeting_attribution`.
10347
+
10348
+ Flags: `--step-id` (required), `--angle`, `--data`, `--each`, `--concurrency`.
10349
+
10276
10350
  ## sequence-variables
10277
10351
 
10278
10352
  ### kenso sequence-variables get
@@ -10903,6 +10977,26 @@ List the quotes Ken tied to the workspace's trackers. `GET /v1/theme-mentions` (
10903
10977
 
10904
10978
  Flags: `--campaign-id`, `--cursor`, `--from`, `--limit`, `--meeting-id`, `--source`, `--theme-id`, `--thread-id`, `--thread-ids`, `--to`, `--all`, `--each`, `--concurrency`.
10905
10979
 
10980
+ ## theme-suggestions
10981
+
10982
+ ### kenso theme-suggestions list
10983
+
10984
+ List Ken's suggestions. `GET /v1/theme-suggestions` (a list). Beta: needs `themes`.
10985
+
10986
+ Flags: `--campaign-id`, `--cursor`, `--limit`, `--status`, `--all`, `--each`, `--concurrency`.
10987
+
10988
+ ### kenso theme-suggestions undo
10989
+
10990
+ Undo an applied suggestion. `POST /v1/theme-suggestions/{suggestionId}/undo`. Beta: needs `themes`.
10991
+
10992
+ Flags: `--suggestion-id` (required), `--each`, `--concurrency`.
10993
+
10994
+ ### kenso theme-suggestions update
10995
+
10996
+ Edit a pending suggestion. `PATCH /v1/theme-suggestions/{suggestionId}`. Beta: needs `themes`.
10997
+
10998
+ Flags: `--suggestion-id` (required), `--data`, `--each`, `--concurrency`.
10999
+
10906
11000
  ## themes
10907
11001
 
10908
11002
  ### kenso themes battlecard
@@ -10911,6 +11005,36 @@ Ask Ken to draft battlecard notes for a competitor tracker into Knowledge Review
10911
11005
 
10912
11006
  Flags: `--theme-id` (required), `--each`, `--concurrency`.
10913
11007
 
11008
+ ### kenso themes create
11009
+
11010
+ Create a custom tracker as a draft. `POST /v1/themes`. Beta: needs `themes`.
11011
+
11012
+ Flags: `--name`, `--description`, `--kind`, `--objection-type`, `--data`, `--each`, `--concurrency`.
11013
+
11014
+ ### kenso themes delete
11015
+
11016
+ Delete a custom tracker. `DELETE /v1/themes/{themeId}`. Beta: needs `themes`.
11017
+
11018
+ Flags: `--theme-id` (required), `--each`, `--concurrency`.
11019
+
11020
+ ### kenso themes get
11021
+
11022
+ Get a tracker with its 90-day test. `GET /v1/themes/{themeId}`. Beta: needs `themes`.
11023
+
11024
+ Flags: `--theme-id` (required), `--each`, `--concurrency`.
11025
+
11026
+ ### kenso themes test
11027
+
11028
+ Run a draft tracker's 90-day test again. `POST /v1/themes/{themeId}/test`. Beta: needs `themes`.
11029
+
11030
+ Flags: `--theme-id` (required), `--each`, `--concurrency`.
11031
+
11032
+ ### kenso themes update
11033
+
11034
+ Update a tracker: save a draft, edit it, turn it off or back on. `PATCH /v1/themes/{themeId}`. Beta: needs `themes`.
11035
+
11036
+ Flags: `--theme-id` (required), `--name`, `--description`, `--status`, `--data`, `--each`, `--concurrency`.
11037
+
10914
11038
  ## threads
10915
11039
 
10916
11040
  ### kenso threads bulk-update
@@ -11363,6 +11487,44 @@ Check the stored credentials again. `POST /v1/video-provider-connections/{connec
11363
11487
 
11364
11488
  Flags: `--connection-id` (required), `--each`, `--concurrency`.
11365
11489
 
11490
+ ## views
11491
+
11492
+ ### kenso views create
11493
+
11494
+ Save a view. `POST /v1/views`. Beta: needs `accounts` and `shared_views`.
11495
+
11496
+ Flags: `--object`, `--name`, `--visibility`, `--sort`, `--layout`, `--data`, `--each`, `--concurrency`.
11497
+
11498
+ ### kenso views delete
11499
+
11500
+ Delete a view the calling member can see. `DELETE /v1/views/{viewId}`. Beta: needs `accounts` and `shared_views`.
11501
+
11502
+ Flags: `--view-id` (required), `--each`, `--concurrency`.
11503
+
11504
+ ### kenso views get
11505
+
11506
+ Get one view the calling member can see. `GET /v1/views/{viewId}`. Beta: needs `accounts` and `shared_views`.
11507
+
11508
+ Flags: `--view-id` (required), `--each`, `--concurrency`.
11509
+
11510
+ ### kenso views list
11511
+
11512
+ List the views the calling member can see. `GET /v1/views` (a list). Beta: needs `accounts` and `shared_views`.
11513
+
11514
+ Flags: `--cursor`, `--limit`, `--object`, `--all`, `--each`, `--concurrency`.
11515
+
11516
+ ### kenso views run
11517
+
11518
+ Run a view: its records, as its object's search returns them. `POST /v1/views/{viewId}/run`. Beta: needs `accounts` and `shared_views`.
11519
+
11520
+ Flags: `--view-id` (required), `--limit`, `--cursor`, `--include-total`, `--no-include-total`, `--data`, `--each`, `--concurrency`.
11521
+
11522
+ ### kenso views update
11523
+
11524
+ Change a view the calling member can see. Absent fields stay. `PATCH /v1/views/{viewId}`. Beta: needs `accounts` and `shared_views`.
11525
+
11526
+ Flags: `--view-id` (required), `--name`, `--visibility`, `--sort`, `--layout`, `--data`, `--each`, `--concurrency`.
11527
+
11366
11528
  ## voice
11367
11529
 
11368
11530
  ### kenso voice connect
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.104",
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": "be9bccfbb96eb5c5766384a9791b901136b9d650"
52
+ "gitHead": "1d60b30ab800e88ab1342e7227f2f241be9fa6b1"
53
53
  }