kenso 0.1.203 → 0.1.205
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/discover.json +1 -1
- package/dist/kenso.js +2 -2
- package/dist/operations.index.json +1 -1
- package/dist/operations.json +1 -1
- package/dist/step-types.json +1 -1
- package/docs/crm.md +23 -1
- package/docs/reference.md +189 -3
- package/package.json +2 -2
package/docs/crm.md
CHANGED
|
@@ -243,7 +243,29 @@ kenso crm-sync-issues list --connection-id 7 --all
|
|
|
243
243
|
|
|
244
244
|
Run `kenso crm-connections --help` (or add `--all-commands` when the actions are hidden) to see every action.
|
|
245
245
|
|
|
246
|
-
The CRM mirror (DEV-15178)
|
|
246
|
+
The CRM mirror (DEV-15178) adds generated commands that read what the mirror did and act on one record. They need the `crm_mirror` flag on the workspace (every one answers `404 not_found` while it is off). The admin commands exist too (`crm-field-mappings replace`, `crm-mirror-crm-fields create`, `crm-mirror-crm-field-options create`, `crm-mirror-users set-member`, `crm-mirror-history set`, `crm-mirror-schema-fields refresh`): they need the `integrations` permission, so run them only on an admin's yes.
|
|
247
|
+
|
|
248
|
+
```bash
|
|
249
|
+
kenso crm-mirror-schema-fields list --connection-id 7 --object-type contact
|
|
250
|
+
kenso crm-mirror-imports list --connection-id 7
|
|
251
|
+
kenso crm-mirror-imports get --connection-id 7 --import-id 12
|
|
252
|
+
kenso crm-mirror-imports review --connection-id 7 --import-id 12
|
|
253
|
+
kenso crm-mirror-imports put-back --connection-id 7 --import-id 12 --ken-field person.title
|
|
254
|
+
kenso crm-mirror-users list --connection-id 7
|
|
255
|
+
kenso crm-mirror-write-preview get --connection-id 7
|
|
256
|
+
kenso crm-mirror-api-usage get --connection-id 7
|
|
257
|
+
kenso crm-mirror-feed list --connection-id 7 --entity-type person --entity-id 41 --sync-direction in
|
|
258
|
+
kenso crm-mirror-feed list --connection-id 7 --errors-only
|
|
259
|
+
kenso crm-mirror-field-changes list --connection-id 7 --entity-type person --entity-id 41 --ken-field custom.seats
|
|
260
|
+
kenso crm-mirror-field-changes revert --connection-id 7 --change-id 9
|
|
261
|
+
kenso crm-mirror-activity-contents list --connection-id 7 --entity-type account --entity-id 101
|
|
262
|
+
kenso crm-mirror-records sync-status --connection-id 7 --entity-type person --entity-id 41
|
|
263
|
+
kenso crm-mirror-records compare --connection-id 7 --entity-type person --entity-id 41
|
|
264
|
+
kenso crm-mirror-records sync --connection-id 7 --entity-type person --entity-id 41
|
|
265
|
+
kenso crm-mirror-parity get --connection-id 7
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
`crm-mirror-records sync`, `crm-mirror-field-changes revert` and `crm-mirror-imports put-back` write to the CRM once the connection's writes are on, so run them only on a yes that names the record, the change or the import. `kenso crm-mirror-records --help` lists the rest (`--all-commands` when they are hidden).
|
|
247
269
|
|
|
248
270
|
A connection syncs two-way unless you choose one-way (`settings.syncMode`: `two_way` or `one_way`). One-way only pushes: Kenso keeps creating and updating CRM records and pushing activity, opt-outs, deals, tasks and lists, and reads nothing from the CRM but its owners, so there is no import, polling, webhooks, CRM list sources, inbound people or send holds from CRM data. Records already pulled stay. Choose it at connect with `kenso connect crm --provider hubspot --sync-mode one_way` (or `--sync-mode one_way` on `kenso crm-connections create` for close and twenty); a reconnect keeps the mode. Switch an existing connection with `kenso crm-connections update --connection-id 7 --data '{"settings": {"syncMode": "one_way"}}'`. Switching back to `two_way` starts the full first import again.
|
|
249
271
|
|
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.205 (API contracts 3711ed470fbe) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
2075 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
|
|
|
@@ -176,6 +176,20 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
176
176
|
- [crm-imports](#crm-imports) (1)
|
|
177
177
|
- [crm-lists](#crm-lists) (1)
|
|
178
178
|
- [crm-live-records](#crm-live-records) (2)
|
|
179
|
+
- [crm-mirror-activity-contents](#crm-mirror-activity-contents) (1)
|
|
180
|
+
- [crm-mirror-api-usage](#crm-mirror-api-usage) (1)
|
|
181
|
+
- [crm-mirror-crm-field-options](#crm-mirror-crm-field-options) (1)
|
|
182
|
+
- [crm-mirror-crm-fields](#crm-mirror-crm-fields) (2)
|
|
183
|
+
- [crm-mirror-feed](#crm-mirror-feed) (1)
|
|
184
|
+
- [crm-mirror-field-changes](#crm-mirror-field-changes) (2)
|
|
185
|
+
- [crm-mirror-history](#crm-mirror-history) (1)
|
|
186
|
+
- [crm-mirror-import-filter](#crm-mirror-import-filter) (1)
|
|
187
|
+
- [crm-mirror-imports](#crm-mirror-imports) (4)
|
|
188
|
+
- [crm-mirror-parity](#crm-mirror-parity) (1)
|
|
189
|
+
- [crm-mirror-records](#crm-mirror-records) (3)
|
|
190
|
+
- [crm-mirror-schema-fields](#crm-mirror-schema-fields) (2)
|
|
191
|
+
- [crm-mirror-users](#crm-mirror-users) (2)
|
|
192
|
+
- [crm-mirror-write-preview](#crm-mirror-write-preview) (1)
|
|
179
193
|
- [crm-pipelines](#crm-pipelines) (1)
|
|
180
194
|
- [crm-records](#crm-records) (1)
|
|
181
195
|
- [crm-sync](#crm-sync) (1)
|
|
@@ -305,7 +319,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
305
319
|
- [loopster-search-filters](#loopster-search-filters) (1)
|
|
306
320
|
- [mail-messages](#mail-messages) (2)
|
|
307
321
|
- [market-profile](#market-profile) (3)
|
|
308
|
-
- [market-stories](#market-stories) (
|
|
322
|
+
- [market-stories](#market-stories) (5)
|
|
309
323
|
- [markets](#markets) (2)
|
|
310
324
|
- [mcp](#mcp) (2)
|
|
311
325
|
- [mcp-calls](#mcp-calls) (1)
|
|
@@ -4228,6 +4242,172 @@ Search the CRM live. `GET /v1/crm-connections/{connectionId}/live-records`. Beta
|
|
|
4228
4242
|
|
|
4229
4243
|
Flags: `--connection-id` (required), `--limit`, `--object-type`, `--search`, `--each`, `--concurrency`.
|
|
4230
4244
|
|
|
4245
|
+
## crm-mirror-activity-contents
|
|
4246
|
+
|
|
4247
|
+
### kenso crm-mirror-activity-contents list
|
|
4248
|
+
|
|
4249
|
+
List a record's CRM activity text. `GET /v1/crm-connections/{connectionId}/activity-contents` (a list). Beta: needs `ingestion`.
|
|
4250
|
+
|
|
4251
|
+
Flags: `--connection-id` (required), `--cursor`, `--entity-id`, `--entity-type`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
4252
|
+
|
|
4253
|
+
## crm-mirror-api-usage
|
|
4254
|
+
|
|
4255
|
+
### kenso crm-mirror-api-usage get
|
|
4256
|
+
|
|
4257
|
+
Get the CRM's API usage. `GET /v1/crm-connections/{connectionId}/api-usage`. Beta: needs `ingestion`.
|
|
4258
|
+
|
|
4259
|
+
Flags: `--connection-id` (required), `--each`, `--concurrency`.
|
|
4260
|
+
|
|
4261
|
+
## crm-mirror-crm-field-options
|
|
4262
|
+
|
|
4263
|
+
### kenso crm-mirror-crm-field-options create
|
|
4264
|
+
|
|
4265
|
+
Add a dropdown option to a CRM field. `POST /v1/crm-connections/{connectionId}/crm-fields/{objectType}/{crmField}/options`. Beta: needs `ingestion`.
|
|
4266
|
+
|
|
4267
|
+
Flags: `--connection-id` (required), `--object-type` (required), `--crm-field` (required), `--value`, `--label`, `--data`, `--each`, `--concurrency`.
|
|
4268
|
+
|
|
4269
|
+
## crm-mirror-crm-fields
|
|
4270
|
+
|
|
4271
|
+
### kenso crm-mirror-crm-fields create
|
|
4272
|
+
|
|
4273
|
+
Ask Kenso to create a field in the CRM. `POST /v1/crm-connections/{connectionId}/crm-fields`. Beta: needs `ingestion`.
|
|
4274
|
+
|
|
4275
|
+
Flags: `--connection-id` (required), `--object-type`, `--ken-field`, `--data`, `--each`, `--concurrency`.
|
|
4276
|
+
|
|
4277
|
+
### kenso crm-mirror-crm-fields preview
|
|
4278
|
+
|
|
4279
|
+
Preview Kenso fields in the CRM. `GET /v1/crm-connections/{connectionId}/crm-fields/preview`. Beta: needs `ingestion`.
|
|
4280
|
+
|
|
4281
|
+
Flags: `--connection-id` (required), `--ken-field`, `--object-type`, `--each`, `--concurrency`.
|
|
4282
|
+
|
|
4283
|
+
## crm-mirror-feed
|
|
4284
|
+
|
|
4285
|
+
### kenso crm-mirror-feed list
|
|
4286
|
+
|
|
4287
|
+
List the sync feed. `GET /v1/crm-connections/{connectionId}/feed` (a list). Beta: needs `ingestion`.
|
|
4288
|
+
|
|
4289
|
+
Flags: `--connection-id` (required), `--cursor`, `--entity-id`, `--entity-type`, `--errors-only`, `--ken-field`, `--limit`, `--sync-direction`, `--no-errors-only`, `--all`, `--each`, `--concurrency`.
|
|
4290
|
+
|
|
4291
|
+
## crm-mirror-field-changes
|
|
4292
|
+
|
|
4293
|
+
### kenso crm-mirror-field-changes list
|
|
4294
|
+
|
|
4295
|
+
List a record's field history. `GET /v1/crm-connections/{connectionId}/field-changes` (a list). Beta: needs `ingestion`.
|
|
4296
|
+
|
|
4297
|
+
Flags: `--connection-id` (required), `--cursor`, `--entity-id`, `--entity-type`, `--ken-field`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
4298
|
+
|
|
4299
|
+
### kenso crm-mirror-field-changes revert
|
|
4300
|
+
|
|
4301
|
+
Revert a field change. `POST /v1/crm-connections/{connectionId}/field-changes/{changeId}/revert`. Beta: needs `ingestion`.
|
|
4302
|
+
|
|
4303
|
+
Flags: `--connection-id` (required), `--change-id` (required), `--each`, `--concurrency`.
|
|
4304
|
+
|
|
4305
|
+
## crm-mirror-history
|
|
4306
|
+
|
|
4307
|
+
### kenso crm-mirror-history set
|
|
4308
|
+
|
|
4309
|
+
Set how far back Kenso reads CRM activity. `POST /v1/crm-connections/{connectionId}/history`. Beta: needs `ingestion`.
|
|
4310
|
+
|
|
4311
|
+
Flags: `--connection-id` (required), `--window`, `--data`, `--each`, `--concurrency`.
|
|
4312
|
+
|
|
4313
|
+
## crm-mirror-import-filter
|
|
4314
|
+
|
|
4315
|
+
### kenso crm-mirror-import-filter preview
|
|
4316
|
+
|
|
4317
|
+
Preview an import filter. `POST /v1/crm-connections/{connectionId}/import-filter/preview`. Beta: needs `ingestion`.
|
|
4318
|
+
|
|
4319
|
+
Flags: `--connection-id` (required), `--data`, `--each`, `--concurrency`.
|
|
4320
|
+
|
|
4321
|
+
## crm-mirror-imports
|
|
4322
|
+
|
|
4323
|
+
### kenso crm-mirror-imports get
|
|
4324
|
+
|
|
4325
|
+
Get a CRM import. `GET /v1/crm-connections/{connectionId}/imports/{importId}`. Beta: needs `ingestion`.
|
|
4326
|
+
|
|
4327
|
+
Flags: `--connection-id` (required), `--import-id` (required), `--each`, `--concurrency`.
|
|
4328
|
+
|
|
4329
|
+
### kenso crm-mirror-imports list
|
|
4330
|
+
|
|
4331
|
+
List CRM imports. `GET /v1/crm-connections/{connectionId}/imports` (a list). Beta: needs `ingestion`.
|
|
4332
|
+
|
|
4333
|
+
Flags: `--connection-id` (required), `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
4334
|
+
|
|
4335
|
+
### kenso crm-mirror-imports put-back
|
|
4336
|
+
|
|
4337
|
+
Put Kenso's values back. `POST /v1/crm-connections/{connectionId}/imports/{importId}/put-back`. Beta: needs `ingestion`.
|
|
4338
|
+
|
|
4339
|
+
Flags: `--connection-id` (required), `--import-id` (required), `--ken-field`, `--cursor`, `--data`, `--each`, `--concurrency`.
|
|
4340
|
+
|
|
4341
|
+
### kenso crm-mirror-imports review
|
|
4342
|
+
|
|
4343
|
+
Review a CRM import. `GET /v1/crm-connections/{connectionId}/imports/{importId}/review`. Beta: needs `ingestion`.
|
|
4344
|
+
|
|
4345
|
+
Flags: `--connection-id` (required), `--import-id` (required), `--each`, `--concurrency`.
|
|
4346
|
+
|
|
4347
|
+
## crm-mirror-parity
|
|
4348
|
+
|
|
4349
|
+
### kenso crm-mirror-parity get
|
|
4350
|
+
|
|
4351
|
+
Get the CRM parity report. `GET /v1/crm-connections/{connectionId}/parity`. Beta: needs `ingestion`.
|
|
4352
|
+
|
|
4353
|
+
Flags: `--connection-id` (required), `--each`, `--concurrency`.
|
|
4354
|
+
|
|
4355
|
+
## crm-mirror-records
|
|
4356
|
+
|
|
4357
|
+
### kenso crm-mirror-records compare
|
|
4358
|
+
|
|
4359
|
+
Compare a record with its CRM record. `GET /v1/crm-connections/{connectionId}/records/compare`. Beta: needs `ingestion`.
|
|
4360
|
+
|
|
4361
|
+
Flags: `--connection-id` (required), `--entity-id`, `--entity-type`, `--each`, `--concurrency`.
|
|
4362
|
+
|
|
4363
|
+
### kenso crm-mirror-records sync
|
|
4364
|
+
|
|
4365
|
+
Sync a record with the CRM now. `POST /v1/crm-connections/{connectionId}/records/sync`. Beta: needs `ingestion`.
|
|
4366
|
+
|
|
4367
|
+
Flags: `--connection-id` (required), `--entity-type`, `--entity-id`, `--data`, `--each`, `--concurrency`.
|
|
4368
|
+
|
|
4369
|
+
### kenso crm-mirror-records sync-status
|
|
4370
|
+
|
|
4371
|
+
Get a record's CRM sync status. `GET /v1/crm-connections/{connectionId}/records/sync-status`. Beta: needs `ingestion`.
|
|
4372
|
+
|
|
4373
|
+
Flags: `--connection-id` (required), `--entity-id`, `--entity-type`, `--each`, `--concurrency`.
|
|
4374
|
+
|
|
4375
|
+
## crm-mirror-schema-fields
|
|
4376
|
+
|
|
4377
|
+
### kenso crm-mirror-schema-fields list
|
|
4378
|
+
|
|
4379
|
+
List the CRM's fields. `GET /v1/crm-connections/{connectionId}/schema-fields` (a list). Beta: needs `ingestion`.
|
|
4380
|
+
|
|
4381
|
+
Flags: `--connection-id` (required), `--cursor`, `--limit`, `--object-type`, `--all`, `--each`, `--concurrency`.
|
|
4382
|
+
|
|
4383
|
+
### kenso crm-mirror-schema-fields refresh
|
|
4384
|
+
|
|
4385
|
+
Refresh the CRM's fields. `POST /v1/crm-connections/{connectionId}/schema-fields/refresh`. Beta: needs `ingestion`.
|
|
4386
|
+
|
|
4387
|
+
Flags: `--connection-id` (required), `--each`, `--concurrency`.
|
|
4388
|
+
|
|
4389
|
+
## crm-mirror-users
|
|
4390
|
+
|
|
4391
|
+
### kenso crm-mirror-users list
|
|
4392
|
+
|
|
4393
|
+
List the CRM's users. `GET /v1/crm-connections/{connectionId}/users` (a list). Beta: needs `ingestion`.
|
|
4394
|
+
|
|
4395
|
+
Flags: `--connection-id` (required), `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
4396
|
+
|
|
4397
|
+
### kenso crm-mirror-users set-member
|
|
4398
|
+
|
|
4399
|
+
Map a CRM user to a member. `PUT /v1/crm-connections/{connectionId}/users/{externalUserId}/member`. Beta: needs `ingestion`.
|
|
4400
|
+
|
|
4401
|
+
Flags: `--connection-id` (required), `--external-user-id` (required), `--member-id`, `--data`, `--each`, `--concurrency`.
|
|
4402
|
+
|
|
4403
|
+
## crm-mirror-write-preview
|
|
4404
|
+
|
|
4405
|
+
### kenso crm-mirror-write-preview get
|
|
4406
|
+
|
|
4407
|
+
Preview what Kenso would write to the CRM. `GET /v1/crm-connections/{connectionId}/write-preview`. Beta: needs `ingestion`.
|
|
4408
|
+
|
|
4409
|
+
Flags: `--connection-id` (required), `--each`, `--concurrency`.
|
|
4410
|
+
|
|
4231
4411
|
## crm-pipelines
|
|
4232
4412
|
|
|
4233
4413
|
### kenso crm-pipelines list
|
|
@@ -7284,6 +7464,12 @@ Flags: `--data`, `--each`, `--concurrency`.
|
|
|
7284
7464
|
|
|
7285
7465
|
## market-stories
|
|
7286
7466
|
|
|
7467
|
+
### kenso market-stories candidates
|
|
7468
|
+
|
|
7469
|
+
List stories from the whole market story pool. `GET /v1/market-stories/candidates` (a list). Beta: needs `market_news`.
|
|
7470
|
+
|
|
7471
|
+
Flags: `--cursor`, `--event-type`, `--industries`, `--limit`, `--reach`, `--since`, `--all`, `--each`, `--concurrency`.
|
|
7472
|
+
|
|
7287
7473
|
### kenso market-stories create-campaign
|
|
7288
7474
|
|
|
7289
7475
|
Create a Draft campaign from a market story. `POST /v1/market-stories/{storyId}/create-campaign`. Beta: needs `market_news`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.205",
|
|
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": "6995b7fdc48335b50ccf656bc1654ed51c776793"
|
|
53
53
|
}
|