kenso 0.1.200 → 0.1.201
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/docs/crm.md +1 -23
- package/docs/reference.md +27 -183
- package/package.json +2 -2
package/docs/crm.md
CHANGED
|
@@ -243,29 +243,7 @@ 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)
|
|
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).
|
|
246
|
+
The CRM mirror (DEV-15178) has no commands yet: its operations stay out of the CLI until the `crm_mirror` flag goes on for customers. With the flag on, `crm-field-mappings replace` also saves the mirror's rules; it needs the `integrations` permission, so run it only on an admin's yes.
|
|
269
247
|
|
|
270
248
|
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.
|
|
271
249
|
|
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.201 (API contracts 583870b8b40d) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
2045 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,20 +176,6 @@ 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)
|
|
193
179
|
- [crm-pipelines](#crm-pipelines) (1)
|
|
194
180
|
- [crm-records](#crm-records) (1)
|
|
195
181
|
- [crm-sync](#crm-sync) (1)
|
|
@@ -200,7 +186,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
200
186
|
- [data-retention](#data-retention) (2)
|
|
201
187
|
- [deal-room-answers](#deal-room-answers) (4)
|
|
202
188
|
- [deal-room-buyer-inputs](#deal-room-buyer-inputs) (10)
|
|
203
|
-
- [deal-room-content](#deal-room-content) (
|
|
189
|
+
- [deal-room-content](#deal-room-content) (22)
|
|
204
190
|
- [deal-rooms](#deal-rooms) (15)
|
|
205
191
|
- [deal-watch](#deal-watch) (3)
|
|
206
192
|
- [deal-watch-actions](#deal-watch-actions) (4)
|
|
@@ -4242,172 +4228,6 @@ Search the CRM live. `GET /v1/crm-connections/{connectionId}/live-records`. Beta
|
|
|
4242
4228
|
|
|
4243
4229
|
Flags: `--connection-id` (required), `--limit`, `--object-type`, `--search`, `--each`, `--concurrency`.
|
|
4244
4230
|
|
|
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
|
-
|
|
4411
4231
|
## crm-pipelines
|
|
4412
4232
|
|
|
4413
4233
|
### kenso crm-pipelines list
|
|
@@ -4684,6 +4504,12 @@ Get a link to the agreement as a PDF. `GET /v1/deal-rooms/{dealRoomId}/agreement
|
|
|
4684
4504
|
|
|
4685
4505
|
Flags: `--deal-room-id` (required), `--param-version`, `--each`, `--concurrency`.
|
|
4686
4506
|
|
|
4507
|
+
### kenso deal-room-content get-file
|
|
4508
|
+
|
|
4509
|
+
Get one file with its copies and who opened it. `GET /v1/deal-rooms/{dealRoomId}/files/{fileId}`. Beta: needs `deal_room`.
|
|
4510
|
+
|
|
4511
|
+
Flags: `--deal-room-id` (required), `--file-id` (required), `--each`, `--concurrency`.
|
|
4512
|
+
|
|
4687
4513
|
### kenso deal-room-content get-file-link
|
|
4688
4514
|
|
|
4689
4515
|
Get a short-lived link to open or download a file. `GET /v1/deal-rooms/{dealRoomId}/files/{fileId}/link`. Beta: needs `deal_room`.
|
|
@@ -4720,6 +4546,18 @@ Publish the draft as the next agreement version. `POST /v1/deal-rooms/{dealRoomI
|
|
|
4720
4546
|
|
|
4721
4547
|
Flags: `--deal-room-id` (required), `--change-note`, `--data`, `--each`, `--concurrency`.
|
|
4722
4548
|
|
|
4549
|
+
### kenso deal-room-content remove-file
|
|
4550
|
+
|
|
4551
|
+
Remove a file from the room, on both sides at once. `POST /v1/deal-rooms/{dealRoomId}/files/{fileId}/remove`. Beta: needs `deal_room`.
|
|
4552
|
+
|
|
4553
|
+
Flags: `--deal-room-id` (required), `--file-id` (required), `--each`, `--concurrency`.
|
|
4554
|
+
|
|
4555
|
+
### kenso deal-room-content replace-file
|
|
4556
|
+
|
|
4557
|
+
Replace a file with a new copy; the earlier copies are kept. `POST /v1/deal-rooms/{dealRoomId}/files/{fileId}/versions`. Beta: needs `deal_room`.
|
|
4558
|
+
|
|
4559
|
+
Flags: `--deal-room-id` (required), `--file-id` (required), `--size-bytes`, `--content-type`, `--name`, `--data`, `--each`, `--concurrency`.
|
|
4560
|
+
|
|
4723
4561
|
### kenso deal-room-content reply-question
|
|
4724
4562
|
|
|
4725
4563
|
Reply to a deal room question. `POST /v1/deal-rooms/{dealRoomId}/questions/{questionId}/reply`. Beta: needs `deal_room`.
|
|
@@ -4738,6 +4576,12 @@ Save the room's quote. `PUT /v1/deal-rooms/{dealRoomId}/quote`. Beta: needs `dea
|
|
|
4738
4576
|
|
|
4739
4577
|
Flags: `--deal-room-id` (required), `--data`, `--each`, `--concurrency`.
|
|
4740
4578
|
|
|
4579
|
+
### kenso deal-room-content update-file
|
|
4580
|
+
|
|
4581
|
+
Rename a file or move it to another place in the room. `PATCH /v1/deal-rooms/{dealRoomId}/files/{fileId}`. Beta: needs `deal_room`.
|
|
4582
|
+
|
|
4583
|
+
Flags: `--deal-room-id` (required), `--file-id` (required), `--name`, `--target-kind`, `--target-key`, `--data`, `--each`, `--concurrency`.
|
|
4584
|
+
|
|
4741
4585
|
### kenso deal-room-content update-plan-step
|
|
4742
4586
|
|
|
4743
4587
|
Change one plan step. `PATCH /v1/deal-rooms/{dealRoomId}/plan/steps/{stepKey}`. Beta: needs `deal_room`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.201",
|
|
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": "52afb07db8065c1790dcd01cc7796cd81c70014c"
|
|
53
53
|
}
|