@signaliz/sdk 1.0.6 → 1.0.8
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 +100 -8
- package/dist/{chunk-GRVV37LD.mjs → chunk-KL6KNOP6.mjs} +1432 -55
- package/dist/cli.js +2390 -62
- package/dist/cli.mjs +963 -9
- package/dist/index.d.mts +245 -10
- package/dist/index.d.ts +245 -10
- package/dist/index.js +1442 -55
- package/dist/index.mjs +21 -1
- package/dist/mcp-config.js +1320 -55
- package/dist/mcp-config.mjs +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -561,8 +561,8 @@ interface CampaignBuildRequest$1 {
|
|
|
561
561
|
type CampaignApproach = 'account_first_qualified_outbound' | 'lookalike_expansion' | 'local_services_verified_email' | 'named_account_signal_monitor' | 'list_enrichment_and_route';
|
|
562
562
|
interface CampaignScopeRequest {
|
|
563
563
|
prompt: string;
|
|
564
|
-
|
|
565
|
-
|
|
564
|
+
accountLabel?: string;
|
|
565
|
+
accountContext?: string;
|
|
566
566
|
campaignGoal?: string;
|
|
567
567
|
targetCount?: number;
|
|
568
568
|
destinations?: Array<{
|
|
@@ -578,7 +578,7 @@ interface CampaignScopeRequest {
|
|
|
578
578
|
}
|
|
579
579
|
interface CampaignScopeResult {
|
|
580
580
|
campaignScopeId: string;
|
|
581
|
-
|
|
581
|
+
accountLabel: string;
|
|
582
582
|
campaignName: string;
|
|
583
583
|
approach: CampaignApproach;
|
|
584
584
|
approachLabel: string;
|
|
@@ -649,6 +649,10 @@ interface CampaignBuildStatus {
|
|
|
649
649
|
errors: string[];
|
|
650
650
|
artifactCount: number;
|
|
651
651
|
providerRoute?: CampaignProviderRouteReadback$1 | null;
|
|
652
|
+
triggerRunId?: string | null;
|
|
653
|
+
staleRunningPhase?: boolean;
|
|
654
|
+
phaseAgeSeconds?: number | null;
|
|
655
|
+
diagnostics?: Record<string, unknown>;
|
|
652
656
|
nextAction: string;
|
|
653
657
|
createdAt: string;
|
|
654
658
|
updatedAt: string;
|
|
@@ -738,7 +742,7 @@ declare class Campaigns {
|
|
|
738
742
|
* ```
|
|
739
743
|
*/
|
|
740
744
|
build(request: CampaignBuildRequest$1, options?: BuildOptions): Promise<CampaignBuildResult$1>;
|
|
741
|
-
/** Scope an agency/
|
|
745
|
+
/** Scope an agency/customer campaign into a markdown brief plus build_campaign dry-run args. */
|
|
742
746
|
scope(request: CampaignScopeRequest): Promise<CampaignScopeResult>;
|
|
743
747
|
/** Get a concise status snapshot — ideal for polling loops. */
|
|
744
748
|
status(campaignBuildId: string): Promise<CampaignBuildStatus>;
|
|
@@ -801,8 +805,11 @@ interface CampaignProviderRouteReadback {
|
|
|
801
805
|
}
|
|
802
806
|
type CampaignBuilderLayer = 'workspace_context' | 'memory' | 'source' | 'enrichment' | 'qualification' | 'copy' | 'delivery' | 'feedback' | 'approval';
|
|
803
807
|
type CampaignBuilderGtmLayer = 'icp' | 'find_company' | 'find_people' | 'lead_generation' | 'local_leads' | 'email_finding' | 'email_verification' | 'company_enrichment' | 'copy_enrichment' | 'qualification' | 'sender' | 'feedback' | 'approval' | 'source_import' | 'destination_export' | 'customer_data' | 'custom';
|
|
804
|
-
type CampaignBuilderProvider = 'signaliz' | 'octave' | 'apollo' | 'ai_ark' | 'clay_webhook' | 'airbyte' | 'nango' | 'instantly' | 'smartlead' | 'heyreach' | 'custom_mcp' | 'custom_api' | 'custom_webhook' | 'webhook' | 'csv';
|
|
808
|
+
type CampaignBuilderProvider = 'signaliz' | 'octave' | 'apollo' | 'ai_ark' | 'clay_webhook' | 'airbyte' | 'nango' | 'instantly' | 'smartlead' | 'heyreach' | 'custom_mcp' | 'custom_api' | 'custom_webhook' | 'webhook' | 'csv' | (string & {});
|
|
805
809
|
type CampaignBuilderAgentProvider = CampaignBuilderProvider;
|
|
810
|
+
type CampaignBuilderBuiltInTool = 'lead_generation' | 'local_leads' | 'email_finding' | 'email_verification' | 'signals';
|
|
811
|
+
type CampaignBuilderStrategyTemplateSlug = 'industrial-ot-resilience' | 'non-medical-home-care' | 'agency-founder-led' | 'cloud-infrastructure-displacement';
|
|
812
|
+
type CampaignBuilderOperatingPlaybookSlug = 'cache-first-large-list' | 'net-new-suppressed-list' | 'proof-first-vertical-gate' | 'signal-led-copy-approval' | 'domain-first-recovery' | 'table-workflow-handoff';
|
|
806
813
|
type CampaignBuilderRouteMode = 'required' | 'if_available' | 'fallback' | 'disabled';
|
|
807
814
|
type CampaignBuilderProviderRoutingMode = 'preferred' | 'fallback' | 'disabled';
|
|
808
815
|
type CampaignBuilderProviderInvocationType = 'signaliz_native' | 'mcp' | 'mcp_tool' | 'webhook' | 'api' | 'airbyte' | 'manual' | 'managed_integration';
|
|
@@ -929,11 +936,15 @@ interface CampaignBuilderApprovalPolicy {
|
|
|
929
936
|
}
|
|
930
937
|
interface CampaignBuilderAgentRequest {
|
|
931
938
|
goal: string;
|
|
939
|
+
/** Named private-safe strategy template to merge into the request. */
|
|
940
|
+
strategyTemplate?: CampaignBuilderStrategyTemplateSlug | (string & {});
|
|
941
|
+
/** Private-safe operating playbooks to apply in addition to strategy-template defaults. */
|
|
942
|
+
operatingPlaybooks?: Array<CampaignBuilderOperatingPlaybookSlug | (string & {})>;
|
|
932
943
|
/** Existing committed GTM campaign object to execute through gtm_campaign_build_execution_prepare. */
|
|
933
944
|
gtmCampaignId?: string;
|
|
934
945
|
campaignName?: string;
|
|
935
|
-
|
|
936
|
-
|
|
946
|
+
accountLabel?: string;
|
|
947
|
+
accountContext?: string;
|
|
937
948
|
targetCount?: number;
|
|
938
949
|
icp?: CampaignBuildRequest['icp'];
|
|
939
950
|
/** Optional output from gtm_brain_seed_defaults to attach to build_campaign. */
|
|
@@ -944,6 +955,20 @@ interface CampaignBuilderAgentRequest {
|
|
|
944
955
|
memory?: CampaignBuilderMemoryPlan;
|
|
945
956
|
integrations?: CampaignBuilderIntegrationRoute[];
|
|
946
957
|
customerTools?: CampaignBuilderCustomerTool[];
|
|
958
|
+
preferredProviders?: CampaignBuilderProvider[];
|
|
959
|
+
/** Signaliz-native lanes to include in the campaign plan. Defaults to lead generation, email finding, verification, and signals. */
|
|
960
|
+
builtIns?: CampaignBuilderBuiltInTool[];
|
|
961
|
+
agencyContext?: {
|
|
962
|
+
/** Public strategy model. Defaults to strategy_template. */
|
|
963
|
+
strategyModel?: 'strategy_template' | 'custom';
|
|
964
|
+
includeStrategyPatterns?: boolean;
|
|
965
|
+
includeWorkflowPatterns?: boolean;
|
|
966
|
+
/** @deprecated Use includeWorkflowPatterns. */
|
|
967
|
+
includeClayPatterns?: boolean;
|
|
968
|
+
includeNangoCatalog?: boolean;
|
|
969
|
+
partnerEcosystem?: string[];
|
|
970
|
+
revenueMotion?: string;
|
|
971
|
+
};
|
|
947
972
|
signalizDefaults?: SignalizCampaignBuilderDefaults;
|
|
948
973
|
approvalPolicy?: CampaignBuilderApprovalPolicy;
|
|
949
974
|
constraints?: {
|
|
@@ -953,6 +978,37 @@ interface CampaignBuilderAgentRequest {
|
|
|
953
978
|
deliverabilityNotes?: string[];
|
|
954
979
|
};
|
|
955
980
|
}
|
|
981
|
+
interface CampaignBuilderAgentRequestTemplateOptions extends Partial<CampaignBuilderAgentRequest> {
|
|
982
|
+
includeLocalLeads?: boolean;
|
|
983
|
+
includeCustomToolPlaceholder?: boolean;
|
|
984
|
+
includeNango?: boolean;
|
|
985
|
+
}
|
|
986
|
+
interface CampaignBuilderStrategyTemplate {
|
|
987
|
+
slug: CampaignBuilderStrategyTemplateSlug;
|
|
988
|
+
label: string;
|
|
989
|
+
aliases: string[];
|
|
990
|
+
defaultTargetCount: number;
|
|
991
|
+
campaignName: string;
|
|
992
|
+
accountContext: string;
|
|
993
|
+
icp: NonNullable<CampaignBuilderAgentRequest['icp']>;
|
|
994
|
+
builtIns: CampaignBuilderBuiltInTool[];
|
|
995
|
+
preferredProviders: CampaignBuilderProvider[];
|
|
996
|
+
memoryQueries: CampaignBuilderMemoryQuery[];
|
|
997
|
+
constraints?: CampaignBuilderAgentRequest['constraints'];
|
|
998
|
+
signalizDefaults?: SignalizCampaignBuilderDefaults;
|
|
999
|
+
agencyContext?: CampaignBuilderAgentRequest['agencyContext'];
|
|
1000
|
+
operatingPlaybookSlugs: CampaignBuilderOperatingPlaybookSlug[];
|
|
1001
|
+
}
|
|
1002
|
+
interface CampaignBuilderOperatingPlaybook {
|
|
1003
|
+
slug: CampaignBuilderOperatingPlaybookSlug;
|
|
1004
|
+
label: string;
|
|
1005
|
+
whenToUse: string[];
|
|
1006
|
+
sequence: string[];
|
|
1007
|
+
requiredFields: Record<string, string[]>;
|
|
1008
|
+
qualityGates: string[];
|
|
1009
|
+
activationBoundary: string;
|
|
1010
|
+
memoryKeywords: string[];
|
|
1011
|
+
}
|
|
956
1012
|
interface CampaignBuilderRequiredApproval {
|
|
957
1013
|
id: string;
|
|
958
1014
|
type: CampaignBuilderApprovalType;
|
|
@@ -992,6 +1048,9 @@ interface CampaignBuilderAgentPlan {
|
|
|
992
1048
|
approvals: CampaignBuilderRequiredApproval[];
|
|
993
1049
|
buildRequest: CampaignBuildRequest;
|
|
994
1050
|
brainPreflight: UnknownRecord$1;
|
|
1051
|
+
operatingPlaybooks: CampaignBuilderOperatingPlaybook[];
|
|
1052
|
+
strategyMemoryStatus?: UnknownRecord$1;
|
|
1053
|
+
kernelPlan?: UnknownRecord$1;
|
|
995
1054
|
mcpFlow: CampaignBuilderMcpStep[];
|
|
996
1055
|
estimatedCredits: number;
|
|
997
1056
|
warnings: string[];
|
|
@@ -999,17 +1058,45 @@ interface CampaignBuilderAgentPlan {
|
|
|
999
1058
|
interface CampaignBuilderPlanOptions {
|
|
1000
1059
|
discoverCapabilities?: boolean;
|
|
1001
1060
|
scopeCampaign?: boolean;
|
|
1061
|
+
includeStrategyMemoryStatus?: boolean;
|
|
1062
|
+
includeKernelPlan?: boolean;
|
|
1063
|
+
includeDeliveryRisk?: boolean;
|
|
1002
1064
|
}
|
|
1065
|
+
interface CampaignBuilderPlanCommitOptions {
|
|
1066
|
+
confirm?: boolean;
|
|
1067
|
+
dryRun?: boolean;
|
|
1068
|
+
approvedBy?: string;
|
|
1069
|
+
idempotencyKey?: string;
|
|
1070
|
+
rationale?: string;
|
|
1071
|
+
}
|
|
1072
|
+
interface CampaignBuilderPlanCommitResult {
|
|
1073
|
+
dryRun: boolean;
|
|
1074
|
+
wroteState: boolean;
|
|
1075
|
+
campaignId?: string | null;
|
|
1076
|
+
campaignBuildId?: string | null;
|
|
1077
|
+
raw: UnknownRecord$1;
|
|
1078
|
+
}
|
|
1079
|
+
type CampaignBuilderBuildOptions = BuildOptions & {
|
|
1080
|
+
commitBeforeLaunch?: boolean;
|
|
1081
|
+
};
|
|
1003
1082
|
declare const DEFAULT_SIGNALIZ_CAMPAIGN_BUILDER_DEFAULTS: Required<Pick<SignalizCampaignBuilderDefaults, 'requireVerifiedEmail' | 'dedupKeys' | 'allowDownscale'>> & SignalizCampaignBuilderDefaults;
|
|
1083
|
+
declare const DEFAULT_CAMPAIGN_BUILDER_BUILT_INS: CampaignBuilderBuiltInTool[];
|
|
1084
|
+
declare const DEFAULT_CAMPAIGN_BUILDER_APPROVAL_TYPES: CampaignBuilderApprovalType[];
|
|
1085
|
+
declare const CAMPAIGN_BUILDER_OPERATING_PLAYBOOKS: CampaignBuilderOperatingPlaybook[];
|
|
1086
|
+
declare const CAMPAIGN_BUILDER_STRATEGY_TEMPLATES: CampaignBuilderStrategyTemplate[];
|
|
1004
1087
|
declare class CampaignBuilderAgent {
|
|
1005
1088
|
private client;
|
|
1006
1089
|
constructor(client: HttpClient);
|
|
1007
1090
|
createPlan(request: CampaignBuilderAgentRequest, options?: CampaignBuilderPlanOptions): Promise<CampaignBuilderAgentPlan>;
|
|
1091
|
+
commitPlan(plan: CampaignBuilderAgentPlan, options?: CampaignBuilderPlanCommitOptions): Promise<CampaignBuilderPlanCommitResult>;
|
|
1008
1092
|
dryRunPlan(plan: CampaignBuilderAgentPlan, options?: BuildOptions): Promise<CampaignBuildResult>;
|
|
1009
|
-
buildApprovedPlan(plan: CampaignBuilderAgentPlan, approval: CampaignBuilderApproval, options?:
|
|
1093
|
+
buildApprovedPlan(plan: CampaignBuilderAgentPlan, approval: CampaignBuilderApproval, options?: CampaignBuilderBuildOptions): Promise<CampaignBuildResult>;
|
|
1010
1094
|
private getWorkspaceContext;
|
|
1011
1095
|
private scopeCampaign;
|
|
1012
1096
|
private discoverPlannedRoutes;
|
|
1097
|
+
private attachStrategyMemoryStatus;
|
|
1098
|
+
private attachKernelCampaignBuildPlan;
|
|
1099
|
+
private attachDeliveryRiskPreflight;
|
|
1013
1100
|
private callMcp;
|
|
1014
1101
|
}
|
|
1015
1102
|
declare function createCampaignBuilderAgentPlan(request: CampaignBuilderAgentRequest, context?: {
|
|
@@ -1020,6 +1107,23 @@ declare function createCampaignBuilderAgentPlan(request: CampaignBuilderAgentReq
|
|
|
1020
1107
|
}): CampaignBuilderAgentPlan;
|
|
1021
1108
|
declare function getMissingCampaignBuilderApprovals(plan: CampaignBuilderAgentPlan, approval: CampaignBuilderApproval): CampaignBuilderRequiredApproval[];
|
|
1022
1109
|
declare function createCampaignBuilderApproval(plan: CampaignBuilderAgentPlan, input: Omit<CampaignBuilderApproval, 'planId' | 'approvedAt'>): CampaignBuilderApproval;
|
|
1110
|
+
declare function getCampaignBuilderStrategyTemplate(value: unknown): CampaignBuilderStrategyTemplate | undefined;
|
|
1111
|
+
declare function getCampaignBuilderOperatingPlaybook(value: unknown): CampaignBuilderOperatingPlaybook | undefined;
|
|
1112
|
+
declare function getCampaignBuilderOperatingPlaybooksForRequest(request: CampaignBuilderAgentRequest): CampaignBuilderOperatingPlaybook[];
|
|
1113
|
+
declare function applyCampaignBuilderStrategyTemplate(request: CampaignBuilderAgentRequest): CampaignBuilderAgentRequest;
|
|
1114
|
+
declare function createCampaignBuilderAgentRequestTemplate(input?: CampaignBuilderAgentRequestTemplateOptions): CampaignBuilderAgentRequest;
|
|
1115
|
+
declare function createCampaignBuilderToolRoute(input: {
|
|
1116
|
+
provider?: CampaignBuilderProvider;
|
|
1117
|
+
layer: CampaignBuilderLayer;
|
|
1118
|
+
toolName?: string;
|
|
1119
|
+
mcpServerName?: string;
|
|
1120
|
+
label?: string;
|
|
1121
|
+
mode?: CampaignBuilderRouteMode;
|
|
1122
|
+
gtmLayer?: CampaignBuilderGtmLayer;
|
|
1123
|
+
gtmLayers?: CampaignBuilderGtmLayer[];
|
|
1124
|
+
approvalRequired?: boolean;
|
|
1125
|
+
config?: UnknownRecord$1;
|
|
1126
|
+
}): CampaignBuilderIntegrationRoute;
|
|
1023
1127
|
|
|
1024
1128
|
interface IcpSummary {
|
|
1025
1129
|
id: string;
|
|
@@ -2753,6 +2857,35 @@ interface GtmProviderCatalogOptions {
|
|
|
2753
2857
|
includePlanned?: boolean;
|
|
2754
2858
|
includeLayerCatalog?: boolean;
|
|
2755
2859
|
}
|
|
2860
|
+
interface GtmCampaignStrategyTemplatesOptions {
|
|
2861
|
+
strategyTemplate?: GtmCampaignStrategyTemplateSlug | (string & {});
|
|
2862
|
+
query?: string;
|
|
2863
|
+
includeDetails?: boolean;
|
|
2864
|
+
}
|
|
2865
|
+
type GtmCampaignStrategyTemplateSlug = 'industrial-ot-resilience' | 'non-medical-home-care' | 'agency-founder-led' | 'cloud-infrastructure-displacement';
|
|
2866
|
+
interface GtmCampaignStartContextInput {
|
|
2867
|
+
campaignId?: string;
|
|
2868
|
+
campaignBuildId?: string;
|
|
2869
|
+
campaignBrief?: string;
|
|
2870
|
+
strategyTemplate?: GtmCampaignStrategyTemplateSlug | (string & {});
|
|
2871
|
+
targetIcp?: UnknownRecord;
|
|
2872
|
+
leadCount?: number;
|
|
2873
|
+
layers?: GtmLayer[];
|
|
2874
|
+
preferredProviders?: string[];
|
|
2875
|
+
memoryDimensionFilters?: UnknownRecord;
|
|
2876
|
+
requireMemoryDimensionMatch?: boolean;
|
|
2877
|
+
includeMemory?: boolean;
|
|
2878
|
+
includeBrain?: boolean;
|
|
2879
|
+
includeProviderRoutes?: boolean;
|
|
2880
|
+
includeFailurePatterns?: boolean;
|
|
2881
|
+
includeDeliveryRisk?: boolean;
|
|
2882
|
+
includeGlobalBrain?: boolean;
|
|
2883
|
+
includePlannedProviders?: boolean;
|
|
2884
|
+
days?: number;
|
|
2885
|
+
minConfidence?: number;
|
|
2886
|
+
minSampleSize?: number;
|
|
2887
|
+
limit?: number;
|
|
2888
|
+
}
|
|
2756
2889
|
interface GtmIntegrationsActivationStatusOptions {
|
|
2757
2890
|
campaignId?: string;
|
|
2758
2891
|
layer?: GtmLayer;
|
|
@@ -2763,20 +2896,92 @@ interface GtmCampaignBuildPlanInput {
|
|
|
2763
2896
|
campaignId?: string;
|
|
2764
2897
|
campaignBuildId?: string;
|
|
2765
2898
|
campaignBrief?: string;
|
|
2899
|
+
strategyTemplate?: GtmCampaignStrategyTemplateSlug | (string & {});
|
|
2900
|
+
targetIcp?: UnknownRecord;
|
|
2901
|
+
leadCount?: number;
|
|
2902
|
+
layers?: GtmLayer[];
|
|
2903
|
+
preferredProviders?: string[];
|
|
2904
|
+
strategyModel?: 'strategy_template' | 'custom';
|
|
2905
|
+
includeStrategyPatterns?: boolean;
|
|
2906
|
+
includeWorkflowPatterns?: boolean;
|
|
2907
|
+
/** @deprecated Use includeWorkflowPatterns. */
|
|
2908
|
+
includeClayPatterns?: boolean;
|
|
2909
|
+
includeNangoCatalog?: boolean;
|
|
2910
|
+
partnerEcosystem?: string[];
|
|
2911
|
+
memoryDimensionFilters?: UnknownRecord;
|
|
2912
|
+
requireMemoryDimensionMatch?: boolean;
|
|
2913
|
+
includeMemory?: boolean;
|
|
2914
|
+
includeBrain?: boolean;
|
|
2915
|
+
includeProviderRoutes?: boolean;
|
|
2916
|
+
includeFailurePatterns?: boolean;
|
|
2917
|
+
includePlannedProviders?: boolean;
|
|
2918
|
+
days?: number;
|
|
2919
|
+
limit?: number;
|
|
2920
|
+
}
|
|
2921
|
+
interface GtmCampaignAgentPlanInput {
|
|
2922
|
+
goal?: string;
|
|
2923
|
+
campaignBrief?: string;
|
|
2924
|
+
campaignName?: string;
|
|
2925
|
+
campaignId?: string;
|
|
2926
|
+
campaignBuildId?: string;
|
|
2927
|
+
strategyTemplate?: GtmCampaignStrategyTemplateSlug | (string & {});
|
|
2928
|
+
operatingPlaybooks?: string[];
|
|
2929
|
+
accountContext?: string;
|
|
2766
2930
|
targetIcp?: UnknownRecord;
|
|
2931
|
+
targetCount?: number;
|
|
2767
2932
|
leadCount?: number;
|
|
2933
|
+
builtIns?: Array<'lead_generation' | 'local_leads' | 'email_finding' | 'email_verification' | 'signals' | (string & {})>;
|
|
2934
|
+
useLocalLeads?: boolean;
|
|
2768
2935
|
layers?: GtmLayer[];
|
|
2769
2936
|
preferredProviders?: string[];
|
|
2937
|
+
customTools?: UnknownRecord[];
|
|
2938
|
+
integrations?: UnknownRecord[];
|
|
2939
|
+
strategyModel?: 'strategy_template' | 'custom';
|
|
2940
|
+
includeStrategyPatterns?: boolean;
|
|
2941
|
+
includeWorkflowPatterns?: boolean;
|
|
2942
|
+
includeNangoCatalog?: boolean;
|
|
2943
|
+
partnerEcosystem?: string[];
|
|
2770
2944
|
memoryDimensionFilters?: UnknownRecord;
|
|
2771
2945
|
requireMemoryDimensionMatch?: boolean;
|
|
2772
2946
|
includeMemory?: boolean;
|
|
2773
2947
|
includeBrain?: boolean;
|
|
2774
2948
|
includeProviderRoutes?: boolean;
|
|
2775
2949
|
includeFailurePatterns?: boolean;
|
|
2950
|
+
includeDeliveryRisk?: boolean;
|
|
2776
2951
|
includePlannedProviders?: boolean;
|
|
2777
2952
|
days?: number;
|
|
2778
2953
|
limit?: number;
|
|
2779
2954
|
}
|
|
2955
|
+
interface GtmCampaignAgentRequestTemplateInput {
|
|
2956
|
+
goal?: string;
|
|
2957
|
+
campaignBrief?: string;
|
|
2958
|
+
campaignName?: string;
|
|
2959
|
+
accountLabel?: string;
|
|
2960
|
+
accountContext?: string;
|
|
2961
|
+
strategyTemplate?: GtmCampaignStrategyTemplateSlug | (string & {});
|
|
2962
|
+
operatingPlaybooks?: string[];
|
|
2963
|
+
targetIcp?: UnknownRecord;
|
|
2964
|
+
targetCount?: number;
|
|
2965
|
+
builtIns?: Array<'lead_generation' | 'local_leads' | 'email_finding' | 'email_verification' | 'signals' | (string & {})>;
|
|
2966
|
+
includeLocalLeads?: boolean;
|
|
2967
|
+
includeByoPlaceholder?: boolean;
|
|
2968
|
+
includeNangoCatalog?: boolean;
|
|
2969
|
+
preferredProviders?: string[];
|
|
2970
|
+
privacyMode?: 'workspace_only' | 'anonymized_patterns' | 'opt_in_network' | (string & {});
|
|
2971
|
+
destinationType?: 'json' | 'csv' | 'webhook' | (string & {});
|
|
2972
|
+
}
|
|
2973
|
+
interface GtmCampaignStrategyMemoryStatusInput {
|
|
2974
|
+
strategyTemplate?: GtmCampaignStrategyTemplateSlug | (string & {});
|
|
2975
|
+
query?: string;
|
|
2976
|
+
campaignBrief?: string;
|
|
2977
|
+
targetIcp?: UnknownRecord;
|
|
2978
|
+
memoryDimensionFilters?: UnknownRecord;
|
|
2979
|
+
requireMemoryDimensionMatch?: boolean;
|
|
2980
|
+
includeSamples?: boolean;
|
|
2981
|
+
includeSources?: boolean;
|
|
2982
|
+
days?: number;
|
|
2983
|
+
limit?: number;
|
|
2984
|
+
}
|
|
2780
2985
|
interface GtmCampaignBuildPlanCommitInput {
|
|
2781
2986
|
campaignId?: string;
|
|
2782
2987
|
campaignBuildId?: string;
|
|
@@ -2900,6 +3105,13 @@ interface GtmConnectionRegisterInput {
|
|
|
2900
3105
|
vendorId?: string;
|
|
2901
3106
|
serviceCategory?: string;
|
|
2902
3107
|
connectionType?: string;
|
|
3108
|
+
integrationId?: string;
|
|
3109
|
+
providerConfigKey?: string;
|
|
3110
|
+
allowedIntegrations?: string[];
|
|
3111
|
+
surface?: 'settings_connections' | 'ops_destinations' | 'gtm_kernel';
|
|
3112
|
+
source?: string;
|
|
3113
|
+
userEmail?: string;
|
|
3114
|
+
userDisplayName?: string;
|
|
2903
3115
|
status?: string;
|
|
2904
3116
|
metadata?: UnknownRecord;
|
|
2905
3117
|
}
|
|
@@ -2950,6 +3162,17 @@ interface GtmNangoBaseOptions {
|
|
|
2950
3162
|
integrationId?: string;
|
|
2951
3163
|
nangoConnectionId?: string;
|
|
2952
3164
|
}
|
|
3165
|
+
interface GtmNangoConnectSessionCreateInput {
|
|
3166
|
+
providerId?: string;
|
|
3167
|
+
integrationId?: string;
|
|
3168
|
+
providerDisplayName?: string;
|
|
3169
|
+
integrationDisplayName?: string;
|
|
3170
|
+
allowedIntegrations?: string[];
|
|
3171
|
+
surface?: 'settings_connections' | 'ops_destinations' | 'gtm_kernel';
|
|
3172
|
+
source?: string;
|
|
3173
|
+
userEmail?: string;
|
|
3174
|
+
userDisplayName?: string;
|
|
3175
|
+
}
|
|
2953
3176
|
interface GtmNangoToolsListOptions extends GtmNangoBaseOptions {
|
|
2954
3177
|
format?: 'openai' | 'nango';
|
|
2955
3178
|
includeRaw?: boolean;
|
|
@@ -2993,7 +3216,7 @@ declare class GtmKernel {
|
|
|
2993
3216
|
createCampaign(input: GtmCampaignCreateInput): Promise<any>;
|
|
2994
3217
|
/** Backfill historical campaigns, provider links, feedback, and memory into the GTM Kernel substrate. */
|
|
2995
3218
|
importCampaignHistory(input: GtmCampaignHistoryImportInput): Promise<any>;
|
|
2996
|
-
/** Queue a Trigger-backed campaign history import for larger
|
|
3219
|
+
/** Queue a Trigger-backed campaign history import for larger private campaign backfills. */
|
|
2997
3220
|
importCampaignHistoryRun(input: GtmCampaignHistoryImportRunInput): Promise<any>;
|
|
2998
3221
|
/** Preview a provider-neutral history import payload derived from an existing campaign build. */
|
|
2999
3222
|
previewCampaignBuildBackfill(options: GtmCampaignBuildBackfillPreviewOptions): Promise<any>;
|
|
@@ -3057,10 +3280,20 @@ declare class GtmKernel {
|
|
|
3057
3280
|
failurePatterns(options?: GtmBrainFailurePatternsOptions): Promise<any>;
|
|
3058
3281
|
/** List provider presets agents can wire into GTM campaign layers, including BYO and Signaliz fallback options. */
|
|
3059
3282
|
providerCatalog(options?: GtmProviderCatalogOptions): Promise<any>;
|
|
3283
|
+
/** List private-safe campaign strategy templates agents can merge into campaign build plans. */
|
|
3284
|
+
campaignStrategyTemplates(options?: GtmCampaignStrategyTemplatesOptions): Promise<any>;
|
|
3285
|
+
/** Build the read-only Memory, Brain, risk, and provider-route runbook needed before planning a campaign. */
|
|
3286
|
+
campaignStartContext(input?: GtmCampaignStartContextInput): Promise<any>;
|
|
3060
3287
|
/** Inspect GTM integration activation cards for UI and agent routing without writing state. */
|
|
3061
3288
|
integrationsActivationStatus(options?: GtmIntegrationsActivationStatusOptions): Promise<any>;
|
|
3062
3289
|
/** Compose Memory, Brain defaults, failure intelligence, and provider routes into a read-only campaign build plan. */
|
|
3063
3290
|
campaignBuildPlan(input?: GtmCampaignBuildPlanInput): Promise<any>;
|
|
3291
|
+
/** Emit reusable CampaignBuilderAgentRequest JSON from hosted MCP strategy-template defaults without spending credits. */
|
|
3292
|
+
campaignAgentRequestTemplate(input?: GtmCampaignAgentRequestTemplateInput): Promise<any>;
|
|
3293
|
+
/** Compose a one-call read-only strategy-template campaign-agent runbook across built-ins, Memory, Brain, Nango, and BYO routes. */
|
|
3294
|
+
campaignAgentPlan(input?: GtmCampaignAgentPlanInput): Promise<any>;
|
|
3295
|
+
/** Inspect private-safe strategy-template/workflow memory readiness before campaign planning. */
|
|
3296
|
+
campaignStrategyMemoryStatus(input?: GtmCampaignStrategyMemoryStatusInput): Promise<any>;
|
|
3064
3297
|
/** Persist a reviewed campaign build plan into a campaign object and audit log. Dry-run first by default. */
|
|
3065
3298
|
commitCampaignBuildPlan(input?: GtmCampaignBuildPlanCommitInput): Promise<any>;
|
|
3066
3299
|
/** Derive exact build_campaign arguments from a committed campaign object without creating a build. */
|
|
@@ -3083,6 +3316,8 @@ declare class GtmKernel {
|
|
|
3083
3316
|
getLayerRoutes(options?: GtmLayerRoutesGetOptions): Promise<any>;
|
|
3084
3317
|
/** Preview one effective layer route before external delivery or provider execution. */
|
|
3085
3318
|
previewLayerRoute(input: GtmLayerRoutePreviewInput): Promise<any>;
|
|
3319
|
+
/** Create a short-lived Nango Connect session so a user can authorize a vendor API. */
|
|
3320
|
+
createNangoConnectSession(input: GtmNangoConnectSessionCreateInput): Promise<any>;
|
|
3086
3321
|
/** List Nango-backed action tools for a workspace connection without executing them. */
|
|
3087
3322
|
listNangoTools(options?: GtmNangoToolsListOptions): Promise<any>;
|
|
3088
3323
|
/** Dry-run or execute a Nango-backed action tool through the approval-aware MCP bridge. */
|
|
@@ -3130,4 +3365,4 @@ declare class Signaliz {
|
|
|
3130
3365
|
discover(query: string, category?: string): Promise<MCPToolInfo[]>;
|
|
3131
3366
|
}
|
|
3132
3367
|
|
|
3133
|
-
export { Ai, type ApproveDeliveryResult, type BuildOptions, type CampaignArtifact, type CampaignBuildRequest$1 as CampaignBuildRequest, type CampaignBuildResult$1 as CampaignBuildResult, type CampaignBuildRow, type CampaignBuildStatus, CampaignBuilderAgent, type CampaignBuilderAgentPlan, type CampaignBuilderAgentProvider, type CampaignBuilderAgentRequest, type CampaignBuilderApproval, type CampaignBuilderApprovalPolicy, type CampaignBuilderApprovalType, type CampaignBuilderCustomerTool, type CampaignBuilderIntegrationRoute, type CampaignBuilderLayer, type CampaignBuilderMcpStep, type CampaignBuilderMemoryPlan, type CampaignBuilderMemoryQuery, type CampaignBuilderMemoryScope, type CampaignBuilderProvider, type CampaignBuilderRequiredApproval, type CampaignBuilderRouteMode, 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_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 GtmCampaignBuildPlanInput, type GtmCampaignCreateInput, type GtmCampaignGetOptions, type GtmCampaignHistoryCampaignInput, type GtmCampaignHistoryImportBatchInput, type GtmCampaignHistoryImportInput, type GtmCampaignHistoryImportRunInput, type GtmCampaignHistoryMemoryInput, type GtmCampaignLearningStatusResult, type GtmCampaignListOptions, type GtmCampaignLogInput, type GtmCampaignSource, type GtmCampaignStatus, 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 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, collectExecutionReferences, createCampaignBuilderAgentPlan, createCampaignBuilderApproval, getMissingCampaignBuilderApprovals, normalizeExecutionReference };
|
|
3368
|
+
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 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 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, createCampaignBuilderToolRoute, getCampaignBuilderOperatingPlaybook, getCampaignBuilderOperatingPlaybooksForRequest, getCampaignBuilderStrategyTemplate, getMissingCampaignBuilderApprovals, normalizeExecutionReference };
|