kenso 0.1.75 → 0.1.77
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 +346 -191
- package/dist/operations.json +1 -1
- package/docs/crm.md +3 -0
- package/docs/reference.md +68 -3
- package/package.json +2 -2
package/docs/crm.md
CHANGED
|
@@ -70,6 +70,9 @@ kenso accounts list --sort score:desc --limit 100 --all # every page, to the
|
|
|
70
70
|
kenso accounts search --search hiring --sort latestSignalAt:desc --data '{"qFields": ["name", "latestSignal"]}'
|
|
71
71
|
kenso accounts search --limit 1 --data '{"countBy": ["stage"]}' # how many accounts sit in each stage
|
|
72
72
|
kenso accounts search --data '{"where": {"match": "all", "conditions": [{"field": "tier", "operator": "is", "values": ["1"]}]}, "sort": "tier,-pipelineAmount"}' --all
|
|
73
|
+
kenso accounts search --data '{"where": {"match": "all", "conditions": [{"field": "hqLocation", "operator": "contains", "values": ["Germany"]}]}}' --all
|
|
74
|
+
# tier 1 accounts with no meeting in 30 days: none since then, or none ever
|
|
75
|
+
kenso accounts search --data '{"where": {"match": "all", "conditions": [{"field": "tier", "operator": "is", "values": ["1"]}, {"match": "any", "conditions": [{"field": "lastMeeting", "operator": "older_than_days", "values": ["30"]}, {"field": "lastMeeting", "operator": "is_empty"}]}]}}' --all
|
|
73
76
|
```
|
|
74
77
|
|
|
75
78
|
- **`--sort`** takes up to 3 comma-separated keys, each `field` (ascending), `field:asc` or `field:desc`. The API's `-field` form needs the equals sign here, `--sort=-score`, because a value that starts with a dash reads as a flag. Fields: `createdAt`, `name`, `score`, `tier` (ascending is tier 1 first), `latestSignalAt`, `committee`, `pipelineAmount`, `nextTouchAt`, `lastTouchAt`. An account with no value for a key comes last in both directions. The default is `-createdAt`.
|
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.77 (API contracts 419dabebd0ac) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
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.
|
|
6
6
|
|
|
7
7
|
## Global flags
|
|
8
8
|
|
|
@@ -163,6 +163,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
163
163
|
- [crm-sync-issues](#crm-sync-issues) (3)
|
|
164
164
|
- [custom-variables](#custom-variables) (4)
|
|
165
165
|
- [dashboard](#dashboard) (1)
|
|
166
|
+
- [dashboards](#dashboards) (8)
|
|
166
167
|
- [data-retention](#data-retention) (2)
|
|
167
168
|
- [deliverability-rules](#deliverability-rules) (1)
|
|
168
169
|
- [delivery-defaults](#delivery-defaults) (3)
|
|
@@ -342,7 +343,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
342
343
|
- [referral-codes](#referral-codes) (3)
|
|
343
344
|
- [referral-redemptions](#referral-redemptions) (1)
|
|
344
345
|
- [reply-templates](#reply-templates) (5)
|
|
345
|
-
- [reports](#reports) (
|
|
346
|
+
- [reports](#reports) (6)
|
|
346
347
|
- [revival-candidates](#revival-candidates) (1)
|
|
347
348
|
- [revivals](#revivals) (2)
|
|
348
349
|
- [role-candidates](#role-candidates) (6)
|
|
@@ -3772,6 +3773,58 @@ Return the workspace home dashboard. `GET /v1/dashboard`.
|
|
|
3772
3773
|
|
|
3773
3774
|
Flags: `--limit`, `--each`, `--concurrency`.
|
|
3774
3775
|
|
|
3776
|
+
## dashboards
|
|
3777
|
+
|
|
3778
|
+
### kenso dashboards add-chart
|
|
3779
|
+
|
|
3780
|
+
Save a chart at the end of a dashboard the calling member owns. `POST /v1/dashboards/{dashboardId}/charts`. Beta: needs `opportunities` and `reports`.
|
|
3781
|
+
|
|
3782
|
+
Flags: `--dashboard-id` (required), `--title`, `--kind`, `--value-key`, `--data`, `--each`, `--concurrency`.
|
|
3783
|
+
|
|
3784
|
+
### kenso dashboards create
|
|
3785
|
+
|
|
3786
|
+
Create a dashboard the calling member owns. `POST /v1/dashboards`. Beta: needs `opportunities` and `reports`.
|
|
3787
|
+
|
|
3788
|
+
Flags: `--name`, `--visibility`, `--data`, `--each`, `--concurrency`.
|
|
3789
|
+
|
|
3790
|
+
### kenso dashboards delete
|
|
3791
|
+
|
|
3792
|
+
Delete a dashboard the calling member owns, or as a workspace admin a shared one. `DELETE /v1/dashboards/{dashboardId}`. Beta: needs `opportunities` and `reports`.
|
|
3793
|
+
|
|
3794
|
+
Flags: `--dashboard-id` (required), `--each`, `--concurrency`.
|
|
3795
|
+
|
|
3796
|
+
### kenso dashboards get
|
|
3797
|
+
|
|
3798
|
+
Get one dashboard, with each chart's numbers when asked. `GET /v1/dashboards/{dashboardId}`. Beta: needs `opportunities` and `reports`.
|
|
3799
|
+
|
|
3800
|
+
Flags: `--dashboard-id` (required), `--include`, `--time-zone`, `--each`, `--concurrency`.
|
|
3801
|
+
|
|
3802
|
+
### kenso dashboards list
|
|
3803
|
+
|
|
3804
|
+
List the calling member's dashboards and the ones shared with the workspace. `GET /v1/dashboards` (a list). Beta: needs `opportunities` and `reports`.
|
|
3805
|
+
|
|
3806
|
+
Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
3807
|
+
|
|
3808
|
+
### kenso dashboards remove-chart
|
|
3809
|
+
|
|
3810
|
+
Take one chart off a dashboard the calling member owns. `DELETE /v1/dashboards/{dashboardId}/charts/{chartId}`. Beta: needs `opportunities` and `reports`.
|
|
3811
|
+
|
|
3812
|
+
Flags: `--dashboard-id` (required), `--chart-id` (required), `--each`, `--concurrency`.
|
|
3813
|
+
|
|
3814
|
+
### kenso dashboards show
|
|
3815
|
+
|
|
3816
|
+
Run a dashboard's charts and print their numbers. `GET /v1/dashboards/{dashboardId}`. Beta: needs `opportunities` and `reports`.
|
|
3817
|
+
|
|
3818
|
+
Arguments: `<dashboardId>`.
|
|
3819
|
+
|
|
3820
|
+
Flags: `--full`, `--time-zone`.
|
|
3821
|
+
|
|
3822
|
+
### kenso dashboards update
|
|
3823
|
+
|
|
3824
|
+
Rename a dashboard the calling member owns, or share or unshare it. `PATCH /v1/dashboards/{dashboardId}`. Beta: needs `opportunities` and `reports`.
|
|
3825
|
+
|
|
3826
|
+
Flags: `--dashboard-id` (required), `--name`, `--visibility`, `--data`, `--each`, `--concurrency`.
|
|
3827
|
+
|
|
3775
3828
|
## data-retention
|
|
3776
3829
|
|
|
3777
3830
|
### kenso data-retention get
|
|
@@ -8430,6 +8483,12 @@ Flags: `--reply-template-id` (required), `--data`, `--each`, `--concurrency`.
|
|
|
8430
8483
|
|
|
8431
8484
|
## reports
|
|
8432
8485
|
|
|
8486
|
+
### kenso reports answer
|
|
8487
|
+
|
|
8488
|
+
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`.
|
|
8489
|
+
|
|
8490
|
+
Flags: `--report-key` (required), `--period`, `--owner-member-id`, `--time-zone`, `--surface`, `--data`, `--each`, `--concurrency`.
|
|
8491
|
+
|
|
8433
8492
|
### kenso reports get
|
|
8434
8493
|
|
|
8435
8494
|
Run one stock report for a period and, optionally, one owner's deals. `GET /v1/reports/{reportKey}`. Beta: needs `opportunities` and `reports`.
|
|
@@ -8456,6 +8515,12 @@ Arguments: `<report>`.
|
|
|
8456
8515
|
|
|
8457
8516
|
Flags: `--full`, `--owner`, `--period`, `--time-zone`.
|
|
8458
8517
|
|
|
8518
|
+
### kenso reports summary
|
|
8519
|
+
|
|
8520
|
+
Read where the period stands and what needs you. `GET /v1/reports/summary`. Beta: needs `opportunities` and `reports`.
|
|
8521
|
+
|
|
8522
|
+
Flags: `--full`, `--owner`, `--period`, `--time-zone`.
|
|
8523
|
+
|
|
8459
8524
|
## revival-candidates
|
|
8460
8525
|
|
|
8461
8526
|
### kenso revival-candidates list
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.77",
|
|
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": "28cb5ddcbdab93c807e57686735446590b52b985"
|
|
53
53
|
}
|