kenso 0.1.92 → 0.1.94
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 +5 -0
- package/dist/kenso.js +587 -295
- package/dist/operations.json +1 -1
- package/docs/crm.md +31 -0
- package/docs/reference.md +135 -14
- package/package.json +2 -2
package/docs/crm.md
CHANGED
|
@@ -8,7 +8,9 @@ The CRM commands work on Kenso's Accounts lane: accounts (companies), the people
|
|
|
8
8
|
| `people import` | Create or match people from a file, optionally onto accounts |
|
|
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
|
+
| `opportunities move <id> --stage <key> [--reason <key>]` | Move a deal, with its won or lost reason; a field the stage asks for never stops it |
|
|
11
12
|
| `opportunities stage-history <id>` | A deal's stage history: each stage, when, who moved it and how long it sat there |
|
|
13
|
+
| `notes list`, `notes add`, `notes edit`, `notes delete` | Notes and comments on accounts, people and deals (needs `record_notes`) |
|
|
12
14
|
| `deleted-accounts list`, `accounts restore <id>` | The accounts deleted in the last 30 days, and bringing one back |
|
|
13
15
|
| `export <accounts\|people\|deals>` | The list as CSV: everything, a saved Accounts view, or what the filters match |
|
|
14
16
|
| `capture status` | Your captured mailbox, its backfill progress and what teammates see of a captured email. Needs the `crm_capture` flag |
|
|
@@ -19,6 +21,7 @@ The CRM commands work on Kenso's Accounts lane: accounts (companies), the people
|
|
|
19
21
|
| `capture disconnect` | Turn capture off and delete your stored email bodies. Asks first; `--yes` skips the question |
|
|
20
22
|
| `capture teammates-see summary\|full_email` | Workspace admin: what teammates see of captured email |
|
|
21
23
|
| `pipelines stage-rules` | List or set the fields a deal should have in each stage |
|
|
24
|
+
| `opportunity-reasons get`, `opportunity-reasons replace` | List or edit why deals are lost and won |
|
|
22
25
|
| `crm-connections`, `crm-imports`, `crm-sync-issues` | Read and run CRM sync. Connecting a CRM stays in the app |
|
|
23
26
|
| `tasks add`, `tasks done`, `tasks assign`, `tasks queue` | Add a to-do for a member on an account, person or deal, complete it, hand it on, or read your open work (needs `tasks`) |
|
|
24
27
|
|
|
@@ -234,6 +237,22 @@ kenso opportunities stage-history 77 --query "entries[].{to: stageLabel, at: ent
|
|
|
234
237
|
|
|
235
238
|
It prints `GET /v1/opportunities/{id}/stage-history` as it is, the same rows as the deal page and the MCP's `opportunities(operation="get-stage-history")`: the stage now, `isComplete` and `entries`, oldest first, each with `fromStage`, `stage`, `stageLabel`, `enteredAt`, `leftAt`, `durationSeconds`, `actorKind`, `actorMemberId` and Ken's `reason` on a move its stage judge made. With the `deal_stage_rules` flag on, each entry also has `changedBy` (`member`, `agent`, `api_key`, `workflow`, `stage_judge`, `crm_sync` or `ken_automation`), `crmProvider` on a CRM sync, and on a move `fromStageLabel` and `fromStageDurationSeconds`, how long the deal sat in the stage it left. `isComplete` false means Kenso has no record of part of the history.
|
|
236
239
|
|
|
240
|
+
## Notes on accounts, people and deals
|
|
241
|
+
|
|
242
|
+
With the `record_notes` feature on, everyone who can see a record reads its notes. Name the record with exactly one of `--account`, `--person` and `--deal`:
|
|
243
|
+
|
|
244
|
+
```bash
|
|
245
|
+
kenso notes list --account 5
|
|
246
|
+
kenso notes add --account 5 --body 'Budget approved, @[Jane Doe](41) please send the DPA'
|
|
247
|
+
kenso notes add --parent 900 --body 'Sent it this morning' # a comment under note 900
|
|
248
|
+
cat call-notes.md | kenso notes add --deal 77 --body - # the body from stdin
|
|
249
|
+
kenso notes edit 900 --body 'Budget approved for Q1' # the author only
|
|
250
|
+
kenso notes edit 900 --pin
|
|
251
|
+
kenso notes delete 900 --yes # kenso notes restore 900 brings it back
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
The body is markdown, up to 20,000 characters. Mention a teammate as `@[Name](memberId)`: they get a notification that opens the note. A note shows on the record's Notes tab and its Activity timeline, and Ken's account brief quotes the account's notes. The MCP's `notes` tool does the same. A note on an account needs the accounts plan feature; people and deals work on every plan.
|
|
255
|
+
|
|
237
256
|
## Required fields per stage
|
|
238
257
|
|
|
239
258
|
```bash
|
|
@@ -254,6 +273,18 @@ kenso opportunities list --missing-fields
|
|
|
254
273
|
|
|
255
274
|
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
275
|
|
|
276
|
+
## Won and lost reasons
|
|
277
|
+
|
|
278
|
+
```bash
|
|
279
|
+
kenso opportunity-reasons get
|
|
280
|
+
kenso opportunity-reasons replace --kind lost --data '{"reasons":[{"key":"no_budget","label":"No budget"},{"label":"Built it in-house"}]}'
|
|
281
|
+
kenso opportunities move 4401 --stage lost --reason built_it_in_house
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
`kenso opportunities move <id> --stage <key> [--reason <key>]` sends the reason as `lostReasonKey` for a lost stage or `wonReasonKey` for a won stage; an open stage takes none. Each field the new stage asks for that the deal leaves empty prints a warning on stderr, and the move still goes through.
|
|
285
|
+
|
|
286
|
+
With the `deal_stage_rules` flag on, each workspace edits why its deals are lost and won. `get` prints `lost` and `won`, each `{isDefault, reasons: [{key, label, isArchived}]}`. `replace` takes a kind's whole list in order, as `get` prints it: keep a reason by its `key`, leave `key` out for a new one, and set `isArchived` to archive a reason or bring one back. A reason left out is archived too: deals keep it, and no write can pick it again. At least one reason stays live and at most 30, and labels stay unique, archived ones included. A deal takes a live key in `lostReasonKey` (a lost stage) or `wonReasonKey` (a won stage). A move to Lost without a reason still goes through, with a warning and "Missing: Lost reason" on the deal. Editing the lists needs the `workspace_settings` permission. The same as the MCP's `pipelines(operation="reasons-get")` and `reasons-replace`.
|
|
287
|
+
|
|
257
288
|
## Tasks
|
|
258
289
|
|
|
259
290
|
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.
|
|
3
|
+
Generated from kenso 0.1.94 (API contracts 387c79f74424) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1762 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) (
|
|
37
|
+
- [accounts](#accounts) (25)
|
|
38
38
|
- [ad-audiences](#ad-audiences) (5)
|
|
39
39
|
- [ad-connections](#ad-connections) (6)
|
|
40
40
|
- [agent](#agent) (1)
|
|
@@ -122,6 +122,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
122
122
|
- [capture](#capture) (9)
|
|
123
123
|
- [capture-mailbox](#capture-mailbox) (4)
|
|
124
124
|
- [capture-threads](#capture-threads) (2)
|
|
125
|
+
- [changes](#changes) (6)
|
|
125
126
|
- [checkout-sessions](#checkout-sessions) (1)
|
|
126
127
|
- [checkpoints](#checkpoints) (2)
|
|
127
128
|
- [claim-links](#claim-links) (1)
|
|
@@ -284,6 +285,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
284
285
|
- [mcp-server-presets](#mcp-server-presets) (1)
|
|
285
286
|
- [mcp-servers](#mcp-servers) (9)
|
|
286
287
|
- [me](#me) (47)
|
|
288
|
+
- [meeting-attribution-settings](#meeting-attribution-settings) (2)
|
|
287
289
|
- [meeting-call-types](#meeting-call-types) (4)
|
|
288
290
|
- [meeting-chase-emails](#meeting-chase-emails) (4)
|
|
289
291
|
- [meeting-notes](#meeting-notes) (4)
|
|
@@ -305,7 +307,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
305
307
|
- [model-configurations](#model-configurations) (5)
|
|
306
308
|
- [model-training](#model-training) (2)
|
|
307
309
|
- [native-transcript-sources](#native-transcript-sources) (1)
|
|
308
|
-
- [notes](#notes) (
|
|
310
|
+
- [notes](#notes) (8)
|
|
309
311
|
- [notetaker-devices](#notetaker-devices) (2)
|
|
310
312
|
- [notetaker-score-rubric](#notetaker-score-rubric) (3)
|
|
311
313
|
- [notetaker-sessions](#notetaker-sessions) (1)
|
|
@@ -316,8 +318,9 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
316
318
|
- [onboarding-builds](#onboarding-builds) (3)
|
|
317
319
|
- [onboarding-connect-plan](#onboarding-connect-plan) (1)
|
|
318
320
|
- [onboarding-next-step](#onboarding-next-step) (1)
|
|
319
|
-
- [opportunities](#opportunities) (
|
|
321
|
+
- [opportunities](#opportunities) (15)
|
|
320
322
|
- [opportunity-people](#opportunity-people) (4)
|
|
323
|
+
- [opportunity-reasons](#opportunity-reasons) (2)
|
|
321
324
|
- [opportunity-settings](#opportunity-settings) (3)
|
|
322
325
|
- [opportunity-stages](#opportunity-stages) (3)
|
|
323
326
|
- [optiverse-connection](#optiverse-connection) (3)
|
|
@@ -325,7 +328,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
325
328
|
- [outbound-event-suggestions](#outbound-event-suggestions) (3)
|
|
326
329
|
- [outbound-events](#outbound-events) (15)
|
|
327
330
|
- [outbound-site](#outbound-site) (7)
|
|
328
|
-
- [people](#people) (
|
|
331
|
+
- [people](#people) (31)
|
|
329
332
|
- [performance-deal](#performance-deal) (8)
|
|
330
333
|
- [permission-catalog](#permission-catalog) (1)
|
|
331
334
|
- [permission-templates](#permission-templates) (5)
|
|
@@ -664,11 +667,17 @@ Create up to 100 accounts in one call. `POST /v1/accounts/bulk-create`. Beta: ne
|
|
|
664
667
|
|
|
665
668
|
Flags: `--data`, `--each`, `--concurrency`.
|
|
666
669
|
|
|
670
|
+
### kenso accounts bulk-delete
|
|
671
|
+
|
|
672
|
+
Delete a selection of accounts in one call, as a change set. `POST /v1/accounts/bulk-delete`. Beta: needs `accounts` and `bulk_edit`.
|
|
673
|
+
|
|
674
|
+
Flags: `--all`, `--body-dry-run`, `--label`, `--source`, `--no-all`, `--no-body-dry-run`, `--data`, `--each`, `--concurrency`.
|
|
675
|
+
|
|
667
676
|
### kenso accounts bulk-update
|
|
668
677
|
|
|
669
|
-
|
|
678
|
+
Change a selection of accounts in one call: a change set, or one account type on up to 500 accounts. `POST /v1/accounts/bulk-update`. Beta: needs `accounts`.
|
|
670
679
|
|
|
671
|
-
Flags: `--account-type`, `--data`, `--each`, `--concurrency`.
|
|
680
|
+
Flags: `--all`, `--body-dry-run`, `--label`, `--source`, `--overwrite-pinned`, `--account-type`, `--no-all`, `--no-body-dry-run`, `--no-overwrite-pinned`, `--data`, `--each`, `--concurrency`.
|
|
672
681
|
|
|
673
682
|
### kenso accounts clear-why-not-now
|
|
674
683
|
|
|
@@ -3096,6 +3105,44 @@ Set your Private switch for one captured thread. `PATCH /v1/capture/threads/{thr
|
|
|
3096
3105
|
|
|
3097
3106
|
Flags: `--thread-id` (required), `--is-private`, `--no-is-private`, `--data`, `--each`, `--concurrency`.
|
|
3098
3107
|
|
|
3108
|
+
## changes
|
|
3109
|
+
|
|
3110
|
+
### kenso changes apply
|
|
3111
|
+
|
|
3112
|
+
Apply a previewed change. `POST /v1/changes/{changeId}/apply`. Beta: needs `bulk_edit`.
|
|
3113
|
+
|
|
3114
|
+
Flags: `--change-id` (required), `--each`, `--concurrency`.
|
|
3115
|
+
|
|
3116
|
+
### kenso changes cancel
|
|
3117
|
+
|
|
3118
|
+
Stop a change. `POST /v1/changes/{changeId}/cancel`. Beta: needs `bulk_edit`.
|
|
3119
|
+
|
|
3120
|
+
Flags: `--change-id` (required), `--each`, `--concurrency`.
|
|
3121
|
+
|
|
3122
|
+
### kenso changes get
|
|
3123
|
+
|
|
3124
|
+
Return a change with its status and row counts. `GET /v1/changes/{changeId}`. Beta: needs `bulk_edit`.
|
|
3125
|
+
|
|
3126
|
+
Flags: `--change-id` (required), `--each`, `--concurrency`.
|
|
3127
|
+
|
|
3128
|
+
### kenso changes list
|
|
3129
|
+
|
|
3130
|
+
List the workspace's changes, newest first. `GET /v1/changes` (a list). Beta: needs `bulk_edit`.
|
|
3131
|
+
|
|
3132
|
+
Flags: `--cursor`, `--limit`, `--object`, `--all`, `--each`, `--concurrency`.
|
|
3133
|
+
|
|
3134
|
+
### kenso changes rows
|
|
3135
|
+
|
|
3136
|
+
List a change's rows. `GET /v1/changes/{changeId}/rows` (a list). Beta: needs `bulk_edit`.
|
|
3137
|
+
|
|
3138
|
+
Flags: `--change-id` (required), `--cursor`, `--limit`, `--status`, `--all`, `--each`, `--concurrency`.
|
|
3139
|
+
|
|
3140
|
+
### kenso changes undo
|
|
3141
|
+
|
|
3142
|
+
Undo a change. `POST /v1/changes/{changeId}/undo`. Beta: needs `bulk_edit`.
|
|
3143
|
+
|
|
3144
|
+
Flags: `--change-id` (required), `--each`, `--concurrency`.
|
|
3145
|
+
|
|
3099
3146
|
## checkout-sessions
|
|
3100
3147
|
|
|
3101
3148
|
### kenso checkout-sessions create
|
|
@@ -6744,6 +6791,20 @@ Choose whether the caller's posts feed one of their workspaces. `PATCH /v1/me/wo
|
|
|
6744
6791
|
|
|
6745
6792
|
Flags: `--workspace-id` (required), `--social-posts`, `--data`, `--each`, `--concurrency`.
|
|
6746
6793
|
|
|
6794
|
+
## meeting-attribution-settings
|
|
6795
|
+
|
|
6796
|
+
### kenso meeting-attribution-settings get
|
|
6797
|
+
|
|
6798
|
+
Get the meeting attribution settings. `GET /v1/meeting-attribution-settings`. Beta: needs `meeting_attribution`.
|
|
6799
|
+
|
|
6800
|
+
Flags: `--each`, `--concurrency`.
|
|
6801
|
+
|
|
6802
|
+
### kenso meeting-attribution-settings update
|
|
6803
|
+
|
|
6804
|
+
Change the meeting attribution window. `PATCH /v1/meeting-attribution-settings`. Beta: needs `meeting_attribution`.
|
|
6805
|
+
|
|
6806
|
+
Flags: `--window-days`, `--data`, `--each`, `--concurrency`.
|
|
6807
|
+
|
|
6747
6808
|
## meeting-call-types
|
|
6748
6809
|
|
|
6749
6810
|
### kenso meeting-call-types create
|
|
@@ -7460,6 +7521,12 @@ Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
|
7460
7521
|
|
|
7461
7522
|
## notes
|
|
7462
7523
|
|
|
7524
|
+
### kenso notes add
|
|
7525
|
+
|
|
7526
|
+
Write a note on an account, a person or a deal, or a comment under a note. `POST /v1/notes`. Beta: needs `record_notes`.
|
|
7527
|
+
|
|
7528
|
+
Flags: `--account`, `--body` (required), `--deal`, `--parent`, `--person`.
|
|
7529
|
+
|
|
7463
7530
|
### kenso notes create
|
|
7464
7531
|
|
|
7465
7532
|
Write a note on an account, a person or a deal, or a comment under a note. `POST /v1/notes`. Beta: needs `record_notes`.
|
|
@@ -7468,9 +7535,17 @@ Flags: `--account-id`, `--person-id`, `--opportunity-id`, `--parent-note-id`, `-
|
|
|
7468
7535
|
|
|
7469
7536
|
### kenso notes delete
|
|
7470
7537
|
|
|
7471
|
-
Delete a note or a comment. `DELETE /v1/notes/{noteId}`. Beta: needs `record_notes`.
|
|
7538
|
+
Delete a note or a comment (its author or a workspace admin). `DELETE /v1/notes/{noteId}`. Beta: needs `record_notes`.
|
|
7472
7539
|
|
|
7473
|
-
|
|
7540
|
+
Arguments: `<noteId>`.
|
|
7541
|
+
|
|
7542
|
+
### kenso notes edit
|
|
7543
|
+
|
|
7544
|
+
Change a note's text, or pin or unpin it. `PATCH /v1/notes/{noteId}`. Beta: needs `record_notes`.
|
|
7545
|
+
|
|
7546
|
+
Arguments: `<noteId>`.
|
|
7547
|
+
|
|
7548
|
+
Flags: `--body`, `--pin`, `--unpin`.
|
|
7474
7549
|
|
|
7475
7550
|
### kenso notes get
|
|
7476
7551
|
|
|
@@ -7480,9 +7555,9 @@ Flags: `--note-id` (required), `--each`, `--concurrency`.
|
|
|
7480
7555
|
|
|
7481
7556
|
### kenso notes list
|
|
7482
7557
|
|
|
7483
|
-
List the notes on an account, a person or a deal. `GET /v1/notes
|
|
7558
|
+
List the notes on an account, a person or a deal, pinned first, then newest. `GET /v1/notes`. Beta: needs `record_notes`.
|
|
7484
7559
|
|
|
7485
|
-
Flags: `--account
|
|
7560
|
+
Flags: `--account`, `--deal`, `--person`.
|
|
7486
7561
|
|
|
7487
7562
|
### kenso notes restore
|
|
7488
7563
|
|
|
@@ -7626,11 +7701,23 @@ Flags: `--each`, `--concurrency`.
|
|
|
7626
7701
|
|
|
7627
7702
|
## opportunities
|
|
7628
7703
|
|
|
7704
|
+
### kenso opportunities bulk-delete
|
|
7705
|
+
|
|
7706
|
+
Delete a selection of opportunities in one call, as a change set. `POST /v1/opportunities/bulk-delete`. Beta: needs `bulk_edit` and `opportunities`.
|
|
7707
|
+
|
|
7708
|
+
Flags: `--all`, `--body-dry-run`, `--label`, `--source`, `--no-all`, `--no-body-dry-run`, `--data`, `--each`, `--concurrency`.
|
|
7709
|
+
|
|
7710
|
+
### kenso opportunities bulk-update
|
|
7711
|
+
|
|
7712
|
+
Change fields on a selection of opportunities in one call, as a change set. `POST /v1/opportunities/bulk-update`. Beta: needs `bulk_edit` and `opportunities`.
|
|
7713
|
+
|
|
7714
|
+
Flags: `--all`, `--body-dry-run`, `--label`, `--source`, `--overwrite-pinned`, `--no-all`, `--no-body-dry-run`, `--no-overwrite-pinned`, `--data`, `--each`, `--concurrency`.
|
|
7715
|
+
|
|
7629
7716
|
### kenso opportunities create
|
|
7630
7717
|
|
|
7631
7718
|
Create an opportunity on an account. `POST /v1/opportunities`. Beta: needs `opportunities`.
|
|
7632
7719
|
|
|
7633
|
-
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`.
|
|
7720
|
+
Flags: `--name`, `--stage`, `--amount`, `--currency`, `--close-date`, `--owner-member-id`, `--primary-person-id`, `--next-step`, `--lost-reason`, `--lost-reason-key`, `--won-reason-key`, `--deal-type`, `--summary`, `--probability`, `--forecast-category`, `--forecast-category-reason`, `--account-id`, `--opened-at`, `--data`, `--each`, `--concurrency`.
|
|
7634
7721
|
|
|
7635
7722
|
### kenso opportunities delete
|
|
7636
7723
|
|
|
@@ -7674,6 +7761,14 @@ List opportunities in the current workspace. `GET /v1/opportunities` (a list). B
|
|
|
7674
7761
|
|
|
7675
7762
|
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`.
|
|
7676
7763
|
|
|
7764
|
+
### kenso opportunities move
|
|
7765
|
+
|
|
7766
|
+
Move a deal to a stage, with its won or lost reason. API operations: `opportunities.update`, `opportunity-stages.list`, `pipelines.list`. Beta: needs `opportunities`.
|
|
7767
|
+
|
|
7768
|
+
Arguments: `<opportunityId>` (optional).
|
|
7769
|
+
|
|
7770
|
+
Flags: `--reason`, `--stage`.
|
|
7771
|
+
|
|
7677
7772
|
### kenso opportunities revenue
|
|
7678
7773
|
|
|
7679
7774
|
Get the revenue from Kenso report. `GET /v1/analytics/revenue`. Beta: needs `revenue_attribution`.
|
|
@@ -7696,7 +7791,7 @@ Arguments: `<opportunityId>`.
|
|
|
7696
7791
|
|
|
7697
7792
|
Update opportunity fields. Absent fields stay unchanged; null clears. `PATCH /v1/opportunities/{opportunityId}`. Beta: needs `opportunities`.
|
|
7698
7793
|
|
|
7699
|
-
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`.
|
|
7794
|
+
Flags: `--opportunity-id` (required), `--name`, `--stage`, `--amount`, `--currency`, `--close-date`, `--owner-member-id`, `--primary-person-id`, `--next-step`, `--lost-reason`, `--lost-reason-key`, `--won-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`.
|
|
7700
7795
|
|
|
7701
7796
|
## opportunity-people
|
|
7702
7797
|
|
|
@@ -7724,6 +7819,20 @@ Change a person's role on an opportunity, or whether they are its primary person
|
|
|
7724
7819
|
|
|
7725
7820
|
Flags: `--opportunity-person-id` (required), `--role`, `--is-primary`, `--overwrite-pinned`, `--no-is-primary`, `--no-overwrite-pinned`, `--data`, `--each`, `--concurrency`.
|
|
7726
7821
|
|
|
7822
|
+
## opportunity-reasons
|
|
7823
|
+
|
|
7824
|
+
### kenso opportunity-reasons get
|
|
7825
|
+
|
|
7826
|
+
Get the workspace's lost and won reasons: one object with both lists. `GET /v1/opportunity-reasons`. Beta: needs `deal_stage_rules` and `opportunities`.
|
|
7827
|
+
|
|
7828
|
+
Flags: `--each`, `--concurrency`.
|
|
7829
|
+
|
|
7830
|
+
### kenso opportunity-reasons replace
|
|
7831
|
+
|
|
7832
|
+
Replace the workspace's lost or won reasons. `PUT /v1/opportunity-reasons/{kind}`. Beta: needs `deal_stage_rules` and `opportunities`.
|
|
7833
|
+
|
|
7834
|
+
Flags: `--kind` (required), `--data`, `--each`, `--concurrency`.
|
|
7835
|
+
|
|
7727
7836
|
## opportunity-settings
|
|
7728
7837
|
|
|
7729
7838
|
### kenso opportunity-settings change-currency
|
|
@@ -7980,6 +8089,18 @@ Create or match up to 200 people, each optionally onto an account. `POST /v1/peo
|
|
|
7980
8089
|
|
|
7981
8090
|
Flags: `--find-emails`, `--no-find-emails`, `--data`, `--each`, `--concurrency`.
|
|
7982
8091
|
|
|
8092
|
+
### kenso people bulk-delete
|
|
8093
|
+
|
|
8094
|
+
Delete a selection of people in one call, as a change set. `POST /v1/people/bulk-delete`. Beta: needs `accounts` and `bulk_edit`.
|
|
8095
|
+
|
|
8096
|
+
Flags: `--all`, `--body-dry-run`, `--label`, `--source`, `--no-all`, `--no-body-dry-run`, `--data`, `--each`, `--concurrency`.
|
|
8097
|
+
|
|
8098
|
+
### kenso people bulk-update
|
|
8099
|
+
|
|
8100
|
+
Change fields on a selection of people in one call, as a change set. `POST /v1/people/bulk-update`. Beta: needs `accounts` and `bulk_edit`.
|
|
8101
|
+
|
|
8102
|
+
Flags: `--all`, `--body-dry-run`, `--label`, `--source`, `--overwrite-pinned`, `--no-all`, `--no-body-dry-run`, `--no-overwrite-pinned`, `--data`, `--each`, `--concurrency`.
|
|
8103
|
+
|
|
7983
8104
|
### kenso people clear-instagram
|
|
7984
8105
|
|
|
7985
8106
|
Clear a person's Instagram handle. `DELETE /v1/people/{personId}/instagram`. Beta: needs `accounts` and `instagram`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.94",
|
|
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": "e81d7c0e4fe05dafe1b46ced322c0f99f100850a"
|
|
53
53
|
}
|