kenso 0.1.108 → 0.1.110
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/dist/kenso.js +38 -6
- package/dist/operations.json +1 -1
- package/docs/crm.md +1 -1
- package/docs/reference.md +37 -16
- package/package.json +2 -2
package/docs/crm.md
CHANGED
|
@@ -130,7 +130,7 @@ kenso accounts bulk-update --ids 812,813 --set stage=engaged --set tier=2 --yes
|
|
|
130
130
|
kenso changes get --change-id 31
|
|
131
131
|
```
|
|
132
132
|
|
|
133
|
-
`accounts bulk-update` sets the same fields on every account you name: `--ids` (1,000 at most), everything a `--filter` matches (the body `kenso accounts search --data` takes: `filters`, `where`, `q`; up to 50,000), or `--all`. A filter that holds only options and no condition (`--filter '{"includeImportOnly":true}'`) takes `--all` beside it. `--exclude-ids` leaves some of a filter's accounts out. `--set field=value` takes `ownerMemberId` (or `owner`), `stage`, `tierOverride` (or `tier`), `industry`, `fundingRound`, `employeeCount`, `hqLocation` and `cadenceDays`, and a custom field as `custom.<key>` (`--set custom.region=EMEA`; `kenso api GET '/v1/fields?object=account'` gives the keys); a value of `null` clears the field. A text field's value is sent as you type it (`--set hqLocation=10001` is the text "10001"); a custom field's type is not known to the CLI, so quote its text when it reads as a number or as true or false: `--set 'custom.code="10001"'`. Use `accounts update --each` when every row gets its own values.
|
|
133
|
+
`accounts bulk-update` sets the same fields on every account you name: `--ids` (1,000 at most), everything a `--filter` matches (the body `kenso accounts search --data` takes: `filters`, `where`, `q`; up to 50,000), or `--all`. A filter that holds only options and no condition (`--filter '{"includeImportOnly":true}'`) takes `--all` beside it. `--exclude-ids` leaves some of a filter's accounts out. `--set field=value` takes `ownerMemberId` (or `owner`), `stage`, `tierOverride` (or `tier`), `industry`, `fundingRound`, `employeeCount`, `hqLocation` and `cadenceDays`, and a custom field as `custom.<key>` (`--set custom.region=EMEA`; `kenso api GET '/v1/fields?object=account'` gives the keys); a value of `null` clears the field. `--add-tag 12,14` and `--remove-tag 13` put tags on every account or take them off (`kenso tags list` gives the ids); each tag is one row per account from `false` to `true` or back, so `kenso changes undo` takes off only the tags the change put on. People take them too; deals have no tags. A text field's value is sent as you type it (`--set hqLocation=10001` is the text "10001"); a custom field's type is not known to the CLI, so quote its text when it reads as a number or as true or false: `--set 'custom.code="10001"'`. Use `accounts update --each` when every row gets its own values.
|
|
134
134
|
|
|
135
135
|
It makes a change set: the accounts it names and, for each, the field, its value before and its value after. Without `--yes` (or with `--dry-run`) it previews: it prints `count` and a `sample`, writes nothing, and `next` is the `kenso changes apply` command that writes exactly those accounts. With `--yes` it writes in the background and waits (`--timeout`, default 10m), then prints the change with its `counts`: `applied`, `unchanged` (already had the value), `conflict` (the account changed after the preview, so it was left alone) and `failed` (for example `pinned`: a person set the field by hand; `--overwrite-pinned` replaces it). Exit 5 when some accounts failed or conflicted. It needs the `bulk_edit` flag as well as `accounts`.
|
|
136
136
|
|
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.110 (API contracts a8bb374bfbec) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1881 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
|
|
|
@@ -138,9 +138,10 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
138
138
|
- [cloud-files](#cloud-files) (2)
|
|
139
139
|
- [coaching-calls](#coaching-calls) (1)
|
|
140
140
|
- [coaching-objections](#coaching-objections) (2)
|
|
141
|
-
- [coaching-practice-sessions](#coaching-practice-sessions) (
|
|
141
|
+
- [coaching-practice-sessions](#coaching-practice-sessions) (7)
|
|
142
142
|
- [coaching-reviews](#coaching-reviews) (2)
|
|
143
143
|
- [coaching-scorecards](#coaching-scorecards) (5)
|
|
144
|
+
- [coaching-settings](#coaching-settings) (2)
|
|
144
145
|
- [coaching-weekly-notes](#coaching-weekly-notes) (3)
|
|
145
146
|
- [committee](#committee) (4)
|
|
146
147
|
- [committee-seats](#committee-seats) (1)
|
|
@@ -745,7 +746,7 @@ Flags: `--all`, `--exclude-ids`, `--filter`, `--ids`, `--label`, `--timeout`.
|
|
|
745
746
|
|
|
746
747
|
Change fields on many accounts at once: by --ids, or everything a --filter matches. API operations: `accounts.bulk-update`, `changes.get`. Beta: needs `accounts` and `bulk_edit`.
|
|
747
748
|
|
|
748
|
-
Flags: `--all`, `--exclude-ids`, `--filter`, `--ids`, `--label`, `--overwrite-pinned`, `--set`, `--timeout`.
|
|
749
|
+
Flags: `--add-tag`, `--all`, `--exclude-ids`, `--filter`, `--ids`, `--label`, `--overwrite-pinned`, `--remove-tag`, `--set`, `--timeout`.
|
|
749
750
|
|
|
750
751
|
### kenso accounts clear-why-not-now
|
|
751
752
|
|
|
@@ -3427,7 +3428,13 @@ Flags: `--theme-id` (required), `--response-text`, `--data`, `--each`, `--concur
|
|
|
3427
3428
|
|
|
3428
3429
|
End your practice session and get its debrief. `POST /v1/coaching/practice-sessions/{sessionId}/complete`. Beta: needs `call_coaching`.
|
|
3429
3430
|
|
|
3430
|
-
Flags: `--session-id` (required), `--
|
|
3431
|
+
Flags: `--session-id` (required), `--each`, `--concurrency`.
|
|
3432
|
+
|
|
3433
|
+
### kenso coaching-practice-sessions connect
|
|
3434
|
+
|
|
3435
|
+
Open a voice practice call. `GET /v1/coaching/practice-sessions/{sessionId}/call`. Beta: needs `call_coaching`.
|
|
3436
|
+
|
|
3437
|
+
Flags: `--session-id` (required), `--each`, `--concurrency`.
|
|
3431
3438
|
|
|
3432
3439
|
### kenso coaching-practice-sessions create
|
|
3433
3440
|
|
|
@@ -3435,15 +3442,15 @@ Start a practice call with an AI buyer. `POST /v1/coaching/practice-sessions`. B
|
|
|
3435
3442
|
|
|
3436
3443
|
Flags: `--account-id`, `--contact-id`, `--scenario`, `--difficulty`, `--mode`, `--data`, `--each`, `--concurrency`.
|
|
3437
3444
|
|
|
3438
|
-
### kenso coaching-practice-sessions
|
|
3445
|
+
### kenso coaching-practice-sessions create-ticket
|
|
3439
3446
|
|
|
3440
|
-
|
|
3447
|
+
Get a single-use ticket to open a voice practice call. `POST /v1/coaching/practice-sessions/{sessionId}/tickets`. Beta: needs `call_coaching`.
|
|
3441
3448
|
|
|
3442
3449
|
Flags: `--session-id` (required), `--each`, `--concurrency`.
|
|
3443
3450
|
|
|
3444
|
-
### kenso coaching-practice-sessions
|
|
3451
|
+
### kenso coaching-practice-sessions get
|
|
3445
3452
|
|
|
3446
|
-
|
|
3453
|
+
Return one of your practice sessions, with its transcript and debrief. `GET /v1/coaching/practice-sessions/{sessionId}`. Beta: needs `call_coaching`.
|
|
3447
3454
|
|
|
3448
3455
|
Flags: `--session-id` (required), `--each`, `--concurrency`.
|
|
3449
3456
|
|
|
@@ -3505,6 +3512,20 @@ Edit the team's draft scorecard. `PATCH /v1/coaching/scorecards/{scorecardId}`.
|
|
|
3505
3512
|
|
|
3506
3513
|
Flags: `--scorecard-id` (required), `--summary`, `--data`, `--each`, `--concurrency`.
|
|
3507
3514
|
|
|
3515
|
+
## coaching-settings
|
|
3516
|
+
|
|
3517
|
+
### kenso coaching-settings get
|
|
3518
|
+
|
|
3519
|
+
Get the workspace's call coaching switches. `GET /v1/coaching/settings`. Beta: needs `call_coaching`.
|
|
3520
|
+
|
|
3521
|
+
Flags: `--each`, `--concurrency`.
|
|
3522
|
+
|
|
3523
|
+
### kenso coaching-settings update
|
|
3524
|
+
|
|
3525
|
+
Update the workspace's call coaching switches. `PATCH /v1/coaching/settings`. Beta: needs `call_coaching`.
|
|
3526
|
+
|
|
3527
|
+
Flags: `--review-enabled`, `--weekly-note-enabled`, `--note-review-required`, `--no-review-enabled`, `--no-weekly-note-enabled`, `--no-note-review-required`, `--data`, `--each`, `--concurrency`.
|
|
3528
|
+
|
|
3508
3529
|
## coaching-weekly-notes
|
|
3509
3530
|
|
|
3510
3531
|
### kenso coaching-weekly-notes get
|
|
@@ -5439,7 +5460,7 @@ Flags: `--inbox-id` (required), `--data`, `--each`, `--concurrency`.
|
|
|
5439
5460
|
|
|
5440
5461
|
### kenso inboxes update-warmup
|
|
5441
5462
|
|
|
5442
|
-
|
|
5463
|
+
Turn an inbox's warmup on or off. `PATCH /v1/inboxes/{inboxId}/warmup`.
|
|
5443
5464
|
|
|
5444
5465
|
Flags: `--inbox-id` (required), `--data`, `--each`, `--concurrency`.
|
|
5445
5466
|
|
|
@@ -8497,7 +8518,7 @@ Flags: `--all`, `--exclude-ids`, `--filter`, `--ids`, `--label`, `--timeout`.
|
|
|
8497
8518
|
|
|
8498
8519
|
Change fields on many people at once: by --ids, or everything a --filter matches. API operations: `people.bulk-update`, `changes.get`. Beta: needs `accounts` and `bulk_edit`.
|
|
8499
8520
|
|
|
8500
|
-
Flags: `--all`, `--exclude-ids`, `--filter`, `--ids`, `--label`, `--overwrite-pinned`, `--set`, `--timeout`.
|
|
8521
|
+
Flags: `--add-tag`, `--all`, `--exclude-ids`, `--filter`, `--ids`, `--label`, `--overwrite-pinned`, `--remove-tag`, `--set`, `--timeout`.
|
|
8501
8522
|
|
|
8502
8523
|
### kenso people clear-instagram
|
|
8503
8524
|
|
|
@@ -9455,13 +9476,13 @@ Flags: `--reply-template-id` (required), `--data`, `--each`, `--concurrency`.
|
|
|
9455
9476
|
|
|
9456
9477
|
Answer a pipeline question with a stock report, stored as an answer. `POST /v1/reports/{reportKey}/answers`. Beta: needs `generative_ui` and `opportunities` and `reports`.
|
|
9457
9478
|
|
|
9458
|
-
Flags: `--report-key` (required), `--period`, `--owner-member-id`, `--time-zone`, `--surface`, `--data`, `--each`, `--concurrency`.
|
|
9479
|
+
Flags: `--report-key` (required), `--period`, `--owner-member-id`, `--pipeline-id`, `--time-zone`, `--surface`, `--data`, `--each`, `--concurrency`.
|
|
9459
9480
|
|
|
9460
9481
|
### kenso reports get
|
|
9461
9482
|
|
|
9462
|
-
Run one stock report for a period and, optionally, one owner's deals. `GET /v1/reports/{reportKey}`. Beta: needs `opportunities` and `reports`.
|
|
9483
|
+
Run one stock report for a period and, optionally, one owner's deals or one pipeline's. `GET /v1/reports/{reportKey}`. Beta: needs `opportunities` and `reports`.
|
|
9463
9484
|
|
|
9464
|
-
Flags: `--report-key` (required), `--owner-member-id`, `--period`, `--time-zone`, `--each`, `--concurrency`.
|
|
9485
|
+
Flags: `--report-key` (required), `--owner-member-id`, `--period`, `--pipeline-id`, `--time-zone`, `--each`, `--concurrency`.
|
|
9465
9486
|
|
|
9466
9487
|
### kenso reports list
|
|
9467
9488
|
|
|
@@ -9481,13 +9502,13 @@ Run a stock pipeline report and print its table. `GET /v1/reports/{reportKey}`.
|
|
|
9481
9502
|
|
|
9482
9503
|
Arguments: `<report>`.
|
|
9483
9504
|
|
|
9484
|
-
Flags: `--full`, `--owner`, `--period`, `--time-zone`.
|
|
9505
|
+
Flags: `--full`, `--owner`, `--period`, `--pipeline`, `--time-zone`.
|
|
9485
9506
|
|
|
9486
9507
|
### kenso reports summary
|
|
9487
9508
|
|
|
9488
9509
|
Read where the period stands and what needs you. `GET /v1/reports/summary`. Beta: needs `opportunities` and `reports`.
|
|
9489
9510
|
|
|
9490
|
-
Flags: `--full`, `--owner`, `--period`, `--time-zone`.
|
|
9511
|
+
Flags: `--full`, `--owner`, `--period`, `--pipeline`, `--time-zone`.
|
|
9491
9512
|
|
|
9492
9513
|
## revival-candidates
|
|
9493
9514
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.110",
|
|
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": "bcf6c9e854d062d62b3c1357901849a7ff60543b"
|
|
53
53
|
}
|