@apex-inc/mcp-server 0.71.0 → 0.72.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/setup-catchup-tools.d.ts +22 -9
- package/dist/setup-catchup-tools.d.ts.map +1 -1
- package/dist/setup-catchup-tools.js +106 -15
- package/dist/setup-catchup-tools.js.map +1 -1
- package/dist/setup-checklist.d.ts +1 -0
- package/dist/setup-checklist.d.ts.map +1 -1
- package/dist/setup-checklist.js +2 -1
- package/dist/setup-checklist.js.map +1 -1
- package/dist/tool-groups.d.ts.map +1 -1
- package/dist/tool-groups.js +3 -0
- package/dist/tool-groups.js.map +1 -1
- package/dist/tools/experiments.js +1 -1
- package/dist/tools/experiments.js.map +1 -1
- package/dist/tools/letters.d.ts +200 -1
- package/dist/tools/letters.d.ts.map +1 -1
- package/dist/tools/letters.js +134 -6
- package/dist/tools/letters.js.map +1 -1
- package/dist/tools/measurement.d.ts +29 -6
- package/dist/tools/measurement.d.ts.map +1 -1
- package/dist/tools/measurement.js +36 -4
- package/dist/tools/measurement.js.map +1 -1
- package/dist/tools/partners.d.ts +14 -14
- package/dist/tools.d.ts +267 -23
- package/dist/tools.d.ts.map +1 -1
- package/dist/workspace-target-url.d.ts.map +1 -1
- package/dist/workspace-target-url.js +8 -3
- package/dist/workspace-target-url.js.map +1 -1
- package/package.json +1 -1
package/dist/tools/partners.d.ts
CHANGED
|
@@ -33,12 +33,12 @@ export declare const partnerTools: {
|
|
|
33
33
|
percentage: z.ZodOptional<z.ZodNumber>;
|
|
34
34
|
appliesTo: z.ZodEnum<["install", "purchase", "subscription"]>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
type: "
|
|
36
|
+
type: "cpa" | "revshare";
|
|
37
37
|
appliesTo: "purchase" | "install" | "subscription";
|
|
38
38
|
percentage?: number | undefined;
|
|
39
39
|
amountUsd?: number | undefined;
|
|
40
40
|
}, {
|
|
41
|
-
type: "
|
|
41
|
+
type: "cpa" | "revshare";
|
|
42
42
|
appliesTo: "purchase" | "install" | "subscription";
|
|
43
43
|
percentage?: number | undefined;
|
|
44
44
|
amountUsd?: number | undefined;
|
|
@@ -53,7 +53,7 @@ export declare const partnerTools: {
|
|
|
53
53
|
vertical: "ecommerce" | "marketplace" | "other" | "saas" | "fintech" | "hardware" | "enterprise" | "creator_tools";
|
|
54
54
|
publishImmediately: boolean;
|
|
55
55
|
commissionStructure: {
|
|
56
|
-
type: "
|
|
56
|
+
type: "cpa" | "revshare";
|
|
57
57
|
appliesTo: "purchase" | "install" | "subscription";
|
|
58
58
|
percentage?: number | undefined;
|
|
59
59
|
amountUsd?: number | undefined;
|
|
@@ -67,7 +67,7 @@ export declare const partnerTools: {
|
|
|
67
67
|
name: string;
|
|
68
68
|
vertical: "ecommerce" | "marketplace" | "other" | "saas" | "fintech" | "hardware" | "enterprise" | "creator_tools";
|
|
69
69
|
commissionStructure: {
|
|
70
|
-
type: "
|
|
70
|
+
type: "cpa" | "revshare";
|
|
71
71
|
appliesTo: "purchase" | "install" | "subscription";
|
|
72
72
|
percentage?: number | undefined;
|
|
73
73
|
amountUsd?: number | undefined;
|
|
@@ -191,12 +191,12 @@ export declare const partnerTools: {
|
|
|
191
191
|
percentage: z.ZodOptional<z.ZodNumber>;
|
|
192
192
|
appliesTo: z.ZodEnum<["install", "purchase", "subscription"]>;
|
|
193
193
|
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
type: "
|
|
194
|
+
type: "cpa" | "revshare";
|
|
195
195
|
appliesTo: "purchase" | "install" | "subscription";
|
|
196
196
|
percentage?: number | undefined;
|
|
197
197
|
amountUsd?: number | undefined;
|
|
198
198
|
}, {
|
|
199
|
-
type: "
|
|
199
|
+
type: "cpa" | "revshare";
|
|
200
200
|
appliesTo: "purchase" | "install" | "subscription";
|
|
201
201
|
percentage?: number | undefined;
|
|
202
202
|
amountUsd?: number | undefined;
|
|
@@ -204,7 +204,7 @@ export declare const partnerTools: {
|
|
|
204
204
|
reason: z.ZodOptional<z.ZodString>;
|
|
205
205
|
}, "strip", z.ZodTypeAny, {
|
|
206
206
|
commissionStructure: {
|
|
207
|
-
type: "
|
|
207
|
+
type: "cpa" | "revshare";
|
|
208
208
|
appliesTo: "purchase" | "install" | "subscription";
|
|
209
209
|
percentage?: number | undefined;
|
|
210
210
|
amountUsd?: number | undefined;
|
|
@@ -213,7 +213,7 @@ export declare const partnerTools: {
|
|
|
213
213
|
reason?: string | undefined;
|
|
214
214
|
}, {
|
|
215
215
|
commissionStructure: {
|
|
216
|
-
type: "
|
|
216
|
+
type: "cpa" | "revshare";
|
|
217
217
|
appliesTo: "purchase" | "install" | "subscription";
|
|
218
218
|
percentage?: number | undefined;
|
|
219
219
|
amountUsd?: number | undefined;
|
|
@@ -268,26 +268,26 @@ export declare const partnerTools: {
|
|
|
268
268
|
percentage: z.ZodOptional<z.ZodNumber>;
|
|
269
269
|
appliesTo: z.ZodEnum<["install", "purchase", "subscription"]>;
|
|
270
270
|
}, "strip", z.ZodTypeAny, {
|
|
271
|
-
type: "
|
|
271
|
+
type: "cpa" | "revshare";
|
|
272
272
|
appliesTo: "purchase" | "install" | "subscription";
|
|
273
273
|
percentage?: number | undefined;
|
|
274
274
|
amountUsd?: number | undefined;
|
|
275
275
|
}, {
|
|
276
|
-
type: "
|
|
276
|
+
type: "cpa" | "revshare";
|
|
277
277
|
appliesTo: "purchase" | "install" | "subscription";
|
|
278
278
|
percentage?: number | undefined;
|
|
279
279
|
amountUsd?: number | undefined;
|
|
280
280
|
}>;
|
|
281
281
|
}, "strip", z.ZodTypeAny, {
|
|
282
282
|
commissionStructure: {
|
|
283
|
-
type: "
|
|
283
|
+
type: "cpa" | "revshare";
|
|
284
284
|
appliesTo: "purchase" | "install" | "subscription";
|
|
285
285
|
percentage?: number | undefined;
|
|
286
286
|
amountUsd?: number | undefined;
|
|
287
287
|
};
|
|
288
288
|
}, {
|
|
289
289
|
commissionStructure: {
|
|
290
|
-
type: "
|
|
290
|
+
type: "cpa" | "revshare";
|
|
291
291
|
appliesTo: "purchase" | "install" | "subscription";
|
|
292
292
|
percentage?: number | undefined;
|
|
293
293
|
amountUsd?: number | undefined;
|
|
@@ -300,7 +300,7 @@ export declare const partnerTools: {
|
|
|
300
300
|
inviterMessage?: string | undefined;
|
|
301
301
|
customRate?: {
|
|
302
302
|
commissionStructure: {
|
|
303
|
-
type: "
|
|
303
|
+
type: "cpa" | "revshare";
|
|
304
304
|
appliesTo: "purchase" | "install" | "subscription";
|
|
305
305
|
percentage?: number | undefined;
|
|
306
306
|
amountUsd?: number | undefined;
|
|
@@ -313,7 +313,7 @@ export declare const partnerTools: {
|
|
|
313
313
|
inviterMessage?: string | undefined;
|
|
314
314
|
customRate?: {
|
|
315
315
|
commissionStructure: {
|
|
316
|
-
type: "
|
|
316
|
+
type: "cpa" | "revshare";
|
|
317
317
|
appliesTo: "purchase" | "install" | "subscription";
|
|
318
318
|
percentage?: number | undefined;
|
|
319
319
|
amountUsd?: number | undefined;
|
package/dist/tools.d.ts
CHANGED
|
@@ -298,8 +298,16 @@ export declare const toolDefinitions: {
|
|
|
298
298
|
};
|
|
299
299
|
get_team_traffic: {
|
|
300
300
|
description: string;
|
|
301
|
-
schema: import("zod").ZodObject<{
|
|
302
|
-
|
|
301
|
+
schema: import("zod").ZodObject<{
|
|
302
|
+
host: import("zod").ZodOptional<import("zod").ZodString>;
|
|
303
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
304
|
+
host?: string | undefined;
|
|
305
|
+
}, {
|
|
306
|
+
host?: string | undefined;
|
|
307
|
+
}>;
|
|
308
|
+
handler: (args?: {
|
|
309
|
+
host?: string;
|
|
310
|
+
}) => Promise<{
|
|
303
311
|
content: {
|
|
304
312
|
type: "text";
|
|
305
313
|
text: string;
|
|
@@ -314,11 +322,14 @@ export declare const toolDefinitions: {
|
|
|
314
322
|
addMyAddress: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
315
323
|
addresses: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
316
324
|
browserLink: import("zod").ZodOptional<import("zod").ZodEnum<["create", "remove"]>>;
|
|
325
|
+
host: import("zod").ZodOptional<import("zod").ZodString>;
|
|
317
326
|
}, "strip", import("zod").ZodTypeAny, {
|
|
327
|
+
host?: string | undefined;
|
|
318
328
|
addMyAddress?: boolean | undefined;
|
|
319
329
|
addresses?: string[] | undefined;
|
|
320
330
|
browserLink?: "create" | "remove" | undefined;
|
|
321
331
|
}, {
|
|
332
|
+
host?: string | undefined;
|
|
322
333
|
addMyAddress?: boolean | undefined;
|
|
323
334
|
addresses?: string[] | undefined;
|
|
324
335
|
browserLink?: "create" | "remove" | undefined;
|
|
@@ -327,6 +338,7 @@ export declare const toolDefinitions: {
|
|
|
327
338
|
addMyAddress?: boolean;
|
|
328
339
|
addresses?: string[];
|
|
329
340
|
browserLink?: "create" | "remove";
|
|
341
|
+
host?: string;
|
|
330
342
|
}) => Promise<{
|
|
331
343
|
content: {
|
|
332
344
|
type: "text";
|
|
@@ -1369,6 +1381,7 @@ export declare const toolDefinitions: {
|
|
|
1369
1381
|
placement: import("zod").ZodOptional<import("zod").ZodEnum<["paid-ad", "social-post", "social-bio", "other"]>>;
|
|
1370
1382
|
platform: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1371
1383
|
source: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1384
|
+
medium: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1372
1385
|
slug: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1373
1386
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1374
1387
|
campaignName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1387,6 +1400,7 @@ export declare const toolDefinitions: {
|
|
|
1387
1400
|
storeRouting?: boolean | undefined;
|
|
1388
1401
|
placement?: "other" | "paid-ad" | "social-post" | "social-bio" | undefined;
|
|
1389
1402
|
source?: string | undefined;
|
|
1403
|
+
medium?: string | undefined;
|
|
1390
1404
|
campaignName?: string | undefined;
|
|
1391
1405
|
variant?: string | undefined;
|
|
1392
1406
|
previewTitle?: string | undefined;
|
|
@@ -1403,6 +1417,7 @@ export declare const toolDefinitions: {
|
|
|
1403
1417
|
storeRouting?: boolean | undefined;
|
|
1404
1418
|
placement?: "other" | "paid-ad" | "social-post" | "social-bio" | undefined;
|
|
1405
1419
|
source?: string | undefined;
|
|
1420
|
+
medium?: string | undefined;
|
|
1406
1421
|
campaignName?: string | undefined;
|
|
1407
1422
|
variant?: string | undefined;
|
|
1408
1423
|
previewTitle?: string | undefined;
|
|
@@ -1419,6 +1434,7 @@ export declare const toolDefinitions: {
|
|
|
1419
1434
|
placement?: "other" | "paid-ad" | "social-post" | "social-bio";
|
|
1420
1435
|
platform?: string;
|
|
1421
1436
|
source?: string;
|
|
1437
|
+
medium?: string;
|
|
1422
1438
|
slug?: string;
|
|
1423
1439
|
name?: string;
|
|
1424
1440
|
campaignName?: string;
|
|
@@ -4273,22 +4289,25 @@ export declare const toolDefinitions: {
|
|
|
4273
4289
|
description: import("zod").ZodString;
|
|
4274
4290
|
fields: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
4275
4291
|
scope: import("zod").ZodOptional<import("zod").ZodEnum<["workspace", "org"]>>;
|
|
4276
|
-
|
|
4277
|
-
|
|
4292
|
+
primaryMetric: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4293
|
+
recommendedTransport: import("zod").ZodOptional<import("zod").ZodEnum<["client", "server", "either"]>>;
|
|
4294
|
+
publish: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4278
4295
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4279
4296
|
name: string;
|
|
4280
4297
|
description: string;
|
|
4281
4298
|
fields: Record<string, string>;
|
|
4299
|
+
publish?: boolean | undefined;
|
|
4300
|
+
primaryMetric?: boolean | undefined;
|
|
4282
4301
|
scope?: "workspace" | "org" | undefined;
|
|
4283
|
-
|
|
4284
|
-
recommended_transport?: "server" | "client" | "either" | undefined;
|
|
4302
|
+
recommendedTransport?: "server" | "client" | "either" | undefined;
|
|
4285
4303
|
}, {
|
|
4286
4304
|
name: string;
|
|
4287
4305
|
description: string;
|
|
4288
4306
|
fields: Record<string, string>;
|
|
4307
|
+
publish?: boolean | undefined;
|
|
4308
|
+
primaryMetric?: boolean | undefined;
|
|
4289
4309
|
scope?: "workspace" | "org" | undefined;
|
|
4290
|
-
|
|
4291
|
-
recommended_transport?: "server" | "client" | "either" | undefined;
|
|
4310
|
+
recommendedTransport?: "server" | "client" | "either" | undefined;
|
|
4292
4311
|
}>;
|
|
4293
4312
|
handler: (args: {
|
|
4294
4313
|
name: string;
|
|
@@ -4297,7 +4316,29 @@ export declare const toolDefinitions: {
|
|
|
4297
4316
|
scope?: "workspace" | "org";
|
|
4298
4317
|
primaryMetric?: boolean;
|
|
4299
4318
|
recommendedTransport?: "client" | "server" | "either";
|
|
4319
|
+
publish?: boolean;
|
|
4320
|
+
}) => Promise<{
|
|
4321
|
+
content: {
|
|
4322
|
+
type: "text";
|
|
4323
|
+
text: string;
|
|
4324
|
+
}[];
|
|
4325
|
+
}>;
|
|
4326
|
+
} & {
|
|
4327
|
+
group: ToolGroup;
|
|
4328
|
+
};
|
|
4329
|
+
publish_event_definition: {
|
|
4330
|
+
description: string;
|
|
4331
|
+
schema: import("zod").ZodObject<{
|
|
4332
|
+
name: import("zod").ZodString;
|
|
4333
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4334
|
+
name: string;
|
|
4335
|
+
}, {
|
|
4336
|
+
name: string;
|
|
4337
|
+
}>;
|
|
4338
|
+
handler: ({ name }: {
|
|
4339
|
+
name: string;
|
|
4300
4340
|
}) => Promise<{
|
|
4341
|
+
isError?: boolean | undefined;
|
|
4301
4342
|
content: {
|
|
4302
4343
|
type: "text";
|
|
4303
4344
|
text: string;
|
|
@@ -4763,12 +4804,12 @@ export declare const toolDefinitions: {
|
|
|
4763
4804
|
percentage: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4764
4805
|
appliesTo: import("zod").ZodEnum<["install", "purchase", "subscription"]>;
|
|
4765
4806
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4766
|
-
type: "
|
|
4807
|
+
type: "cpa" | "revshare";
|
|
4767
4808
|
appliesTo: "purchase" | "install" | "subscription";
|
|
4768
4809
|
percentage?: number | undefined;
|
|
4769
4810
|
amountUsd?: number | undefined;
|
|
4770
4811
|
}, {
|
|
4771
|
-
type: "
|
|
4812
|
+
type: "cpa" | "revshare";
|
|
4772
4813
|
appliesTo: "purchase" | "install" | "subscription";
|
|
4773
4814
|
percentage?: number | undefined;
|
|
4774
4815
|
amountUsd?: number | undefined;
|
|
@@ -4783,7 +4824,7 @@ export declare const toolDefinitions: {
|
|
|
4783
4824
|
vertical: "ecommerce" | "marketplace" | "other" | "saas" | "fintech" | "hardware" | "enterprise" | "creator_tools";
|
|
4784
4825
|
publishImmediately: boolean;
|
|
4785
4826
|
commissionStructure: {
|
|
4786
|
-
type: "
|
|
4827
|
+
type: "cpa" | "revshare";
|
|
4787
4828
|
appliesTo: "purchase" | "install" | "subscription";
|
|
4788
4829
|
percentage?: number | undefined;
|
|
4789
4830
|
amountUsd?: number | undefined;
|
|
@@ -4797,7 +4838,7 @@ export declare const toolDefinitions: {
|
|
|
4797
4838
|
name: string;
|
|
4798
4839
|
vertical: "ecommerce" | "marketplace" | "other" | "saas" | "fintech" | "hardware" | "enterprise" | "creator_tools";
|
|
4799
4840
|
commissionStructure: {
|
|
4800
|
-
type: "
|
|
4841
|
+
type: "cpa" | "revshare";
|
|
4801
4842
|
appliesTo: "purchase" | "install" | "subscription";
|
|
4802
4843
|
percentage?: number | undefined;
|
|
4803
4844
|
amountUsd?: number | undefined;
|
|
@@ -4931,12 +4972,12 @@ export declare const toolDefinitions: {
|
|
|
4931
4972
|
percentage: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4932
4973
|
appliesTo: import("zod").ZodEnum<["install", "purchase", "subscription"]>;
|
|
4933
4974
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4934
|
-
type: "
|
|
4975
|
+
type: "cpa" | "revshare";
|
|
4935
4976
|
appliesTo: "purchase" | "install" | "subscription";
|
|
4936
4977
|
percentage?: number | undefined;
|
|
4937
4978
|
amountUsd?: number | undefined;
|
|
4938
4979
|
}, {
|
|
4939
|
-
type: "
|
|
4980
|
+
type: "cpa" | "revshare";
|
|
4940
4981
|
appliesTo: "purchase" | "install" | "subscription";
|
|
4941
4982
|
percentage?: number | undefined;
|
|
4942
4983
|
amountUsd?: number | undefined;
|
|
@@ -4944,7 +4985,7 @@ export declare const toolDefinitions: {
|
|
|
4944
4985
|
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4945
4986
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4946
4987
|
commissionStructure: {
|
|
4947
|
-
type: "
|
|
4988
|
+
type: "cpa" | "revshare";
|
|
4948
4989
|
appliesTo: "purchase" | "install" | "subscription";
|
|
4949
4990
|
percentage?: number | undefined;
|
|
4950
4991
|
amountUsd?: number | undefined;
|
|
@@ -4953,7 +4994,7 @@ export declare const toolDefinitions: {
|
|
|
4953
4994
|
reason?: string | undefined;
|
|
4954
4995
|
}, {
|
|
4955
4996
|
commissionStructure: {
|
|
4956
|
-
type: "
|
|
4997
|
+
type: "cpa" | "revshare";
|
|
4957
4998
|
appliesTo: "purchase" | "install" | "subscription";
|
|
4958
4999
|
percentage?: number | undefined;
|
|
4959
5000
|
amountUsd?: number | undefined;
|
|
@@ -5012,26 +5053,26 @@ export declare const toolDefinitions: {
|
|
|
5012
5053
|
percentage: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5013
5054
|
appliesTo: import("zod").ZodEnum<["install", "purchase", "subscription"]>;
|
|
5014
5055
|
}, "strip", import("zod").ZodTypeAny, {
|
|
5015
|
-
type: "
|
|
5056
|
+
type: "cpa" | "revshare";
|
|
5016
5057
|
appliesTo: "purchase" | "install" | "subscription";
|
|
5017
5058
|
percentage?: number | undefined;
|
|
5018
5059
|
amountUsd?: number | undefined;
|
|
5019
5060
|
}, {
|
|
5020
|
-
type: "
|
|
5061
|
+
type: "cpa" | "revshare";
|
|
5021
5062
|
appliesTo: "purchase" | "install" | "subscription";
|
|
5022
5063
|
percentage?: number | undefined;
|
|
5023
5064
|
amountUsd?: number | undefined;
|
|
5024
5065
|
}>;
|
|
5025
5066
|
}, "strip", import("zod").ZodTypeAny, {
|
|
5026
5067
|
commissionStructure: {
|
|
5027
|
-
type: "
|
|
5068
|
+
type: "cpa" | "revshare";
|
|
5028
5069
|
appliesTo: "purchase" | "install" | "subscription";
|
|
5029
5070
|
percentage?: number | undefined;
|
|
5030
5071
|
amountUsd?: number | undefined;
|
|
5031
5072
|
};
|
|
5032
5073
|
}, {
|
|
5033
5074
|
commissionStructure: {
|
|
5034
|
-
type: "
|
|
5075
|
+
type: "cpa" | "revshare";
|
|
5035
5076
|
appliesTo: "purchase" | "install" | "subscription";
|
|
5036
5077
|
percentage?: number | undefined;
|
|
5037
5078
|
amountUsd?: number | undefined;
|
|
@@ -5044,7 +5085,7 @@ export declare const toolDefinitions: {
|
|
|
5044
5085
|
inviterMessage?: string | undefined;
|
|
5045
5086
|
customRate?: {
|
|
5046
5087
|
commissionStructure: {
|
|
5047
|
-
type: "
|
|
5088
|
+
type: "cpa" | "revshare";
|
|
5048
5089
|
appliesTo: "purchase" | "install" | "subscription";
|
|
5049
5090
|
percentage?: number | undefined;
|
|
5050
5091
|
amountUsd?: number | undefined;
|
|
@@ -5057,7 +5098,7 @@ export declare const toolDefinitions: {
|
|
|
5057
5098
|
inviterMessage?: string | undefined;
|
|
5058
5099
|
customRate?: {
|
|
5059
5100
|
commissionStructure: {
|
|
5060
|
-
type: "
|
|
5101
|
+
type: "cpa" | "revshare";
|
|
5061
5102
|
appliesTo: "purchase" | "install" | "subscription";
|
|
5062
5103
|
percentage?: number | undefined;
|
|
5063
5104
|
amountUsd?: number | undefined;
|
|
@@ -6627,16 +6668,20 @@ export declare const toolDefinitions: {
|
|
|
6627
6668
|
schema: import("zod").ZodObject<{
|
|
6628
6669
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6629
6670
|
audience_bucket: import("zod").ZodOptional<import("zod").ZodEnum<["production", "beta", "dev"]>>;
|
|
6671
|
+
attributionWindowDays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6630
6672
|
}, "strip", import("zod").ZodTypeAny, {
|
|
6631
6673
|
name?: string | undefined;
|
|
6674
|
+
attributionWindowDays?: number | undefined;
|
|
6632
6675
|
audience_bucket?: "production" | "beta" | "dev" | undefined;
|
|
6633
6676
|
}, {
|
|
6634
6677
|
name?: string | undefined;
|
|
6678
|
+
attributionWindowDays?: number | undefined;
|
|
6635
6679
|
audience_bucket?: "production" | "beta" | "dev" | undefined;
|
|
6636
6680
|
}>;
|
|
6637
|
-
handler: ({ name, audience_bucket }: {
|
|
6681
|
+
handler: ({ name, audience_bucket, attributionWindowDays, }: {
|
|
6638
6682
|
name?: string;
|
|
6639
6683
|
audience_bucket?: "production" | "beta" | "dev";
|
|
6684
|
+
attributionWindowDays?: number;
|
|
6640
6685
|
}) => Promise<{
|
|
6641
6686
|
content: {
|
|
6642
6687
|
type: "text";
|
|
@@ -7514,6 +7559,205 @@ export declare const toolDefinitions: {
|
|
|
7514
7559
|
} & {
|
|
7515
7560
|
group: ToolGroup;
|
|
7516
7561
|
};
|
|
7562
|
+
update_segment: {
|
|
7563
|
+
description: string;
|
|
7564
|
+
schema: import("zod").ZodObject<{
|
|
7565
|
+
segmentId: import("zod").ZodString;
|
|
7566
|
+
scope: import("zod").ZodOptional<import("zod").ZodEnum<["workspace", "org"]>>;
|
|
7567
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7568
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7569
|
+
conditions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
7570
|
+
match: import("zod").ZodEnum<["all", "any"]>;
|
|
7571
|
+
groups: import("zod").ZodArray<import("zod").ZodObject<{
|
|
7572
|
+
match: import("zod").ZodEnum<["all", "any"]>;
|
|
7573
|
+
conditions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
7574
|
+
verb: import("zod").ZodOptional<import("zod").ZodEnum<["has", "hasnt"]>>;
|
|
7575
|
+
event: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7576
|
+
key_event_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7577
|
+
scope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
|
|
7578
|
+
window_days: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7579
|
+
attribute: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7580
|
+
op: import("zod").ZodOptional<import("zod").ZodEnum<["is", "is_not", "exists"]>>;
|
|
7581
|
+
value: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>;
|
|
7582
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
7583
|
+
event?: string | undefined;
|
|
7584
|
+
value?: string | number | boolean | undefined;
|
|
7585
|
+
key_event_id?: string | undefined;
|
|
7586
|
+
scope?: "account" | "person" | undefined;
|
|
7587
|
+
attribute?: string | undefined;
|
|
7588
|
+
window_days?: number | undefined;
|
|
7589
|
+
verb?: "has" | "hasnt" | undefined;
|
|
7590
|
+
op?: "exists" | "is" | "is_not" | undefined;
|
|
7591
|
+
}, {
|
|
7592
|
+
event?: string | undefined;
|
|
7593
|
+
value?: string | number | boolean | undefined;
|
|
7594
|
+
key_event_id?: string | undefined;
|
|
7595
|
+
scope?: "account" | "person" | undefined;
|
|
7596
|
+
attribute?: string | undefined;
|
|
7597
|
+
window_days?: number | undefined;
|
|
7598
|
+
verb?: "has" | "hasnt" | undefined;
|
|
7599
|
+
op?: "exists" | "is" | "is_not" | undefined;
|
|
7600
|
+
}>, "many">;
|
|
7601
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
7602
|
+
match: "all" | "any";
|
|
7603
|
+
conditions: {
|
|
7604
|
+
event?: string | undefined;
|
|
7605
|
+
value?: string | number | boolean | undefined;
|
|
7606
|
+
key_event_id?: string | undefined;
|
|
7607
|
+
scope?: "account" | "person" | undefined;
|
|
7608
|
+
attribute?: string | undefined;
|
|
7609
|
+
window_days?: number | undefined;
|
|
7610
|
+
verb?: "has" | "hasnt" | undefined;
|
|
7611
|
+
op?: "exists" | "is" | "is_not" | undefined;
|
|
7612
|
+
}[];
|
|
7613
|
+
}, {
|
|
7614
|
+
match: "all" | "any";
|
|
7615
|
+
conditions: {
|
|
7616
|
+
event?: string | undefined;
|
|
7617
|
+
value?: string | number | boolean | undefined;
|
|
7618
|
+
key_event_id?: string | undefined;
|
|
7619
|
+
scope?: "account" | "person" | undefined;
|
|
7620
|
+
attribute?: string | undefined;
|
|
7621
|
+
window_days?: number | undefined;
|
|
7622
|
+
verb?: "has" | "hasnt" | undefined;
|
|
7623
|
+
op?: "exists" | "is" | "is_not" | undefined;
|
|
7624
|
+
}[];
|
|
7625
|
+
}>, "many">;
|
|
7626
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
7627
|
+
match: "all" | "any";
|
|
7628
|
+
groups: {
|
|
7629
|
+
match: "all" | "any";
|
|
7630
|
+
conditions: {
|
|
7631
|
+
event?: string | undefined;
|
|
7632
|
+
value?: string | number | boolean | undefined;
|
|
7633
|
+
key_event_id?: string | undefined;
|
|
7634
|
+
scope?: "account" | "person" | undefined;
|
|
7635
|
+
attribute?: string | undefined;
|
|
7636
|
+
window_days?: number | undefined;
|
|
7637
|
+
verb?: "has" | "hasnt" | undefined;
|
|
7638
|
+
op?: "exists" | "is" | "is_not" | undefined;
|
|
7639
|
+
}[];
|
|
7640
|
+
}[];
|
|
7641
|
+
}, {
|
|
7642
|
+
match: "all" | "any";
|
|
7643
|
+
groups: {
|
|
7644
|
+
match: "all" | "any";
|
|
7645
|
+
conditions: {
|
|
7646
|
+
event?: string | undefined;
|
|
7647
|
+
value?: string | number | boolean | undefined;
|
|
7648
|
+
key_event_id?: string | undefined;
|
|
7649
|
+
scope?: "account" | "person" | undefined;
|
|
7650
|
+
attribute?: string | undefined;
|
|
7651
|
+
window_days?: number | undefined;
|
|
7652
|
+
verb?: "has" | "hasnt" | undefined;
|
|
7653
|
+
op?: "exists" | "is" | "is_not" | undefined;
|
|
7654
|
+
}[];
|
|
7655
|
+
}[];
|
|
7656
|
+
}>>;
|
|
7657
|
+
predicate: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
7658
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
7659
|
+
segmentId: string;
|
|
7660
|
+
name?: string | undefined;
|
|
7661
|
+
description?: string | undefined;
|
|
7662
|
+
scope?: "workspace" | "org" | undefined;
|
|
7663
|
+
conditions?: {
|
|
7664
|
+
match: "all" | "any";
|
|
7665
|
+
groups: {
|
|
7666
|
+
match: "all" | "any";
|
|
7667
|
+
conditions: {
|
|
7668
|
+
event?: string | undefined;
|
|
7669
|
+
value?: string | number | boolean | undefined;
|
|
7670
|
+
key_event_id?: string | undefined;
|
|
7671
|
+
scope?: "account" | "person" | undefined;
|
|
7672
|
+
attribute?: string | undefined;
|
|
7673
|
+
window_days?: number | undefined;
|
|
7674
|
+
verb?: "has" | "hasnt" | undefined;
|
|
7675
|
+
op?: "exists" | "is" | "is_not" | undefined;
|
|
7676
|
+
}[];
|
|
7677
|
+
}[];
|
|
7678
|
+
} | undefined;
|
|
7679
|
+
predicate?: Record<string, unknown> | undefined;
|
|
7680
|
+
}, {
|
|
7681
|
+
segmentId: string;
|
|
7682
|
+
name?: string | undefined;
|
|
7683
|
+
description?: string | undefined;
|
|
7684
|
+
scope?: "workspace" | "org" | undefined;
|
|
7685
|
+
conditions?: {
|
|
7686
|
+
match: "all" | "any";
|
|
7687
|
+
groups: {
|
|
7688
|
+
match: "all" | "any";
|
|
7689
|
+
conditions: {
|
|
7690
|
+
event?: string | undefined;
|
|
7691
|
+
value?: string | number | boolean | undefined;
|
|
7692
|
+
key_event_id?: string | undefined;
|
|
7693
|
+
scope?: "account" | "person" | undefined;
|
|
7694
|
+
attribute?: string | undefined;
|
|
7695
|
+
window_days?: number | undefined;
|
|
7696
|
+
verb?: "has" | "hasnt" | undefined;
|
|
7697
|
+
op?: "exists" | "is" | "is_not" | undefined;
|
|
7698
|
+
}[];
|
|
7699
|
+
}[];
|
|
7700
|
+
} | undefined;
|
|
7701
|
+
predicate?: Record<string, unknown> | undefined;
|
|
7702
|
+
}>;
|
|
7703
|
+
handler: (args: {
|
|
7704
|
+
segmentId: string;
|
|
7705
|
+
scope?: "workspace" | "org";
|
|
7706
|
+
name?: string;
|
|
7707
|
+
description?: string;
|
|
7708
|
+
conditions?: unknown;
|
|
7709
|
+
predicate?: unknown;
|
|
7710
|
+
}) => Promise<{
|
|
7711
|
+
content: {
|
|
7712
|
+
type: "text";
|
|
7713
|
+
text: string;
|
|
7714
|
+
}[];
|
|
7715
|
+
isError: boolean;
|
|
7716
|
+
} | {
|
|
7717
|
+
content: {
|
|
7718
|
+
type: "text";
|
|
7719
|
+
text: string;
|
|
7720
|
+
}[];
|
|
7721
|
+
isError?: undefined;
|
|
7722
|
+
}>;
|
|
7723
|
+
} & {
|
|
7724
|
+
group: ToolGroup;
|
|
7725
|
+
};
|
|
7726
|
+
delete_segment: {
|
|
7727
|
+
description: string;
|
|
7728
|
+
schema: import("zod").ZodObject<{
|
|
7729
|
+
segmentId: import("zod").ZodString;
|
|
7730
|
+
scope: import("zod").ZodOptional<import("zod").ZodEnum<["workspace", "org"]>>;
|
|
7731
|
+
confirmInUse: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7732
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
7733
|
+
segmentId: string;
|
|
7734
|
+
scope?: "workspace" | "org" | undefined;
|
|
7735
|
+
confirmInUse?: boolean | undefined;
|
|
7736
|
+
}, {
|
|
7737
|
+
segmentId: string;
|
|
7738
|
+
scope?: "workspace" | "org" | undefined;
|
|
7739
|
+
confirmInUse?: boolean | undefined;
|
|
7740
|
+
}>;
|
|
7741
|
+
handler: (args: {
|
|
7742
|
+
segmentId: string;
|
|
7743
|
+
scope?: "workspace" | "org";
|
|
7744
|
+
confirmInUse?: boolean;
|
|
7745
|
+
}) => Promise<{
|
|
7746
|
+
content: {
|
|
7747
|
+
type: "text";
|
|
7748
|
+
text: string;
|
|
7749
|
+
}[];
|
|
7750
|
+
isError: boolean;
|
|
7751
|
+
} | {
|
|
7752
|
+
content: {
|
|
7753
|
+
type: "text";
|
|
7754
|
+
text: string;
|
|
7755
|
+
}[];
|
|
7756
|
+
isError?: undefined;
|
|
7757
|
+
}>;
|
|
7758
|
+
} & {
|
|
7759
|
+
group: ToolGroup;
|
|
7760
|
+
};
|
|
7517
7761
|
plan_experiment: {
|
|
7518
7762
|
description: string;
|
|
7519
7763
|
schema: import("zod").ZodObject<{
|