@elevasis/sdk 1.13.1 → 1.14.0

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.
@@ -6758,11 +6758,9 @@ createAdapter("acqDb", [
6758
6758
  "clearDealFields",
6759
6759
  "deleteDeal",
6760
6760
  "recordDealActivity",
6761
- "recordTouchpoint",
6762
6761
  "setDealStateKey",
6763
6762
  "transitionDeal",
6764
6763
  "loadDeal",
6765
- "listDealTouchpoints",
6766
6764
  // Deal note operations
6767
6765
  "createDealNote",
6768
6766
  "listDealNotes",
@@ -24276,7 +24274,11 @@ var mockAcqDb = (overrides) => createMockAdapter(
24276
24274
  "listDealTasksDue",
24277
24275
  "completeDealTask",
24278
24276
  "mergeEnrichmentData",
24279
- "upsertSocialPosts"
24277
+ "upsertSocialPosts",
24278
+ // Stateful trait methods added with the lead-gen substrate (touchpoint methods removed)
24279
+ "setDealStateKey",
24280
+ "transitionDeal",
24281
+ "loadDeal"
24280
24282
  ],
24281
24283
  overrides
24282
24284
  );
@@ -5004,11 +5004,9 @@ var acqDb = createAdapter("acqDb", [
5004
5004
  "clearDealFields",
5005
5005
  "deleteDeal",
5006
5006
  "recordDealActivity",
5007
- "recordTouchpoint",
5008
5007
  "setDealStateKey",
5009
5008
  "transitionDeal",
5010
5009
  "loadDeal",
5011
- "listDealTouchpoints",
5012
5010
  // Deal note operations
5013
5011
  "createDealNote",
5014
5012
  "listDealNotes",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/sdk",
3
- "version": "1.13.1",
3
+ "version": "1.14.0",
4
4
  "description": "SDK for building Elevasis organization resources",
5
5
  "type": "module",
6
6
  "bin": {
@@ -50,7 +50,7 @@
50
50
  "tsup": "^8.0.0",
51
51
  "typescript": "5.9.2",
52
52
  "zod": "^4.1.0",
53
- "@repo/core": "0.13.0",
53
+ "@repo/core": "0.14.0",
54
54
  "@repo/typescript-config": "0.0.0"
55
55
  },
56
56
  "scripts": {
@@ -119,7 +119,7 @@ The API URL is centralized in `ui/src/lib/constants/api.ts`. In the current temp
119
119
  Current top-level app sections:
120
120
 
121
121
  - `/` -- host-local dashboard entrypoint with quick links derived from `organizationModel.navigation.quickAccessSurfaceIds`
122
- - `/lead-gen/*` -- lead generation pages (`lists`, `companies`, `contacts`)
122
+ - `/lead-gen/*` -- lead generation pages (`lists`, `companies`, `contacts`)
123
123
  - `/crm/*` -- CRM overview, pipeline, and deals
124
124
  - `/projects/*` -- delivery feature pages (projects, milestones, tasks, notes)
125
125
  - `/operations/*` -- operations overview, resources, command queue, command view, sessions, task scheduler
@@ -193,12 +193,12 @@ Two customization layers are available for every shared feature sidebar:
193
193
 
194
194
  `manifest.sidebar` accepts any component, so arbitrary customization is always available. The `items` prop is an abstraction barrier for the common case, not a limit.
195
195
 
196
- See `node_modules/@elevasis/sdk/reference/scaffold/ui/customization.md` for the decision tree, page-wrapping pattern, and delivery's three-section variant. For broader CRM extension work across pages, hooks, actions, workflows, and org-model boundaries, start with `node_modules/@elevasis/sdk/reference/scaffold/recipes/extend-crm.md`. For broader lead-gen extension work across pages, hooks, list/member state, artifacts, touchpoints, workflows, and org-model boundaries, start with `node_modules/@elevasis/sdk/reference/scaffold/recipes/extend-lead-gen.md`. See `node_modules/@elevasis/sdk/reference/scaffold/reference/contracts.md` for `NavItem`, `FeatureModule`, CRM platform primitives, Lead Gen platform primitives, and related TypeScript shapes.
197
-
198
- For CRM deal action buttons, read `node_modules/@elevasis/sdk/reference/scaffold/recipes/customize-crm-actions.md` before changing `crmActions`, `DealDetailPage`, `DealDrawer`, or custom workflow buttons. Start with the shared `crmActions` provider path for action visibility, labels, ordering, and render-time configuration. In v1, platform-known/default action endpoint behavior is server-constrained; use project-owned UI that calls the workflow directly when a custom key sits outside that server-dispatched set.
199
-
200
- ## Notes
201
-
202
- - `ui/src/routeTree.gen.ts` is generated by TanStack Router tooling. Do not hand-edit it.
196
+ See `node_modules/@elevasis/sdk/reference/scaffold/ui/customization.md` for the decision tree, page-wrapping pattern, and delivery's three-section variant. For broader CRM extension work across pages, hooks, actions, workflows, and org-model boundaries, start with `node_modules/@elevasis/sdk/reference/scaffold/recipes/extend-crm.md`. For broader lead-gen extension work across pages, hooks, list/member state, artifacts, touchpoints, workflows, and org-model boundaries, start with `node_modules/@elevasis/sdk/reference/scaffold/recipes/extend-lead-gen.md`. See `node_modules/@elevasis/sdk/reference/scaffold/reference/contracts.md` for `NavItem`, `FeatureModule`, CRM platform primitives, Lead Gen platform primitives, and related TypeScript shapes.
197
+
198
+ For CRM deal action buttons, read `node_modules/@elevasis/sdk/reference/scaffold/recipes/customize-crm-actions.md` before changing `crmActions`, `DealDetailPage`, `DealDrawer`, or custom workflow buttons. Start with the shared `crmActions` provider path for action visibility, labels, ordering, and render-time configuration. In v1, platform-known/default action endpoint behavior is server-constrained; use project-owned UI that calls the workflow directly when a custom key sits outside that server-dispatched set.
199
+
200
+ ## Notes
201
+
202
+ - `ui/src/routeTree.gen.ts` is generated by TanStack Router tooling. Do not hand-edit it.
203
203
  - The template ships a broad route surface so downstream projects can trim or reshape features without having to re-derive the shared shell contract from scratch.
204
204
  - For package-export discovery, glob `node_modules/@elevasis/sdk/reference/` or `node_modules/@repo/ui/dist/` for the current SDK/UI package surface.
@@ -119,17 +119,17 @@ This routing applies to both codify levels (decision #21 -- Codify ceremony dele
119
119
  - **Level A** (config-only edits to `organization-model.ts`, feature toggles, label renames): delegate to `/configure <domain>` immediately.
120
120
  - **Level B** (new Zod extension files in `foundations/config/extensions/`): also delegate to `/configure <domain>`; `/configure` gates Level B to explicit user asks before scaffolding a new TS file.
121
121
 
122
- Vibe detects the intent and delegates in both cases. It does not run either pipeline itself.
123
-
124
- For "build/extend the CRM" asks, classify the structural org-model portion as Codify, then read `node_modules/@elevasis/sdk/reference/scaffold/recipes/extend-crm.md` before editing. CRM work often spans org-model sales semantics, shared UI routes, hooks, workflow adapters, and deal actions; do not reduce it to only `sales` config or only UI.
125
-
126
- For "build/extend lead gen" / "campaign creator" / "outbound list state" asks, classify the structural org-model portion as Codify, then read `node_modules/@elevasis/sdk/reference/scaffold/recipes/extend-lead-gen.md` before editing. Lead-gen work often spans org-model prospecting semantics, shared UI routes, hooks, list/member state, artifacts, touchpoints, and workflow adapters; do not reduce it to only `prospecting` config or only UI.
127
-
128
- For "add a custom CRM action" / "Send Quote button" asks, classify as Codify, then read `node_modules/@elevasis/sdk/reference/scaffold/recipes/customize-crm-actions.md` before editing. Start with the shared `crmActions` provider path for action visibility, labels, ordering, and render-time configuration. In v1, platform-known/default action endpoint behavior is server-constrained; use project-owned UI that calls the workflow directly when a custom key sits outside that server-dispatched set.
129
-
130
- Heuristics for when to propose codification (passed to `/configure` as context):
131
-
132
- - First mention of a new attribute: note to `resume_context`, do not propose yet
122
+ Vibe detects the intent and delegates in both cases. It does not run either pipeline itself.
123
+
124
+ For "build/extend the CRM" asks, classify the structural org-model portion as Codify, then read `node_modules/@elevasis/sdk/reference/scaffold/recipes/extend-crm.md` before editing. CRM work often spans org-model sales semantics, shared UI routes, hooks, workflow adapters, and deal actions; do not reduce it to only `sales` config or only UI.
125
+
126
+ For "build/extend lead gen" / "campaign creator" / "outbound list state" asks, classify the structural org-model portion as Codify, then read `node_modules/@elevasis/sdk/reference/scaffold/recipes/extend-lead-gen.md` before editing. Lead-gen work often spans org-model prospecting semantics, shared UI routes, hooks, list/member state, artifacts, touchpoints, and workflow adapters; do not reduce it to only `prospecting` config or only UI.
127
+
128
+ For "add a custom CRM action" / "Send Quote button" asks, classify as Codify, then read `node_modules/@elevasis/sdk/reference/scaffold/recipes/customize-crm-actions.md` before editing. Start with the shared `crmActions` provider path for action visibility, labels, ordering, and render-time configuration. In v1, platform-known/default action endpoint behavior is server-constrained; use project-owned UI that calls the workflow directly when a custom key sits outside that server-dispatched set.
129
+
130
+ Heuristics for when to propose codification (passed to `/configure` as context):
131
+
132
+ - First mention of a new attribute: note to `resume_context`, do not propose yet
133
133
  - Second mention OR explicit declaration ("we're ecom"): propose extension
134
134
  - Explicit ask ("track ecom deals separately"): propose immediately with fuller scope
135
135
  - Attribute appearing across 3+ tasks: propose adding field to existing extension
@@ -21,14 +21,14 @@ This scaffold reference contains universal documentation that applies to all Ele
21
21
  ### Pathway Recipes
22
22
 
23
23
  - [Add a Feature](./recipes/add-a-feature.md) -- end-to-end from org model key through manifest, routes, gating
24
- - [Add a Resource](./recipes/add-a-resource.md) -- author and deploy a workflow or agent
25
- - [Extend a Base Entity](./recipes/extend-a-base-entity.md) -- add project-specific metadata to canonical entity shapes via the TMeta slot
26
- - [Gate by Feature or Admin](./recipes/gate-by-feature-or-admin.md) -- decision table for access control patterns
27
- - [Build and Extend CRM](./recipes/extend-crm.md) -- map CRM UI pages, hooks, actions, workflow adapters, contracts, and org-model boundaries
28
- - [Build and Extend Lead Gen](./recipes/extend-lead-gen.md) -- map lead-gen UI pages, hooks, list/member state, artifacts, touchpoints, workflow adapters, contracts, and org-model boundaries
29
- - [Customize CRM Actions](./recipes/customize-crm-actions.md) -- add, hide, or replace CRM deal actions, use the shared `crmActions` provider path, and understand workflow dispatch constraints
30
-
31
- ### UI Patterns
24
+ - [Add a Resource](./recipes/add-a-resource.md) -- author and deploy a workflow or agent
25
+ - [Extend a Base Entity](./recipes/extend-a-base-entity.md) -- add project-specific metadata to canonical entity shapes via the TMeta slot
26
+ - [Gate by Feature or Admin](./recipes/gate-by-feature-or-admin.md) -- decision table for access control patterns
27
+ - [Build and Extend CRM](./recipes/extend-crm.md) -- map CRM UI pages, hooks, actions, workflow adapters, contracts, and org-model boundaries
28
+ - [Build and Extend Lead Gen](./recipes/extend-lead-gen.md) -- map lead-gen UI pages, hooks, list/member state, artifacts, touchpoints, workflow adapters, contracts, and org-model boundaries
29
+ - [Customize CRM Actions](./recipes/customize-crm-actions.md) -- add, hide, or replace CRM deal actions, use the shared `crmActions` provider path, and understand workflow dispatch constraints
30
+
31
+ ### UI Patterns
32
32
 
33
33
  - [UI Recipes](./ui/recipes.md) -- copy-paste recipes for pages, nav items, components, theme tokens
34
34
  - [Feature Flags & Gating](./ui/feature-flags-and-gating.md) -- three-concept model for feature access