@elevasis/sdk 1.8.2 → 1.8.3
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/cli.cjs +1 -1
- package/dist/index.d.ts +88 -39
- package/dist/types/worker/adapters/lead.d.ts +1 -1
- package/dist/worker/index.js +2 -0
- package/package.json +2 -2
- package/reference/_navigation.md +7 -1
- package/reference/_reference-manifest.json +14 -0
- package/reference/claude-config/logs/scaffold-registry-reminder.log +3 -0
- package/reference/claude-config/rules/agent-start-here.md +254 -254
- package/reference/claude-config/rules/frontend.md +43 -43
- package/reference/claude-config/rules/operations.md +64 -64
- package/reference/claude-config/rules/organization-model.md +42 -43
- package/reference/claude-config/rules/organization-os.md +107 -107
- package/reference/claude-config/rules/shared-types.md +2 -2
- package/reference/claude-config/rules/task-tracking.md +1 -1
- package/reference/claude-config/rules/ui.md +202 -202
- package/reference/claude-config/rules/vibe.md +202 -202
- package/reference/claude-config/skills/configure/SKILL.md +98 -98
- package/reference/claude-config/skills/configure/operations/codify-level-a.md +100 -100
- package/reference/claude-config/skills/configure/operations/codify-level-b.md +158 -158
- package/reference/claude-config/skills/configure/operations/customers.md +150 -150
- package/reference/claude-config/skills/configure/operations/features.md +162 -162
- package/reference/claude-config/skills/configure/operations/goals.md +147 -147
- package/reference/claude-config/skills/configure/operations/identity.md +133 -133
- package/reference/claude-config/skills/configure/operations/labels.md +128 -128
- package/reference/claude-config/skills/configure/operations/offerings.md +159 -159
- package/reference/claude-config/skills/configure/operations/roles.md +153 -153
- package/reference/claude-config/skills/configure/operations/techStack.md +139 -139
- package/reference/claude-config/skills/explore/SKILL.md +78 -78
- package/reference/claude-config/skills/git-sync/SKILL.md +126 -0
- package/reference/claude-config/skills/save/SKILL.md +183 -183
- package/reference/claude-config/skills/setup/SKILL.md +275 -275
- package/reference/claude-config/skills/sync/SKILL.md +10 -44
- package/reference/claude-config/sync-notes/2026-04-22-git-sync-and-sync-notes.md +27 -0
- package/reference/claude-config/sync-notes/2026-04-22-lead-gen-deliverability-removal.md +30 -0
- package/reference/claude-config/sync-notes/README.md +43 -0
- package/reference/packages/core/src/README.md +39 -36
- package/reference/packages/core/src/business/README.md +52 -52
- package/reference/packages/core/src/organization-model/README.md +97 -97
- package/reference/packages/core/src/test-utils/README.md +42 -0
- package/reference/scaffold/core/organization-graph.mdx +272 -272
- package/reference/scaffold/core/organization-model.mdx +320 -320
- package/reference/scaffold/index.mdx +64 -64
- package/reference/scaffold/operations/propagation-pipeline.md +125 -104
- package/reference/scaffold/operations/scaffold-maintenance.md +122 -122
- package/reference/scaffold/operations/workflow-recipes.md +436 -436
- package/reference/scaffold/recipes/add-a-feature.md +158 -158
- package/reference/scaffold/recipes/add-a-resource.md +158 -158
- package/reference/scaffold/recipes/customize-organization-model.md +400 -400
- package/reference/scaffold/recipes/extend-a-base-entity.md +140 -140
- package/reference/scaffold/recipes/gate-by-feature-or-admin.md +158 -158
- package/reference/scaffold/recipes/index.md +32 -32
- package/reference/scaffold/reference/contracts.md +608 -607
- package/reference/scaffold/reference/feature-registry.md +2 -0
- package/reference/scaffold/reference/glossary.md +105 -105
- package/reference/scaffold/ui/composition-extensibility.mdx +1 -1
- package/reference/scaffold/ui/feature-flags-and-gating.md +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -40520,7 +40520,7 @@ function wrapAction(commandName, fn) {
|
|
|
40520
40520
|
// package.json
|
|
40521
40521
|
var package_default = {
|
|
40522
40522
|
name: "@elevasis/sdk",
|
|
40523
|
-
version: "1.8.
|
|
40523
|
+
version: "1.8.3",
|
|
40524
40524
|
description: "SDK for building Elevasis organization resources",
|
|
40525
40525
|
type: "module",
|
|
40526
40526
|
bin: {
|
package/dist/index.d.ts
CHANGED
|
@@ -4128,6 +4128,7 @@ interface UpdateListParams {
|
|
|
4128
4128
|
name?: string;
|
|
4129
4129
|
description?: string;
|
|
4130
4130
|
status?: string;
|
|
4131
|
+
batchIds?: string[];
|
|
4131
4132
|
}
|
|
4132
4133
|
interface CreateCompanyParams {
|
|
4133
4134
|
organizationId: string;
|
|
@@ -4632,6 +4633,10 @@ declare const DealSchemas: {
|
|
|
4632
4633
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
4633
4634
|
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
4634
4635
|
}, z.core.$strict>;
|
|
4636
|
+
DealLookupQuery: z.ZodObject<{
|
|
4637
|
+
search: z.ZodOptional<z.ZodString>;
|
|
4638
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
4639
|
+
}, z.core.$strict>;
|
|
4635
4640
|
ListDealTasksDueQuery: z.ZodObject<{
|
|
4636
4641
|
window: z.ZodOptional<z.ZodEnum<{
|
|
4637
4642
|
overdue: "overdue";
|
|
@@ -4666,50 +4671,86 @@ declare const DealSchemas: {
|
|
|
4666
4671
|
nurturing: "nurturing";
|
|
4667
4672
|
}>;
|
|
4668
4673
|
}, z.core.$strict>;
|
|
4669
|
-
DealListResponse: z.
|
|
4670
|
-
|
|
4671
|
-
organization_id: z.ZodString;
|
|
4672
|
-
contact_id: z.ZodNullable<z.ZodString>;
|
|
4673
|
-
contact_email: z.ZodString;
|
|
4674
|
-
cached_stage: z.ZodNullable<z.ZodString>;
|
|
4675
|
-
activity_log: z.ZodUnknown;
|
|
4676
|
-
discovery_data: z.ZodNullable<z.ZodUnknown>;
|
|
4677
|
-
discovery_submitted_at: z.ZodNullable<z.ZodString>;
|
|
4678
|
-
discovery_submitted_by: z.ZodNullable<z.ZodString>;
|
|
4679
|
-
proposal_data: z.ZodNullable<z.ZodUnknown>;
|
|
4680
|
-
proposal_status: z.ZodNullable<z.ZodString>;
|
|
4681
|
-
proposal_sent_at: z.ZodNullable<z.ZodString>;
|
|
4682
|
-
proposal_pdf_url: z.ZodNullable<z.ZodString>;
|
|
4683
|
-
signature_envelope_id: z.ZodNullable<z.ZodString>;
|
|
4684
|
-
source_list_id: z.ZodNullable<z.ZodString>;
|
|
4685
|
-
source_type: z.ZodNullable<z.ZodString>;
|
|
4686
|
-
initial_fee: z.ZodNullable<z.ZodNumber>;
|
|
4687
|
-
monthly_fee: z.ZodNullable<z.ZodNumber>;
|
|
4688
|
-
closed_lost_at: z.ZodNullable<z.ZodString>;
|
|
4689
|
-
closed_lost_reason: z.ZodNullable<z.ZodString>;
|
|
4690
|
-
created_at: z.ZodString;
|
|
4691
|
-
updated_at: z.ZodString;
|
|
4692
|
-
contact: z.ZodNullable<z.ZodObject<{
|
|
4674
|
+
DealListResponse: z.ZodObject<{
|
|
4675
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4693
4676
|
id: z.ZodString;
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4677
|
+
organization_id: z.ZodString;
|
|
4678
|
+
contact_id: z.ZodNullable<z.ZodString>;
|
|
4679
|
+
contact_email: z.ZodString;
|
|
4680
|
+
cached_stage: z.ZodNullable<z.ZodString>;
|
|
4681
|
+
activity_log: z.ZodUnknown;
|
|
4682
|
+
discovery_data: z.ZodNullable<z.ZodUnknown>;
|
|
4683
|
+
discovery_submitted_at: z.ZodNullable<z.ZodString>;
|
|
4684
|
+
discovery_submitted_by: z.ZodNullable<z.ZodString>;
|
|
4685
|
+
proposal_data: z.ZodNullable<z.ZodUnknown>;
|
|
4686
|
+
proposal_status: z.ZodNullable<z.ZodString>;
|
|
4687
|
+
proposal_sent_at: z.ZodNullable<z.ZodString>;
|
|
4688
|
+
proposal_pdf_url: z.ZodNullable<z.ZodString>;
|
|
4689
|
+
signature_envelope_id: z.ZodNullable<z.ZodString>;
|
|
4690
|
+
source_list_id: z.ZodNullable<z.ZodString>;
|
|
4691
|
+
source_type: z.ZodNullable<z.ZodString>;
|
|
4692
|
+
initial_fee: z.ZodNullable<z.ZodNumber>;
|
|
4693
|
+
monthly_fee: z.ZodNullable<z.ZodNumber>;
|
|
4694
|
+
closed_lost_at: z.ZodNullable<z.ZodString>;
|
|
4695
|
+
closed_lost_reason: z.ZodNullable<z.ZodString>;
|
|
4696
|
+
created_at: z.ZodString;
|
|
4697
|
+
updated_at: z.ZodString;
|
|
4698
|
+
contact: z.ZodNullable<z.ZodObject<{
|
|
4703
4699
|
id: z.ZodString;
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4700
|
+
first_name: z.ZodNullable<z.ZodString>;
|
|
4701
|
+
last_name: z.ZodNullable<z.ZodString>;
|
|
4702
|
+
email: z.ZodString;
|
|
4703
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4704
|
+
headline: z.ZodNullable<z.ZodString>;
|
|
4707
4705
|
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4706
|
+
pipeline_status: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4707
|
+
enrichment_data: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4708
|
+
company: z.ZodNullable<z.ZodObject<{
|
|
4709
|
+
id: z.ZodString;
|
|
4710
|
+
name: z.ZodString;
|
|
4711
|
+
domain: z.ZodNullable<z.ZodString>;
|
|
4712
|
+
website: z.ZodNullable<z.ZodString>;
|
|
4713
|
+
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
4714
|
+
segment: z.ZodNullable<z.ZodString>;
|
|
4715
|
+
category: z.ZodNullable<z.ZodString>;
|
|
4716
|
+
num_employees: z.ZodNullable<z.ZodNumber>;
|
|
4717
|
+
}, z.core.$strip>>;
|
|
4711
4718
|
}, z.core.$strip>>;
|
|
4712
4719
|
}, z.core.$strip>>;
|
|
4720
|
+
total: z.ZodNumber;
|
|
4721
|
+
limit: z.ZodNumber;
|
|
4722
|
+
offset: z.ZodNumber;
|
|
4723
|
+
}, z.core.$strip>;
|
|
4724
|
+
DealSummaryResponse: z.ZodObject<{
|
|
4725
|
+
totalDeals: z.ZodNumber;
|
|
4726
|
+
openDeals: z.ZodNumber;
|
|
4727
|
+
wonDeals: z.ZodNumber;
|
|
4728
|
+
lostDeals: z.ZodNumber;
|
|
4729
|
+
winRate: z.ZodNumber;
|
|
4730
|
+
avgDealSize: z.ZodNumber;
|
|
4731
|
+
totalPipelineValue: z.ZodNumber;
|
|
4732
|
+
stageSummary: z.ZodArray<z.ZodObject<{
|
|
4733
|
+
stage: z.ZodString;
|
|
4734
|
+
count: z.ZodNumber;
|
|
4735
|
+
oldestUpdatedAt: z.ZodNullable<z.ZodString>;
|
|
4736
|
+
newestUpdatedAt: z.ZodNullable<z.ZodString>;
|
|
4737
|
+
}, z.core.$strip>>;
|
|
4738
|
+
staleDeals: z.ZodArray<z.ZodObject<{
|
|
4739
|
+
id: z.ZodString;
|
|
4740
|
+
contactEmail: z.ZodString;
|
|
4741
|
+
cachedStage: z.ZodString;
|
|
4742
|
+
updatedAt: z.ZodString;
|
|
4743
|
+
daysStale: z.ZodNumber;
|
|
4744
|
+
}, z.core.$strip>>;
|
|
4745
|
+
}, z.core.$strip>;
|
|
4746
|
+
DealLookupResponse: z.ZodArray<z.ZodObject<{
|
|
4747
|
+
id: z.ZodString;
|
|
4748
|
+
contactEmail: z.ZodString;
|
|
4749
|
+
cachedStage: z.ZodNullable<z.ZodString>;
|
|
4750
|
+
updatedAt: z.ZodString;
|
|
4751
|
+
contactName: z.ZodNullable<z.ZodString>;
|
|
4752
|
+
companyName: z.ZodNullable<z.ZodString>;
|
|
4753
|
+
displayLabel: z.ZodString;
|
|
4713
4754
|
}, z.core.$strip>>;
|
|
4714
4755
|
DealDetailResponse: z.ZodObject<{
|
|
4715
4756
|
id: z.ZodString;
|
|
@@ -7370,6 +7411,14 @@ type LeadToolMap = {
|
|
|
7370
7411
|
params: Omit<AddContactsToListParams, 'organizationId'>;
|
|
7371
7412
|
result: AddContactsToListResult;
|
|
7372
7413
|
};
|
|
7414
|
+
updateCompanyStage: {
|
|
7415
|
+
params: Omit<UpdateCompanyStageParams, 'organizationId'>;
|
|
7416
|
+
result: void;
|
|
7417
|
+
};
|
|
7418
|
+
updateContactStage: {
|
|
7419
|
+
params: Omit<UpdateContactStageParams, 'organizationId'>;
|
|
7420
|
+
result: void;
|
|
7421
|
+
};
|
|
7373
7422
|
createCompany: {
|
|
7374
7423
|
params: Omit<CreateCompanyParams, 'organizationId'>;
|
|
7375
7424
|
result: AcqCompany;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Typed wrapper over platform.call() for acquisition lead management.
|
|
5
5
|
* Singleton export -- no credential needed (platform tool).
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* 51 methods covering lists, companies, contacts, deals, list-stage updates, deal-sync, deal notes, deal tasks, enrichment, and social monitoring operations.
|
|
8
8
|
* organizationId is injected server-side by the dispatcher -- never sent from the SDK.
|
|
9
9
|
*/
|
|
10
10
|
import { type TypedAdapter } from './create-adapter.js';
|
package/dist/worker/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elevasis/sdk",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.3",
|
|
4
4
|
"description": "SDK for building Elevasis organization resources",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"tsup": "^8.0.0",
|
|
45
45
|
"typescript": "5.9.2",
|
|
46
46
|
"zod": "^4.1.0",
|
|
47
|
-
"@repo/core": "0.
|
|
47
|
+
"@repo/core": "0.8.3",
|
|
48
48
|
"@repo/typescript-config": "0.0.0"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
package/reference/_navigation.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Auto-generated from the package reference manifests.
|
|
4
4
|
|
|
5
|
-
Package entries indexed:
|
|
5
|
+
Package entries indexed: 43.
|
|
6
6
|
|
|
7
7
|
## @elevasis/core / Core
|
|
8
8
|
|
|
@@ -22,6 +22,12 @@ Package entries indexed: 42.
|
|
|
22
22
|
| --- | --- | --- | --- |
|
|
23
23
|
| Organization Model | `packages/core/src/organization-model/README.md` | Published organization-model schema, defaults, resolver, and types. | (not specified) |
|
|
24
24
|
|
|
25
|
+
## @elevasis/core / Testing
|
|
26
|
+
|
|
27
|
+
| Resource | Location | Description | When to Load |
|
|
28
|
+
| --- | --- | --- | --- |
|
|
29
|
+
| Test Utilities | `packages/core/src/test-utils/README.md` | Published test fixtures, mocks, and shared helpers for downstream automated tests. | (not specified) |
|
|
30
|
+
|
|
25
31
|
## @elevasis/sdk / Getting Started
|
|
26
32
|
|
|
27
33
|
| Resource | Location | Description | When to Load |
|
|
@@ -43,6 +43,20 @@
|
|
|
43
43
|
"referencePath": "packages/core/src/organization-model/README.md",
|
|
44
44
|
"publishedExportPath": "./dist/organization-model/index.js"
|
|
45
45
|
},
|
|
46
|
+
{
|
|
47
|
+
"packageName": "@elevasis/core",
|
|
48
|
+
"packageDir": "packages/core",
|
|
49
|
+
"subpath": "./test-utils",
|
|
50
|
+
"kind": "subpath",
|
|
51
|
+
"title": "Test Utilities",
|
|
52
|
+
"description": "Published test fixtures, mocks, and shared helpers for downstream automated tests.",
|
|
53
|
+
"group": "Testing",
|
|
54
|
+
"order": 1,
|
|
55
|
+
"sourcePath": "packages/core/src/test-utils/index.ts",
|
|
56
|
+
"docPath": "packages/core/src/test-utils/README.md",
|
|
57
|
+
"referencePath": "packages/core/src/test-utils/README.md",
|
|
58
|
+
"publishedExportPath": "./dist/test-utils/index.js"
|
|
59
|
+
},
|
|
46
60
|
{
|
|
47
61
|
"packageName": "@elevasis/sdk",
|
|
48
62
|
"packageDir": "packages/sdk",
|
|
@@ -33,3 +33,6 @@
|
|
|
33
33
|
[2026-04-21T08:14:55.475Z] SKIP — registry not found (pre-SDK-delivery)
|
|
34
34
|
[2026-04-21T08:17:01.426Z] SKIP — registry not found (pre-SDK-delivery)
|
|
35
35
|
[2026-04-21T08:36:02.820Z] SKIP — registry not found (pre-SDK-delivery)
|
|
36
|
+
[2026-04-21T22:16:29.986Z] SKIP — registry not found (pre-SDK-delivery)
|
|
37
|
+
[2026-04-21T22:16:55.680Z] SKIP — registry not found (pre-SDK-delivery)
|
|
38
|
+
[2026-04-21T22:17:54.009Z] SKIP — registry not found (pre-SDK-delivery)
|