@signaliz/sdk 1.0.13 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.mjs CHANGED
@@ -2,8 +2,9 @@
2
2
  import {
3
3
  Signaliz,
4
4
  createCampaignBuilderAgentRequestTemplate,
5
- createCampaignBuilderApproval
6
- } from "./chunk-DJVOGXVD.mjs";
5
+ createCampaignBuilderApproval,
6
+ createCampaignBuilderBuildKit
7
+ } from "./chunk-6OZWMAV3.mjs";
7
8
 
8
9
  // src/cli.ts
9
10
  import { readFileSync, writeFileSync } from "fs";
@@ -15,7 +16,7 @@ async function main() {
15
16
  printHelp();
16
17
  return;
17
18
  }
18
- const offlineCampaignAgentTemplate = (command === "campaign-agent" || command === "campaign-builder") && ["init", "template", "request-template", "new"].includes(String(process.argv[3] || ""));
19
+ const offlineCampaignAgentTemplate = (command === "campaign-agent" || command === "campaign-builder") && ["init", "template", "request-template", "new", "kit", "build-kit", "blueprint"].includes(String(process.argv[3] || ""));
19
20
  if (!apiKey && !offlineCampaignAgentTemplate) {
20
21
  console.error("\u274C SIGNALIZ_API_KEY environment variable is required.");
21
22
  console.error(" Set it with: export SIGNALIZ_API_KEY=sk_...");
@@ -379,6 +380,38 @@ async function handleCampaignAgentCommand(signaliz, argv) {
379
380
  }
380
381
  return;
381
382
  }
