@dench.com/cli 3.12.31-staging.1469 → 3.12.33-staging.1478
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/app-sdk.d.ts +412 -3
- package/crm-columns.ts +982 -0
- package/crm.ts +40 -5
- package/dench.ts +15 -9
- package/leads.ts +204 -40
- package/lib/api-schemas.ts +12 -1
- package/lib/app-sdk-catalog.generated.ts +18 -1
- package/lib/app-sdk-surface.ts +3 -0
- package/lib/command-registry.ts +655 -2
- package/lib/references.generated.json +8 -8
- package/package.json +2 -1
|
@@ -141,7 +141,8 @@ export const APP_SDK_OPERATIONS: readonly AppSdkOperationInfo[] = [
|
|
|
141
141
|
{"id":"lists.list","group":"lists","summary":"List saved searches (find-result lists) in the workspace, newest first.","cli":"dench lists","method":"GET","path":"/lists","permission":"lists:read","pathParams":[]},
|
|
142
142
|
{"id":"lists.rows","group":"lists","summary":"Read saved rows with current enrichment results and original indices; cursor-paged, without repeating a search.","cli":"dench lists rows","method":"GET","path":"/lists/{artifactId}/rows","permission":"lists:read","pathParams":["artifactId"]},
|
|
143
143
|
{"id":"lists.enrich","group":"lists","summary":"Buy contact details for 1–100 saved profiles and save them to the list. Skips fields already found, looked up empty, or in flight. Requires a signed-in member or their personal agent.","cli":"dench lists enrich","method":"POST","path":"/lists/{artifactId}/enrich","permission":"lists:write","pathParams":["artifactId"]},
|
|
144
|
-
{"id":"lists.import","group":"lists","summary":"Explicitly import
|
|
144
|
+
{"id":"lists.import","group":"lists","summary":"Explicitly import saved find rows into lead, company, job_posting, or a list slug (e.g. list_q4_fintech). Reuses existing records; never sends outreach or triggers conversion.","cli":"dench artifacts import","method":"POST","path":"/lists/{artifactId}/import","permission":"lists:write","pathParams":["artifactId"]},
|
|
145
|
+
{"id":"lists.resolveCompanies","group":"lists","summary":"Resolve a saved Find company list, Company saved view, or qualified list (optionally fitOnly) into canonical company domains for people/job searches.","cli":"dench leads find --company-list","method":"POST","path":"/lists/resolve-companies","permission":"lists:read","pathParams":[]},
|
|
145
146
|
{"id":"lists.get","group":"lists","summary":"Get one saved search / list by artifact id.","cli":"dench lists show","method":"GET","path":"/lists/{artifactId}","permission":"lists:read","pathParams":["artifactId"]},
|
|
146
147
|
{"id":"lists.save","group":"lists","summary":"Save find results as a named list (rows + filters become a workspace artifact).","cli":"dench lists save","method":"POST","path":"/lists","permission":"lists:write","pathParams":[]},
|
|
147
148
|
{"id":"lists.update","group":"lists","summary":"Update a saved list in place (title, filters, and/or replacement rows).","cli":"dench lists update","method":"PATCH","path":"/lists/{artifactId}","permission":"lists:write","pathParams":["artifactId"]},
|
|
@@ -305,6 +306,22 @@ export const APP_SDK_OPERATIONS: readonly AppSdkOperationInfo[] = [
|
|
|
305
306
|
{"id":"crm.analytics.collapse","group":"crm","summary":"Collapse the analytics strip above the object's table (team-shared, like saved views).","cli":"dench crm analytics collapse","method":"POST","path":"/crm/objects/{objectName}/analytics/collapse","permission":"crm:write","pathParams":["objectName"]},
|
|
306
307
|
{"id":"crm.analytics.expand","group":"crm","summary":"Expand the analytics strip above the object's table.","cli":"dench crm analytics expand","method":"POST","path":"/crm/objects/{objectName}/analytics/expand","permission":"crm:write","pathParams":["objectName"]},
|
|
307
308
|
{"id":"crm.analytics.scope","group":"crm","summary":"Give a saved view its own dashboard (mode \"own\": starts as a copy of the object's panels) or hand it back to the object's shared one (mode \"shared\").","cli":"dench crm analytics scope","method":"POST","path":"/crm/objects/{objectName}/views/{viewName}/analytics/scope","permission":"crm:write","pathParams":["objectName","viewName"]},
|
|
309
|
+
{"id":"crm.columns.listStagingLists","group":"crm","summary":"List active workspace staging lists with row counts and management permissions.","cli":"dench crm columns lists","method":"GET","path":"/crm/columns/lists","permission":"crm:read","pathParams":[]},
|
|
310
|
+
{"id":"crm.columns.createStagingList","group":"crm","summary":"Create a staging list CRM object pre-seeded with canonical company or person columns and Notes.","cli":"dench crm columns create-list","method":"POST","path":"/crm/columns/lists","permission":"crm:write","pathParams":[]},
|
|
311
|
+
{"id":"crm.columns.deleteStagingListCascade","group":"crm","summary":"Archive a staging list immediately, stop active AI column runs, and schedule bounded cascade deletion (creator or admin).","cli":"dench crm columns delete-list","method":"DELETE","path":"/crm/columns/lists/{objectName}","permission":"crm:write","pathParams":["objectName"]},
|
|
312
|
+
{"id":"crm.columns.createAi","group":"crm","summary":"Create a typed AI Research column (fit_check, text, enum, number, or url) on a staging list or CRM object without autorunning.","cli":"dench crm columns create-ai","method":"POST","path":"/crm/objects/{objectName}/columns/ai","permission":"crm:write","pathParams":["objectName"]},
|
|
313
|
+
{"id":"crm.columns.updateAi","group":"crm","summary":"Update an AI Research column's prompt, enum options, description, or required input fields without autorunning.","cli":"dench crm columns update-ai","method":"PATCH","path":"/crm/objects/{objectName}/columns/ai/{fieldName}","permission":"crm:write","pathParams":["objectName","fieldName"]},
|
|
314
|
+
{"id":"crm.columns.deleteAi","group":"crm","summary":"Delete an AI Research column, stop any active run, and schedule bounded cell provenance cleanup.","cli":"dench crm columns delete-ai","method":"DELETE","path":"/crm/objects/{objectName}/columns/ai/{fieldName}","permission":"crm:write","pathParams":["objectName","fieldName"]},
|
|
315
|
+
{"id":"crm.columns.estimateRun","group":"crm","summary":"Estimate eligible rows and exact AI credit cost (2 AI credits/row) before starting an AI Research column run.","cli":"dench crm columns estimate-run","method":"POST","path":"/crm/objects/{objectName}/columns/{fieldName}/estimate","permission":"crm:read","pathParams":["objectName","fieldName"]},
|
|
316
|
+
{"id":"crm.columns.startRun","group":"crm","summary":"Start a durable AI Research column run with explicit row scope and optional hard AI credit ceiling.","cli":"dench crm columns start-run","method":"POST","path":"/crm/objects/{objectName}/columns/{fieldName}/runs","permission":"crm:write","pathParams":["objectName","fieldName"]},
|
|
317
|
+
{"id":"crm.columns.pauseRun","group":"crm","summary":"Pause a pending or running AI Research column run.","cli":"dench crm columns pause-run","method":"POST","path":"/crm/columns/runs/{runId}/pause","permission":"crm:write","pathParams":["runId"]},
|
|
318
|
+
{"id":"crm.columns.resumeRun","group":"crm","summary":"Resume a paused or capped AI Research column run, optionally raising or clearing creditStopCeiling.","cli":"dench crm columns resume-run","method":"POST","path":"/crm/columns/runs/{runId}/resume","permission":"crm:write","pathParams":["runId"]},
|
|
319
|
+
{"id":"crm.columns.stopRun","group":"crm","summary":"Permanently stop an active, paused, or capped AI Research column run.","cli":"dench crm columns stop-run","method":"POST","path":"/crm/columns/runs/{runId}/stop","permission":"crm:write","pathParams":["runId"]},
|
|
320
|
+
{"id":"crm.columns.getRunStatus","group":"crm","summary":"Read active AI Research column runs on an object and optionally inspect a specific column or run ID.","cli":"dench crm columns run-status","method":"GET","path":"/crm/objects/{objectName}/columns/runs","permission":"crm:read","pathParams":["objectName"]},
|
|
321
|
+
{"id":"crm.columns.overrideCell","group":"crm","summary":"Manually override (or clear with null) an AI Research cell, locking it as user_override and clearing stale citations.","cli":"dench crm columns override-cell","method":"PUT","path":"/crm/objects/{objectName}/entries/{entryId}/columns/{fieldName}/override","permission":"crm:write","pathParams":["objectName","entryId","fieldName"]},
|
|
322
|
+
{"id":"crm.columns.rerunSingleCell","group":"crm","summary":"Re-run a single AI Research cell live (2 AI credits; 0 DB writes on error; set unlockOverride to replace a manual override).","cli":"dench crm columns rerun-cell","method":"POST","path":"/crm/objects/{objectName}/entries/{entryId}/columns/{fieldName}/rerun","permission":"crm:write","pathParams":["objectName","entryId","fieldName"]},
|
|
323
|
+
{"id":"crm.columns.getCellProvenanceBatch","group":"crm","summary":"Read page-scoped AI Research cell citations, statuses, and override state for up to 100 entry IDs.","cli":"dench crm columns provenance","method":"POST","path":"/crm/objects/{objectName}/columns/provenance","permission":"crm:read","pathParams":["objectName"]},
|
|
324
|
+
{"id":"crm.columns.getStagingTriageSummary","group":"crm","summary":"Read O(1) Fit Check triage counts (Fits, Does not fit, Unknown, Not run) and domain-ready Fit count for a list.","cli":"dench crm columns summary","method":"GET","path":"/crm/objects/{objectName}/columns/summary","permission":"crm:read","pathParams":["objectName"]},
|
|
308
325
|
{"id":"crm.enrich.cell","group":"crm","summary":"Request enrichment for one CRM cell.","cli":"dench crm enrich cell","method":"POST","path":"/crm/enrich/cell","permission":"crm:write","pathParams":[]},
|
|
309
326
|
{"id":"crm.enrich.object","group":"crm","summary":"Request enrichment for a CRM object.","cli":"dench crm enrich object","method":"POST","path":"/crm/enrich/object","permission":"crm:write","pathParams":[]},
|
|
310
327
|
{"id":"crm.people.search","group":"crm","summary":"Search for people through the enrichment gateway. `companyDomains` takes up to 1000 domains (e.g. a resolved company list; `dench leads find --company-list <id|view>` resolves one for you) — the gateway fans large lists out as sequential vendor-safe chunks behind one `nextPageToken` stream.","cli":"dench crm people search","method":"POST","path":"/enrichment/people/search","permission":"crm:read","pathParams":[]},
|
package/lib/app-sdk-surface.ts
CHANGED
|
@@ -1757,6 +1757,9 @@ export const READ_OPERATION_OVERRIDES = new Set<string>([
|
|
|
1757
1757
|
"crm.sql",
|
|
1758
1758
|
"crm.aggregate",
|
|
1759
1759
|
"crm.analytics.compute",
|
|
1760
|
+
"crm.columns.estimateRun",
|
|
1761
|
+
"crm.columns.getCellProvenanceBatch",
|
|
1762
|
+
"lists.resolveCompanies",
|
|
1760
1763
|
"crm.people.search",
|
|
1761
1764
|
"crm.companies.search",
|
|
1762
1765
|
"enrichment.jobs.search",
|