@apex-inc/mcp-server 0.63.0 → 0.65.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 +11 -0
- package/dist/tool-groups.js.map +1 -1
- package/dist/tool-shared.d.ts +13 -0
- package/dist/tool-shared.d.ts.map +1 -1
- package/dist/tool-shared.js.map +1 -1
- package/dist/tools/experiments.d.ts +26 -18
- package/dist/tools/experiments.d.ts.map +1 -1
- package/dist/tools/experiments.js +76 -5
- package/dist/tools/experiments.js.map +1 -1
- package/dist/tools/letters.d.ts +99 -3
- package/dist/tools/letters.d.ts.map +1 -1
- package/dist/tools/letters.js +83 -3
- package/dist/tools/letters.js.map +1 -1
- package/dist/tools/measurement.d.ts +90 -10
- package/dist/tools/measurement.d.ts.map +1 -1
- package/dist/tools/measurement.js +156 -9
- package/dist/tools/measurement.js.map +1 -1
- package/dist/tools/people.d.ts +99 -0
- package/dist/tools/people.d.ts.map +1 -0
- package/dist/tools/people.js +245 -0
- package/dist/tools/people.js.map +1 -0
- package/dist/tools.d.ts +332 -31
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +2 -0
- package/dist/tools.js.map +1 -1
- package/package.json +1 -1
- package/skills/apex-experimentation/SKILL.md +18 -0
- package/skills/apex-growth-intelligence/SKILL.md +12 -2
- package/skills/apex-integration-cookbook/SKILL.md +12 -1
- package/skills/apex-setup/SKILL.md +1 -1
package/dist/tools.d.ts
CHANGED
|
@@ -1831,6 +1831,107 @@ export declare const toolDefinitions: {
|
|
|
1831
1831
|
} & {
|
|
1832
1832
|
group: ToolGroup;
|
|
1833
1833
|
};
|
|
1834
|
+
get_identity_coverage: {
|
|
1835
|
+
description: string;
|
|
1836
|
+
schema: import("zod").ZodObject<{
|
|
1837
|
+
window: import("zod").ZodOptional<import("zod").ZodEnum<["24h", "7d", "30d", "90d"]>>;
|
|
1838
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1839
|
+
window?: "24h" | "7d" | "30d" | "90d" | undefined;
|
|
1840
|
+
}, {
|
|
1841
|
+
window?: "24h" | "7d" | "30d" | "90d" | undefined;
|
|
1842
|
+
}>;
|
|
1843
|
+
handler: ({ window }: {
|
|
1844
|
+
window?: "24h" | "7d" | "30d" | "90d";
|
|
1845
|
+
}) => Promise<{
|
|
1846
|
+
content: {
|
|
1847
|
+
type: "text";
|
|
1848
|
+
text: string;
|
|
1849
|
+
}[];
|
|
1850
|
+
isError?: undefined;
|
|
1851
|
+
} | {
|
|
1852
|
+
content: {
|
|
1853
|
+
type: "text";
|
|
1854
|
+
text: string;
|
|
1855
|
+
}[];
|
|
1856
|
+
isError: boolean;
|
|
1857
|
+
}>;
|
|
1858
|
+
} & {
|
|
1859
|
+
group: ToolGroup;
|
|
1860
|
+
};
|
|
1861
|
+
find_person: {
|
|
1862
|
+
description: string;
|
|
1863
|
+
schema: import("zod").ZodObject<{
|
|
1864
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1865
|
+
scope: import("zod").ZodOptional<import("zod").ZodEnum<["workspace", "org"]>>;
|
|
1866
|
+
builds: import("zod").ZodOptional<import("zod").ZodEnum<["live", "testers", "local", "unclassified", "all"]>>;
|
|
1867
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1868
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1869
|
+
query?: string | undefined;
|
|
1870
|
+
scope?: "workspace" | "org" | undefined;
|
|
1871
|
+
limit?: number | undefined;
|
|
1872
|
+
builds?: "all" | "live" | "testers" | "local" | "unclassified" | undefined;
|
|
1873
|
+
}, {
|
|
1874
|
+
query?: string | undefined;
|
|
1875
|
+
scope?: "workspace" | "org" | undefined;
|
|
1876
|
+
limit?: number | undefined;
|
|
1877
|
+
builds?: "all" | "live" | "testers" | "local" | "unclassified" | undefined;
|
|
1878
|
+
}>;
|
|
1879
|
+
handler: ({ query, scope, builds, limit, }: {
|
|
1880
|
+
query?: string;
|
|
1881
|
+
scope?: "workspace" | "org";
|
|
1882
|
+
builds?: "live" | "testers" | "local" | "unclassified" | "all";
|
|
1883
|
+
limit?: number;
|
|
1884
|
+
}) => Promise<{
|
|
1885
|
+
content: {
|
|
1886
|
+
type: "text";
|
|
1887
|
+
text: string;
|
|
1888
|
+
}[];
|
|
1889
|
+
isError: boolean;
|
|
1890
|
+
} | {
|
|
1891
|
+
content: {
|
|
1892
|
+
type: "text";
|
|
1893
|
+
text: string;
|
|
1894
|
+
}[];
|
|
1895
|
+
isError?: undefined;
|
|
1896
|
+
}>;
|
|
1897
|
+
} & {
|
|
1898
|
+
group: ToolGroup;
|
|
1899
|
+
};
|
|
1900
|
+
get_person: {
|
|
1901
|
+
description: string;
|
|
1902
|
+
schema: import("zod").ZodObject<{
|
|
1903
|
+
personId: import("zod").ZodString;
|
|
1904
|
+
includeActivity: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1905
|
+
activityLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1906
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1907
|
+
personId: string;
|
|
1908
|
+
includeActivity?: boolean | undefined;
|
|
1909
|
+
activityLimit?: number | undefined;
|
|
1910
|
+
}, {
|
|
1911
|
+
personId: string;
|
|
1912
|
+
includeActivity?: boolean | undefined;
|
|
1913
|
+
activityLimit?: number | undefined;
|
|
1914
|
+
}>;
|
|
1915
|
+
handler: ({ personId, includeActivity, activityLimit, }: {
|
|
1916
|
+
personId: string;
|
|
1917
|
+
includeActivity?: boolean;
|
|
1918
|
+
activityLimit?: number;
|
|
1919
|
+
}) => Promise<{
|
|
1920
|
+
content: {
|
|
1921
|
+
type: "text";
|
|
1922
|
+
text: string;
|
|
1923
|
+
}[];
|
|
1924
|
+
isError?: undefined;
|
|
1925
|
+
} | {
|
|
1926
|
+
content: {
|
|
1927
|
+
type: "text";
|
|
1928
|
+
text: string;
|
|
1929
|
+
}[];
|
|
1930
|
+
isError: boolean;
|
|
1931
|
+
}>;
|
|
1932
|
+
} & {
|
|
1933
|
+
group: ToolGroup;
|
|
1934
|
+
};
|
|
1834
1935
|
list_accounts: {
|
|
1835
1936
|
description: string;
|
|
1836
1937
|
schema: import("zod").ZodObject<{
|
|
@@ -2957,7 +3058,7 @@ export declare const toolDefinitions: {
|
|
|
2957
3058
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
2958
3059
|
}[] | undefined;
|
|
2959
3060
|
}>, "many">;
|
|
2960
|
-
category: import("zod").ZodOptional<import("zod").ZodEnum<["purchase", "lead", "qualified_lead", "activation", "signup", "subscribe", "add_to_cart", "engagement", "other"]>>;
|
|
3061
|
+
category: import("zod").ZodOptional<import("zod").ZodEnum<["purchase", "lead", "qualified_lead", "activation", "signup", "subscribe", "add_to_cart", "engagement", "expansion", "referral", "completion", "retention", "advocacy", "churn", "other"]>>;
|
|
2961
3062
|
entityScope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
|
|
2962
3063
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2963
3064
|
template: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -2975,7 +3076,7 @@ export declare const toolDefinitions: {
|
|
|
2975
3076
|
}[] | undefined;
|
|
2976
3077
|
}[];
|
|
2977
3078
|
description?: string | undefined;
|
|
2978
|
-
category?: "other" | "engagement" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | undefined;
|
|
3079
|
+
category?: "other" | "engagement" | "referral" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | undefined;
|
|
2979
3080
|
entityScope?: "account" | "person" | undefined;
|
|
2980
3081
|
template?: string | undefined;
|
|
2981
3082
|
}, {
|
|
@@ -2992,7 +3093,7 @@ export declare const toolDefinitions: {
|
|
|
2992
3093
|
}[] | undefined;
|
|
2993
3094
|
}[];
|
|
2994
3095
|
description?: string | undefined;
|
|
2995
|
-
category?: "other" | "engagement" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | undefined;
|
|
3096
|
+
category?: "other" | "engagement" | "referral" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | undefined;
|
|
2996
3097
|
entityScope?: "account" | "person" | undefined;
|
|
2997
3098
|
template?: string | undefined;
|
|
2998
3099
|
}>;
|
|
@@ -3067,7 +3168,7 @@ export declare const toolDefinitions: {
|
|
|
3067
3168
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3068
3169
|
}[] | undefined;
|
|
3069
3170
|
}>, "many">>;
|
|
3070
|
-
category: import("zod").ZodOptional<import("zod").ZodEnum<["purchase", "lead", "qualified_lead", "activation", "signup", "subscribe", "add_to_cart", "engagement", "other"]>>;
|
|
3171
|
+
category: import("zod").ZodOptional<import("zod").ZodEnum<["purchase", "lead", "qualified_lead", "activation", "signup", "subscribe", "add_to_cart", "engagement", "expansion", "referral", "completion", "retention", "advocacy", "churn", "other"]>>;
|
|
3071
3172
|
entityScope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
|
|
3072
3173
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3073
3174
|
isCurrentGoal: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
|
|
@@ -3086,7 +3187,7 @@ export declare const toolDefinitions: {
|
|
|
3086
3187
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3087
3188
|
}[] | undefined;
|
|
3088
3189
|
}[] | undefined;
|
|
3089
|
-
category?: "other" | "engagement" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | undefined;
|
|
3190
|
+
category?: "other" | "engagement" | "referral" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | undefined;
|
|
3090
3191
|
entityScope?: "account" | "person" | undefined;
|
|
3091
3192
|
isCurrentGoal?: true | undefined;
|
|
3092
3193
|
}, {
|
|
@@ -3104,7 +3205,7 @@ export declare const toolDefinitions: {
|
|
|
3104
3205
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3105
3206
|
}[] | undefined;
|
|
3106
3207
|
}[] | undefined;
|
|
3107
|
-
category?: "other" | "engagement" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | undefined;
|
|
3208
|
+
category?: "other" | "engagement" | "referral" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | undefined;
|
|
3108
3209
|
entityScope?: "account" | "person" | undefined;
|
|
3109
3210
|
isCurrentGoal?: true | undefined;
|
|
3110
3211
|
}>;
|
|
@@ -3198,6 +3299,94 @@ export declare const toolDefinitions: {
|
|
|
3198
3299
|
} & {
|
|
3199
3300
|
group: ToolGroup;
|
|
3200
3301
|
};
|
|
3302
|
+
get_key_event_usage: {
|
|
3303
|
+
description: string;
|
|
3304
|
+
schema: import("zod").ZodObject<{
|
|
3305
|
+
keyEventId: import("zod").ZodString;
|
|
3306
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3307
|
+
keyEventId: string;
|
|
3308
|
+
}, {
|
|
3309
|
+
keyEventId: string;
|
|
3310
|
+
}>;
|
|
3311
|
+
handler: ({ keyEventId }: {
|
|
3312
|
+
keyEventId: string;
|
|
3313
|
+
}) => Promise<{
|
|
3314
|
+
isError?: boolean | undefined;
|
|
3315
|
+
content: {
|
|
3316
|
+
type: "text";
|
|
3317
|
+
text: string;
|
|
3318
|
+
}[];
|
|
3319
|
+
}>;
|
|
3320
|
+
} & {
|
|
3321
|
+
group: ToolGroup;
|
|
3322
|
+
};
|
|
3323
|
+
suggest_key_events: {
|
|
3324
|
+
description: string;
|
|
3325
|
+
schema: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
|
3326
|
+
handler: () => Promise<{
|
|
3327
|
+
isError?: boolean | undefined;
|
|
3328
|
+
content: {
|
|
3329
|
+
type: "text";
|
|
3330
|
+
text: string;
|
|
3331
|
+
}[];
|
|
3332
|
+
}>;
|
|
3333
|
+
} & {
|
|
3334
|
+
group: ToolGroup;
|
|
3335
|
+
};
|
|
3336
|
+
accept_key_event_suggestion: {
|
|
3337
|
+
description: string;
|
|
3338
|
+
schema: import("zod").ZodObject<{
|
|
3339
|
+
suggestionId: import("zod").ZodString;
|
|
3340
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3341
|
+
events: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
3342
|
+
keepKeyEventId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3343
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3344
|
+
suggestionId: string;
|
|
3345
|
+
name?: string | undefined;
|
|
3346
|
+
events?: string[] | undefined;
|
|
3347
|
+
keepKeyEventId?: string | undefined;
|
|
3348
|
+
}, {
|
|
3349
|
+
suggestionId: string;
|
|
3350
|
+
name?: string | undefined;
|
|
3351
|
+
events?: string[] | undefined;
|
|
3352
|
+
keepKeyEventId?: string | undefined;
|
|
3353
|
+
}>;
|
|
3354
|
+
handler: (args: {
|
|
3355
|
+
suggestionId: string;
|
|
3356
|
+
name?: string;
|
|
3357
|
+
events?: string[];
|
|
3358
|
+
keepKeyEventId?: string;
|
|
3359
|
+
}) => Promise<{
|
|
3360
|
+
isError?: boolean | undefined;
|
|
3361
|
+
content: {
|
|
3362
|
+
type: "text";
|
|
3363
|
+
text: string;
|
|
3364
|
+
}[];
|
|
3365
|
+
}>;
|
|
3366
|
+
} & {
|
|
3367
|
+
group: ToolGroup;
|
|
3368
|
+
};
|
|
3369
|
+
dismiss_key_event_suggestion: {
|
|
3370
|
+
description: string;
|
|
3371
|
+
schema: import("zod").ZodObject<{
|
|
3372
|
+
suggestionId: import("zod").ZodString;
|
|
3373
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3374
|
+
suggestionId: string;
|
|
3375
|
+
}, {
|
|
3376
|
+
suggestionId: string;
|
|
3377
|
+
}>;
|
|
3378
|
+
handler: ({ suggestionId }: {
|
|
3379
|
+
suggestionId: string;
|
|
3380
|
+
}) => Promise<{
|
|
3381
|
+
isError?: boolean | undefined;
|
|
3382
|
+
content: {
|
|
3383
|
+
type: "text";
|
|
3384
|
+
text: string;
|
|
3385
|
+
}[];
|
|
3386
|
+
}>;
|
|
3387
|
+
} & {
|
|
3388
|
+
group: ToolGroup;
|
|
3389
|
+
};
|
|
3201
3390
|
list_next_moves: {
|
|
3202
3391
|
description: string;
|
|
3203
3392
|
schema: import("zod").ZodObject<{
|
|
@@ -4001,12 +4190,12 @@ export declare const toolDefinitions: {
|
|
|
4001
4190
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4002
4191
|
type?: string | undefined;
|
|
4003
4192
|
environment?: "all" | "production" | "beta" | "dev" | undefined;
|
|
4004
|
-
source?: "all" | "
|
|
4193
|
+
source?: "all" | "test" | "real" | undefined;
|
|
4005
4194
|
sinceMinutes?: number | undefined;
|
|
4006
4195
|
}, {
|
|
4007
4196
|
type?: string | undefined;
|
|
4008
4197
|
environment?: "all" | "production" | "beta" | "dev" | undefined;
|
|
4009
|
-
source?: "all" | "
|
|
4198
|
+
source?: "all" | "test" | "real" | undefined;
|
|
4010
4199
|
sinceMinutes?: number | undefined;
|
|
4011
4200
|
}>;
|
|
4012
4201
|
handler: (args: {
|
|
@@ -4128,13 +4317,13 @@ export declare const toolDefinitions: {
|
|
|
4128
4317
|
sourceConversionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4129
4318
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4130
4319
|
deadline: string;
|
|
4131
|
-
metric: string;
|
|
4132
4320
|
target: number;
|
|
4321
|
+
metric: string;
|
|
4133
4322
|
sourceConversionId?: string | undefined;
|
|
4134
4323
|
}, {
|
|
4135
4324
|
deadline: string;
|
|
4136
|
-
metric: string;
|
|
4137
4325
|
target: number;
|
|
4326
|
+
metric: string;
|
|
4138
4327
|
sourceConversionId?: string | undefined;
|
|
4139
4328
|
}>;
|
|
4140
4329
|
handler: (args: {
|
|
@@ -5283,6 +5472,102 @@ export declare const toolDefinitions: {
|
|
|
5283
5472
|
} & {
|
|
5284
5473
|
group: ToolGroup;
|
|
5285
5474
|
};
|
|
5475
|
+
list_email_categories: {
|
|
5476
|
+
description: string;
|
|
5477
|
+
schema: import("zod").ZodObject<{
|
|
5478
|
+
includeArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5479
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
5480
|
+
includeArchived?: boolean | undefined;
|
|
5481
|
+
}, {
|
|
5482
|
+
includeArchived?: boolean | undefined;
|
|
5483
|
+
}>;
|
|
5484
|
+
handler: (args: {
|
|
5485
|
+
includeArchived?: boolean;
|
|
5486
|
+
}) => Promise<{
|
|
5487
|
+
content: {
|
|
5488
|
+
type: "text";
|
|
5489
|
+
text: string;
|
|
5490
|
+
}[];
|
|
5491
|
+
}>;
|
|
5492
|
+
} & {
|
|
5493
|
+
group: ToolGroup;
|
|
5494
|
+
};
|
|
5495
|
+
create_email_category: {
|
|
5496
|
+
description: string;
|
|
5497
|
+
schema: import("zod").ZodObject<{
|
|
5498
|
+
name: import("zod").ZodString;
|
|
5499
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5500
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
5501
|
+
name: string;
|
|
5502
|
+
description?: string | undefined;
|
|
5503
|
+
}, {
|
|
5504
|
+
name: string;
|
|
5505
|
+
description?: string | undefined;
|
|
5506
|
+
}>;
|
|
5507
|
+
handler: (args: {
|
|
5508
|
+
name: string;
|
|
5509
|
+
description?: string;
|
|
5510
|
+
}) => Promise<{
|
|
5511
|
+
content: {
|
|
5512
|
+
type: "text";
|
|
5513
|
+
text: string;
|
|
5514
|
+
}[];
|
|
5515
|
+
}>;
|
|
5516
|
+
} & {
|
|
5517
|
+
group: ToolGroup;
|
|
5518
|
+
};
|
|
5519
|
+
update_email_category: {
|
|
5520
|
+
description: string;
|
|
5521
|
+
schema: import("zod").ZodObject<{
|
|
5522
|
+
categoryId: import("zod").ZodString;
|
|
5523
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5524
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5525
|
+
archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5526
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
5527
|
+
categoryId: string;
|
|
5528
|
+
name?: string | undefined;
|
|
5529
|
+
description?: string | undefined;
|
|
5530
|
+
archived?: boolean | undefined;
|
|
5531
|
+
}, {
|
|
5532
|
+
categoryId: string;
|
|
5533
|
+
name?: string | undefined;
|
|
5534
|
+
description?: string | undefined;
|
|
5535
|
+
archived?: boolean | undefined;
|
|
5536
|
+
}>;
|
|
5537
|
+
handler: (args: {
|
|
5538
|
+
categoryId: string;
|
|
5539
|
+
name?: string;
|
|
5540
|
+
description?: string;
|
|
5541
|
+
archived?: boolean;
|
|
5542
|
+
}) => Promise<{
|
|
5543
|
+
content: {
|
|
5544
|
+
type: "text";
|
|
5545
|
+
text: string;
|
|
5546
|
+
}[];
|
|
5547
|
+
}>;
|
|
5548
|
+
} & {
|
|
5549
|
+
group: ToolGroup;
|
|
5550
|
+
};
|
|
5551
|
+
archive_email_category: {
|
|
5552
|
+
description: string;
|
|
5553
|
+
schema: import("zod").ZodObject<{
|
|
5554
|
+
categoryId: import("zod").ZodString;
|
|
5555
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
5556
|
+
categoryId: string;
|
|
5557
|
+
}, {
|
|
5558
|
+
categoryId: string;
|
|
5559
|
+
}>;
|
|
5560
|
+
handler: (args: {
|
|
5561
|
+
categoryId: string;
|
|
5562
|
+
}) => Promise<{
|
|
5563
|
+
content: {
|
|
5564
|
+
type: "text";
|
|
5565
|
+
text: string;
|
|
5566
|
+
}[];
|
|
5567
|
+
}>;
|
|
5568
|
+
} & {
|
|
5569
|
+
group: ToolGroup;
|
|
5570
|
+
};
|
|
5286
5571
|
edit_communication: {
|
|
5287
5572
|
description: string;
|
|
5288
5573
|
schema: import("zod").ZodObject<{
|
|
@@ -5351,12 +5636,14 @@ export declare const toolDefinitions: {
|
|
|
5351
5636
|
audience_bucket: import("zod").ZodOptional<import("zod").ZodEnum<["production", "beta", "dev"]>>;
|
|
5352
5637
|
intent: import("zod").ZodOptional<import("zod").ZodEnum<["compete", "replace"]>>;
|
|
5353
5638
|
confirmLiveExperiment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5639
|
+
categoryId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5354
5640
|
}, "strip", import("zod").ZodTypeAny, {
|
|
5355
5641
|
communicationId: string;
|
|
5356
5642
|
channels?: string[] | undefined;
|
|
5357
5643
|
status?: "active" | "draft" | "paused" | undefined;
|
|
5358
5644
|
subject?: string | undefined;
|
|
5359
5645
|
intent?: "replace" | "compete" | undefined;
|
|
5646
|
+
categoryId?: string | undefined;
|
|
5360
5647
|
slots?: Record<string, string> | undefined;
|
|
5361
5648
|
blocks?: {
|
|
5362
5649
|
type: "text" | "heading" | "image" | "button" | "html" | "spacer" | "divider" | "keep";
|
|
@@ -5387,6 +5674,7 @@ export declare const toolDefinitions: {
|
|
|
5387
5674
|
status?: "active" | "draft" | "paused" | undefined;
|
|
5388
5675
|
subject?: string | undefined;
|
|
5389
5676
|
intent?: "replace" | "compete" | undefined;
|
|
5677
|
+
categoryId?: string | undefined;
|
|
5390
5678
|
slots?: Record<string, string> | undefined;
|
|
5391
5679
|
blocks?: {
|
|
5392
5680
|
type: "text" | "heading" | "image" | "button" | "html" | "spacer" | "divider" | "keep";
|
|
@@ -5424,6 +5712,7 @@ export declare const toolDefinitions: {
|
|
|
5424
5712
|
audience_bucket?: "production" | "beta" | "dev";
|
|
5425
5713
|
intent?: "compete" | "replace";
|
|
5426
5714
|
confirmLiveExperiment?: boolean;
|
|
5715
|
+
categoryId?: string;
|
|
5427
5716
|
}) => Promise<{
|
|
5428
5717
|
content: {
|
|
5429
5718
|
type: "text";
|
|
@@ -5483,8 +5772,8 @@ export declare const toolDefinitions: {
|
|
|
5483
5772
|
communicationId: string;
|
|
5484
5773
|
hypothesis?: string | undefined;
|
|
5485
5774
|
intent?: "replace" | "compete" | undefined;
|
|
5486
|
-
beliefId?: string | undefined;
|
|
5487
5775
|
confidence?: number | undefined;
|
|
5776
|
+
beliefId?: string | undefined;
|
|
5488
5777
|
durationDays?: number | undefined;
|
|
5489
5778
|
confirmLiveExperiment?: boolean | undefined;
|
|
5490
5779
|
hostJourneyId?: string | undefined;
|
|
@@ -5493,8 +5782,8 @@ export declare const toolDefinitions: {
|
|
|
5493
5782
|
communicationId: string;
|
|
5494
5783
|
hypothesis?: string | undefined;
|
|
5495
5784
|
intent?: "replace" | "compete" | undefined;
|
|
5496
|
-
beliefId?: string | undefined;
|
|
5497
5785
|
confidence?: number | undefined;
|
|
5786
|
+
beliefId?: string | undefined;
|
|
5498
5787
|
durationDays?: number | undefined;
|
|
5499
5788
|
confirmLiveExperiment?: boolean | undefined;
|
|
5500
5789
|
hostJourneyId?: string | undefined;
|
|
@@ -6280,19 +6569,23 @@ export declare const toolDefinitions: {
|
|
|
6280
6569
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6281
6570
|
channels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["email", "in_app_push", "mobile_push"]>, "many">>;
|
|
6282
6571
|
audience_bucket: import("zod").ZodOptional<import("zod").ZodEnum<["production", "beta", "dev"]>>;
|
|
6572
|
+
categoryId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6283
6573
|
}, "strip", import("zod").ZodTypeAny, {
|
|
6284
6574
|
channels?: ("email" | "mobile_push" | "in_app_push")[] | undefined;
|
|
6285
6575
|
title?: string | undefined;
|
|
6576
|
+
categoryId?: string | undefined;
|
|
6286
6577
|
audience_bucket?: "production" | "beta" | "dev" | undefined;
|
|
6287
6578
|
}, {
|
|
6288
6579
|
channels?: ("email" | "mobile_push" | "in_app_push")[] | undefined;
|
|
6289
6580
|
title?: string | undefined;
|
|
6581
|
+
categoryId?: string | undefined;
|
|
6290
6582
|
audience_bucket?: "production" | "beta" | "dev" | undefined;
|
|
6291
6583
|
}>;
|
|
6292
|
-
handler: ({ title, channels, audience_bucket }: {
|
|
6584
|
+
handler: ({ title, channels, audience_bucket, categoryId, }: {
|
|
6293
6585
|
title?: string;
|
|
6294
6586
|
channels?: string[];
|
|
6295
6587
|
audience_bucket?: "production" | "beta" | "dev";
|
|
6588
|
+
categoryId?: string;
|
|
6296
6589
|
}) => Promise<{
|
|
6297
6590
|
content: {
|
|
6298
6591
|
type: "text";
|
|
@@ -6851,6 +7144,7 @@ export declare const toolDefinitions: {
|
|
|
6851
7144
|
preview: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6852
7145
|
primaryMetricFormPage: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6853
7146
|
primaryMetricFormId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7147
|
+
primaryMetricKeyEventId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6854
7148
|
name: import("zod").ZodString;
|
|
6855
7149
|
targetUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6856
7150
|
controlContent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -6873,7 +7167,11 @@ export declare const toolDefinitions: {
|
|
|
6873
7167
|
predictionMagnitude?: string | undefined;
|
|
6874
7168
|
preview?: boolean | undefined;
|
|
6875
7169
|
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
7170
|
+
beliefId?: string | undefined;
|
|
7171
|
+
hypothesisId?: string | undefined;
|
|
7172
|
+
predictionId?: string | undefined;
|
|
6876
7173
|
targetUrl?: string | undefined;
|
|
7174
|
+
targetAnchor?: string | undefined;
|
|
6877
7175
|
paid_channel?: {
|
|
6878
7176
|
network: "meta" | "google" | "linkedin" | "tiktok";
|
|
6879
7177
|
ad_set_ids: string[];
|
|
@@ -6883,14 +7181,10 @@ export declare const toolDefinitions: {
|
|
|
6883
7181
|
attach_mode?: "manual" | "apex" | undefined;
|
|
6884
7182
|
washout_days?: number | undefined;
|
|
6885
7183
|
} | undefined;
|
|
6886
|
-
beliefId?: string | undefined;
|
|
6887
|
-
hypothesisId?: string | undefined;
|
|
6888
|
-
predictionId?: string | undefined;
|
|
6889
7184
|
newBecause?: string | undefined;
|
|
6890
7185
|
controlContent?: string | undefined;
|
|
6891
7186
|
variantContent?: string | undefined;
|
|
6892
7187
|
targetComponent?: string | undefined;
|
|
6893
|
-
targetAnchor?: string | undefined;
|
|
6894
7188
|
trafficSplit?: number | undefined;
|
|
6895
7189
|
beliefStatement?: string | undefined;
|
|
6896
7190
|
beliefConfidence?: number | undefined;
|
|
@@ -6907,12 +7201,17 @@ export declare const toolDefinitions: {
|
|
|
6907
7201
|
runtimeDays?: number | undefined;
|
|
6908
7202
|
primaryMetricFormPage?: string | undefined;
|
|
6909
7203
|
primaryMetricFormId?: string | undefined;
|
|
7204
|
+
primaryMetricKeyEventId?: string | undefined;
|
|
6910
7205
|
}, {
|
|
6911
7206
|
name: string;
|
|
6912
7207
|
predictionMagnitude?: string | undefined;
|
|
6913
7208
|
preview?: boolean | undefined;
|
|
6914
7209
|
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
7210
|
+
beliefId?: string | undefined;
|
|
7211
|
+
hypothesisId?: string | undefined;
|
|
7212
|
+
predictionId?: string | undefined;
|
|
6915
7213
|
targetUrl?: string | undefined;
|
|
7214
|
+
targetAnchor?: string | undefined;
|
|
6916
7215
|
paid_channel?: {
|
|
6917
7216
|
network: "meta" | "google" | "linkedin" | "tiktok";
|
|
6918
7217
|
ad_set_ids: string[];
|
|
@@ -6922,14 +7221,10 @@ export declare const toolDefinitions: {
|
|
|
6922
7221
|
attach_mode?: "manual" | "apex" | undefined;
|
|
6923
7222
|
washout_days?: number | undefined;
|
|
6924
7223
|
} | undefined;
|
|
6925
|
-
beliefId?: string | undefined;
|
|
6926
|
-
hypothesisId?: string | undefined;
|
|
6927
|
-
predictionId?: string | undefined;
|
|
6928
7224
|
newBecause?: string | undefined;
|
|
6929
7225
|
controlContent?: string | undefined;
|
|
6930
7226
|
variantContent?: string | undefined;
|
|
6931
7227
|
targetComponent?: string | undefined;
|
|
6932
|
-
targetAnchor?: string | undefined;
|
|
6933
7228
|
trafficSplit?: number | undefined;
|
|
6934
7229
|
beliefStatement?: string | undefined;
|
|
6935
7230
|
beliefConfidence?: number | undefined;
|
|
@@ -6946,6 +7241,7 @@ export declare const toolDefinitions: {
|
|
|
6946
7241
|
runtimeDays?: number | undefined;
|
|
6947
7242
|
primaryMetricFormPage?: string | undefined;
|
|
6948
7243
|
primaryMetricFormId?: string | undefined;
|
|
7244
|
+
primaryMetricKeyEventId?: string | undefined;
|
|
6949
7245
|
}>;
|
|
6950
7246
|
handler: (args: {
|
|
6951
7247
|
name: string;
|
|
@@ -6965,6 +7261,7 @@ export declare const toolDefinitions: {
|
|
|
6965
7261
|
primaryMetricEvent?: string;
|
|
6966
7262
|
primaryMetricType?: "rate" | "count" | "revenue" | "duration";
|
|
6967
7263
|
primaryMetricValueProperty?: string;
|
|
7264
|
+
primaryMetricKeyEventId?: string;
|
|
6968
7265
|
primaryMetricFormPage?: string;
|
|
6969
7266
|
primaryMetricFormId?: string;
|
|
6970
7267
|
guardrailEvent?: string;
|
|
@@ -7510,6 +7807,7 @@ export declare const toolDefinitions: {
|
|
|
7510
7807
|
allocation: import("zod").ZodOptional<import("zod").ZodEnum<["even", "adaptive"]>>;
|
|
7511
7808
|
primaryMetricFormPage: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7512
7809
|
primaryMetricFormId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7810
|
+
primaryMetricKeyEventId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7513
7811
|
experimentId: import("zod").ZodString;
|
|
7514
7812
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7515
7813
|
surface: import("zod").ZodOptional<import("zod").ZodEnum<["web", "mobile", "paid_channel"]>>;
|
|
@@ -7523,8 +7821,9 @@ export declare const toolDefinitions: {
|
|
|
7523
7821
|
name?: string | undefined;
|
|
7524
7822
|
hypothesis?: string | undefined;
|
|
7525
7823
|
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
7526
|
-
|
|
7824
|
+
allocation?: "even" | "adaptive" | undefined;
|
|
7527
7825
|
predictionId?: string | undefined;
|
|
7826
|
+
targetUrl?: string | undefined;
|
|
7528
7827
|
primaryMetricEvent?: string | undefined;
|
|
7529
7828
|
primaryMetricType?: "duration" | "rate" | "count" | "revenue" | undefined;
|
|
7530
7829
|
guardrailEvent?: string | undefined;
|
|
@@ -7532,14 +7831,15 @@ export declare const toolDefinitions: {
|
|
|
7532
7831
|
runtimeDays?: number | undefined;
|
|
7533
7832
|
primaryMetricFormPage?: string | undefined;
|
|
7534
7833
|
primaryMetricFormId?: string | undefined;
|
|
7535
|
-
|
|
7834
|
+
primaryMetricKeyEventId?: string | undefined;
|
|
7536
7835
|
}, {
|
|
7537
7836
|
experimentId: string;
|
|
7538
7837
|
name?: string | undefined;
|
|
7539
7838
|
hypothesis?: string | undefined;
|
|
7540
7839
|
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
7541
|
-
|
|
7840
|
+
allocation?: "even" | "adaptive" | undefined;
|
|
7542
7841
|
predictionId?: string | undefined;
|
|
7842
|
+
targetUrl?: string | undefined;
|
|
7543
7843
|
primaryMetricEvent?: string | undefined;
|
|
7544
7844
|
primaryMetricType?: "duration" | "rate" | "count" | "revenue" | undefined;
|
|
7545
7845
|
guardrailEvent?: string | undefined;
|
|
@@ -7547,7 +7847,7 @@ export declare const toolDefinitions: {
|
|
|
7547
7847
|
runtimeDays?: number | undefined;
|
|
7548
7848
|
primaryMetricFormPage?: string | undefined;
|
|
7549
7849
|
primaryMetricFormId?: string | undefined;
|
|
7550
|
-
|
|
7850
|
+
primaryMetricKeyEventId?: string | undefined;
|
|
7551
7851
|
}>;
|
|
7552
7852
|
handler: (args: {
|
|
7553
7853
|
experimentId: string;
|
|
@@ -7558,6 +7858,7 @@ export declare const toolDefinitions: {
|
|
|
7558
7858
|
predictionId?: string;
|
|
7559
7859
|
primaryMetricEvent?: string;
|
|
7560
7860
|
primaryMetricType?: "rate" | "count" | "revenue" | "duration";
|
|
7861
|
+
primaryMetricKeyEventId?: string;
|
|
7561
7862
|
primaryMetricFormPage?: string;
|
|
7562
7863
|
primaryMetricFormId?: string;
|
|
7563
7864
|
guardrailEvent?: string;
|
|
@@ -7619,16 +7920,16 @@ export declare const toolDefinitions: {
|
|
|
7619
7920
|
}, "strip", import("zod").ZodTypeAny, {
|
|
7620
7921
|
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
7621
7922
|
targetUrl?: string | undefined;
|
|
7622
|
-
targetComponent?: string | undefined;
|
|
7623
7923
|
targetAnchor?: string | undefined;
|
|
7924
|
+
targetComponent?: string | undefined;
|
|
7624
7925
|
primaryMetricEvent?: string | undefined;
|
|
7625
7926
|
dataSourceId?: string | undefined;
|
|
7626
7927
|
experimentId?: string | undefined;
|
|
7627
7928
|
}, {
|
|
7628
7929
|
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
7629
7930
|
targetUrl?: string | undefined;
|
|
7630
|
-
targetComponent?: string | undefined;
|
|
7631
7931
|
targetAnchor?: string | undefined;
|
|
7932
|
+
targetComponent?: string | undefined;
|
|
7632
7933
|
primaryMetricEvent?: string | undefined;
|
|
7633
7934
|
dataSourceId?: string | undefined;
|
|
7634
7935
|
experimentId?: string | undefined;
|
|
@@ -7783,11 +8084,11 @@ export declare const toolDefinitions: {
|
|
|
7783
8084
|
experimentId: import("zod").ZodString;
|
|
7784
8085
|
winner: import("zod").ZodEnum<["control", "variant_b"]>;
|
|
7785
8086
|
}, "strip", import("zod").ZodTypeAny, {
|
|
7786
|
-
experimentId: string;
|
|
7787
8087
|
winner: "control" | "variant_b";
|
|
7788
|
-
}, {
|
|
7789
8088
|
experimentId: string;
|
|
8089
|
+
}, {
|
|
7790
8090
|
winner: "control" | "variant_b";
|
|
8091
|
+
experimentId: string;
|
|
7791
8092
|
}>;
|
|
7792
8093
|
handler: ({ experimentId, winner }: {
|
|
7793
8094
|
experimentId: string;
|
|
@@ -8025,17 +8326,17 @@ export declare const toolDefinitions: {
|
|
|
8025
8326
|
stoppingRule: import("zod").ZodString;
|
|
8026
8327
|
}, "strip", import("zod").ZodTypeAny, {
|
|
8027
8328
|
minSampleSize: number;
|
|
8329
|
+
primaryMetric: string;
|
|
8028
8330
|
experimentId: string;
|
|
8029
8331
|
engineeringLinkId: string;
|
|
8030
|
-
primaryMetric: string;
|
|
8031
8332
|
maxDurationDays: number;
|
|
8032
8333
|
stoppingRule: string;
|
|
8033
8334
|
rampOnMerge?: number | undefined;
|
|
8034
8335
|
}, {
|
|
8035
8336
|
minSampleSize: number;
|
|
8337
|
+
primaryMetric: string;
|
|
8036
8338
|
experimentId: string;
|
|
8037
8339
|
engineeringLinkId: string;
|
|
8038
|
-
primaryMetric: string;
|
|
8039
8340
|
maxDurationDays: number;
|
|
8040
8341
|
stoppingRule: string;
|
|
8041
8342
|
rampOnMerge?: number | undefined;
|