kenso 0.1.78 → 0.1.80

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
@@ -9,6 +9,7 @@ The CRM commands work on Kenso's Accounts lane: accounts (companies), the people
9
9
  | `accounts update --each`, `people update --each`, `opportunities update --each` | Edit many records from a file, one call per row |
10
10
  | `accounts write-research`, `people write-research` | Store research you gathered as a record's latest research, free. `--each` writes many |
11
11
  | `opportunities stage-history <id>` | A deal's stage history: each stage, when, who moved it and how long it sat there |
12
+ | `deleted-accounts list`, `accounts restore <id>` | The accounts deleted in the last 30 days, and bringing one back |
12
13
  | `capture status` | Your captured mailbox, its backfill progress and what teammates see of a captured email. Needs the `crm_capture` flag |
13
14
  | `capture connect` | Turn capture on for your own mailbox. `--private` starts it hidden from teammates; `--provider google` prints a sign-in link when no account is connected yet |
14
15
  | `capture private on\|off` | Hide your captured email from teammates, or show it again. Email only: meetings stay visible |
@@ -174,6 +175,15 @@ kenso crm-sync-issues list --connection-id 7 --all
174
175
 
175
176
  Run `kenso crm-connections --help` (or add `--all-commands` when the actions are hidden) to see every action.
176
177
 
178
+ ## Restore a deleted account
179
+
180
+ ```bash
181
+ kenso deleted-accounts list
182
+ kenso accounts restore 812
183
+ ```
184
+
185
+ A deleted account can be restored for 30 days. `deleted-accounts list` shows each one with who deleted it, `expiresAt` (restore works until then) and what comes back: `personCount`, `opportunityCount` and `touchCount`. `accounts restore <id>` brings the account back with its domains, its people, its deals and its planned touches, which wait for approval again. A domain another account took since stays with that account and is listed in `domainsTaken`. A merged account is not listed and cannot be restored: a merge has no undo. Both commands are behind the `crm_import_export` feature flag (`404` while it is off).
186
+
177
187
  ## A deal's stage history
178
188
 
179
189
  ```bash
package/docs/reference.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.78 (API contracts 419dabebd0ac) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.80 (API contracts d8c885628a47) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 1691 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
+ 1695 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) (20)
37
+ - [accounts](#accounts) (22)
38
38
  - [ad-audiences](#ad-audiences) (5)
39
39
  - [ad-connections](#ad-connections) (6)
40
40
  - [agent](#agent) (1)
@@ -165,6 +165,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
165
165
  - [dashboard](#dashboard) (1)
166
166
  - [dashboards](#dashboards) (8)
167
167
  - [data-retention](#data-retention) (2)
168
+ - [deleted-accounts](#deleted-accounts) (1)
168
169
  - [deliverability-rules](#deliverability-rules) (1)
169
170
  - [delivery-defaults](#delivery-defaults) (3)
170
171
  - [delivery-settings](#delivery-settings) (2)
@@ -310,7 +311,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
310
311
  - [onboarding-builds](#onboarding-builds) (3)
311
312
  - [onboarding-connect-plan](#onboarding-connect-plan) (1)
312
313
  - [onboarding-next-step](#onboarding-next-step) (1)
313
- - [opportunities](#opportunities) (10)
314
+ - [opportunities](#opportunities) (11)
314
315
  - [opportunity-people](#opportunity-people) (4)
315
316
  - [opportunity-settings](#opportunity-settings) (3)
316
317
  - [opportunity-stages](#opportunity-stages) (2)
@@ -671,6 +672,12 @@ Delete an account. `DELETE /v1/accounts/{accountId}`. Beta: needs `accounts`.
671
672
 
672
673
  Flags: `--account-id` (required), `--each`, `--concurrency`.
673
674
 
675
+ ### kenso accounts export
676
+
677
+ Export the accounts a selection matches as CSV. `POST /v1/accounts/export`. Beta: needs `accounts` and `crm_import_export`.
678
+
679
+ Flags: `--search`, `--time-zone`, `--include-import-only`, `--sort`, `--no-include-import-only`, `--out`, `--data`, `--each`, `--concurrency`.
680
+
674
681
  ### kenso accounts facets
675
682
 
676
683
  Count accounts per filter value for the filter panel. `POST /v1/accounts/facets`. Beta: needs `accounts`.
@@ -731,6 +738,12 @@ Research an account, or return its research when it is fresh. `POST /v1/accounts
731
738
 
