@apex-inc/mcp-server 0.75.0 → 0.79.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/api-client.d.ts +13 -21
- package/dist/api-client.d.ts.map +1 -1
- package/dist/api-client.js +203 -61
- package/dist/api-client.js.map +1 -1
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +7 -6
- package/dist/auth.js.map +1 -1
- package/dist/fetch-timeout.d.ts +23 -0
- package/dist/fetch-timeout.d.ts.map +1 -0
- package/dist/fetch-timeout.js +78 -0
- package/dist/fetch-timeout.js.map +1 -0
- package/dist/hosted.d.ts +34 -0
- package/dist/hosted.d.ts.map +1 -0
- package/dist/hosted.js +74 -0
- package/dist/hosted.js.map +1 -0
- package/dist/index.js +49 -117
- package/dist/index.js.map +1 -1
- package/dist/letter-blocks.d.ts.map +1 -1
- package/dist/letter-blocks.js +13 -22
- package/dist/letter-blocks.js.map +1 -1
- package/dist/live-test-files.d.ts +35 -0
- package/dist/live-test-files.d.ts.map +1 -0
- package/dist/live-test-files.js +114 -0
- package/dist/live-test-files.js.map +1 -0
- package/dist/live-test-guard.d.ts.map +1 -1
- package/dist/live-test-guard.js +7 -1
- package/dist/live-test-guard.js.map +1 -1
- package/dist/request-context.d.ts +40 -0
- package/dist/request-context.d.ts.map +1 -0
- package/dist/request-context.js +11 -0
- package/dist/request-context.js.map +1 -0
- package/dist/server-factory.d.ts +31 -0
- package/dist/server-factory.d.ts.map +1 -0
- package/dist/server-factory.js +585 -0
- package/dist/server-factory.js.map +1 -0
- package/dist/setup-catchup-tools.d.ts +4 -0
- package/dist/setup-catchup-tools.d.ts.map +1 -1
- package/dist/setup-catchup-tools.js +33 -67
- package/dist/setup-catchup-tools.js.map +1 -1
- package/dist/smoke-tools.d.ts.map +1 -1
- package/dist/smoke-tools.js +2 -0
- package/dist/smoke-tools.js.map +1 -1
- package/dist/tool-catalog.d.ts +2 -0
- package/dist/tool-catalog.d.ts.map +1 -1
- package/dist/tool-catalog.js +6 -1
- package/dist/tool-catalog.js.map +1 -1
- package/dist/tool-groups.d.ts.map +1 -1
- package/dist/tool-groups.js +12 -0
- package/dist/tool-groups.js.map +1 -1
- package/dist/tool-mode.d.ts +48 -0
- package/dist/tool-mode.d.ts.map +1 -0
- package/dist/tool-mode.js +189 -0
- package/dist/tool-mode.js.map +1 -0
- package/dist/tool-shared.d.ts +9 -1
- package/dist/tool-shared.d.ts.map +1 -1
- package/dist/tool-shared.js +52 -6
- package/dist/tool-shared.js.map +1 -1
- package/dist/tools/adoption.d.ts.map +1 -1
- package/dist/tools/adoption.js +2 -1
- package/dist/tools/adoption.js.map +1 -1
- package/dist/tools/apex-campaigns.d.ts +394 -0
- package/dist/tools/apex-campaigns.d.ts.map +1 -1
- package/dist/tools/apex-campaigns.js +256 -1
- package/dist/tools/apex-campaigns.js.map +1 -1
- package/dist/tools/context.d.ts +2 -2
- package/dist/tools/experiments.d.ts +69 -1
- package/dist/tools/experiments.d.ts.map +1 -1
- package/dist/tools/experiments.js +140 -76
- package/dist/tools/experiments.js.map +1 -1
- package/dist/tools/letters.d.ts +214 -48
- package/dist/tools/letters.d.ts.map +1 -1
- package/dist/tools/letters.js +240 -44
- package/dist/tools/letters.js.map +1 -1
- package/dist/tools/measurement.d.ts +70 -28
- package/dist/tools/measurement.d.ts.map +1 -1
- package/dist/tools/measurement.js +165 -27
- package/dist/tools/measurement.js.map +1 -1
- package/dist/tools.d.ts +774 -76
- package/dist/tools.d.ts.map +1 -1
- package/package.json +11 -1
- package/skills/apex-growth-intelligence/SKILL.md +4 -0
- package/skills/apex-growth-tracking/SKILL.md +1 -1
- package/skills/apex-integration-cookbook/SKILL.md +23 -3
- package/skills/apex-setup/SKILL.md +2 -1
- package/skills/apex-spec/SKILL.md +6 -1
package/dist/tools.d.ts
CHANGED
|
@@ -348,22 +348,26 @@ export declare const toolDefinitions: {
|
|
|
348
348
|
addMyAddress: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
349
349
|
addresses: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
350
350
|
browserLink: import("zod").ZodOptional<import("zod").ZodEnum<["create", "remove"]>>;
|
|
351
|
+
excludeIdPatterns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
351
352
|
host: import("zod").ZodOptional<import("zod").ZodString>;
|
|
352
353
|
}, "strip", import("zod").ZodTypeAny, {
|
|
353
354
|
host?: string | undefined;
|
|
354
355
|
addMyAddress?: boolean | undefined;
|
|
355
356
|
addresses?: string[] | undefined;
|
|
356
357
|
browserLink?: "create" | "remove" | undefined;
|
|
358
|
+
excludeIdPatterns?: string[] | undefined;
|
|
357
359
|
}, {
|
|
358
360
|
host?: string | undefined;
|
|
359
361
|
addMyAddress?: boolean | undefined;
|
|
360
362
|
addresses?: string[] | undefined;
|
|
361
363
|
browserLink?: "create" | "remove" | undefined;
|
|
364
|
+
excludeIdPatterns?: string[] | undefined;
|
|
362
365
|
}>;
|
|
363
366
|
handler: (args: {
|
|
364
367
|
addMyAddress?: boolean;
|
|
365
368
|
addresses?: string[];
|
|
366
369
|
browserLink?: "create" | "remove";
|
|
370
|
+
excludeIdPatterns?: string[];
|
|
367
371
|
host?: string;
|
|
368
372
|
}) => Promise<{
|
|
369
373
|
content: {
|
|
@@ -1990,11 +1994,11 @@ export declare const toolDefinitions: {
|
|
|
1990
1994
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1991
1995
|
orgId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1992
1996
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1993
|
-
name?: string | undefined;
|
|
1994
1997
|
orgId?: string | undefined;
|
|
1995
|
-
}, {
|
|
1996
1998
|
name?: string | undefined;
|
|
1999
|
+
}, {
|
|
1997
2000
|
orgId?: string | undefined;
|
|
2001
|
+
name?: string | undefined;
|
|
1998
2002
|
}>;
|
|
1999
2003
|
handler: ({ name, orgId }: {
|
|
2000
2004
|
name?: string;
|
|
@@ -2696,6 +2700,43 @@ export declare const toolDefinitions: {
|
|
|
2696
2700
|
} & {
|
|
2697
2701
|
group: ToolGroup;
|
|
2698
2702
|
};
|
|
2703
|
+
update_apex_campaign: {
|
|
2704
|
+
description: string;
|
|
2705
|
+
schema: import("zod").ZodObject<{
|
|
2706
|
+
campaignId: import("zod").ZodString;
|
|
2707
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2708
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2709
|
+
startDate: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2710
|
+
endDate: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2711
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2712
|
+
campaignId: string;
|
|
2713
|
+
name?: string | undefined;
|
|
2714
|
+
description?: string | undefined;
|
|
2715
|
+
startDate?: string | undefined;
|
|
2716
|
+
endDate?: string | undefined;
|
|
2717
|
+
}, {
|
|
2718
|
+
campaignId: string;
|
|
2719
|
+
name?: string | undefined;
|
|
2720
|
+
description?: string | undefined;
|
|
2721
|
+
startDate?: string | undefined;
|
|
2722
|
+
endDate?: string | undefined;
|
|
2723
|
+
}>;
|
|
2724
|
+
handler: (args: {
|
|
2725
|
+
campaignId: string;
|
|
2726
|
+
name?: string;
|
|
2727
|
+
description?: string;
|
|
2728
|
+
startDate?: string;
|
|
2729
|
+
endDate?: string;
|
|
2730
|
+
}) => Promise<{
|
|
2731
|
+
isError?: boolean | undefined;
|
|
2732
|
+
content: {
|
|
2733
|
+
type: "text";
|
|
2734
|
+
text: string;
|
|
2735
|
+
}[];
|
|
2736
|
+
}>;
|
|
2737
|
+
} & {
|
|
2738
|
+
group: ToolGroup;
|
|
2739
|
+
};
|
|
2699
2740
|
set_campaign_steps: {
|
|
2700
2741
|
description: string;
|
|
2701
2742
|
schema: import("zod").ZodObject<{
|
|
@@ -2770,6 +2811,375 @@ export declare const toolDefinitions: {
|
|
|
2770
2811
|
} & {
|
|
2771
2812
|
group: ToolGroup;
|
|
2772
2813
|
};
|
|
2814
|
+
get_campaign_journey: {
|
|
2815
|
+
description: string;
|
|
2816
|
+
schema: import("zod").ZodObject<{
|
|
2817
|
+
campaignId: import("zod").ZodString;
|
|
2818
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2819
|
+
campaignId: string;
|
|
2820
|
+
}, {
|
|
2821
|
+
campaignId: string;
|
|
2822
|
+
}>;
|
|
2823
|
+
handler: (args: {
|
|
2824
|
+
campaignId: string;
|
|
2825
|
+
}) => Promise<{
|
|
2826
|
+
isError?: boolean | undefined;
|
|
2827
|
+
content: {
|
|
2828
|
+
type: "text";
|
|
2829
|
+
text: string;
|
|
2830
|
+
}[];
|
|
2831
|
+
}>;
|
|
2832
|
+
} & {
|
|
2833
|
+
group: ToolGroup;
|
|
2834
|
+
};
|
|
2835
|
+
update_campaign_journey: {
|
|
2836
|
+
description: string;
|
|
2837
|
+
schema: import("zod").ZodObject<{
|
|
2838
|
+
campaignId: import("zod").ZodString;
|
|
2839
|
+
edits: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<"op", [import("zod").ZodObject<{
|
|
2840
|
+
op: import("zod").ZodLiteral<"add_stage">;
|
|
2841
|
+
title: import("zod").ZodString;
|
|
2842
|
+
after_stage_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2843
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2844
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2845
|
+
title: string;
|
|
2846
|
+
op: "add_stage";
|
|
2847
|
+
id?: string | undefined;
|
|
2848
|
+
after_stage_id?: string | undefined;
|
|
2849
|
+
}, {
|
|
2850
|
+
title: string;
|
|
2851
|
+
op: "add_stage";
|
|
2852
|
+
id?: string | undefined;
|
|
2853
|
+
after_stage_id?: string | undefined;
|
|
2854
|
+
}>, import("zod").ZodObject<{
|
|
2855
|
+
op: import("zod").ZodLiteral<"rename_stage">;
|
|
2856
|
+
stage_id: import("zod").ZodString;
|
|
2857
|
+
title: import("zod").ZodString;
|
|
2858
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2859
|
+
title: string;
|
|
2860
|
+
op: "rename_stage";
|
|
2861
|
+
stage_id: string;
|
|
2862
|
+
}, {
|
|
2863
|
+
title: string;
|
|
2864
|
+
op: "rename_stage";
|
|
2865
|
+
stage_id: string;
|
|
2866
|
+
}>, import("zod").ZodObject<{
|
|
2867
|
+
op: import("zod").ZodLiteral<"remove_stage">;
|
|
2868
|
+
stage_id: import("zod").ZodString;
|
|
2869
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2870
|
+
op: "remove_stage";
|
|
2871
|
+
stage_id: string;
|
|
2872
|
+
}, {
|
|
2873
|
+
op: "remove_stage";
|
|
2874
|
+
stage_id: string;
|
|
2875
|
+
}>, import("zod").ZodObject<{
|
|
2876
|
+
op: import("zod").ZodLiteral<"reorder_stages">;
|
|
2877
|
+
stage_ids: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
2878
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2879
|
+
op: "reorder_stages";
|
|
2880
|
+
stage_ids: string[];
|
|
2881
|
+
}, {
|
|
2882
|
+
op: "reorder_stages";
|
|
2883
|
+
stage_ids: string[];
|
|
2884
|
+
}>, import("zod").ZodObject<{
|
|
2885
|
+
op: import("zod").ZodLiteral<"add_piece">;
|
|
2886
|
+
stage_id: import("zod").ZodString;
|
|
2887
|
+
piece: import("zod").ZodObject<{
|
|
2888
|
+
type: import("zod").ZodEnum<["post", "ad", "link", "page", "experiment", "key_event", "journey", "communication", "ad_send"]>;
|
|
2889
|
+
id: import("zod").ZodString;
|
|
2890
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2891
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
2892
|
+
id: string;
|
|
2893
|
+
}, {
|
|
2894
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
2895
|
+
id: string;
|
|
2896
|
+
}>;
|
|
2897
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2898
|
+
op: "add_piece";
|
|
2899
|
+
stage_id: string;
|
|
2900
|
+
piece: {
|
|
2901
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
2902
|
+
id: string;
|
|
2903
|
+
};
|
|
2904
|
+
}, {
|
|
2905
|
+
op: "add_piece";
|
|
2906
|
+
stage_id: string;
|
|
2907
|
+
piece: {
|
|
2908
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
2909
|
+
id: string;
|
|
2910
|
+
};
|
|
2911
|
+
}>, import("zod").ZodObject<{
|
|
2912
|
+
op: import("zod").ZodLiteral<"hide_piece">;
|
|
2913
|
+
stage_id: import("zod").ZodString;
|
|
2914
|
+
piece: import("zod").ZodObject<{
|
|
2915
|
+
type: import("zod").ZodEnum<["post", "ad", "link", "page", "experiment", "key_event", "journey", "communication", "ad_send"]>;
|
|
2916
|
+
id: import("zod").ZodString;
|
|
2917
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2918
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
2919
|
+
id: string;
|
|
2920
|
+
}, {
|
|
2921
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
2922
|
+
id: string;
|
|
2923
|
+
}>;
|
|
2924
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2925
|
+
op: "hide_piece";
|
|
2926
|
+
stage_id: string;
|
|
2927
|
+
piece: {
|
|
2928
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
2929
|
+
id: string;
|
|
2930
|
+
};
|
|
2931
|
+
}, {
|
|
2932
|
+
op: "hide_piece";
|
|
2933
|
+
stage_id: string;
|
|
2934
|
+
piece: {
|
|
2935
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
2936
|
+
id: string;
|
|
2937
|
+
};
|
|
2938
|
+
}>, import("zod").ZodObject<{
|
|
2939
|
+
op: import("zod").ZodLiteral<"unhide_piece">;
|
|
2940
|
+
stage_id: import("zod").ZodString;
|
|
2941
|
+
piece: import("zod").ZodObject<{
|
|
2942
|
+
type: import("zod").ZodEnum<["post", "ad", "link", "page", "experiment", "key_event", "journey", "communication", "ad_send"]>;
|
|
2943
|
+
id: import("zod").ZodString;
|
|
2944
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2945
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
2946
|
+
id: string;
|
|
2947
|
+
}, {
|
|
2948
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
2949
|
+
id: string;
|
|
2950
|
+
}>;
|
|
2951
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2952
|
+
op: "unhide_piece";
|
|
2953
|
+
stage_id: string;
|
|
2954
|
+
piece: {
|
|
2955
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
2956
|
+
id: string;
|
|
2957
|
+
};
|
|
2958
|
+
}, {
|
|
2959
|
+
op: "unhide_piece";
|
|
2960
|
+
stage_id: string;
|
|
2961
|
+
piece: {
|
|
2962
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
2963
|
+
id: string;
|
|
2964
|
+
};
|
|
2965
|
+
}>, import("zod").ZodObject<{
|
|
2966
|
+
op: import("zod").ZodLiteral<"move_piece">;
|
|
2967
|
+
from_stage_id: import("zod").ZodString;
|
|
2968
|
+
to_stage_id: import("zod").ZodString;
|
|
2969
|
+
piece: import("zod").ZodObject<{
|
|
2970
|
+
type: import("zod").ZodEnum<["post", "ad", "link", "page", "experiment", "key_event", "journey", "communication", "ad_send"]>;
|
|
2971
|
+
id: import("zod").ZodString;
|
|
2972
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2973
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
2974
|
+
id: string;
|
|
2975
|
+
}, {
|
|
2976
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
2977
|
+
id: string;
|
|
2978
|
+
}>;
|
|
2979
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2980
|
+
op: "move_piece";
|
|
2981
|
+
piece: {
|
|
2982
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
2983
|
+
id: string;
|
|
2984
|
+
};
|
|
2985
|
+
from_stage_id: string;
|
|
2986
|
+
to_stage_id: string;
|
|
2987
|
+
}, {
|
|
2988
|
+
op: "move_piece";
|
|
2989
|
+
piece: {
|
|
2990
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
2991
|
+
id: string;
|
|
2992
|
+
};
|
|
2993
|
+
from_stage_id: string;
|
|
2994
|
+
to_stage_id: string;
|
|
2995
|
+
}>]>, "many">;
|
|
2996
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2997
|
+
campaignId: string;
|
|
2998
|
+
edits: ({
|
|
2999
|
+
title: string;
|
|
3000
|
+
op: "add_stage";
|
|
3001
|
+
id?: string | undefined;
|
|
3002
|
+
after_stage_id?: string | undefined;
|
|
3003
|
+
} | {
|
|
3004
|
+
title: string;
|
|
3005
|
+
op: "rename_stage";
|
|
3006
|
+
stage_id: string;
|
|
3007
|
+
} | {
|
|
3008
|
+
op: "remove_stage";
|
|
3009
|
+
stage_id: string;
|
|
3010
|
+
} | {
|
|
3011
|
+
op: "reorder_stages";
|
|
3012
|
+
stage_ids: string[];
|
|
3013
|
+
} | {
|
|
3014
|
+
op: "add_piece";
|
|
3015
|
+
stage_id: string;
|
|
3016
|
+
piece: {
|
|
3017
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
3018
|
+
id: string;
|
|
3019
|
+
};
|
|
3020
|
+
} | {
|
|
3021
|
+
op: "hide_piece";
|
|
3022
|
+
stage_id: string;
|
|
3023
|
+
piece: {
|
|
3024
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
3025
|
+
id: string;
|
|
3026
|
+
};
|
|
3027
|
+
} | {
|
|
3028
|
+
op: "unhide_piece";
|
|
3029
|
+
stage_id: string;
|
|
3030
|
+
piece: {
|
|
3031
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
3032
|
+
id: string;
|
|
3033
|
+
};
|
|
3034
|
+
} | {
|
|
3035
|
+
op: "move_piece";
|
|
3036
|
+
piece: {
|
|
3037
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
3038
|
+
id: string;
|
|
3039
|
+
};
|
|
3040
|
+
from_stage_id: string;
|
|
3041
|
+
to_stage_id: string;
|
|
3042
|
+
})[];
|
|
3043
|
+
}, {
|
|
3044
|
+
campaignId: string;
|
|
3045
|
+
edits: ({
|
|
3046
|
+
title: string;
|
|
3047
|
+
op: "add_stage";
|
|
3048
|
+
id?: string | undefined;
|
|
3049
|
+
after_stage_id?: string | undefined;
|
|
3050
|
+
} | {
|
|
3051
|
+
title: string;
|
|
3052
|
+
op: "rename_stage";
|
|
3053
|
+
stage_id: string;
|
|
3054
|
+
} | {
|
|
3055
|
+
op: "remove_stage";
|
|
3056
|
+
stage_id: string;
|
|
3057
|
+
} | {
|
|
3058
|
+
op: "reorder_stages";
|
|
3059
|
+
stage_ids: string[];
|
|
3060
|
+
} | {
|
|
3061
|
+
op: "add_piece";
|
|
3062
|
+
stage_id: string;
|
|
3063
|
+
piece: {
|
|
3064
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
3065
|
+
id: string;
|
|
3066
|
+
};
|
|
3067
|
+
} | {
|
|
3068
|
+
op: "hide_piece";
|
|
3069
|
+
stage_id: string;
|
|
3070
|
+
piece: {
|
|
3071
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
3072
|
+
id: string;
|
|
3073
|
+
};
|
|
3074
|
+
} | {
|
|
3075
|
+
op: "unhide_piece";
|
|
3076
|
+
stage_id: string;
|
|
3077
|
+
piece: {
|
|
3078
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
3079
|
+
id: string;
|
|
3080
|
+
};
|
|
3081
|
+
} | {
|
|
3082
|
+
op: "move_piece";
|
|
3083
|
+
piece: {
|
|
3084
|
+
type: "link" | "experiment" | "communication" | "journey" | "key_event" | "ad" | "post" | "page" | "ad_send";
|
|
3085
|
+
id: string;
|
|
3086
|
+
};
|
|
3087
|
+
from_stage_id: string;
|
|
3088
|
+
to_stage_id: string;
|
|
3089
|
+
})[];
|
|
3090
|
+
}>;
|
|
3091
|
+
handler: (args: {
|
|
3092
|
+
campaignId: string;
|
|
3093
|
+
edits: Array<Record<string, unknown>>;
|
|
3094
|
+
}) => Promise<{
|
|
3095
|
+
isError?: boolean | undefined;
|
|
3096
|
+
content: {
|
|
3097
|
+
type: "text";
|
|
3098
|
+
text: string;
|
|
3099
|
+
}[];
|
|
3100
|
+
}>;
|
|
3101
|
+
} & {
|
|
3102
|
+
group: ToolGroup;
|
|
3103
|
+
};
|
|
3104
|
+
get_campaign_funnel: {
|
|
3105
|
+
description: string;
|
|
3106
|
+
schema: import("zod").ZodObject<{
|
|
3107
|
+
campaignId: import("zod").ZodString;
|
|
3108
|
+
start: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3109
|
+
end: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3110
|
+
fresh: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3111
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3112
|
+
campaignId: string;
|
|
3113
|
+
start?: string | undefined;
|
|
3114
|
+
end?: string | undefined;
|
|
3115
|
+
fresh?: boolean | undefined;
|
|
3116
|
+
}, {
|
|
3117
|
+
campaignId: string;
|
|
3118
|
+
start?: string | undefined;
|
|
3119
|
+
end?: string | undefined;
|
|
3120
|
+
fresh?: boolean | undefined;
|
|
3121
|
+
}>;
|
|
3122
|
+
handler: (args: {
|
|
3123
|
+
campaignId: string;
|
|
3124
|
+
start?: string;
|
|
3125
|
+
end?: string;
|
|
3126
|
+
fresh?: boolean;
|
|
3127
|
+
}) => Promise<{
|
|
3128
|
+
isError?: boolean | undefined;
|
|
3129
|
+
content: {
|
|
3130
|
+
type: "text";
|
|
3131
|
+
text: string;
|
|
3132
|
+
}[];
|
|
3133
|
+
}>;
|
|
3134
|
+
} & {
|
|
3135
|
+
group: ToolGroup;
|
|
3136
|
+
};
|
|
3137
|
+
sync_campaign_platform_tests: {
|
|
3138
|
+
description: string;
|
|
3139
|
+
schema: import("zod").ZodObject<{
|
|
3140
|
+
campaignId: import("zod").ZodString;
|
|
3141
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3142
|
+
campaignId: string;
|
|
3143
|
+
}, {
|
|
3144
|
+
campaignId: string;
|
|
3145
|
+
}>;
|
|
3146
|
+
handler: (args: {
|
|
3147
|
+
campaignId: string;
|
|
3148
|
+
}) => Promise<{
|
|
3149
|
+
isError?: boolean | undefined;
|
|
3150
|
+
content: {
|
|
3151
|
+
type: "text";
|
|
3152
|
+
text: string;
|
|
3153
|
+
}[];
|
|
3154
|
+
}>;
|
|
3155
|
+
} & {
|
|
3156
|
+
group: ToolGroup;
|
|
3157
|
+
};
|
|
3158
|
+
list_site_pages: {
|
|
3159
|
+
description: string;
|
|
3160
|
+
schema: import("zod").ZodObject<{
|
|
3161
|
+
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3162
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3163
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3164
|
+
search?: string | undefined;
|
|
3165
|
+
limit?: number | undefined;
|
|
3166
|
+
}, {
|
|
3167
|
+
search?: string | undefined;
|
|
3168
|
+
limit?: number | undefined;
|
|
3169
|
+
}>;
|
|
3170
|
+
handler: (args: {
|
|
3171
|
+
search?: string;
|
|
3172
|
+
limit?: number;
|
|
3173
|
+
}) => Promise<{
|
|
3174
|
+
isError?: boolean | undefined;
|
|
3175
|
+
content: {
|
|
3176
|
+
type: "text";
|
|
3177
|
+
text: string;
|
|
3178
|
+
}[];
|
|
3179
|
+
}>;
|
|
3180
|
+
} & {
|
|
3181
|
+
group: ToolGroup;
|
|
3182
|
+
};
|
|
2773
3183
|
list_audiences: {
|
|
2774
3184
|
description: string;
|
|
2775
3185
|
schema: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
|
@@ -3102,13 +3512,17 @@ export declare const toolDefinitions: {
|
|
|
3102
3512
|
description: string;
|
|
3103
3513
|
schema: import("zod").ZodObject<{
|
|
3104
3514
|
days: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodLiteral<"all">]>>;
|
|
3515
|
+
keyEventId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3105
3516
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3106
3517
|
days?: number | "all" | undefined;
|
|
3518
|
+
keyEventId?: string | undefined;
|
|
3107
3519
|
}, {
|
|
3108
3520
|
days?: number | "all" | undefined;
|
|
3521
|
+
keyEventId?: string | undefined;
|
|
3109
3522
|
}>;
|
|
3110
|
-
handler: ({ days }: {
|
|
3523
|
+
handler: ({ days, keyEventId, }: {
|
|
3111
3524
|
days?: number | "all";
|
|
3525
|
+
keyEventId?: string;
|
|
3112
3526
|
}) => Promise<{
|
|
3113
3527
|
content: {
|
|
3114
3528
|
type: "text";
|
|
@@ -3226,6 +3640,46 @@ export declare const toolDefinitions: {
|
|
|
3226
3640
|
} & {
|
|
3227
3641
|
group: ToolGroup;
|
|
3228
3642
|
};
|
|
3643
|
+
get_funnel: {
|
|
3644
|
+
description: string;
|
|
3645
|
+
schema: import("zod").ZodObject<{
|
|
3646
|
+
start: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3647
|
+
end: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3648
|
+
days: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3649
|
+
breakdownBy: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3650
|
+
steps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
3651
|
+
breakdownLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3652
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3653
|
+
steps?: string[] | undefined;
|
|
3654
|
+
days?: number | undefined;
|
|
3655
|
+
start?: string | undefined;
|
|
3656
|
+
end?: string | undefined;
|
|
3657
|
+
breakdownBy?: string | undefined;
|
|
3658
|
+
breakdownLimit?: number | undefined;
|
|
3659
|
+
}, {
|
|
3660
|
+
steps?: string[] | undefined;
|
|
3661
|
+
days?: number | undefined;
|
|
3662
|
+
start?: string | undefined;
|
|
3663
|
+
end?: string | undefined;
|
|
3664
|
+
breakdownBy?: string | undefined;
|
|
3665
|
+
breakdownLimit?: number | undefined;
|
|
3666
|
+
}>;
|
|
3667
|
+
handler: (args?: {
|
|
3668
|
+
start?: string;
|
|
3669
|
+
end?: string;
|
|
3670
|
+
days?: number;
|
|
3671
|
+
breakdownBy?: string;
|
|
3672
|
+
steps?: string[];
|
|
3673
|
+
breakdownLimit?: number;
|
|
3674
|
+
}) => Promise<{
|
|
3675
|
+
content: {
|
|
3676
|
+
type: "text";
|
|
3677
|
+
text: string;
|
|
3678
|
+
}[];
|
|
3679
|
+
}>;
|
|
3680
|
+
} & {
|
|
3681
|
+
group: ToolGroup;
|
|
3682
|
+
};
|
|
3229
3683
|
list_key_events: {
|
|
3230
3684
|
description: string;
|
|
3231
3685
|
schema: import("zod").ZodObject<{
|
|
@@ -3278,14 +3732,14 @@ export declare const toolDefinitions: {
|
|
|
3278
3732
|
target_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3279
3733
|
where: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
3280
3734
|
field_path: import("zod").ZodString;
|
|
3281
|
-
operator: import("zod").ZodEnum<["equals", "not_equals", "in", "exists", "not_exists"]>;
|
|
3735
|
+
operator: import("zod").ZodEnum<["equals", "not_equals", "in", "contains", "gt", "gte", "lt", "lte", "exists", "not_exists"]>;
|
|
3282
3736
|
value: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>, "many">]>>;
|
|
3283
3737
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3284
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3738
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
3285
3739
|
field_path: string;
|
|
3286
3740
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3287
3741
|
}, {
|
|
3288
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3742
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
3289
3743
|
field_path: string;
|
|
3290
3744
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3291
3745
|
}>, "many">>;
|
|
@@ -3295,7 +3749,7 @@ export declare const toolDefinitions: {
|
|
|
3295
3749
|
event_name?: string | undefined;
|
|
3296
3750
|
selector?: string | undefined;
|
|
3297
3751
|
where?: {
|
|
3298
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3752
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
3299
3753
|
field_path: string;
|
|
3300
3754
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3301
3755
|
}[] | undefined;
|
|
@@ -3306,14 +3760,14 @@ export declare const toolDefinitions: {
|
|
|
3306
3760
|
event_name?: string | undefined;
|
|
3307
3761
|
selector?: string | undefined;
|
|
3308
3762
|
where?: {
|
|
3309
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3763
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
3310
3764
|
field_path: string;
|
|
3311
3765
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3312
3766
|
}[] | undefined;
|
|
3313
3767
|
target_url?: string | undefined;
|
|
3314
3768
|
revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
|
|
3315
3769
|
}>, "many">;
|
|
3316
|
-
category: import("zod").ZodOptional<import("zod").ZodEnum<["purchase", "lead", "qualified_lead", "activation", "signup", "subscribe", "add_to_cart", "engagement", "expansion", "referral", "completion", "retention", "advocacy", "churn", "reactivation", "other"]>>;
|
|
3770
|
+
category: import("zod").ZodOptional<import("zod").ZodEnum<["install", "purchase", "lead", "qualified_lead", "activation", "signup", "subscribe", "add_to_cart", "checkout", "engagement", "expansion", "referral", "completion", "retention", "advocacy", "churn", "reactivation", "other"]>>;
|
|
3317
3771
|
entityScope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
|
|
3318
3772
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3319
3773
|
template: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -3327,7 +3781,7 @@ export declare const toolDefinitions: {
|
|
|
3327
3781
|
event_name?: string | undefined;
|
|
3328
3782
|
selector?: string | undefined;
|
|
3329
3783
|
where?: {
|
|
3330
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3784
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
3331
3785
|
field_path: string;
|
|
3332
3786
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3333
3787
|
}[] | undefined;
|
|
@@ -3337,7 +3791,7 @@ export declare const toolDefinitions: {
|
|
|
3337
3791
|
description?: string | undefined;
|
|
3338
3792
|
position?: number | undefined;
|
|
3339
3793
|
template?: string | undefined;
|
|
3340
|
-
category?: "other" | "engagement" | "referral" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | "reactivation" | undefined;
|
|
3794
|
+
category?: "other" | "engagement" | "referral" | "purchase" | "install" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "checkout" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | "reactivation" | undefined;
|
|
3341
3795
|
entityScope?: "account" | "person" | undefined;
|
|
3342
3796
|
funnelRole?: "milestone" | "stage" | "off_ramp" | "return" | undefined;
|
|
3343
3797
|
reactivatesChurned?: boolean | undefined;
|
|
@@ -3348,7 +3802,7 @@ export declare const toolDefinitions: {
|
|
|
3348
3802
|
event_name?: string | undefined;
|
|
3349
3803
|
selector?: string | undefined;
|
|
3350
3804
|
where?: {
|
|
3351
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3805
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
3352
3806
|
field_path: string;
|
|
3353
3807
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3354
3808
|
}[] | undefined;
|
|
@@ -3358,7 +3812,7 @@ export declare const toolDefinitions: {
|
|
|
3358
3812
|
description?: string | undefined;
|
|
3359
3813
|
position?: number | undefined;
|
|
3360
3814
|
template?: string | undefined;
|
|
3361
|
-
category?: "other" | "engagement" | "referral" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | "reactivation" | undefined;
|
|
3815
|
+
category?: "other" | "engagement" | "referral" | "purchase" | "install" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "checkout" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | "reactivation" | undefined;
|
|
3362
3816
|
entityScope?: "account" | "person" | undefined;
|
|
3363
3817
|
funnelRole?: "milestone" | "stage" | "off_ramp" | "return" | undefined;
|
|
3364
3818
|
reactivatesChurned?: boolean | undefined;
|
|
@@ -3370,7 +3824,7 @@ export declare const toolDefinitions: {
|
|
|
3370
3824
|
event_name?: string | undefined;
|
|
3371
3825
|
selector?: string | undefined;
|
|
3372
3826
|
where?: {
|
|
3373
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3827
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
3374
3828
|
field_path: string;
|
|
3375
3829
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3376
3830
|
}[] | undefined;
|
|
@@ -3406,14 +3860,14 @@ export declare const toolDefinitions: {
|
|
|
3406
3860
|
target_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3407
3861
|
where: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
3408
3862
|
field_path: import("zod").ZodString;
|
|
3409
|
-
operator: import("zod").ZodEnum<["equals", "not_equals", "in", "exists", "not_exists"]>;
|
|
3863
|
+
operator: import("zod").ZodEnum<["equals", "not_equals", "in", "contains", "gt", "gte", "lt", "lte", "exists", "not_exists"]>;
|
|
3410
3864
|
value: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>, "many">]>>;
|
|
3411
3865
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3412
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3866
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
3413
3867
|
field_path: string;
|
|
3414
3868
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3415
3869
|
}, {
|
|
3416
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3870
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
3417
3871
|
field_path: string;
|
|
3418
3872
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3419
3873
|
}>, "many">>;
|
|
@@ -3423,7 +3877,7 @@ export declare const toolDefinitions: {
|
|
|
3423
3877
|
event_name?: string | undefined;
|
|
3424
3878
|
selector?: string | undefined;
|
|
3425
3879
|
where?: {
|
|
3426
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3880
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
3427
3881
|
field_path: string;
|
|
3428
3882
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3429
3883
|
}[] | undefined;
|
|
@@ -3434,14 +3888,14 @@ export declare const toolDefinitions: {
|
|
|
3434
3888
|
event_name?: string | undefined;
|
|
3435
3889
|
selector?: string | undefined;
|
|
3436
3890
|
where?: {
|
|
3437
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3891
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
3438
3892
|
field_path: string;
|
|
3439
3893
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3440
3894
|
}[] | undefined;
|
|
3441
3895
|
target_url?: string | undefined;
|
|
3442
3896
|
revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
|
|
3443
3897
|
}>, "many">>;
|
|
3444
|
-
category: import("zod").ZodOptional<import("zod").ZodEnum<["purchase", "lead", "qualified_lead", "activation", "signup", "subscribe", "add_to_cart", "engagement", "expansion", "referral", "completion", "retention", "advocacy", "churn", "reactivation", "other"]>>;
|
|
3898
|
+
category: import("zod").ZodOptional<import("zod").ZodEnum<["install", "purchase", "lead", "qualified_lead", "activation", "signup", "subscribe", "add_to_cart", "checkout", "engagement", "expansion", "referral", "completion", "retention", "advocacy", "churn", "reactivation", "other"]>>;
|
|
3445
3899
|
entityScope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
|
|
3446
3900
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3447
3901
|
position: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
@@ -3458,14 +3912,14 @@ export declare const toolDefinitions: {
|
|
|
3458
3912
|
event_name?: string | undefined;
|
|
3459
3913
|
selector?: string | undefined;
|
|
3460
3914
|
where?: {
|
|
3461
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3915
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
3462
3916
|
field_path: string;
|
|
3463
3917
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3464
3918
|
}[] | undefined;
|
|
3465
3919
|
target_url?: string | undefined;
|
|
3466
3920
|
revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
|
|
3467
3921
|
}[] | undefined;
|
|
3468
|
-
category?: "other" | "engagement" | "referral" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | "reactivation" | undefined;
|
|
3922
|
+
category?: "other" | "engagement" | "referral" | "purchase" | "install" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "checkout" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | "reactivation" | undefined;
|
|
3469
3923
|
entityScope?: "account" | "person" | undefined;
|
|
3470
3924
|
funnelRole?: "milestone" | "stage" | "off_ramp" | "return" | null | undefined;
|
|
3471
3925
|
reactivatesChurned?: boolean | null | undefined;
|
|
@@ -3480,14 +3934,14 @@ export declare const toolDefinitions: {
|
|
|
3480
3934
|
event_name?: string | undefined;
|
|
3481
3935
|
selector?: string | undefined;
|
|
3482
3936
|
where?: {
|
|
3483
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3937
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
3484
3938
|
field_path: string;
|
|
3485
3939
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3486
3940
|
}[] | undefined;
|
|
3487
3941
|
target_url?: string | undefined;
|
|
3488
3942
|
revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
|
|
3489
3943
|
}[] | undefined;
|
|
3490
|
-
category?: "other" | "engagement" | "referral" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | "reactivation" | undefined;
|
|
3944
|
+
category?: "other" | "engagement" | "referral" | "purchase" | "install" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "checkout" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | "reactivation" | undefined;
|
|
3491
3945
|
entityScope?: "account" | "person" | undefined;
|
|
3492
3946
|
funnelRole?: "milestone" | "stage" | "off_ramp" | "return" | null | undefined;
|
|
3493
3947
|
reactivatesChurned?: boolean | null | undefined;
|
|
@@ -3501,7 +3955,7 @@ export declare const toolDefinitions: {
|
|
|
3501
3955
|
event_name?: string | undefined;
|
|
3502
3956
|
selector?: string | undefined;
|
|
3503
3957
|
where?: {
|
|
3504
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3958
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
3505
3959
|
field_path: string;
|
|
3506
3960
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3507
3961
|
}[] | undefined;
|
|
@@ -3544,10 +3998,10 @@ export declare const toolDefinitions: {
|
|
|
3544
3998
|
sourceOfTruth: import("zod").ZodEnum<["stripe", "shopify", "quickbooks", "hubspot", "server", "sdk", "manual"]>;
|
|
3545
3999
|
confirm: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3546
4000
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3547
|
-
sourceOfTruth: "manual" | "sdk" | "
|
|
4001
|
+
sourceOfTruth: "manual" | "sdk" | "server" | "stripe" | "shopify" | "quickbooks" | "hubspot";
|
|
3548
4002
|
confirm?: boolean | undefined;
|
|
3549
4003
|
}, {
|
|
3550
|
-
sourceOfTruth: "manual" | "sdk" | "
|
|
4004
|
+
sourceOfTruth: "manual" | "sdk" | "server" | "stripe" | "shopify" | "quickbooks" | "hubspot";
|
|
3551
4005
|
confirm?: boolean | undefined;
|
|
3552
4006
|
}>;
|
|
3553
4007
|
handler: (args: {
|
|
@@ -5882,14 +6336,14 @@ export declare const toolDefinitions: {
|
|
|
5882
6336
|
includeArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5883
6337
|
}, "strip", import("zod").ZodTypeAny, {
|
|
5884
6338
|
search?: string | undefined;
|
|
6339
|
+
includeArchived?: boolean | undefined;
|
|
5885
6340
|
pipeline?: "transactional" | "marketing" | undefined;
|
|
5886
6341
|
channel?: "email" | "mobile_push" | "inbox" | "web_push" | undefined;
|
|
5887
|
-
includeArchived?: boolean | undefined;
|
|
5888
6342
|
}, {
|
|
5889
6343
|
search?: string | undefined;
|
|
6344
|
+
includeArchived?: boolean | undefined;
|
|
5890
6345
|
pipeline?: "transactional" | "marketing" | undefined;
|
|
5891
6346
|
channel?: "email" | "mobile_push" | "inbox" | "web_push" | undefined;
|
|
5892
|
-
includeArchived?: boolean | undefined;
|
|
5893
6347
|
}>;
|
|
5894
6348
|
handler: (args: {
|
|
5895
6349
|
pipeline?: "transactional" | "marketing";
|
|
@@ -6186,6 +6640,7 @@ export declare const toolDefinitions: {
|
|
|
6186
6640
|
description: string;
|
|
6187
6641
|
schema: import("zod").ZodObject<{
|
|
6188
6642
|
communicationId: import("zod").ZodString;
|
|
6643
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6189
6644
|
subject: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6190
6645
|
slots: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
6191
6646
|
blocks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -6269,6 +6724,7 @@ export declare const toolDefinitions: {
|
|
|
6269
6724
|
status?: "active" | "draft" | "paused" | undefined;
|
|
6270
6725
|
subject?: string | undefined;
|
|
6271
6726
|
intent?: "replace" | "compete" | undefined;
|
|
6727
|
+
title?: string | undefined;
|
|
6272
6728
|
categoryId?: string | undefined;
|
|
6273
6729
|
slots?: Record<string, string> | undefined;
|
|
6274
6730
|
blocks?: {
|
|
@@ -6304,6 +6760,7 @@ export declare const toolDefinitions: {
|
|
|
6304
6760
|
status?: "active" | "draft" | "paused" | undefined;
|
|
6305
6761
|
subject?: string | undefined;
|
|
6306
6762
|
intent?: "replace" | "compete" | undefined;
|
|
6763
|
+
title?: string | undefined;
|
|
6307
6764
|
categoryId?: string | undefined;
|
|
6308
6765
|
slots?: Record<string, string> | undefined;
|
|
6309
6766
|
blocks?: {
|
|
@@ -6336,6 +6793,7 @@ export declare const toolDefinitions: {
|
|
|
6336
6793
|
}>;
|
|
6337
6794
|
handler: (args: {
|
|
6338
6795
|
communicationId: string;
|
|
6796
|
+
title?: string;
|
|
6339
6797
|
subject?: string;
|
|
6340
6798
|
slots?: Record<string, string>;
|
|
6341
6799
|
blocks?: import("./letter-blocks.js").LetterBlockInput[];
|
|
@@ -6778,6 +7236,48 @@ export declare const toolDefinitions: {
|
|
|
6778
7236
|
} & {
|
|
6779
7237
|
group: ToolGroup;
|
|
6780
7238
|
};
|
|
7239
|
+
update_journey: {
|
|
7240
|
+
description: string;
|
|
7241
|
+
schema: import("zod").ZodObject<{
|
|
7242
|
+
journeyId: import("zod").ZodString;
|
|
7243
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7244
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7245
|
+
audience_bucket: import("zod").ZodOptional<import("zod").ZodEnum<["production", "beta", "dev"]>>;
|
|
7246
|
+
attributionWindowDays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7247
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
7248
|
+
journeyId: string;
|
|
7249
|
+
name?: string | undefined;
|
|
7250
|
+
attributionWindowDays?: number | undefined;
|
|
7251
|
+
description?: string | undefined;
|
|
7252
|
+
audience_bucket?: "production" | "beta" | "dev" | undefined;
|
|
7253
|
+
}, {
|
|
7254
|
+
journeyId: string;
|
|
7255
|
+
name?: string | undefined;
|
|
7256
|
+
attributionWindowDays?: number | undefined;
|
|
7257
|
+
description?: string | undefined;
|
|
7258
|
+
audience_bucket?: "production" | "beta" | "dev" | undefined;
|
|
7259
|
+
}>;
|
|
7260
|
+
handler: ({ journeyId, name, description, audience_bucket, attributionWindowDays, }: {
|
|
7261
|
+
journeyId: string;
|
|
7262
|
+
name?: string;
|
|
7263
|
+
description?: string;
|
|
7264
|
+
audience_bucket?: "production" | "beta" | "dev";
|
|
7265
|
+
attributionWindowDays?: number;
|
|
7266
|
+
}) => Promise<{
|
|
7267
|
+
content: {
|
|
7268
|
+
type: "text";
|
|
7269
|
+
text: string;
|
|
7270
|
+
}[];
|
|
7271
|
+
isError: boolean;
|
|
7272
|
+
} | {
|
|
7273
|
+
content: {
|
|
7274
|
+
type: "text";
|
|
7275
|
+
text: string;
|
|
7276
|
+
}[];
|
|
7277
|
+
}>;
|
|
7278
|
+
} & {
|
|
7279
|
+
group: ToolGroup;
|
|
7280
|
+
};
|
|
6781
7281
|
create_journey_from_template: {
|
|
6782
7282
|
description: string;
|
|
6783
7283
|
schema: import("zod").ZodObject<{
|
|
@@ -6835,6 +7335,8 @@ export declare const toolDefinitions: {
|
|
|
6835
7335
|
schema: import("zod").ZodObject<{
|
|
6836
7336
|
fromKeyEventId: import("zod").ZodString;
|
|
6837
7337
|
toKeyEventId: import("zod").ZodString;
|
|
7338
|
+
mode: import("zod").ZodOptional<import("zod").ZodEnum<["starter_sequence", "template", "blank"]>>;
|
|
7339
|
+
templateId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6838
7340
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6839
7341
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6840
7342
|
attributionWindowDays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -6842,21 +7344,27 @@ export declare const toolDefinitions: {
|
|
|
6842
7344
|
}, "strip", import("zod").ZodTypeAny, {
|
|
6843
7345
|
fromKeyEventId: string;
|
|
6844
7346
|
toKeyEventId: string;
|
|
7347
|
+
mode?: "starter_sequence" | "template" | "blank" | undefined;
|
|
6845
7348
|
name?: string | undefined;
|
|
6846
7349
|
attributionWindowDays?: number | undefined;
|
|
6847
7350
|
description?: string | undefined;
|
|
7351
|
+
templateId?: string | undefined;
|
|
6848
7352
|
audienceBucket?: "production" | "beta" | "dev" | undefined;
|
|
6849
7353
|
}, {
|
|
6850
7354
|
fromKeyEventId: string;
|
|
6851
7355
|
toKeyEventId: string;
|
|
7356
|
+
mode?: "starter_sequence" | "template" | "blank" | undefined;
|
|
6852
7357
|
name?: string | undefined;
|
|
6853
7358
|
attributionWindowDays?: number | undefined;
|
|
6854
7359
|
description?: string | undefined;
|
|
7360
|
+
templateId?: string | undefined;
|
|
6855
7361
|
audienceBucket?: "production" | "beta" | "dev" | undefined;
|
|
6856
7362
|
}>;
|
|
6857
|
-
handler: ({ fromKeyEventId, toKeyEventId, name, description, attributionWindowDays, audienceBucket, }: {
|
|
7363
|
+
handler: ({ fromKeyEventId, toKeyEventId, mode, templateId, name, description, attributionWindowDays, audienceBucket, }: {
|
|
6858
7364
|
fromKeyEventId: string;
|
|
6859
7365
|
toKeyEventId: string;
|
|
7366
|
+
mode?: "starter_sequence" | "template" | "blank";
|
|
7367
|
+
templateId?: string;
|
|
6860
7368
|
name?: string;
|
|
6861
7369
|
description?: string;
|
|
6862
7370
|
attributionWindowDays?: number;
|
|
@@ -6876,6 +7384,62 @@ export declare const toolDefinitions: {
|
|
|
6876
7384
|
} & {
|
|
6877
7385
|
group: ToolGroup;
|
|
6878
7386
|
};
|
|
7387
|
+
sync_journey_funnel_exits: {
|
|
7388
|
+
description: string;
|
|
7389
|
+
schema: import("zod").ZodObject<{
|
|
7390
|
+
journeyId: import("zod").ZodString;
|
|
7391
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
7392
|
+
journeyId: string;
|
|
7393
|
+
}, {
|
|
7394
|
+
journeyId: string;
|
|
7395
|
+
}>;
|
|
7396
|
+
handler: ({ journeyId }: {
|
|
7397
|
+
journeyId: string;
|
|
7398
|
+
}) => Promise<{
|
|
7399
|
+
content: {
|
|
7400
|
+
type: "text";
|
|
7401
|
+
text: string;
|
|
7402
|
+
}[];
|
|
7403
|
+
isError: boolean;
|
|
7404
|
+
} | {
|
|
7405
|
+
content: {
|
|
7406
|
+
type: "text";
|
|
7407
|
+
text: string;
|
|
7408
|
+
}[];
|
|
7409
|
+
}>;
|
|
7410
|
+
} & {
|
|
7411
|
+
group: ToolGroup;
|
|
7412
|
+
};
|
|
7413
|
+
fill_funnel_gaps: {
|
|
7414
|
+
description: string;
|
|
7415
|
+
schema: import("zod").ZodObject<{
|
|
7416
|
+
gapIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
7417
|
+
audienceBucket: import("zod").ZodOptional<import("zod").ZodEnum<["production", "beta", "dev"]>>;
|
|
7418
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
7419
|
+
audienceBucket?: "production" | "beta" | "dev" | undefined;
|
|
7420
|
+
gapIds?: string[] | undefined;
|
|
7421
|
+
}, {
|
|
7422
|
+
audienceBucket?: "production" | "beta" | "dev" | undefined;
|
|
7423
|
+
gapIds?: string[] | undefined;
|
|
7424
|
+
}>;
|
|
7425
|
+
handler: ({ gapIds, audienceBucket, }: {
|
|
7426
|
+
gapIds?: string[];
|
|
7427
|
+
audienceBucket?: "production" | "beta" | "dev";
|
|
7428
|
+
}) => Promise<{
|
|
7429
|
+
content: {
|
|
7430
|
+
type: "text";
|
|
7431
|
+
text: string;
|
|
7432
|
+
}[];
|
|
7433
|
+
isError: boolean;
|
|
7434
|
+
} | {
|
|
7435
|
+
content: {
|
|
7436
|
+
type: "text";
|
|
7437
|
+
text: string;
|
|
7438
|
+
}[];
|
|
7439
|
+
}>;
|
|
7440
|
+
} & {
|
|
7441
|
+
group: ToolGroup;
|
|
7442
|
+
};
|
|
6879
7443
|
list_trigger_contracts: {
|
|
6880
7444
|
description: string;
|
|
6881
7445
|
schema: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
|
@@ -7040,7 +7604,7 @@ export declare const toolDefinitions: {
|
|
|
7040
7604
|
key_event_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7041
7605
|
scope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
|
|
7042
7606
|
field_path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7043
|
-
operator: import("zod").ZodOptional<import("zod").ZodEnum<["equals", "not_equals", "greater_than", "less_than", "in", "exists", "not_exists"]>>;
|
|
7607
|
+
operator: import("zod").ZodOptional<import("zod").ZodEnum<["equals", "not_equals", "contains", "greater_than", "less_than", "in", "exists", "not_exists"]>>;
|
|
7044
7608
|
value: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>, "many">]>>;
|
|
7045
7609
|
event_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7046
7610
|
window_days: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -7048,7 +7612,7 @@ export declare const toolDefinitions: {
|
|
|
7048
7612
|
}, "strip", import("zod").ZodTypeAny, {
|
|
7049
7613
|
kind: "event_not_fired" | "attribute" | "event_fired" | "key_event_reached" | "key_event_not_reached" | "letter_opened" | "letter_clicked";
|
|
7050
7614
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7051
|
-
operator?: "equals" | "not_equals" | "exists" | "in" | "not_exists" | "greater_than" | "less_than" | undefined;
|
|
7615
|
+
operator?: "equals" | "not_equals" | "exists" | "contains" | "in" | "not_exists" | "greater_than" | "less_than" | undefined;
|
|
7052
7616
|
event_name?: string | undefined;
|
|
7053
7617
|
key_event_id?: string | undefined;
|
|
7054
7618
|
field_path?: string | undefined;
|
|
@@ -7058,7 +7622,7 @@ export declare const toolDefinitions: {
|
|
|
7058
7622
|
}, {
|
|
7059
7623
|
kind: "event_not_fired" | "attribute" | "event_fired" | "key_event_reached" | "key_event_not_reached" | "letter_opened" | "letter_clicked";
|
|
7060
7624
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7061
|
-
operator?: "equals" | "not_equals" | "exists" | "in" | "not_exists" | "greater_than" | "less_than" | undefined;
|
|
7625
|
+
operator?: "equals" | "not_equals" | "exists" | "contains" | "in" | "not_exists" | "greater_than" | "less_than" | undefined;
|
|
7062
7626
|
event_name?: string | undefined;
|
|
7063
7627
|
key_event_id?: string | undefined;
|
|
7064
7628
|
field_path?: string | undefined;
|
|
@@ -7073,7 +7637,7 @@ export declare const toolDefinitions: {
|
|
|
7073
7637
|
condition: {
|
|
7074
7638
|
kind: "event_not_fired" | "attribute" | "event_fired" | "key_event_reached" | "key_event_not_reached" | "letter_opened" | "letter_clicked";
|
|
7075
7639
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7076
|
-
operator?: "equals" | "not_equals" | "exists" | "in" | "not_exists" | "greater_than" | "less_than" | undefined;
|
|
7640
|
+
operator?: "equals" | "not_equals" | "exists" | "contains" | "in" | "not_exists" | "greater_than" | "less_than" | undefined;
|
|
7077
7641
|
event_name?: string | undefined;
|
|
7078
7642
|
key_event_id?: string | undefined;
|
|
7079
7643
|
field_path?: string | undefined;
|
|
@@ -7090,7 +7654,7 @@ export declare const toolDefinitions: {
|
|
|
7090
7654
|
condition: {
|
|
7091
7655
|
kind: "event_not_fired" | "attribute" | "event_fired" | "key_event_reached" | "key_event_not_reached" | "letter_opened" | "letter_clicked";
|
|
7092
7656
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7093
|
-
operator?: "equals" | "not_equals" | "exists" | "in" | "not_exists" | "greater_than" | "less_than" | undefined;
|
|
7657
|
+
operator?: "equals" | "not_equals" | "exists" | "contains" | "in" | "not_exists" | "greater_than" | "less_than" | undefined;
|
|
7094
7658
|
event_name?: string | undefined;
|
|
7095
7659
|
key_event_id?: string | undefined;
|
|
7096
7660
|
field_path?: string | undefined;
|
|
@@ -7574,14 +8138,14 @@ export declare const toolDefinitions: {
|
|
|
7574
8138
|
event: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7575
8139
|
where: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
7576
8140
|
field_path: import("zod").ZodString;
|
|
7577
|
-
operator: import("zod").ZodEnum<["equals", "not_equals", "in", "exists", "not_exists"]>;
|
|
8141
|
+
operator: import("zod").ZodEnum<["equals", "not_equals", "in", "contains", "gt", "gte", "lt", "lte", "exists", "not_exists"]>;
|
|
7578
8142
|
value: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>, "many">]>>;
|
|
7579
8143
|
}, "strip", import("zod").ZodTypeAny, {
|
|
7580
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8144
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7581
8145
|
field_path: string;
|
|
7582
8146
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7583
8147
|
}, {
|
|
7584
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8148
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7585
8149
|
field_path: string;
|
|
7586
8150
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7587
8151
|
}>, "many">>;
|
|
@@ -7590,15 +8154,22 @@ export declare const toolDefinitions: {
|
|
|
7590
8154
|
scope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
|
|
7591
8155
|
window_days: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7592
8156
|
attribute: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7593
|
-
op: import("zod").ZodOptional<import("zod").ZodEnum<["is", "is_not", "exists"]>>;
|
|
8157
|
+
op: import("zod").ZodOptional<import("zod").ZodEnum<["is", "is_not", "contains", "exists"]>>;
|
|
7594
8158
|
value: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>;
|
|
8159
|
+
brought_by_campaign: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodObject<{
|
|
8160
|
+
campaign_id: import("zod").ZodString;
|
|
8161
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
8162
|
+
campaign_id: string;
|
|
8163
|
+
}, {
|
|
8164
|
+
campaign_id: string;
|
|
8165
|
+
}>]>>;
|
|
7595
8166
|
}, "strip", import("zod").ZodTypeAny, {
|
|
7596
8167
|
event?: string | undefined;
|
|
7597
8168
|
value?: string | number | boolean | undefined;
|
|
7598
8169
|
key_event_id?: string | undefined;
|
|
7599
8170
|
verb?: "has" | "hasnt" | undefined;
|
|
7600
8171
|
where?: {
|
|
7601
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8172
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7602
8173
|
field_path: string;
|
|
7603
8174
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7604
8175
|
}[] | undefined;
|
|
@@ -7606,14 +8177,17 @@ export declare const toolDefinitions: {
|
|
|
7606
8177
|
scope?: "account" | "person" | undefined;
|
|
7607
8178
|
window_days?: number | undefined;
|
|
7608
8179
|
attribute?: string | undefined;
|
|
7609
|
-
op?: "exists" | "is" | "is_not" | undefined;
|
|
8180
|
+
op?: "exists" | "contains" | "is" | "is_not" | undefined;
|
|
8181
|
+
brought_by_campaign?: string | {
|
|
8182
|
+
campaign_id: string;
|
|
8183
|
+
} | undefined;
|
|
7610
8184
|
}, {
|
|
7611
8185
|
event?: string | undefined;
|
|
7612
8186
|
value?: string | number | boolean | undefined;
|
|
7613
8187
|
key_event_id?: string | undefined;
|
|
7614
8188
|
verb?: "has" | "hasnt" | undefined;
|
|
7615
8189
|
where?: {
|
|
7616
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8190
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7617
8191
|
field_path: string;
|
|
7618
8192
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7619
8193
|
}[] | undefined;
|
|
@@ -7621,7 +8195,10 @@ export declare const toolDefinitions: {
|
|
|
7621
8195
|
scope?: "account" | "person" | undefined;
|
|
7622
8196
|
window_days?: number | undefined;
|
|
7623
8197
|
attribute?: string | undefined;
|
|
7624
|
-
op?: "exists" | "is" | "is_not" | undefined;
|
|
8198
|
+
op?: "exists" | "contains" | "is" | "is_not" | undefined;
|
|
8199
|
+
brought_by_campaign?: string | {
|
|
8200
|
+
campaign_id: string;
|
|
8201
|
+
} | undefined;
|
|
7625
8202
|
}>, "many">;
|
|
7626
8203
|
}, "strip", import("zod").ZodTypeAny, {
|
|
7627
8204
|
match: "all" | "any";
|
|
@@ -7631,7 +8208,7 @@ export declare const toolDefinitions: {
|
|
|
7631
8208
|
key_event_id?: string | undefined;
|
|
7632
8209
|
verb?: "has" | "hasnt" | undefined;
|
|
7633
8210
|
where?: {
|
|
7634
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8211
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7635
8212
|
field_path: string;
|
|
7636
8213
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7637
8214
|
}[] | undefined;
|
|
@@ -7639,7 +8216,10 @@ export declare const toolDefinitions: {
|
|
|
7639
8216
|
scope?: "account" | "person" | undefined;
|
|
7640
8217
|
window_days?: number | undefined;
|
|
7641
8218
|
attribute?: string | undefined;
|
|
7642
|
-
op?: "exists" | "is" | "is_not" | undefined;
|
|
8219
|
+
op?: "exists" | "contains" | "is" | "is_not" | undefined;
|
|
8220
|
+
brought_by_campaign?: string | {
|
|
8221
|
+
campaign_id: string;
|
|
8222
|
+
} | undefined;
|
|
7643
8223
|
}[];
|
|
7644
8224
|
}, {
|
|
7645
8225
|
match: "all" | "any";
|
|
@@ -7649,7 +8229,7 @@ export declare const toolDefinitions: {
|
|
|
7649
8229
|
key_event_id?: string | undefined;
|
|
7650
8230
|
verb?: "has" | "hasnt" | undefined;
|
|
7651
8231
|
where?: {
|
|
7652
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8232
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7653
8233
|
field_path: string;
|
|
7654
8234
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7655
8235
|
}[] | undefined;
|
|
@@ -7657,7 +8237,10 @@ export declare const toolDefinitions: {
|
|
|
7657
8237
|
scope?: "account" | "person" | undefined;
|
|
7658
8238
|
window_days?: number | undefined;
|
|
7659
8239
|
attribute?: string | undefined;
|
|
7660
|
-
op?: "exists" | "is" | "is_not" | undefined;
|
|
8240
|
+
op?: "exists" | "contains" | "is" | "is_not" | undefined;
|
|
8241
|
+
brought_by_campaign?: string | {
|
|
8242
|
+
campaign_id: string;
|
|
8243
|
+
} | undefined;
|
|
7661
8244
|
}[];
|
|
7662
8245
|
}>, "many">;
|
|
7663
8246
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -7670,7 +8253,7 @@ export declare const toolDefinitions: {
|
|
|
7670
8253
|
key_event_id?: string | undefined;
|
|
7671
8254
|
verb?: "has" | "hasnt" | undefined;
|
|
7672
8255
|
where?: {
|
|
7673
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8256
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7674
8257
|
field_path: string;
|
|
7675
8258
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7676
8259
|
}[] | undefined;
|
|
@@ -7678,7 +8261,10 @@ export declare const toolDefinitions: {
|
|
|
7678
8261
|
scope?: "account" | "person" | undefined;
|
|
7679
8262
|
window_days?: number | undefined;
|
|
7680
8263
|
attribute?: string | undefined;
|
|
7681
|
-
op?: "exists" | "is" | "is_not" | undefined;
|
|
8264
|
+
op?: "exists" | "contains" | "is" | "is_not" | undefined;
|
|
8265
|
+
brought_by_campaign?: string | {
|
|
8266
|
+
campaign_id: string;
|
|
8267
|
+
} | undefined;
|
|
7682
8268
|
}[];
|
|
7683
8269
|
}[];
|
|
7684
8270
|
}, {
|
|
@@ -7691,7 +8277,7 @@ export declare const toolDefinitions: {
|
|
|
7691
8277
|
key_event_id?: string | undefined;
|
|
7692
8278
|
verb?: "has" | "hasnt" | undefined;
|
|
7693
8279
|
where?: {
|
|
7694
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8280
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7695
8281
|
field_path: string;
|
|
7696
8282
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7697
8283
|
}[] | undefined;
|
|
@@ -7699,7 +8285,10 @@ export declare const toolDefinitions: {
|
|
|
7699
8285
|
scope?: "account" | "person" | undefined;
|
|
7700
8286
|
window_days?: number | undefined;
|
|
7701
8287
|
attribute?: string | undefined;
|
|
7702
|
-
op?: "exists" | "is" | "is_not" | undefined;
|
|
8288
|
+
op?: "exists" | "contains" | "is" | "is_not" | undefined;
|
|
8289
|
+
brought_by_campaign?: string | {
|
|
8290
|
+
campaign_id: string;
|
|
8291
|
+
} | undefined;
|
|
7703
8292
|
}[];
|
|
7704
8293
|
}[];
|
|
7705
8294
|
}>>;
|
|
@@ -7717,7 +8306,7 @@ export declare const toolDefinitions: {
|
|
|
7717
8306
|
key_event_id?: string | undefined;
|
|
7718
8307
|
verb?: "has" | "hasnt" | undefined;
|
|
7719
8308
|
where?: {
|
|
7720
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8309
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7721
8310
|
field_path: string;
|
|
7722
8311
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7723
8312
|
}[] | undefined;
|
|
@@ -7725,7 +8314,10 @@ export declare const toolDefinitions: {
|
|
|
7725
8314
|
scope?: "account" | "person" | undefined;
|
|
7726
8315
|
window_days?: number | undefined;
|
|
7727
8316
|
attribute?: string | undefined;
|
|
7728
|
-
op?: "exists" | "is" | "is_not" | undefined;
|
|
8317
|
+
op?: "exists" | "contains" | "is" | "is_not" | undefined;
|
|
8318
|
+
brought_by_campaign?: string | {
|
|
8319
|
+
campaign_id: string;
|
|
8320
|
+
} | undefined;
|
|
7729
8321
|
}[];
|
|
7730
8322
|
}[];
|
|
7731
8323
|
} | undefined;
|
|
@@ -7744,7 +8336,7 @@ export declare const toolDefinitions: {
|
|
|
7744
8336
|
key_event_id?: string | undefined;
|
|
7745
8337
|
verb?: "has" | "hasnt" | undefined;
|
|
7746
8338
|
where?: {
|
|
7747
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8339
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7748
8340
|
field_path: string;
|
|
7749
8341
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7750
8342
|
}[] | undefined;
|
|
@@ -7752,7 +8344,10 @@ export declare const toolDefinitions: {
|
|
|
7752
8344
|
scope?: "account" | "person" | undefined;
|
|
7753
8345
|
window_days?: number | undefined;
|
|
7754
8346
|
attribute?: string | undefined;
|
|
7755
|
-
op?: "exists" | "is" | "is_not" | undefined;
|
|
8347
|
+
op?: "exists" | "contains" | "is" | "is_not" | undefined;
|
|
8348
|
+
brought_by_campaign?: string | {
|
|
8349
|
+
campaign_id: string;
|
|
8350
|
+
} | undefined;
|
|
7756
8351
|
}[];
|
|
7757
8352
|
}[];
|
|
7758
8353
|
} | undefined;
|
|
@@ -7790,14 +8385,14 @@ export declare const toolDefinitions: {
|
|
|
7790
8385
|
event: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7791
8386
|
where: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
7792
8387
|
field_path: import("zod").ZodString;
|
|
7793
|
-
operator: import("zod").ZodEnum<["equals", "not_equals", "in", "exists", "not_exists"]>;
|
|
8388
|
+
operator: import("zod").ZodEnum<["equals", "not_equals", "in", "contains", "gt", "gte", "lt", "lte", "exists", "not_exists"]>;
|
|
7794
8389
|
value: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>, "many">]>>;
|
|
7795
8390
|
}, "strip", import("zod").ZodTypeAny, {
|
|
7796
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8391
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7797
8392
|
field_path: string;
|
|
7798
8393
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7799
8394
|
}, {
|
|
7800
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8395
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7801
8396
|
field_path: string;
|
|
7802
8397
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7803
8398
|
}>, "many">>;
|
|
@@ -7806,15 +8401,22 @@ export declare const toolDefinitions: {
|
|
|
7806
8401
|
scope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
|
|
7807
8402
|
window_days: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7808
8403
|
attribute: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7809
|
-
op: import("zod").ZodOptional<import("zod").ZodEnum<["is", "is_not", "exists"]>>;
|
|
8404
|
+
op: import("zod").ZodOptional<import("zod").ZodEnum<["is", "is_not", "contains", "exists"]>>;
|
|
7810
8405
|
value: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>;
|
|
8406
|
+
brought_by_campaign: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodObject<{
|
|
8407
|
+
campaign_id: import("zod").ZodString;
|
|
8408
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
8409
|
+
campaign_id: string;
|
|
8410
|
+
}, {
|
|
8411
|
+
campaign_id: string;
|
|
8412
|
+
}>]>>;
|
|
7811
8413
|
}, "strip", import("zod").ZodTypeAny, {
|
|
7812
8414
|
event?: string | undefined;
|
|
7813
8415
|
value?: string | number | boolean | undefined;
|
|
7814
8416
|
key_event_id?: string | undefined;
|
|
7815
8417
|
verb?: "has" | "hasnt" | undefined;
|
|
7816
8418
|
where?: {
|
|
7817
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8419
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7818
8420
|
field_path: string;
|
|
7819
8421
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7820
8422
|
}[] | undefined;
|
|
@@ -7822,14 +8424,17 @@ export declare const toolDefinitions: {
|
|
|
7822
8424
|
scope?: "account" | "person" | undefined;
|
|
7823
8425
|
window_days?: number | undefined;
|
|
7824
8426
|
attribute?: string | undefined;
|
|
7825
|
-
op?: "exists" | "is" | "is_not" | undefined;
|
|
8427
|
+
op?: "exists" | "contains" | "is" | "is_not" | undefined;
|
|
8428
|
+
brought_by_campaign?: string | {
|
|
8429
|
+
campaign_id: string;
|
|
8430
|
+
} | undefined;
|
|
7826
8431
|
}, {
|
|
7827
8432
|
event?: string | undefined;
|
|
7828
8433
|
value?: string | number | boolean | undefined;
|
|
7829
8434
|
key_event_id?: string | undefined;
|
|
7830
8435
|
verb?: "has" | "hasnt" | undefined;
|
|
7831
8436
|
where?: {
|
|
7832
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8437
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7833
8438
|
field_path: string;
|
|
7834
8439
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7835
8440
|
}[] | undefined;
|
|
@@ -7837,7 +8442,10 @@ export declare const toolDefinitions: {
|
|
|
7837
8442
|
scope?: "account" | "person" | undefined;
|
|
7838
8443
|
window_days?: number | undefined;
|
|
7839
8444
|
attribute?: string | undefined;
|
|
7840
|
-
op?: "exists" | "is" | "is_not" | undefined;
|
|
8445
|
+
op?: "exists" | "contains" | "is" | "is_not" | undefined;
|
|
8446
|
+
brought_by_campaign?: string | {
|
|
8447
|
+
campaign_id: string;
|
|
8448
|
+
} | undefined;
|
|
7841
8449
|
}>, "many">;
|
|
7842
8450
|
}, "strip", import("zod").ZodTypeAny, {
|
|
7843
8451
|
match: "all" | "any";
|
|
@@ -7847,7 +8455,7 @@ export declare const toolDefinitions: {
|
|
|
7847
8455
|
key_event_id?: string | undefined;
|
|
7848
8456
|
verb?: "has" | "hasnt" | undefined;
|
|
7849
8457
|
where?: {
|
|
7850
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8458
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7851
8459
|
field_path: string;
|
|
7852
8460
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7853
8461
|
}[] | undefined;
|
|
@@ -7855,7 +8463,10 @@ export declare const toolDefinitions: {
|
|
|
7855
8463
|
scope?: "account" | "person" | undefined;
|
|
7856
8464
|
window_days?: number | undefined;
|
|
7857
8465
|
attribute?: string | undefined;
|
|
7858
|
-
op?: "exists" | "is" | "is_not" | undefined;
|
|
8466
|
+
op?: "exists" | "contains" | "is" | "is_not" | undefined;
|
|
8467
|
+
brought_by_campaign?: string | {
|
|
8468
|
+
campaign_id: string;
|
|
8469
|
+
} | undefined;
|
|
7859
8470
|
}[];
|
|
7860
8471
|
}, {
|
|
7861
8472
|
match: "all" | "any";
|
|
@@ -7865,7 +8476,7 @@ export declare const toolDefinitions: {
|
|
|
7865
8476
|
key_event_id?: string | undefined;
|
|
7866
8477
|
verb?: "has" | "hasnt" | undefined;
|
|
7867
8478
|
where?: {
|
|
7868
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8479
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7869
8480
|
field_path: string;
|
|
7870
8481
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7871
8482
|
}[] | undefined;
|
|
@@ -7873,7 +8484,10 @@ export declare const toolDefinitions: {
|
|
|
7873
8484
|
scope?: "account" | "person" | undefined;
|
|
7874
8485
|
window_days?: number | undefined;
|
|
7875
8486
|
attribute?: string | undefined;
|
|
7876
|
-
op?: "exists" | "is" | "is_not" | undefined;
|
|
8487
|
+
op?: "exists" | "contains" | "is" | "is_not" | undefined;
|
|
8488
|
+
brought_by_campaign?: string | {
|
|
8489
|
+
campaign_id: string;
|
|
8490
|
+
} | undefined;
|
|
7877
8491
|
}[];
|
|
7878
8492
|
}>, "many">;
|
|
7879
8493
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -7886,7 +8500,7 @@ export declare const toolDefinitions: {
|
|
|
7886
8500
|
key_event_id?: string | undefined;
|
|
7887
8501
|
verb?: "has" | "hasnt" | undefined;
|
|
7888
8502
|
where?: {
|
|
7889
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8503
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7890
8504
|
field_path: string;
|
|
7891
8505
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7892
8506
|
}[] | undefined;
|
|
@@ -7894,7 +8508,10 @@ export declare const toolDefinitions: {
|
|
|
7894
8508
|
scope?: "account" | "person" | undefined;
|
|
7895
8509
|
window_days?: number | undefined;
|
|
7896
8510
|
attribute?: string | undefined;
|
|
7897
|
-
op?: "exists" | "is" | "is_not" | undefined;
|
|
8511
|
+
op?: "exists" | "contains" | "is" | "is_not" | undefined;
|
|
8512
|
+
brought_by_campaign?: string | {
|
|
8513
|
+
campaign_id: string;
|
|
8514
|
+
} | undefined;
|
|
7898
8515
|
}[];
|
|
7899
8516
|
}[];
|
|
7900
8517
|
}, {
|
|
@@ -7907,7 +8524,7 @@ export declare const toolDefinitions: {
|
|
|
7907
8524
|
key_event_id?: string | undefined;
|
|
7908
8525
|
verb?: "has" | "hasnt" | undefined;
|
|
7909
8526
|
where?: {
|
|
7910
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8527
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7911
8528
|
field_path: string;
|
|
7912
8529
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7913
8530
|
}[] | undefined;
|
|
@@ -7915,7 +8532,10 @@ export declare const toolDefinitions: {
|
|
|
7915
8532
|
scope?: "account" | "person" | undefined;
|
|
7916
8533
|
window_days?: number | undefined;
|
|
7917
8534
|
attribute?: string | undefined;
|
|
7918
|
-
op?: "exists" | "is" | "is_not" | undefined;
|
|
8535
|
+
op?: "exists" | "contains" | "is" | "is_not" | undefined;
|
|
8536
|
+
brought_by_campaign?: string | {
|
|
8537
|
+
campaign_id: string;
|
|
8538
|
+
} | undefined;
|
|
7919
8539
|
}[];
|
|
7920
8540
|
}[];
|
|
7921
8541
|
}>>;
|
|
@@ -7934,7 +8554,7 @@ export declare const toolDefinitions: {
|
|
|
7934
8554
|
key_event_id?: string | undefined;
|
|
7935
8555
|
verb?: "has" | "hasnt" | undefined;
|
|
7936
8556
|
where?: {
|
|
7937
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8557
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7938
8558
|
field_path: string;
|
|
7939
8559
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7940
8560
|
}[] | undefined;
|
|
@@ -7942,7 +8562,10 @@ export declare const toolDefinitions: {
|
|
|
7942
8562
|
scope?: "account" | "person" | undefined;
|
|
7943
8563
|
window_days?: number | undefined;
|
|
7944
8564
|
attribute?: string | undefined;
|
|
7945
|
-
op?: "exists" | "is" | "is_not" | undefined;
|
|
8565
|
+
op?: "exists" | "contains" | "is" | "is_not" | undefined;
|
|
8566
|
+
brought_by_campaign?: string | {
|
|
8567
|
+
campaign_id: string;
|
|
8568
|
+
} | undefined;
|
|
7946
8569
|
}[];
|
|
7947
8570
|
}[];
|
|
7948
8571
|
} | undefined;
|
|
@@ -7962,7 +8585,7 @@ export declare const toolDefinitions: {
|
|
|
7962
8585
|
key_event_id?: string | undefined;
|
|
7963
8586
|
verb?: "has" | "hasnt" | undefined;
|
|
7964
8587
|
where?: {
|
|
7965
|
-
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
8588
|
+
operator: "equals" | "not_equals" | "exists" | "contains" | "gt" | "lt" | "gte" | "lte" | "in" | "not_exists";
|
|
7966
8589
|
field_path: string;
|
|
7967
8590
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
7968
8591
|
}[] | undefined;
|
|
@@ -7970,7 +8593,10 @@ export declare const toolDefinitions: {
|
|
|
7970
8593
|
scope?: "account" | "person" | undefined;
|
|
7971
8594
|
window_days?: number | undefined;
|
|
7972
8595
|
attribute?: string | undefined;
|
|
7973
|
-
op?: "exists" | "is" | "is_not" | undefined;
|
|
8596
|
+
op?: "exists" | "contains" | "is" | "is_not" | undefined;
|
|
8597
|
+
brought_by_campaign?: string | {
|
|
8598
|
+
campaign_id: string;
|
|
8599
|
+
} | undefined;
|
|
7974
8600
|
}[];
|
|
7975
8601
|
}[];
|
|
7976
8602
|
} | undefined;
|
|
@@ -8642,13 +9268,17 @@ export declare const toolDefinitions: {
|
|
|
8642
9268
|
description: string;
|
|
8643
9269
|
schema: import("zod").ZodObject<{
|
|
8644
9270
|
query: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9271
|
+
includeArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
8645
9272
|
}, "strip", import("zod").ZodTypeAny, {
|
|
8646
9273
|
query?: string | undefined;
|
|
9274
|
+
includeArchived?: boolean | undefined;
|
|
8647
9275
|
}, {
|
|
8648
9276
|
query?: string | undefined;
|
|
9277
|
+
includeArchived?: boolean | undefined;
|
|
8649
9278
|
}>;
|
|
8650
|
-
handler: ({ query }: {
|
|
9279
|
+
handler: ({ query, includeArchived }: {
|
|
8651
9280
|
query?: string;
|
|
9281
|
+
includeArchived?: boolean;
|
|
8652
9282
|
}) => Promise<{
|
|
8653
9283
|
content: {
|
|
8654
9284
|
type: "text";
|
|
@@ -8658,6 +9288,66 @@ export declare const toolDefinitions: {
|
|
|
8658
9288
|
} & {
|
|
8659
9289
|
group: ToolGroup;
|
|
8660
9290
|
};
|
|
9291
|
+
update_belief: {
|
|
9292
|
+
description: string;
|
|
9293
|
+
schema: import("zod").ZodObject<{
|
|
9294
|
+
beliefId: import("zod").ZodString;
|
|
9295
|
+
statement: import("zod").ZodString;
|
|
9296
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
9297
|
+
beliefId: string;
|
|
9298
|
+
statement: string;
|
|
9299
|
+
}, {
|
|
9300
|
+
beliefId: string;
|
|
9301
|
+
statement: string;
|
|
9302
|
+
}>;
|
|
9303
|
+
handler: ({ beliefId, statement }: {
|
|
9304
|
+
beliefId: string;
|
|
9305
|
+
statement: string;
|
|
9306
|
+
}) => Promise<{
|
|
9307
|
+
content: {
|
|
9308
|
+
type: "text";
|
|
9309
|
+
text: string;
|
|
9310
|
+
}[];
|
|
9311
|
+
isError: boolean;
|
|
9312
|
+
} | {
|
|
9313
|
+
content: {
|
|
9314
|
+
type: "text";
|
|
9315
|
+
text: string;
|
|
9316
|
+
}[];
|
|
9317
|
+
}>;
|
|
9318
|
+
} & {
|
|
9319
|
+
group: ToolGroup;
|
|
9320
|
+
};
|
|
9321
|
+
archive_belief: {
|
|
9322
|
+
description: string;
|
|
9323
|
+
schema: import("zod").ZodObject<{
|
|
9324
|
+
beliefId: import("zod").ZodString;
|
|
9325
|
+
archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9326
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
9327
|
+
beliefId: string;
|
|
9328
|
+
archived?: boolean | undefined;
|
|
9329
|
+
}, {
|
|
9330
|
+
beliefId: string;
|
|
9331
|
+
archived?: boolean | undefined;
|
|
9332
|
+
}>;
|
|
9333
|
+
handler: ({ beliefId, archived }: {
|
|
9334
|
+
beliefId: string;
|
|
9335
|
+
archived?: boolean;
|
|
9336
|
+
}) => Promise<{
|
|
9337
|
+
content: {
|
|
9338
|
+
type: "text";
|
|
9339
|
+
text: string;
|
|
9340
|
+
}[];
|
|
9341
|
+
isError: boolean;
|
|
9342
|
+
} | {
|
|
9343
|
+
content: {
|
|
9344
|
+
type: "text";
|
|
9345
|
+
text: string;
|
|
9346
|
+
}[];
|
|
9347
|
+
}>;
|
|
9348
|
+
} & {
|
|
9349
|
+
group: ToolGroup;
|
|
9350
|
+
};
|
|
8661
9351
|
merge_beliefs: {
|
|
8662
9352
|
description: string;
|
|
8663
9353
|
schema: import("zod").ZodObject<{
|
|
@@ -8849,6 +9539,7 @@ export declare const toolDefinitions: {
|
|
|
8849
9539
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8850
9540
|
surface: import("zod").ZodOptional<import("zod").ZodEnum<["web", "mobile", "paid_channel"]>>;
|
|
8851
9541
|
hypothesis: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9542
|
+
beliefId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8852
9543
|
targetUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8853
9544
|
predictionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8854
9545
|
primaryMetricEvent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -8859,6 +9550,7 @@ export declare const toolDefinitions: {
|
|
|
8859
9550
|
hypothesis?: string | undefined;
|
|
8860
9551
|
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
8861
9552
|
allocation?: "even" | "adaptive" | undefined;
|
|
9553
|
+
beliefId?: string | undefined;
|
|
8862
9554
|
predictionId?: string | undefined;
|
|
8863
9555
|
targetUrl?: string | undefined;
|
|
8864
9556
|
primaryMetricEvent?: string | undefined;
|
|
@@ -8875,6 +9567,7 @@ export declare const toolDefinitions: {
|
|
|
8875
9567
|
hypothesis?: string | undefined;
|
|
8876
9568
|
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
8877
9569
|
allocation?: "even" | "adaptive" | undefined;
|
|
9570
|
+
beliefId?: string | undefined;
|
|
8878
9571
|
predictionId?: string | undefined;
|
|
8879
9572
|
targetUrl?: string | undefined;
|
|
8880
9573
|
primaryMetricEvent?: string | undefined;
|
|
@@ -8891,6 +9584,7 @@ export declare const toolDefinitions: {
|
|
|
8891
9584
|
name?: string;
|
|
8892
9585
|
surface?: "web" | "mobile" | "paid_channel";
|
|
8893
9586
|
hypothesis?: string;
|
|
9587
|
+
beliefId?: string;
|
|
8894
9588
|
targetUrl?: string;
|
|
8895
9589
|
predictionId?: string;
|
|
8896
9590
|
primaryMetricEvent?: string;
|
|
@@ -9009,6 +9703,7 @@ export declare const toolDefinitions: {
|
|
|
9009
9703
|
path: string;
|
|
9010
9704
|
content: string;
|
|
9011
9705
|
}>, "many">>;
|
|
9706
|
+
repo_root: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9012
9707
|
urls: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
9013
9708
|
communication_ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
9014
9709
|
journey_ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
@@ -9019,6 +9714,7 @@ export declare const toolDefinitions: {
|
|
|
9019
9714
|
path: string;
|
|
9020
9715
|
content: string;
|
|
9021
9716
|
}[] | undefined;
|
|
9717
|
+
repo_root?: string | undefined;
|
|
9022
9718
|
urls?: string[] | undefined;
|
|
9023
9719
|
communication_ids?: string[] | undefined;
|
|
9024
9720
|
journey_ids?: string[] | undefined;
|
|
@@ -9029,6 +9725,7 @@ export declare const toolDefinitions: {
|
|
|
9029
9725
|
path: string;
|
|
9030
9726
|
content: string;
|
|
9031
9727
|
}[] | undefined;
|
|
9728
|
+
repo_root?: string | undefined;
|
|
9032
9729
|
urls?: string[] | undefined;
|
|
9033
9730
|
communication_ids?: string[] | undefined;
|
|
9034
9731
|
journey_ids?: string[] | undefined;
|
|
@@ -9040,6 +9737,7 @@ export declare const toolDefinitions: {
|
|
|
9040
9737
|
path: string;
|
|
9041
9738
|
content: string;
|
|
9042
9739
|
}>;
|
|
9740
|
+
repo_root?: string;
|
|
9043
9741
|
urls?: string[];
|
|
9044
9742
|
communication_ids?: string[];
|
|
9045
9743
|
journey_ids?: string[];
|