outbound-sdk 0.1.0 → 0.2.1
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/README.md +0 -2
- package/dist/alerts/index.js +5 -1
- package/dist/audit/index.js +2 -2
- package/dist/benchmarks/index.js +5 -3
- package/dist/budget/index.js +31 -10
- package/dist/cache/index.js +2 -2
- package/dist/cards/index.js +1 -1
- package/dist/chunks/{chunk-WAM6N4OF.js → chunk-4PSO6JEK.js} +107 -19
- package/dist/chunks/chunk-6CVZOUHB.js +152 -0
- package/dist/chunks/{chunk-OCV66TS2.js → chunk-AFU5E5QB.js} +17 -8
- package/dist/chunks/{chunk-R6AM4GJR.js → chunk-DJ2IUQEU.js} +24 -18
- package/dist/chunks/{chunk-LOXBLQ3I.js → chunk-E7JHLNLG.js} +9 -2
- package/dist/chunks/{chunk-LNCOGBMI.js → chunk-FHKSLCVW.js} +13 -3
- package/dist/chunks/chunk-FKH5N47I.js +40 -0
- package/dist/chunks/chunk-HZCTYL22.js +29 -0
- package/dist/chunks/{chunk-CMQ5ZHLZ.js → chunk-IPUYZD4O.js} +1 -1
- package/dist/chunks/{chunk-VURTOVGI.js → chunk-IVH3NMQZ.js} +1 -1
- package/dist/chunks/{chunk-ZGHQYZEH.js → chunk-LVYG7XZJ.js} +1 -1
- package/dist/chunks/chunk-NAKXLBA6.js +30 -0
- package/dist/chunks/{chunk-7BCYLIDG.js → chunk-P3IJBJUI.js} +203 -34
- package/dist/chunks/{chunk-Q465X22Y.js → chunk-PURHK3JU.js} +93 -209
- package/dist/chunks/{chunk-F7MKFVIG.js → chunk-R3Y56YVF.js} +2 -2
- package/dist/chunks/chunk-RCZ7ZZFU.js +92 -0
- package/dist/chunks/chunk-SBIZDCRY.js +106 -0
- package/dist/chunks/{chunk-IBC52BX3.js → chunk-U2D34ARZ.js} +20 -3
- package/dist/chunks/chunk-UAT3JSJZ.js +331 -0
- package/dist/chunks/{chunk-QZNNCXXD.js → chunk-VQSCHOBV.js} +20 -1
- package/dist/chunks/{chunk-B7V6EOAC.js → chunk-XNFESPZH.js} +160 -126
- package/dist/chunks/{chunk-WW746NJF.js → chunk-YOTW5ESM.js} +25 -1
- package/dist/cli/bin.js +14 -13
- package/dist/cli/commands.d.ts +3 -0
- package/dist/cli/config.d.ts +22 -0
- package/dist/cli/index.d.ts +5 -1
- package/dist/cli/index.js +20 -15
- package/dist/cli/stdio.d.ts +9 -0
- package/dist/cli/version.d.ts +2 -0
- package/dist/clients/index.js +13 -3
- package/dist/combine/account.d.ts +1 -1
- package/dist/combine/index.js +90 -15
- package/dist/combine/route.d.ts +7 -0
- package/dist/exporter/index.js +2 -2
- package/dist/failover/index.js +4 -4
- package/dist/fixtures/index.js +40 -21
- package/dist/heyreach/account.d.ts +1 -1
- package/dist/heyreach/adapter.d.ts +1 -1
- package/dist/heyreach/capabilities.d.ts +2 -0
- package/dist/heyreach/client.d.ts +3 -5
- package/dist/heyreach/index.d.ts +7 -0
- package/dist/heyreach/index.js +428 -205
- package/dist/heyreach/leads.d.ts +4 -0
- package/dist/heyreach/map-account.d.ts +7 -1
- package/dist/heyreach/map-stats.d.ts +8 -5
- package/dist/heyreach/map.d.ts +3 -1
- package/dist/heyreach/webhooks.d.ts +1 -0
- package/dist/identity/index.js +22 -11
- package/dist/index.d.ts +1 -4
- package/dist/index.js +29 -17
- package/dist/insights/copy/index.d.ts +2 -2
- package/dist/insights/copy/variant-test.d.ts +2 -2
- package/dist/insights/index.js +248 -184
- package/dist/insights/ops/anomalies.d.ts +3 -3
- package/dist/insights/ops/index.d.ts +2 -2
- package/dist/insights/ops/shared.d.ts +7 -1
- package/dist/insights/registry.d.ts +4 -4
- package/dist/instantly/adapter-account.d.ts +1 -1
- package/dist/instantly/capabilities.d.ts +2 -0
- package/dist/instantly/client.d.ts +4 -9
- package/dist/instantly/index.d.ts +7 -0
- package/dist/instantly/index.js +410 -155
- package/dist/instantly/map-account.d.ts +20 -5
- package/dist/instantly/map-stats.d.ts +9 -6
- package/dist/instantly/map.d.ts +0 -2
- package/dist/instantly/native-agents-sales.d.ts +41 -41
- package/dist/instantly/native-agents.d.ts +44 -44
- package/dist/instantly/native-campaigns.d.ts +21 -21
- package/dist/instantly/native-leads.d.ts +12 -12
- package/dist/instantly/native-params.d.ts +2 -19
- package/dist/instantly/native-search.d.ts +10 -10
- package/dist/instantly/native-senders.d.ts +56 -56
- package/dist/instantly/native-supersearch.d.ts +33 -33
- package/dist/instantly/native-workspace.d.ts +45 -45
- package/dist/instantly/native.d.ts +262 -262
- package/dist/instantly/webhooks.d.ts +1 -0
- package/dist/internal/adapter.d.ts +24 -2
- package/dist/internal/capabilities.d.ts +18 -0
- package/dist/internal/client.d.ts +15 -0
- package/dist/internal/concurrency.d.ts +8 -0
- package/dist/internal/engine/request.d.ts +7 -0
- package/dist/internal/entities-account.d.ts +73 -3
- package/dist/internal/entities.d.ts +116 -12
- package/dist/internal/errors.d.ts +6 -1
- package/dist/internal/fields.d.ts +462 -0
- package/dist/internal/json.d.ts +9 -0
- package/dist/internal/lead-fields.d.ts +21 -0
- package/dist/internal/lead-status.d.ts +13 -0
- package/dist/internal/metrics.d.ts +14 -2
- package/dist/internal/native.d.ts +15 -0
- package/dist/internal/outbound/api.d.ts +29 -4
- package/dist/internal/outbound/operations-account.d.ts +12 -0
- package/dist/internal/outbound/outbound.d.ts +6 -3
- package/dist/internal/outbound/specs-account.d.ts +5 -1
- package/dist/internal/page.d.ts +14 -0
- package/dist/internal/record.d.ts +17 -0
- package/dist/internal/records.d.ts +7 -0
- package/dist/internal/sequence.d.ts +14 -0
- package/dist/internal/sha256.d.ts +2 -0
- package/dist/loader/index.d.ts +14 -2
- package/dist/loader/index.js +8 -4
- package/dist/memory/account-reads.d.ts +1 -1
- package/dist/memory/account.d.ts +15 -1
- package/dist/memory/data.d.ts +17 -2
- package/dist/memory/index.js +110 -35
- package/dist/redact/index.js +11 -6
- package/dist/redact/plugin.d.ts +1 -1
- package/dist/smartlead/account.d.ts +1 -1
- package/dist/smartlead/adapter.d.ts +1 -1
- package/dist/smartlead/capabilities.d.ts +2 -0
- package/dist/smartlead/client.d.ts +6 -11
- package/dist/smartlead/hmac.d.ts +0 -2
- package/dist/smartlead/index.d.ts +7 -0
- package/dist/smartlead/index.js +731 -572
- package/dist/smartlead/leads.d.ts +4 -1
- package/dist/smartlead/map-account.d.ts +17 -5
- package/dist/smartlead/map-stats.d.ts +9 -10
- package/dist/smartlead/map.d.ts +15 -5
- package/dist/smartlead/native-analytics.d.ts +87 -87
- package/dist/smartlead/native-campaigns.d.ts +64 -64
- package/dist/smartlead/native-inbox.d.ts +51 -51
- package/dist/smartlead/native-params.d.ts +2 -23
- package/dist/smartlead/native-services.d.ts +34 -34
- package/dist/smartlead/native.d.ts +236 -236
- package/dist/smartlead/shared.d.ts +6 -5
- package/dist/smartlead/webhooks.d.ts +1 -0
- package/dist/sync/index.js +3 -3
- package/dist/tools/ai-sdk.js +7 -5
- package/dist/tools/campaign-tools.d.ts +1 -1
- package/dist/tools/claude-agent.js +7 -5
- package/dist/tools/index.js +8 -6
- package/dist/tracing/index.js +2 -2
- package/dist/webhooks/index.js +10 -9
- package/package.json +1 -1
- package/dist/chunks/chunk-FZF6CLPX.js +0 -232
- package/dist/chunks/chunk-GPEJG34O.js +0 -53
- package/dist/chunks/chunk-HEC7XFFH.js +0 -65
- package/dist/chunks/chunk-QTB747K4.js +0 -100
- package/dist/chunks/chunk-TIJKJJDW.js +0 -6
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Adapter } from "../internal/adapter.ts";
|
|
2
|
+
import type { HeyReachClient } from "./client.ts";
|
|
3
|
+
/** One lead by profile URL, and the lead listings. */
|
|
4
|
+
export declare const leadReaders: (client: HeyReachClient) => Required<Pick<Adapter, "getLead" | "listLeads">>;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
import type { BlockEntry, LeadList, SenderHealth, WebhookSubscription } from "../internal/entities-account.ts";
|
|
1
|
+
import type { BlockEntry, CampaignProgress, LeadList, SenderHealth, WebhookSubscription } from "../internal/entities-account.ts";
|
|
2
2
|
import type { JsonObject } from "../internal/json.ts";
|
|
3
3
|
import type { Identity } from "../internal/record.ts";
|
|
4
|
+
/**
|
|
5
|
+
* `GET /campaign/GetById`: `progressStats` counts the campaign's leads by how
|
|
6
|
+
* far they got. `totalUsersExcluded` (leads kept out by an exclusion rule) has
|
|
7
|
+
* no equivalent and stays in raw.
|
|
8
|
+
*/
|
|
9
|
+
export declare const toCampaignProgress: (identity: Identity, campaignId: string, raw: JsonObject) => CampaignProgress;
|
|
4
10
|
/** `POST /list/GetAll`: `listType` is `USER_LIST` or `COMPANY_LIST`. */
|
|
5
11
|
export declare const toLeadList: (identity: Identity, raw: JsonObject) => LeadList;
|
|
6
12
|
/**
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import type { MetricRow
|
|
1
|
+
import type { MetricRow } from "../internal/entities.ts";
|
|
2
2
|
import type { Json } from "../internal/json.ts";
|
|
3
|
+
import type { RowScope } from "../internal/metrics.ts";
|
|
3
4
|
import type { Identity } from "../internal/record.ts";
|
|
4
|
-
export
|
|
5
|
-
readonly scope: MetricScope;
|
|
6
|
-
readonly scopeId: string;
|
|
7
|
-
}
|
|
5
|
+
export type { RowScope } from "../internal/metrics.ts";
|
|
8
6
|
export declare const totalRow: (scope: RowScope, body: Json) => MetricRow;
|
|
9
7
|
/** One row per key of `byDayStats`, oldest first. */
|
|
10
8
|
export declare const dailyRows: (scope: RowScope, body: Json) => MetricRow[];
|
|
9
|
+
/**
|
|
10
|
+
* `POST /stats/GetOverallStatsByCampaign`: `overallStats` is an array with a
|
|
11
|
+
* row per campaign, and each day of `byDayStats` is such an array.
|
|
12
|
+
*/
|
|
13
|
+
export declare const campaignRows: (identity: Identity, body: Json, by: "day" | "total") => MetricRow[];
|
package/dist/heyreach/map.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Campaign, CampaignStatus, Lead, Sender } from "../internal/entities.ts";
|
|
1
|
+
import type { Campaign, CampaignStatus, Lead, ReplyCategory, Sender } from "../internal/entities.ts";
|
|
2
2
|
import type { Json, JsonObject } from "../internal/json.ts";
|
|
3
3
|
import type { Identity } from "../internal/record.ts";
|
|
4
4
|
/** The HeyReach statuses behind one of ours, for the `statuses` filter. */
|
|
@@ -8,6 +8,8 @@ export declare const toCampaign: (identity: Identity, raw: JsonObject) => Campai
|
|
|
8
8
|
export declare const toSender: (identity: Identity, raw: JsonObject) => Sender;
|
|
9
9
|
/** A lead's manual tags: `tags` is an array of names. */
|
|
10
10
|
export declare const tagNames: (value: Json | undefined) => string[];
|
|
11
|
+
/** What a profile's newest auto-tag means, or `null`. */
|
|
12
|
+
export declare const interestCategory: (profile: Json | undefined) => ReplyCategory | null;
|
|
11
13
|
/**
|
|
12
14
|
* `POST /lead/GetLead` and a row of `POST /list/GetLeadsFromList`: a profile
|
|
13
15
|
* with no campaign and no status. GetLead carries no tags, so they are read
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import type { EventFormat } from "../internal/adapter.ts";
|
|
2
|
+
export declare const EVENT_TYPES: Map<string, "unknown" | "campaign.status_changed" | "lead.status_changed" | "lead.unsubscribed" | "linkedin.connection_accepted" | "linkedin.connection_sent" | "linkedin.message_received" | "linkedin.message_sent" | "meeting.booked" | "message.bounced" | "message.clicked" | "message.opened" | "message.sent" | "reply.categorized" | "reply.received" | "sender.status_changed">;
|
|
2
3
|
export declare const heyreachEvents: (provider: string) => EventFormat;
|
package/dist/identity/index.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
mapConcurrent
|
|
3
|
+
} from "../chunks/chunk-HZCTYL22.js";
|
|
1
4
|
import {
|
|
2
5
|
profileSlug
|
|
3
6
|
} from "../chunks/chunk-NAWZ73QS.js";
|
|
4
7
|
import {
|
|
5
8
|
OutboundError
|
|
6
|
-
} from "../chunks/chunk-
|
|
7
|
-
import "../chunks/chunk-
|
|
9
|
+
} from "../chunks/chunk-E7JHLNLG.js";
|
|
10
|
+
import "../chunks/chunk-VQSCHOBV.js";
|
|
8
11
|
|
|
9
12
|
// src/identity/keys.ts
|
|
10
13
|
var emailKey = (email) => {
|
|
@@ -71,15 +74,23 @@ var filterFor = (key) => key.startsWith("email:") ? { email: key.slice("email:".
|
|
|
71
74
|
};
|
|
72
75
|
var find = async (outbound, keys, found) => {
|
|
73
76
|
const asked = /* @__PURE__ */ new Set();
|
|
74
|
-
for (let
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
77
|
+
for (let round = [...keys].filter((key) => !asked.has(key)); round.length > 0; round = [...keys].filter((key) => !asked.has(key))) {
|
|
78
|
+
for (const key of round) {
|
|
79
|
+
asked.add(key);
|
|
80
|
+
}
|
|
81
|
+
const answers = await mapConcurrent(
|
|
82
|
+
round,
|
|
83
|
+
(key) => outbound.leads.listAll(filterFor(key)).toArray()
|
|
84
|
+
);
|
|
85
|
+
for (const [index, leads] of answers.entries()) {
|
|
86
|
+
const asking = round[index];
|
|
87
|
+
for (const lead of leads) {
|
|
88
|
+
const leadKeys = keysOf(lead);
|
|
89
|
+
if (asking !== void 0 && leadKeys.includes(asking)) {
|
|
90
|
+
found.set(`${lead.ref} ${lead.campaignRef ?? ""}`, lead);
|
|
91
|
+
for (const key of leadKeys) {
|
|
92
|
+
keys.add(key);
|
|
93
|
+
}
|
|
83
94
|
}
|
|
84
95
|
}
|
|
85
96
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -7,10 +7,7 @@ export type { Operation, OperationKind, OperationOutput, OutboundRecord, } from
|
|
|
7
7
|
export type { NextOperation, OperationInfo, OutboundPlugin, } from "./internal/outbound/plugins.ts";
|
|
8
8
|
export { makeErrorMapper, OutboundError } from "./internal/errors.ts";
|
|
9
9
|
export type { ErrorMapper, ErrorMapperOptions, HttpFailure, OutboundErrorCode, OutboundErrorOptions, } from "./internal/errors.ts";
|
|
10
|
-
export
|
|
11
|
-
export type { Campaign, CampaignStatus, Channel, EventType, Evidence, Lead, LeadEngagement, LeadStatus, Message, MetricRow, MetricScope, OutboundEvent, Reply, ReplyCategory, Sender, SenderStatus, Sequence, SequenceStep, SequenceVariant, Workspace, } from "./internal/entities.ts";
|
|
12
|
-
export { blockEntrySchema, campaignSettingsSchema, leadListSchema, senderHealthSchema, tagSchema, webhookSubscriptionSchema, } from "./internal/entities-account.ts";
|
|
13
|
-
export type { BlockEntry, CampaignSettings, Entity, LeadList, SenderHealth, SendingWindow, Tag, WebhookSubscription, } from "./internal/entities-account.ts";
|
|
10
|
+
export * from "./internal/records.ts";
|
|
14
11
|
export { defineNative } from "./internal/native.ts";
|
|
15
12
|
export type { NativeCatalog, NativeParam, NativeParamsOf, NativeRead, NoNative, } from "./internal/native.ts";
|
|
16
13
|
export { CAPABILITY_KEYS, intersectCapabilities, NO_CAPABILITIES, resolveCapabilities, } from "./internal/capabilities.ts";
|
package/dist/index.js
CHANGED
|
@@ -1,49 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_SHARE,
|
|
3
3
|
Outbound,
|
|
4
|
-
blockEntrySchema,
|
|
5
|
-
campaignSettingsSchema,
|
|
6
4
|
createOutbound,
|
|
7
|
-
fullJitterBackoff
|
|
8
|
-
|
|
9
|
-
senderHealthSchema,
|
|
10
|
-
tagSchema,
|
|
11
|
-
webhookSubscriptionSchema
|
|
12
|
-
} from "./chunks/chunk-B7V6EOAC.js";
|
|
5
|
+
fullJitterBackoff
|
|
6
|
+
} from "./chunks/chunk-XNFESPZH.js";
|
|
13
7
|
import {
|
|
14
8
|
MemoryRateLimitStore
|
|
15
9
|
} from "./chunks/chunk-4O2HRTTI.js";
|
|
16
10
|
import {
|
|
17
11
|
defineNative
|
|
18
|
-
} from "./chunks/chunk-
|
|
12
|
+
} from "./chunks/chunk-NAKXLBA6.js";
|
|
19
13
|
import {
|
|
20
14
|
METRIC_DEFINITIONS,
|
|
21
15
|
computeRates,
|
|
22
16
|
emptyCounts,
|
|
23
17
|
sumCounts
|
|
24
|
-
} from "./chunks/chunk-
|
|
18
|
+
} from "./chunks/chunk-YOTW5ESM.js";
|
|
25
19
|
import {
|
|
26
20
|
profileSlug
|
|
27
21
|
} from "./chunks/chunk-NAWZ73QS.js";
|
|
28
22
|
import {
|
|
29
23
|
sha256Hex,
|
|
30
24
|
stableId
|
|
31
|
-
} from "./chunks/chunk-
|
|
25
|
+
} from "./chunks/chunk-FHKSLCVW.js";
|
|
32
26
|
import {
|
|
33
27
|
CAPABILITY_KEYS,
|
|
34
28
|
NO_CAPABILITIES,
|
|
29
|
+
blockEntrySchema,
|
|
30
|
+
campaignProgressSchema,
|
|
31
|
+
campaignSettingsSchema,
|
|
35
32
|
intersectCapabilities,
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
leadListSchema,
|
|
34
|
+
placementTestSchema,
|
|
35
|
+
resolveCapabilities,
|
|
36
|
+
resolveFields,
|
|
37
|
+
senderHealthSchema,
|
|
38
|
+
tagSchema,
|
|
39
|
+
webhookSubscriptionSchema
|
|
40
|
+
} from "./chunks/chunk-UAT3JSJZ.js";
|
|
38
41
|
import {
|
|
39
42
|
SCHEMA_VERSION,
|
|
40
43
|
campaignSchema,
|
|
41
44
|
campaignStatusSchema,
|
|
42
45
|
channelSchema,
|
|
46
|
+
eventDataSchema,
|
|
43
47
|
eventTypeSchema,
|
|
44
48
|
evidenceSchema,
|
|
49
|
+
leadProgressSchema,
|
|
45
50
|
leadSchema,
|
|
46
51
|
leadStatusSchema,
|
|
52
|
+
mailProviderSchema,
|
|
47
53
|
messageSchema,
|
|
48
54
|
metricRowSchema,
|
|
49
55
|
metricScopeSchema,
|
|
@@ -54,19 +60,19 @@ import {
|
|
|
54
60
|
senderStatusSchema,
|
|
55
61
|
sequenceSchema,
|
|
56
62
|
workspaceSchema
|
|
57
|
-
} from "./chunks/chunk-
|
|
63
|
+
} from "./chunks/chunk-4PSO6JEK.js";
|
|
58
64
|
import {
|
|
59
65
|
makeRef,
|
|
60
66
|
parseRef
|
|
61
|
-
} from "./chunks/chunk-
|
|
67
|
+
} from "./chunks/chunk-LVYG7XZJ.js";
|
|
62
68
|
import {
|
|
63
69
|
OutboundError,
|
|
64
70
|
REDACTED_EMAIL,
|
|
65
71
|
REDACTED_KEY,
|
|
66
72
|
makeErrorMapper,
|
|
67
73
|
redactText
|
|
68
|
-
} from "./chunks/chunk-
|
|
69
|
-
import "./chunks/chunk-
|
|
74
|
+
} from "./chunks/chunk-E7JHLNLG.js";
|
|
75
|
+
import "./chunks/chunk-VQSCHOBV.js";
|
|
70
76
|
export {
|
|
71
77
|
CAPABILITY_KEYS,
|
|
72
78
|
DEFAULT_SHARE,
|
|
@@ -79,6 +85,7 @@ export {
|
|
|
79
85
|
REDACTED_KEY,
|
|
80
86
|
SCHEMA_VERSION,
|
|
81
87
|
blockEntrySchema,
|
|
88
|
+
campaignProgressSchema,
|
|
82
89
|
campaignSchema,
|
|
83
90
|
campaignSettingsSchema,
|
|
84
91
|
campaignStatusSchema,
|
|
@@ -87,13 +94,16 @@ export {
|
|
|
87
94
|
createOutbound,
|
|
88
95
|
defineNative,
|
|
89
96
|
emptyCounts,
|
|
97
|
+
eventDataSchema,
|
|
90
98
|
eventTypeSchema,
|
|
91
99
|
evidenceSchema,
|
|
92
100
|
fullJitterBackoff,
|
|
93
101
|
intersectCapabilities,
|
|
94
102
|
leadListSchema,
|
|
103
|
+
leadProgressSchema,
|
|
95
104
|
leadSchema,
|
|
96
105
|
leadStatusSchema,
|
|
106
|
+
mailProviderSchema,
|
|
97
107
|
makeErrorMapper,
|
|
98
108
|
makeRef,
|
|
99
109
|
messageSchema,
|
|
@@ -101,11 +111,13 @@ export {
|
|
|
101
111
|
metricScopeSchema,
|
|
102
112
|
outboundEventSchema,
|
|
103
113
|
parseRef,
|
|
114
|
+
placementTestSchema,
|
|
104
115
|
profileSlug,
|
|
105
116
|
redactText,
|
|
106
117
|
replyCategorySchema,
|
|
107
118
|
replySchema,
|
|
108
119
|
resolveCapabilities,
|
|
120
|
+
resolveFields,
|
|
109
121
|
senderHealthSchema,
|
|
110
122
|
senderSchema,
|
|
111
123
|
senderStatusSchema,
|
|
@@ -12,14 +12,14 @@ export declare const COPY_INSIGHTS: readonly [import("../define.ts").InsightDefi
|
|
|
12
12
|
alpha: number;
|
|
13
13
|
campaign: string;
|
|
14
14
|
from: string | null;
|
|
15
|
-
metric: "
|
|
15
|
+
metric: "positive" | "replied" | "clicked" | "opened";
|
|
16
16
|
min_sent: number;
|
|
17
17
|
to: string | null;
|
|
18
18
|
}, import("./variant-test.ts").VariantTest, {
|
|
19
19
|
campaign: string;
|
|
20
20
|
alpha?: number | undefined;
|
|
21
21
|
from?: string | null | undefined;
|
|
22
|
-
metric?: "
|
|
22
|
+
metric?: "positive" | "replied" | "clicked" | "opened" | undefined;
|
|
23
23
|
min_sent?: number | undefined;
|
|
24
24
|
to?: string | null | undefined;
|
|
25
25
|
}>, import("../define.ts").InsightDefinition<"copyAudit", {
|
|
@@ -50,14 +50,14 @@ export declare const variantTest: import("../define.ts").InsightDefinition<"vari
|
|
|
50
50
|
alpha: number;
|
|
51
51
|
campaign: string;
|
|
52
52
|
from: string | null;
|
|
53
|
-
metric: "
|
|
53
|
+
metric: "positive" | "replied" | "clicked" | "opened";
|
|
54
54
|
min_sent: number;
|
|
55
55
|
to: string | null;
|
|
56
56
|
}, VariantTest, {
|
|
57
57
|
campaign: string;
|
|
58
58
|
alpha?: number | undefined;
|
|
59
59
|
from?: string | null | undefined;
|
|
60
|
-
metric?: "
|
|
60
|
+
metric?: "positive" | "replied" | "clicked" | "opened" | undefined;
|
|
61
61
|
min_sent?: number | undefined;
|
|
62
62
|
to?: string | null | undefined;
|
|
63
63
|
}>;
|