732
739
  Flags: `--account-id` (required), `--force`, `--no-force`, `--data`, `--each`, `--concurrency`.
733
740
 
741
+ ### kenso accounts restore
742
+
743
+ Restore a deleted account. `POST /v1/accounts/{accountId}/restore`. Beta: needs `accounts` and `crm_import_export`.
744
+
745
+ Flags: `--account-id` (required), `--each`, `--concurrency`.
746
+
734
747
  ### kenso accounts search
735
748
 
736
749
  Search accounts in the current workspace with filter conditions and AND / OR groups. `POST /v1/accounts/search` (a list). Beta: needs `accounts`.
@@ -3839,6 +3852,14 @@ Change the workspace's data retention period. `PATCH /v1/data-retention`. Beta:
3839
3852
 
3840
3853
  Flags: `--months`, `--data`, `--each`, `--concurrency`.
3841
3854
 
3855
+ ## deleted-accounts
3856
+
3857
+ ### kenso deleted-accounts list
3858
+
3859
+ List the deleted accounts that can still be restored. `GET /v1/deleted-accounts` (a list). Beta: needs `accounts` and `crm_import_export`.
3860
+
3861
+ Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
3862
+
3842
3863
  ## deliverability-rules
3843
3864
 
3844
3865
  ### kenso deliverability-rules list
@@ -4181,7 +4202,7 @@ Flags: `--campaign-id` (required), `--name`, `--is-active`, `--expected-modified
4181
4202
 
4182
4203
  Test a campaign's email sequence. `POST /v1/campaigns/{campaignId}/email-sequence/test-send`.
4183
4204
 
4184
- Flags: `--campaign-id` (required), `--contact-id`, `--target-emails`, `--sender-email-id`, `--language`, `--data`, `--each`, `--concurrency`.
4205
+ Flags: `--campaign-id` (required), `--contact-id`, `--target-emails`, `--sender-email-id`, `--language`, `--provider-track`, `--data`, `--each`, `--concurrency`.
4185
4206
 
4186
4207
  ## enrich-jobs
4187
4208
 
@@ -7399,7 +7420,7 @@ Flags: `--each`, `--concurrency`.
7399
7420
 
7400
7421
  PATCH /v1/notetaker/settings. `PATCH /v1/notetaker/settings`. Beta: needs `notetaker`.
7401
7422
 
7402
- Flags: `--auto-start`, `--keep-audio30-days`, `--draft-follow-up`, `--share-with-workspace`, `--apply-to-past-meetings`, `--no-auto-start`, `--no-keep-audio30-days`, `--no-draft-follow-up`, `--no-share-with-workspace`, `--no-apply-to-past-meetings`, `--data`, `--each`, `--concurrency`.
7423
+ 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`.
7403
7424
 
7404
7425
  ## offer
7405
7426
 
@@ -7487,6 +7508,12 @@ Delete an opportunity. `DELETE /v1/opportunities/{opportunityId}`. Beta: needs `
7487
7508
 
7488
7509
  Flags: `--opportunity-id` (required), `--each`, `--concurrency`.
7489
7510
 
7511
+ ### kenso opportunities export
7512
+
7513
+ Export the opportunities a selection matches as CSV. `POST /v1/opportunities/export`. Beta: needs `crm_import_export` and `opportunities`.
7514
+
7515
+ Flags: `--account-id`, `--search`, `--time-zone`, `--sort`, `--out`, `--data`, `--each`, `--concurrency`.
7516
+
7490
7517
  ### kenso opportunities fill-details
7491
7518
 
7492
7519
  Fill an opportunity's details from its context. `POST /v1/opportunities/{opportunityId}/fill-details`. Beta: needs `opportunities`.
@@ -9959,7 +9986,7 @@ Flags: `--folder`, `--group-by`, `--is-archived`, `--is-saved`, `--status`, `--n
9959
9986
 
