@elevasis/sdk 1.36.4 → 1.37.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 +213 -77
- package/dist/index.d.ts +93 -7
- package/dist/index.js +78 -32
- package/dist/node/index.d.ts +6 -5
- package/dist/test-utils/index.d.ts +6 -5
- package/dist/test-utils/index.js +67 -31
- package/dist/worker/index.js +7 -11
- package/package.json +2 -2
- package/reference/claude-config/skills/project/SKILL.md +22 -0
- package/reference/claude-config/sync-notes/2026-06-14-session-ux-and-project-cli-json.md +33 -0
- package/reference/claude-config/sync-notes/2026-06-14-shared-session-conversation-view.md +26 -0
- package/reference/claude-config/sync-notes/2026-06-15-session-chat-zero-wiring.md +46 -0
- package/reference/claude-config/sync-notes/2026-06-17-agent-session-ux-features.md +34 -0
- package/reference/rules/vibe.md +1 -0
- package/reference/scaffold/recipes/extend-lead-gen.md +492 -332
- package/reference/scaffold/reference/contracts.md +14 -21
|
@@ -2352,21 +2352,18 @@ export interface AcqContact {
|
|
|
2352
2352
|
/**
|
|
2353
2353
|
* Live-scan aggregate telemetry for a single list, computed on demand from
|
|
2354
2354
|
* the list junction tables and current contact deliverability state.
|
|
2355
|
-
* `stageCounts` are attempted counts from list-row processing_state
|
|
2355
|
+
* `stageCounts` are attempted counts from list-row processing_state, keyed
|
|
2356
|
+
* by the tenant's declared lead-gen stage catalog IDs. The canonical Elevasis
|
|
2357
|
+
* pipeline stages (`populated`, `extracted`, `qualified`, `discovered`,
|
|
2358
|
+
* `verified`, `personalized`, `uploaded`) are included when declared in the
|
|
2359
|
+
* tenant's stage catalog; tenants may declare additional or different stages.
|
|
2356
2360
|
*/
|
|
2357
2361
|
export interface ListTelemetry {
|
|
2358
2362
|
listId: string
|
|
2359
2363
|
totalCompanies: number
|
|
2360
2364
|
totalContacts: number
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
extracted: number
|
|
2364
|
-
qualified: number
|
|
2365
|
-
discovered: number
|
|
2366
|
-
verified: number
|
|
2367
|
-
personalized: number
|
|
2368
|
-
uploaded: number
|
|
2369
|
-
}
|
|
2365
|
+
/** Stage attempt counts keyed by the tenant's declared stage catalog IDs. */
|
|
2366
|
+
stageCounts: Record<string, number>
|
|
2370
2367
|
deliverability: {
|
|
2371
2368
|
valid: number
|
|
2372
2369
|
risky: number
|
|
@@ -2383,17 +2380,13 @@ export interface ListTelemetry {
|
|
|
2383
2380
|
|
|
2384
2381
|
```typescript
|
|
2385
2382
|
export const ListStageCountsSchema = z.object({
|
|
2386
|
-
// Attempted counts by
|
|
2387
|
-
//
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
verified: z.number().int(),
|
|
2394
|
-
personalized: z.number().int(),
|
|
2395
|
-
uploaded: z.number().int()
|
|
2396
|
-
}),
|
|
2383
|
+
// Attempted counts keyed by the tenant's declared lead-gen stage catalog IDs.
|
|
2384
|
+
// The catalog is tenant-owned and OM-derived at compute time; the schema
|
|
2385
|
+
// validates the transport shape (string keys → integer values) rather than
|
|
2386
|
+
// a fixed key set, so tenants with custom stages receive complete telemetry.
|
|
2387
|
+
// Canonical Elevasis stages (populated, extracted, qualified, discovered,
|
|
2388
|
+
// verified, personalized, uploaded) are included when declared in the catalog.
|
|
2389
|
+
stageCounts: z.record(z.string().min(1), z.number().int()),
|
|
2397
2390
|
deliverability: z.object({
|
|
2398
2391
|
valid: z.number().int(),
|
|
2399
2392
|
risky: z.number().int(),
|