kenso 0.1.199 → 0.1.200

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/docs/crm.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # CRM (beta)
2
2
 
3
- The CRM commands work on Kenso's Accounts lane: accounts (companies), the people on them, and opportunities. They are beta: they need the `accounts` feature flag on your workspace (opportunities need `opportunities`, CRM sync needs `ingestion`). Help and `kenso describe` hide them until your workspace has the flag; `--all-commands` shows them.
3
+ The CRM commands work on Kenso's Accounts lane: accounts (companies), the people on them, and opportunities. They are beta: they need the `accounts` feature flag on your workspace (opportunities need `opportunities`, CRM sync needs `ingestion`). Help and `kenso describe` hide them until your workspace has the flag; `--all-commands` shows them. The CRM mirror commands show once `ingestion` is on, and answer `404 not_found` until the workspace also has `crm_mirror`.
4
4
 
5
5
  | Command | What it does |
6
6
  |---|---|
@@ -243,6 +243,30 @@ 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) 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).
269
+
246
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.
247
271
 
248
272
  ## Pipelines
package/docs/reference.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.199 (API contracts 61898279e84a) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.200 (API contracts 3c2b03dc886e) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 2058 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.
5
+ 2064 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
 
@@ -181,7 +181,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
181
181
  - [crm-mirror-crm-field-options](#crm-mirror-crm-field-options) (1)
182
182
  - [crm-mirror-crm-fields](#crm-mirror-crm-fields) (2)
183
183
  - [crm-mirror-feed](#crm-mirror-feed) (1)
184
- - [crm-mirror-field-changes](#crm-mirror-field-changes) (1)
184
+ - [crm-mirror-field-changes](#crm-mirror-field-changes) (2)
185
185
  - [crm-mirror-history](#crm-mirror-history) (1)
186
186
  - [crm-mirror-import-filter](#crm-mirror-import-filter) (1)
187
187
  - [crm-mirror-imports](#crm-mirror-imports) (4)
@@ -200,7 +200,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
200
200
  - [data-retention](#data-retention) (2)
201
201
  - [deal-room-answers](#deal-room-answers) (4)
202
202
  - [deal-room-buyer-inputs](#deal-room-buyer-inputs) (10)
203
- - [deal-room-content](#deal-room-content) (13)
203
+ - [deal-room-content](#deal-room-content) (18)
204
204
  - [deal-rooms](#deal-rooms) (15)
205
205
  - [deal-watch](#deal-watch) (3)
206
206
  - [deal-watch-actions](#deal-watch-actions) (4)
@@ -4296,6 +4296,12 @@ List a record's field history. `GET /v1/crm-connections/{connectionId}/field-cha
4296
4296
 
4297
4297
  Flags: `--connection-id` (required), `--cursor`, `--entity-id`, `--entity-type`, `--ken-field`, `--limit`, `--all`, `--each`, `--concurrency`.
4298
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
+
4299
4305
  ## crm-mirror-history
4300
4306
 
4301
4307
  ### kenso crm-mirror-history set
@@ -4642,12 +4648,24 @@ Approve the room's quote. `POST /v1/deal-rooms/{dealRoomId}/quote/approve`. Beta
4642
4648
 
4643
4649
  Flags: `--deal-room-id` (required), `--if-updated-at`, `--data`, `--each`, `--concurrency`.
4644
4650
 
4651
+ ### kenso deal-room-content complete-file-upload
4652
+
4653
+ Say a file's upload is done, so Kenso checks it. `POST /v1/deal-rooms/{dealRoomId}/files/{fileId}/complete`. Beta: needs `deal_room`.
4654
+
4655
+ Flags: `--deal-room-id` (required), `--file-id` (required), `--each`, `--concurrency`.
4656
+
4645
4657
  ### kenso deal-room-content confirm-signing-details
4646
4658
 
4647
4659
  Confirm the signing details the buyer entered. `POST /v1/deal-rooms/{dealRoomId}/signing-details/confirm`. Beta: needs `deal_room`.
4648
4660
 
4649
4661
  Flags: `--deal-room-id` (required), `--set-at`, `--data`, `--each`, `--concurrency`.
4650
4662
 
4663
+ ### kenso deal-room-content create-file-upload
4664
+
4665
+ Add a file to a deal room: answers the file and a signed upload link. `POST /v1/deal-rooms/{dealRoomId}/files`. Beta: needs `deal_room`.
4666
+
4667
+ Flags: `--deal-room-id` (required), `--name`, `--size-bytes`, `--content-type`, `--target-kind`, `--target-key`, `--data`, `--each`, `--concurrency`.
4668
+
4651
4669
  ### kenso deal-room-content decide-request
4652
4670
 
4653
4671
  Confirm or decline a deal room request. `POST /v1/deal-rooms/{dealRoomId}/questions/{questionId}/decision`. Beta: needs `deal_room`.
@@ -4660,6 +4678,18 @@ Read a deal room's agreement. `GET /v1/deal-rooms/{dealRoomId}/agreement`. Beta:
4660
4678
 
4661
4679
  Flags: `--deal-room-id` (required), `--version-number`, `--each`, `--concurrency`.
4662
4680
 
4681
+ ### kenso deal-room-content get-agreement-pdf-link
4682
+
4683
+ Get a link to the agreement as a PDF. `GET /v1/deal-rooms/{dealRoomId}/agreement/pdf-link`. Beta: needs `deal_room`.
4684
+
4685
+ Flags: `--deal-room-id` (required), `--param-version`, `--each`, `--concurrency`.
4686
+
4687
+ ### kenso deal-room-content get-file-link
4688
+
4689
+ Get a short-lived link to open or download a file. `GET /v1/deal-rooms/{dealRoomId}/files/{fileId}/link`. Beta: needs `deal_room`.
4690
+
4691
+ Flags: `--deal-room-id` (required), `--file-id` (required), `--kind`, `--param-version`, `--each`, `--concurrency`.
4692
+
4663
4693
  ### kenso deal-room-content get-plan
4664
4694
 
4665
4695
  Return a deal room's plan. `GET /v1/deal-rooms/{dealRoomId}/plan`. Beta: needs `deal_room`.
@@ -4672,6 +4702,12 @@ Read the room's quote. `GET /v1/deal-rooms/{dealRoomId}/quote`. Beta: needs `dea
4672
4702
 
4673
4703
  Flags: `--deal-room-id` (required), `--each`, `--concurrency`.
4674
4704
 
4705
+ ### kenso deal-room-content list-files
4706
+
4707
+ List a deal room's files. `GET /v1/deal-rooms/{dealRoomId}/files`. Beta: needs `deal_room`.
4708
+
4709
+ Flags: `--deal-room-id` (required), `--include-removed`, `--search`, `--target-key`, `--target-kind`, `--no-include-removed`, `--each`, `--concurrency`.
4710
+
4675
4711
  ### kenso deal-room-content list-questions
4676
4712
 
4677
4713
  List a deal room's questions. `GET /v1/deal-rooms/{dealRoomId}/questions` (a list). Beta: needs `deal_room`.
@@ -7976,43 +8012,43 @@ Flags: `--meeting-id` (required), `--kind` (required), `--data`, `--each`, `--co
7976
8012
 
7977
8013
  ### kenso meeting-portal answer
7978
8014
 
7979
- Confirm a portal meeting held, or mark it a no-show. `POST /v1/meeting-portal/meetings/{meetingResultId}/answers`. Beta: needs `meeting_portal`.
8015
+ Confirm a portal meeting held, or mark it a no-show. `POST /v1/meeting-portal/meetings/{meetingResultId}/answers`. Beta: needs `meeting_attribution` and `meeting_portal` and `meeting_results`.
7980
8016
 
7981
8017
  Flags: `--meeting-result-id` (required), `--answer`, `--data`, `--each`, `--concurrency`.
7982
8018
 
7983
8019
  ### kenso meeting-portal dispute
7984
8020
 
7985
- Dispute a portal meeting. `POST /v1/meeting-portal/meetings/{meetingResultId}/disputes`. Beta: needs `meeting_portal`.
8021
+ Dispute a portal meeting. `POST /v1/meeting-portal/meetings/{meetingResultId}/disputes`. Beta: needs `meeting_attribution` and `meeting_portal` and `meeting_results`.
7986
8022
 
7987
8023
  Flags: `--meeting-result-id` (required), `--reason`, `--note`, `--data`, `--each`, `--concurrency`.
7988
8024
 
7989
8025
  ### kenso meeting-portal get
7990
8026
 
7991
- Get one portal meeting with its proof and history. `GET /v1/meeting-portal/meetings/{meetingResultId}`. Beta: needs `meeting_portal`.
8027
+ Get one portal meeting with its proof and history. `GET /v1/meeting-portal/meetings/{meetingResultId}`. Beta: needs `meeting_attribution` and `meeting_portal` and `meeting_results`.
7992
8028
 
7993
8029
  Flags: `--meeting-result-id` (required), `--each`, `--concurrency`.
7994
8030
 
7995
8031
  ### kenso meeting-portal get-settings
7996
8032
 
7997
- Get the client portal settings. `GET /v1/meeting-portal/settings`. Beta: needs `meeting_portal`.
8033
+ Get the client portal settings. `GET /v1/meeting-portal/settings`. Beta: needs `meeting_attribution` and `meeting_portal` and `meeting_results`.
7998
8034
 
7999
8035
  Flags: `--each`, `--concurrency`.
8000
8036
 
8001
8037
  ### kenso meeting-portal list
8002
8038
 
8003
- List the portal's meetings. `GET /v1/meeting-portal/meetings` (a list). Beta: needs `meeting_portal`.
8039
+ List the portal's meetings. `GET /v1/meeting-portal/meetings` (a list). Beta: needs `meeting_attribution` and `meeting_portal` and `meeting_results`.
8004
8040
 
8005
8041
  Flags: `--cursor`, `--limit`, `--month`, `--tab`, `--all`, `--each`, `--concurrency`.
8006
8042
 
8007
8043
  ### kenso meeting-portal summary
8008
8044
 
8009
- Summarize the portal's month. `GET /v1/meeting-portal/summary`. Beta: needs `meeting_portal`.
8045
+ Summarize the portal's month. `GET /v1/meeting-portal/summary`. Beta: needs `meeting_attribution` and `meeting_portal` and `meeting_results`.
8010
8046
 
8011
8047
  Flags: `--month`, `--each`, `--concurrency`.
8012
8048
 
8013
8049
  ### kenso meeting-portal update-settings
8014
8050
 
8015
- Update the client portal settings. `PATCH /v1/meeting-portal/settings`. Beta: needs `meeting_portal`.
8051
+ Update the client portal settings. `PATCH /v1/meeting-portal/settings`. Beta: needs `meeting_attribution` and `meeting_portal` and `meeting_results`.
8016
8052
 
8017
8053
  Flags: `--data`, `--each`, `--concurrency`.
8018
8054
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.199",
3
+ "version": "0.1.200",
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": "7c0cb69510af83aeb309b3dd6abc9c8a0d05fea3"
52
+ "gitHead": "b9fd8ac3203ab50a2ab37c09a5cac9236e063748"
53
53
  }