@signaliz/sdk 1.0.14 → 1.0.16
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 +30 -0
- package/dist/{chunk-EVFQETTN.mjs → chunk-5JNKSMNW.mjs} +441 -0
- package/dist/cli.js +550 -2
- package/dist/cli.mjs +115 -4
- package/dist/index.d.mts +103 -1
- package/dist/index.d.ts +103 -1
- package/dist/index.js +443 -0
- package/dist/index.mjs +5 -1
- package/dist/mcp-config.js +541 -0
- package/dist/mcp-config.mjs +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Signaliz,
|
|
4
4
|
createCampaignBuilderAgentRequestTemplate,
|
|
5
|
-
createCampaignBuilderApproval
|
|
6
|
-
|
|
5
|
+
createCampaignBuilderApproval,
|
|
6
|
+
createCampaignBuilderBuildKit,
|
|
7
|
+
createCampaignBuilderMemoryKit
|
|
8
|
+
} from "./chunk-5JNKSMNW.mjs";
|
|
7
9
|
|
|
8
10
|
// src/cli.ts
|
|
9
11
|
import { readFileSync, writeFileSync } from "fs";
|
|
@@ -15,7 +17,7 @@ async function main() {
|
|
|
15
17
|
printHelp();
|
|
16
18
|
return;
|
|
17
19
|
}
|
|
18
|
-
const offlineCampaignAgentTemplate = (command === "campaign-agent" || command === "campaign-builder") && ["init", "template", "request-template", "new"].includes(String(process.argv[3] || ""));
|
|
20
|
+
const offlineCampaignAgentTemplate = (command === "campaign-agent" || command === "campaign-builder") && ["init", "template", "request-template", "new", "kit", "build-kit", "blueprint", "memory-kit", "seed-kit", "memory"].includes(String(process.argv[3] || ""));
|
|
19
21
|
if (!apiKey && !offlineCampaignAgentTemplate) {
|
|
20
22
|
console.error("\u274C SIGNALIZ_API_KEY environment variable is required.");
|
|
21
23
|
console.error(" Set it with: export SIGNALIZ_API_KEY=sk_...");
|
|
@@ -379,6 +381,73 @@ async function handleCampaignAgentCommand(signaliz, argv) {
|
|
|
379
381
|
}
|
|
380
382
|
return;
|
|
381
383
|
}
|
|
384
|
+
if (["kit", "build-kit", "blueprint"].includes(subcommand)) {
|
|
385
|
+
const flags2 = parseFlags(argv.slice(1));
|
|
386
|
+
const requestFromFile2 = campaignAgentRequestFileFromFlags(flags2);
|
|
387
|
+
const fallbackGoal = stringFlag(flags2, "goal", "brief") || stringOrUndefined(requestFromFile2?.goal) || "Build a strategy-template campaign for mature operators in the target ICP.";
|
|
388
|
+
const request2 = requestFromFile2 ? mergeCampaignAgentRequests(
|
|
389
|
+
requestFromFile2,
|
|
390
|
+
campaignAgentRequestFromFlags(fallbackGoal, flags2, { includeDefaults: false })
|
|
391
|
+
) : campaignAgentRequestTemplateFromFlags(flags2);
|
|
392
|
+
const kit = createCampaignBuilderBuildKit({
|
|
393
|
+
...request2,
|
|
394
|
+
includeLocalLeads: booleanFlag(flags2, "use-local-leads"),
|
|
395
|
+
includeCustomToolPlaceholder: booleanFlag(flags2, "with-byo-placeholder") || booleanFlag(flags2, "include-custom-tool-placeholder") || booleanFlag(flags2, "include-byo-placeholder"),
|
|
396
|
+
includeNango: !booleanFlag(flags2, "no-nango-catalog"),
|
|
397
|
+
requestFile: stringFlag(flags2, "request-output-file", "request-file-name") || stringFlag(flags2, "request-file") || "campaign-request.json",
|
|
398
|
+
cliPackage: stringFlag(flags2, "cli-package"),
|
|
399
|
+
sdkPackage: stringFlag(flags2, "sdk-package")
|
|
400
|
+
});
|
|
401
|
+
const outputFile = stringFlag(flags2, "output-file", "kit-file", "out");
|
|
402
|
+
if (outputFile) {
|
|
403
|
+
writeFileSync(outputFile, `${JSON.stringify(kit, null, 2)}
|
|
404
|
+
`, "utf8");
|
|
405
|
+
}
|
|
406
|
+
if (booleanFlag(flags2, "json")) {
|
|
407
|
+
printJson(kit);
|
|
408
|
+
} else if (!outputFile) {
|
|
409
|
+
printCampaignAgentBuildKit(kit);
|
|
410
|
+
} else {
|
|
411
|
+
console.log(`Campaign build kit written: ${outputFile}`);
|
|
412
|
+
console.log(`Next: ${kit.cli_commands.find((command) => command.id === "proof_shortcut")?.command}`);
|
|
413
|
+
}
|
|
414
|
+
return;
|
|
415
|
+
}
|
|
416
|
+
if (["memory-kit", "seed-kit", "memory"].includes(subcommand)) {
|
|
417
|
+
const flags2 = parseFlags(argv.slice(1));
|
|
418
|
+
const requestFromFile2 = campaignAgentRequestFileFromFlags(flags2);
|
|
419
|
+
const fallbackGoal = stringFlag(flags2, "goal", "brief") || stringOrUndefined(requestFromFile2?.goal) || "Build a strategy-template campaign for mature operators in the target ICP.";
|
|
420
|
+
const request2 = requestFromFile2 ? mergeCampaignAgentRequests(
|
|
421
|
+
requestFromFile2,
|
|
422
|
+
campaignAgentRequestFromFlags(fallbackGoal, flags2, { includeDefaults: false })
|
|
423
|
+
) : campaignAgentRequestTemplateFromFlags(flags2);
|
|
424
|
+
const kit = createCampaignBuilderMemoryKit({
|
|
425
|
+
...request2,
|
|
426
|
+
includeLocalLeads: booleanFlag(flags2, "use-local-leads"),
|
|
427
|
+
includeCustomToolPlaceholder: booleanFlag(flags2, "with-byo-placeholder") || booleanFlag(flags2, "include-custom-tool-placeholder") || booleanFlag(flags2, "include-byo-placeholder"),
|
|
428
|
+
includeNango: !booleanFlag(flags2, "no-nango-catalog"),
|
|
429
|
+
requestFile: stringFlag(flags2, "request-output-file", "request-file-name") || stringFlag(flags2, "request-file") || "campaign-request.json",
|
|
430
|
+
seedManifestFile: stringFlag(flags2, "seed-manifest-file", "manifest") || ".gtm-kernel-import-state/campaign-memory-dry-run.json",
|
|
431
|
+
source: stringFlag(flags2, "source", "memory-source", "seed-source"),
|
|
432
|
+
workspaceId: stringFlag(flags2, "workspace-id"),
|
|
433
|
+
cliPackage: stringFlag(flags2, "cli-package"),
|
|
434
|
+
sdkPackage: stringFlag(flags2, "sdk-package")
|
|
435
|
+
});
|
|
436
|
+
const outputFile = stringFlag(flags2, "output-file", "kit-file", "out");
|
|
437
|
+
if (outputFile) {
|
|
438
|
+
writeFileSync(outputFile, `${JSON.stringify(kit, null, 2)}
|
|
439
|
+
`, "utf8");
|
|
440
|
+
}
|
|
441
|
+
if (booleanFlag(flags2, "json")) {
|
|
442
|
+
printJson(kit);
|
|
443
|
+
} else if (!outputFile) {
|
|
444
|
+
printCampaignAgentMemoryKit(kit);
|
|
445
|
+
} else {
|
|
446
|
+
console.log(`Campaign memory kit written: ${outputFile}`);
|
|
447
|
+
console.log(`Next: ${kit.cli_commands.find((command) => command.id === "memory_status")?.command}`);
|
|
448
|
+
}
|
|
449
|
+
return;
|
|
450
|
+
}
|
|
382
451
|
if (["review", "status", "rows", "artifacts", "approve", "approve-delivery"].includes(subcommand)) {
|
|
383
452
|
await handleCampaignAgentReviewCommand(signaliz, subcommand, argv.slice(1));
|
|
384
453
|
return;
|
|
@@ -905,6 +974,45 @@ function printCampaignAgentPlan(plan) {
|
|
|
905
974
|
console.log(`- ${step.id}: ${step.tool}${step.approvalRequired ? " (approval required)" : ""}`);
|
|
906
975
|
}
|
|
907
976
|
}
|
|
977
|
+
function printCampaignAgentBuildKit(kit) {
|
|
978
|
+
console.log(`Campaign build kit: ${kit.strategy_template || "custom strategy"}`);
|
|
979
|
+
console.log(`Request file: ${kit.request_file}`);
|
|
980
|
+
console.log(`Built-ins: ${kit.built_in_lanes.join(", ") || "none"}`);
|
|
981
|
+
console.log(`Playbooks: ${kit.operating_playbooks.join(", ") || "none"}`);
|
|
982
|
+
console.log(`BYO routes: ${kit.custom_routes.length}`);
|
|
983
|
+
console.log("\nCLI:");
|
|
984
|
+
for (const command of kit.cli_commands.slice(0, 4)) {
|
|
985
|
+
console.log(`- ${command.label}: ${command.command}`);
|
|
986
|
+
}
|
|
987
|
+
console.log("\nMCP:");
|
|
988
|
+
for (const call of kit.mcp_calls.slice(0, 3)) {
|
|
989
|
+
console.log(`- ${call.tool}: ${call.safety}`);
|
|
990
|
+
}
|
|
991
|
+
console.log("\nBYO tool pattern:");
|
|
992
|
+
console.log(`- ${kit.byo_tool_pattern.cli_flag}`);
|
|
993
|
+
console.log("\nNext:");
|
|
994
|
+
for (const action of kit.next_actions.slice(0, 4)) console.log(`- ${action}`);
|
|
995
|
+
}
|
|
996
|
+
function printCampaignAgentMemoryKit(kit) {
|
|
997
|
+
console.log(`Campaign memory kit: ${kit.strategy_template || "custom strategy"}`);
|
|
998
|
+
console.log(`Request file: ${kit.request_file}`);
|
|
999
|
+
console.log(`Seed manifest: ${kit.seed_manifest_file}`);
|
|
1000
|
+
console.log(`Sources: ${kit.memory_sources.map((source) => source.id).join(", ") || "none"}`);
|
|
1001
|
+
console.log(`Playbooks: ${kit.operating_playbooks.join(", ") || "none"}`);
|
|
1002
|
+
console.log("\nCLI:");
|
|
1003
|
+
for (const command of kit.cli_commands.slice(0, 4)) {
|
|
1004
|
+
console.log(`- ${command.label}: ${command.command}`);
|
|
1005
|
+
}
|
|
1006
|
+
console.log("\nMCP:");
|
|
1007
|
+
for (const call of kit.mcp_calls.slice(0, 3)) {
|
|
1008
|
+
console.log(`- ${call.tool}: ${call.safety}`);
|
|
1009
|
+
}
|
|
1010
|
+
console.log("\nSeed runner:");
|
|
1011
|
+
console.log(`- Dry run: ${kit.seed_runner.dry_run_command}`);
|
|
1012
|
+
if (kit.seed_runner.verify_manifest_command) console.log(`- Verify: ${kit.seed_runner.verify_manifest_command}`);
|
|
1013
|
+
console.log("\nNext:");
|
|
1014
|
+
for (const action of kit.next_actions.slice(0, 4)) console.log(`- ${action}`);
|
|
1015
|
+
}
|
|
908
1016
|
function printCampaignAgentExecution(payload, flags) {
|
|
909
1017
|
if (booleanFlag(flags, "json")) {
|
|
910
1018
|
printJson(payload);
|
|
@@ -1065,6 +1173,7 @@ Usage:
|
|
|
1065
1173
|
signaliz gtm memory search --query "proof-first vertical gate" --json
|
|
1066
1174
|
signaliz gtm plan --brief "Build 500 verified leads for..." --strategy-template non-medical-home-care --lead-count 500 --json
|
|
1067
1175
|
signaliz campaign-agent init --strategy-template non-medical-home-care --target-count 250 --use-local-leads --json > campaign-request.json
|
|
1176
|
+
signaliz campaign-agent memory-kit --strategy-template non-medical-home-care --target-count 250 --use-local-leads --json
|
|
1068
1177
|
signaliz campaign-agent doctor --request-file campaign-request.json --json
|
|
1069
1178
|
signaliz campaign-agent plan --goal "Build a strategy-template campaign..." --strategy-template industrial-ot-resilience --target-count 500 --builtins lead_generation,email_finding,email_verification,signals
|
|
1070
1179
|
signaliz campaign-agent proof --goal "Build a strategy-template campaign..." --strategy-template non-medical-home-care --target-count 100 --json
|
|
@@ -1102,6 +1211,8 @@ function printCampaignAgentHelp() {
|
|
|
1102
1211
|
Signaliz campaign-agent commands:
|
|
1103
1212
|
|
|
1104
1213
|
signaliz campaign-agent init [--goal TEXT] [--strategy-template ID] [--target-count N] [--use-local-leads] [--with-byo-placeholder] [--output-file FILE] [--json]
|
|
1214
|
+
signaliz campaign-agent kit [--goal TEXT | --request-file FILE] [--strategy-template ID] [--target-count N] [--use-local-leads] [--custom-tool provider:layer:tool[:mcp]] [--output-file FILE] [--json]
|
|
1215
|
+
signaliz campaign-agent memory-kit [--goal TEXT | --request-file FILE] [--strategy-template ID] [--source agency|workflow-patterns|instantly-feedback|all] [--seed-manifest-file FILE] [--json]
|
|
1105
1216
|
signaliz campaign-agent doctor [--goal TEXT | --request-file FILE] [--strategy-template ID] [--target-count N] [--builtins lead_generation,email_finding,email_verification,signals,local_leads] [--custom-tool provider:layer:tool[:mcp]] [--json]
|
|
1106
1217
|
signaliz campaign-agent plan (--goal TEXT | --request-file FILE) [--campaign-name NAME] [--workspace-label NAME] [--strategy-template industrial-ot-resilience|non-medical-home-care|agency-founder-led|cloud-infrastructure-displacement] [--operating-playbooks proof-first-vertical-gate,signal-led-copy-approval] [--target-count N] [--icp JSON] [--builtins lead_generation,email_finding,email_verification,signals,local_leads] [--use-local-leads] [--custom-tool provider:layer:tool[:mcp]] [--preferred-providers signaliz_native,octave] [--partners clay,instantly,nango] [--no-strategy-memory] [--no-kernel-plan] [--no-delivery-risk] [--json]
|
|
1107
1218
|
signaliz campaign-agent proof (--goal TEXT | --request-file FILE) [--strategy-template ID] [--target-count N] [--use-local-leads] [--custom-tool provider:layer:tool[:mcp]] [--idempotency-key KEY] [--json]
|
|
@@ -1114,7 +1225,7 @@ Signaliz campaign-agent commands:
|
|
|
1114
1225
|
signaliz campaign-agent artifacts <campaign_build_id> [--json]
|
|
1115
1226
|
signaliz campaign-agent approve <campaign_build_id> --destination-type json|csv|webhook [--destination-config JSON] [--json]
|
|
1116
1227
|
|
|
1117
|
-
The init command emits a reusable JSON CampaignBuilderAgentRequest. Doctor returns a readiness packet for built-in lanes, BYO routes, Memory, Brain, Kernel planning, and approval gates. The plan command composes an approval-gated strategy-template MCP flow. Proof runs the same plan path plus build_campaign dry_run=true and returns a no-spend receipt. Use --request-file to load a reusable request, then override fields such as --target-count or --strategy-template from the command line. Use --strategy-template to merge a private-safe strategy pattern into the plan without exposing private account labels, and --operating-playbooks to add reusable build-loop gates such as proof-first vertical qualification, net-new suppression, cache-first inventory, and signal-led copy approval. Built-ins map to Signaliz-native tools: lead_generation -> generate_leads, local_leads -> generate_local_leads, email_finding -> find_and_verify_emails, email_verification -> verify_emails, signals -> enrich_company_signals. Add BYO tools with --custom-tool provider:layer:tool[:mcp] or key=value pairs such as provider=apollo,layer=source,tool=apollo_search,mcp=apollo. Use --no-strategy-patterns or --no-workflow-patterns to disable default private strategy memory hints. Commit-plan dry-runs by default and writes only with --confirm-write plus approval identity. Dry-run executes build_campaign with dry_run=true. Approved build requires explicit launch confirmation and approval metadata; add --commit-before-launch to persist the reviewed plan as a GTM campaign before launch, --wait to poll until completion or pending approval, and --approve-delivery to approve reviewed webhook delivery after pending_approval. Use review to inspect status, sampled rows, artifacts, and delivery-readiness gates before approving delivery or routing rows to external tools.
|
|
1228
|
+
The init command emits a reusable JSON CampaignBuilderAgentRequest. Kit emits the full build packet: request JSON, exact CLI commands, MCP calls, SDK example, approval boundaries, and BYO integration pattern. Doctor returns a readiness packet for built-in lanes, BYO routes, Memory, Brain, Kernel planning, and approval gates. The plan command composes an approval-gated strategy-template MCP flow. Proof runs the same plan path plus build_campaign dry_run=true and returns a no-spend receipt. Use --request-file to load a reusable request, then override fields such as --target-count or --strategy-template from the command line. Use --strategy-template to merge a private-safe strategy pattern into the plan without exposing private account labels, and --operating-playbooks to add reusable build-loop gates such as proof-first vertical qualification, net-new suppression, cache-first inventory, and signal-led copy approval. Built-ins map to Signaliz-native tools: lead_generation -> generate_leads, local_leads -> generate_local_leads, email_finding -> find_and_verify_emails, email_verification -> verify_emails, signals -> enrich_company_signals. Add BYO tools with --custom-tool provider:layer:tool[:mcp] or key=value pairs such as provider=apollo,layer=source,tool=apollo_search,mcp=apollo. Use --no-strategy-patterns or --no-workflow-patterns to disable default private strategy memory hints. Commit-plan dry-runs by default and writes only with --confirm-write plus approval identity. Dry-run executes build_campaign with dry_run=true. Approved build requires explicit launch confirmation and approval metadata; add --commit-before-launch to persist the reviewed plan as a GTM campaign before launch, --wait to poll until completion or pending approval, and --approve-delivery to approve reviewed webhook delivery after pending_approval. Use review to inspect status, sampled rows, artifacts, and delivery-readiness gates before approving delivery or routing rows to external tools.
|
|
1118
1229
|
`);
|
|
1119
1230
|
}
|
|
1120
1231
|
main().catch((e) => {
|
package/dist/index.d.mts
CHANGED
|
@@ -1122,6 +1122,104 @@ interface CampaignBuilderProofReceipt {
|
|
|
1122
1122
|
dry_run_result: UnknownRecord$1;
|
|
1123
1123
|
recommended_next_actions: string[];
|
|
1124
1124
|
}
|
|
1125
|
+
interface CampaignBuilderBuildKitOptions extends CampaignBuilderAgentRequestTemplateOptions {
|
|
1126
|
+
requestFile?: string;
|
|
1127
|
+
cliPackage?: string;
|
|
1128
|
+
sdkPackage?: string;
|
|
1129
|
+
}
|
|
1130
|
+
type CampaignBuilderMemoryKitSource = 'agency' | 'workflow-patterns' | 'instantly-feedback' | 'all' | (string & {});
|
|
1131
|
+
interface CampaignBuilderMemoryKitOptions extends CampaignBuilderAgentRequestTemplateOptions {
|
|
1132
|
+
requestFile?: string;
|
|
1133
|
+
seedManifestFile?: string;
|
|
1134
|
+
source?: CampaignBuilderMemoryKitSource;
|
|
1135
|
+
workspaceId?: string;
|
|
1136
|
+
cliPackage?: string;
|
|
1137
|
+
sdkPackage?: string;
|
|
1138
|
+
}
|
|
1139
|
+
interface CampaignBuilderBuildKitCommand {
|
|
1140
|
+
id: string;
|
|
1141
|
+
label: string;
|
|
1142
|
+
command: string;
|
|
1143
|
+
safety: string;
|
|
1144
|
+
}
|
|
1145
|
+
interface CampaignBuilderBuildKitMcpCall {
|
|
1146
|
+
id: string;
|
|
1147
|
+
tool: string;
|
|
1148
|
+
arguments: UnknownRecord$1;
|
|
1149
|
+
safety: string;
|
|
1150
|
+
}
|
|
1151
|
+
interface CampaignBuilderBuildKit {
|
|
1152
|
+
kit_version: 'campaign-builder-kit.v1';
|
|
1153
|
+
source: string;
|
|
1154
|
+
request_file: string;
|
|
1155
|
+
request: CampaignBuilderAgentRequest;
|
|
1156
|
+
strategy_template: string | null;
|
|
1157
|
+
built_in_lanes: string[];
|
|
1158
|
+
operating_playbooks: string[];
|
|
1159
|
+
custom_routes: Array<{
|
|
1160
|
+
provider: string;
|
|
1161
|
+
layer: string;
|
|
1162
|
+
tool: string | null;
|
|
1163
|
+
mcp_server: string | null;
|
|
1164
|
+
mode: string;
|
|
1165
|
+
approval_required: boolean;
|
|
1166
|
+
}>;
|
|
1167
|
+
approval_boundaries: string[];
|
|
1168
|
+
byo_tool_pattern: {
|
|
1169
|
+
cli_flag: string;
|
|
1170
|
+
request_fragment: CampaignBuilderIntegrationRoute;
|
|
1171
|
+
};
|
|
1172
|
+
cli_commands: CampaignBuilderBuildKitCommand[];
|
|
1173
|
+
mcp_calls: CampaignBuilderBuildKitMcpCall[];
|
|
1174
|
+
sdk_example: {
|
|
1175
|
+
language: 'typescript';
|
|
1176
|
+
code: string;
|
|
1177
|
+
};
|
|
1178
|
+
verification: string[];
|
|
1179
|
+
privacy: {
|
|
1180
|
+
client_names_allowed: boolean;
|
|
1181
|
+
notes: string[];
|
|
1182
|
+
};
|
|
1183
|
+
next_actions: string[];
|
|
1184
|
+
}
|
|
1185
|
+
interface CampaignBuilderMemoryKit {
|
|
1186
|
+
kit_version: 'campaign-memory-kit.v1';
|
|
1187
|
+
source: string;
|
|
1188
|
+
read_only: boolean;
|
|
1189
|
+
no_spend: boolean;
|
|
1190
|
+
no_provider_writes: boolean;
|
|
1191
|
+
client_names_allowed: boolean;
|
|
1192
|
+
request_file: string;
|
|
1193
|
+
seed_manifest_file: string;
|
|
1194
|
+
request: CampaignBuilderAgentRequest;
|
|
1195
|
+
strategy_template: string | null;
|
|
1196
|
+
operating_playbooks: string[];
|
|
1197
|
+
memory_sources: Array<{
|
|
1198
|
+
id: string;
|
|
1199
|
+
label: string;
|
|
1200
|
+
seed_source: string;
|
|
1201
|
+
scope: string;
|
|
1202
|
+
privacy: string;
|
|
1203
|
+
}>;
|
|
1204
|
+
seed_runner: {
|
|
1205
|
+
local_script: string;
|
|
1206
|
+
dry_run_command: string;
|
|
1207
|
+
verify_manifest_command: string | null;
|
|
1208
|
+
write_command: string;
|
|
1209
|
+
write_requires: string[];
|
|
1210
|
+
};
|
|
1211
|
+
cli_commands: CampaignBuilderBuildKitCommand[];
|
|
1212
|
+
mcp_calls: CampaignBuilderBuildKitMcpCall[];
|
|
1213
|
+
sdk_example: {
|
|
1214
|
+
language: 'typescript';
|
|
1215
|
+
code: string;
|
|
1216
|
+
};
|
|
1217
|
+
privacy: {
|
|
1218
|
+
client_names_allowed: boolean;
|
|
1219
|
+
notes: string[];
|
|
1220
|
+
};
|
|
1221
|
+
next_actions: string[];
|
|
1222
|
+
}
|
|
1125
1223
|
interface CampaignBuilderBuildReviewOptions extends CampaignRowsOptions {
|
|
1126
1224
|
/** Number of rows to sample for review. Defaults to 100. */
|
|
1127
1225
|
limit?: number;
|
|
@@ -1207,6 +1305,8 @@ declare class CampaignBuilderAgent {
|
|
|
1207
1305
|
createPlan(request: CampaignBuilderAgentRequest, options?: CampaignBuilderPlanOptions): Promise<CampaignBuilderAgentPlan>;
|
|
1208
1306
|
readiness(request: CampaignBuilderAgentRequest, options?: CampaignBuilderPlanOptions): Promise<CampaignBuilderReadinessPacket>;
|
|
1209
1307
|
proof(request: CampaignBuilderAgentRequest, options?: CampaignBuilderProofOptions): Promise<CampaignBuilderProofReceipt>;
|
|
1308
|
+
buildKit(options?: CampaignBuilderBuildKitOptions): CampaignBuilderBuildKit;
|
|
1309
|
+
memoryKit(options?: CampaignBuilderMemoryKitOptions): CampaignBuilderMemoryKit;
|
|
1210
1310
|
commitPlan(plan: CampaignBuilderAgentPlan, options?: CampaignBuilderPlanCommitOptions): Promise<CampaignBuilderPlanCommitResult>;
|
|
1211
1311
|
dryRunPlan(plan: CampaignBuilderAgentPlan, options?: BuildOptions): Promise<CampaignBuildResult>;
|
|
1212
1312
|
buildApprovedPlan(plan: CampaignBuilderAgentPlan, approval: CampaignBuilderApproval, options?: CampaignBuilderBuildOptions): Promise<CampaignBuildResult>;
|
|
@@ -1245,6 +1345,8 @@ declare function getCampaignBuilderOperatingPlaybook(value: unknown): CampaignBu
|
|
|
1245
1345
|
declare function getCampaignBuilderOperatingPlaybooksForRequest(request: CampaignBuilderAgentRequest): CampaignBuilderOperatingPlaybook[];
|
|
1246
1346
|
declare function applyCampaignBuilderStrategyTemplate(request: CampaignBuilderAgentRequest): CampaignBuilderAgentRequest;
|
|
1247
1347
|
declare function createCampaignBuilderAgentRequestTemplate(input?: CampaignBuilderAgentRequestTemplateOptions): CampaignBuilderAgentRequest;
|
|
1348
|
+
declare function createCampaignBuilderBuildKit(input?: CampaignBuilderBuildKitOptions): CampaignBuilderBuildKit;
|
|
1349
|
+
declare function createCampaignBuilderMemoryKit(input?: CampaignBuilderMemoryKitOptions): CampaignBuilderMemoryKit;
|
|
1248
1350
|
declare function createCampaignBuilderToolRoute(input: {
|
|
1249
1351
|
provider?: CampaignBuilderProvider;
|
|
1250
1352
|
layer: CampaignBuilderLayer;
|
|
@@ -3498,4 +3600,4 @@ declare class Signaliz {
|
|
|
3498
3600
|
discover(query: string, category?: string): Promise<MCPToolInfo[]>;
|
|
3499
3601
|
}
|
|
3500
3602
|
|
|
3501
|
-
export { Ai, type ApproveDeliveryResult, type BuildOptions, CAMPAIGN_BUILDER_OPERATING_PLAYBOOKS, CAMPAIGN_BUILDER_STRATEGY_TEMPLATES, type CampaignArtifact, type CampaignBuildRequest$1 as CampaignBuildRequest, type CampaignBuildResult$1 as CampaignBuildResult, type CampaignBuildRow, type CampaignBuildStatus, CampaignBuilderAgent, type CampaignBuilderAgentPlan, type CampaignBuilderAgentProvider, type CampaignBuilderAgentRequest, type CampaignBuilderAgentRequestTemplateOptions, type CampaignBuilderApproval, type CampaignBuilderApprovalPolicy, type CampaignBuilderApprovalType, type CampaignBuilderApprovedRunOptions, type CampaignBuilderApprovedRunResult, type CampaignBuilderBuildOptions, type CampaignBuilderBuiltInTool, type CampaignBuilderCustomerTool, type CampaignBuilderGtmLayer, type CampaignBuilderIntegrationRoute, type CampaignBuilderLayer, type CampaignBuilderMcpStep, type CampaignBuilderMemoryPlan, type CampaignBuilderMemoryQuery, type CampaignBuilderMemoryScope, type CampaignBuilderOperatingPlaybook, type CampaignBuilderOperatingPlaybookSlug, type CampaignBuilderPlanCommitOptions, type CampaignBuilderPlanCommitResult, type CampaignBuilderPlanOptions, type CampaignBuilderProofOptions, type CampaignBuilderProofReceipt, type CampaignBuilderProvider, type CampaignBuilderReadinessGate, type CampaignBuilderReadinessLane, type CampaignBuilderReadinessPacket, type CampaignBuilderReadinessSummary, type CampaignBuilderRequiredApproval, type CampaignBuilderRouteMode, type CampaignBuilderStrategyTemplate, type CampaignBuilderStrategyTemplateSlug, type CampaignBuilderWorkspaceContext, type CampaignDeliveryMode, type CampaignProviderRouteReadback, type CampaignRowsOptions, type CampaignRowsResult, Campaigns, type CancelBuildResult, type CompanyIntelligenceParams, type CompanyIntelligenceResult, type CreateOutputSinkRequest, type CreateRoutineRequest, type CreateSystemParams, type CustomAiAttachment, type CustomAiFusionConfig, type CustomAiMultiModelParams, type CustomAiMultiModelResult, type CustomAiOutputField, DEFAULT_CAMPAIGN_BUILDER_APPROVAL_TYPES, DEFAULT_CAMPAIGN_BUILDER_BUILT_INS, DEFAULT_SIGNALIZ_CAMPAIGN_BUILDER_DEFAULTS, type EmailBatchJobResult, type EnrichSignalsParams, type EnrichSignalsResult, type ErrorType, type ExecutionReference, type ExecutionReferenceInput, type ExecutionReferenceKind, type FindAndVerifyEmailContact, type FindEmailParams, type FindEmailResult, type GenerateLeadsParams, type GenerateLocalLeadsParams, type GtmActorType, type GtmAuthStrategy, type GtmBrainAggregateCalibrationsInput, type GtmBrainAggregatePatternsInput, type GtmBrainCalibrateDeliverabilityInput, type GtmBrainDeliveryRiskInput, type GtmBrainDistillRunInput, type GtmBrainExtractPatternsInput, type GtmBrainFailurePatternsOptions, type GtmBrainLearningAction, type GtmBrainLearningCyclePhase, type GtmBrainLearningCyclePlanInput, type GtmBrainLearningCyclePlanResult, type GtmBrainLearningCycleRunInput, type GtmBrainLearningEvidenceCounts, type GtmBrainLearningLane, type GtmBrainLearningLaneId, type GtmBrainLearningLaneState, type GtmBrainLearningLaneSummary, type GtmBrainLearningPhaseReadiness, type GtmBrainLearningPhaseStatus, type GtmBrainLearningRecommendedToolCall, type GtmBrainPatternsOptions, type GtmBrainSeedDefaultsInput, type GtmCalibrationDimensionType, type GtmCampaignAgentPlanInput, type GtmCampaignAgentRequestTemplateInput, type GtmCampaignBuildPlanInput, type GtmCampaignCreateInput, type GtmCampaignGetOptions, type GtmCampaignHistoryCampaignInput, type GtmCampaignHistoryImportBatchInput, type GtmCampaignHistoryImportInput, type GtmCampaignHistoryImportRunInput, type GtmCampaignHistoryMemoryInput, type GtmCampaignLearningStatusResult, type GtmCampaignListOptions, type GtmCampaignLogInput, type GtmCampaignSource, type GtmCampaignStartContextInput, type GtmCampaignStatus, type GtmCampaignStrategyMemoryStatusInput, type GtmCampaignStrategyTemplateSlug, type GtmCampaignStrategyTemplatesOptions, type GtmCampaignUpdateInput, type GtmConnectionRegisterInput, type GtmConnectionsListOptions, type GtmExistingCampaignAuditBoundary, type GtmExistingCampaignAuditBySearchOptions, type GtmExistingCampaignAuditOptions, type GtmExistingCampaignAuditRecommendation, type GtmExistingCampaignAuditResult, type GtmExistingCampaignCompletenessStep, type GtmExistingCampaignDiscoverOptions, type GtmExistingCampaignDiscoveryResult, type GtmExistingCampaignMcpRequest, type GtmExistingCampaignOption, type GtmFeedbackIngestInput, type GtmIntegrationRecipeCreateInput, type GtmInvocationType, GtmKernel, type GtmKernelImportPreviewInput, type GtmKernelImportRunInput, type GtmLayer, type GtmLayerRouteSetInput, type GtmLayerRoutesGetOptions, type GtmMemorySearchOptions, type GtmMemoryType, type GtmPatternType, type GtmProviderLinkInput, type GtmProviderRecipePrepareInput, type GtmProviderRouteActivateInput, type GtmWebhookDeliverInput, type GtmWorkspaceBootstrapStatusOptions, type GtmWorkspaceContextOptions, type HttpRequestParams, type HttpRequestResult, type IcpDetail, type IcpSummary, Icps, type ImportOctaveResult, type LeadGenJobResult, type ListOutputSinksOptions, type MCPToolInfo, type NativeGtmCapabilityInfo, Ops, type OpsApproveRequest, type OpsApproveResult, type OpsBlueprint, type OpsCadence, type OpsCreateRequest, type OpsCreateResult, type OpsDashboardOptions, type OpsDashboardResult, type OpsDebugDiagnosticError, type OpsDebugOptions, type OpsDebugResult, type OpsPlanRequest, type OpsPlanResult, type OpsPrimitive, type OpsPrimitiveConcurrencyPolicy, type OpsPrimitiveDeadLetterPolicy, type OpsPrimitiveObservabilityPolicy, type OpsPrimitivePermissionLevel, type OpsPrimitiveRetryPolicy, type OpsPrimitiveWorkspaceScope, type OpsQueueStatus, type OpsQueueStatusOptions, type OpsQuickstartStep, type OpsQuickstartWorkflow, type OpsReadinessCheck, type OpsReadinessOptions, type OpsReadinessResult, type OpsReplayResult, type OpsResultsOptions, type OpsResultsResult, type OpsRoutine, type OpsRoutineDeleteResult, type OpsRoutineRunResult, type OpsRoutineSinkResult, type OpsRoutineStatus, type OpsRoutineTick, type OpsRoutineTickItem, type OpsRoutineTickItemsResult, type OpsRoutineTicksResult, type OpsRoutinesResult, type OpsRunOptions, type OpsRunResult, type OpsSink, type OpsSinkType, type OpsStatusOptions, type OpsStatusResult, type OpsTriggerBatchRunStatus, type OpsTriggerRunStatus, type OpsTriggerRunStatusOptions, type PlatformHealth, type RunNativeGtmCapabilityParams, type RunProgressEvent, type RunResult, type RunRoutineRequest, type RunSystemParams, type Signal, Signaliz, type SignalizCampaignBuilderDefaults, type SignalizConfig, SignalizError, type SignalizErrorData, type SimpleOpStatus, type SystemResult, type UpdateRoutineRequest, type VerifyEmailResult, type WaitOptions, type WorkspaceInfo, applyCampaignBuilderStrategyTemplate, collectExecutionReferences, createCampaignBuilderAgentPlan, createCampaignBuilderAgentRequestTemplate, createCampaignBuilderApproval, createCampaignBuilderProofReceipt, createCampaignBuilderReadiness, createCampaignBuilderToolRoute, getCampaignBuilderOperatingPlaybook, getCampaignBuilderOperatingPlaybooksForRequest, getCampaignBuilderStrategyTemplate, getMissingCampaignBuilderApprovals, normalizeExecutionReference };
|
|
3603
|
+
export { Ai, type ApproveDeliveryResult, type BuildOptions, CAMPAIGN_BUILDER_OPERATING_PLAYBOOKS, CAMPAIGN_BUILDER_STRATEGY_TEMPLATES, type CampaignArtifact, type CampaignBuildRequest$1 as CampaignBuildRequest, type CampaignBuildResult$1 as CampaignBuildResult, type CampaignBuildRow, type CampaignBuildStatus, CampaignBuilderAgent, type CampaignBuilderAgentPlan, type CampaignBuilderAgentProvider, type CampaignBuilderAgentRequest, type CampaignBuilderAgentRequestTemplateOptions, type CampaignBuilderApproval, type CampaignBuilderApprovalPolicy, type CampaignBuilderApprovalType, type CampaignBuilderApprovedRunOptions, type CampaignBuilderApprovedRunResult, type CampaignBuilderBuildKit, type CampaignBuilderBuildKitCommand, type CampaignBuilderBuildKitMcpCall, type CampaignBuilderBuildKitOptions, type CampaignBuilderBuildOptions, type CampaignBuilderBuiltInTool, type CampaignBuilderCustomerTool, type CampaignBuilderGtmLayer, type CampaignBuilderIntegrationRoute, type CampaignBuilderLayer, type CampaignBuilderMcpStep, type CampaignBuilderMemoryKit, type CampaignBuilderMemoryKitOptions, type CampaignBuilderMemoryKitSource, type CampaignBuilderMemoryPlan, type CampaignBuilderMemoryQuery, type CampaignBuilderMemoryScope, type CampaignBuilderOperatingPlaybook, type CampaignBuilderOperatingPlaybookSlug, type CampaignBuilderPlanCommitOptions, type CampaignBuilderPlanCommitResult, type CampaignBuilderPlanOptions, type CampaignBuilderProofOptions, type CampaignBuilderProofReceipt, type CampaignBuilderProvider, type CampaignBuilderReadinessGate, type CampaignBuilderReadinessLane, type CampaignBuilderReadinessPacket, type CampaignBuilderReadinessSummary, type CampaignBuilderRequiredApproval, type CampaignBuilderRouteMode, type CampaignBuilderStrategyTemplate, type CampaignBuilderStrategyTemplateSlug, type CampaignBuilderWorkspaceContext, type CampaignDeliveryMode, type CampaignProviderRouteReadback, type CampaignRowsOptions, type CampaignRowsResult, Campaigns, type CancelBuildResult, type CompanyIntelligenceParams, type CompanyIntelligenceResult, type CreateOutputSinkRequest, type CreateRoutineRequest, type CreateSystemParams, type CustomAiAttachment, type CustomAiFusionConfig, type CustomAiMultiModelParams, type CustomAiMultiModelResult, type CustomAiOutputField, DEFAULT_CAMPAIGN_BUILDER_APPROVAL_TYPES, DEFAULT_CAMPAIGN_BUILDER_BUILT_INS, DEFAULT_SIGNALIZ_CAMPAIGN_BUILDER_DEFAULTS, type EmailBatchJobResult, type EnrichSignalsParams, type EnrichSignalsResult, type ErrorType, type ExecutionReference, type ExecutionReferenceInput, type ExecutionReferenceKind, type FindAndVerifyEmailContact, type FindEmailParams, type FindEmailResult, type GenerateLeadsParams, type GenerateLocalLeadsParams, type GtmActorType, type GtmAuthStrategy, type GtmBrainAggregateCalibrationsInput, type GtmBrainAggregatePatternsInput, type GtmBrainCalibrateDeliverabilityInput, type GtmBrainDeliveryRiskInput, type GtmBrainDistillRunInput, type GtmBrainExtractPatternsInput, type GtmBrainFailurePatternsOptions, type GtmBrainLearningAction, type GtmBrainLearningCyclePhase, type GtmBrainLearningCyclePlanInput, type GtmBrainLearningCyclePlanResult, type GtmBrainLearningCycleRunInput, type GtmBrainLearningEvidenceCounts, type GtmBrainLearningLane, type GtmBrainLearningLaneId, type GtmBrainLearningLaneState, type GtmBrainLearningLaneSummary, type GtmBrainLearningPhaseReadiness, type GtmBrainLearningPhaseStatus, type GtmBrainLearningRecommendedToolCall, type GtmBrainPatternsOptions, type GtmBrainSeedDefaultsInput, type GtmCalibrationDimensionType, type GtmCampaignAgentPlanInput, type GtmCampaignAgentRequestTemplateInput, type GtmCampaignBuildPlanInput, type GtmCampaignCreateInput, type GtmCampaignGetOptions, type GtmCampaignHistoryCampaignInput, type GtmCampaignHistoryImportBatchInput, type GtmCampaignHistoryImportInput, type GtmCampaignHistoryImportRunInput, type GtmCampaignHistoryMemoryInput, type GtmCampaignLearningStatusResult, type GtmCampaignListOptions, type GtmCampaignLogInput, type GtmCampaignSource, type GtmCampaignStartContextInput, type GtmCampaignStatus, type GtmCampaignStrategyMemoryStatusInput, type GtmCampaignStrategyTemplateSlug, type GtmCampaignStrategyTemplatesOptions, type GtmCampaignUpdateInput, type GtmConnectionRegisterInput, type GtmConnectionsListOptions, type GtmExistingCampaignAuditBoundary, type GtmExistingCampaignAuditBySearchOptions, type GtmExistingCampaignAuditOptions, type GtmExistingCampaignAuditRecommendation, type GtmExistingCampaignAuditResult, type GtmExistingCampaignCompletenessStep, type GtmExistingCampaignDiscoverOptions, type GtmExistingCampaignDiscoveryResult, type GtmExistingCampaignMcpRequest, type GtmExistingCampaignOption, type GtmFeedbackIngestInput, type GtmIntegrationRecipeCreateInput, type GtmInvocationType, GtmKernel, type GtmKernelImportPreviewInput, type GtmKernelImportRunInput, type GtmLayer, type GtmLayerRouteSetInput, type GtmLayerRoutesGetOptions, type GtmMemorySearchOptions, type GtmMemoryType, type GtmPatternType, type GtmProviderLinkInput, type GtmProviderRecipePrepareInput, type GtmProviderRouteActivateInput, type GtmWebhookDeliverInput, type GtmWorkspaceBootstrapStatusOptions, type GtmWorkspaceContextOptions, type HttpRequestParams, type HttpRequestResult, type IcpDetail, type IcpSummary, Icps, type ImportOctaveResult, type LeadGenJobResult, type ListOutputSinksOptions, type MCPToolInfo, type NativeGtmCapabilityInfo, Ops, type OpsApproveRequest, type OpsApproveResult, type OpsBlueprint, type OpsCadence, type OpsCreateRequest, type OpsCreateResult, type OpsDashboardOptions, type OpsDashboardResult, type OpsDebugDiagnosticError, type OpsDebugOptions, type OpsDebugResult, type OpsPlanRequest, type OpsPlanResult, type OpsPrimitive, type OpsPrimitiveConcurrencyPolicy, type OpsPrimitiveDeadLetterPolicy, type OpsPrimitiveObservabilityPolicy, type OpsPrimitivePermissionLevel, type OpsPrimitiveRetryPolicy, type OpsPrimitiveWorkspaceScope, type OpsQueueStatus, type OpsQueueStatusOptions, type OpsQuickstartStep, type OpsQuickstartWorkflow, type OpsReadinessCheck, type OpsReadinessOptions, type OpsReadinessResult, type OpsReplayResult, type OpsResultsOptions, type OpsResultsResult, type OpsRoutine, type OpsRoutineDeleteResult, type OpsRoutineRunResult, type OpsRoutineSinkResult, type OpsRoutineStatus, type OpsRoutineTick, type OpsRoutineTickItem, type OpsRoutineTickItemsResult, type OpsRoutineTicksResult, type OpsRoutinesResult, type OpsRunOptions, type OpsRunResult, type OpsSink, type OpsSinkType, type OpsStatusOptions, type OpsStatusResult, type OpsTriggerBatchRunStatus, type OpsTriggerRunStatus, type OpsTriggerRunStatusOptions, type PlatformHealth, type RunNativeGtmCapabilityParams, type RunProgressEvent, type RunResult, type RunRoutineRequest, type RunSystemParams, type Signal, Signaliz, type SignalizCampaignBuilderDefaults, type SignalizConfig, SignalizError, type SignalizErrorData, type SimpleOpStatus, type SystemResult, type UpdateRoutineRequest, type VerifyEmailResult, type WaitOptions, type WorkspaceInfo, applyCampaignBuilderStrategyTemplate, collectExecutionReferences, createCampaignBuilderAgentPlan, createCampaignBuilderAgentRequestTemplate, createCampaignBuilderApproval, createCampaignBuilderBuildKit, createCampaignBuilderMemoryKit, createCampaignBuilderProofReceipt, createCampaignBuilderReadiness, createCampaignBuilderToolRoute, getCampaignBuilderOperatingPlaybook, getCampaignBuilderOperatingPlaybooksForRequest, getCampaignBuilderStrategyTemplate, getMissingCampaignBuilderApprovals, normalizeExecutionReference };
|
package/dist/index.d.ts
CHANGED
|
@@ -1122,6 +1122,104 @@ interface CampaignBuilderProofReceipt {
|
|
|
1122
1122
|
dry_run_result: UnknownRecord$1;
|
|
1123
1123
|
recommended_next_actions: string[];
|
|
1124
1124
|
}
|
|
1125
|
+
interface CampaignBuilderBuildKitOptions extends CampaignBuilderAgentRequestTemplateOptions {
|
|
1126
|
+
requestFile?: string;
|
|
1127
|
+
cliPackage?: string;
|
|
1128
|
+
sdkPackage?: string;
|
|
1129
|
+
}
|
|
1130
|
+
type CampaignBuilderMemoryKitSource = 'agency' | 'workflow-patterns' | 'instantly-feedback' | 'all' | (string & {});
|
|
1131
|
+
interface CampaignBuilderMemoryKitOptions extends CampaignBuilderAgentRequestTemplateOptions {
|
|
1132
|
+
requestFile?: string;
|
|
1133
|
+
seedManifestFile?: string;
|
|
1134
|
+
source?: CampaignBuilderMemoryKitSource;
|
|
1135
|
+
workspaceId?: string;
|
|
1136
|
+
cliPackage?: string;
|
|
1137
|
+
sdkPackage?: string;
|
|
1138
|
+
}
|
|
1139
|
+
interface CampaignBuilderBuildKitCommand {
|
|
1140
|
+
id: string;
|
|
1141
|
+
label: string;
|
|
1142
|
+
command: string;
|
|
1143
|
+
safety: string;
|
|
1144
|
+
}
|
|
1145
|
+
interface CampaignBuilderBuildKitMcpCall {
|
|
1146
|
+
id: string;
|
|
1147
|
+
tool: string;
|
|
1148
|
+
arguments: UnknownRecord$1;
|
|
1149
|
+
safety: string;
|
|
1150
|
+
}
|
|
1151
|
+
interface CampaignBuilderBuildKit {
|
|
1152
|
+
kit_version: 'campaign-builder-kit.v1';
|
|
1153
|
+
source: string;
|
|
1154
|
+
request_file: string;
|
|
1155
|
+
request: CampaignBuilderAgentRequest;
|
|
1156
|
+
strategy_template: string | null;
|
|
1157
|
+
built_in_lanes: string[];
|
|
1158
|
+
operating_playbooks: string[];
|
|
1159
|
+
custom_routes: Array<{
|
|
1160
|
+
provider: string;
|
|
1161
|
+
layer: string;
|
|
1162
|
+
tool: string | null;
|
|
1163
|
+
mcp_server: string | null;
|
|
1164
|
+
mode: string;
|
|
1165
|
+
approval_required: boolean;
|
|
1166
|
+
}>;
|
|
1167
|
+
approval_boundaries: string[];
|
|
1168
|
+
byo_tool_pattern: {
|
|
1169
|
+
cli_flag: string;
|
|
1170
|
+
request_fragment: CampaignBuilderIntegrationRoute;
|
|
1171
|
+
};
|
|
1172
|
+
cli_commands: CampaignBuilderBuildKitCommand[];
|
|
1173
|
+
mcp_calls: CampaignBuilderBuildKitMcpCall[];
|
|
1174
|
+
sdk_example: {
|
|
1175
|
+
language: 'typescript';
|
|
1176
|
+
code: string;
|
|
1177
|
+
};
|
|
1178
|
+
verification: string[];
|
|
1179
|
+
privacy: {
|
|
1180
|
+
client_names_allowed: boolean;
|
|
1181
|
+
notes: string[];
|
|
1182
|
+
};
|
|
1183
|
+
next_actions: string[];
|
|
1184
|
+
}
|
|
1185
|
+
interface CampaignBuilderMemoryKit {
|
|
1186
|
+
kit_version: 'campaign-memory-kit.v1';
|
|
1187
|
+
source: string;
|
|
1188
|
+
read_only: boolean;
|
|
1189
|
+
no_spend: boolean;
|
|
1190
|
+
no_provider_writes: boolean;
|
|
1191
|
+
client_names_allowed: boolean;
|
|
1192
|
+
request_file: string;
|
|
1193
|
+
seed_manifest_file: string;
|
|
1194
|
+
request: CampaignBuilderAgentRequest;
|
|
1195
|
+
strategy_template: string | null;
|
|
1196
|
+
operating_playbooks: string[];
|
|
1197
|
+
memory_sources: Array<{
|
|
1198
|
+
id: string;
|
|
1199
|
+
label: string;
|
|
1200
|
+
seed_source: string;
|
|
1201
|
+
scope: string;
|
|
1202
|
+
privacy: string;
|
|
1203
|
+
}>;
|
|
1204
|
+
seed_runner: {
|
|
1205
|
+
local_script: string;
|
|
1206
|
+
dry_run_command: string;
|
|
1207
|
+
verify_manifest_command: string | null;
|
|
1208
|
+
write_command: string;
|
|
1209
|
+
write_requires: string[];
|
|
1210
|
+
};
|
|
1211
|
+
cli_commands: CampaignBuilderBuildKitCommand[];
|
|
1212
|
+
mcp_calls: CampaignBuilderBuildKitMcpCall[];
|
|
1213
|
+
sdk_example: {
|
|
1214
|
+
language: 'typescript';
|
|
1215
|
+
code: string;
|
|
1216
|
+
};
|
|
1217
|
+
privacy: {
|
|
1218
|
+
client_names_allowed: boolean;
|
|
1219
|
+
notes: string[];
|
|
1220
|
+
};
|
|
1221
|
+
next_actions: string[];
|
|
1222
|
+
}
|
|
1125
1223
|
interface CampaignBuilderBuildReviewOptions extends CampaignRowsOptions {
|
|
1126
1224
|
/** Number of rows to sample for review. Defaults to 100. */
|
|
1127
1225
|
limit?: number;
|
|
@@ -1207,6 +1305,8 @@ declare class CampaignBuilderAgent {
|
|
|
1207
1305
|
createPlan(request: CampaignBuilderAgentRequest, options?: CampaignBuilderPlanOptions): Promise<CampaignBuilderAgentPlan>;
|
|
1208
1306
|
readiness(request: CampaignBuilderAgentRequest, options?: CampaignBuilderPlanOptions): Promise<CampaignBuilderReadinessPacket>;
|
|
1209
1307
|
proof(request: CampaignBuilderAgentRequest, options?: CampaignBuilderProofOptions): Promise<CampaignBuilderProofReceipt>;
|
|
1308
|
+
buildKit(options?: CampaignBuilderBuildKitOptions): CampaignBuilderBuildKit;
|
|
1309
|
+
memoryKit(options?: CampaignBuilderMemoryKitOptions): CampaignBuilderMemoryKit;
|
|
1210
1310
|
commitPlan(plan: CampaignBuilderAgentPlan, options?: CampaignBuilderPlanCommitOptions): Promise<CampaignBuilderPlanCommitResult>;
|
|
1211
1311
|
dryRunPlan(plan: CampaignBuilderAgentPlan, options?: BuildOptions): Promise<CampaignBuildResult>;
|
|
1212
1312
|
buildApprovedPlan(plan: CampaignBuilderAgentPlan, approval: CampaignBuilderApproval, options?: CampaignBuilderBuildOptions): Promise<CampaignBuildResult>;
|
|
@@ -1245,6 +1345,8 @@ declare function getCampaignBuilderOperatingPlaybook(value: unknown): CampaignBu
|
|
|
1245
1345
|
declare function getCampaignBuilderOperatingPlaybooksForRequest(request: CampaignBuilderAgentRequest): CampaignBuilderOperatingPlaybook[];
|
|
1246
1346
|
declare function applyCampaignBuilderStrategyTemplate(request: CampaignBuilderAgentRequest): CampaignBuilderAgentRequest;
|
|
1247
1347
|
declare function createCampaignBuilderAgentRequestTemplate(input?: CampaignBuilderAgentRequestTemplateOptions): CampaignBuilderAgentRequest;
|
|
1348
|
+
declare function createCampaignBuilderBuildKit(input?: CampaignBuilderBuildKitOptions): CampaignBuilderBuildKit;
|
|
1349
|
+
declare function createCampaignBuilderMemoryKit(input?: CampaignBuilderMemoryKitOptions): CampaignBuilderMemoryKit;
|
|
1248
1350
|
declare function createCampaignBuilderToolRoute(input: {
|
|
1249
1351
|
provider?: CampaignBuilderProvider;
|
|
1250
1352
|
layer: CampaignBuilderLayer;
|
|
@@ -3498,4 +3600,4 @@ declare class Signaliz {
|
|
|
3498
3600
|
discover(query: string, category?: string): Promise<MCPToolInfo[]>;
|
|
3499
3601
|
}
|
|
3500
3602
|
|
|
3501
|
-
export { Ai, type ApproveDeliveryResult, type BuildOptions, CAMPAIGN_BUILDER_OPERATING_PLAYBOOKS, CAMPAIGN_BUILDER_STRATEGY_TEMPLATES, type CampaignArtifact, type CampaignBuildRequest$1 as CampaignBuildRequest, type CampaignBuildResult$1 as CampaignBuildResult, type CampaignBuildRow, type CampaignBuildStatus, CampaignBuilderAgent, type CampaignBuilderAgentPlan, type CampaignBuilderAgentProvider, type CampaignBuilderAgentRequest, type CampaignBuilderAgentRequestTemplateOptions, type CampaignBuilderApproval, type CampaignBuilderApprovalPolicy, type CampaignBuilderApprovalType, type CampaignBuilderApprovedRunOptions, type CampaignBuilderApprovedRunResult, type CampaignBuilderBuildOptions, type CampaignBuilderBuiltInTool, type CampaignBuilderCustomerTool, type CampaignBuilderGtmLayer, type CampaignBuilderIntegrationRoute, type CampaignBuilderLayer, type CampaignBuilderMcpStep, type CampaignBuilderMemoryPlan, type CampaignBuilderMemoryQuery, type CampaignBuilderMemoryScope, type CampaignBuilderOperatingPlaybook, type CampaignBuilderOperatingPlaybookSlug, type CampaignBuilderPlanCommitOptions, type CampaignBuilderPlanCommitResult, type CampaignBuilderPlanOptions, type CampaignBuilderProofOptions, type CampaignBuilderProofReceipt, type CampaignBuilderProvider, type CampaignBuilderReadinessGate, type CampaignBuilderReadinessLane, type CampaignBuilderReadinessPacket, type CampaignBuilderReadinessSummary, type CampaignBuilderRequiredApproval, type CampaignBuilderRouteMode, type CampaignBuilderStrategyTemplate, type CampaignBuilderStrategyTemplateSlug, type CampaignBuilderWorkspaceContext, type CampaignDeliveryMode, type CampaignProviderRouteReadback, type CampaignRowsOptions, type CampaignRowsResult, Campaigns, type CancelBuildResult, type CompanyIntelligenceParams, type CompanyIntelligenceResult, type CreateOutputSinkRequest, type CreateRoutineRequest, type CreateSystemParams, type CustomAiAttachment, type CustomAiFusionConfig, type CustomAiMultiModelParams, type CustomAiMultiModelResult, type CustomAiOutputField, DEFAULT_CAMPAIGN_BUILDER_APPROVAL_TYPES, DEFAULT_CAMPAIGN_BUILDER_BUILT_INS, DEFAULT_SIGNALIZ_CAMPAIGN_BUILDER_DEFAULTS, type EmailBatchJobResult, type EnrichSignalsParams, type EnrichSignalsResult, type ErrorType, type ExecutionReference, type ExecutionReferenceInput, type ExecutionReferenceKind, type FindAndVerifyEmailContact, type FindEmailParams, type FindEmailResult, type GenerateLeadsParams, type GenerateLocalLeadsParams, type GtmActorType, type GtmAuthStrategy, type GtmBrainAggregateCalibrationsInput, type GtmBrainAggregatePatternsInput, type GtmBrainCalibrateDeliverabilityInput, type GtmBrainDeliveryRiskInput, type GtmBrainDistillRunInput, type GtmBrainExtractPatternsInput, type GtmBrainFailurePatternsOptions, type GtmBrainLearningAction, type GtmBrainLearningCyclePhase, type GtmBrainLearningCyclePlanInput, type GtmBrainLearningCyclePlanResult, type GtmBrainLearningCycleRunInput, type GtmBrainLearningEvidenceCounts, type GtmBrainLearningLane, type GtmBrainLearningLaneId, type GtmBrainLearningLaneState, type GtmBrainLearningLaneSummary, type GtmBrainLearningPhaseReadiness, type GtmBrainLearningPhaseStatus, type GtmBrainLearningRecommendedToolCall, type GtmBrainPatternsOptions, type GtmBrainSeedDefaultsInput, type GtmCalibrationDimensionType, type GtmCampaignAgentPlanInput, type GtmCampaignAgentRequestTemplateInput, type GtmCampaignBuildPlanInput, type GtmCampaignCreateInput, type GtmCampaignGetOptions, type GtmCampaignHistoryCampaignInput, type GtmCampaignHistoryImportBatchInput, type GtmCampaignHistoryImportInput, type GtmCampaignHistoryImportRunInput, type GtmCampaignHistoryMemoryInput, type GtmCampaignLearningStatusResult, type GtmCampaignListOptions, type GtmCampaignLogInput, type GtmCampaignSource, type GtmCampaignStartContextInput, type GtmCampaignStatus, type GtmCampaignStrategyMemoryStatusInput, type GtmCampaignStrategyTemplateSlug, type GtmCampaignStrategyTemplatesOptions, type GtmCampaignUpdateInput, type GtmConnectionRegisterInput, type GtmConnectionsListOptions, type GtmExistingCampaignAuditBoundary, type GtmExistingCampaignAuditBySearchOptions, type GtmExistingCampaignAuditOptions, type GtmExistingCampaignAuditRecommendation, type GtmExistingCampaignAuditResult, type GtmExistingCampaignCompletenessStep, type GtmExistingCampaignDiscoverOptions, type GtmExistingCampaignDiscoveryResult, type GtmExistingCampaignMcpRequest, type GtmExistingCampaignOption, type GtmFeedbackIngestInput, type GtmIntegrationRecipeCreateInput, type GtmInvocationType, GtmKernel, type GtmKernelImportPreviewInput, type GtmKernelImportRunInput, type GtmLayer, type GtmLayerRouteSetInput, type GtmLayerRoutesGetOptions, type GtmMemorySearchOptions, type GtmMemoryType, type GtmPatternType, type GtmProviderLinkInput, type GtmProviderRecipePrepareInput, type GtmProviderRouteActivateInput, type GtmWebhookDeliverInput, type GtmWorkspaceBootstrapStatusOptions, type GtmWorkspaceContextOptions, type HttpRequestParams, type HttpRequestResult, type IcpDetail, type IcpSummary, Icps, type ImportOctaveResult, type LeadGenJobResult, type ListOutputSinksOptions, type MCPToolInfo, type NativeGtmCapabilityInfo, Ops, type OpsApproveRequest, type OpsApproveResult, type OpsBlueprint, type OpsCadence, type OpsCreateRequest, type OpsCreateResult, type OpsDashboardOptions, type OpsDashboardResult, type OpsDebugDiagnosticError, type OpsDebugOptions, type OpsDebugResult, type OpsPlanRequest, type OpsPlanResult, type OpsPrimitive, type OpsPrimitiveConcurrencyPolicy, type OpsPrimitiveDeadLetterPolicy, type OpsPrimitiveObservabilityPolicy, type OpsPrimitivePermissionLevel, type OpsPrimitiveRetryPolicy, type OpsPrimitiveWorkspaceScope, type OpsQueueStatus, type OpsQueueStatusOptions, type OpsQuickstartStep, type OpsQuickstartWorkflow, type OpsReadinessCheck, type OpsReadinessOptions, type OpsReadinessResult, type OpsReplayResult, type OpsResultsOptions, type OpsResultsResult, type OpsRoutine, type OpsRoutineDeleteResult, type OpsRoutineRunResult, type OpsRoutineSinkResult, type OpsRoutineStatus, type OpsRoutineTick, type OpsRoutineTickItem, type OpsRoutineTickItemsResult, type OpsRoutineTicksResult, type OpsRoutinesResult, type OpsRunOptions, type OpsRunResult, type OpsSink, type OpsSinkType, type OpsStatusOptions, type OpsStatusResult, type OpsTriggerBatchRunStatus, type OpsTriggerRunStatus, type OpsTriggerRunStatusOptions, type PlatformHealth, type RunNativeGtmCapabilityParams, type RunProgressEvent, type RunResult, type RunRoutineRequest, type RunSystemParams, type Signal, Signaliz, type SignalizCampaignBuilderDefaults, type SignalizConfig, SignalizError, type SignalizErrorData, type SimpleOpStatus, type SystemResult, type UpdateRoutineRequest, type VerifyEmailResult, type WaitOptions, type WorkspaceInfo, applyCampaignBuilderStrategyTemplate, collectExecutionReferences, createCampaignBuilderAgentPlan, createCampaignBuilderAgentRequestTemplate, createCampaignBuilderApproval, createCampaignBuilderProofReceipt, createCampaignBuilderReadiness, createCampaignBuilderToolRoute, getCampaignBuilderOperatingPlaybook, getCampaignBuilderOperatingPlaybooksForRequest, getCampaignBuilderStrategyTemplate, getMissingCampaignBuilderApprovals, normalizeExecutionReference };
|
|
3603
|
+
export { Ai, type ApproveDeliveryResult, type BuildOptions, CAMPAIGN_BUILDER_OPERATING_PLAYBOOKS, CAMPAIGN_BUILDER_STRATEGY_TEMPLATES, type CampaignArtifact, type CampaignBuildRequest$1 as CampaignBuildRequest, type CampaignBuildResult$1 as CampaignBuildResult, type CampaignBuildRow, type CampaignBuildStatus, CampaignBuilderAgent, type CampaignBuilderAgentPlan, type CampaignBuilderAgentProvider, type CampaignBuilderAgentRequest, type CampaignBuilderAgentRequestTemplateOptions, type CampaignBuilderApproval, type CampaignBuilderApprovalPolicy, type CampaignBuilderApprovalType, type CampaignBuilderApprovedRunOptions, type CampaignBuilderApprovedRunResult, type CampaignBuilderBuildKit, type CampaignBuilderBuildKitCommand, type CampaignBuilderBuildKitMcpCall, type CampaignBuilderBuildKitOptions, type CampaignBuilderBuildOptions, type CampaignBuilderBuiltInTool, type CampaignBuilderCustomerTool, type CampaignBuilderGtmLayer, type CampaignBuilderIntegrationRoute, type CampaignBuilderLayer, type CampaignBuilderMcpStep, type CampaignBuilderMemoryKit, type CampaignBuilderMemoryKitOptions, type CampaignBuilderMemoryKitSource, type CampaignBuilderMemoryPlan, type CampaignBuilderMemoryQuery, type CampaignBuilderMemoryScope, type CampaignBuilderOperatingPlaybook, type CampaignBuilderOperatingPlaybookSlug, type CampaignBuilderPlanCommitOptions, type CampaignBuilderPlanCommitResult, type CampaignBuilderPlanOptions, type CampaignBuilderProofOptions, type CampaignBuilderProofReceipt, type CampaignBuilderProvider, type CampaignBuilderReadinessGate, type CampaignBuilderReadinessLane, type CampaignBuilderReadinessPacket, type CampaignBuilderReadinessSummary, type CampaignBuilderRequiredApproval, type CampaignBuilderRouteMode, type CampaignBuilderStrategyTemplate, type CampaignBuilderStrategyTemplateSlug, type CampaignBuilderWorkspaceContext, type CampaignDeliveryMode, type CampaignProviderRouteReadback, type CampaignRowsOptions, type CampaignRowsResult, Campaigns, type CancelBuildResult, type CompanyIntelligenceParams, type CompanyIntelligenceResult, type CreateOutputSinkRequest, type CreateRoutineRequest, type CreateSystemParams, type CustomAiAttachment, type CustomAiFusionConfig, type CustomAiMultiModelParams, type CustomAiMultiModelResult, type CustomAiOutputField, DEFAULT_CAMPAIGN_BUILDER_APPROVAL_TYPES, DEFAULT_CAMPAIGN_BUILDER_BUILT_INS, DEFAULT_SIGNALIZ_CAMPAIGN_BUILDER_DEFAULTS, type EmailBatchJobResult, type EnrichSignalsParams, type EnrichSignalsResult, type ErrorType, type ExecutionReference, type ExecutionReferenceInput, type ExecutionReferenceKind, type FindAndVerifyEmailContact, type FindEmailParams, type FindEmailResult, type GenerateLeadsParams, type GenerateLocalLeadsParams, type GtmActorType, type GtmAuthStrategy, type GtmBrainAggregateCalibrationsInput, type GtmBrainAggregatePatternsInput, type GtmBrainCalibrateDeliverabilityInput, type GtmBrainDeliveryRiskInput, type GtmBrainDistillRunInput, type GtmBrainExtractPatternsInput, type GtmBrainFailurePatternsOptions, type GtmBrainLearningAction, type GtmBrainLearningCyclePhase, type GtmBrainLearningCyclePlanInput, type GtmBrainLearningCyclePlanResult, type GtmBrainLearningCycleRunInput, type GtmBrainLearningEvidenceCounts, type GtmBrainLearningLane, type GtmBrainLearningLaneId, type GtmBrainLearningLaneState, type GtmBrainLearningLaneSummary, type GtmBrainLearningPhaseReadiness, type GtmBrainLearningPhaseStatus, type GtmBrainLearningRecommendedToolCall, type GtmBrainPatternsOptions, type GtmBrainSeedDefaultsInput, type GtmCalibrationDimensionType, type GtmCampaignAgentPlanInput, type GtmCampaignAgentRequestTemplateInput, type GtmCampaignBuildPlanInput, type GtmCampaignCreateInput, type GtmCampaignGetOptions, type GtmCampaignHistoryCampaignInput, type GtmCampaignHistoryImportBatchInput, type GtmCampaignHistoryImportInput, type GtmCampaignHistoryImportRunInput, type GtmCampaignHistoryMemoryInput, type GtmCampaignLearningStatusResult, type GtmCampaignListOptions, type GtmCampaignLogInput, type GtmCampaignSource, type GtmCampaignStartContextInput, type GtmCampaignStatus, type GtmCampaignStrategyMemoryStatusInput, type GtmCampaignStrategyTemplateSlug, type GtmCampaignStrategyTemplatesOptions, type GtmCampaignUpdateInput, type GtmConnectionRegisterInput, type GtmConnectionsListOptions, type GtmExistingCampaignAuditBoundary, type GtmExistingCampaignAuditBySearchOptions, type GtmExistingCampaignAuditOptions, type GtmExistingCampaignAuditRecommendation, type GtmExistingCampaignAuditResult, type GtmExistingCampaignCompletenessStep, type GtmExistingCampaignDiscoverOptions, type GtmExistingCampaignDiscoveryResult, type GtmExistingCampaignMcpRequest, type GtmExistingCampaignOption, type GtmFeedbackIngestInput, type GtmIntegrationRecipeCreateInput, type GtmInvocationType, GtmKernel, type GtmKernelImportPreviewInput, type GtmKernelImportRunInput, type GtmLayer, type GtmLayerRouteSetInput, type GtmLayerRoutesGetOptions, type GtmMemorySearchOptions, type GtmMemoryType, type GtmPatternType, type GtmProviderLinkInput, type GtmProviderRecipePrepareInput, type GtmProviderRouteActivateInput, type GtmWebhookDeliverInput, type GtmWorkspaceBootstrapStatusOptions, type GtmWorkspaceContextOptions, type HttpRequestParams, type HttpRequestResult, type IcpDetail, type IcpSummary, Icps, type ImportOctaveResult, type LeadGenJobResult, type ListOutputSinksOptions, type MCPToolInfo, type NativeGtmCapabilityInfo, Ops, type OpsApproveRequest, type OpsApproveResult, type OpsBlueprint, type OpsCadence, type OpsCreateRequest, type OpsCreateResult, type OpsDashboardOptions, type OpsDashboardResult, type OpsDebugDiagnosticError, type OpsDebugOptions, type OpsDebugResult, type OpsPlanRequest, type OpsPlanResult, type OpsPrimitive, type OpsPrimitiveConcurrencyPolicy, type OpsPrimitiveDeadLetterPolicy, type OpsPrimitiveObservabilityPolicy, type OpsPrimitivePermissionLevel, type OpsPrimitiveRetryPolicy, type OpsPrimitiveWorkspaceScope, type OpsQueueStatus, type OpsQueueStatusOptions, type OpsQuickstartStep, type OpsQuickstartWorkflow, type OpsReadinessCheck, type OpsReadinessOptions, type OpsReadinessResult, type OpsReplayResult, type OpsResultsOptions, type OpsResultsResult, type OpsRoutine, type OpsRoutineDeleteResult, type OpsRoutineRunResult, type OpsRoutineSinkResult, type OpsRoutineStatus, type OpsRoutineTick, type OpsRoutineTickItem, type OpsRoutineTickItemsResult, type OpsRoutineTicksResult, type OpsRoutinesResult, type OpsRunOptions, type OpsRunResult, type OpsSink, type OpsSinkType, type OpsStatusOptions, type OpsStatusResult, type OpsTriggerBatchRunStatus, type OpsTriggerRunStatus, type OpsTriggerRunStatusOptions, type PlatformHealth, type RunNativeGtmCapabilityParams, type RunProgressEvent, type RunResult, type RunRoutineRequest, type RunSystemParams, type Signal, Signaliz, type SignalizCampaignBuilderDefaults, type SignalizConfig, SignalizError, type SignalizErrorData, type SimpleOpStatus, type SystemResult, type UpdateRoutineRequest, type VerifyEmailResult, type WaitOptions, type WorkspaceInfo, applyCampaignBuilderStrategyTemplate, collectExecutionReferences, createCampaignBuilderAgentPlan, createCampaignBuilderAgentRequestTemplate, createCampaignBuilderApproval, createCampaignBuilderBuildKit, createCampaignBuilderMemoryKit, createCampaignBuilderProofReceipt, createCampaignBuilderReadiness, createCampaignBuilderToolRoute, getCampaignBuilderOperatingPlaybook, getCampaignBuilderOperatingPlaybooksForRequest, getCampaignBuilderStrategyTemplate, getMissingCampaignBuilderApprovals, normalizeExecutionReference };
|