kenso 0.1.91 → 0.1.92

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/crm.md CHANGED
@@ -247,6 +247,13 @@ With the `deal_stage_rules` flag on, each stage can name the fields a deal shoul
247
247
 
248
248
  A missing field never stops a move. The deal moves, and it is flagged Missing on the board, the list and the deal page until the field is filled. A rule also applies to deals already in the stage.
249
249
 
250
+ ```bash
251
+ kenso opportunities update --opportunity-id 4401 --stage proposal
252
+ kenso opportunities list --missing-fields
253
+ ```
254
+
255
+ Every deal then carries `missingFields` (`[{field, label}]`). A create, or an update that sends a stage, answers `warnings` beside the deal for each field the stage asks for that the deal leaves empty: each prints on stderr as `warning: <message>`, stdout stays the deal and the exit code stays 0. `--missing-fields` keeps only the deals flagged Missing (also `missingFields: true` on `kenso opportunities search`).
256
+
250
257
  ## Tasks
251
258
 
252
259
  Tasks are to-dos a member owes: a title, an optional due day or time, an assignee and at most one account, person or deal. They need the `tasks` flag. The app calls deals "Deals"; the CLI keeps `--deal` for an opportunity id.
package/docs/reference.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.91 (API contracts 59e3c968da61) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.92 (API contracts cb7b59ab46c8) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 1738 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
+ 1744 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
 
