@elevasis/sdk 1.25.0 → 1.26.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.
- package/dist/cli.cjs +18 -116
- package/dist/index.d.ts +165 -48
- package/dist/index.js +4 -435
- package/dist/node/index.d.ts +36 -36
- package/dist/test-utils/index.d.ts +99 -38
- package/dist/test-utils/index.js +27 -355
- package/dist/types/worker/adapters/clickup.d.ts +22 -0
- package/dist/types/worker/adapters/index.d.ts +1 -0
- package/dist/worker/index.js +32 -354
- package/package.json +2 -2
- package/reference/_navigation.md +11 -1
- package/reference/_reference-manifest.json +70 -0
- package/reference/claude-config/rules/organization-model.md +12 -1
- package/reference/claude-config/rules/organization-os.md +12 -1
- package/reference/claude-config/skills/om/SKILL.md +13 -5
- package/reference/claude-config/skills/om/operations/codify-level-a.md +109 -100
- package/reference/claude-config/skills/om/operations/customers.md +10 -6
- package/reference/claude-config/skills/om/operations/features.md +7 -3
- package/reference/claude-config/skills/om/operations/goals.md +10 -6
- package/reference/claude-config/skills/om/operations/identity.md +8 -5
- package/reference/claude-config/skills/om/operations/labels.md +17 -1
- package/reference/claude-config/skills/om/operations/offerings.md +11 -7
- package/reference/claude-config/skills/om/operations/roles.md +11 -7
- package/reference/claude-config/skills/om/operations/techStack.md +10 -2
- package/reference/claude-config/sync-notes/2026-05-20-om-define-helpers.md +32 -0
- package/reference/claude-config/sync-notes/2026-05-22-access-model-and-right-panel.md +43 -0
- package/reference/claude-config/sync-notes/2026-05-22-lead-gen-tenant-config.md +40 -0
- package/reference/claude-config/sync-notes/2026-05-22-org-model-multi-file-split.md +61 -0
- package/reference/cli-management.mdx +539 -0
- package/reference/cli.mdx +4 -532
- package/reference/concepts.mdx +134 -146
- package/reference/deployment/api.mdx +296 -297
- package/reference/deployment/command-center.mdx +208 -209
- package/reference/deployment/index.mdx +194 -195
- package/reference/deployment/provided-features.mdx +110 -107
- package/reference/deployment/ui-execution.mdx +249 -250
- package/reference/framework/index.mdx +111 -195
- package/reference/framework/resource-documentation.mdx +90 -0
- package/reference/framework/tutorial-system.mdx +135 -135
- package/reference/getting-started.mdx +141 -142
- package/reference/index.mdx +95 -106
- package/reference/packages/ui/src/auth/README.md +6 -6
- package/reference/platform-tools/adapters-integration.mdx +300 -301
- package/reference/platform-tools/adapters-platform.mdx +552 -553
- package/reference/platform-tools/index.mdx +216 -217
- package/reference/platform-tools/type-safety.mdx +82 -82
- package/reference/resources/index.mdx +348 -349
- package/reference/resources/patterns.mdx +446 -449
- package/reference/resources/types.mdx +115 -116
- package/reference/roadmap.mdx +164 -165
- package/reference/rules/organization-model.md +14 -0
- package/reference/runtime.mdx +172 -173
- package/reference/scaffold/operations/propagation-pipeline.md +1 -1
- package/reference/scaffold/recipes/extend-lead-gen.md +130 -77
- package/reference/scaffold/reference/contracts.md +376 -446
- package/reference/scaffold/reference/glossary.md +8 -6
- package/reference/scaffold/ui/feature-flags-and-gating.md +59 -46
- package/reference/scaffold/ui/feature-shell.mdx +11 -11
- package/reference/scaffold/ui/recipes.md +24 -24
- package/reference/troubleshooting.mdx +222 -223
package/dist/worker/index.js
CHANGED
|
@@ -5106,336 +5106,8 @@ DisplayMetadataSchema.extend({
|
|
|
5106
5106
|
id: ModelIdSchema,
|
|
5107
5107
|
steps: z.array(ProspectingBuildTemplateStepSchema).min(1)
|
|
5108
5108
|
});
|
|
5109
|
-
var DTC_RECORD_COLUMNS = {
|
|
5110
|
-
populated: {
|
|
5111
|
-
company: [
|
|
5112
|
-
{ key: "name", label: "Company", path: "company.name" },
|
|
5113
|
-
{ key: "domain", label: "Domain", path: "company.domain" },
|
|
5114
|
-
{ key: "employee-count", label: "Employees", path: "company.numEmployees", renderType: "count" },
|
|
5115
|
-
{ key: "apollo-industry", label: "Apollo industry", path: "company.category" },
|
|
5116
|
-
{ key: "location", label: "Location", path: "company.locationState" }
|
|
5117
|
-
]
|
|
5118
|
-
},
|
|
5119
|
-
crawled: {
|
|
5120
|
-
company: [
|
|
5121
|
-
{ key: "name", label: "Company", path: "company.name" },
|
|
5122
|
-
{ key: "domain", label: "Domain", path: "company.domain" },
|
|
5123
|
-
{ key: "page-count", label: "Pages", path: "company.enrichmentData.websiteCrawl.pageCount", renderType: "count" },
|
|
5124
|
-
{ key: "crawl-status", label: "Crawl status", path: "processingState.crawled.status", renderType: "badge" }
|
|
5125
|
-
]
|
|
5126
|
-
},
|
|
5127
|
-
extracted: {
|
|
5128
|
-
company: [
|
|
5129
|
-
{ key: "name", label: "Company", path: "company.name" },
|
|
5130
|
-
{ key: "domain", label: "Domain", path: "company.domain" },
|
|
5131
|
-
{ key: "description", label: "Description", path: "company.enrichmentData.websiteCrawl.companyDescription" },
|
|
5132
|
-
{ key: "services", label: "Services", path: "company.enrichmentData.websiteCrawl.services", renderType: "json" },
|
|
5133
|
-
{
|
|
5134
|
-
key: "automation-gaps",
|
|
5135
|
-
label: "Automation gaps",
|
|
5136
|
-
path: "company.enrichmentData.websiteCrawl.automationGaps",
|
|
5137
|
-
renderType: "json"
|
|
5138
|
-
},
|
|
5139
|
-
{
|
|
5140
|
-
key: "contact-count",
|
|
5141
|
-
label: "Contacts",
|
|
5142
|
-
path: "company.enrichmentData.websiteCrawl.emailCount",
|
|
5143
|
-
renderType: "count"
|
|
5144
|
-
}
|
|
5145
|
-
]
|
|
5146
|
-
},
|
|
5147
|
-
qualified: {
|
|
5148
|
-
company: [
|
|
5149
|
-
{ key: "name", label: "Company", path: "company.name" },
|
|
5150
|
-
{ key: "domain", label: "Domain", path: "company.domain" },
|
|
5151
|
-
{ key: "score", label: "Score", path: "company.qualificationScore", renderType: "badge", badgeColor: "green" },
|
|
5152
|
-
{ key: "signals", label: "Signals", path: "company.qualificationSignals", renderType: "json" },
|
|
5153
|
-
{
|
|
5154
|
-
key: "disqualified-reason",
|
|
5155
|
-
label: "Disqualified reason",
|
|
5156
|
-
path: "processingState.qualified.data.disqualifiedReason"
|
|
5157
|
-
}
|
|
5158
|
-
]
|
|
5159
|
-
},
|
|
5160
|
-
decisionMakers: {
|
|
5161
|
-
contact: [
|
|
5162
|
-
{ key: "name", label: "Name", path: "contact.name" },
|
|
5163
|
-
{ key: "title", label: "Title", path: "contact.title" },
|
|
5164
|
-
{ key: "email", label: "Email", path: "contact.email" },
|
|
5165
|
-
{ key: "linkedin", label: "LinkedIn", path: "contact.linkedinUrl" },
|
|
5166
|
-
{
|
|
5167
|
-
key: "priority-score",
|
|
5168
|
-
label: "Priority",
|
|
5169
|
-
path: "contact.enrichmentData.apollo.priorityScore",
|
|
5170
|
-
renderType: "badge"
|
|
5171
|
-
}
|
|
5172
|
-
]
|
|
5173
|
-
},
|
|
5174
|
-
uploaded: {
|
|
5175
|
-
company: [
|
|
5176
|
-
{ key: "name", label: "Company", path: "company.name" },
|
|
5177
|
-
{ key: "domain", label: "Domain", path: "company.domain" },
|
|
5178
|
-
{
|
|
5179
|
-
key: "contacts",
|
|
5180
|
-
label: "Contacts",
|
|
5181
|
-
path: "company.enrichmentData.approvedLeadListExport.contacts",
|
|
5182
|
-
renderType: "json"
|
|
5183
|
-
},
|
|
5184
|
-
{ key: "score", label: "Score", path: "company.qualificationScore", renderType: "badge", badgeColor: "green" },
|
|
5185
|
-
{
|
|
5186
|
-
key: "approval",
|
|
5187
|
-
label: "Approval",
|
|
5188
|
-
path: "company.enrichmentData.approvedLeadListExport.approvalStatus",
|
|
5189
|
-
renderType: "badge"
|
|
5190
|
-
}
|
|
5191
|
-
]
|
|
5192
|
-
}
|
|
5193
|
-
};
|
|
5194
|
-
var PROSPECTING_STEPS = {
|
|
5195
|
-
localServices: {
|
|
5196
|
-
sourceCompanies: {
|
|
5197
|
-
id: "source-companies",
|
|
5198
|
-
label: "Companies found",
|
|
5199
|
-
primaryEntity: "company",
|
|
5200
|
-
outputs: ["company"],
|
|
5201
|
-
stageKey: "populated",
|
|
5202
|
-
dependencyMode: "per-record-eligibility",
|
|
5203
|
-
actionKey: "lead-gen.company.source",
|
|
5204
|
-
defaultBatchSize: 100,
|
|
5205
|
-
maxBatchSize: 250
|
|
5206
|
-
},
|
|
5207
|
-
analyzeWebsites: {
|
|
5208
|
-
id: "analyze-websites",
|
|
5209
|
-
label: "Websites analyzed",
|
|
5210
|
-
primaryEntity: "company",
|
|
5211
|
-
outputs: ["company"],
|
|
5212
|
-
stageKey: "extracted",
|
|
5213
|
-
dependsOn: ["source-companies"],
|
|
5214
|
-
dependencyMode: "per-record-eligibility",
|
|
5215
|
-
actionKey: "lead-gen.company.website-extract",
|
|
5216
|
-
defaultBatchSize: 50,
|
|
5217
|
-
maxBatchSize: 100
|
|
5218
|
-
},
|
|
5219
|
-
qualifyCompanies: {
|
|
5220
|
-
id: "qualify-companies",
|
|
5221
|
-
label: "Companies qualified",
|
|
5222
|
-
primaryEntity: "company",
|
|
5223
|
-
outputs: ["company"],
|
|
5224
|
-
stageKey: "qualified",
|
|
5225
|
-
dependsOn: ["analyze-websites"],
|
|
5226
|
-
dependencyMode: "per-record-eligibility",
|
|
5227
|
-
actionKey: "lead-gen.company.qualify",
|
|
5228
|
-
defaultBatchSize: 100,
|
|
5229
|
-
maxBatchSize: 250
|
|
5230
|
-
},
|
|
5231
|
-
findContacts: {
|
|
5232
|
-
id: "find-contacts",
|
|
5233
|
-
label: "Decision-makers found",
|
|
5234
|
-
primaryEntity: "contact",
|
|
5235
|
-
outputs: ["contact"],
|
|
5236
|
-
stageKey: "discovered",
|
|
5237
|
-
dependsOn: ["qualify-companies"],
|
|
5238
|
-
dependencyMode: "per-record-eligibility",
|
|
5239
|
-
actionKey: "lead-gen.contact.discover",
|
|
5240
|
-
defaultBatchSize: 50,
|
|
5241
|
-
maxBatchSize: 100
|
|
5242
|
-
},
|
|
5243
|
-
verifyEmails: {
|
|
5244
|
-
id: "verify-emails",
|
|
5245
|
-
label: "Emails verified",
|
|
5246
|
-
primaryEntity: "contact",
|
|
5247
|
-
outputs: ["contact"],
|
|
5248
|
-
stageKey: "verified",
|
|
5249
|
-
dependsOn: ["find-contacts"],
|
|
5250
|
-
dependencyMode: "per-record-eligibility",
|
|
5251
|
-
actionKey: "lead-gen.contact.verify-email",
|
|
5252
|
-
defaultBatchSize: 100,
|
|
5253
|
-
maxBatchSize: 500
|
|
5254
|
-
},
|
|
5255
|
-
personalize: {
|
|
5256
|
-
id: "personalize",
|
|
5257
|
-
label: "Personalize",
|
|
5258
|
-
primaryEntity: "contact",
|
|
5259
|
-
outputs: ["contact"],
|
|
5260
|
-
stageKey: "personalized",
|
|
5261
|
-
dependsOn: ["verify-emails"],
|
|
5262
|
-
dependencyMode: "per-record-eligibility",
|
|
5263
|
-
actionKey: "lead-gen.contact.personalize",
|
|
5264
|
-
defaultBatchSize: 25,
|
|
5265
|
-
maxBatchSize: 100
|
|
5266
|
-
},
|
|
5267
|
-
review: {
|
|
5268
|
-
id: "review",
|
|
5269
|
-
label: "Reviewed and exported",
|
|
5270
|
-
primaryEntity: "contact",
|
|
5271
|
-
outputs: ["export"],
|
|
5272
|
-
stageKey: "uploaded",
|
|
5273
|
-
dependsOn: ["personalize"],
|
|
5274
|
-
dependencyMode: "per-record-eligibility",
|
|
5275
|
-
actionKey: "lead-gen.review.outreach-ready",
|
|
5276
|
-
defaultBatchSize: 25,
|
|
5277
|
-
maxBatchSize: 100
|
|
5278
|
-
}
|
|
5279
|
-
},
|
|
5280
|
-
dtcApolloClickup: {
|
|
5281
|
-
importApolloSearch: {
|
|
5282
|
-
id: "import-apollo-search",
|
|
5283
|
-
label: "Companies found",
|
|
5284
|
-
description: "Pull companies and seed contact data from a predefined Apollo search or list.",
|
|
5285
|
-
primaryEntity: "company",
|
|
5286
|
-
outputs: ["company", "contact"],
|
|
5287
|
-
stageKey: "populated",
|
|
5288
|
-
dependencyMode: "per-record-eligibility",
|
|
5289
|
-
actionKey: "lead-gen.company.apollo-import",
|
|
5290
|
-
defaultBatchSize: 250,
|
|
5291
|
-
maxBatchSize: 1e3,
|
|
5292
|
-
recordColumns: DTC_RECORD_COLUMNS.populated,
|
|
5293
|
-
credentialRequirements: [
|
|
5294
|
-
{
|
|
5295
|
-
key: "apollo",
|
|
5296
|
-
provider: "apollo",
|
|
5297
|
-
credentialType: "api-key-secret",
|
|
5298
|
-
label: "Apollo API key",
|
|
5299
|
-
required: true,
|
|
5300
|
-
selectionMode: "single",
|
|
5301
|
-
inputPath: "credential"
|
|
5302
|
-
}
|
|
5303
|
-
]
|
|
5304
|
-
},
|
|
5305
|
-
apifyCrawl: {
|
|
5306
|
-
id: "apify-crawl",
|
|
5307
|
-
label: "Websites crawled",
|
|
5308
|
-
description: "Crawl company websites via Apify and store raw page markdown in enrichmentData.websiteCrawl.pages for downstream LLM analysis. Overwrites the synthetic seed Apollo Import wrote with real page content.",
|
|
5309
|
-
primaryEntity: "company",
|
|
5310
|
-
outputs: ["company"],
|
|
5311
|
-
stageKey: "crawled",
|
|
5312
|
-
dependsOn: ["import-apollo-search"],
|
|
5313
|
-
dependencyMode: "per-record-eligibility",
|
|
5314
|
-
actionKey: "lead-gen.company.apify-crawl",
|
|
5315
|
-
defaultBatchSize: 50,
|
|
5316
|
-
maxBatchSize: 100,
|
|
5317
|
-
recordColumns: DTC_RECORD_COLUMNS.crawled,
|
|
5318
|
-
credentialRequirements: [
|
|
5319
|
-
{
|
|
5320
|
-
key: "apify",
|
|
5321
|
-
provider: "apify",
|
|
5322
|
-
credentialType: "api-key-secret",
|
|
5323
|
-
label: "Apify API token",
|
|
5324
|
-
required: true,
|
|
5325
|
-
selectionMode: "single",
|
|
5326
|
-
inputPath: "credential",
|
|
5327
|
-
verifyOnRun: true
|
|
5328
|
-
}
|
|
5329
|
-
]
|
|
5330
|
-
},
|
|
5331
|
-
analyzeWebsites: {
|
|
5332
|
-
id: "analyze-websites",
|
|
5333
|
-
label: "Websites analyzed",
|
|
5334
|
-
description: "Extract subscription, product, retention, and tech-stack signals from each brand website.",
|
|
5335
|
-
primaryEntity: "company",
|
|
5336
|
-
outputs: ["company"],
|
|
5337
|
-
stageKey: "extracted",
|
|
5338
|
-
dependsOn: ["apify-crawl"],
|
|
5339
|
-
dependencyMode: "per-record-eligibility",
|
|
5340
|
-
actionKey: "lead-gen.company.website-extract",
|
|
5341
|
-
defaultBatchSize: 50,
|
|
5342
|
-
maxBatchSize: 100,
|
|
5343
|
-
recordColumns: DTC_RECORD_COLUMNS.extracted
|
|
5344
|
-
},
|
|
5345
|
-
scoreDtcFit: {
|
|
5346
|
-
id: "score-dtc-fit",
|
|
5347
|
-
label: "Companies qualified",
|
|
5348
|
-
description: "Classify subscription potential, consumable-product fit, retention maturity, and disqualifiers.",
|
|
5349
|
-
primaryEntity: "company",
|
|
5350
|
-
outputs: ["company"],
|
|
5351
|
-
stageKey: "qualified",
|
|
5352
|
-
dependsOn: ["analyze-websites"],
|
|
5353
|
-
dependencyMode: "per-record-eligibility",
|
|
5354
|
-
actionKey: "lead-gen.company.dtc-subscription-qualify",
|
|
5355
|
-
defaultBatchSize: 100,
|
|
5356
|
-
maxBatchSize: 250,
|
|
5357
|
-
recordColumns: DTC_RECORD_COLUMNS.qualified
|
|
5358
|
-
},
|
|
5359
|
-
enrichDecisionMakers: {
|
|
5360
|
-
id: "enrich-decision-makers",
|
|
5361
|
-
label: "Decision-makers found",
|
|
5362
|
-
description: "Use Apollo to find qualified contacts at qualified companies - founders, retention leads, lifecycle leads, and marketing owners.",
|
|
5363
|
-
primaryEntity: "company",
|
|
5364
|
-
outputs: ["contact"],
|
|
5365
|
-
stageKey: "decision-makers-enriched",
|
|
5366
|
-
recordEntity: "contact",
|
|
5367
|
-
dependsOn: ["score-dtc-fit"],
|
|
5368
|
-
dependencyMode: "per-record-eligibility",
|
|
5369
|
-
actionKey: "lead-gen.contact.apollo-decision-maker-enrich",
|
|
5370
|
-
defaultBatchSize: 100,
|
|
5371
|
-
maxBatchSize: 250,
|
|
5372
|
-
recordColumns: DTC_RECORD_COLUMNS.decisionMakers,
|
|
5373
|
-
credentialRequirements: [
|
|
5374
|
-
{
|
|
5375
|
-
key: "apollo",
|
|
5376
|
-
provider: "apollo",
|
|
5377
|
-
credentialType: "api-key-secret",
|
|
5378
|
-
label: "Apollo API key",
|
|
5379
|
-
required: true,
|
|
5380
|
-
selectionMode: "single",
|
|
5381
|
-
inputPath: "credential"
|
|
5382
|
-
}
|
|
5383
|
-
]
|
|
5384
|
-
},
|
|
5385
|
-
reviewAndExport: {
|
|
5386
|
-
id: "review-and-export",
|
|
5387
|
-
label: "Reviewed and exported",
|
|
5388
|
-
description: "Operator QC approves or rejects qualified companies, then approved records are exported as a lead list with unverified emails.",
|
|
5389
|
-
primaryEntity: "company",
|
|
5390
|
-
outputs: ["export"],
|
|
5391
|
-
stageKey: "uploaded",
|
|
5392
|
-
recordsStageKey: "uploaded",
|
|
5393
|
-
recordSourceStageKey: "qualified",
|
|
5394
|
-
dependsOn: ["enrich-decision-makers"],
|
|
5395
|
-
dependencyMode: "per-record-eligibility",
|
|
5396
|
-
actionKey: "lead-gen.export.list",
|
|
5397
|
-
defaultBatchSize: 100,
|
|
5398
|
-
maxBatchSize: 250,
|
|
5399
|
-
recordColumns: DTC_RECORD_COLUMNS.uploaded,
|
|
5400
|
-
credentialRequirements: [
|
|
5401
|
-
{
|
|
5402
|
-
key: "clickup",
|
|
5403
|
-
provider: "clickup",
|
|
5404
|
-
credentialType: "api-key-secret",
|
|
5405
|
-
label: "ClickUp API token",
|
|
5406
|
-
required: true,
|
|
5407
|
-
selectionMode: "single",
|
|
5408
|
-
inputPath: "clickupCredential",
|
|
5409
|
-
verifyOnRun: true
|
|
5410
|
-
}
|
|
5411
|
-
]
|
|
5412
|
-
}
|
|
5413
|
-
}
|
|
5414
|
-
};
|
|
5415
5109
|
|
|
5416
|
-
// ../core/src/business/acquisition/
|
|
5417
|
-
var BUILD_TEMPLATE_CATALOG = [
|
|
5418
|
-
{
|
|
5419
|
-
id: "local-services",
|
|
5420
|
-
label: "Local Services",
|
|
5421
|
-
description: "Source, analyze, qualify, and personalize local service businesses for outreach.",
|
|
5422
|
-
steps: Object.values(PROSPECTING_STEPS.localServices)
|
|
5423
|
-
},
|
|
5424
|
-
{
|
|
5425
|
-
id: "dtc-subscription-apollo-clickup",
|
|
5426
|
-
label: "DTC Subscription (Apollo + ClickUp)",
|
|
5427
|
-
description: "Import DTC brand leads from Apollo, crawl their websites, score fit, enrich contacts, and export via ClickUp.",
|
|
5428
|
-
steps: Object.values(PROSPECTING_STEPS.dtcApolloClickup)
|
|
5429
|
-
}
|
|
5430
|
-
];
|
|
5431
|
-
var PROSPECTING_BUILD_TEMPLATE_OPTIONS = BUILD_TEMPLATE_CATALOG.map(({ id, label, description }) => ({
|
|
5432
|
-
id,
|
|
5433
|
-
label,
|
|
5434
|
-
description
|
|
5435
|
-
}));
|
|
5436
|
-
function isProspectingBuildTemplateId(value) {
|
|
5437
|
-
return PROSPECTING_BUILD_TEMPLATE_OPTIONS.some((template) => template.id === value);
|
|
5438
|
-
}
|
|
5110
|
+
// ../core/src/business/acquisition/api-schemas.ts
|
|
5439
5111
|
var ProcessingStageStatusSchema = z.enum(["success", "no_result", "skipped", "error"]);
|
|
5440
5112
|
var LeadGenStageKeySchema = z.string().trim().min(1);
|
|
5441
5113
|
var LeadGenActionKeySchema = z.string().trim().min(1);
|
|
@@ -5698,8 +5370,10 @@ var PipelineStageSchema = z.object({
|
|
|
5698
5370
|
enabled: z.boolean().optional(),
|
|
5699
5371
|
order: z.number().int().optional()
|
|
5700
5372
|
});
|
|
5373
|
+
var DataModeSchema = z.enum(["mock", "live"]);
|
|
5701
5374
|
var PipelineConfigSchema = z.object({
|
|
5702
|
-
stages: z.array(PipelineStageSchema).optional()
|
|
5375
|
+
stages: z.array(PipelineStageSchema).optional(),
|
|
5376
|
+
dataMode: DataModeSchema.optional()
|
|
5703
5377
|
});
|
|
5704
5378
|
var BuildPlanSnapshotStepSchema = z.object({
|
|
5705
5379
|
id: z.string().trim().min(1).max(100),
|
|
@@ -5756,9 +5430,7 @@ var BuildPlanSnapshotSchema = z.object({
|
|
|
5756
5430
|
var AcqListMetadataSchema = z.object({
|
|
5757
5431
|
buildPlanSnapshot: BuildPlanSnapshotSchema.optional()
|
|
5758
5432
|
}).catchall(z.unknown());
|
|
5759
|
-
var ProspectingBuildTemplateIdSchema = z.string().trim().min(1).max(100)
|
|
5760
|
-
message: "buildTemplateId must match a known prospecting build template"
|
|
5761
|
-
});
|
|
5433
|
+
var ProspectingBuildTemplateIdSchema = z.string().trim().min(1).max(100);
|
|
5762
5434
|
var ListStageCountsSchema = z.object({
|
|
5763
5435
|
// Attempted counts by canonical lead-gen stage. The detailed status
|
|
5764
5436
|
// distribution lives on ListProgress; telemetry keeps the overview payload small.
|
|
@@ -6511,25 +6183,31 @@ function createApifyAdapter(credential) {
|
|
|
6511
6183
|
return createAdapter("apify", METHODS2, credential);
|
|
6512
6184
|
}
|
|
6513
6185
|
|
|
6186
|
+
// src/worker/adapters/clickup.ts
|
|
6187
|
+
var METHODS3 = ["verify", "createTask"];
|
|
6188
|
+
function createClickUpAdapter(credential) {
|
|
6189
|
+
return createAdapter("clickup", METHODS3, credential);
|
|
6190
|
+
}
|
|
6191
|
+
|
|
6514
6192
|
// src/worker/adapters/dropbox.ts
|
|
6515
|
-
var
|
|
6193
|
+
var METHODS4 = [
|
|
6516
6194
|
"uploadFile",
|
|
6517
6195
|
"createFolder"
|
|
6518
6196
|
];
|
|
6519
6197
|
function createDropboxAdapter(credential) {
|
|
6520
|
-
return createAdapter("dropbox",
|
|
6198
|
+
return createAdapter("dropbox", METHODS4, credential);
|
|
6521
6199
|
}
|
|
6522
6200
|
|
|
6523
6201
|
// src/worker/adapters/gmail.ts
|
|
6524
|
-
var
|
|
6202
|
+
var METHODS5 = [
|
|
6525
6203
|
"sendEmail"
|
|
6526
6204
|
];
|
|
6527
6205
|
function createGmailAdapter(credential) {
|
|
6528
|
-
return createAdapter("gmail",
|
|
6206
|
+
return createAdapter("gmail", METHODS5, credential);
|
|
6529
6207
|
}
|
|
6530
6208
|
|
|
6531
6209
|
// src/worker/adapters/google-sheets.ts
|
|
6532
|
-
var
|
|
6210
|
+
var METHODS6 = [
|
|
6533
6211
|
"readSheet",
|
|
6534
6212
|
"writeSheet",
|
|
6535
6213
|
"appendRows",
|
|
@@ -6545,11 +6223,11 @@ var METHODS5 = [
|
|
|
6545
6223
|
"deleteRowByValue"
|
|
6546
6224
|
];
|
|
6547
6225
|
function createGoogleSheetsAdapter(credential) {
|
|
6548
|
-
return createAdapter("google-sheets",
|
|
6226
|
+
return createAdapter("google-sheets", METHODS6, credential);
|
|
6549
6227
|
}
|
|
6550
6228
|
|
|
6551
6229
|
// src/worker/adapters/instantly.ts
|
|
6552
|
-
var
|
|
6230
|
+
var METHODS7 = [
|
|
6553
6231
|
"sendReply",
|
|
6554
6232
|
"removeFromSubsequence",
|
|
6555
6233
|
"getEmails",
|
|
@@ -6573,54 +6251,54 @@ var METHODS6 = [
|
|
|
6573
6251
|
"patchLead"
|
|
6574
6252
|
];
|
|
6575
6253
|
function createInstantlyAdapter(credential) {
|
|
6576
|
-
return createAdapter("instantly",
|
|
6254
|
+
return createAdapter("instantly", METHODS7, credential);
|
|
6577
6255
|
}
|
|
6578
6256
|
|
|
6579
6257
|
// src/worker/adapters/millionverifier.ts
|
|
6580
|
-
var
|
|
6258
|
+
var METHODS8 = ["verifyEmail", "checkCredits"];
|
|
6581
6259
|
function createMillionVerifierAdapter(credential) {
|
|
6582
|
-
return createAdapter("millionverifier",
|
|
6260
|
+
return createAdapter("millionverifier", METHODS8, credential);
|
|
6583
6261
|
}
|
|
6584
6262
|
|
|
6585
6263
|
// src/worker/adapters/anymailfinder.ts
|
|
6586
|
-
var
|
|
6264
|
+
var METHODS9 = [
|
|
6587
6265
|
"findCompanyEmail",
|
|
6588
6266
|
"findPersonEmail",
|
|
6589
6267
|
"findDecisionMakerEmail",
|
|
6590
6268
|
"verifyEmail"
|
|
6591
6269
|
];
|
|
6592
6270
|
function createAnymailfinderAdapter(credential) {
|
|
6593
|
-
return createAdapter("anymailfinder",
|
|
6271
|
+
return createAdapter("anymailfinder", METHODS9, credential);
|
|
6594
6272
|
}
|
|
6595
6273
|
|
|
6596
6274
|
// src/worker/adapters/tomba.ts
|
|
6597
|
-
var
|
|
6275
|
+
var METHODS10 = ["emailFinder", "domainSearch", "emailVerifier"];
|
|
6598
6276
|
function createTombaAdapter(credential) {
|
|
6599
|
-
return createAdapter("tomba",
|
|
6277
|
+
return createAdapter("tomba", METHODS10, credential);
|
|
6600
6278
|
}
|
|
6601
6279
|
|
|
6602
6280
|
// src/worker/adapters/resend.ts
|
|
6603
|
-
var
|
|
6281
|
+
var METHODS11 = [
|
|
6604
6282
|
"sendEmail",
|
|
6605
6283
|
"getEmail"
|
|
6606
6284
|
];
|
|
6607
6285
|
function createResendAdapter(credential) {
|
|
6608
|
-
return createAdapter("resend",
|
|
6286
|
+
return createAdapter("resend", METHODS11, credential);
|
|
6609
6287
|
}
|
|
6610
6288
|
|
|
6611
6289
|
// src/worker/adapters/signature-api.ts
|
|
6612
|
-
var
|
|
6290
|
+
var METHODS12 = [
|
|
6613
6291
|
"createEnvelope",
|
|
6614
6292
|
"voidEnvelope",
|
|
6615
6293
|
"downloadDocument",
|
|
6616
6294
|
"getEnvelope"
|
|
6617
6295
|
];
|
|
6618
6296
|
function createSignatureApiAdapter(credential) {
|
|
6619
|
-
return createAdapter("signature-api",
|
|
6297
|
+
return createAdapter("signature-api", METHODS12, credential);
|
|
6620
6298
|
}
|
|
6621
6299
|
|
|
6622
6300
|
// src/worker/adapters/stripe.ts
|
|
6623
|
-
var
|
|
6301
|
+
var METHODS13 = [
|
|
6624
6302
|
"createPaymentLink",
|
|
6625
6303
|
"getPaymentLink",
|
|
6626
6304
|
"updatePaymentLink",
|
|
@@ -6629,7 +6307,7 @@ var METHODS12 = [
|
|
|
6629
6307
|
"createCheckoutSession"
|
|
6630
6308
|
];
|
|
6631
6309
|
function createStripeAdapter(credential) {
|
|
6632
|
-
return createAdapter("stripe",
|
|
6310
|
+
return createAdapter("stripe", METHODS13, credential);
|
|
6633
6311
|
}
|
|
6634
6312
|
|
|
6635
6313
|
// src/worker/adapters/scheduler.ts
|
|
@@ -7286,4 +6964,4 @@ if (workerData != null && workerData.kind === "static") {
|
|
|
7286
6964
|
})();
|
|
7287
6965
|
}
|
|
7288
6966
|
|
|
7289
|
-
export { ListBuilderResultSchema, ListBuilderResultsSchema, PlatformToolError, acqDb, approval, classifyPlatformToolError, createAdapter, createAnymailfinderAdapter, createApifyAdapter, createAttioAdapter, createDropboxAdapter, createGmailAdapter, createGoogleSheetsAdapter, createInstantlyAdapter, createMillionVerifierAdapter, createResendAdapter, createSignatureApiAdapter, createStripeAdapter, createTombaAdapter, crm, email, executeWorkflow, execution, generateHmacToken, list, listBuilderWorkflow, llm, notifications, pdf, platform, projects, scheduler, startWorker, storage };
|
|
6967
|
+
export { ListBuilderResultSchema, ListBuilderResultsSchema, PlatformToolError, acqDb, approval, classifyPlatformToolError, createAdapter, createAnymailfinderAdapter, createApifyAdapter, createAttioAdapter, createClickUpAdapter, createDropboxAdapter, createGmailAdapter, createGoogleSheetsAdapter, createInstantlyAdapter, createMillionVerifierAdapter, createResendAdapter, createSignatureApiAdapter, createStripeAdapter, createTombaAdapter, crm, email, executeWorkflow, execution, generateHmacToken, list, listBuilderWorkflow, llm, notifications, pdf, platform, projects, scheduler, startWorker, storage };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elevasis/sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.26.0",
|
|
4
4
|
"description": "SDK for building Elevasis organization resources",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"tsup": "^8.0.0",
|
|
59
59
|
"typescript": "5.9.2",
|
|
60
60
|
"zod": "^4.1.0",
|
|
61
|
-
"@repo/core": "0.
|
|
61
|
+
"@repo/core": "0.31.0",
|
|
62
62
|
"@repo/eslint-config": "0.0.0",
|
|
63
63
|
"@repo/typescript-config": "0.0.0"
|
|
64
64
|
},
|
package/reference/_navigation.md
CHANGED
|
@@ -4,7 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
Auto-generated from the package reference manifests.
|
|
6
6
|
|
|
7
|
-
Package entries indexed:
|
|
7
|
+
Package entries indexed: 60.
|
|
8
|
+
|
|
9
|
+
## @elevasis/core / Auth
|
|
10
|
+
|
|
11
|
+
| Resource | Location | Description | When to Load |
|
|
12
|
+
| --- | --- | --- | --- |
|
|
13
|
+
| Auth | `packages/core/src/README.md` | Published browser-safe auth contracts, AccessKeys, and Access Model primitives. | (not specified) |
|
|
8
14
|
|
|
9
15
|
## @elevasis/core / Core
|
|
10
16
|
|
|
@@ -93,6 +99,8 @@ Package entries indexed: 55.
|
|
|
93
99
|
| Features Settings | `packages/ui/src/features/README.md` | Published settings feature surface for downstream shells. | (not specified) |
|
|
94
100
|
| Features Knowledge | `packages/ui/src/features/README.md` | Published knowledge feature manifest for downstream shells. | (not specified) |
|
|
95
101
|
| Features Clients | `packages/ui/src/features/README.md` | Published clients feature surface for downstream shells. | (not specified) |
|
|
102
|
+
| Features Notes | `packages/ui/src/features/README.md` | Published Notes panel view and supporting note components for shared right-panel integrations. | (not specified) |
|
|
103
|
+
| Features Right Panel Host | `packages/ui/src/features/README.md` | Published right-panel host provider, layer, trigger, keyboard shortcut, store, and view contract. | (not specified) |
|
|
96
104
|
|
|
97
105
|
## @elevasis/ui / Foundation
|
|
98
106
|
|
|
@@ -118,7 +126,9 @@ Package entries indexed: 55.
|
|
|
118
126
|
| Resource | Location | Description | When to Load |
|
|
119
127
|
| --- | --- | --- | --- |
|
|
120
128
|
| Hooks | `packages/ui/src/hooks/README.md` | Headless hooks surface for executions, sessions, observability, and operations. | (not specified) |
|
|
129
|
+
| Hooks Access | `packages/ui/src/hooks/README.md` | Published Access Model hook surface for checking route, section, and action access. | (not specified) |
|
|
121
130
|
| Hooks Delivery | `packages/ui/src/hooks/README.md` | Published delivery hooks for projects, milestones, tasks, and notes. | (not specified) |
|
|
131
|
+
| Hooks User Notes | `packages/ui/src/hooks/README.md` | Published user-notes query and mutation hooks used by shared Notes surfaces. | (not specified) |
|
|
122
132
|
| Transform Command View Data | `packages/ui/src/hooks/README.md` | Utility that transforms backend CommandViewData arrays into a unified frontend CommandViewGraph with nodes and edges. | (not specified) |
|
|
123
133
|
|
|
124
134
|
## @elevasis/ui / Provider
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"packageName": "@elevasis/core",
|
|
6
|
+
"packageDir": "packages/core",
|
|
7
|
+
"subpath": "./auth",
|
|
8
|
+
"kind": "subpath",
|
|
9
|
+
"title": "Auth",
|
|
10
|
+
"description": "Published browser-safe auth contracts, AccessKeys, and Access Model primitives.",
|
|
11
|
+
"group": "Auth",
|
|
12
|
+
"order": 1,
|
|
13
|
+
"sourcePath": "packages/core/src/auth/index.ts",
|
|
14
|
+
"docPath": "packages/core/src/README.md",
|
|
15
|
+
"referencePath": "packages/core/src/README.md",
|
|
16
|
+
"publishedExportPath": "./dist/auth/index.js"
|
|
17
|
+
},
|
|
4
18
|
{
|
|
5
19
|
"packageName": "@elevasis/core",
|
|
6
20
|
"packageDir": "packages/core",
|
|
@@ -393,6 +407,34 @@
|
|
|
393
407
|
"referencePath": "packages/ui/src/features/README.md",
|
|
394
408
|
"publishedExportPath": "./dist/features/clients/index.js"
|
|
395
409
|
},
|
|
410
|
+
{
|
|
411
|
+
"packageName": "@elevasis/ui",
|
|
412
|
+
"packageDir": "packages/ui",
|
|
413
|
+
"subpath": "./features/notes",
|
|
414
|
+
"kind": "subpath",
|
|
415
|
+
"title": "Features Notes",
|
|
416
|
+
"description": "Published Notes panel view and supporting note components for shared right-panel integrations.",
|
|
417
|
+
"group": "Features",
|
|
418
|
+
"order": 13,
|
|
419
|
+
"sourcePath": "packages/ui/src/features/notes/index.ts",
|
|
420
|
+
"docPath": "packages/ui/src/features/README.md",
|
|
421
|
+
"referencePath": "packages/ui/src/features/README.md",
|
|
422
|
+
"publishedExportPath": "./dist/features/notes/index.js"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"packageName": "@elevasis/ui",
|
|
426
|
+
"packageDir": "packages/ui",
|
|
427
|
+
"subpath": "./features/right-panel-host",
|
|
428
|
+
"kind": "subpath",
|
|
429
|
+
"title": "Features Right Panel Host",
|
|
430
|
+
"description": "Published right-panel host provider, layer, trigger, keyboard shortcut, store, and view contract.",
|
|
431
|
+
"group": "Features",
|
|
432
|
+
"order": 14,
|
|
433
|
+
"sourcePath": "packages/ui/src/features/right-panel-host/index.ts",
|
|
434
|
+
"docPath": "packages/ui/src/features/README.md",
|
|
435
|
+
"referencePath": "packages/ui/src/features/README.md",
|
|
436
|
+
"publishedExportPath": "./dist/features/right-panel-host/index.js"
|
|
437
|
+
},
|
|
396
438
|
{
|
|
397
439
|
"packageName": "@elevasis/ui",
|
|
398
440
|
"packageDir": "packages/ui",
|
|
@@ -603,6 +645,20 @@
|
|
|
603
645
|
"referencePath": "packages/ui/src/hooks/README.md",
|
|
604
646
|
"publishedExportPath": "./dist/hooks/published.js"
|
|
605
647
|
},
|
|
648
|
+
{
|
|
649
|
+
"packageName": "@elevasis/ui",
|
|
650
|
+
"packageDir": "packages/ui",
|
|
651
|
+
"subpath": "./hooks/access",
|
|
652
|
+
"kind": "subpath",
|
|
653
|
+
"title": "Hooks Access",
|
|
654
|
+
"description": "Published Access Model hook surface for checking route, section, and action access.",
|
|
655
|
+
"group": "Hooks",
|
|
656
|
+
"order": 2,
|
|
657
|
+
"sourcePath": "packages/ui/src/hooks/access/index.ts",
|
|
658
|
+
"docPath": "packages/ui/src/hooks/README.md",
|
|
659
|
+
"referencePath": "packages/ui/src/hooks/README.md",
|
|
660
|
+
"publishedExportPath": "./dist/hooks/access/index.js"
|
|
661
|
+
},
|
|
606
662
|
{
|
|
607
663
|
"packageName": "@elevasis/ui",
|
|
608
664
|
"packageDir": "packages/ui",
|
|
@@ -617,6 +673,20 @@
|
|
|
617
673
|
"referencePath": "packages/ui/src/hooks/README.md",
|
|
618
674
|
"publishedExportPath": "./dist/hooks/delivery/index.js"
|
|
619
675
|
},
|
|
676
|
+
{
|
|
677
|
+
"packageName": "@elevasis/ui",
|
|
678
|
+
"packageDir": "packages/ui",
|
|
679
|
+
"subpath": "./hooks/user-notes",
|
|
680
|
+
"kind": "subpath",
|
|
681
|
+
"title": "Hooks User Notes",
|
|
682
|
+
"description": "Published user-notes query and mutation hooks used by shared Notes surfaces.",
|
|
683
|
+
"group": "Hooks",
|
|
684
|
+
"order": 3,
|
|
685
|
+
"sourcePath": "packages/ui/src/hooks/user-notes/index.ts",
|
|
686
|
+
"docPath": "packages/ui/src/hooks/README.md",
|
|
687
|
+
"referencePath": "packages/ui/src/hooks/README.md",
|
|
688
|
+
"publishedExportPath": "./dist/hooks/user-notes/index.js"
|
|
689
|
+
},
|
|
620
690
|
{
|
|
621
691
|
"packageName": "@elevasis/ui",
|
|
622
692
|
"packageDir": "packages/ui",
|
|
@@ -8,4 +8,15 @@ Canonical rule source:
|
|
|
8
8
|
|
|
9
9
|
`node_modules/@elevasis/sdk/reference/rules/organization-model.md`
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
When working in the monorepo template snapshot before dependencies are installed,
|
|
12
|
+
use the repo-local generated fallback:
|
|
13
|
+
|
|
14
|
+
`packages/sdk/reference/rules/organization-model.md`
|
|
15
|
+
|
|
16
|
+
If the generated fallback is stale or missing, use the source:
|
|
17
|
+
|
|
18
|
+
`packages/sdk/docs/agent-rules/organization-model.md`
|
|
19
|
+
|
|
20
|
+
Read the bundled rule first when available. This local file is intentionally kept
|
|
21
|
+
as a thin compatibility pointer for existing local rule references in skills,
|
|
22
|
+
sync notes, and older prompts.
|
|
@@ -8,4 +8,15 @@ Canonical rule source:
|
|
|
8
8
|
|
|
9
9
|
`node_modules/@elevasis/sdk/reference/rules/organization-os.md`
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
When working in the monorepo template snapshot before dependencies are installed,
|
|
12
|
+
use the repo-local generated fallback:
|
|
13
|
+
|
|
14
|
+
`packages/sdk/reference/rules/organization-os.md`
|
|
15
|
+
|
|
16
|
+
If the generated fallback is stale or missing, use the source:
|
|
17
|
+
|
|
18
|
+
`packages/sdk/docs/agent-rules/organization-os.md`
|
|
19
|
+
|
|
20
|
+
Read the bundled rule first when available. This local file is intentionally kept
|
|
21
|
+
as a thin compatibility pointer for existing local rule references in skills,
|
|
22
|
+
sync notes, and older prompts.
|