kenso 0.1.82 → 0.1.84
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 +2 -2
- package/dist/operations.json +1 -1
- package/docs/crm.md +12 -0
- package/docs/reference.md +18 -6
- package/package.json +2 -2
package/docs/crm.md
CHANGED
|
@@ -177,6 +177,18 @@ kenso crm-sync-issues list --connection-id 7 --all
|
|
|
177
177
|
|
|
178
178
|
Run `kenso crm-connections --help` (or add `--all-commands` when the actions are hidden) to see every action.
|
|
179
179
|
|
|
180
|
+
## Pipelines
|
|
181
|
+
|
|
182
|
+
A workspace with the `pipelines` flag on can run several deal pipelines, each with its own stages. These are generated commands (beta):
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
kenso pipelines list
|
|
186
|
+
kenso pipelines list --query "[].{id: id, name: name, default: isDefault, stages: stages[].key}"
|
|
187
|
+
kenso pipelines get --pipeline-id 5
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
`list` prints every pipeline in display order, archived ones included: `id`, `name`, `routingRule` (the one sentence Ken reads to decide whether a new deal belongs there), `isDefault`, `isArchived`, `position`, `opportunityCount`, `amountTotal` and `stages`, each stage as `kenso opportunity-stages list` prints it. A stage key is unique in the workspace, across pipelines, so a deal's `stage` names its pipeline and its `pipelineId` repeats it. The first read turns the workspace's stage list into its default pipeline, named Sales, with every deal in it. The same rows as the MCP's `pipelines(operation="list")`.
|
|
191
|
+
|
|
180
192
|
## Restore a deleted account
|
|
181
193
|
|
|
182
194
|
```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.84 (API contracts 71295cbc21b2) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1702 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
|
|
|
@@ -327,7 +327,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
327
327
|
- [permission-templates](#permission-templates) (5)
|
|
328
328
|
- [person-behavior](#person-behavior) (1)
|
|
329
329
|
- [person-facebook](#person-facebook) (4)
|
|
330
|
-
- [pipelines](#pipelines) (
|
|
330
|
+
- [pipelines](#pipelines) (3)
|
|
331
331
|
- [placement-seed-sharing](#placement-seed-sharing) (2)
|
|
332
332
|
- [placement-tests](#placement-tests) (4)
|
|
333
333
|
- [portal-sessions](#portal-sessions) (1)
|
|
@@ -7513,7 +7513,7 @@ Flags: `--each`, `--concurrency`.
|
|
|
7513
7513
|
|
|
7514
7514
|
Create an opportunity on an account. `POST /v1/opportunities`. Beta: needs `opportunities`.
|
|
7515
7515
|
|
|
7516
|
-
Flags: `--name`, `--stage`, `--amount`, `--currency`, `--close-date`, `--owner-member-id`, `--primary-person-id`, `--next-step`, `--lost-reason`, `--lost-reason-key`, `--deal-type`, `--summary`, `--probability`, `--account-id`, `--data`, `--each`, `--concurrency`.
|
|
7516
|
+
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`, `--data`, `--each`, `--concurrency`.
|
|
7517
7517
|
|
|
7518
7518
|
### kenso opportunities delete
|
|
7519
7519
|
|
|
@@ -7573,7 +7573,7 @@ Arguments: `<opportunityId>`.
|
|
|
7573
7573
|
|
|
7574
7574
|
Update opportunity fields. Absent fields stay unchanged; null clears. `PATCH /v1/opportunities/{opportunityId}`. Beta: needs `opportunities`.
|
|
7575
7575
|
|
|
7576
|
-
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`, `--account-id`, `--overwrite-pinned`, `--no-overwrite-pinned`, `--data`, `--each`, `--concurrency`.
|
|
7576
|
+
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`, `--overwrite-pinned`, `--no-overwrite-pinned`, `--data`, `--each`, `--concurrency`.
|
|
7577
7577
|
|
|
7578
7578
|
## opportunity-people
|
|
7579
7579
|
|
|
@@ -7619,7 +7619,7 @@ Flags: `--each`, `--concurrency`.
|
|
|
7619
7619
|
|
|
7620
7620
|
Update the workspace's opportunity settings. `PATCH /v1/opportunity-settings`. Beta: needs `opportunities`.
|
|
7621
7621
|
|
|
7622
|
-
Flags: `--create-trigger`, `--currency`, `--mark-customer-on-won`, `--auto-stage-moves`, `--quiet-after-days`, `--no-mark-customer-on-won`, `--no-auto-stage-moves`, `--data`, `--each`, `--concurrency`.
|
|
7622
|
+
Flags: `--create-trigger`, `--currency`, `--mark-customer-on-won`, `--auto-stage-moves`, `--quiet-after-days`, `--forecast-category-mode`, `--no-mark-customer-on-won`, `--no-auto-stage-moves`, `--data`, `--each`, `--concurrency`.
|
|
7623
7623
|
|
|
7624
7624
|
## opportunity-stages
|
|
7625
7625
|
|
|
@@ -8139,6 +8139,18 @@ Flags: `--person-id` (required), `--url`, `--data`, `--each`, `--concurrency`.
|
|
|
8139
8139
|
|
|
8140
8140
|
## pipelines
|
|
8141
8141
|
|
|
8142
|
+
### kenso pipelines get
|
|
8143
|
+
|
|
8144
|
+
Return one pipeline with its stages. `GET /v1/pipelines/{pipelineId}`. Beta: needs `opportunities` and `pipelines`.
|
|
8145
|
+
|
|
8146
|
+
Flags: `--pipeline-id` (required), `--each`, `--concurrency`.
|
|
8147
|
+
|
|
8148
|
+
### kenso pipelines list
|
|
8149
|
+
|
|
8150
|
+
List the workspace's pipelines. `GET /v1/pipelines` (a list). Beta: needs `opportunities` and `pipelines`.
|
|
8151
|
+
|
|
8152
|
+
Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
8153
|
+
|
|
8142
8154
|
### kenso pipelines stage-rules
|
|
8143
8155
|
|
|
8144
8156
|
List or set the fields a deal should have in each stage. API operations: `opportunity-stages.list`, `opportunity-stages.set-required-fields`. Beta: needs `opportunities` and `deal_stage_rules`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.84",
|
|
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": "8e6718a675b15e76f29423562a9be7b1eec8cf7c"
|
|
53
53
|
}
|