@apex-inc/mcp-server 0.29.0 → 0.30.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/api-client.d.ts +9 -0
- package/dist/api-client.d.ts.map +1 -1
- package/dist/api-client.js +36 -1
- package/dist/api-client.js.map +1 -1
- package/dist/index.js +16 -5
- package/dist/index.js.map +1 -1
- package/dist/setup-catchup-tools.d.ts +633 -0
- package/dist/setup-catchup-tools.d.ts.map +1 -0
- package/dist/setup-catchup-tools.js +506 -0
- package/dist/setup-catchup-tools.js.map +1 -0
- package/dist/tools.d.ts +662 -38
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +28 -6
- package/dist/tools.js.map +1 -1
- package/package.json +1 -1
- package/skills/apex-communications/SKILL.md +4 -0
- package/skills/apex-integration-cookbook/SKILL.md +11 -0
- package/skills/apex-partner-network/SKILL.md +1 -0
package/dist/tools.d.ts
CHANGED
|
@@ -28,6 +28,626 @@ declare function listWorkspacesHandler(): Promise<{
|
|
|
28
28
|
}[];
|
|
29
29
|
}>;
|
|
30
30
|
export declare const toolDefinitions: {
|
|
31
|
+
update_organization: {
|
|
32
|
+
description: string;
|
|
33
|
+
schema: z.ZodObject<{
|
|
34
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
35
|
+
name: z.ZodString;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
name: string;
|
|
38
|
+
orgId?: string | undefined;
|
|
39
|
+
}, {
|
|
40
|
+
name: string;
|
|
41
|
+
orgId?: string | undefined;
|
|
42
|
+
}>;
|
|
43
|
+
handler: ({ orgId, name }: {
|
|
44
|
+
orgId?: string;
|
|
45
|
+
name: string;
|
|
46
|
+
}) => Promise<{
|
|
47
|
+
content: {
|
|
48
|
+
type: "text";
|
|
49
|
+
text: string;
|
|
50
|
+
}[];
|
|
51
|
+
}>;
|
|
52
|
+
};
|
|
53
|
+
update_workspace: {
|
|
54
|
+
description: string;
|
|
55
|
+
schema: z.ZodObject<{
|
|
56
|
+
workspaceName: z.ZodOptional<z.ZodString>;
|
|
57
|
+
vertical: z.ZodOptional<z.ZodEnum<["b2b-saas", "ecommerce", "marketplace", "agency", "other"]>>;
|
|
58
|
+
conversionModel: z.ZodOptional<z.ZodEnum<["sales-assisted", "self-serve", "transaction", "two-sided", "hybrid"]>>;
|
|
59
|
+
websiteUrl: z.ZodOptional<z.ZodString>;
|
|
60
|
+
}, "strip", z.ZodTypeAny, {
|
|
61
|
+
workspaceName?: string | undefined;
|
|
62
|
+
vertical?: "b2b-saas" | "ecommerce" | "marketplace" | "agency" | "other" | undefined;
|
|
63
|
+
conversionModel?: "sales-assisted" | "self-serve" | "transaction" | "two-sided" | "hybrid" | undefined;
|
|
64
|
+
websiteUrl?: string | undefined;
|
|
65
|
+
}, {
|
|
66
|
+
workspaceName?: string | undefined;
|
|
67
|
+
vertical?: "b2b-saas" | "ecommerce" | "marketplace" | "agency" | "other" | undefined;
|
|
68
|
+
conversionModel?: "sales-assisted" | "self-serve" | "transaction" | "two-sided" | "hybrid" | undefined;
|
|
69
|
+
websiteUrl?: string | undefined;
|
|
70
|
+
}>;
|
|
71
|
+
handler: ({ workspaceName, vertical, conversionModel, websiteUrl, }: {
|
|
72
|
+
workspaceName?: string;
|
|
73
|
+
vertical?: "b2b-saas" | "ecommerce" | "marketplace" | "agency" | "other";
|
|
74
|
+
conversionModel?: "sales-assisted" | "self-serve" | "transaction" | "two-sided" | "hybrid";
|
|
75
|
+
websiteUrl?: string;
|
|
76
|
+
}) => Promise<{
|
|
77
|
+
content: {
|
|
78
|
+
type: "text";
|
|
79
|
+
text: string;
|
|
80
|
+
}[];
|
|
81
|
+
}>;
|
|
82
|
+
};
|
|
83
|
+
claim_links_subdomain: {
|
|
84
|
+
description: string;
|
|
85
|
+
schema: z.ZodObject<{
|
|
86
|
+
subdomain: z.ZodString;
|
|
87
|
+
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
subdomain: string;
|
|
89
|
+
}, {
|
|
90
|
+
subdomain: string;
|
|
91
|
+
}>;
|
|
92
|
+
handler: ({ subdomain }: {
|
|
93
|
+
subdomain: string;
|
|
94
|
+
}) => Promise<{
|
|
95
|
+
content: {
|
|
96
|
+
type: "text";
|
|
97
|
+
text: string;
|
|
98
|
+
}[];
|
|
99
|
+
}>;
|
|
100
|
+
};
|
|
101
|
+
set_consent_posture: {
|
|
102
|
+
description: string;
|
|
103
|
+
schema: z.ZodObject<{
|
|
104
|
+
hasForm: z.ZodEnum<["yes", "no"]>;
|
|
105
|
+
banner: z.ZodOptional<z.ZodEnum<["standard", "gcm", "onetrust", "cookiebot", "tcf", "custom", "none"]>>;
|
|
106
|
+
}, "strip", z.ZodTypeAny, {
|
|
107
|
+
hasForm: "yes" | "no";
|
|
108
|
+
banner?: "standard" | "gcm" | "onetrust" | "cookiebot" | "tcf" | "custom" | "none" | undefined;
|
|
109
|
+
}, {
|
|
110
|
+
hasForm: "yes" | "no";
|
|
111
|
+
banner?: "standard" | "gcm" | "onetrust" | "cookiebot" | "tcf" | "custom" | "none" | undefined;
|
|
112
|
+
}>;
|
|
113
|
+
handler: ({ hasForm, banner, }: {
|
|
114
|
+
hasForm: "yes" | "no";
|
|
115
|
+
banner?: "standard" | "gcm" | "onetrust" | "cookiebot" | "tcf" | "custom" | "none";
|
|
116
|
+
}) => Promise<{
|
|
117
|
+
content: {
|
|
118
|
+
type: "text";
|
|
119
|
+
text: string;
|
|
120
|
+
}[];
|
|
121
|
+
}>;
|
|
122
|
+
};
|
|
123
|
+
list_webhook_destinations: {
|
|
124
|
+
description: string;
|
|
125
|
+
schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
126
|
+
handler: () => Promise<{
|
|
127
|
+
content: {
|
|
128
|
+
type: "text";
|
|
129
|
+
text: string;
|
|
130
|
+
}[];
|
|
131
|
+
}>;
|
|
132
|
+
};
|
|
133
|
+
add_webhook_destination: {
|
|
134
|
+
description: string;
|
|
135
|
+
schema: z.ZodObject<{
|
|
136
|
+
name: z.ZodString;
|
|
137
|
+
baseUrl: z.ZodString;
|
|
138
|
+
}, "strip", z.ZodTypeAny, {
|
|
139
|
+
name: string;
|
|
140
|
+
baseUrl: string;
|
|
141
|
+
}, {
|
|
142
|
+
name: string;
|
|
143
|
+
baseUrl: string;
|
|
144
|
+
}>;
|
|
145
|
+
handler: ({ name, baseUrl }: {
|
|
146
|
+
name: string;
|
|
147
|
+
baseUrl: string;
|
|
148
|
+
}) => Promise<{
|
|
149
|
+
content: {
|
|
150
|
+
type: "text";
|
|
151
|
+
text: string;
|
|
152
|
+
}[];
|
|
153
|
+
}>;
|
|
154
|
+
};
|
|
155
|
+
get_messaging_guardrails: {
|
|
156
|
+
description: string;
|
|
157
|
+
schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
158
|
+
handler: () => Promise<{
|
|
159
|
+
content: {
|
|
160
|
+
type: "text";
|
|
161
|
+
text: string;
|
|
162
|
+
}[];
|
|
163
|
+
}>;
|
|
164
|
+
};
|
|
165
|
+
set_messaging_guardrails: {
|
|
166
|
+
description: string;
|
|
167
|
+
schema: z.ZodObject<{
|
|
168
|
+
holdoutPct: z.ZodOptional<z.ZodNumber>;
|
|
169
|
+
attributionWindowDays: z.ZodOptional<z.ZodNumber>;
|
|
170
|
+
nudgeCapPerDay: z.ZodOptional<z.ZodNumber>;
|
|
171
|
+
fireOnTestEvents: z.ZodOptional<z.ZodBoolean>;
|
|
172
|
+
capPolicy: z.ZodOptional<z.ZodObject<{
|
|
173
|
+
daily: z.ZodObject<{
|
|
174
|
+
email: z.ZodNumber;
|
|
175
|
+
in_app: z.ZodNumber;
|
|
176
|
+
mobile_push: z.ZodNumber;
|
|
177
|
+
}, "strip", z.ZodTypeAny, {
|
|
178
|
+
email: number;
|
|
179
|
+
in_app: number;
|
|
180
|
+
mobile_push: number;
|
|
181
|
+
}, {
|
|
182
|
+
email: number;
|
|
183
|
+
in_app: number;
|
|
184
|
+
mobile_push: number;
|
|
185
|
+
}>;
|
|
186
|
+
weekly: z.ZodObject<{
|
|
187
|
+
email: z.ZodNumber;
|
|
188
|
+
in_app: z.ZodNumber;
|
|
189
|
+
mobile_push: z.ZodNumber;
|
|
190
|
+
}, "strip", z.ZodTypeAny, {
|
|
191
|
+
email: number;
|
|
192
|
+
in_app: number;
|
|
193
|
+
mobile_push: number;
|
|
194
|
+
}, {
|
|
195
|
+
email: number;
|
|
196
|
+
in_app: number;
|
|
197
|
+
mobile_push: number;
|
|
198
|
+
}>;
|
|
199
|
+
}, "strip", z.ZodTypeAny, {
|
|
200
|
+
daily: {
|
|
201
|
+
email: number;
|
|
202
|
+
in_app: number;
|
|
203
|
+
mobile_push: number;
|
|
204
|
+
};
|
|
205
|
+
weekly: {
|
|
206
|
+
email: number;
|
|
207
|
+
in_app: number;
|
|
208
|
+
mobile_push: number;
|
|
209
|
+
};
|
|
210
|
+
}, {
|
|
211
|
+
daily: {
|
|
212
|
+
email: number;
|
|
213
|
+
in_app: number;
|
|
214
|
+
mobile_push: number;
|
|
215
|
+
};
|
|
216
|
+
weekly: {
|
|
217
|
+
email: number;
|
|
218
|
+
in_app: number;
|
|
219
|
+
mobile_push: number;
|
|
220
|
+
};
|
|
221
|
+
}>>;
|
|
222
|
+
}, "strip", z.ZodTypeAny, {
|
|
223
|
+
holdoutPct?: number | undefined;
|
|
224
|
+
attributionWindowDays?: number | undefined;
|
|
225
|
+
nudgeCapPerDay?: number | undefined;
|
|
226
|
+
fireOnTestEvents?: boolean | undefined;
|
|
227
|
+
capPolicy?: {
|
|
228
|
+
daily: {
|
|
229
|
+
email: number;
|
|
230
|
+
in_app: number;
|
|
231
|
+
mobile_push: number;
|
|
232
|
+
};
|
|
233
|
+
weekly: {
|
|
234
|
+
email: number;
|
|
235
|
+
in_app: number;
|
|
236
|
+
mobile_push: number;
|
|
237
|
+
};
|
|
238
|
+
} | undefined;
|
|
239
|
+
}, {
|
|
240
|
+
holdoutPct?: number | undefined;
|
|
241
|
+
attributionWindowDays?: number | undefined;
|
|
242
|
+
nudgeCapPerDay?: number | undefined;
|
|
243
|
+
fireOnTestEvents?: boolean | undefined;
|
|
244
|
+
capPolicy?: {
|
|
245
|
+
daily: {
|
|
246
|
+
email: number;
|
|
247
|
+
in_app: number;
|
|
248
|
+
mobile_push: number;
|
|
249
|
+
};
|
|
250
|
+
weekly: {
|
|
251
|
+
email: number;
|
|
252
|
+
in_app: number;
|
|
253
|
+
mobile_push: number;
|
|
254
|
+
};
|
|
255
|
+
} | undefined;
|
|
256
|
+
}>;
|
|
257
|
+
handler: (args: {
|
|
258
|
+
holdoutPct?: number;
|
|
259
|
+
attributionWindowDays?: number;
|
|
260
|
+
nudgeCapPerDay?: number;
|
|
261
|
+
fireOnTestEvents?: boolean;
|
|
262
|
+
capPolicy?: {
|
|
263
|
+
daily: {
|
|
264
|
+
email: number;
|
|
265
|
+
in_app: number;
|
|
266
|
+
mobile_push: number;
|
|
267
|
+
};
|
|
268
|
+
weekly: {
|
|
269
|
+
email: number;
|
|
270
|
+
in_app: number;
|
|
271
|
+
mobile_push: number;
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
}) => Promise<{
|
|
275
|
+
content: {
|
|
276
|
+
type: "text";
|
|
277
|
+
text: string;
|
|
278
|
+
}[];
|
|
279
|
+
}>;
|
|
280
|
+
};
|
|
281
|
+
set_app_surface_paths: {
|
|
282
|
+
description: string;
|
|
283
|
+
schema: z.ZodObject<{
|
|
284
|
+
paths: z.ZodArray<z.ZodString, "many">;
|
|
285
|
+
}, "strip", z.ZodTypeAny, {
|
|
286
|
+
paths: string[];
|
|
287
|
+
}, {
|
|
288
|
+
paths: string[];
|
|
289
|
+
}>;
|
|
290
|
+
handler: ({ paths }: {
|
|
291
|
+
paths: string[];
|
|
292
|
+
}) => Promise<{
|
|
293
|
+
content: {
|
|
294
|
+
type: "text";
|
|
295
|
+
text: string;
|
|
296
|
+
}[];
|
|
297
|
+
}>;
|
|
298
|
+
};
|
|
299
|
+
get_scoring_model: {
|
|
300
|
+
description: string;
|
|
301
|
+
schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
302
|
+
handler: () => Promise<{
|
|
303
|
+
content: {
|
|
304
|
+
type: "text";
|
|
305
|
+
text: string;
|
|
306
|
+
}[];
|
|
307
|
+
}>;
|
|
308
|
+
};
|
|
309
|
+
set_scoring_weights: {
|
|
310
|
+
description: string;
|
|
311
|
+
schema: z.ZodObject<{
|
|
312
|
+
weights: z.ZodObject<{
|
|
313
|
+
intent: z.ZodNumber;
|
|
314
|
+
icp_fit: z.ZodNumber;
|
|
315
|
+
account: z.ZodNumber;
|
|
316
|
+
engagement: z.ZodNumber;
|
|
317
|
+
risk: z.ZodNumber;
|
|
318
|
+
}, "strip", z.ZodTypeAny, {
|
|
319
|
+
intent: number;
|
|
320
|
+
icp_fit: number;
|
|
321
|
+
account: number;
|
|
322
|
+
engagement: number;
|
|
323
|
+
risk: number;
|
|
324
|
+
}, {
|
|
325
|
+
intent: number;
|
|
326
|
+
icp_fit: number;
|
|
327
|
+
account: number;
|
|
328
|
+
engagement: number;
|
|
329
|
+
risk: number;
|
|
330
|
+
}>;
|
|
331
|
+
name: z.ZodOptional<z.ZodString>;
|
|
332
|
+
}, "strip", z.ZodTypeAny, {
|
|
333
|
+
weights: {
|
|
334
|
+
intent: number;
|
|
335
|
+
icp_fit: number;
|
|
336
|
+
account: number;
|
|
337
|
+
engagement: number;
|
|
338
|
+
risk: number;
|
|
339
|
+
};
|
|
340
|
+
name?: string | undefined;
|
|
341
|
+
}, {
|
|
342
|
+
weights: {
|
|
343
|
+
intent: number;
|
|
344
|
+
icp_fit: number;
|
|
345
|
+
account: number;
|
|
346
|
+
engagement: number;
|
|
347
|
+
risk: number;
|
|
348
|
+
};
|
|
349
|
+
name?: string | undefined;
|
|
350
|
+
}>;
|
|
351
|
+
handler: ({ weights, name, }: {
|
|
352
|
+
weights: {
|
|
353
|
+
intent: number;
|
|
354
|
+
icp_fit: number;
|
|
355
|
+
account: number;
|
|
356
|
+
engagement: number;
|
|
357
|
+
risk: number;
|
|
358
|
+
};
|
|
359
|
+
name?: string;
|
|
360
|
+
}) => Promise<{
|
|
361
|
+
content: {
|
|
362
|
+
type: "text";
|
|
363
|
+
text: string;
|
|
364
|
+
}[];
|
|
365
|
+
}>;
|
|
366
|
+
};
|
|
367
|
+
invite_teammate: {
|
|
368
|
+
description: string;
|
|
369
|
+
schema: z.ZodObject<{
|
|
370
|
+
email: z.ZodString;
|
|
371
|
+
role: z.ZodOptional<z.ZodEnum<["owner", "admin", "member"]>>;
|
|
372
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
373
|
+
}, "strip", z.ZodTypeAny, {
|
|
374
|
+
email: string;
|
|
375
|
+
orgId?: string | undefined;
|
|
376
|
+
role?: "owner" | "admin" | "member" | undefined;
|
|
377
|
+
}, {
|
|
378
|
+
email: string;
|
|
379
|
+
orgId?: string | undefined;
|
|
380
|
+
role?: "owner" | "admin" | "member" | undefined;
|
|
381
|
+
}>;
|
|
382
|
+
handler: ({ email, role, orgId, }: {
|
|
383
|
+
email: string;
|
|
384
|
+
role?: "owner" | "admin" | "member";
|
|
385
|
+
orgId?: string;
|
|
386
|
+
}) => Promise<{
|
|
387
|
+
content: {
|
|
388
|
+
type: "text";
|
|
389
|
+
text: string;
|
|
390
|
+
}[];
|
|
391
|
+
}>;
|
|
392
|
+
};
|
|
393
|
+
set_engagement_analytics: {
|
|
394
|
+
description: string;
|
|
395
|
+
schema: z.ZodObject<{
|
|
396
|
+
profile: z.ZodOptional<z.ZodEnum<["saas", "ecommerce", "marketplace", "agency", "mobile-app", "custom"]>>;
|
|
397
|
+
qualifyingEvents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
398
|
+
activationEvents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
399
|
+
churnWindowDays: z.ZodOptional<z.ZodNumber>;
|
|
400
|
+
lifecycleEventMap: z.ZodOptional<z.ZodObject<{
|
|
401
|
+
overridden: z.ZodBoolean;
|
|
402
|
+
rules: z.ZodArray<z.ZodObject<{
|
|
403
|
+
event_name: z.ZodString;
|
|
404
|
+
to_stage: z.ZodString;
|
|
405
|
+
}, "strip", z.ZodTypeAny, {
|
|
406
|
+
event_name: string;
|
|
407
|
+
to_stage: string;
|
|
408
|
+
}, {
|
|
409
|
+
event_name: string;
|
|
410
|
+
to_stage: string;
|
|
411
|
+
}>, "many">;
|
|
412
|
+
}, "strip", z.ZodTypeAny, {
|
|
413
|
+
overridden: boolean;
|
|
414
|
+
rules: {
|
|
415
|
+
event_name: string;
|
|
416
|
+
to_stage: string;
|
|
417
|
+
}[];
|
|
418
|
+
}, {
|
|
419
|
+
overridden: boolean;
|
|
420
|
+
rules: {
|
|
421
|
+
event_name: string;
|
|
422
|
+
to_stage: string;
|
|
423
|
+
}[];
|
|
424
|
+
}>>;
|
|
425
|
+
}, "strip", z.ZodTypeAny, {
|
|
426
|
+
profile?: "ecommerce" | "marketplace" | "agency" | "custom" | "saas" | "mobile-app" | undefined;
|
|
427
|
+
qualifyingEvents?: string[] | undefined;
|
|
428
|
+
activationEvents?: string[] | undefined;
|
|
429
|
+
churnWindowDays?: number | undefined;
|
|
430
|
+
lifecycleEventMap?: {
|
|
431
|
+
overridden: boolean;
|
|
432
|
+
rules: {
|
|
433
|
+
event_name: string;
|
|
434
|
+
to_stage: string;
|
|
435
|
+
}[];
|
|
436
|
+
} | undefined;
|
|
437
|
+
}, {
|
|
438
|
+
profile?: "ecommerce" | "marketplace" | "agency" | "custom" | "saas" | "mobile-app" | undefined;
|
|
439
|
+
qualifyingEvents?: string[] | undefined;
|
|
440
|
+
activationEvents?: string[] | undefined;
|
|
441
|
+
churnWindowDays?: number | undefined;
|
|
442
|
+
lifecycleEventMap?: {
|
|
443
|
+
overridden: boolean;
|
|
444
|
+
rules: {
|
|
445
|
+
event_name: string;
|
|
446
|
+
to_stage: string;
|
|
447
|
+
}[];
|
|
448
|
+
} | undefined;
|
|
449
|
+
}>;
|
|
450
|
+
handler: (args: {
|
|
451
|
+
profile?: "saas" | "ecommerce" | "marketplace" | "agency" | "mobile-app" | "custom";
|
|
452
|
+
qualifyingEvents?: string[];
|
|
453
|
+
activationEvents?: string[];
|
|
454
|
+
churnWindowDays?: number;
|
|
455
|
+
lifecycleEventMap?: {
|
|
456
|
+
overridden: boolean;
|
|
457
|
+
rules: Array<{
|
|
458
|
+
event_name: string;
|
|
459
|
+
to_stage: string;
|
|
460
|
+
}>;
|
|
461
|
+
};
|
|
462
|
+
}) => Promise<{
|
|
463
|
+
content: {
|
|
464
|
+
type: "text";
|
|
465
|
+
text: string;
|
|
466
|
+
}[];
|
|
467
|
+
}>;
|
|
468
|
+
};
|
|
469
|
+
set_app_platforms: {
|
|
470
|
+
description: string;
|
|
471
|
+
schema: z.ZodObject<{
|
|
472
|
+
platforms: z.ZodArray<z.ZodEnum<["ios", "android", "web"]>, "many">;
|
|
473
|
+
outcome: z.ZodOptional<z.ZodEnum<["behavior", "ad-roi", "partners"]>>;
|
|
474
|
+
attributionWindows: z.ZodOptional<z.ZodObject<{
|
|
475
|
+
click_through: z.ZodOptional<z.ZodNumber>;
|
|
476
|
+
view_through: z.ZodOptional<z.ZodNumber>;
|
|
477
|
+
reattribution: z.ZodOptional<z.ZodNumber>;
|
|
478
|
+
reengagement: z.ZodOptional<z.ZodNumber>;
|
|
479
|
+
}, "strip", z.ZodTypeAny, {
|
|
480
|
+
click_through?: number | undefined;
|
|
481
|
+
view_through?: number | undefined;
|
|
482
|
+
reattribution?: number | undefined;
|
|
483
|
+
reengagement?: number | undefined;
|
|
484
|
+
}, {
|
|
485
|
+
click_through?: number | undefined;
|
|
486
|
+
view_through?: number | undefined;
|
|
487
|
+
reattribution?: number | undefined;
|
|
488
|
+
reengagement?: number | undefined;
|
|
489
|
+
}>>;
|
|
490
|
+
}, "strip", z.ZodTypeAny, {
|
|
491
|
+
platforms: ("ios" | "android" | "web")[];
|
|
492
|
+
outcome?: "behavior" | "ad-roi" | "partners" | undefined;
|
|
493
|
+
attributionWindows?: {
|
|
494
|
+
click_through?: number | undefined;
|
|
495
|
+
view_through?: number | undefined;
|
|
496
|
+
reattribution?: number | undefined;
|
|
497
|
+
reengagement?: number | undefined;
|
|
498
|
+
} | undefined;
|
|
499
|
+
}, {
|
|
500
|
+
platforms: ("ios" | "android" | "web")[];
|
|
501
|
+
outcome?: "behavior" | "ad-roi" | "partners" | undefined;
|
|
502
|
+
attributionWindows?: {
|
|
503
|
+
click_through?: number | undefined;
|
|
504
|
+
view_through?: number | undefined;
|
|
505
|
+
reattribution?: number | undefined;
|
|
506
|
+
reengagement?: number | undefined;
|
|
507
|
+
} | undefined;
|
|
508
|
+
}>;
|
|
509
|
+
handler: (args: {
|
|
510
|
+
platforms: Array<"ios" | "android" | "web">;
|
|
511
|
+
outcome?: "behavior" | "ad-roi" | "partners";
|
|
512
|
+
attributionWindows?: {
|
|
513
|
+
click_through?: number;
|
|
514
|
+
view_through?: number;
|
|
515
|
+
reattribution?: number;
|
|
516
|
+
reengagement?: number;
|
|
517
|
+
};
|
|
518
|
+
}) => Promise<{
|
|
519
|
+
content: {
|
|
520
|
+
type: "text";
|
|
521
|
+
text: string;
|
|
522
|
+
}[];
|
|
523
|
+
}>;
|
|
524
|
+
};
|
|
525
|
+
set_attribution_model: {
|
|
526
|
+
description: string;
|
|
527
|
+
schema: z.ZodObject<{
|
|
528
|
+
attributionModel: z.ZodEnum<["first_touch", "last_touch", "linear", "time_decay"]>;
|
|
529
|
+
}, "strip", z.ZodTypeAny, {
|
|
530
|
+
attributionModel: "first_touch" | "last_touch" | "linear" | "time_decay";
|
|
531
|
+
}, {
|
|
532
|
+
attributionModel: "first_touch" | "last_touch" | "linear" | "time_decay";
|
|
533
|
+
}>;
|
|
534
|
+
handler: ({ attributionModel, }: {
|
|
535
|
+
attributionModel: "first_touch" | "last_touch" | "linear" | "time_decay";
|
|
536
|
+
}) => Promise<{
|
|
537
|
+
content: {
|
|
538
|
+
type: "text";
|
|
539
|
+
text: string;
|
|
540
|
+
}[];
|
|
541
|
+
}>;
|
|
542
|
+
};
|
|
543
|
+
start_sender_domain: {
|
|
544
|
+
description: string;
|
|
545
|
+
schema: z.ZodObject<{
|
|
546
|
+
domain: z.ZodString;
|
|
547
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
548
|
+
}, "strip", z.ZodTypeAny, {
|
|
549
|
+
domain: string;
|
|
550
|
+
orgId?: string | undefined;
|
|
551
|
+
}, {
|
|
552
|
+
domain: string;
|
|
553
|
+
orgId?: string | undefined;
|
|
554
|
+
}>;
|
|
555
|
+
handler: ({ domain, orgId }: {
|
|
556
|
+
domain: string;
|
|
557
|
+
orgId?: string;
|
|
558
|
+
}) => Promise<{
|
|
559
|
+
content: {
|
|
560
|
+
type: "text";
|
|
561
|
+
text: string;
|
|
562
|
+
}[];
|
|
563
|
+
}>;
|
|
564
|
+
};
|
|
565
|
+
get_sender_domain: {
|
|
566
|
+
description: string;
|
|
567
|
+
schema: z.ZodObject<{
|
|
568
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
569
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
570
|
+
}, "strip", z.ZodTypeAny, {
|
|
571
|
+
orgId?: string | undefined;
|
|
572
|
+
domain?: string | undefined;
|
|
573
|
+
}, {
|
|
574
|
+
orgId?: string | undefined;
|
|
575
|
+
domain?: string | undefined;
|
|
576
|
+
}>;
|
|
577
|
+
handler: ({ domain, orgId }: {
|
|
578
|
+
domain?: string;
|
|
579
|
+
orgId?: string;
|
|
580
|
+
}) => Promise<{
|
|
581
|
+
content: {
|
|
582
|
+
type: "text";
|
|
583
|
+
text: string;
|
|
584
|
+
}[];
|
|
585
|
+
}>;
|
|
586
|
+
};
|
|
587
|
+
set_push_credentials: {
|
|
588
|
+
description: string;
|
|
589
|
+
schema: z.ZodObject<{
|
|
590
|
+
platform: z.ZodEnum<["ios", "android"]>;
|
|
591
|
+
fileContents: z.ZodString;
|
|
592
|
+
teamId: z.ZodOptional<z.ZodString>;
|
|
593
|
+
keyId: z.ZodOptional<z.ZodString>;
|
|
594
|
+
bundleId: z.ZodOptional<z.ZodString>;
|
|
595
|
+
environment: z.ZodOptional<z.ZodEnum<["production", "sandbox"]>>;
|
|
596
|
+
fcmWorkspaceId: z.ZodOptional<z.ZodString>;
|
|
597
|
+
packageName: z.ZodOptional<z.ZodString>;
|
|
598
|
+
}, "strip", z.ZodTypeAny, {
|
|
599
|
+
platform: "ios" | "android";
|
|
600
|
+
fileContents: string;
|
|
601
|
+
teamId?: string | undefined;
|
|
602
|
+
keyId?: string | undefined;
|
|
603
|
+
bundleId?: string | undefined;
|
|
604
|
+
environment?: "production" | "sandbox" | undefined;
|
|
605
|
+
fcmWorkspaceId?: string | undefined;
|
|
606
|
+
packageName?: string | undefined;
|
|
607
|
+
}, {
|
|
608
|
+
platform: "ios" | "android";
|
|
609
|
+
fileContents: string;
|
|
610
|
+
teamId?: string | undefined;
|
|
611
|
+
keyId?: string | undefined;
|
|
612
|
+
bundleId?: string | undefined;
|
|
613
|
+
environment?: "production" | "sandbox" | undefined;
|
|
614
|
+
fcmWorkspaceId?: string | undefined;
|
|
615
|
+
packageName?: string | undefined;
|
|
616
|
+
}>;
|
|
617
|
+
handler: (args: {
|
|
618
|
+
platform: "ios" | "android";
|
|
619
|
+
fileContents: string;
|
|
620
|
+
teamId?: string;
|
|
621
|
+
keyId?: string;
|
|
622
|
+
bundleId?: string;
|
|
623
|
+
environment?: "production" | "sandbox";
|
|
624
|
+
fcmWorkspaceId?: string;
|
|
625
|
+
packageName?: string;
|
|
626
|
+
}) => Promise<{
|
|
627
|
+
content: {
|
|
628
|
+
type: "text";
|
|
629
|
+
text: string;
|
|
630
|
+
}[];
|
|
631
|
+
}>;
|
|
632
|
+
};
|
|
633
|
+
set_protect_auto_pause: {
|
|
634
|
+
description: string;
|
|
635
|
+
schema: z.ZodObject<{
|
|
636
|
+
enabled: z.ZodBoolean;
|
|
637
|
+
}, "strip", z.ZodTypeAny, {
|
|
638
|
+
enabled: boolean;
|
|
639
|
+
}, {
|
|
640
|
+
enabled: boolean;
|
|
641
|
+
}>;
|
|
642
|
+
handler: ({ enabled }: {
|
|
643
|
+
enabled: boolean;
|
|
644
|
+
}) => Promise<{
|
|
645
|
+
content: {
|
|
646
|
+
type: "text";
|
|
647
|
+
text: string;
|
|
648
|
+
}[];
|
|
649
|
+
}>;
|
|
650
|
+
};
|
|
31
651
|
plan_experiment: {
|
|
32
652
|
description: string;
|
|
33
653
|
schema: z.ZodObject<{
|
|
@@ -136,7 +756,7 @@ export declare const toolDefinitions: {
|
|
|
136
756
|
targetUrl: string;
|
|
137
757
|
controlContent: string;
|
|
138
758
|
variantContent: string;
|
|
139
|
-
surface?: "
|
|
759
|
+
surface?: "web" | "mobile" | undefined;
|
|
140
760
|
targetComponent?: string | undefined;
|
|
141
761
|
targetAnchor?: string | undefined;
|
|
142
762
|
trafficSplit?: number | undefined;
|
|
@@ -154,7 +774,7 @@ export declare const toolDefinitions: {
|
|
|
154
774
|
guardrailThreshold?: number | undefined;
|
|
155
775
|
predictionMagnitude?: string | undefined;
|
|
156
776
|
dataSourceId?: string | undefined;
|
|
157
|
-
randomizationUnit?: "
|
|
777
|
+
randomizationUnit?: "account" | "device" | "visitor" | "person" | "org" | undefined;
|
|
158
778
|
minSamplePerArm?: number | undefined;
|
|
159
779
|
runtimeDays?: number | undefined;
|
|
160
780
|
preview?: boolean | undefined;
|
|
@@ -163,7 +783,7 @@ export declare const toolDefinitions: {
|
|
|
163
783
|
targetUrl: string;
|
|
164
784
|
controlContent: string;
|
|
165
785
|
variantContent: string;
|
|
166
|
-
surface?: "
|
|
786
|
+
surface?: "web" | "mobile" | undefined;
|
|
167
787
|
targetComponent?: string | undefined;
|
|
168
788
|
targetAnchor?: string | undefined;
|
|
169
789
|
trafficSplit?: number | undefined;
|
|
@@ -181,7 +801,7 @@ export declare const toolDefinitions: {
|
|
|
181
801
|
guardrailThreshold?: number | undefined;
|
|
182
802
|
predictionMagnitude?: string | undefined;
|
|
183
803
|
dataSourceId?: string | undefined;
|
|
184
|
-
randomizationUnit?: "
|
|
804
|
+
randomizationUnit?: "account" | "device" | "visitor" | "person" | "org" | undefined;
|
|
185
805
|
minSamplePerArm?: number | undefined;
|
|
186
806
|
runtimeDays?: number | undefined;
|
|
187
807
|
preview?: boolean | undefined;
|
|
@@ -503,11 +1123,11 @@ export declare const toolDefinitions: {
|
|
|
503
1123
|
onlyMeasurable: z.ZodOptional<z.ZodBoolean>;
|
|
504
1124
|
role: z.ZodOptional<z.ZodEnum<["goal", "guardrail"]>>;
|
|
505
1125
|
}, "strip", z.ZodTypeAny, {
|
|
506
|
-
onlyMeasurable?: boolean | undefined;
|
|
507
1126
|
role?: "goal" | "guardrail" | undefined;
|
|
508
|
-
}, {
|
|
509
1127
|
onlyMeasurable?: boolean | undefined;
|
|
1128
|
+
}, {
|
|
510
1129
|
role?: "goal" | "guardrail" | undefined;
|
|
1130
|
+
onlyMeasurable?: boolean | undefined;
|
|
511
1131
|
}>;
|
|
512
1132
|
handler: ({ onlyMeasurable, role }: {
|
|
513
1133
|
onlyMeasurable?: boolean;
|
|
@@ -536,7 +1156,7 @@ export declare const toolDefinitions: {
|
|
|
536
1156
|
}, "strip", z.ZodTypeAny, {
|
|
537
1157
|
experimentId: string;
|
|
538
1158
|
name?: string | undefined;
|
|
539
|
-
surface?: "
|
|
1159
|
+
surface?: "web" | "mobile" | undefined;
|
|
540
1160
|
targetUrl?: string | undefined;
|
|
541
1161
|
predictionId?: string | undefined;
|
|
542
1162
|
primaryMetricEvent?: string | undefined;
|
|
@@ -548,7 +1168,7 @@ export declare const toolDefinitions: {
|
|
|
548
1168
|
}, {
|
|
549
1169
|
experimentId: string;
|
|
550
1170
|
name?: string | undefined;
|
|
551
|
-
surface?: "
|
|
1171
|
+
surface?: "web" | "mobile" | undefined;
|
|
552
1172
|
targetUrl?: string | undefined;
|
|
553
1173
|
predictionId?: string | undefined;
|
|
554
1174
|
primaryMetricEvent?: string | undefined;
|
|
@@ -620,7 +1240,7 @@ export declare const toolDefinitions: {
|
|
|
620
1240
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
621
1241
|
primaryMetricEvent: z.ZodOptional<z.ZodString>;
|
|
622
1242
|
}, "strip", z.ZodTypeAny, {
|
|
623
|
-
surface?: "
|
|
1243
|
+
surface?: "web" | "mobile" | undefined;
|
|
624
1244
|
targetUrl?: string | undefined;
|
|
625
1245
|
targetComponent?: string | undefined;
|
|
626
1246
|
targetAnchor?: string | undefined;
|
|
@@ -628,7 +1248,7 @@ export declare const toolDefinitions: {
|
|
|
628
1248
|
dataSourceId?: string | undefined;
|
|
629
1249
|
experimentId?: string | undefined;
|
|
630
1250
|
}, {
|
|
631
|
-
surface?: "
|
|
1251
|
+
surface?: "web" | "mobile" | undefined;
|
|
632
1252
|
targetUrl?: string | undefined;
|
|
633
1253
|
targetComponent?: string | undefined;
|
|
634
1254
|
targetAnchor?: string | undefined;
|
|
@@ -1249,17 +1869,17 @@ export declare const toolDefinitions: {
|
|
|
1249
1869
|
}, "strip", z.ZodTypeAny, {
|
|
1250
1870
|
type: string;
|
|
1251
1871
|
email?: string | undefined;
|
|
1252
|
-
|
|
1872
|
+
environment?: "localhost" | "production" | "preview" | undefined;
|
|
1253
1873
|
data?: Record<string, unknown> | undefined;
|
|
1254
|
-
|
|
1874
|
+
visitorId?: string | undefined;
|
|
1255
1875
|
release_channel?: string | undefined;
|
|
1256
1876
|
idempotencyKey?: string | undefined;
|
|
1257
1877
|
}, {
|
|
1258
1878
|
type: string;
|
|
1259
1879
|
email?: string | undefined;
|
|
1260
|
-
|
|
1880
|
+
environment?: "localhost" | "production" | "preview" | undefined;
|
|
1261
1881
|
data?: Record<string, unknown> | undefined;
|
|
1262
|
-
|
|
1882
|
+
visitorId?: string | undefined;
|
|
1263
1883
|
release_channel?: string | undefined;
|
|
1264
1884
|
idempotencyKey?: string | undefined;
|
|
1265
1885
|
}>;
|
|
@@ -1535,12 +2155,12 @@ export declare const toolDefinitions: {
|
|
|
1535
2155
|
}, "strip", z.ZodTypeAny, {
|
|
1536
2156
|
search?: string | undefined;
|
|
1537
2157
|
pipeline?: "transactional" | "marketing" | undefined;
|
|
1538
|
-
channel?: "email" | "
|
|
2158
|
+
channel?: "email" | "mobile_push" | "inbox" | "web_push" | undefined;
|
|
1539
2159
|
includeArchived?: boolean | undefined;
|
|
1540
2160
|
}, {
|
|
1541
2161
|
search?: string | undefined;
|
|
1542
2162
|
pipeline?: "transactional" | "marketing" | undefined;
|
|
1543
|
-
channel?: "email" | "
|
|
2163
|
+
channel?: "email" | "mobile_push" | "inbox" | "web_push" | undefined;
|
|
1544
2164
|
includeArchived?: boolean | undefined;
|
|
1545
2165
|
}>;
|
|
1546
2166
|
handler: (args: {
|
|
@@ -1670,19 +2290,19 @@ export declare const toolDefinitions: {
|
|
|
1670
2290
|
communicationId: string;
|
|
1671
2291
|
channels?: string[] | undefined;
|
|
1672
2292
|
status?: "active" | "draft" | "paused" | undefined;
|
|
2293
|
+
intent?: "replace" | "compete" | undefined;
|
|
1673
2294
|
subject?: string | undefined;
|
|
1674
2295
|
slots?: Record<string, string> | undefined;
|
|
1675
2296
|
audience_bucket?: "production" | "beta" | "dev" | undefined;
|
|
1676
|
-
intent?: "replace" | "compete" | undefined;
|
|
1677
2297
|
confirmLiveExperiment?: boolean | undefined;
|
|
1678
2298
|
}, {
|
|
1679
2299
|
communicationId: string;
|
|
1680
2300
|
channels?: string[] | undefined;
|
|
1681
2301
|
status?: "active" | "draft" | "paused" | undefined;
|
|
2302
|
+
intent?: "replace" | "compete" | undefined;
|
|
1682
2303
|
subject?: string | undefined;
|
|
1683
2304
|
slots?: Record<string, string> | undefined;
|
|
1684
2305
|
audience_bucket?: "production" | "beta" | "dev" | undefined;
|
|
1685
|
-
intent?: "replace" | "compete" | undefined;
|
|
1686
2306
|
confirmLiveExperiment?: boolean | undefined;
|
|
1687
2307
|
}>;
|
|
1688
2308
|
handler: (args: {
|
|
@@ -1721,19 +2341,19 @@ export declare const toolDefinitions: {
|
|
|
1721
2341
|
durationDays: z.ZodOptional<z.ZodNumber>;
|
|
1722
2342
|
}, "strip", z.ZodTypeAny, {
|
|
1723
2343
|
communicationId: string;
|
|
2344
|
+
intent?: "replace" | "compete" | undefined;
|
|
1724
2345
|
confidence?: number | undefined;
|
|
1725
2346
|
beliefId?: string | undefined;
|
|
1726
2347
|
hypothesis?: string | undefined;
|
|
1727
|
-
intent?: "replace" | "compete" | undefined;
|
|
1728
2348
|
confirmLiveExperiment?: boolean | undefined;
|
|
1729
2349
|
hostJourneyId?: string | undefined;
|
|
1730
2350
|
durationDays?: number | undefined;
|
|
1731
2351
|
}, {
|
|
1732
2352
|
communicationId: string;
|
|
2353
|
+
intent?: "replace" | "compete" | undefined;
|
|
1733
2354
|
confidence?: number | undefined;
|
|
1734
2355
|
beliefId?: string | undefined;
|
|
1735
2356
|
hypothesis?: string | undefined;
|
|
1736
|
-
intent?: "replace" | "compete" | undefined;
|
|
1737
2357
|
confirmLiveExperiment?: boolean | undefined;
|
|
1738
2358
|
hostJourneyId?: string | undefined;
|
|
1739
2359
|
durationDays?: number | undefined;
|
|
@@ -2448,7 +3068,7 @@ export declare const toolDefinitions: {
|
|
|
2448
3068
|
mode?: "duration" | "until_event" | undefined;
|
|
2449
3069
|
commId?: string | undefined;
|
|
2450
3070
|
commVersion?: number | undefined;
|
|
2451
|
-
channels?: ("email" | "
|
|
3071
|
+
channels?: ("email" | "mobile_push" | "web_push" | "in_app_push")[] | undefined;
|
|
2452
3072
|
triggerContractId?: string | undefined;
|
|
2453
3073
|
durationIso?: string | undefined;
|
|
2454
3074
|
deadlineIso?: string | undefined;
|
|
@@ -2459,7 +3079,7 @@ export declare const toolDefinitions: {
|
|
|
2459
3079
|
mode?: "duration" | "until_event" | undefined;
|
|
2460
3080
|
commId?: string | undefined;
|
|
2461
3081
|
commVersion?: number | undefined;
|
|
2462
|
-
channels?: ("email" | "
|
|
3082
|
+
channels?: ("email" | "mobile_push" | "web_push" | "in_app_push")[] | undefined;
|
|
2463
3083
|
triggerContractId?: string | undefined;
|
|
2464
3084
|
durationIso?: string | undefined;
|
|
2465
3085
|
deadlineIso?: string | undefined;
|
|
@@ -2539,16 +3159,16 @@ export declare const toolDefinitions: {
|
|
|
2539
3159
|
}, "strip", z.ZodTypeAny, {
|
|
2540
3160
|
kind: "event_not_fired" | "attribute" | "event_fired";
|
|
2541
3161
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3162
|
+
event_name?: string | undefined;
|
|
2542
3163
|
field_path?: string | undefined;
|
|
2543
3164
|
operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
|
|
2544
|
-
event_name?: string | undefined;
|
|
2545
3165
|
window_days?: number | undefined;
|
|
2546
3166
|
}, {
|
|
2547
3167
|
kind: "event_not_fired" | "attribute" | "event_fired";
|
|
2548
3168
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3169
|
+
event_name?: string | undefined;
|
|
2549
3170
|
field_path?: string | undefined;
|
|
2550
3171
|
operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
|
|
2551
|
-
event_name?: string | undefined;
|
|
2552
3172
|
window_days?: number | undefined;
|
|
2553
3173
|
}>;
|
|
2554
3174
|
whenTrueCommId: z.ZodString;
|
|
@@ -2559,26 +3179,26 @@ export declare const toolDefinitions: {
|
|
|
2559
3179
|
condition: {
|
|
2560
3180
|
kind: "event_not_fired" | "attribute" | "event_fired";
|
|
2561
3181
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3182
|
+
event_name?: string | undefined;
|
|
2562
3183
|
field_path?: string | undefined;
|
|
2563
3184
|
operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
|
|
2564
|
-
event_name?: string | undefined;
|
|
2565
3185
|
window_days?: number | undefined;
|
|
2566
3186
|
};
|
|
2567
3187
|
whenTrueCommId: string;
|
|
2568
|
-
channels?: ("email" | "
|
|
3188
|
+
channels?: ("email" | "mobile_push" | "web_push" | "in_app_push")[] | undefined;
|
|
2569
3189
|
whenFalseCommId?: string | undefined;
|
|
2570
3190
|
}, {
|
|
2571
3191
|
journeyId: string;
|
|
2572
3192
|
condition: {
|
|
2573
3193
|
kind: "event_not_fired" | "attribute" | "event_fired";
|
|
2574
3194
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
3195
|
+
event_name?: string | undefined;
|
|
2575
3196
|
field_path?: string | undefined;
|
|
2576
3197
|
operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
|
|
2577
|
-
event_name?: string | undefined;
|
|
2578
3198
|
window_days?: number | undefined;
|
|
2579
3199
|
};
|
|
2580
3200
|
whenTrueCommId: string;
|
|
2581
|
-
channels?: ("email" | "
|
|
3201
|
+
channels?: ("email" | "mobile_push" | "web_push" | "in_app_push")[] | undefined;
|
|
2582
3202
|
whenFalseCommId?: string | undefined;
|
|
2583
3203
|
}>;
|
|
2584
3204
|
handler: (args: {
|
|
@@ -2845,9 +3465,9 @@ export declare const toolDefinitions: {
|
|
|
2845
3465
|
label: z.ZodOptional<z.ZodString>;
|
|
2846
3466
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2847
3467
|
}, "strip", z.ZodTypeAny, {
|
|
3468
|
+
enabled: boolean;
|
|
2848
3469
|
journeyId: string;
|
|
2849
3470
|
triggerContractId: string;
|
|
2850
|
-
enabled: boolean;
|
|
2851
3471
|
label?: string | undefined;
|
|
2852
3472
|
}, {
|
|
2853
3473
|
journeyId: string;
|
|
@@ -3091,12 +3711,12 @@ export declare const toolDefinitions: {
|
|
|
3091
3711
|
wired: z.ZodOptional<z.ZodBoolean>;
|
|
3092
3712
|
}, "strip", z.ZodTypeAny, {
|
|
3093
3713
|
name: string;
|
|
3094
|
-
surface: "
|
|
3714
|
+
surface: "web" | "mobile" | "server";
|
|
3095
3715
|
wired?: boolean | undefined;
|
|
3096
3716
|
note?: string | undefined;
|
|
3097
3717
|
}, {
|
|
3098
3718
|
name: string;
|
|
3099
|
-
surface: "
|
|
3719
|
+
surface: "web" | "mobile" | "server";
|
|
3100
3720
|
wired?: boolean | undefined;
|
|
3101
3721
|
note?: string | undefined;
|
|
3102
3722
|
}>, "many">;
|
|
@@ -3104,7 +3724,7 @@ export declare const toolDefinitions: {
|
|
|
3104
3724
|
}, "strip", z.ZodTypeAny, {
|
|
3105
3725
|
events: {
|
|
3106
3726
|
name: string;
|
|
3107
|
-
surface: "
|
|
3727
|
+
surface: "web" | "mobile" | "server";
|
|
3108
3728
|
wired?: boolean | undefined;
|
|
3109
3729
|
note?: string | undefined;
|
|
3110
3730
|
}[];
|
|
@@ -3112,7 +3732,7 @@ export declare const toolDefinitions: {
|
|
|
3112
3732
|
}, {
|
|
3113
3733
|
events: {
|
|
3114
3734
|
name: string;
|
|
3115
|
-
surface: "
|
|
3735
|
+
surface: "web" | "mobile" | "server";
|
|
3116
3736
|
wired?: boolean | undefined;
|
|
3117
3737
|
note?: string | undefined;
|
|
3118
3738
|
}[];
|
|
@@ -3145,14 +3765,14 @@ export declare const toolDefinitions: {
|
|
|
3145
3765
|
}, "strip", z.ZodTypeAny, {
|
|
3146
3766
|
kind: "pr" | "issue";
|
|
3147
3767
|
experimentId: string;
|
|
3148
|
-
system: "
|
|
3768
|
+
system: "linear" | "github" | "github-issues" | "jira" | "trello";
|
|
3149
3769
|
externalId: string;
|
|
3150
3770
|
url?: string | undefined;
|
|
3151
3771
|
repo?: string | undefined;
|
|
3152
3772
|
}, {
|
|
3153
3773
|
kind: "pr" | "issue";
|
|
3154
3774
|
experimentId: string;
|
|
3155
|
-
system: "
|
|
3775
|
+
system: "linear" | "github" | "github-issues" | "jira" | "trello";
|
|
3156
3776
|
externalId: string;
|
|
3157
3777
|
url?: string | undefined;
|
|
3158
3778
|
repo?: string | undefined;
|
|
@@ -3293,13 +3913,17 @@ export declare const toolDefinitions: {
|
|
|
3293
3913
|
description: string;
|
|
3294
3914
|
schema: z.ZodObject<{
|
|
3295
3915
|
type: z.ZodString;
|
|
3916
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
3296
3917
|
}, "strip", z.ZodTypeAny, {
|
|
3297
3918
|
type: string;
|
|
3919
|
+
orgId?: string | undefined;
|
|
3298
3920
|
}, {
|
|
3299
3921
|
type: string;
|
|
3922
|
+
orgId?: string | undefined;
|
|
3300
3923
|
}>;
|
|
3301
|
-
handler: ({ type }: {
|
|
3924
|
+
handler: ({ type, orgId }: {
|
|
3302
3925
|
type: string;
|
|
3926
|
+
orgId?: string;
|
|
3303
3927
|
}) => Promise<{
|
|
3304
3928
|
content: {
|
|
3305
3929
|
type: "text";
|
|
@@ -3456,7 +4080,7 @@ export declare const toolDefinitions: {
|
|
|
3456
4080
|
onLose?: "auto" | "do_nothing" | "notify" | undefined;
|
|
3457
4081
|
writeRepos?: string[] | undefined;
|
|
3458
4082
|
githubVisibility?: "full" | "minimal" | "off" | undefined;
|
|
3459
|
-
commitConvention?: "custom" | "
|
|
4083
|
+
commitConvention?: "custom" | "none" | "conventional" | undefined;
|
|
3460
4084
|
branchConvention?: "custom" | "feature" | "apex" | "feat" | "chore" | undefined;
|
|
3461
4085
|
workingHours?: "anytime" | "off_hours" | "business_hours" | undefined;
|
|
3462
4086
|
}, {
|
|
@@ -3464,7 +4088,7 @@ export declare const toolDefinitions: {
|
|
|
3464
4088
|
onLose?: "auto" | "do_nothing" | "notify" | undefined;
|
|
3465
4089
|
writeRepos?: string[] | undefined;
|
|
3466
4090
|
githubVisibility?: "full" | "minimal" | "off" | undefined;
|
|
3467
|
-
commitConvention?: "custom" | "
|
|
4091
|
+
commitConvention?: "custom" | "none" | "conventional" | undefined;
|
|
3468
4092
|
branchConvention?: "custom" | "feature" | "apex" | "feat" | "chore" | undefined;
|
|
3469
4093
|
workingHours?: "anytime" | "off_hours" | "business_hours" | undefined;
|
|
3470
4094
|
}>;
|