383
+ if (["kit", "build-kit", "blueprint"].includes(subcommand)) {
384
+ const flags2 = parseFlags(argv.slice(1));
385
+ const requestFromFile2 = campaignAgentRequestFileFromFlags(flags2);
386
+ const fallbackGoal = stringFlag(flags2, "goal", "brief") || stringOrUndefined(requestFromFile2?.goal) || "Build a strategy-template campaign for mature operators in the target ICP.";
387
+ const request2 = requestFromFile2 ? mergeCampaignAgentRequests(
388
+ requestFromFile2,
389
+ campaignAgentRequestFromFlags(fallbackGoal, flags2, { includeDefaults: false })
390
+ ) : campaignAgentRequestTemplateFromFlags(flags2);
391
+ const kit = createCampaignBuilderBuildKit({
392
+ ...request2,
393
+ includeLocalLeads: booleanFlag(flags2, "use-local-leads"),
394
+ includeCustomToolPlaceholder: booleanFlag(flags2, "with-byo-placeholder") || booleanFlag(flags2, "include-custom-tool-placeholder") || booleanFlag(flags2, "include-byo-placeholder"),
395
+ includeNango: !booleanFlag(flags2, "no-nango-catalog"),
396
+ requestFile: stringFlag(flags2, "request-output-file", "request-file-name") || stringFlag(flags2, "request-file") || "campaign-request.json",
397
+ cliPackage: stringFlag(flags2, "cli-package"),
398
+ sdkPackage: stringFlag(flags2, "sdk-package")
399
+ });
400
+ const outputFile = stringFlag(flags2, "output-file", "kit-file", "out");
401
+ if (outputFile) {
402
+ writeFileSync(outputFile, `${JSON.stringify(kit, null, 2)}
403
+ `, "utf8");
404
+ }
405
+ if (booleanFlag(flags2, "json")) {
406
+ printJson(kit);
407
+ } else if (!outputFile) {
408
+ printCampaignAgentBuildKit(kit);
409
+ } else {
410
+ console.log(`Campaign build kit written: ${outputFile}`);
411
+ console.log(`Next: ${kit.cli_commands.find((command) => command.id === "proof_shortcut")?.command}`);
412
+ }
413
+ return;
414
+ }
382
415
  if (["review", "status", "rows", "artifacts", "approve", "approve-delivery"].includes(subcommand)) {
383
416
  await handleCampaignAgentReviewCommand(signaliz, subcommand, argv.slice(1));
384
417
  return;
@@ -426,12 +459,11 @@ async function handleCampaignAgentCommand(signaliz, argv) {
426
459
  if (!readiness.summary.ready) process.exitCode = 1;
427
460
  return;
428
461
  }
429
- const plan = await signaliz.campaignBuilderAgent.createPlan(request, planOptions);
430
462
  if (subcommand === "proof" || subcommand === "smoke") {
431
- const result = await signaliz.campaignBuilderAgent.dryRunPlan(plan, {
463
+ const proof = await signaliz.campaignBuilderAgent.proof(request, {
464
+ ...planOptions,
432
465
  idempotencyKey: stringFlag(flags, "idempotency-key")
433
466
  });
434
- const proof = createCampaignAgentProofReceipt(plan, result);
435
467
  if (booleanFlag(flags, "json")) {
436
468
  printJson(proof);
437
469
  } else {
@@ -440,6 +472,7 @@ async function handleCampaignAgentCommand(signaliz, argv) {
440
472
  if (!proof.success) process.exitCode = 1;
441
473
  return;
442
474
  }
475
+ const plan = await signaliz.campaignBuilderAgent.createPlan(request, planOptions);
443
476
  if (isCommitPlan) {
444
477
  const result = await signaliz.campaignBuilderAgent.commitPlan(plan, {
445
478
  confirm: isConfirmedCommit,
@@ -905,6 +938,25 @@ function printCampaignAgentPlan(plan) {
905
938
  console.log(`- ${step.id}: ${step.tool}${step.approvalRequired ? " (approval required)" : ""}`);
906
939
  }
907
940
  }
941
+ function printCampaignAgentBuildKit(kit) {
942
+ console.log(`Campaign build kit: ${kit.strategy_template || "custom strategy"}`);
943
+ console.log(`Request file: ${kit.request_file}`);
944
+ console.log(`Built-ins: ${kit.built_in_lanes.join(", ") || "none"}`);
945
+ console.log(`Playbooks: ${kit.operating_playbooks.join(", ") || "none"}`);
946
+ console.log(`BYO routes: ${kit.custom_routes.length}`);
947
+ console.log("\nCLI:");
948
+ for (const command of kit.cli_commands.slice(0, 4)) {
949
+ console.log(`- ${command.label}: ${command.command}`);
950
+ }
951
+ console.log("\nMCP:");
952
+ for (const call of kit.mcp_calls.slice(0, 3)) {
953
+ console.log(`- ${call.tool}: ${call.safety}`);
954
+ }
955
+ console.log("\nBYO tool pattern:");
956
+ console.log(`- ${kit.byo_tool_pattern.cli_flag}`);
957
+ console.log("\nNext:");
958
+ for (const action of kit.next_actions.slice(0, 4)) console.log(`- ${action}`);
959
+ }
908
960
  function printCampaignAgentExecution(payload, flags) {
909
961
  if (booleanFlag(flags, "json")) {
910
962
  printJson(payload);
@@ -1031,138 +1083,6 @@ function printCampaignAgentRows(result) {
1031
1083
  function asRecord(value) {
1032
1084
  return value && typeof value === "object" && !Array.isArray(value) ? value : {};
1033
1085
  }
1034
- function createCampaignAgentProofReceipt(plan, result) {
1035
- const strategyMemory = asRecord(plan.strategyMemoryStatus);
1036
- const dryRunResult = asRecord(result);
1037
- const memoryReady = plan.strategyMemoryStatus ? strategyMemory.ready !== false : false;
1038
- const dryRunCompleted = dryRunResult.dryRun === true || dryRunResult.dry_run === true || dryRunResult.status === "dry_run";
1039
- const noLaunch = dryRunCompleted && !dryRunResult.campaignBuildId && !dryRunResult.campaign_build_id;
1040
- const gates = [
1041
- {
1042
- id: "strategy_memory_ready",
1043
- passed: memoryReady,
1044
- ready: strategyMemory.ready ?? null,
1045
- blocker_count: Array.isArray(strategyMemory.blockers) ? strategyMemory.blockers.length : 0
1046
- },
1047
- {
1048
- id: "campaign_plan_ready",
1049
- passed: Boolean(plan.planId && plan.mcpFlow.length > 0),
1050
- plan_id: plan.planId,
1051
- flow_steps: plan.mcpFlow.length
1052
- },
1053
- {
1054
- id: "approval_gates_present",
1055
- passed: plan.approvals.length > 0,
1056
- approval_types: plan.approvals.map((approval) => approval.type)
1057
- },
1058
- {
1059
- id: "dry_run_completed",
1060
- passed: dryRunCompleted,
1061
- status: dryRunResult.status ?? null,
1062
- current_phase: dryRunResult.currentPhase ?? dryRunResult.current_phase ?? null
1063
- },
1064
- {
1065
- id: "no_spendful_launch",
1066
- passed: noLaunch,
1067
- campaign_build_id: dryRunResult.campaignBuildId ?? dryRunResult.campaign_build_id ?? null
1068
- }
1069
- ];
1070
- return {
1071
- receipt_version: "campaign-agent-proof.v1",
1072
- source: "signaliz campaign-agent proof",
1073
- success: gates.every((gate) => gate.passed),
1074
- safety: {
1075
- spendful_tools_called: false,
1076
- external_writes_called: false,
1077
- sender_loads_called: false,
1078
- email_sends_called: false,
1079
- dry_run_only: true
1080
- },
1081
- campaign: {
1082
- plan_id: plan.planId,
1083
- campaign_name: plan.campaignName,
1084
- strategy_template: campaignAgentStrategyTemplate(plan),
1085
- target_count: plan.targetCount,
1086
- estimated_credits: plan.estimatedCredits,
1087
- operating_playbooks: plan.operatingPlaybooks.map((playbook) => playbook.slug)
1088
- },
1089
- gates,
1090
- strategy_memory_status: summarizeCampaignAgentStrategyMemory(strategyMemory),
1091
- dry_run_result: summarizeCampaignAgentDryRun(dryRunResult),
1092
- recommended_next_actions: [
1093
- "Review the plan, approvals, and dry-run result.",
1094
- "Use campaign-agent commit-plan --confirm-write only after review.",
1095
- "Use campaign-agent build-approved only with --confirm-launch, approval identity, approval types, and spend limit.",
1096
- "When an approved build reaches pending_approval, review rows and approve delivery through the Campaigns SDK."
1097
- ]
1098
- };
1099
- }
1100
- function campaignAgentString(...values) {
1101
- for (const value of values) {
1102
- if (typeof value === "string" && value.trim()) return value;
1103
- }
1104
- return null;
1105
- }
1106
- function campaignAgentStrategyTemplate(plan) {
1107
- const buildRequest = asRecord(plan.buildRequest);
1108
- const strategyMemory = asRecord(plan.strategyMemoryStatus);
1109
- const statusTemplate = strategyMemory.strategy_template ?? strategyMemory.strategyTemplate;
1110
- const statusTemplateRecord = asRecord(statusTemplate);
1111
- const flowTemplate = plan.mcpFlow.map((step) => asRecord(step.arguments).strategy_template ?? asRecord(step.arguments).strategyTemplate).find((value) => typeof value === "string" && value.trim());
1112
- return campaignAgentString(
1113
- buildRequest.strategyTemplate,
1114
- buildRequest.strategy_template,
1115
- statusTemplate,
1116
- statusTemplateRecord.slug,
1117
- statusTemplateRecord.id,
1118
- flowTemplate
1119
- );
1120
- }
1121
- function summarizeCampaignAgentStrategyMemory(strategyMemory) {
1122
- if (Object.keys(strategyMemory).length === 0) return { ready: false };
1123
- const template = strategyMemory.strategy_template ?? strategyMemory.strategyTemplate;
1124
- const templateRecord = asRecord(template);
1125
- const coverage = asRecord(strategyMemory.coverage);
1126
- const rawSourceGroups = Array.isArray(strategyMemory.source_groups) ? strategyMemory.source_groups : Array.isArray(strategyMemory.sourceGroups) ? strategyMemory.sourceGroups : [];
1127
- const sourceGroups = rawSourceGroups.map((group) => {
1128
- const sourceGroup = asRecord(group);
1129
- return {
1130
- id: sourceGroup.id ?? null,
1131
- required: sourceGroup.required ?? null,
1132
- ready: sourceGroup.ready ?? null,
1133
- counts: asRecord(sourceGroup.counts)
1134
- };
1135
- });
1136
- return {
1137
- ready: strategyMemory.ready ?? null,
1138
- read_only: strategyMemory.read_only ?? strategyMemory.readOnly ?? null,
1139
- source_tool: campaignAgentString(strategyMemory.source_tool, strategyMemory.sourceTool),
1140
- strategy_template: {
1141
- slug: campaignAgentString(template, templateRecord.slug, templateRecord.id),
1142
- label: campaignAgentString(templateRecord.label)
1143
- },
1144
- coverage: {
1145
- required_groups_ready: coverage.required_groups_ready ?? coverage.requiredGroupsReady ?? null,
1146
- required_groups_total: coverage.required_groups_total ?? coverage.requiredGroupsTotal ?? null,
1147
- source_groups_ready: coverage.source_groups_ready ?? coverage.sourceGroupsReady ?? null,
1148
- source_groups_total: coverage.source_groups_total ?? coverage.sourceGroupsTotal ?? null,
1149
- knowledge_docs: coverage.knowledge_docs ?? coverage.knowledgeDocs ?? null,
1150
- memories: coverage.memories ?? null
1151
- },
1152
- source_groups: sourceGroups,
1153
- blocker_count: Array.isArray(strategyMemory.blockers) ? strategyMemory.blockers.length : 0,
1154
- warning_count: Array.isArray(strategyMemory.warnings) ? strategyMemory.warnings.length : 0
1155
- };
1156
- }
1157
- function summarizeCampaignAgentDryRun(dryRunResult) {
1158
- return {
1159
- dryRun: dryRunResult.dryRun ?? dryRunResult.dry_run ?? null,
1160
- status: dryRunResult.status ?? null,
1161
- currentPhase: dryRunResult.currentPhase ?? dryRunResult.current_phase ?? null,
1162
- campaignBuildId: dryRunResult.campaignBuildId ?? dryRunResult.campaign_build_id ?? null,
1163
- plannedTargetCount: dryRunResult.plannedTargetCount ?? dryRunResult.planned_target_count ?? null
1164
- };
1165
- }
1166
1086
  function printCampaignAgentProof(proof) {
1167
1087
  console.log(`Campaign-agent proof: ${proof.success ? "passed" : "failed"}`);
1168
1088
  const campaign = asRecord(proof.campaign);
@@ -1234,6 +1154,7 @@ function printCampaignAgentHelp() {
1234
1154
  Signaliz campaign-agent commands:
1235
1155
 
1236
1156
  signaliz campaign-agent init [--goal TEXT] [--strategy-template ID] [--target-count N] [--use-local-leads] [--with-byo-placeholder] [--output-file FILE] [--json]
1157
+ 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]
1237
1158
  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]
1238
1159
  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]
1239
1160
  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]
@@ -1246,7 +1167,7 @@ Signaliz campaign-agent commands:
1246
1167
  signaliz campaign-agent artifacts <campaign_build_id> [--json]
1247
1168
  signaliz campaign-agent approve <campaign_build_id> --destination-type json|csv|webhook [--destination-config JSON] [--json]
1248
1169
 
1249
- 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.
1170
+ 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.
1250
1171
  `);
1251
1172
  }
1252
1173
  main().catch((e) => {
package/dist/index.d.mts CHANGED
@@ -1094,6 +1094,85 @@ interface CampaignBuilderApprovedRunResult {
1094
1094
  finalStatus?: CampaignBuildStatus;
1095
1095
  deliveryApproval?: ApproveDeliveryResult;
1096
1096
  }
1097
+ type CampaignBuilderProofOptions = CampaignBuilderPlanOptions & BuildOptions;
1098
+ interface CampaignBuilderProofReceipt {
1099
+ receipt_version: 'campaign-agent-proof.v1';
1100
+ source: string;
1101
+ success: boolean;
1102
+ safety: {
1103
+ spendful_tools_called: boolean;
1104
+ external_writes_called: boolean;
1105
+ sender_loads_called: boolean;
1106
+ email_sends_called: boolean;
1107
+ dry_run_only: boolean;
1108
+ };
1109
+ campaign: {
1110
+ plan_id: string;
1111
+ campaign_name: string;
1112
+ strategy_template: string | null;
1113
+ target_count: number;
1114
+ estimated_credits: number;
1115
+ operating_playbooks: string[];
1116
+ };
1117
+ gates: Array<UnknownRecord$1 & {
1118
+ id: string;
1119
+ passed: boolean;
1120
+ }>;
1121
+ strategy_memory_status: UnknownRecord$1;
1122
+ dry_run_result: UnknownRecord$1;
1123
+ recommended_next_actions: string[];
1124
+ }
1125
+ interface CampaignBuilderBuildKitOptions extends CampaignBuilderAgentRequestTemplateOptions {
1126
+ requestFile?: string;
1127
+ cliPackage?: string;
1128
+ sdkPackage?: string;
1129
+ }
1130
+ interface CampaignBuilderBuildKitCommand {
1131
+ id: string;
1132
+ label: string;
1133
+ command: string;
1134
+ safety: string;
1135
+ }
1136
+ interface CampaignBuilderBuildKitMcpCall {
1137
+ id: string;
1138
+ tool: string;
1139
+ arguments: UnknownRecord$1;
1140
+ safety: string;
1141
+ }
1142
+ interface CampaignBuilderBuildKit {
1143
+ kit_version: 'campaign-builder-kit.v1';
1144
+ source: string;
1145
+ request_file: string;
1146
+ request: CampaignBuilderAgentRequest;
1147
+ strategy_template: string | null;
1148
+ built_in_lanes: string[];
1149
+ operating_playbooks: string[];
1150
+ custom_routes: Array<{
1151
+ provider: string;
1152
+ layer: string;
1153
+ tool: string | null;
1154
+ mcp_server: string | null;
1155
+ mode: string;
1156
+ approval_required: boolean;
1157
+ }>;
1158
+ approval_boundaries: string[];
1159
+ byo_tool_pattern: {
1160
+ cli_flag: string;
1161
+ request_fragment: CampaignBuilderIntegrationRoute;
1162
+ };
1163
+ cli_commands: CampaignBuilderBuildKitCommand[];
1164
+ mcp_calls: CampaignBuilderBuildKitMcpCall[];
1165
+ sdk_example: {
1166
+ language: 'typescript';
1167
+ code: string;
1168
+ };
1169
+ verification: string[];
1170
+ privacy: {
1171
+ client_names_allowed: boolean;
1172
+ notes: string[];
1173
+ };
1174
+ next_actions: string[];
1175
+ }
1097
1176
  interface CampaignBuilderBuildReviewOptions extends CampaignRowsOptions {
1098
1177
  /** Number of rows to sample for review. Defaults to 100. */
1099
1178
  limit?: number;
@@ -1178,6 +1257,8 @@ declare class CampaignBuilderAgent {
1178
1257
  constructor(client: HttpClient);
1179
1258
  createPlan(request: CampaignBuilderAgentRequest, options?: CampaignBuilderPlanOptions): Promise<CampaignBuilderAgentPlan>;
1180
1259
  readiness(request: CampaignBuilderAgentRequest, options?: CampaignBuilderPlanOptions): Promise<CampaignBuilderReadinessPacket>;
1260
+ proof(request: CampaignBuilderAgentRequest, options?: CampaignBuilderProofOptions): Promise<CampaignBuilderProofReceipt>;
1261
+ buildKit(options?: CampaignBuilderBuildKitOptions): CampaignBuilderBuildKit;
1181
1262
  commitPlan(plan: CampaignBuilderAgentPlan, options?: CampaignBuilderPlanCommitOptions): Promise<CampaignBuilderPlanCommitResult>;
1182
1263
  dryRunPlan(plan: CampaignBuilderAgentPlan, options?: BuildOptions): Promise<CampaignBuildResult>;
1183
1264
  buildApprovedPlan(plan: CampaignBuilderAgentPlan, approval: CampaignBuilderApproval, options?: CampaignBuilderBuildOptions): Promise<CampaignBuildResult>;
@@ -1208,6 +1289,7 @@ declare function createCampaignBuilderAgentPlan(request: CampaignBuilderAgentReq
1208
1289
  warnings?: string[];
1209
1290
  }): CampaignBuilderAgentPlan;
1210
1291
  declare function createCampaignBuilderReadiness(plan: CampaignBuilderAgentPlan): CampaignBuilderReadinessPacket;
1292
+ declare function createCampaignBuilderProofReceipt(plan: CampaignBuilderAgentPlan, result: unknown): CampaignBuilderProofReceipt;
1211
1293
  declare function getMissingCampaignBuilderApprovals(plan: CampaignBuilderAgentPlan, approval: CampaignBuilderApproval): CampaignBuilderRequiredApproval[];
1212
1294
  declare function createCampaignBuilderApproval(plan: CampaignBuilderAgentPlan, input: Omit<CampaignBuilderApproval, 'planId' | 'approvedAt'>): CampaignBuilderApproval;
1213
1295
  declare function getCampaignBuilderStrategyTemplate(value: unknown): CampaignBuilderStrategyTemplate | undefined;
@@ -1215,6 +1297,7 @@ declare function getCampaignBuilderOperatingPlaybook(value: unknown): CampaignBu
1215
1297
  declare function getCampaignBuilderOperatingPlaybooksForRequest(request: CampaignBuilderAgentRequest): CampaignBuilderOperatingPlaybook[];
1216
1298
  declare function applyCampaignBuilderStrategyTemplate(request: CampaignBuilderAgentRequest): CampaignBuilderAgentRequest;
1217
1299
  declare function createCampaignBuilderAgentRequestTemplate(input?: CampaignBuilderAgentRequestTemplateOptions): CampaignBuilderAgentRequest;
1300
+ declare function createCampaignBuilderBuildKit(input?: CampaignBuilderBuildKitOptions): CampaignBuilderBuildKit;
1218
1301
  declare function createCampaignBuilderToolRoute(input: {
1219
1302
  provider?: CampaignBuilderProvider;
1220
1303
  layer: CampaignBuilderLayer;
@@ -3468,4 +3551,4 @@ declare class Signaliz {
3468
3551
  discover(query: string, category?: string): Promise<MCPToolInfo[]>;
3469
3552
  }
3470
3553
 
3471
- 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 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, createCampaignBuilderReadiness, createCampaignBuilderToolRoute, getCampaignBuilderOperatingPlaybook, getCampaignBuilderOperatingPlaybooksForRequest, getCampaignBuilderStrategyTemplate, getMissingCampaignBuilderApprovals, normalizeExecutionReference };
3554
+ 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 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, createCampaignBuilderProofReceipt, createCampaignBuilderReadiness, createCampaignBuilderToolRoute, getCampaignBuilderOperatingPlaybook, getCampaignBuilderOperatingPlaybooksForRequest, getCampaignBuilderStrategyTemplate, getMissingCampaignBuilderApprovals, normalizeExecutionReference };
package/dist/index.d.ts CHANGED
@@ -1094,6 +1094,85 @@ interface CampaignBuilderApprovedRunResult {
1094
1094
  finalStatus?: CampaignBuildStatus;
1095
1095
  deliveryApproval?: ApproveDeliveryResult;
1096
1096
  }
1097
+ type CampaignBuilderProofOptions = CampaignBuilderPlanOptions & BuildOptions;
1098
+ interface CampaignBuilderProofReceipt {
1099
+ receipt_version: 'campaign-agent-proof.v1';
1100
+ source: string;
1101
+ success: boolean;
1102
+ safety: {
1103
+ spendful_tools_called: boolean;
1104
+ external_writes_called: boolean;
1105
+ sender_loads_called: boolean;
1106
+ email_sends_called: boolean;
1107
+ dry_run_only: boolean;
1108
+ };
1109
+ campaign: {
1110
+ plan_id: string;
1111
+ campaign_name: string;
1112
+ strategy_template: string | null;
1113
+ target_count: number;
1114
+ estimated_credits: number;
1115
+ operating_playbooks: string[];
1116
+ };
1117
+ gates: Array<UnknownRecord$1 & {
1118
+ id: string;
1119
+ passed: boolean;
1120
+ }>;
1121
+ strategy_memory_status: UnknownRecord$1;
1122
+ dry_run_result: UnknownRecord$1;
1123
+ recommended_next_actions: string[];
1124
+ }
1125
+ interface CampaignBuilderBuildKitOptions extends CampaignBuilderAgentRequestTemplateOptions {
1126
+ requestFile?: string;
1127
+ cliPackage?: string;
1128
+ sdkPackage?: string;
1129
+ }
1130
+ interface CampaignBuilderBuildKitCommand {
1131
+ id: string;
1132
+ label: string;
1133
+ command: string;
1134
+ safety: string;
1135
+ }
1136
+ interface CampaignBuilderBuildKitMcpCall {
1137
+ id: string;
1138
+ tool: string;
1139
+ arguments: UnknownRecord$1;
1140
+ safety: string;
1141
+ }
1142
+ interface CampaignBuilderBuildKit {
1143
+ kit_version: 'campaign-builder-kit.v1';
1144
+ source: string;
1145
+ request_file: string;
1146
+ request: CampaignBuilderAgentRequest;
1147
+ strategy_template: string | null;
1148
+ built_in_lanes: string[];
1149
+ operating_playbooks: string[];
1150
+ custom_routes: Array<{
1151
+ provider: string;
1152
+ layer: string;
1153
+ tool: string | null;
1154
+ mcp_server: string | null;
1155
+ mode: string;
1156
+ approval_required: boolean;
1157
+ }>;
1158
+ approval_boundaries: string[];
1159
+ byo_tool_pattern: {
1160
+ cli_flag: string;
1161
+ request_fragment: CampaignBuilderIntegrationRoute;
1162
+ };
1163
+ cli_commands: CampaignBuilderBuildKitCommand[];
1164
+ mcp_calls: CampaignBuilderBuildKitMcpCall[];
1165
+ sdk_example: {
1166
+ language: 'typescript';
1167
+ code: string;
1168
+ };
1169
+ verification: string[];
1170
+ privacy: {
1171
+ client_names_allowed: boolean;
1172
+ notes: string[];
1173
+ };
1174
+ next_actions: string[];
1175
+ }
1097
1176
  interface CampaignBuilderBuildReviewOptions extends CampaignRowsOptions {
1098
1177
  /** Number of rows to sample for review. Defaults to 100. */
1099
1178
  limit?: number;
@@ -1178,6 +1257,8 @@ declare class CampaignBuilderAgent {
1178
1257
  constructor(client: HttpClient);
1179
1258
  createPlan(request: CampaignBuilderAgentRequest, options?: CampaignBuilderPlanOptions): Promise<CampaignBuilderAgentPlan>;
1180
1259
  readiness(request: CampaignBuilderAgentRequest, options?: CampaignBuilderPlanOptions): Promise<CampaignBuilderReadinessPacket>;
1260
+ proof(request: CampaignBuilderAgentRequest, options?: CampaignBuilderProofOptions): Promise<CampaignBuilderProofReceipt>;
1261
+ buildKit(options?: CampaignBuilderBuildKitOptions): CampaignBuilderBuildKit;
1181
1262
  commitPlan(plan: CampaignBuilderAgentPlan, options?: CampaignBuilderPlanCommitOptions): Promise<CampaignBuilderPlanCommitResult>;
1182
1263
  dryRunPlan(plan: CampaignBuilderAgentPlan, options?: BuildOptions): Promise<CampaignBuildResult>;
1183
1264
  buildApprovedPlan(plan: CampaignBuilderAgentPlan, approval: CampaignBuilderApproval, options?: CampaignBuilderBuildOptions): Promise<CampaignBuildResult>;
@@ -1208,6 +1289,7 @@ declare function createCampaignBuilderAgentPlan(request: CampaignBuilderAgentReq
1208
1289
  warnings?: string[];
1209
1290
  }): CampaignBuilderAgentPlan;
1210
1291
  declare function createCampaignBuilderReadiness(plan: CampaignBuilderAgentPlan): CampaignBuilderReadinessPacket;
1292
+ declare function createCampaignBuilderProofReceipt(plan: CampaignBuilderAgentPlan, result: unknown): CampaignBuilderProofReceipt;
1211
1293
  declare function getMissingCampaignBuilderApprovals(plan: CampaignBuilderAgentPlan, approval: CampaignBuilderApproval): CampaignBuilderRequiredApproval[];
1212
1294
  declare function createCampaignBuilderApproval(plan: CampaignBuilderAgentPlan, input: Omit<CampaignBuilderApproval, 'planId' | 'approvedAt'>): CampaignBuilderApproval;
1213
1295
  declare function getCampaignBuilderStrategyTemplate(value: unknown): CampaignBuilderStrategyTemplate | undefined;
@@ -1215,6 +1297,7 @@ declare function getCampaignBuilderOperatingPlaybook(value: unknown): CampaignBu
1215
1297
  declare function getCampaignBuilderOperatingPlaybooksForRequest(request: CampaignBuilderAgentRequest): CampaignBuilderOperatingPlaybook[];
1216
1298
  declare function applyCampaignBuilderStrategyTemplate(request: CampaignBuilderAgentRequest): CampaignBuilderAgentRequest;
1217
1299
  declare function createCampaignBuilderAgentRequestTemplate(input?: CampaignBuilderAgentRequestTemplateOptions): CampaignBuilderAgentRequest;
1300
+ declare function createCampaignBuilderBuildKit(input?: CampaignBuilderBuildKitOptions): CampaignBuilderBuildKit;
1218
1301
  declare function createCampaignBuilderToolRoute(input: {
1219
1302
  provider?: CampaignBuilderProvider;
1220
1303
  layer: CampaignBuilderLayer;
@@ -3468,4 +3551,4 @@ declare class Signaliz {
3468
3551
  discover(query: string, category?: string): Promise<MCPToolInfo[]>;
3469
3552
  }
3470
3553
 
3471
- 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 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, createCampaignBuilderReadiness, createCampaignBuilderToolRoute, getCampaignBuilderOperatingPlaybook, getCampaignBuilderOperatingPlaybooksForRequest, getCampaignBuilderStrategyTemplate, getMissingCampaignBuilderApprovals, normalizeExecutionReference };
3554
+ 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 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, createCampaignBuilderProofReceipt, createCampaignBuilderReadiness, createCampaignBuilderToolRoute, getCampaignBuilderOperatingPlaybook, getCampaignBuilderOperatingPlaybooksForRequest, getCampaignBuilderStrategyTemplate, getMissingCampaignBuilderApprovals, normalizeExecutionReference };