kenso 0.1.87 → 0.1.88

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
@@ -65,6 +65,18 @@ kenso campaigns list --workspace 5678
65
65
 
66
66
  `workspace list` prints one page and says on stderr when there are more: add `--all` for every page. A command that needs a workspace when none is picked fails with `workspace_required` (exit 2) and `"next":"kenso workspace list --search <name>"`.
67
67
 
68
+ ## Workspace-owned keys
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.
71
+
72
+ ```bash
73
+ kenso workspace keys create --name "Zapier sync" --template editor --expires-in-days 90
74
+ ```
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.
79
+
68
80
  ## Profiles
69
81
 
70
82
  A profile holds a key, a workspace, an optional API URL and the email. Use one per client or per key:
package/docs/reference.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.87 (API contracts b935ecce0a22) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.88 (API contracts 3adf0894af2c) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 1716 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
+ 1723 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
 
@@ -192,6 +192,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
192
192
  - [external-bookings](#external-bookings) (2)
193
193
  - [facebook-accounts](#facebook-accounts) (9)
194
194
  - [fathom-connection](#fathom-connection) (3)
195
+ - [field-fill-settings](#field-fill-settings) (2)
195
196
  - [fields](#fields) (4)
196
197
  - [file-comments](#file-comments) (4)
197
198
  - [files](#files) (7)
@@ -393,6 +394,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
393
394
  - [studio](#studio) (5)
394
395
  - [studio-starters](#studio-starters) (2)
395
396
  - [subscription](#subscription) (5)
397
+ - [suggestions](#suggestions) (4)
396
398
  - [support-attachments](#support-attachments) (3)
397
399
  - [sync](#sync) (4)
398
400
  - [tags](#tags) (9)
@@ -455,7 +457,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
455
457
  - [workflow-templates](#workflow-templates) (2)
456
458
  - [workflow-versions](#workflow-versions) (4)
457
459
  - [workflows](#workflows) (10)
458
- - [workspace](#workspace) (2)
460
+ - [workspace](#workspace) (3)
459
461
  - [workspace-api-keys](#workspace-api-keys) (3)
460
462
  - [workspace-data-deletions](#workspace-data-deletions) (4)
461
463
  - [workspaces](#workspaces) (17)
@@ -4482,6 +4484,20 @@ Read the caller's Fathom connection. `GET /v1/integrations/fathom/connection`. B
4482
4484
 
4483
4485
  Flags: `--each`, `--concurrency`.
4484
4486
 
4487
+ ## field-fill-settings
4488
+
4489
+ ### kenso field-fill-settings list
4490
+
4491
+ List the fields Ken can fill, each with its mode. `GET /v1/field-fill-settings` (a list). Beta: needs `ken_field_fill`.
4492
+
4493
+ Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
4494
+
4495
+ ### kenso field-fill-settings update
4496
+
4497
+ Set how Ken treats one field. `PATCH /v1/field-fill-settings/{object}/{field}`. Beta: needs `ken_field_fill`.
4498
+
4499
+ Flags: `--object` (required), `--field` (required), `--mode`, `--instruction`, `--data`, `--each`, `--concurrency`.
4500
+
4485
4501
  ## fields
4486
4502
 
4487
4503
  ### kenso fields archive
@@ -7514,7 +7530,7 @@ Flags: `--each`, `--concurrency`.
7514
7530
 
7515
7531
  Create an opportunity on an account. `POST /v1/opportunities`. Beta: needs `opportunities`.
7516
7532
 
7517
- Flags: `--name`, `--stage`, `--amount`, `--currency`, `--close-date`, `--owner-member-id`, `--primary-person-id`, `--next-step`, `--lost-reason`, `--lost-reason-key`, `--deal-type`, `--summary`, `--probability`, `--forecast-category`, `--forecast-category-reason`, `--account-id`, `--data`, `--each`, `--concurrency`.
7533
+ Flags: `--name`, `--stage`, `--amount`, `--currency`, `--close-date`, `--owner-member-id`, `--primary-person-id`, `--next-step`, `--lost-reason`, `--lost-reason-key`, `--deal-type`, `--summary`, `--probability`, `--forecast-category`, `--forecast-category-reason`, `--account-id`, `--opened-at`, `--data`, `--each`, `--concurrency`.
7518
7534
 
7519
7535
  ### kenso opportunities delete
7520
7536
 
@@ -7574,7 +7590,7 @@ Arguments: `<opportunityId>`.
7574
7590
 
7575
7591
  Update opportunity fields. Absent fields stay unchanged; null clears. `PATCH /v1/opportunities/{opportunityId}`. Beta: needs `opportunities`.
7576
7592
 
7577
- Flags: `--opportunity-id` (required), `--name`, `--stage`, `--amount`, `--currency`, `--close-date`, `--owner-member-id`, `--primary-person-id`, `--next-step`, `--lost-reason`, `--lost-reason-key`, `--deal-type`, `--summary`, `--probability`, `--forecast-category`, `--forecast-category-reason`, `--account-id`, `--overwrite-pinned`, `--no-overwrite-pinned`, `--data`, `--each`, `--concurrency`.
7593
+ Flags: `--opportunity-id` (required), `--name`, `--stage`, `--amount`, `--currency`, `--close-date`, `--owner-member-id`, `--primary-person-id`, `--next-step`, `--lost-reason`, `--lost-reason-key`, `--deal-type`, `--summary`, `--probability`, `--forecast-category`, `--forecast-category-reason`, `--account-id`, `--source-campaign-id`, `--source-step-order`, `--overwrite-pinned`, `--no-overwrite-pinned`, `--data`, `--each`, `--concurrency`.
7578
7594
 
7579
7595
  ## opportunity-people
7580
7596
 
@@ -9900,6 +9916,32 @@ Switch the billing period at the next renewal. `PATCH /v1/billing/subscription`.
9900
9916
 
9901
9917
  Flags: `--interval`, `--data`, `--each`, `--concurrency`.
9902
9918
 
9919
+ ## suggestions
9920
+
9921
+ ### kenso suggestions approve
9922
+
9923
+ Approve a suggestion: write its value to the record. `POST /v1/suggestions/{suggestionId}/approve`. Beta: needs `ken_field_fill`.
9924
+
9925
+ Flags: `--suggestion-id` (required), `--data`, `--each`, `--concurrency`.
9926
+
9927
+ ### kenso suggestions get
9928
+
9929
+ Return one suggestion. `GET /v1/suggestions/{suggestionId}`. Beta: needs `ken_field_fill`.
9930
+
9931
+ Flags: `--suggestion-id` (required), `--each`, `--concurrency`.
9932
+
9933
+ ### kenso suggestions list
9934
+
9935
+ List Ken's suggestions in the current workspace. `GET /v1/suggestions` (a list). Beta: needs `ken_field_fill`.
9936
+
9937
+ Flags: `--account-id`, `--cursor`, `--limit`, `--meeting-id`, `--object`, `--record-id`, `--status`, `--all`, `--each`, `--concurrency`.
9938
+
9939
+ ### kenso suggestions reject
9940
+
9941
+ Reject a suggestion: the record keeps its value. `POST /v1/suggestions/{suggestionId}/reject`. Beta: needs `ken_field_fill`.
9942
+
9943
+ Flags: `--suggestion-id` (required), `--reason`, `--data`, `--each`, `--concurrency`.
9944
+
9903
9945
  ## support-attachments
9904
9946
 
9905
9947
  ### kenso support-attachments content
@@ -11142,7 +11184,7 @@ Arguments: `<answers-file>`.
11142
11184
 
11143
11185
  Write a draft from a plain-words goal. `POST /v1/workflows/build`. Beta: needs `workflows`.
11144
11186
 
11145
- Flags: `--goal`, `--kind`, `--campaign-id`, `--workflow-id`, `--base-version`, `--note`, `--save`, `--no-save`, `--data`, `--each`, `--concurrency`.
11187
+ Flags: `--goal`, `--kind`, `--campaign-id`, `--workflow-id`, `--base-version`, `--note`, `--save`, `--ask`, `--no-save`, `--no-ask`, `--data`, `--each`, `--concurrency`.
11146
11188
 
11147
11189
  ### kenso workflow-builder compile
11148
11190
 
@@ -11474,6 +11516,14 @@ Flags: `--workflow-id` (required), `--mode`, `--data`, `--each`, `--concurrency`
11474
11516
 
11475
11517
  ## workspace
11476
11518
 
11519
+ ### kenso workspace keys
11520
+
11521
+ Create an API key the workspace owns. `POST /v1/workspace-api-keys`. Beta: needs `workspace_api_keys` and `workspace_owned_api_keys`.
11522
+
11523
+ Arguments: `<action>`.
11524
+
11525
+ Flags: `--expires-in-days`, `--name` (required), `--template` (required).
11526
+
11477
11527
  ### kenso workspace list
11478
11528
 
11479
11529
  List the workspaces your key can use. `GET /v1/workspaces` (a list).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.87",
3
+ "version": "0.1.88",
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": "93590cecfed5719443280d962d2ed3d68398a156"
52
+ "gitHead": "ac6f26c5c98b907b90f9e07cb4879d5bcbec7476"
53
53
  }