outbound-sdk 0.0.0-stage → 0.2.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/LICENSE +21 -0
- package/README.md +119 -2
- package/dist/alerts/index.d.ts +2 -0
- package/dist/alerts/index.js +140 -0
- package/dist/alerts/plugin.d.ts +58 -0
- package/dist/audit/index.d.ts +33 -0
- package/dist/audit/index.js +60 -0
- package/dist/benchmarks/index.d.ts +29 -0
- package/dist/benchmarks/index.js +72 -0
- package/dist/budget/index.d.ts +21 -0
- package/dist/budget/index.js +71 -0
- package/dist/cache/index.d.ts +31 -0
- package/dist/cache/index.js +11 -0
- package/dist/cards/content.d.ts +43 -0
- package/dist/cards/copy-cards.d.ts +2 -0
- package/dist/cards/format.d.ts +39 -0
- package/dist/cards/index.d.ts +9 -0
- package/dist/cards/index.js +2070 -0
- package/dist/cards/notify-cards.d.ts +14 -0
- package/dist/cards/ops-cards.d.ts +2 -0
- package/dist/cards/parts.d.ts +22 -0
- package/dist/cards/people-cards.d.ts +2 -0
- package/dist/cards/render.d.ts +28 -0
- package/dist/cards/sender-cards.d.ts +2 -0
- package/dist/cards/slack-rich.d.ts +19 -0
- package/dist/cards/slack-text.d.ts +10 -0
- package/dist/cards/slack.d.ts +21 -0
- package/dist/cards/spec.d.ts +86 -0
- package/dist/cards/tool-cards.d.ts +4 -0
- package/dist/chunks/chunk-4O2HRTTI.js +75 -0
- package/dist/chunks/chunk-4PSO6JEK.js +357 -0
- package/dist/chunks/chunk-6CVZOUHB.js +152 -0
- package/dist/chunks/chunk-AFU5E5QB.js +714 -0
- package/dist/chunks/chunk-DJ2IUQEU.js +111 -0
- package/dist/chunks/chunk-E7JHLNLG.js +187 -0
- package/dist/chunks/chunk-FHKSLCVW.js +154 -0
- package/dist/chunks/chunk-FKH5N47I.js +40 -0
- package/dist/chunks/chunk-HZCTYL22.js +29 -0
- package/dist/chunks/chunk-IPUYZD4O.js +25 -0
- package/dist/chunks/chunk-IVH3NMQZ.js +61 -0
- package/dist/chunks/chunk-LVYG7XZJ.js +45 -0
- package/dist/chunks/chunk-NAKXLBA6.js +30 -0
- package/dist/chunks/chunk-NAWZ73QS.js +22 -0
- package/dist/chunks/chunk-PMSSUWD7.js +636 -0
- package/dist/chunks/chunk-PURHK3JU.js +432 -0
- package/dist/chunks/chunk-R3Y56YVF.js +43 -0
- package/dist/chunks/chunk-RCZ7ZZFU.js +92 -0
- package/dist/chunks/chunk-SBIZDCRY.js +106 -0
- package/dist/chunks/chunk-U2D34ARZ.js +41 -0
- package/dist/chunks/chunk-UAT3JSJZ.js +331 -0
- package/dist/chunks/chunk-VQSCHOBV.js +111 -0
- package/dist/chunks/chunk-XC6CZP73.js +80 -0
- package/dist/chunks/chunk-XNFESPZH.js +2307 -0
- package/dist/chunks/chunk-YOTW5ESM.js +118 -0
- package/dist/cli/bin.d.ts +2 -0
- package/dist/cli/bin.js +35 -0
- package/dist/cli/commands.d.ts +19 -0
- package/dist/cli/config.d.ts +22 -0
- package/dist/cli/index.d.ts +17 -0
- package/dist/cli/index.js +30 -0
- package/dist/cli/mcp.d.ts +14 -0
- package/dist/cli/stdio.d.ts +9 -0
- package/dist/clients/index.d.ts +2 -0
- package/dist/clients/index.js +117 -0
- package/dist/clients/plugin.d.ts +42 -0
- package/dist/combine/account.d.ts +4 -0
- package/dist/combine/adapter.d.ts +9 -0
- package/dist/combine/index.d.ts +2 -0
- package/dist/combine/index.js +420 -0
- package/dist/combine/route.d.ts +24 -0
- package/dist/exporter/index.d.ts +29 -0
- package/dist/exporter/index.js +77 -0
- package/dist/failover/index.d.ts +11 -0
- package/dist/failover/index.js +45 -0
- package/dist/fixtures/index.d.ts +27 -0
- package/dist/fixtures/index.js +260 -0
- package/dist/fixtures/scrub.d.ts +5 -0
- package/dist/heyreach/account.d.ts +11 -0
- package/dist/heyreach/adapter.d.ts +5 -0
- package/dist/heyreach/capabilities.d.ts +70 -0
- package/dist/heyreach/client.d.ts +18 -0
- package/dist/heyreach/inbox.d.ts +7 -0
- package/dist/heyreach/index.d.ts +25 -0
- package/dist/heyreach/index.js +1931 -0
- package/dist/heyreach/leads.d.ts +4 -0
- package/dist/heyreach/lookup.d.ts +15 -0
- package/dist/heyreach/map-account.d.ts +31 -0
- package/dist/heyreach/map-sequence.d.ts +5 -0
- package/dist/heyreach/map-stats.d.ts +13 -0
- package/dist/heyreach/map.d.ts +37 -0
- package/dist/heyreach/native-organization.d.ts +128 -0
- package/dist/heyreach/native-voice.d.ts +106 -0
- package/dist/heyreach/native.d.ts +496 -0
- package/dist/heyreach/paging.d.ts +7 -0
- package/dist/heyreach/webhooks.d.ts +3 -0
- package/dist/identity/index.d.ts +3 -0
- package/dist/identity/index.js +159 -0
- package/dist/identity/keys.d.ts +9 -0
- package/dist/identity/plugin.d.ts +34 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.js +131 -0
- package/dist/insights/copy/copy-audit.d.ts +55 -0
- package/dist/insights/copy/copy-checks.d.ts +44 -0
- package/dist/insights/copy/copy-reuse.d.ts +59 -0
- package/dist/insights/copy/index.d.ts +67 -0
- package/dist/insights/copy/reply-timing.d.ts +63 -0
- package/dist/insights/copy/shared.d.ts +53 -0
- package/dist/insights/copy/step-funnel.d.ts +66 -0
- package/dist/insights/copy/variant-test.d.ts +64 -0
- package/dist/insights/define.d.ts +98 -0
- package/dist/insights/index.d.ts +10 -0
- package/dist/insights/index.js +4937 -0
- package/dist/insights/ops/anomalies.d.ts +80 -0
- package/dist/insights/ops/campaign-diagnosis.d.ts +39 -0
- package/dist/insights/ops/campaign-ranking.d.ts +56 -0
- package/dist/insights/ops/channel-mix.d.ts +44 -0
- package/dist/insights/ops/client-report.d.ts +76 -0
- package/dist/insights/ops/diagnosis-checks.d.ts +48 -0
- package/dist/insights/ops/index.d.ts +135 -0
- package/dist/insights/ops/period-comparison.d.ts +86 -0
- package/dist/insights/ops/pipeline-forecast.d.ts +44 -0
- package/dist/insights/ops/shared.d.ts +155 -0
- package/dist/insights/ops/tag-rollup.d.ts +32 -0
- package/dist/insights/people/account-summary.d.ts +68 -0
- package/dist/insights/people/dropped-replies.d.ts +51 -0
- package/dist/insights/people/find.d.ts +18 -0
- package/dist/insights/people/hot-leads.d.ts +67 -0
- package/dist/insights/people/index.d.ts +88 -0
- package/dist/insights/people/lead-collisions.d.ts +43 -0
- package/dist/insights/people/person-summary.d.ts +46 -0
- package/dist/insights/people/personalization-gaps.d.ts +60 -0
- package/dist/insights/people/read.d.ts +40 -0
- package/dist/insights/people/suppression-check.d.ts +53 -0
- package/dist/insights/plugin.d.ts +40 -0
- package/dist/insights/registry.d.ts +335 -0
- package/dist/insights/senders/bounce-watch.d.ts +70 -0
- package/dist/insights/senders/domain-health.d.ts +69 -0
- package/dist/insights/senders/index.d.ts +74 -0
- package/dist/insights/senders/read.d.ts +37 -0
- package/dist/insights/senders/sender-capacity.d.ts +67 -0
- package/dist/insights/senders/sender-load.d.ts +52 -0
- package/dist/insights/senders/settings-audit.d.ts +48 -0
- package/dist/insights/senders/warmup-readiness.d.ts +39 -0
- package/dist/insights/stats.d.ts +45 -0
- package/dist/insights/tools.d.ts +16 -0
- package/dist/insights/types.d.ts +4 -0
- package/dist/instantly/adapter-account.d.ts +5 -0
- package/dist/instantly/adapter-mail.d.ts +3 -0
- package/dist/instantly/adapter.d.ts +7 -0
- package/dist/instantly/capabilities.d.ts +85 -0
- package/dist/instantly/client.d.ts +24 -0
- package/dist/instantly/index.d.ts +27 -0
- package/dist/instantly/index.js +2627 -0
- package/dist/instantly/map-account.d.ts +38 -0
- package/dist/instantly/map-lead.d.ts +18 -0
- package/dist/instantly/map-stats.d.ts +25 -0
- package/dist/instantly/map.d.ts +22 -0
- package/dist/instantly/native-agents-sales.d.ts +161 -0
- package/dist/instantly/native-agents.d.ts +156 -0
- package/dist/instantly/native-campaigns.d.ts +101 -0
- package/dist/instantly/native-leads.d.ts +93 -0
- package/dist/instantly/native-params.d.ts +7 -0
- package/dist/instantly/native-search.d.ts +82 -0
- package/dist/instantly/native-senders.d.ts +182 -0
- package/dist/instantly/native-supersearch.d.ts +149 -0
- package/dist/instantly/native-workspace.d.ts +170 -0
- package/dist/instantly/native.d.ts +1081 -0
- package/dist/instantly/pages.d.ts +29 -0
- package/dist/instantly/stats.d.ts +5 -0
- package/dist/instantly/webhooks.d.ts +3 -0
- package/dist/internal/adapter.d.ts +211 -0
- package/dist/internal/capabilities.d.ts +104 -0
- package/dist/internal/client.d.ts +15 -0
- package/dist/internal/concurrency.d.ts +8 -0
- package/dist/internal/cursor.d.ts +10 -0
- package/dist/internal/engine/budget.d.ts +44 -0
- package/dist/internal/engine/engine.d.ts +45 -0
- package/dist/internal/engine/rate-store.d.ts +25 -0
- package/dist/internal/engine/request.d.ts +34 -0
- package/dist/internal/engine/retry.d.ts +21 -0
- package/dist/internal/engine/runtime.d.ts +13 -0
- package/dist/internal/entities-account.d.ts +205 -0
- package/dist/internal/entities.d.ts +493 -0
- package/dist/internal/env.d.ts +4 -0
- package/dist/internal/errors.d.ts +62 -0
- package/dist/internal/fields.d.ts +462 -0
- package/dist/internal/hooks.d.ts +55 -0
- package/dist/internal/json.d.ts +49 -0
- package/dist/internal/lead-fields.d.ts +21 -0
- package/dist/internal/lead-status.d.ts +13 -0
- package/dist/internal/limits.d.ts +34 -0
- package/dist/internal/metrics.d.ts +64 -0
- package/dist/internal/native.d.ts +81 -0
- package/dist/internal/outbound/api.d.ts +292 -0
- package/dist/internal/outbound/collections.d.ts +31 -0
- package/dist/internal/outbound/core.d.ts +36 -0
- package/dist/internal/outbound/create.d.ts +16 -0
- package/dist/internal/outbound/handles.d.ts +7 -0
- package/dist/internal/outbound/native.d.ts +4 -0
- package/dist/internal/outbound/operation-shared.d.ts +28 -0
- package/dist/internal/outbound/operations-account.d.ts +41 -0
- package/dist/internal/outbound/operations.d.ts +42 -0
- package/dist/internal/outbound/outbound.d.ts +67 -0
- package/dist/internal/outbound/plugins.d.ts +40 -0
- package/dist/internal/outbound/raw.d.ts +9 -0
- package/dist/internal/outbound/specs-account.d.ts +20 -0
- package/dist/internal/outbound/specs.d.ts +14 -0
- package/dist/internal/outbound/stats.d.ts +7 -0
- package/dist/internal/outbound/validate.d.ts +5 -0
- package/dist/internal/outbound/walker.d.ts +22 -0
- package/dist/internal/page.d.ts +14 -0
- package/dist/internal/record.d.ts +36 -0
- package/dist/internal/records.d.ts +7 -0
- package/dist/internal/redact.d.ts +18 -0
- package/dist/internal/ref.d.ts +16 -0
- package/dist/internal/sequence.d.ts +14 -0
- package/dist/internal/sha256.d.ts +6 -0
- package/dist/internal/text.d.ts +11 -0
- package/dist/internal/url.d.ts +9 -0
- package/dist/loader/index.d.ts +24 -0
- package/dist/loader/index.js +16 -0
- package/dist/memory/account-reads.d.ts +5 -0
- package/dist/memory/account.d.ts +81 -0
- package/dist/memory/adapter.d.ts +16 -0
- package/dist/memory/data.d.ts +137 -0
- package/dist/memory/demo.d.ts +7 -0
- package/dist/memory/index.d.ts +5 -0
- package/dist/memory/index.js +867 -0
- package/dist/memory/stats.d.ts +6 -0
- package/dist/memory/store.d.ts +18 -0
- package/dist/providers/index.d.ts +22 -0
- package/dist/providers/index.js +10 -0
- package/dist/reconcile/index.d.ts +2 -0
- package/dist/reconcile/index.js +72 -0
- package/dist/reconcile/plugin.d.ts +55 -0
- package/dist/redact/index.d.ts +2 -0
- package/dist/redact/index.js +197 -0
- package/dist/redact/plugin.d.ts +22 -0
- package/dist/redis/index.d.ts +41 -0
- package/dist/redis/index.js +114 -0
- package/dist/smartlead/account.d.ts +5 -0
- package/dist/smartlead/adapter.d.ts +5 -0
- package/dist/smartlead/capabilities.d.ts +87 -0
- package/dist/smartlead/client.d.ts +18 -0
- package/dist/smartlead/hmac.d.ts +7 -0
- package/dist/smartlead/index.d.ts +24 -0
- package/dist/smartlead/index.js +2329 -0
- package/dist/smartlead/leads.d.ts +9 -0
- package/dist/smartlead/lookup.d.ts +8 -0
- package/dist/smartlead/mail.d.ts +5 -0
- package/dist/smartlead/map-account.d.ts +34 -0
- package/dist/smartlead/map-messages.d.ts +31 -0
- package/dist/smartlead/map-stats.d.ts +36 -0
- package/dist/smartlead/map.d.ts +62 -0
- package/dist/smartlead/native-analytics.d.ts +242 -0
- package/dist/smartlead/native-campaigns.d.ts +211 -0
- package/dist/smartlead/native-inbox.d.ts +141 -0
- package/dist/smartlead/native-params.d.ts +12 -0
- package/dist/smartlead/native-services.d.ts +204 -0
- package/dist/smartlead/native.d.ts +785 -0
- package/dist/smartlead/shared.d.ts +29 -0
- package/dist/smartlead/stats.d.ts +5 -0
- package/dist/smartlead/webhooks.d.ts +3 -0
- package/dist/sync/index.d.ts +2 -0
- package/dist/sync/index.js +158 -0
- package/dist/sync/plugin.d.ts +58 -0
- package/dist/tools/account-tools.d.ts +21 -0
- package/dist/tools/ai-sdk.d.ts +8 -0
- package/dist/tools/ai-sdk.js +28 -0
- package/dist/tools/campaign-tools.d.ts +59 -0
- package/dist/tools/claude-agent.d.ts +18 -0
- package/dist/tools/claude-agent.js +42 -0
- package/dist/tools/index.d.ts +28 -0
- package/dist/tools/index.js +22 -0
- package/dist/tools/people-tools.d.ts +19 -0
- package/dist/tools/registry.d.ts +34 -0
- package/dist/tools/shared.d.ts +75 -0
- package/dist/tracing/index.d.ts +25 -0
- package/dist/tracing/index.js +69 -0
- package/dist/webhooks/index.d.ts +3 -0
- package/dist/webhooks/index.js +227 -0
- package/dist/webhooks/parse.d.ts +41 -0
- package/dist/webhooks/secret.d.ts +4 -0
- package/package.json +181 -4
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import type { Campaign, CampaignStatus, Channel, Lead, LeadEngagement, LeadProgress, LeadStatus, MailProvider, Message, MetricRow, Reply, ReplyCategory, Sender, SenderStatus, Sequence } from "../internal/entities.ts";
|
|
2
|
+
import type { MetricCounts } from "../internal/metrics.ts";
|
|
3
|
+
import type { Identity } from "../internal/record.ts";
|
|
4
|
+
import type { MemoryBlockEntry, MemoryHealth, MemoryList, MemoryPlacementTest, MemorySettings, MemoryTag, MemoryWebhook } from "./account.ts";
|
|
5
|
+
export interface MemoryVariant {
|
|
6
|
+
readonly key?: string;
|
|
7
|
+
readonly subject?: string;
|
|
8
|
+
readonly body?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface MemoryStep {
|
|
11
|
+
readonly action?: string;
|
|
12
|
+
readonly delayDays?: number;
|
|
13
|
+
readonly variants: readonly MemoryVariant[];
|
|
14
|
+
/** The step before this one. Defaults to the previous step in the list. */
|
|
15
|
+
readonly parentIndex?: number;
|
|
16
|
+
/** The outcome of the parent's condition that leads here. */
|
|
17
|
+
readonly branch?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface MemorySubsequence {
|
|
20
|
+
readonly id: string;
|
|
21
|
+
readonly name?: string;
|
|
22
|
+
readonly steps: readonly MemoryStep[];
|
|
23
|
+
}
|
|
24
|
+
export interface MemoryCampaign {
|
|
25
|
+
readonly id: string;
|
|
26
|
+
readonly name?: string;
|
|
27
|
+
readonly status?: CampaignStatus;
|
|
28
|
+
readonly channel?: Channel;
|
|
29
|
+
readonly createdAt?: string;
|
|
30
|
+
readonly tags?: readonly string[];
|
|
31
|
+
readonly steps?: readonly MemoryStep[];
|
|
32
|
+
readonly settings?: MemorySettings;
|
|
33
|
+
readonly subsequences?: readonly MemorySubsequence[];
|
|
34
|
+
}
|
|
35
|
+
export interface MemorySender {
|
|
36
|
+
readonly id: string;
|
|
37
|
+
readonly address?: string;
|
|
38
|
+
readonly linkedinUrl?: string;
|
|
39
|
+
readonly name?: string;
|
|
40
|
+
readonly status?: SenderStatus;
|
|
41
|
+
readonly dailyLimit?: number;
|
|
42
|
+
readonly mailProvider?: MailProvider;
|
|
43
|
+
readonly tags?: readonly string[];
|
|
44
|
+
readonly warmup?: {
|
|
45
|
+
readonly enabled: boolean;
|
|
46
|
+
readonly score?: number;
|
|
47
|
+
};
|
|
48
|
+
/** The campaigns this sender is attached to. */
|
|
49
|
+
readonly campaignIds?: readonly string[];
|
|
50
|
+
readonly health?: MemoryHealth;
|
|
51
|
+
}
|
|
52
|
+
export interface MemoryLead {
|
|
53
|
+
readonly id: string;
|
|
54
|
+
readonly campaignId?: string;
|
|
55
|
+
readonly email?: string;
|
|
56
|
+
readonly linkedinUrl?: string;
|
|
57
|
+
readonly firstName?: string;
|
|
58
|
+
readonly lastName?: string;
|
|
59
|
+
readonly company?: string;
|
|
60
|
+
readonly title?: string;
|
|
61
|
+
/** The headline. `progress` and the outcome flags follow from it unless given. */
|
|
62
|
+
readonly status?: LeadStatus;
|
|
63
|
+
readonly progress?: LeadProgress;
|
|
64
|
+
readonly replied?: boolean;
|
|
65
|
+
readonly bounced?: boolean;
|
|
66
|
+
readonly unsubscribed?: boolean;
|
|
67
|
+
readonly custom?: Readonly<Record<string, string>>;
|
|
68
|
+
readonly createdAt?: string;
|
|
69
|
+
readonly engagement?: Partial<LeadEngagement>;
|
|
70
|
+
readonly interest?: string;
|
|
71
|
+
readonly interestCategory?: ReplyCategory;
|
|
72
|
+
readonly companyLinkedinUrl?: string;
|
|
73
|
+
readonly location?: string;
|
|
74
|
+
readonly phone?: string;
|
|
75
|
+
readonly website?: string;
|
|
76
|
+
readonly tags?: readonly string[];
|
|
77
|
+
/** The saved lists the lead is on. */
|
|
78
|
+
readonly listIds?: readonly string[];
|
|
79
|
+
}
|
|
80
|
+
export interface MemoryMessage {
|
|
81
|
+
readonly id: string;
|
|
82
|
+
readonly direction: "in" | "out";
|
|
83
|
+
readonly sentAt: string;
|
|
84
|
+
readonly campaignId?: string;
|
|
85
|
+
readonly leadId?: string;
|
|
86
|
+
readonly senderId?: string;
|
|
87
|
+
readonly stepIndex?: number;
|
|
88
|
+
readonly variantKey?: string;
|
|
89
|
+
readonly threadId?: string;
|
|
90
|
+
readonly subject?: string;
|
|
91
|
+
readonly body?: string;
|
|
92
|
+
/** Inbound only. */
|
|
93
|
+
readonly category?: ReplyCategory;
|
|
94
|
+
/** Inbound only. */
|
|
95
|
+
readonly isAuto?: boolean;
|
|
96
|
+
/** Inbound only. */
|
|
97
|
+
readonly unread?: boolean;
|
|
98
|
+
}
|
|
99
|
+
export interface MemoryStats {
|
|
100
|
+
/** `YYYY-MM-DD`. */
|
|
101
|
+
readonly date: string;
|
|
102
|
+
readonly campaignId: string;
|
|
103
|
+
/** Set for a per-sender row. */
|
|
104
|
+
readonly senderId?: string;
|
|
105
|
+
/** Set for a per-step row. */
|
|
106
|
+
readonly stepIndex?: number;
|
|
107
|
+
/** Set, with `stepIndex`, for one variant of a step, the way a vendor that splits step stats by variant reports it. */
|
|
108
|
+
readonly variantKey?: string;
|
|
109
|
+
readonly counts: Partial<MetricCounts>;
|
|
110
|
+
}
|
|
111
|
+
export interface MemoryData {
|
|
112
|
+
readonly campaigns?: readonly MemoryCampaign[];
|
|
113
|
+
readonly senders?: readonly MemorySender[];
|
|
114
|
+
readonly leads?: readonly MemoryLead[];
|
|
115
|
+
readonly messages?: readonly MemoryMessage[];
|
|
116
|
+
readonly stats?: readonly MemoryStats[];
|
|
117
|
+
readonly lists?: readonly MemoryList[];
|
|
118
|
+
readonly blocklist?: readonly MemoryBlockEntry[];
|
|
119
|
+
readonly tags?: readonly MemoryTag[];
|
|
120
|
+
readonly webhooks?: readonly MemoryWebhook[];
|
|
121
|
+
readonly placementTests?: readonly MemoryPlacementTest[];
|
|
122
|
+
}
|
|
123
|
+
export declare const toCampaign: (identity: Identity, seed: MemoryCampaign) => Campaign;
|
|
124
|
+
export declare const toSequence: (identity: Identity, seed: MemoryCampaign) => Sequence;
|
|
125
|
+
export declare const toSubsequence: (identity: Identity, campaign: MemoryCampaign, seed: MemorySubsequence) => Sequence;
|
|
126
|
+
export declare const toSender: (identity: Identity, seed: MemorySender) => Sender;
|
|
127
|
+
export declare const toLead: (identity: Identity, seed: MemoryLead) => Lead;
|
|
128
|
+
export declare const toMessage: (identity: Identity, seed: MemoryMessage, channel: Channel, includeBody: boolean) => Message;
|
|
129
|
+
export declare const toReply: (identity: Identity, seed: MemoryMessage, channel: Channel, includeBody: boolean) => Reply;
|
|
130
|
+
export interface MetricIdentity extends Identity {
|
|
131
|
+
readonly scope: MetricRow["scope"];
|
|
132
|
+
readonly scopeId: string;
|
|
133
|
+
readonly date: string | null;
|
|
134
|
+
readonly stepIndex: number | null;
|
|
135
|
+
readonly variantKey: string | null;
|
|
136
|
+
}
|
|
137
|
+
export declare const toMetricRow: (identity: MetricIdentity, counts: MetricCounts) => MetricRow;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { MemoryData } from "./data.ts";
|
|
2
|
+
/**
|
|
3
|
+
* A small made-up dataset for demos and docs: two campaigns, two mailboxes,
|
|
4
|
+
* three leads, two days of stats, and one list, tag, webhook and block list
|
|
5
|
+
* entry. No real people or companies.
|
|
6
|
+
*/
|
|
7
|
+
export declare const demoData: () => MemoryData;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { memory } from "./adapter.ts";
|
|
2
|
+
export type { MemoryOptions } from "./adapter.ts";
|
|
3
|
+
export type { MemoryBlockEntry, MemoryHealth, MemoryList, MemorySettings, MemoryTag, MemoryWebhook, } from "./account.ts";
|
|
4
|
+
export type { MemoryCampaign, MemoryData, MemoryLead, MemoryMessage, MemorySender, MemoryStats, MemoryStep, MemorySubsequence, MemoryVariant, } from "./data.ts";
|
|
5
|
+
export { demoData } from "./demo.ts";
|