9960
9987
  Start an email thread. `POST /v1/threads`. Beta: needs `agent_send`.
9961
9988
 
9962
- Flags: `--sender-inbox-id`, `--subject`, `--body`, `--idempotency-key` (required), `--data`, `--each`, `--concurrency`.
9989
+ Flags: `--sender-inbox-id`, `--subject`, `--body`, `--override-contact-limits`, `--no-override-contact-limits`, `--idempotency-key` (required), `--data`, `--each`, `--concurrency`.
9963
9990
 
9964
9991
  ### kenso threads create-image
9965
9992
 
@@ -10095,7 +10122,7 @@ Flags: `--touch-id` (required), `--updated-at`, `--recipient-version`, `--data`,
10095
10122
 
10096
10123
  Plan a touch on an account. `POST /v1/touches`. Beta: needs `accounts`.
10097
10124
 
10098
- Flags: `--account-id`, `--stakeholder-id`, `--channel`, `--due-at`, `--reason`, `--title`, `--subject`, `--body`, `--rationale`, `--judge-score`, `--asset-link-id`, `--whatsapp-account-id`, `--find-number`, `--voice-provider`, `--voice-id`, `--no-find-number`, `--data`, `--each`, `--concurrency`.
10125
+ Flags: `--account-id`, `--stakeholder-id`, `--channel`, `--due-at`, `--reason`, `--title`, `--subject`, `--body`, `--rationale`, `--judge-score`, `--asset-link-id`, `--whatsapp-account-id`, `--find-number`, `--voice-provider`, `--voice-id`, `--override-contact-limits`, `--no-find-number`, `--no-override-contact-limits`, `--data`, `--each`, `--concurrency`.
10099
10126
 
10100
10127
  ### kenso touches delete
10101
10128
 
@@ -10155,7 +10182,7 @@ Flags: `--touch-id` (required), `--reason`, `--data`, `--each`, `--concurrency`.
10155
10182
 
10156
10183
  Push a touch out by a number of days. `POST /v1/touches/{touchId}/snooze`. Beta: needs `accounts`.
10157
10184
 
10158
- Flags: `--touch-id` (required), `--days`, `--data`, `--each`, `--concurrency`.
10185
+ Flags: `--touch-id` (required), `--days`, `--override-contact-limits`, `--no-override-contact-limits`, `--data`, `--each`, `--concurrency`.
10159
10186
 
10160
10187
  ### kenso touches undo
10161
10188
 
@@ -10167,7 +10194,7 @@ Flags: `--touch-id` (required), `--action`, `--updated-at`, `--data`, `--each`,
10167
10194
 
10168
10195
  Edit a touch's title, channel, content, due time or sending inbox. `PATCH /v1/touches/{touchId}`. Beta: needs `accounts`.
10169
10196
 
10170
- Flags: `--touch-id` (required), `--title`, `--channel`, `--subject`, `--body`, `--rationale`, `--due-at`, `--stakeholder-id`, `--asset-link-id`, `--sender-inbox-id`, `--whatsapp-account-id`, `--find-number`, `--voice-provider`, `--voice-id`, `--no-find-number`, `--data`, `--each`, `--concurrency`.
10197
+ Flags: `--touch-id` (required), `--title`, `--channel`, `--subject`, `--body`, `--rationale`, `--due-at`, `--stakeholder-id`, `--asset-link-id`, `--sender-inbox-id`, `--whatsapp-account-id`, `--find-number`, `--voice-provider`, `--voice-id`, `--override-contact-limits`, `--no-find-number`, `--no-override-contact-limits`, `--data`, `--each`, `--concurrency`.
10171
10198
 
10172
10199
  ### kenso touches write-call-brief
10173
10200
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.78",
3
+ "version": "0.1.80",
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": "87232c43a674e6be9825b4a513cf0291abdd8a48"
52
+ "gitHead": "4e72d27b90a660a40dd387218e79743f4dbc037a"
53
53
  }