@@ -34,7 +34,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
34
34
  - [account-signals](#account-signals) (3)
35
35
  - [account-tiers](#account-tiers) (3)
36
36
  - [account-views](#account-views) (5)
37
- - [accounts](#accounts) (22)
37
+ - [accounts](#accounts) (24)
38
38
  - [ad-audiences](#ad-audiences) (5)
39
39
  - [ad-connections](#ad-connections) (6)
40
40
  - [agent](#agent) (1)
@@ -57,6 +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-key-reveals](#api-key-reveals) (1)
60
61
  - [api-keys](#api-keys) (5)
61
62
  - [api-requests](#api-requests) (2)
62
63
  - [apollo-lists](#apollo-lists) (1)
@@ -304,7 +305,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
304
305
  - [model-configurations](#model-configurations) (5)
305
306
  - [model-training](#model-training) (2)
306
307
  - [native-transcript-sources](#native-transcript-sources) (1)
307
- - [notes](#notes) (3)
308
+ - [notes](#notes) (6)
308
309
  - [notetaker-devices](#notetaker-devices) (2)
309
310
  - [notetaker-score-rubric](#notetaker-score-rubric) (3)
310
311
  - [notetaker-sessions](#notetaker-sessions) (1)
@@ -669,6 +670,12 @@ Set one account type on up to 500 accounts in one call. `POST /v1/accounts/bulk-
669
670
 
670
671
  Flags: `--account-type`, `--data`, `--each`, `--concurrency`.
671
672
 
673
+ ### kenso accounts clear-why-not-now
674
+
675
+ Clear an account's why-not-now: undo its current stop or wait. `DELETE /v1/accounts/{accountId}/why-not-now`. Beta: needs `accounts`.
676
+
677
+ Flags: `--account-id` (required), `--each`, `--concurrency`.
678
+
672
679
  ### kenso accounts create
673
680
 
674
681
  Create an account from its domains. `POST /v1/accounts`. Beta: needs `accounts`.
@@ -733,7 +740,7 @@ Flags: `--account-id` (required), `--each`, `--concurrency`.
733
740
 
734
741
  List accounts in the current workspace. `GET /v1/accounts` (a list). Beta: needs `accounts`.
735
742
 
736
- Flags: `--account-type`, `--cursor`, `--domain`, `--expand`, `--fits-icp`, `--has-open-opportunity`, `--ids`, `--is-customer`, `--latest-signal-after`, `--limit`, `--next-touch-before`, `--owner-member-id`, `--search`, `--sort`, `--stage`, `--stage-group`, `--tag-ids`, `--no-fits-icp`, `--no-has-open-opportunity`, `--no-is-customer`, `--all`, `--each`, `--concurrency`.
743
+ Flags: `--account-type`, `--cursor`, `--domain`, `--expand`, `--fits-icp`, `--has-open-opportunity`, `--ids`, `--is-customer`, `--latest-signal-after`, `--limit`, `--next-touch-before`, `--owner-member-id`, `--search`, `--sort`, `--stage`, `--stage-group`, `--tag-ids`, `--why-not-now`, `--no-fits-icp`, `--no-has-open-opportunity`, `--no-is-customer`, `--all`, `--each`, `--concurrency`.
737
744
 
738
745
  ### kenso accounts merge
739
746
 
@@ -759,6 +766,12 @@ Search accounts in the current workspace with filter conditions and AND / OR gro
759
766
 
760
767
  Flags: `--search`, `--time-zone`, `--include-import-only`, `--sort`, `--limit`, `--cursor`, `--include-total`, `--no-include-import-only`, `--no-include-total`, `--data`, `--all`, `--each`, `--concurrency`.
761
768
 
769
+ ### kenso accounts set-why-not-now
770
+
771
+ Set an account's why-not-now: a sourced reason to stop it, or to wait until a date. `PUT /v1/accounts/{accountId}/why-not-now`. Beta: needs `accounts`.
772
+
773
+ Flags: `--account-id` (required), `--reason`, `--source-url`, `--source-date`, `--reply-id`, `--until`, `--stakeholder-id`, `--note`, `--data`, `--each`, `--concurrency`.
774
+
762
775
  ### kenso accounts update
763
776
 
764
777
  Update account fields. Absent fields stay unchanged; null clears. `PATCH /v1/accounts/{accountId}`. Beta: needs `accounts`.
@@ -1213,13 +1226,21 @@ Arguments: `<METHOD>`, `<path>`.
1213
1226
 
1214
1227
  Flags: `--all`, `--data`, `--file`, `--no-workspace`, `--out`.
1215
1228
 
1229
+ ## api-key-reveals
1230
+
1231
+ ### kenso api-key-reveals claim
1232
+
1233
+ Show a new API key's secret, once. `POST /v1/api-key-reveals/{revealId}/claim`.
1234
+
1235
+ Flags: `--reveal-id` (required), `--each`, `--concurrency`.
1236
+
1216
1237
  ## api-keys
1217
1238
 
1218
1239
  ### kenso api-keys create
1219
1240
 
1220
1241
  Create an API key. The secret is returned once. `POST /v1/api-keys`.
1221
1242
 
1222
- Flags: `--name`, `--expires-in-days`, `--template-id`, `--api-version`, `--read-only`, `--no-read-only`, `--data`, `--each`, `--concurrency`.
1243
+ Flags: `--name`, `--expires-in-days`, `--template-id`, `--api-version`, `--read-only`, `--secret-delivery`, `--no-read-only`, `--data`, `--each`, `--concurrency`.
1223
1244
 
1224
1245
  ### kenso api-keys delete
1225
1246
 
@@ -1237,7 +1258,7 @@ Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
1237
1258
 
1238
1259
  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`.
1239
1260
 
1240
- Flags: `--api-key-id` (required), `--overlap-hours`, `--expires-in-days`, `--data`, `--each`, `--concurrency`.
1261
+ Flags: `--api-key-id` (required), `--overlap-hours`, `--expires-in-days`, `--secret-delivery`, `--data`, `--each`, `--concurrency`.
1241
1262
 
1242
1263
  ### kenso api-keys update
1243
1264
 
@@ -7445,6 +7466,12 @@ Write a note on an account, a person or a deal, or a comment under a note. `POST
7445
7466
 
7446
7467
  Flags: `--account-id`, `--person-id`, `--opportunity-id`, `--parent-note-id`, `--body`, `--data`, `--each`, `--concurrency`.
7447
7468
 
7469
+ ### kenso notes delete
7470
+
7471
+ Delete a note or a comment. `DELETE /v1/notes/{noteId}`. Beta: needs `record_notes`.
7472
+
7473
+ Flags: `--note-id` (required), `--each`, `--concurrency`.
7474
+
7448
7475
  ### kenso notes get
7449
7476
 
7450
7477
  Return one note with its first 50 comments, or one comment. `GET /v1/notes/{noteId}`. Beta: needs `record_notes`.
@@ -7457,6 +7484,18 @@ List the notes on an account, a person or a deal. `GET /v1/notes` (a list). Beta
7457
7484
 
7458
7485
  Flags: `--account-id`, `--cursor`, `--limit`, `--opportunity-id`, `--person-id`, `--all`, `--each`, `--concurrency`.
7459
7486
 
7487
+ ### kenso notes restore
7488
+
7489
+ Restore a deleted note or comment. `POST /v1/notes/{noteId}/restore`. Beta: needs `record_notes`.
7490
+
7491
+ Flags: `--note-id` (required), `--each`, `--concurrency`.
7492
+
7493
+ ### kenso notes update
7494
+
7495
+ Edit a note's text, or pin or unpin it. `PATCH /v1/notes/{noteId}`. Beta: needs `record_notes`.
7496
+
7497
+ Flags: `--note-id` (required), `--body`, `--is-pinned`, `--no-is-pinned`, `--data`, `--each`, `--concurrency`.
7498
+
7460
7499
  ## notetaker-devices
7461
7500
 
7462
7501
  ### kenso notetaker-devices list
@@ -7603,7 +7642,7 @@ Flags: `--opportunity-id` (required), `--each`, `--concurrency`.
7603
7642
 
7604
7643
  Export the opportunities a selection matches as CSV. `POST /v1/opportunities/export`. Beta: needs `crm_import_export` and `opportunities`.
7605
7644
 
7606
- Flags: `--account-id`, `--search`, `--time-zone`, `--sort`, `--out`, `--data`, `--each`, `--concurrency`.
7645
+ Flags: `--account-id`, `--search`, `--time-zone`, `--missing-fields`, `--sort`, `--no-missing-fields`, `--out`, `--data`, `--each`, `--concurrency`.
7607
7646
 
7608
7647
  ### kenso opportunities fill-details
7609
7648
 
@@ -7633,7 +7672,7 @@ Flags: `--opportunity-id` (required), `--body-dry-run`, `--no-body-dry-run`, `--
7633
7672
 
7634
7673
  List opportunities in the current workspace. `GET /v1/opportunities` (a list). Beta: needs `opportunities`.
7635
7674
 
7636
- Flags: `--account-id`, `--close-date-after`, `--close-date-before`, `--cursor`, `--limit`, `--owner-member-id`, `--person-id`, `--search`, `--sort`, `--source-campaign-id`, `--stage`, `--stage-category`, `--stale-days`, `--all`, `--each`, `--concurrency`.
7675
+ Flags: `--account-id`, `--close-date-after`, `--close-date-before`, `--cursor`, `--limit`, `--missing-fields`, `--owner-member-id`, `--person-id`, `--search`, `--sort`, `--source-campaign-id`, `--stage`, `--stage-category`, `--stale-days`, `--no-missing-fields`, `--all`, `--each`, `--concurrency`.
7637
7676
 
7638
7677
  ### kenso opportunities revenue
7639
7678
 
@@ -7645,7 +7684,7 @@ Flags: `--basis`, `--campaign-id`, `--from` (required), `--group-by`, `--to` (re
7645
7684
 
7646
7685
  Search opportunities in the current workspace with filter conditions, and count them per value. `POST /v1/opportunities/search` (a list). Beta: needs `opportunities`.
7647
7686
 
7648
- Flags: `--account-id`, `--search`, `--time-zone`, `--sort`, `--limit`, `--cursor`, `--include-total`, `--no-include-total`, `--data`, `--all`, `--each`, `--concurrency`.
7687
+ Flags: `--account-id`, `--search`, `--time-zone`, `--missing-fields`, `--sort`, `--limit`, `--cursor`, `--include-total`, `--no-missing-fields`, `--no-include-total`, `--data`, `--all`, `--each`, `--concurrency`.
7649
7688
 
7650
7689
  ### kenso opportunities stage-history
7651
7690
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.91",
3
+ "version": "0.1.92",
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": "fd7e7166689d043f037c2e1b554fb9939e2a371f"
52
+ "gitHead": "90a38ee289e7d614f93655361d4d7276a638f5ed"
53
53
  }