@apex-inc/mcp-server 0.60.1 → 0.61.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/dist/tool-groups.d.ts.map +1 -1
- package/dist/tool-groups.js +6 -0
- package/dist/tool-groups.js.map +1 -1
- package/dist/tools/ad-platforms.d.ts +4 -4
- package/dist/tools/letters.d.ts +92 -11
- package/dist/tools/letters.d.ts.map +1 -1
- package/dist/tools/letters.js +96 -10
- package/dist/tools/letters.js.map +1 -1
- package/dist/tools/measurement.d.ts +318 -2
- package/dist/tools/measurement.d.ts.map +1 -1
- package/dist/tools/measurement.js +172 -10
- package/dist/tools/measurement.js.map +1 -1
- package/dist/tools.d.ts +407 -19
- package/dist/tools.d.ts.map +1 -1
- package/package.json +1 -1
- package/skills/apex-experimentation/SKILL.md +1 -1
- package/skills/apex-growth-tracking/SKILL.md +1 -1
- package/skills/apex-integration-cookbook/SKILL.md +24 -1
- package/skills/apex-journeys/SKILL.md +3 -1
- package/skills/apex-spec/SKILL.md +7 -0
package/dist/tools.d.ts
CHANGED
|
@@ -2596,14 +2596,14 @@ export declare const toolDefinitions: {
|
|
|
2596
2596
|
meaning: import("zod").ZodEnum<["purchase", "lead", "qualified_lead", "signup", "subscription", "begin_checkout", "add_to_cart", "book_appointment", "request_quote", "contact", "something_else"]>;
|
|
2597
2597
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2598
2598
|
event_name: string;
|
|
2599
|
-
meaning: "purchase" | "subscription" | "lead" | "qualified_lead" | "signup" | "
|
|
2599
|
+
meaning: "purchase" | "subscription" | "lead" | "qualified_lead" | "signup" | "add_to_cart" | "begin_checkout" | "book_appointment" | "request_quote" | "contact" | "something_else";
|
|
2600
2600
|
}, {
|
|
2601
2601
|
event_name: string;
|
|
2602
|
-
meaning: "purchase" | "subscription" | "lead" | "qualified_lead" | "signup" | "
|
|
2602
|
+
meaning: "purchase" | "subscription" | "lead" | "qualified_lead" | "signup" | "add_to_cart" | "begin_checkout" | "book_appointment" | "request_quote" | "contact" | "something_else";
|
|
2603
2603
|
}>;
|
|
2604
2604
|
handler: (args: {
|
|
2605
2605
|
event_name: string;
|
|
2606
|
-
meaning: "purchase" | "subscription" | "lead" | "qualified_lead" | "signup" | "
|
|
2606
|
+
meaning: "purchase" | "subscription" | "lead" | "qualified_lead" | "signup" | "add_to_cart" | "begin_checkout" | "book_appointment" | "request_quote" | "contact" | "something_else";
|
|
2607
2607
|
}) => Promise<{
|
|
2608
2608
|
content: {
|
|
2609
2609
|
type: "text";
|
|
@@ -2636,19 +2636,19 @@ export declare const toolDefinitions: {
|
|
|
2636
2636
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2637
2637
|
event_name: string;
|
|
2638
2638
|
confirm: true;
|
|
2639
|
-
meaning: "purchase" | "subscription" | "lead" | "qualified_lead" | "signup" | "
|
|
2639
|
+
meaning: "purchase" | "subscription" | "lead" | "qualified_lead" | "signup" | "add_to_cart" | "begin_checkout" | "book_appointment" | "request_quote" | "contact" | "something_else";
|
|
2640
2640
|
name?: string | undefined;
|
|
2641
2641
|
send_value?: boolean | undefined;
|
|
2642
2642
|
}, {
|
|
2643
2643
|
event_name: string;
|
|
2644
2644
|
confirm: true;
|
|
2645
|
-
meaning: "purchase" | "subscription" | "lead" | "qualified_lead" | "signup" | "
|
|
2645
|
+
meaning: "purchase" | "subscription" | "lead" | "qualified_lead" | "signup" | "add_to_cart" | "begin_checkout" | "book_appointment" | "request_quote" | "contact" | "something_else";
|
|
2646
2646
|
name?: string | undefined;
|
|
2647
2647
|
send_value?: boolean | undefined;
|
|
2648
2648
|
}>;
|
|
2649
2649
|
handler: (args: {
|
|
2650
2650
|
event_name: string;
|
|
2651
|
-
meaning: "purchase" | "subscription" | "lead" | "qualified_lead" | "signup" | "
|
|
2651
|
+
meaning: "purchase" | "subscription" | "lead" | "qualified_lead" | "signup" | "add_to_cart" | "begin_checkout" | "book_appointment" | "request_quote" | "contact" | "something_else";
|
|
2652
2652
|
send_value?: boolean;
|
|
2653
2653
|
name?: string;
|
|
2654
2654
|
confirm: true;
|
|
@@ -2893,6 +2893,311 @@ export declare const toolDefinitions: {
|
|
|
2893
2893
|
} & {
|
|
2894
2894
|
group: ToolGroup;
|
|
2895
2895
|
};
|
|
2896
|
+
get_key_event: {
|
|
2897
|
+
description: string;
|
|
2898
|
+
schema: import("zod").ZodObject<{
|
|
2899
|
+
keyEventId: import("zod").ZodString;
|
|
2900
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2901
|
+
keyEventId: string;
|
|
2902
|
+
}, {
|
|
2903
|
+
keyEventId: string;
|
|
2904
|
+
}>;
|
|
2905
|
+
handler: ({ keyEventId }: {
|
|
2906
|
+
keyEventId: string;
|
|
2907
|
+
}) => Promise<{
|
|
2908
|
+
isError?: boolean | undefined;
|
|
2909
|
+
content: {
|
|
2910
|
+
type: "text";
|
|
2911
|
+
text: string;
|
|
2912
|
+
}[];
|
|
2913
|
+
}>;
|
|
2914
|
+
} & {
|
|
2915
|
+
group: ToolGroup;
|
|
2916
|
+
};
|
|
2917
|
+
create_key_event: {
|
|
2918
|
+
description: string;
|
|
2919
|
+
schema: import("zod").ZodObject<{
|
|
2920
|
+
name: import("zod").ZodString;
|
|
2921
|
+
sources: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2922
|
+
type: import("zod").ZodEnum<["custom_event", "form_submit"]>;
|
|
2923
|
+
event_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2924
|
+
selector: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2925
|
+
target_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2926
|
+
where: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
2927
|
+
field_path: import("zod").ZodString;
|
|
2928
|
+
operator: import("zod").ZodEnum<["equals", "not_equals", "in", "exists", "not_exists"]>;
|
|
2929
|
+
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">]>>;
|
|
2930
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2931
|
+
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
2932
|
+
field_path: string;
|
|
2933
|
+
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
2934
|
+
}, {
|
|
2935
|
+
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
2936
|
+
field_path: string;
|
|
2937
|
+
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
2938
|
+
}>, "many">>;
|
|
2939
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2940
|
+
type: "form_submit" | "custom_event";
|
|
2941
|
+
event_name?: string | undefined;
|
|
2942
|
+
selector?: string | undefined;
|
|
2943
|
+
target_url?: string | undefined;
|
|
2944
|
+
where?: {
|
|
2945
|
+
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
2946
|
+
field_path: string;
|
|
2947
|
+
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
2948
|
+
}[] | undefined;
|
|
2949
|
+
}, {
|
|
2950
|
+
type: "form_submit" | "custom_event";
|
|
2951
|
+
event_name?: string | undefined;
|
|
2952
|
+
selector?: string | undefined;
|
|
2953
|
+
target_url?: string | undefined;
|
|
2954
|
+
where?: {
|
|
2955
|
+
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
2956
|
+
field_path: string;
|
|
2957
|
+
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
2958
|
+
}[] | undefined;
|
|
2959
|
+
}>, "many">;
|
|
2960
|
+
category: import("zod").ZodOptional<import("zod").ZodEnum<["purchase", "lead", "qualified_lead", "activation", "signup", "subscribe", "add_to_cart", "engagement", "other"]>>;
|
|
2961
|
+
entityScope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
|
|
2962
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2963
|
+
template: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2964
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2965
|
+
name: string;
|
|
2966
|
+
sources: {
|
|
2967
|
+
type: "form_submit" | "custom_event";
|
|
2968
|
+
event_name?: string | undefined;
|
|
2969
|
+
selector?: string | undefined;
|
|
2970
|
+
target_url?: string | undefined;
|
|
2971
|
+
where?: {
|
|
2972
|
+
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
2973
|
+
field_path: string;
|
|
2974
|
+
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
2975
|
+
}[] | undefined;
|
|
2976
|
+
}[];
|
|
2977
|
+
description?: string | undefined;
|
|
2978
|
+
category?: "other" | "engagement" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | undefined;
|
|
2979
|
+
entityScope?: "account" | "person" | undefined;
|
|
2980
|
+
template?: string | undefined;
|
|
2981
|
+
}, {
|
|
2982
|
+
name: string;
|
|
2983
|
+
sources: {
|
|
2984
|
+
type: "form_submit" | "custom_event";
|
|
2985
|
+
event_name?: string | undefined;
|
|
2986
|
+
selector?: string | undefined;
|
|
2987
|
+
target_url?: string | undefined;
|
|
2988
|
+
where?: {
|
|
2989
|
+
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
2990
|
+
field_path: string;
|
|
2991
|
+
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
2992
|
+
}[] | undefined;
|
|
2993
|
+
}[];
|
|
2994
|
+
description?: string | undefined;
|
|
2995
|
+
category?: "other" | "engagement" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | undefined;
|
|
2996
|
+
entityScope?: "account" | "person" | undefined;
|
|
2997
|
+
template?: string | undefined;
|
|
2998
|
+
}>;
|
|
2999
|
+
handler: (args: {
|
|
3000
|
+
name: string;
|
|
3001
|
+
sources: {
|
|
3002
|
+
type: "form_submit" | "custom_event";
|
|
3003
|
+
event_name?: string | undefined;
|
|
3004
|
+
selector?: string | undefined;
|
|
3005
|
+
target_url?: string | undefined;
|
|
3006
|
+
where?: {
|
|
3007
|
+
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3008
|
+
field_path: string;
|
|
3009
|
+
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3010
|
+
}[] | undefined;
|
|
3011
|
+
}[];
|
|
3012
|
+
category?: string;
|
|
3013
|
+
entityScope?: string;
|
|
3014
|
+
description?: string;
|
|
3015
|
+
template?: string;
|
|
3016
|
+
}) => Promise<{
|
|
3017
|
+
isError?: boolean | undefined;
|
|
3018
|
+
content: {
|
|
3019
|
+
type: "text";
|
|
3020
|
+
text: string;
|
|
3021
|
+
}[];
|
|
3022
|
+
}>;
|
|
3023
|
+
} & {
|
|
3024
|
+
group: ToolGroup;
|
|
3025
|
+
};
|
|
3026
|
+
update_key_event: {
|
|
3027
|
+
description: string;
|
|
3028
|
+
schema: import("zod").ZodObject<{
|
|
3029
|
+
keyEventId: import("zod").ZodString;
|
|
3030
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3031
|
+
sources: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
3032
|
+
type: import("zod").ZodEnum<["custom_event", "form_submit"]>;
|
|
3033
|
+
event_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3034
|
+
selector: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3035
|
+
target_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3036
|
+
where: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
3037
|
+
field_path: import("zod").ZodString;
|
|
3038
|
+
operator: import("zod").ZodEnum<["equals", "not_equals", "in", "exists", "not_exists"]>;
|
|
3039
|
+
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">]>>;
|
|
3040
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3041
|
+
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3042
|
+
field_path: string;
|
|
3043
|
+
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3044
|
+
}, {
|
|
3045
|
+
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3046
|
+
field_path: string;
|
|
3047
|
+
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3048
|
+
}>, "many">>;
|
|
3049
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3050
|
+
type: "form_submit" | "custom_event";
|
|
3051
|
+
event_name?: string | undefined;
|
|
3052
|
+
selector?: string | undefined;
|
|
3053
|
+
target_url?: string | undefined;
|
|
3054
|
+
where?: {
|
|
3055
|
+
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3056
|
+
field_path: string;
|
|
3057
|
+
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3058
|
+
}[] | undefined;
|
|
3059
|
+
}, {
|
|
3060
|
+
type: "form_submit" | "custom_event";
|
|
3061
|
+
event_name?: string | undefined;
|
|
3062
|
+
selector?: string | undefined;
|
|
3063
|
+
target_url?: string | undefined;
|
|
3064
|
+
where?: {
|
|
3065
|
+
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3066
|
+
field_path: string;
|
|
3067
|
+
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3068
|
+
}[] | undefined;
|
|
3069
|
+
}>, "many">>;
|
|
3070
|
+
category: import("zod").ZodOptional<import("zod").ZodEnum<["purchase", "lead", "qualified_lead", "activation", "signup", "subscribe", "add_to_cart", "engagement", "other"]>>;
|
|
3071
|
+
entityScope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
|
|
3072
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3073
|
+
isCurrentGoal: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
|
|
3074
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3075
|
+
keyEventId: string;
|
|
3076
|
+
name?: string | undefined;
|
|
3077
|
+
description?: string | undefined;
|
|
3078
|
+
sources?: {
|
|
3079
|
+
type: "form_submit" | "custom_event";
|
|
3080
|
+
event_name?: string | undefined;
|
|
3081
|
+
selector?: string | undefined;
|
|
3082
|
+
target_url?: string | undefined;
|
|
3083
|
+
where?: {
|
|
3084
|
+
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3085
|
+
field_path: string;
|
|
3086
|
+
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3087
|
+
}[] | undefined;
|
|
3088
|
+
}[] | undefined;
|
|
3089
|
+
category?: "other" | "engagement" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | undefined;
|
|
3090
|
+
entityScope?: "account" | "person" | undefined;
|
|
3091
|
+
isCurrentGoal?: true | undefined;
|
|
3092
|
+
}, {
|
|
3093
|
+
keyEventId: string;
|
|
3094
|
+
name?: string | undefined;
|
|
3095
|
+
description?: string | undefined;
|
|
3096
|
+
sources?: {
|
|
3097
|
+
type: "form_submit" | "custom_event";
|
|
3098
|
+
event_name?: string | undefined;
|
|
3099
|
+
selector?: string | undefined;
|
|
3100
|
+
target_url?: string | undefined;
|
|
3101
|
+
where?: {
|
|
3102
|
+
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3103
|
+
field_path: string;
|
|
3104
|
+
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3105
|
+
}[] | undefined;
|
|
3106
|
+
}[] | undefined;
|
|
3107
|
+
category?: "other" | "engagement" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | undefined;
|
|
3108
|
+
entityScope?: "account" | "person" | undefined;
|
|
3109
|
+
isCurrentGoal?: true | undefined;
|
|
3110
|
+
}>;
|
|
3111
|
+
handler: (args: {
|
|
3112
|
+
keyEventId: string;
|
|
3113
|
+
name?: string;
|
|
3114
|
+
sources?: {
|
|
3115
|
+
type: "form_submit" | "custom_event";
|
|
3116
|
+
event_name?: string | undefined;
|
|
3117
|
+
selector?: string | undefined;
|
|
3118
|
+
target_url?: string | undefined;
|
|
3119
|
+
where?: {
|
|
3120
|
+
operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
|
|
3121
|
+
field_path: string;
|
|
3122
|
+
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3123
|
+
}[] | undefined;
|
|
3124
|
+
}[];
|
|
3125
|
+
category?: string;
|
|
3126
|
+
entityScope?: string;
|
|
3127
|
+
description?: string;
|
|
3128
|
+
isCurrentGoal?: true;
|
|
3129
|
+
}) => Promise<{
|
|
3130
|
+
isError?: boolean | undefined;
|
|
3131
|
+
content: {
|
|
3132
|
+
type: "text";
|
|
3133
|
+
text: string;
|
|
3134
|
+
}[];
|
|
3135
|
+
}>;
|
|
3136
|
+
} & {
|
|
3137
|
+
group: ToolGroup;
|
|
3138
|
+
};
|
|
3139
|
+
delete_key_event: {
|
|
3140
|
+
description: string;
|
|
3141
|
+
schema: import("zod").ZodObject<{
|
|
3142
|
+
keyEventId: import("zod").ZodString;
|
|
3143
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3144
|
+
keyEventId: string;
|
|
3145
|
+
}, {
|
|
3146
|
+
keyEventId: string;
|
|
3147
|
+
}>;
|
|
3148
|
+
handler: ({ keyEventId }: {
|
|
3149
|
+
keyEventId: string;
|
|
3150
|
+
}) => Promise<{
|
|
3151
|
+
isError?: boolean | undefined;
|
|
3152
|
+
content: {
|
|
3153
|
+
type: "text";
|
|
3154
|
+
text: string;
|
|
3155
|
+
}[];
|
|
3156
|
+
}>;
|
|
3157
|
+
} & {
|
|
3158
|
+
group: ToolGroup;
|
|
3159
|
+
};
|
|
3160
|
+
get_key_event_reached: {
|
|
3161
|
+
description: string;
|
|
3162
|
+
schema: import("zod").ZodObject<{
|
|
3163
|
+
keyEventId: import("zod").ZodString;
|
|
3164
|
+
scope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
|
|
3165
|
+
start: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3166
|
+
end: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3167
|
+
version: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3168
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3169
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3170
|
+
keyEventId: string;
|
|
3171
|
+
start?: string | undefined;
|
|
3172
|
+
end?: string | undefined;
|
|
3173
|
+
version?: number | undefined;
|
|
3174
|
+
scope?: "account" | "person" | undefined;
|
|
3175
|
+
limit?: number | undefined;
|
|
3176
|
+
}, {
|
|
3177
|
+
keyEventId: string;
|
|
3178
|
+
start?: string | undefined;
|
|
3179
|
+
end?: string | undefined;
|
|
3180
|
+
version?: number | undefined;
|
|
3181
|
+
scope?: "account" | "person" | undefined;
|
|
3182
|
+
limit?: number | undefined;
|
|
3183
|
+
}>;
|
|
3184
|
+
handler: (args: {
|
|
3185
|
+
keyEventId: string;
|
|
3186
|
+
scope?: string;
|
|
3187
|
+
start?: string;
|
|
3188
|
+
end?: string;
|
|
3189
|
+
version?: number;
|
|
3190
|
+
limit?: number;
|
|
3191
|
+
}) => Promise<{
|
|
3192
|
+
isError?: boolean | undefined;
|
|
3193
|
+
content: {
|
|
3194
|
+
type: "text";
|
|
3195
|
+
text: string;
|
|
3196
|
+
}[];
|
|
3197
|
+
}>;
|
|
3198
|
+
} & {
|
|
3199
|
+
group: ToolGroup;
|
|
3200
|
+
};
|
|
2896
3201
|
list_next_moves: {
|
|
2897
3202
|
description: string;
|
|
2898
3203
|
schema: import("zod").ZodObject<{
|
|
@@ -3764,14 +4069,14 @@ export declare const toolDefinitions: {
|
|
|
3764
4069
|
targetUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3765
4070
|
isPrimary: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3766
4071
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3767
|
-
type: "click" | "form_submit" | "
|
|
4072
|
+
type: "click" | "form_submit" | "custom_event" | "pageview" | "file_download" | "engaged_time";
|
|
3768
4073
|
name: string;
|
|
3769
4074
|
eventName?: string | undefined;
|
|
3770
4075
|
targetUrl?: string | undefined;
|
|
3771
4076
|
selector?: string | undefined;
|
|
3772
4077
|
isPrimary?: boolean | undefined;
|
|
3773
4078
|
}, {
|
|
3774
|
-
type: "click" | "form_submit" | "
|
|
4079
|
+
type: "click" | "form_submit" | "custom_event" | "pageview" | "file_download" | "engaged_time";
|
|
3775
4080
|
name: string;
|
|
3776
4081
|
eventName?: string | undefined;
|
|
3777
4082
|
targetUrl?: string | undefined;
|
|
@@ -5721,7 +6026,9 @@ export declare const toolDefinitions: {
|
|
|
5721
6026
|
journeyId: import("zod").ZodString;
|
|
5722
6027
|
afterStepId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5723
6028
|
condition: import("zod").ZodObject<{
|
|
5724
|
-
kind: import("zod").ZodEnum<["attribute", "event_fired", "event_not_fired", "letter_opened", "letter_clicked"]>;
|
|
6029
|
+
kind: import("zod").ZodEnum<["attribute", "event_fired", "event_not_fired", "key_event_reached", "key_event_not_reached", "letter_opened", "letter_clicked"]>;
|
|
6030
|
+
key_event_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6031
|
+
scope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
|
|
5725
6032
|
field_path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5726
6033
|
operator: import("zod").ZodOptional<import("zod").ZodEnum<["equals", "not_equals", "greater_than", "less_than", "in", "exists", "not_exists"]>>;
|
|
5727
6034
|
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">]>>;
|
|
@@ -5729,18 +6036,22 @@ export declare const toolDefinitions: {
|
|
|
5729
6036
|
window_days: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5730
6037
|
wait_days: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5731
6038
|
}, "strip", import("zod").ZodTypeAny, {
|
|
5732
|
-
kind: "event_not_fired" | "attribute" | "event_fired" | "letter_opened" | "letter_clicked";
|
|
6039
|
+
kind: "event_not_fired" | "attribute" | "event_fired" | "key_event_reached" | "key_event_not_reached" | "letter_opened" | "letter_clicked";
|
|
5733
6040
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
5734
6041
|
operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
|
|
5735
6042
|
event_name?: string | undefined;
|
|
6043
|
+
key_event_id?: string | undefined;
|
|
6044
|
+
scope?: "account" | "person" | undefined;
|
|
5736
6045
|
field_path?: string | undefined;
|
|
5737
6046
|
window_days?: number | undefined;
|
|
5738
6047
|
wait_days?: number | undefined;
|
|
5739
6048
|
}, {
|
|
5740
|
-
kind: "event_not_fired" | "attribute" | "event_fired" | "letter_opened" | "letter_clicked";
|
|
6049
|
+
kind: "event_not_fired" | "attribute" | "event_fired" | "key_event_reached" | "key_event_not_reached" | "letter_opened" | "letter_clicked";
|
|
5741
6050
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
5742
6051
|
operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
|
|
5743
6052
|
event_name?: string | undefined;
|
|
6053
|
+
key_event_id?: string | undefined;
|
|
6054
|
+
scope?: "account" | "person" | undefined;
|
|
5744
6055
|
field_path?: string | undefined;
|
|
5745
6056
|
window_days?: number | undefined;
|
|
5746
6057
|
wait_days?: number | undefined;
|
|
@@ -5750,10 +6061,12 @@ export declare const toolDefinitions: {
|
|
|
5750
6061
|
channels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["email", "in_app_push", "mobile_push", "web_push"]>, "many">>;
|
|
5751
6062
|
}, "strip", import("zod").ZodTypeAny, {
|
|
5752
6063
|
condition: {
|
|
5753
|
-
kind: "event_not_fired" | "attribute" | "event_fired" | "letter_opened" | "letter_clicked";
|
|
6064
|
+
kind: "event_not_fired" | "attribute" | "event_fired" | "key_event_reached" | "key_event_not_reached" | "letter_opened" | "letter_clicked";
|
|
5754
6065
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
5755
6066
|
operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
|
|
5756
6067
|
event_name?: string | undefined;
|
|
6068
|
+
key_event_id?: string | undefined;
|
|
6069
|
+
scope?: "account" | "person" | undefined;
|
|
5757
6070
|
field_path?: string | undefined;
|
|
5758
6071
|
window_days?: number | undefined;
|
|
5759
6072
|
wait_days?: number | undefined;
|
|
@@ -5765,10 +6078,12 @@ export declare const toolDefinitions: {
|
|
|
5765
6078
|
whenFalseCommId?: string | undefined;
|
|
5766
6079
|
}, {
|
|
5767
6080
|
condition: {
|
|
5768
|
-
kind: "event_not_fired" | "attribute" | "event_fired" | "letter_opened" | "letter_clicked";
|
|
6081
|
+
kind: "event_not_fired" | "attribute" | "event_fired" | "key_event_reached" | "key_event_not_reached" | "letter_opened" | "letter_clicked";
|
|
5769
6082
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
5770
6083
|
operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
|
|
5771
6084
|
event_name?: string | undefined;
|
|
6085
|
+
key_event_id?: string | undefined;
|
|
6086
|
+
scope?: "account" | "person" | undefined;
|
|
5772
6087
|
field_path?: string | undefined;
|
|
5773
6088
|
window_days?: number | undefined;
|
|
5774
6089
|
wait_days?: number | undefined;
|
|
@@ -5783,7 +6098,9 @@ export declare const toolDefinitions: {
|
|
|
5783
6098
|
journeyId: string;
|
|
5784
6099
|
afterStepId?: string;
|
|
5785
6100
|
condition: {
|
|
5786
|
-
kind: "attribute" | "event_fired" | "event_not_fired" | "letter_opened" | "letter_clicked";
|
|
6101
|
+
kind: "attribute" | "event_fired" | "event_not_fired" | "key_event_reached" | "key_event_not_reached" | "letter_opened" | "letter_clicked";
|
|
6102
|
+
key_event_id?: string;
|
|
6103
|
+
scope?: "person" | "account";
|
|
5787
6104
|
field_path?: string;
|
|
5788
6105
|
operator?: string;
|
|
5789
6106
|
value?: string | number | boolean | Array<string | number | boolean>;
|
|
@@ -5984,6 +6301,48 @@ export declare const toolDefinitions: {
|
|
|
5984
6301
|
} & {
|
|
5985
6302
|
group: ToolGroup;
|
|
5986
6303
|
};
|
|
6304
|
+
set_journey_goal: {
|
|
6305
|
+
description: string;
|
|
6306
|
+
schema: import("zod").ZodObject<{
|
|
6307
|
+
journeyId: import("zod").ZodString;
|
|
6308
|
+
keyEventId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6309
|
+
eventName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6310
|
+
windowDays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6311
|
+
clear: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6312
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
6313
|
+
journeyId: string;
|
|
6314
|
+
eventName?: string | undefined;
|
|
6315
|
+
keyEventId?: string | undefined;
|
|
6316
|
+
windowDays?: number | undefined;
|
|
6317
|
+
clear?: boolean | undefined;
|
|
6318
|
+
}, {
|
|
6319
|
+
journeyId: string;
|
|
6320
|
+
eventName?: string | undefined;
|
|
6321
|
+
keyEventId?: string | undefined;
|
|
6322
|
+
windowDays?: number | undefined;
|
|
6323
|
+
clear?: boolean | undefined;
|
|
6324
|
+
}>;
|
|
6325
|
+
handler: (args: {
|
|
6326
|
+
journeyId: string;
|
|
6327
|
+
keyEventId?: string;
|
|
6328
|
+
eventName?: string;
|
|
6329
|
+
windowDays?: number;
|
|
6330
|
+
clear?: boolean;
|
|
6331
|
+
}) => Promise<{
|
|
6332
|
+
content: {
|
|
6333
|
+
type: "text";
|
|
6334
|
+
text: string;
|
|
6335
|
+
}[];
|
|
6336
|
+
isError: boolean;
|
|
6337
|
+
} | {
|
|
6338
|
+
content: {
|
|
6339
|
+
type: "text";
|
|
6340
|
+
text: string;
|
|
6341
|
+
}[];
|
|
6342
|
+
}>;
|
|
6343
|
+
} & {
|
|
6344
|
+
group: ToolGroup;
|
|
6345
|
+
};
|
|
5987
6346
|
list_journey_exits: {
|
|
5988
6347
|
description: string;
|
|
5989
6348
|
schema: import("zod").ZodObject<{
|
|
@@ -6008,23 +6367,27 @@ export declare const toolDefinitions: {
|
|
|
6008
6367
|
description: string;
|
|
6009
6368
|
schema: import("zod").ZodObject<{
|
|
6010
6369
|
journeyId: import("zod").ZodString;
|
|
6011
|
-
triggerContractId: import("zod").ZodString
|
|
6370
|
+
triggerContractId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6371
|
+
keyEventId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6012
6372
|
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6013
6373
|
enabled: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
6014
6374
|
}, "strip", import("zod").ZodTypeAny, {
|
|
6015
6375
|
enabled: boolean;
|
|
6016
6376
|
journeyId: string;
|
|
6017
|
-
triggerContractId: string;
|
|
6018
6377
|
label?: string | undefined;
|
|
6378
|
+
triggerContractId?: string | undefined;
|
|
6379
|
+
keyEventId?: string | undefined;
|
|
6019
6380
|
}, {
|
|
6020
6381
|
journeyId: string;
|
|
6021
|
-
triggerContractId: string;
|
|
6022
6382
|
label?: string | undefined;
|
|
6023
6383
|
enabled?: boolean | undefined;
|
|
6384
|
+
triggerContractId?: string | undefined;
|
|
6385
|
+
keyEventId?: string | undefined;
|
|
6024
6386
|
}>;
|
|
6025
|
-
handler: ({ journeyId, triggerContractId, label, enabled, }: {
|
|
6387
|
+
handler: ({ journeyId, triggerContractId, keyEventId, label, enabled, }: {
|
|
6026
6388
|
journeyId: string;
|
|
6027
|
-
triggerContractId
|
|
6389
|
+
triggerContractId?: string;
|
|
6390
|
+
keyEventId?: string;
|
|
6028
6391
|
label?: string;
|
|
6029
6392
|
enabled?: boolean;
|
|
6030
6393
|
}) => Promise<{
|
|
@@ -6032,6 +6395,13 @@ export declare const toolDefinitions: {
|
|
|
6032
6395
|
type: "text";
|
|
6033
6396
|
text: string;
|
|
6034
6397
|
}[];
|
|
6398
|
+
isError: boolean;
|
|
6399
|
+
} | {
|
|
6400
|
+
content: {
|
|
6401
|
+
type: "text";
|
|
6402
|
+
text: string;
|
|
6403
|
+
}[];
|
|
6404
|
+
isError?: undefined;
|
|
6035
6405
|
}>;
|
|
6036
6406
|
} & {
|
|
6037
6407
|
group: ToolGroup;
|
|
@@ -6149,6 +6519,8 @@ export declare const toolDefinitions: {
|
|
|
6149
6519
|
conditions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
6150
6520
|
verb: import("zod").ZodOptional<import("zod").ZodEnum<["has", "hasnt"]>>;
|
|
6151
6521
|
event: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6522
|
+
key_event_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6523
|
+
scope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
|
|
6152
6524
|
window_days: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6153
6525
|
attribute: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6154
6526
|
op: import("zod").ZodOptional<import("zod").ZodEnum<["is", "is_not", "exists"]>>;
|
|
@@ -6157,6 +6529,8 @@ export declare const toolDefinitions: {
|
|
|
6157
6529
|
event?: string | undefined;
|
|
6158
6530
|
value?: string | number | boolean | undefined;
|
|
6159
6531
|
attribute?: string | undefined;
|
|
6532
|
+
key_event_id?: string | undefined;
|
|
6533
|
+
scope?: "account" | "person" | undefined;
|
|
6160
6534
|
window_days?: number | undefined;
|
|
6161
6535
|
verb?: "has" | "hasnt" | undefined;
|
|
6162
6536
|
op?: "exists" | "is" | "is_not" | undefined;
|
|
@@ -6164,6 +6538,8 @@ export declare const toolDefinitions: {
|
|
|
6164
6538
|
event?: string | undefined;
|
|
6165
6539
|
value?: string | number | boolean | undefined;
|
|
6166
6540
|
attribute?: string | undefined;
|
|
6541
|
+
key_event_id?: string | undefined;
|
|
6542
|
+
scope?: "account" | "person" | undefined;
|
|
6167
6543
|
window_days?: number | undefined;
|
|
6168
6544
|
verb?: "has" | "hasnt" | undefined;
|
|
6169
6545
|
op?: "exists" | "is" | "is_not" | undefined;
|
|
@@ -6174,6 +6550,8 @@ export declare const toolDefinitions: {
|
|
|
6174
6550
|
event?: string | undefined;
|
|
6175
6551
|
value?: string | number | boolean | undefined;
|
|
6176
6552
|
attribute?: string | undefined;
|
|
6553
|
+
key_event_id?: string | undefined;
|
|
6554
|
+
scope?: "account" | "person" | undefined;
|
|
6177
6555
|
window_days?: number | undefined;
|
|
6178
6556
|
verb?: "has" | "hasnt" | undefined;
|
|
6179
6557
|
op?: "exists" | "is" | "is_not" | undefined;
|
|
@@ -6184,6 +6562,8 @@ export declare const toolDefinitions: {
|
|
|
6184
6562
|
event?: string | undefined;
|
|
6185
6563
|
value?: string | number | boolean | undefined;
|
|
6186
6564
|
attribute?: string | undefined;
|
|
6565
|
+
key_event_id?: string | undefined;
|
|
6566
|
+
scope?: "account" | "person" | undefined;
|
|
6187
6567
|
window_days?: number | undefined;
|
|
6188
6568
|
verb?: "has" | "hasnt" | undefined;
|
|
6189
6569
|
op?: "exists" | "is" | "is_not" | undefined;
|
|
@@ -6197,6 +6577,8 @@ export declare const toolDefinitions: {
|
|
|
6197
6577
|
event?: string | undefined;
|
|
6198
6578
|
value?: string | number | boolean | undefined;
|
|
6199
6579
|
attribute?: string | undefined;
|
|
6580
|
+
key_event_id?: string | undefined;
|
|
6581
|
+
scope?: "account" | "person" | undefined;
|
|
6200
6582
|
window_days?: number | undefined;
|
|
6201
6583
|
verb?: "has" | "hasnt" | undefined;
|
|
6202
6584
|
op?: "exists" | "is" | "is_not" | undefined;
|
|
@@ -6210,6 +6592,8 @@ export declare const toolDefinitions: {
|
|
|
6210
6592
|
event?: string | undefined;
|
|
6211
6593
|
value?: string | number | boolean | undefined;
|
|
6212
6594
|
attribute?: string | undefined;
|
|
6595
|
+
key_event_id?: string | undefined;
|
|
6596
|
+
scope?: "account" | "person" | undefined;
|
|
6213
6597
|
window_days?: number | undefined;
|
|
6214
6598
|
verb?: "has" | "hasnt" | undefined;
|
|
6215
6599
|
op?: "exists" | "is" | "is_not" | undefined;
|
|
@@ -6229,6 +6613,8 @@ export declare const toolDefinitions: {
|
|
|
6229
6613
|
event?: string | undefined;
|
|
6230
6614
|
value?: string | number | boolean | undefined;
|
|
6231
6615
|
attribute?: string | undefined;
|
|
6616
|
+
key_event_id?: string | undefined;
|
|
6617
|
+
scope?: "account" | "person" | undefined;
|
|
6232
6618
|
window_days?: number | undefined;
|
|
6233
6619
|
verb?: "has" | "hasnt" | undefined;
|
|
6234
6620
|
op?: "exists" | "is" | "is_not" | undefined;
|
|
@@ -6248,6 +6634,8 @@ export declare const toolDefinitions: {
|
|
|
6248
6634
|
event?: string | undefined;
|
|
6249
6635
|
value?: string | number | boolean | undefined;
|
|
6250
6636
|
attribute?: string | undefined;
|
|
6637
|
+
key_event_id?: string | undefined;
|
|
6638
|
+
scope?: "account" | "person" | undefined;
|
|
6251
6639
|
window_days?: number | undefined;
|
|
6252
6640
|
verb?: "has" | "hasnt" | undefined;
|
|
6253
6641
|
op?: "exists" | "is" | "is_not" | undefined;
|