kenso 0.1.89 → 0.1.91
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/kenso.js +260 -185
- package/dist/operations.json +1 -1
- package/docs/crm.md +3 -1
- package/docs/reference.md +108 -9
- package/docs/sandbox.md +1 -1
- package/package.json +2 -2
package/docs/crm.md
CHANGED
|
@@ -13,7 +13,9 @@ The CRM commands work on Kenso's Accounts lane: accounts (companies), the people
|
|
|
13
13
|
| `export <accounts\|people\|deals>` | The list as CSV: everything, a saved Accounts view, or what the filters match |
|
|
14
14
|
| `capture status` | Your captured mailbox, its backfill progress and what teammates see of a captured email. Needs the `crm_capture` flag |
|
|
15
15
|
| `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 |
|
|
16
|
-
| `capture private on\|off` | Hide your captured email from teammates, or show it again. Email only: meetings stay visible |
|
|
16
|
+
| `capture private on\|off` | Hide your captured email from teammates, or show it again. Email only: meetings stay visible. `--thread <id>` sets the switch for one thread |
|
|
17
|
+
| `capture thread <threadId>` | One captured email thread: subject, people, time, Ken's summary, and each body you may open. The id is `capturedThread.id` on a timeline row |
|
|
18
|
+
| `capture sync` | Read your captured mailbox now, instead of waiting for the next two-minute poll. Prints what the pass read, logged and created |
|
|
17
19
|
| `capture disconnect` | Turn capture off and delete your stored email bodies. Asks first; `--yes` skips the question |
|
|
18
20
|
| `capture teammates-see summary\|full_email` | Workspace admin: what teammates see of captured email |
|
|
19
21
|
| `pipelines stage-rules` | List or set the fields a deal should have in each stage |
|
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.91 (API contracts 59e3c968da61) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1738 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
|
|
|
@@ -58,7 +58,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
58
58
|
- [answers](#answers) (4)
|
|
59
59
|
- [api](#api) (1)
|
|
60
60
|
- [api-keys](#api-keys) (5)
|
|
61
|
-
- [api-requests](#api-requests) (
|
|
61
|
+
- [api-requests](#api-requests) (2)
|
|
62
62
|
- [apollo-lists](#apollo-lists) (1)
|
|
63
63
|
- [approval-tests](#approval-tests) (6)
|
|
64
64
|
- [approvals](#approvals) (4)
|
|
@@ -118,8 +118,9 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
118
118
|
- [campaign-video-settings](#campaign-video-settings) (2)
|
|
119
119
|
- [campaign-video-variables](#campaign-video-variables) (4)
|
|
120
120
|
- [campaigns](#campaigns) (42)
|
|
121
|
-
- [capture](#capture) (
|
|
122
|
-
- [capture-mailbox](#capture-mailbox) (
|
|
121
|
+
- [capture](#capture) (9)
|
|
122
|
+
- [capture-mailbox](#capture-mailbox) (4)
|
|
123
|
+
- [capture-threads](#capture-threads) (2)
|
|
123
124
|
- [checkout-sessions](#checkout-sessions) (1)
|
|
124
125
|
- [checkpoints](#checkpoints) (2)
|
|
125
126
|
- [claim-links](#claim-links) (1)
|
|
@@ -303,6 +304,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
303
304
|
- [model-configurations](#model-configurations) (5)
|
|
304
305
|
- [model-training](#model-training) (2)
|
|
305
306
|
- [native-transcript-sources](#native-transcript-sources) (1)
|
|
307
|
+
- [notes](#notes) (3)
|
|
306
308
|
- [notetaker-devices](#notetaker-devices) (2)
|
|
307
309
|
- [notetaker-score-rubric](#notetaker-score-rubric) (3)
|
|
308
310
|
- [notetaker-sessions](#notetaker-sessions) (1)
|
|
@@ -313,7 +315,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
313
315
|
- [onboarding-builds](#onboarding-builds) (3)
|
|
314
316
|
- [onboarding-connect-plan](#onboarding-connect-plan) (1)
|
|
315
317
|
- [onboarding-next-step](#onboarding-next-step) (1)
|
|
316
|
-
- [opportunities](#opportunities) (
|
|
318
|
+
- [opportunities](#opportunities) (12)
|
|
317
319
|
- [opportunity-people](#opportunity-people) (4)
|
|
318
320
|
- [opportunity-settings](#opportunity-settings) (3)
|
|
319
321
|
- [opportunity-stages](#opportunity-stages) (3)
|
|
@@ -344,6 +346,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
344
346
|
- [public-referrals](#public-referrals) (1)
|
|
345
347
|
- [public-saved-list-invites](#public-saved-list-invites) (1)
|
|
346
348
|
- [public-shares](#public-shares) (9)
|
|
349
|
+
- [record-layouts](#record-layouts) (3)
|
|
347
350
|
- [referral-codes](#referral-codes) (3)
|
|
348
351
|
- [referral-redemptions](#referral-redemptions) (1)
|
|
349
352
|
- [reply-templates](#reply-templates) (5)
|
|
@@ -460,7 +463,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
460
463
|
- [workspace](#workspace) (3)
|
|
461
464
|
- [workspace-api-keys](#workspace-api-keys) (3)
|
|
462
465
|
- [workspace-data-deletions](#workspace-data-deletions) (4)
|
|
463
|
-
- [workspaces](#workspaces) (
|
|
466
|
+
- [workspaces](#workspaces) (19)
|
|
464
467
|
|
|
465
468
|
## access-requests
|
|
466
469
|
|
|
@@ -1250,6 +1253,12 @@ List API requests in the current workspace. `GET /v1/api-requests` (a list). Bet
|
|
|
1250
1253
|
|
|
1251
1254
|
Flags: `--api-key-id`, `--cursor`, `--limit`, `--occurred-after`, `--occurred-before`, `--request-id`, `--status`, `--all`, `--each`, `--concurrency`.
|
|
1252
1255
|
|
|
1256
|
+
### kenso api-requests usage
|
|
1257
|
+
|
|
1258
|
+
Summarize API requests per key, with each key's rate-limit headroom. `GET /v1/api-requests/usage`. Beta: needs `api_request_logs`.
|
|
1259
|
+
|
|
1260
|
+
Flags: `--from`, `--to`, `--each`, `--concurrency`.
|
|
1261
|
+
|
|
1253
1262
|
## apollo-lists
|
|
1254
1263
|
|
|
1255
1264
|
### kenso apollo-lists list
|
|
@@ -2994,20 +3003,32 @@ Flags: `--each`, `--concurrency`.
|
|
|
2994
3003
|
|
|
2995
3004
|
### kenso capture private
|
|
2996
3005
|
|
|
2997
|
-
Hide your captured email from teammates, or show it again. `
|
|
3006
|
+
Hide your captured email from teammates, or show it again. API operations: `capture-mailbox.update`, `capture-threads.update`. Beta: needs `crm_capture`.
|
|
2998
3007
|
|
|
2999
3008
|
Arguments: `<state>`.
|
|
3000
3009
|
|
|
3010
|
+
Flags: `--thread`.
|
|
3011
|
+
|
|
3001
3012
|
### kenso capture status
|
|
3002
3013
|
|
|
3003
3014
|
Show your captured mailbox, its backfill progress and what teammates see of a captured email. `GET /v1/capture`. Beta: needs `crm_capture`.
|
|
3004
3015
|
|
|
3016
|
+
### kenso capture sync
|
|
3017
|
+
|
|
3018
|
+
Read your captured mailbox now. `POST /v1/capture/mailbox/sync`. Beta: needs `crm_capture`.
|
|
3019
|
+
|
|
3005
3020
|
### kenso capture teammates-see
|
|
3006
3021
|
|
|
3007
3022
|
Pick what teammates see of captured email: the summary, or the full email (workspace admin). `PATCH /v1/capture`. Beta: needs `crm_capture`.
|
|
3008
3023
|
|
|
3009
3024
|
Arguments: `<value>`.
|
|
3010
3025
|
|
|
3026
|
+
### kenso capture thread
|
|
3027
|
+
|
|
3028
|
+
Read one captured email thread. `GET /v1/capture/threads/{threadId}`. Beta: needs `crm_capture`.
|
|
3029
|
+
|
|
3030
|
+
Arguments: `<threadId>`.
|
|
3031
|
+
|
|
3011
3032
|
### kenso capture update
|
|
3012
3033
|
|
|
3013
3034
|
Pick what teammates see of captured email. `PATCH /v1/capture`. Beta: needs `crm_capture`.
|
|
@@ -3028,12 +3049,32 @@ Turn capture off for your own mailbox. `DELETE /v1/capture/mailbox`. Beta: needs
|
|
|
3028
3049
|
|
|
3029
3050
|
Flags: `--each`, `--concurrency`.
|
|
3030
3051
|
|
|
3052
|
+
### kenso capture-mailbox sync
|
|
3053
|
+
|
|
3054
|
+
Read your captured mailbox now. `POST /v1/capture/mailbox/sync`. Beta: needs `crm_capture`.
|
|
3055
|
+
|
|
3056
|
+
Flags: `--each`, `--concurrency`.
|
|
3057
|
+
|
|
3031
3058
|
### kenso capture-mailbox update
|
|
3032
3059
|
|
|
3033
3060
|
Set the Private switch of your captured mailbox. `PATCH /v1/capture/mailbox`. Beta: needs `crm_capture`.
|
|
3034
3061
|
|
|
3035
3062
|
Flags: `--is-private`, `--no-is-private`, `--data`, `--each`, `--concurrency`.
|
|
3036
3063
|
|
|
3064
|
+
## capture-threads
|
|
3065
|
+
|
|
3066
|
+
### kenso capture-threads get
|
|
3067
|
+
|
|
3068
|
+
Read one captured email thread. `GET /v1/capture/threads/{threadId}`. Beta: needs `crm_capture`.
|
|
3069
|
+
|
|
3070
|
+
Flags: `--thread-id` (required), `--each`, `--concurrency`.
|
|
3071
|
+
|
|
3072
|
+
### kenso capture-threads update
|
|
3073
|
+
|
|
3074
|
+
Set your Private switch for one captured thread. `PATCH /v1/capture/threads/{threadId}`. Beta: needs `crm_capture`.
|
|
3075
|
+
|
|
3076
|
+
Flags: `--thread-id` (required), `--is-private`, `--no-is-private`, `--data`, `--each`, `--concurrency`.
|
|
3077
|
+
|
|
3037
3078
|
## checkout-sessions
|
|
3038
3079
|
|
|
3039
3080
|
### kenso checkout-sessions create
|
|
@@ -6838,7 +6879,7 @@ Flags: `--meeting-result-id` (required), `--each`, `--concurrency`.
|
|
|
6838
6879
|
|
|
6839
6880
|
List the workspace's attributed meetings. `GET /v1/meeting-results` (a list). Beta: needs `meeting_results`.
|
|
6840
6881
|
|
|
6841
|
-
Flags: `--billable`, `--cursor`, `--limit`, `--month`, `--status`, `--no-billable`, `--all`, `--each`, `--concurrency`.
|
|
6882
|
+
Flags: `--attribution`, `--billable`, `--campaign-id`, `--contact-id`, `--credit-kind`, `--cursor`, `--ledger`, `--limit`, `--month`, `--outcome`, `--status`, `--no-billable`, `--all`, `--each`, `--concurrency`.
|
|
6842
6883
|
|
|
6843
6884
|
### kenso meeting-results no-show
|
|
6844
6885
|
|
|
@@ -7396,6 +7437,26 @@ List the caller's native transcript sources. `GET /v1/native-transcript-sources`
|
|
|
7396
7437
|
|
|
7397
7438
|
Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
7398
7439
|
|
|
7440
|
+
## notes
|
|
7441
|
+
|
|
7442
|
+
### kenso notes create
|
|
7443
|
+
|
|
7444
|
+
Write a note on an account, a person or a deal, or a comment under a note. `POST /v1/notes`. Beta: needs `record_notes`.
|
|
7445
|
+
|
|
7446
|
+
Flags: `--account-id`, `--person-id`, `--opportunity-id`, `--parent-note-id`, `--body`, `--data`, `--each`, `--concurrency`.
|
|
7447
|
+
|
|
7448
|
+
### kenso notes get
|
|
7449
|
+
|
|
7450
|
+
Return one note with its first 50 comments, or one comment. `GET /v1/notes/{noteId}`. Beta: needs `record_notes`.
|
|
7451
|
+
|
|
7452
|
+
Flags: `--note-id` (required), `--each`, `--concurrency`.
|
|
7453
|
+
|
|
7454
|
+
### kenso notes list
|
|
7455
|
+
|
|
7456
|
+
List the notes on an account, a person or a deal. `GET /v1/notes` (a list). Beta: needs `record_notes`.
|
|
7457
|
+
|
|
7458
|
+
Flags: `--account-id`, `--cursor`, `--limit`, `--opportunity-id`, `--person-id`, `--all`, `--each`, `--concurrency`.
|
|
7459
|
+
|
|
7399
7460
|
## notetaker-devices
|
|
7400
7461
|
|
|
7401
7462
|
### kenso notetaker-devices list
|
|
@@ -7574,6 +7635,12 @@ List opportunities in the current workspace. `GET /v1/opportunities` (a list). B
|
|
|
7574
7635
|
|
|
7575
7636
|
Flags: `--account-id`, `--close-date-after`, `--close-date-before`, `--cursor`, `--limit`, `--owner-member-id`, `--person-id`, `--search`, `--sort`, `--source-campaign-id`, `--stage`, `--stage-category`, `--stale-days`, `--all`, `--each`, `--concurrency`.
|
|
7576
7637
|
|
|
7638
|
+
### kenso opportunities revenue
|
|
7639
|
+
|
|
7640
|
+
Get the revenue from Kenso report. `GET /v1/analytics/revenue`. Beta: needs `revenue_attribution`.
|
|
7641
|
+
|
|
7642
|
+
Flags: `--basis`, `--campaign-id`, `--from` (required), `--group-by`, `--to` (required), `--each`, `--concurrency`.
|
|
7643
|
+
|
|
7577
7644
|
### kenso opportunities search
|
|
7578
7645
|
|
|
7579
7646
|
Search opportunities in the current workspace with filter conditions, and count them per value. `POST /v1/opportunities/search` (a list). Beta: needs `opportunities`.
|
|
@@ -8530,6 +8597,26 @@ Unsubscribe from a workspace's share emails. `POST /v1/public/shares/{token}/uns
|
|
|
8530
8597
|
|
|
8531
8598
|
Flags: `--token` (required), `--recipient`, `--data`, `--each`, `--concurrency`.
|
|
8532
8599
|
|
|
8600
|
+
## record-layouts
|
|
8601
|
+
|
|
8602
|
+
### kenso record-layouts get
|
|
8603
|
+
|
|
8604
|
+
Get a record page layout. `GET /v1/record-layouts/{object}`.
|
|
8605
|
+
|
|
8606
|
+
Flags: `--object` (required), `--each`, `--concurrency`.
|
|
8607
|
+
|
|
8608
|
+
### kenso record-layouts replace
|
|
8609
|
+
|
|
8610
|
+
Replace a record page layout. `PUT /v1/record-layouts/{object}`. Beta: needs `record_layout`.
|
|
8611
|
+
|
|
8612
|
+
Flags: `--object` (required), `--body-version`, `--data`, `--each`, `--concurrency`.
|
|
8613
|
+
|
|
8614
|
+
### kenso record-layouts reset
|
|
8615
|
+
|
|
8616
|
+
Reset a record page layout. `DELETE /v1/record-layouts/{object}`. Beta: needs `record_layout`.
|
|
8617
|
+
|
|
8618
|
+
Flags: `--object` (required), `--each`, `--concurrency`.
|
|
8619
|
+
|
|
8533
8620
|
## referral-codes
|
|
8534
8621
|
|
|
8535
8622
|
### kenso referral-codes get
|
|
@@ -11620,6 +11707,12 @@ Remove the workspace wordmark (the wide Logo). `DELETE /v1/workspaces/{workspace
|
|
|
11620
11707
|
|
|
11621
11708
|
Flags: `--workspace-id` (required), `--each`, `--concurrency`.
|
|
11622
11709
|
|
|
11710
|
+
### kenso workspaces delete-wordmark-dark
|
|
11711
|
+
|
|
11712
|
+
Remove the workspace's wide logo for dark backgrounds. `DELETE /v1/workspaces/{workspaceId}/wordmark-dark`.
|
|
11713
|
+
|
|
11714
|
+
Flags: `--workspace-id` (required), `--each`, `--concurrency`.
|
|
11715
|
+
|
|
11623
11716
|
### kenso workspaces get
|
|
11624
11717
|
|
|
11625
11718
|
Get a workspace. `GET /v1/workspaces/{workspaceId}`.
|
|
@@ -11662,6 +11755,12 @@ Replace the workspace wordmark (the wide Logo). `PUT /v1/workspaces/{workspaceId
|
|
|
11662
11755
|
|
|
11663
11756
|
Flags: `--workspace-id` (required), `--file`, `--source-url`, `--data`, `--each`, `--concurrency`.
|
|
11664
11757
|
|
|
11758
|
+
### kenso workspaces replace-wordmark-dark
|
|
11759
|
+
|
|
11760
|
+
Replace the workspace's wide logo for dark backgrounds. `PUT /v1/workspaces/{workspaceId}/wordmark-dark`.
|
|
11761
|
+
|
|
11762
|
+
Flags: `--workspace-id` (required), `--file`, `--source-url`, `--data`, `--each`, `--concurrency`.
|
|
11763
|
+
|
|
11665
11764
|
### kenso workspaces setup-reply-to
|
|
11666
11765
|
|
|
11667
11766
|
Buy the workspace's replies@ inbox and make it the Reply-To default. `POST /v1/workspaces/{workspaceId}/reply-to/setup`.
|
package/docs/sandbox.md
CHANGED
|
@@ -18,7 +18,7 @@ The sandbox commands run with your live key, in your current workspace. Run with
|
|
|
18
18
|
| `sandbox list` | Lists your sandbox |
|
|
19
19
|
| `sandbox reset [sandboxId]` | Deletes everything in the sandbox and seeds it again. Test keys and webhook endpoints stay |
|
|
20
20
|
| `sandbox key [sandboxId]` | Creates another test key (5 active at most) and saves it as the profile `sandbox` |
|
|
21
|
-
| `sandbox delete [sandboxId]` | Deletes the sandbox and revokes its test keys, then removes the profile `sandbox` |
|
|
21
|
+
| `sandbox delete [sandboxId]` | Deletes the sandbox with its webhook endpoints and their delivery history, and revokes its test keys, then removes the profile `sandbox` |
|
|
22
22
|
|
|
23
23
|
Without an id, `reset`, `key` and `delete` use your one sandbox. `delete` asks first on a terminal; in a script or an agent it needs `--yes`, and `--dry-run` prints the request it would send.
|
|
24
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.91",
|
|
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": "fd7e7166689d043f037c2e1b554fb9939e2a371f"
|
|
53
53
|
}
|