kenso 0.1.169 → 0.1.171
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/CHANGELOG.md +1 -0
- package/dist/discover.json +1 -1
- package/dist/kenso.js +3 -3
- package/dist/operations.index.json +1 -1
- package/dist/operations.json +1 -1
- package/dist/step-types.json +1 -1
- package/docs/crm.md +9 -1
- package/docs/reference.md +99 -6
- package/package.json +2 -2
package/docs/crm.md
CHANGED
|
@@ -16,6 +16,7 @@ The CRM commands work on Kenso's Accounts lane: accounts (companies), the people
|
|
|
16
16
|
| `opportunities stage-history <id>` | A deal's stage history: each stage, when, who moved it and how long it sat there |
|
|
17
17
|
| `notes list`, `notes add`, `notes edit`, `notes delete` | Notes and comments on accounts, people and deals (needs `record_notes`) |
|
|
18
18
|
| `deleted-accounts list`, `accounts restore --account-id <id>` | The accounts deleted in the last 30 days, and bringing one back |
|
|
19
|
+
| `people restore --person-id <id>`, `opportunities restore --opportunity-id <id>` | Bringing back one person or one deal deleted in the last 30 days |
|
|
19
20
|
| `accounts duplicates`, `accounts merge <id> --into <id>`, `accounts merges list` | The pairs that look like one company, merging a pair, and the log of merges |
|
|
20
21
|
| `export <accounts\|people\|deals>` | The list as CSV: everything, a saved view (`--view <id>`), or what the filters match |
|
|
21
22
|
| `capture status` | Your captured mailbox, its backfill progress and what teammates see of a captured email. Needs the `crm_capture` flag |
|
|
@@ -156,7 +157,7 @@ kenso changes apply --change-id 32
|
|
|
156
157
|
kenso opportunities bulk-delete --ids 71,72,73 --yes
|
|
157
158
|
```
|
|
158
159
|
|
|
159
|
-
`accounts bulk-delete`, `people bulk-delete` and `opportunities bulk-delete` name their records the way `bulk-update` does (`--ids`, `--filter`, `--all`, `--exclude-ids`) and take no `--set`. Without `--yes` they preview: `count`, a `sample`, and `next` is the `kenso changes apply` command that deletes exactly those records. The API itself previews a delete whose body leaves `dryRun` out, so `--yes` sends `dryRun: false`. Each record is deleted as its own `delete` command deletes it, so one that cannot be deleted (a person still on an account) is counted as `failed` and the rest go on. `kenso changes undo` undoes a delete
|
|
160
|
+
`accounts bulk-delete`, `people bulk-delete` and `opportunities bulk-delete` name their records the way `bulk-update` does (`--ids`, `--filter`, `--all`, `--exclude-ids`) and take no `--set`. Without `--yes` they preview: `count`, a `sample`, and `next` is the `kenso changes apply` command that deletes exactly those records. The API itself previews a delete whose body leaves `dryRun` out, so `--yes` sends `dryRun: false`. Each record is deleted as its own `delete` command deletes it, so one that cannot be deleted (a person still on an account) is counted as `failed` and the rest go on. `kenso changes undo` undoes a delete for 30 days: each account, person or deal still deleted is restored, as `kenso accounts restore`, `kenso people restore` or `kenso opportunities restore` restores it. A restore the record refuses (a person whose email a live person holds by now, a deal whose account is deleted) is that row's `undo_failed`.
|
|
160
161
|
|
|
161
162
|
### Follow, stop and undo a change
|
|
162
163
|
|
|
@@ -294,6 +295,13 @@ kenso accounts restore --account-id 812
|
|
|
294
295
|
|
|
295
296
|
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 --account-id <id>` brings the account back with its domains, its people, its deals and its planned touches, which wait for approval again. Its Studio pages, committee seats and Knowledge facts do not come back: the delete purged them. 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).
|
|
296
297
|
|
|
298
|
+
```bash
|
|
299
|
+
kenso people restore --person-id 16079
|
|
300
|
+
kenso opportunities restore --opportunity-id 2133
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
`people restore` brings back a person deleted in the last 30 days, with the champion watch the delete ended, on no account as they were when they were deleted. A live person who holds their email, LinkedIn URL or accepted Instagram account by now keeps it: the restore answers `409` `person_exists` with that person's id. `opportunities restore` brings back a deal deleted in the last 30 days onto its account; while the account is deleted it answers `409` `account_deleted`, and `accounts restore` brings back the deals deleted with the account. A deal whose stage was removed since answers `409` `stage_removed`. A merged person, or a deal on a merged account, cannot be restored. Both are behind `crm_import_export` too.
|
|
304
|
+
|
|
297
305
|
## Import a CSV export of another CRM
|
|
298
306
|
|
|
299
307
|
```bash
|
package/docs/reference.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Kenso CLI command reference
|
|
2
2
|
|
|
3
|
-
Generated from kenso 0.1.
|
|
3
|
+
Generated from kenso 0.1.171 (API contracts b8a6d5ea7633) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1997 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
|
|
|
@@ -185,7 +185,8 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
185
185
|
- [dashboards](#dashboards) (8)
|
|
186
186
|
- [data-retention](#data-retention) (2)
|
|
187
187
|
- [deal-room-answers](#deal-room-answers) (4)
|
|
188
|
-
- [deal-room-
|
|
188
|
+
- [deal-room-buyer-inputs](#deal-room-buyer-inputs) (9)
|
|
189
|
+
- [deal-room-content](#deal-room-content) (13)
|
|
189
190
|
- [deal-rooms](#deal-rooms) (13)
|
|
190
191
|
- [deleted-accounts](#deleted-accounts) (1)
|
|
191
192
|
- [deliverability-rules](#deliverability-rules) (1)
|
|
@@ -217,7 +218,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
217
218
|
- [facebook-accounts](#facebook-accounts) (9)
|
|
218
219
|
- [fathom-connection](#fathom-connection) (3)
|
|
219
220
|
- [field-fill-settings](#field-fill-settings) (2)
|
|
220
|
-
- [fields](#fields) (
|
|
221
|
+
- [fields](#fields) (6)
|
|
221
222
|
- [file-comments](#file-comments) (4)
|
|
222
223
|
- [files](#files) (7)
|
|
223
224
|
- [fireflies-connection](#fireflies-connection) (3)
|
|
@@ -346,7 +347,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
346
347
|
- [onboarding-builds](#onboarding-builds) (3)
|
|
347
348
|
- [onboarding-connect-plan](#onboarding-connect-plan) (1)
|
|
348
349
|
- [onboarding-next-step](#onboarding-next-step) (1)
|
|
349
|
-
- [opportunities](#opportunities) (
|
|
350
|
+
- [opportunities](#opportunities) (16)
|
|
350
351
|
- [opportunity-people](#opportunity-people) (4)
|
|
351
352
|
- [opportunity-reasons](#opportunity-reasons) (2)
|
|
352
353
|
- [opportunity-settings](#opportunity-settings) (3)
|
|
@@ -356,7 +357,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
356
357
|
- [outbound-event-suggestions](#outbound-event-suggestions) (3)
|
|
357
358
|
- [outbound-events](#outbound-events) (15)
|
|
358
359
|
- [outbound-site](#outbound-site) (7)
|
|
359
|
-
- [people](#people) (
|
|
360
|
+
- [people](#people) (33)
|
|
360
361
|
- [performance-deal](#performance-deal) (8)
|
|
361
362
|
- [permission-catalog](#permission-catalog) (1)
|
|
362
363
|
- [permission-templates](#permission-templates) (5)
|
|
@@ -4376,6 +4377,62 @@ Correct an answer saved for every room. `PATCH /v1/deal-room-answers/{answerId}`
|
|
|
4376
4377
|
|
|
4377
4378
|
Flags: `--answer-id` (required), `--question`, `--answer`, `--data`, `--each`, `--concurrency`.
|
|
4378
4379
|
|
|
4380
|
+
## deal-room-buyer-inputs
|
|
4381
|
+
|
|
4382
|
+
### kenso deal-room-buyer-inputs add-approver
|
|
4383
|
+
|
|
4384
|
+
Add the approver a buyer wants the offer sent to. `POST /v1/deal-rooms/{dealRoomId}/buyer-inputs/approvers`. Beta: needs `deal_room`.
|
|
4385
|
+
|
|
4386
|
+
Flags: `--deal-room-id` (required), `--person-id`, `--email`, `--name`, `--title`, `--data`, `--each`, `--concurrency`.
|
|
4387
|
+
|
|
4388
|
+
### kenso deal-room-buyer-inputs record-question
|
|
4389
|
+
|
|
4390
|
+
Record a buyer's question, questionnaire, extras request or comment on a clause. `POST /v1/deal-rooms/{dealRoomId}/buyer-inputs/questions`. Beta: needs `deal_room`.
|
|
4391
|
+
|
|
4392
|
+
Flags: `--deal-room-id` (required), `--person-id`, `--text`, `--kind`, `--section-key`, `--topic`, `--extra-id`, `--clause-id`, `--data`, `--each`, `--concurrency`.
|
|
4393
|
+
|
|
4394
|
+
### kenso deal-room-buyer-inputs set-deal-size
|
|
4395
|
+
|
|
4396
|
+
Record a buyer's deal size answers, one per company size. Completes the deal size step. `PUT /v1/deal-rooms/{dealRoomId}/buyer-inputs/deal-size`. Beta: needs `deal_room`.
|
|
4397
|
+
|
|
4398
|
+
Flags: `--deal-room-id` (required), `--person-id`, `--data`, `--each`, `--concurrency`.
|
|
4399
|
+
|
|
4400
|
+
### kenso deal-room-buyer-inputs set-profile
|
|
4401
|
+
|
|
4402
|
+
Record the role a buyer said they have in the deal. `PUT /v1/deal-rooms/{dealRoomId}/buyer-inputs/profile`. Beta: needs `deal_room`.
|
|
4403
|
+
|
|
4404
|
+
Flags: `--deal-room-id` (required), `--person-id`, `--name`, `--title`, `--role`, `--data`, `--each`, `--concurrency`.
|
|
4405
|
+
|
|
4406
|
+
### kenso deal-room-buyer-inputs set-rsvp
|
|
4407
|
+
|
|
4408
|
+
Record a buyer's answer to the walkthrough invite. `PUT /v1/deal-rooms/{dealRoomId}/buyer-inputs/rsvp`. Beta: needs `deal_room`.
|
|
4409
|
+
|
|
4410
|
+
Flags: `--deal-room-id` (required), `--person-id`, `--answer`, `--data`, `--each`, `--concurrency`.
|
|
4411
|
+
|
|
4412
|
+
### kenso deal-room-buyer-inputs set-sample-verdict
|
|
4413
|
+
|
|
4414
|
+
Record a buyer's verdict on the sample campaign. No verdict clears the one that person gave. `PUT /v1/deal-rooms/{dealRoomId}/buyer-inputs/sample-verdict`. Beta: needs `deal_room`.
|
|
4415
|
+
|
|
4416
|
+
Flags: `--deal-room-id` (required), `--person-id`, `--verdict`, `--note`, `--data`, `--each`, `--concurrency`.
|
|
4417
|
+
|
|
4418
|
+
### kenso deal-room-buyer-inputs set-signing-details
|
|
4419
|
+
|
|
4420
|
+
Record who signs and who pays, as a buyer said it. `PUT /v1/deal-rooms/{dealRoomId}/buyer-inputs/signing-details`. Beta: needs `deal_room`.
|
|
4421
|
+
|
|
4422
|
+
Flags: `--deal-room-id` (required), `--person-id`, `--legal-name`, `--registered-address`, `--signer-person-id`, `--signer-name`, `--signer-title`, `--signer-email`, `--billing-same-as-signer`, `--billing-name`, `--billing-email`, `--no-billing-same-as-signer`, `--data`, `--each`, `--concurrency`.
|
|
4423
|
+
|
|
4424
|
+
### kenso deal-room-buyer-inputs set-start-date
|
|
4425
|
+
|
|
4426
|
+
Record the first send day a buyer picked. `PUT /v1/deal-rooms/{dealRoomId}/buyer-inputs/start-date`. Beta: needs `deal_room`.
|
|
4427
|
+
|
|
4428
|
+
Flags: `--deal-room-id` (required), `--person-id`, `--date`, `--data`, `--each`, `--concurrency`.
|
|
4429
|
+
|
|
4430
|
+
### kenso deal-room-buyer-inputs set-tracking
|
|
4431
|
+
|
|
4432
|
+
Record how a buyer wants held meetings confirmed. `PUT /v1/deal-rooms/{dealRoomId}/buyer-inputs/tracking`. Beta: needs `deal_room`.
|
|
4433
|
+
|
|
4434
|
+
Flags: `--deal-room-id` (required), `--person-id`, `--choice`, `--crm`, `--data`, `--each`, `--concurrency`.
|
|
4435
|
+
|
|
4379
4436
|
## deal-room-content
|
|
4380
4437
|
|
|
4381
4438
|
### kenso deal-room-content approve-quote
|
|
@@ -4396,6 +4453,12 @@ Confirm or decline a deal room request. `POST /v1/deal-rooms/{dealRoomId}/questi
|
|
|
4396
4453
|
|
|
4397
4454
|
Flags: `--deal-room-id` (required), `--question-id` (required), `--decision`, `--note`, `--data`, `--each`, `--concurrency`.
|
|
4398
4455
|
|
|
4456
|
+
### kenso deal-room-content get-agreement
|
|
4457
|
+
|
|
4458
|
+
Read a deal room's agreement. `GET /v1/deal-rooms/{dealRoomId}/agreement`. Beta: needs `deal_room`.
|
|
4459
|
+
|
|
4460
|
+
Flags: `--deal-room-id` (required), `--version-number`, `--each`, `--concurrency`.
|
|
4461
|
+
|
|
4399
4462
|
### kenso deal-room-content get-plan
|
|
4400
4463
|
|
|
4401
4464
|
Return a deal room's plan. `GET /v1/deal-rooms/{dealRoomId}/plan`. Beta: needs `deal_room`.
|
|
@@ -4414,12 +4477,24 @@ List a deal room's questions. `GET /v1/deal-rooms/{dealRoomId}/questions` (a lis
|
|
|
4414
4477
|
|
|
4415
4478
|
Flags: `--deal-room-id` (required), `--cursor`, `--kind`, `--limit`, `--status`, `--all`, `--each`, `--concurrency`.
|
|
4416
4479
|
|
|
4480
|
+
### kenso deal-room-content publish-agreement-version
|
|
4481
|
+
|
|
4482
|
+
Publish the draft as the next agreement version. `POST /v1/deal-rooms/{dealRoomId}/agreement/versions`. Beta: needs `deal_room`.
|
|
4483
|
+
|
|
4484
|
+
Flags: `--deal-room-id` (required), `--change-note`, `--data`, `--each`, `--concurrency`.
|
|
4485
|
+
|
|
4417
4486
|
### kenso deal-room-content reply-question
|
|
4418
4487
|
|
|
4419
4488
|
Reply to a deal room question. `POST /v1/deal-rooms/{dealRoomId}/questions/{questionId}/reply`. Beta: needs `deal_room`.
|
|
4420
4489
|
|
|
4421
4490
|
Flags: `--deal-room-id` (required), `--question-id` (required), `--text`, `--save-to-library`, `--every-room`, `--no-save-to-library`, `--no-every-room`, `--data`, `--each`, `--concurrency`.
|
|
4422
4491
|
|
|
4492
|
+
### kenso deal-room-content set-agreement-draft
|
|
4493
|
+
|
|
4494
|
+
Save the agreement's clause overrides for this deal. `PUT /v1/deal-rooms/{dealRoomId}/agreement/draft`. Beta: needs `deal_room`.
|
|
4495
|
+
|
|
4496
|
+
Flags: `--deal-room-id` (required), `--data`, `--each`, `--concurrency`.
|
|
4497
|
+
|
|
4423
4498
|
### kenso deal-room-content set-quote
|
|
4424
4499
|
|
|
4425
4500
|
Save the room's quote. `PUT /v1/deal-rooms/{dealRoomId}/quote`. Beta: needs `deal_room`.
|
|
@@ -5202,6 +5277,12 @@ List the fields of accounts, people and deals. `GET /v1/fields` (a list). Beta:
|
|
|
5202
5277
|
|
|
5203
5278
|
Flags: `--cursor`, `--include-archived`, `--limit`, `--object`, `--no-include-archived`, `--all`, `--each`, `--concurrency`.
|
|
5204
5279
|
|
|
5280
|
+
### kenso fields list-workflows
|
|
5281
|
+
|
|
5282
|
+
List the workflows that save to a custom field. `GET /v1/fields/{fieldId}/workflows`. Beta: needs `custom_fields`.
|
|
5283
|
+
|
|
5284
|
+
Flags: `--field-id` (required), `--each`, `--concurrency`.
|
|
5285
|
+
|
|
5205
5286
|
### kenso fields update
|
|
5206
5287
|
|
|
5207
5288
|
Update a custom field. `PATCH /v1/fields/{fieldId}`. Beta: needs `custom_fields`.
|
|
@@ -8554,6 +8635,12 @@ Arguments: `<opportunityId>` (optional).
|
|
|
8554
8635
|
|
|
8555
8636
|
Flags: `--overwrite-pinned`, `--pipeline`, `--reason`, `--stage`.
|
|
8556
8637
|
|
|
8638
|
+
### kenso opportunities restore
|
|
8639
|
+
|
|
8640
|
+
Restore a deleted opportunity. `POST /v1/opportunities/{opportunityId}/restore`. Beta: needs `crm_import_export` and `opportunities`.
|
|
8641
|
+
|
|
8642
|
+
Flags: `--opportunity-id` (required), `--each`, `--concurrency`.
|
|
8643
|
+
|
|
8557
8644
|
### kenso opportunities revenue
|
|
8558
8645
|
|
|
8559
8646
|
Get the revenue from Kenso report. `GET /v1/analytics/revenue`. Beta: needs `revenue_attribution`.
|
|
@@ -9002,6 +9089,12 @@ Research a person: Light from Kenso's own LinkedIn data, Heavy adding the web an
|
|
|
9002
9089
|
|
|
9003
9090
|
Flags: `--person-id` (required), `--mode`, `--data`, `--each`, `--concurrency`.
|
|
9004
9091
|
|
|
9092
|
+
### kenso people restore
|
|
9093
|
+
|
|
9094
|
+
Restore a deleted person. `POST /v1/people/{personId}/restore`. Beta: needs `accounts` and `crm_import_export`.
|
|
9095
|
+
|
|
9096
|
+
Flags: `--person-id` (required), `--each`, `--concurrency`.
|
|
9097
|
+
|
|
9005
9098
|
### kenso people search
|
|
9006
9099
|
|
|
9007
9100
|
Search people in the current workspace with filters. `POST /v1/people/search` (a list). Beta: needs `accounts`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.171",
|
|
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": "b2a26cbcc2f8a2fc425a91e1d530d27c4e9809e5"
|
|
53
53
|
}
|