@apex-inc/mcp-server 0.64.1 → 0.66.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/letter-blocks.d.ts +15 -3
- package/dist/letter-blocks.d.ts.map +1 -1
- package/dist/letter-blocks.js +28 -1
- package/dist/letter-blocks.js.map +1 -1
- package/dist/setup-catchup-tools.d.ts +130 -4
- package/dist/setup-catchup-tools.d.ts.map +1 -1
- package/dist/setup-catchup-tools.js +205 -14
- package/dist/setup-catchup-tools.js.map +1 -1
- package/dist/tool-groups.d.ts.map +1 -1
- package/dist/tool-groups.js +12 -1
- package/dist/tool-groups.js.map +1 -1
- package/dist/tool-shared.d.ts +23 -2
- package/dist/tool-shared.d.ts.map +1 -1
- package/dist/tool-shared.js +36 -2
- package/dist/tool-shared.js.map +1 -1
- package/dist/tools/context.d.ts +33 -5
- package/dist/tools/context.d.ts.map +1 -1
- package/dist/tools/context.js +48 -6
- package/dist/tools/context.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 +107 -19
- package/dist/tools/experiments.js.map +1 -1
- package/dist/tools/letters.d.ts +214 -29
- package/dist/tools/letters.d.ts.map +1 -1
- package/dist/tools/letters.js +325 -26
- package/dist/tools/letters.js.map +1 -1
- package/dist/tools/measurement.d.ts +68 -7
- package/dist/tools/measurement.d.ts.map +1 -1
- package/dist/tools/measurement.js +149 -41
- 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 +588 -63
- 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-communications/SKILL.md +4 -3
- package/skills/apex-experimentation/SKILL.md +12 -0
- package/skills/apex-integration-cookbook/SKILL.md +1 -1
- package/skills/apex-setup/SKILL.md +1 -1
package/dist/tools.d.ts
CHANGED
|
@@ -260,6 +260,18 @@ export declare const toolDefinitions: {
|
|
|
260
260
|
} & {
|
|
261
261
|
group: ToolGroup;
|
|
262
262
|
};
|
|
263
|
+
get_consent_posture: {
|
|
264
|
+
description: string;
|
|
265
|
+
schema: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
|
266
|
+
handler: () => Promise<{
|
|
267
|
+
content: {
|
|
268
|
+
type: "text";
|
|
269
|
+
text: string;
|
|
270
|
+
}[];
|
|
271
|
+
}>;
|
|
272
|
+
} & {
|
|
273
|
+
group: ToolGroup;
|
|
274
|
+
};
|
|
263
275
|
set_consent_posture: {
|
|
264
276
|
description: string;
|
|
265
277
|
schema: import("zod").ZodObject<{
|
|
@@ -430,6 +442,28 @@ export declare const toolDefinitions: {
|
|
|
430
442
|
mobile_push: number;
|
|
431
443
|
};
|
|
432
444
|
}>>;
|
|
445
|
+
quietHours: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
446
|
+
enabled: import("zod").ZodBoolean;
|
|
447
|
+
start_hour: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
448
|
+
end_hour: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
449
|
+
timezone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
450
|
+
use_recipient_timezone: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
451
|
+
channels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["email", "in_app", "mobile_push"]>, "many">>;
|
|
452
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
453
|
+
enabled: boolean;
|
|
454
|
+
channels?: ("email" | "in_app" | "mobile_push")[] | undefined;
|
|
455
|
+
start_hour?: number | undefined;
|
|
456
|
+
end_hour?: number | undefined;
|
|
457
|
+
timezone?: string | undefined;
|
|
458
|
+
use_recipient_timezone?: boolean | undefined;
|
|
459
|
+
}, {
|
|
460
|
+
enabled: boolean;
|
|
461
|
+
channels?: ("email" | "in_app" | "mobile_push")[] | undefined;
|
|
462
|
+
start_hour?: number | undefined;
|
|
463
|
+
end_hour?: number | undefined;
|
|
464
|
+
timezone?: string | undefined;
|
|
465
|
+
use_recipient_timezone?: boolean | undefined;
|
|
466
|
+
}>>;
|
|
433
467
|
}, "strip", import("zod").ZodTypeAny, {
|
|
434
468
|
resetToDefaults?: boolean | undefined;
|
|
435
469
|
holdoutPct?: number | undefined;
|
|
@@ -448,6 +482,14 @@ export declare const toolDefinitions: {
|
|
|
448
482
|
mobile_push: number;
|
|
449
483
|
};
|
|
450
484
|
} | undefined;
|
|
485
|
+
quietHours?: {
|
|
486
|
+
enabled: boolean;
|
|
487
|
+
channels?: ("email" | "in_app" | "mobile_push")[] | undefined;
|
|
488
|
+
start_hour?: number | undefined;
|
|
489
|
+
end_hour?: number | undefined;
|
|
490
|
+
timezone?: string | undefined;
|
|
491
|
+
use_recipient_timezone?: boolean | undefined;
|
|
492
|
+
} | undefined;
|
|
451
493
|
}, {
|
|
452
494
|
resetToDefaults?: boolean | undefined;
|
|
453
495
|
holdoutPct?: number | undefined;
|
|
@@ -466,6 +508,14 @@ export declare const toolDefinitions: {
|
|
|
466
508
|
mobile_push: number;
|
|
467
509
|
};
|
|
468
510
|
} | undefined;
|
|
511
|
+
quietHours?: {
|
|
512
|
+
enabled: boolean;
|
|
513
|
+
channels?: ("email" | "in_app" | "mobile_push")[] | undefined;
|
|
514
|
+
start_hour?: number | undefined;
|
|
515
|
+
end_hour?: number | undefined;
|
|
516
|
+
timezone?: string | undefined;
|
|
517
|
+
use_recipient_timezone?: boolean | undefined;
|
|
518
|
+
} | undefined;
|
|
469
519
|
}>;
|
|
470
520
|
handler: (args: {
|
|
471
521
|
resetToDefaults?: boolean;
|
|
@@ -485,6 +535,14 @@ export declare const toolDefinitions: {
|
|
|
485
535
|
mobile_push: number;
|
|
486
536
|
};
|
|
487
537
|
};
|
|
538
|
+
quietHours?: {
|
|
539
|
+
enabled: boolean;
|
|
540
|
+
start_hour?: number;
|
|
541
|
+
end_hour?: number;
|
|
542
|
+
timezone?: string;
|
|
543
|
+
use_recipient_timezone?: boolean;
|
|
544
|
+
channels?: Array<"email" | "in_app" | "mobile_push">;
|
|
545
|
+
};
|
|
488
546
|
}) => Promise<{
|
|
489
547
|
content: {
|
|
490
548
|
type: "text";
|
|
@@ -830,8 +888,10 @@ export declare const toolDefinitions: {
|
|
|
830
888
|
set_app_platforms: {
|
|
831
889
|
description: string;
|
|
832
890
|
schema: import("zod").ZodObject<{
|
|
833
|
-
platforms: import("zod").ZodArray<import("zod").ZodEnum<["ios", "android", "web"]>, "many"
|
|
891
|
+
platforms: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["ios", "android", "web"]>, "many">>;
|
|
834
892
|
outcome: import("zod").ZodOptional<import("zod").ZodEnum<["behavior", "ad-roi", "partners"]>>;
|
|
893
|
+
appStoreId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
894
|
+
playStoreUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
835
895
|
attributionWindows: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
836
896
|
click_through: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
837
897
|
view_through: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -849,8 +909,10 @@ export declare const toolDefinitions: {
|
|
|
849
909
|
reengagement?: number | undefined;
|
|
850
910
|
}>>;
|
|
851
911
|
}, "strip", import("zod").ZodTypeAny, {
|
|
852
|
-
platforms
|
|
912
|
+
platforms?: ("ios" | "android" | "web")[] | undefined;
|
|
853
913
|
outcome?: "behavior" | "ad-roi" | "partners" | undefined;
|
|
914
|
+
appStoreId?: string | undefined;
|
|
915
|
+
playStoreUrl?: string | undefined;
|
|
854
916
|
attributionWindows?: {
|
|
855
917
|
click_through?: number | undefined;
|
|
856
918
|
view_through?: number | undefined;
|
|
@@ -858,8 +920,10 @@ export declare const toolDefinitions: {
|
|
|
858
920
|
reengagement?: number | undefined;
|
|
859
921
|
} | undefined;
|
|
860
922
|
}, {
|
|
861
|
-
platforms
|
|
923
|
+
platforms?: ("ios" | "android" | "web")[] | undefined;
|
|
862
924
|
outcome?: "behavior" | "ad-roi" | "partners" | undefined;
|
|
925
|
+
appStoreId?: string | undefined;
|
|
926
|
+
playStoreUrl?: string | undefined;
|
|
863
927
|
attributionWindows?: {
|
|
864
928
|
click_through?: number | undefined;
|
|
865
929
|
view_through?: number | undefined;
|
|
@@ -868,8 +932,10 @@ export declare const toolDefinitions: {
|
|
|
868
932
|
} | undefined;
|
|
869
933
|
}>;
|
|
870
934
|
handler: (args: {
|
|
871
|
-
platforms
|
|
935
|
+
platforms?: Array<"ios" | "android" | "web">;
|
|
872
936
|
outcome?: "behavior" | "ad-roi" | "partners";
|
|
937
|
+
appStoreId?: string;
|
|
938
|
+
playStoreUrl?: string;
|
|
873
939
|
attributionWindows?: {
|
|
874
940
|
click_through?: number;
|
|
875
941
|
view_through?: number;
|
|
@@ -1007,50 +1073,62 @@ export declare const toolDefinitions: {
|
|
|
1007
1073
|
ios: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1008
1074
|
bundle_id: import("zod").ZodString;
|
|
1009
1075
|
team_id: import("zod").ZodString;
|
|
1076
|
+
app_store_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1010
1077
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1011
1078
|
bundle_id: string;
|
|
1012
1079
|
team_id: string;
|
|
1080
|
+
app_store_id?: string | undefined;
|
|
1013
1081
|
}, {
|
|
1014
1082
|
bundle_id: string;
|
|
1015
1083
|
team_id: string;
|
|
1084
|
+
app_store_id?: string | undefined;
|
|
1016
1085
|
}>>;
|
|
1017
1086
|
android: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1018
1087
|
package_name: import("zod").ZodString;
|
|
1019
1088
|
sha256_cert_fingerprint: import("zod").ZodString;
|
|
1089
|
+
play_store_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1020
1090
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1021
1091
|
package_name: string;
|
|
1022
1092
|
sha256_cert_fingerprint: string;
|
|
1093
|
+
play_store_url?: string | undefined;
|
|
1023
1094
|
}, {
|
|
1024
1095
|
package_name: string;
|
|
1025
1096
|
sha256_cert_fingerprint: string;
|
|
1097
|
+
play_store_url?: string | undefined;
|
|
1026
1098
|
}>>;
|
|
1027
1099
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1028
1100
|
ios?: {
|
|
1029
1101
|
bundle_id: string;
|
|
1030
1102
|
team_id: string;
|
|
1103
|
+
app_store_id?: string | undefined;
|
|
1031
1104
|
} | undefined;
|
|
1032
1105
|
android?: {
|
|
1033
1106
|
package_name: string;
|
|
1034
1107
|
sha256_cert_fingerprint: string;
|
|
1108
|
+
play_store_url?: string | undefined;
|
|
1035
1109
|
} | undefined;
|
|
1036
1110
|
}, {
|
|
1037
1111
|
ios?: {
|
|
1038
1112
|
bundle_id: string;
|
|
1039
1113
|
team_id: string;
|
|
1114
|
+
app_store_id?: string | undefined;
|
|
1040
1115
|
} | undefined;
|
|
1041
1116
|
android?: {
|
|
1042
1117
|
package_name: string;
|
|
1043
1118
|
sha256_cert_fingerprint: string;
|
|
1119
|
+
play_store_url?: string | undefined;
|
|
1044
1120
|
} | undefined;
|
|
1045
1121
|
}>;
|
|
1046
1122
|
handler: (args: {
|
|
1047
1123
|
ios?: {
|
|
1048
1124
|
bundle_id: string;
|
|
1049
1125
|
team_id: string;
|
|
1126
|
+
app_store_id?: string;
|
|
1050
1127
|
};
|
|
1051
1128
|
android?: {
|
|
1052
1129
|
package_name: string;
|
|
1053
1130
|
sha256_cert_fingerprint: string;
|
|
1131
|
+
play_store_url?: string;
|
|
1054
1132
|
};
|
|
1055
1133
|
}) => Promise<{
|
|
1056
1134
|
content: {
|
|
@@ -1281,6 +1359,9 @@ export declare const toolDefinitions: {
|
|
|
1281
1359
|
description: string;
|
|
1282
1360
|
schema: import("zod").ZodObject<{
|
|
1283
1361
|
destinationUrl: import("zod").ZodString;
|
|
1362
|
+
iosUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1363
|
+
androidUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1364
|
+
storeRouting: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1284
1365
|
placement: import("zod").ZodOptional<import("zod").ZodEnum<["paid-ad", "social-post", "social-bio", "other"]>>;
|
|
1285
1366
|
platform: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1286
1367
|
source: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1297,6 +1378,9 @@ export declare const toolDefinitions: {
|
|
|
1297
1378
|
name?: string | undefined;
|
|
1298
1379
|
platform?: string | undefined;
|
|
1299
1380
|
slug?: string | undefined;
|
|
1381
|
+
iosUrl?: string | undefined;
|
|
1382
|
+
androidUrl?: string | undefined;
|
|
1383
|
+
storeRouting?: boolean | undefined;
|
|
1300
1384
|
placement?: "other" | "paid-ad" | "social-post" | "social-bio" | undefined;
|
|
1301
1385
|
source?: string | undefined;
|
|
1302
1386
|
campaignName?: string | undefined;
|
|
@@ -1310,6 +1394,9 @@ export declare const toolDefinitions: {
|
|
|
1310
1394
|
name?: string | undefined;
|
|
1311
1395
|
platform?: string | undefined;
|
|
1312
1396
|
slug?: string | undefined;
|
|
1397
|
+
iosUrl?: string | undefined;
|
|
1398
|
+
androidUrl?: string | undefined;
|
|
1399
|
+
storeRouting?: boolean | undefined;
|
|
1313
1400
|
placement?: "other" | "paid-ad" | "social-post" | "social-bio" | undefined;
|
|
1314
1401
|
source?: string | undefined;
|
|
1315
1402
|
campaignName?: string | undefined;
|
|
@@ -1322,6 +1409,9 @@ export declare const toolDefinitions: {
|
|
|
1322
1409
|
handler: (args: {
|
|
1323
1410
|
postUrl?: string;
|
|
1324
1411
|
destinationUrl: string;
|
|
1412
|
+
iosUrl?: string;
|
|
1413
|
+
androidUrl?: string;
|
|
1414
|
+
storeRouting?: boolean;
|
|
1325
1415
|
placement?: "other" | "paid-ad" | "social-post" | "social-bio";
|
|
1326
1416
|
platform?: string;
|
|
1327
1417
|
source?: string;
|
|
@@ -1341,6 +1431,46 @@ export declare const toolDefinitions: {
|
|
|
1341
1431
|
} & {
|
|
1342
1432
|
group: ToolGroup;
|
|
1343
1433
|
};
|
|
1434
|
+
update_apex_link: {
|
|
1435
|
+
description: string;
|
|
1436
|
+
schema: import("zod").ZodObject<{
|
|
1437
|
+
slug: import("zod").ZodString;
|
|
1438
|
+
handle: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1439
|
+
destinationUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1440
|
+
iosUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1441
|
+
androidUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1442
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1443
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1444
|
+
slug: string;
|
|
1445
|
+
name?: string | undefined;
|
|
1446
|
+
handle?: string | undefined;
|
|
1447
|
+
destinationUrl?: string | undefined;
|
|
1448
|
+
iosUrl?: string | null | undefined;
|
|
1449
|
+
androidUrl?: string | null | undefined;
|
|
1450
|
+
}, {
|
|
1451
|
+
slug: string;
|
|
1452
|
+
name?: string | undefined;
|
|
1453
|
+
handle?: string | undefined;
|
|
1454
|
+
destinationUrl?: string | undefined;
|
|
1455
|
+
iosUrl?: string | null | undefined;
|
|
1456
|
+
androidUrl?: string | null | undefined;
|
|
1457
|
+
}>;
|
|
1458
|
+
handler: (args: {
|
|
1459
|
+
slug: string;
|
|
1460
|
+
handle?: string;
|
|
1461
|
+
destinationUrl?: string;
|
|
1462
|
+
iosUrl?: string | null;
|
|
1463
|
+
androidUrl?: string | null;
|
|
1464
|
+
name?: string;
|
|
1465
|
+
}) => Promise<{
|
|
1466
|
+
content: {
|
|
1467
|
+
type: "text";
|
|
1468
|
+
text: string;
|
|
1469
|
+
}[];
|
|
1470
|
+
}>;
|
|
1471
|
+
} & {
|
|
1472
|
+
group: ToolGroup;
|
|
1473
|
+
};
|
|
1344
1474
|
get_skan_schema: {
|
|
1345
1475
|
description: string;
|
|
1346
1476
|
schema: import("zod").ZodObject<{
|
|
@@ -1659,18 +1789,46 @@ export declare const toolDefinitions: {
|
|
|
1659
1789
|
set_workspace_environments: {
|
|
1660
1790
|
description: string;
|
|
1661
1791
|
schema: import("zod").ZodObject<{
|
|
1662
|
-
production_hosts: import("zod").ZodArray<import("zod").ZodString, "many"
|
|
1792
|
+
production_hosts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
1663
1793
|
beta_hosts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
1794
|
+
store_rows: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1795
|
+
sideloaded: import("zod").ZodOptional<import("zod").ZodEnum<["production", "dev"]>>;
|
|
1796
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1797
|
+
sideloaded?: "production" | "dev" | undefined;
|
|
1798
|
+
}, {
|
|
1799
|
+
sideloaded?: "production" | "dev" | undefined;
|
|
1800
|
+
}>>;
|
|
1801
|
+
sideloaded_audience: import("zod").ZodOptional<import("zod").ZodEnum<["production", "dev"]>>;
|
|
1802
|
+
app_store_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1803
|
+
play_store_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1664
1804
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1665
|
-
|
|
1805
|
+
app_store_id?: string | undefined;
|
|
1806
|
+
play_store_url?: string | undefined;
|
|
1807
|
+
production_hosts?: string[] | undefined;
|
|
1666
1808
|
beta_hosts?: string[] | undefined;
|
|
1809
|
+
store_rows?: {
|
|
1810
|
+
sideloaded?: "production" | "dev" | undefined;
|
|
1811
|
+
} | undefined;
|
|
1812
|
+
sideloaded_audience?: "production" | "dev" | undefined;
|
|
1667
1813
|
}, {
|
|
1668
|
-
|
|
1814
|
+
app_store_id?: string | undefined;
|
|
1815
|
+
play_store_url?: string | undefined;
|
|
1816
|
+
production_hosts?: string[] | undefined;
|
|
1669
1817
|
beta_hosts?: string[] | undefined;
|
|
1818
|
+
store_rows?: {
|
|
1819
|
+
sideloaded?: "production" | "dev" | undefined;
|
|
1820
|
+
} | undefined;
|
|
1821
|
+
sideloaded_audience?: "production" | "dev" | undefined;
|
|
1670
1822
|
}>;
|
|
1671
|
-
handler: ({ production_hosts, beta_hosts, }: {
|
|
1672
|
-
production_hosts
|
|
1823
|
+
handler: ({ production_hosts, beta_hosts, store_rows, sideloaded_audience, app_store_id, play_store_url, }: {
|
|
1824
|
+
production_hosts?: string[];
|
|
1673
1825
|
beta_hosts?: string[];
|
|
1826
|
+
store_rows?: {
|
|
1827
|
+
sideloaded?: "production" | "dev";
|
|
1828
|
+
};
|
|
1829
|
+
sideloaded_audience?: "production" | "dev";
|
|
1830
|
+
app_store_id?: string;
|
|
1831
|
+
play_store_url?: string;
|
|
1674
1832
|
}) => Promise<{
|
|
1675
1833
|
content: {
|
|
1676
1834
|
type: "text";
|
|
@@ -1831,6 +1989,107 @@ export declare const toolDefinitions: {
|
|
|
1831
1989
|
} & {
|
|
1832
1990
|
group: ToolGroup;
|
|
1833
1991
|
};
|
|
1992
|
+
get_identity_coverage: {
|
|
1993
|
+
description: string;
|
|
1994
|
+
schema: import("zod").ZodObject<{
|
|
1995
|
+
window: import("zod").ZodOptional<import("zod").ZodEnum<["24h", "7d", "30d", "90d"]>>;
|
|
1996
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1997
|
+
window?: "24h" | "7d" | "30d" | "90d" | undefined;
|
|
1998
|
+
}, {
|
|
1999
|
+
window?: "24h" | "7d" | "30d" | "90d" | undefined;
|
|
2000
|
+
}>;
|
|
2001
|
+
handler: ({ window }: {
|
|
2002
|
+
window?: "24h" | "7d" | "30d" | "90d";
|
|
2003
|
+
}) => Promise<{
|
|
2004
|
+
content: {
|
|
2005
|
+
type: "text";
|
|
2006
|
+
text: string;
|
|
2007
|
+
}[];
|
|
2008
|
+
isError?: undefined;
|
|
2009
|
+
} | {
|
|
2010
|
+
content: {
|
|
2011
|
+
type: "text";
|
|
2012
|
+
text: string;
|
|
2013
|
+
}[];
|
|
2014
|
+
isError: boolean;
|
|
2015
|
+
}>;
|
|
2016
|
+
} & {
|
|
2017
|
+
group: ToolGroup;
|
|
2018
|
+
};
|
|
2019
|
+
find_person: {
|
|
2020
|
+
description: string;
|
|
2021
|
+
schema: import("zod").ZodObject<{
|
|
2022
|
+
query: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2023
|
+
scope: import("zod").ZodOptional<import("zod").ZodEnum<["workspace", "org"]>>;
|
|
2024
|
+
builds: import("zod").ZodOptional<import("zod").ZodEnum<["live", "testers", "local", "unclassified", "all"]>>;
|
|
2025
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2026
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2027
|
+
query?: string | undefined;
|
|
2028
|
+
scope?: "workspace" | "org" | undefined;
|
|
2029
|
+
limit?: number | undefined;
|
|
2030
|
+
builds?: "all" | "live" | "testers" | "local" | "unclassified" | undefined;
|
|
2031
|
+
}, {
|
|
2032
|
+
query?: string | undefined;
|
|
2033
|
+
scope?: "workspace" | "org" | undefined;
|
|
2034
|
+
limit?: number | undefined;
|
|
2035
|
+
builds?: "all" | "live" | "testers" | "local" | "unclassified" | undefined;
|
|
2036
|
+
}>;
|
|
2037
|
+
handler: ({ query, scope, builds, limit, }: {
|
|
2038
|
+
query?: string;
|
|
2039
|
+
scope?: "workspace" | "org";
|
|
2040
|
+
builds?: "live" | "testers" | "local" | "unclassified" | "all";
|
|
2041
|
+
limit?: number;
|
|
2042
|
+
}) => Promise<{
|
|
2043
|
+
content: {
|
|
2044
|
+
type: "text";
|
|
2045
|
+
text: string;
|
|
2046
|
+
}[];
|
|
2047
|
+
isError: boolean;
|
|
2048
|
+
} | {
|
|
2049
|
+
content: {
|
|
2050
|
+
type: "text";
|
|
2051
|
+
text: string;
|
|
2052
|
+
}[];
|
|
2053
|
+
isError?: undefined;
|
|
2054
|
+
}>;
|
|
2055
|
+
} & {
|
|
2056
|
+
group: ToolGroup;
|
|
2057
|
+
};
|
|
2058
|
+
get_person: {
|
|
2059
|
+
description: string;
|
|
2060
|
+
schema: import("zod").ZodObject<{
|
|
2061
|
+
personId: import("zod").ZodString;
|
|
2062
|
+
includeActivity: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2063
|
+
activityLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2064
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2065
|
+
personId: string;
|
|
2066
|
+
includeActivity?: boolean | undefined;
|
|
2067
|
+
activityLimit?: number | undefined;
|
|
2068
|
+
}, {
|
|
2069
|
+
personId: string;
|
|
2070
|
+
includeActivity?: boolean | undefined;
|
|
2071
|
+
activityLimit?: number | undefined;
|
|
2072
|
+
}>;
|
|
2073
|
+
handler: ({ personId, includeActivity, activityLimit, }: {
|
|
2074
|
+
personId: string;
|
|
2075
|
+
includeActivity?: boolean;
|
|
2076
|
+
activityLimit?: number;
|
|
2077
|
+
}) => Promise<{
|
|
2078
|
+
content: {
|
|
2079
|
+
type: "text";
|
|
2080
|
+
text: string;
|
|
2081
|
+
}[];
|
|
2082
|
+
isError?: undefined;
|
|
2083
|
+
} | {
|
|
2084
|
+
content: {
|
|
2085
|
+
type: "text";
|
|
2086
|
+
text: string;
|
|
2087
|
+
}[];
|
|
2088
|
+
isError: boolean;
|
|
2089
|
+
}>;
|
|
2090
|
+
} & {
|
|
2091
|
+
group: ToolGroup;
|
|
2092
|
+
};
|
|
1834
2093
|
list_accounts: {
|
|
1835
2094
|
description: string;
|
|
1836
2095
|
schema: import("zod").ZodObject<{
|
|
@@ -2883,8 +3142,16 @@ export declare const toolDefinitions: {
|
|
|
2883
3142
|
};
|
|
2884
3143
|
list_key_events: {
|
|
2885
3144
|
description: string;
|
|
2886
|
-
schema: import("zod").ZodObject<{
|
|
2887
|
-
|
|
3145
|
+
schema: import("zod").ZodObject<{
|
|
3146
|
+
includeArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3147
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3148
|
+
includeArchived?: boolean | undefined;
|
|
3149
|
+
}, {
|
|
3150
|
+
includeArchived?: boolean | undefined;
|
|
3151
|
+
}>;
|
|
3152
|
+
handler: (args?: {
|
|
3153
|
+
includeArchived?: boolean;
|
|
3154
|
+
}) => Promise<{
|
|
2888
3155
|
content: {
|
|
2889
3156
|
type: "text";
|
|
2890
3157
|
text: string;
|
|
@@ -2961,6 +3228,7 @@ export declare const toolDefinitions: {
|
|
|
2961
3228
|
entityScope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
|
|
2962
3229
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2963
3230
|
template: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3231
|
+
position: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2964
3232
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2965
3233
|
name: string;
|
|
2966
3234
|
sources: {
|
|
@@ -2975,9 +3243,10 @@ export declare const toolDefinitions: {
|
|
|
2975
3243
|
}[] | undefined;
|
|
2976
3244
|
}[];
|
|
2977
3245
|
description?: string | undefined;
|
|
3246
|
+
position?: number | undefined;
|
|
3247
|
+
template?: string | undefined;
|
|
2978
3248
|
category?: "other" | "engagement" | "referral" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | undefined;
|
|
2979
3249
|
entityScope?: "account" | "person" | undefined;
|
|
2980
|
-
template?: string | undefined;
|
|
2981
3250
|
}, {
|
|
2982
3251
|
name: string;
|
|
2983
3252
|
sources: {
|
|
@@ -2992,9 +3261,10 @@ export declare const toolDefinitions: {
|
|
|
2992
3261
|
}[] | undefined;
|
|
2993
3262
|
}[];
|
|
2994
3263
|
description?: string | undefined;
|
|
3264
|
+
position?: number | undefined;
|
|
3265
|
+
template?: string | undefined;
|
|
2995
3266
|
category?: "other" | "engagement" | "referral" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | undefined;
|
|
2996
3267
|
entityScope?: "account" | "person" | undefined;
|
|
2997
|
-
template?: string | undefined;
|
|
2998
3268
|
}>;
|
|
2999
3269
|
handler: (args: {
|
|
3000
3270
|
name: string;
|
|
@@ -3013,6 +3283,7 @@ export declare const toolDefinitions: {
|
|
|
3013
3283
|
entityScope?: string;
|
|
3014
3284
|
description?: string;
|
|
3015
3285
|
template?: string;
|
|
3286
|
+
position?: number;
|
|
3016
3287
|
}) => Promise<{
|
|
3017
3288
|
isError?: boolean | undefined;
|
|
3018
3289
|
content: {
|
|
@@ -3070,11 +3341,13 @@ export declare const toolDefinitions: {
|
|
|
3070
3341
|
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
3342
|
entityScope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
|
|
3072
3343
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3344
|
+
position: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
3073
3345
|
isCurrentGoal: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
|
|
3074
3346
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3075
3347
|
keyEventId: string;
|
|
3076
3348
|
name?: string | undefined;
|
|
3077
3349
|
description?: string | undefined;
|
|
3350
|
+
position?: number | null | undefined;
|
|
3078
3351
|
sources?: {
|
|
3079
3352
|
type: "form_submit" | "custom_event";
|
|
3080
3353
|
event_name?: string | undefined;
|
|
@@ -3093,6 +3366,7 @@ export declare const toolDefinitions: {
|
|
|
3093
3366
|
keyEventId: string;
|
|
3094
3367
|
name?: string | undefined;
|
|
3095
3368
|
description?: string | undefined;
|
|
3369
|
+
position?: number | null | undefined;
|
|
3096
3370
|
sources?: {
|
|
3097
3371
|
type: "form_submit" | "custom_event";
|
|
3098
3372
|
event_name?: string | undefined;
|
|
@@ -3125,6 +3399,7 @@ export declare const toolDefinitions: {
|
|
|
3125
3399
|
category?: string;
|
|
3126
3400
|
entityScope?: string;
|
|
3127
3401
|
description?: string;
|
|
3402
|
+
position?: number | null;
|
|
3128
3403
|
isCurrentGoal?: true;
|
|
3129
3404
|
}) => Promise<{
|
|
3130
3405
|
isError?: boolean | undefined;
|
|
@@ -3136,7 +3411,49 @@ export declare const toolDefinitions: {
|
|
|
3136
3411
|
} & {
|
|
3137
3412
|
group: ToolGroup;
|
|
3138
3413
|
};
|
|
3139
|
-
|
|
3414
|
+
reorder_key_events: {
|
|
3415
|
+
description: string;
|
|
3416
|
+
schema: import("zod").ZodObject<{
|
|
3417
|
+
keyEventIds: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
3418
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3419
|
+
keyEventIds: string[];
|
|
3420
|
+
}, {
|
|
3421
|
+
keyEventIds: string[];
|
|
3422
|
+
}>;
|
|
3423
|
+
handler: ({ keyEventIds }: {
|
|
3424
|
+
keyEventIds: string[];
|
|
3425
|
+
}) => Promise<{
|
|
3426
|
+
isError?: boolean | undefined;
|
|
3427
|
+
content: {
|
|
3428
|
+
type: "text";
|
|
3429
|
+
text: string;
|
|
3430
|
+
}[];
|
|
3431
|
+
}>;
|
|
3432
|
+
} & {
|
|
3433
|
+
group: ToolGroup;
|
|
3434
|
+
};
|
|
3435
|
+
archive_key_event: {
|
|
3436
|
+
description: string;
|
|
3437
|
+
schema: import("zod").ZodObject<{
|
|
3438
|
+
keyEventId: import("zod").ZodString;
|
|
3439
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3440
|
+
keyEventId: string;
|
|
3441
|
+
}, {
|
|
3442
|
+
keyEventId: string;
|
|
3443
|
+
}>;
|
|
3444
|
+
handler: ({ keyEventId }: {
|
|
3445
|
+
keyEventId: string;
|
|
3446
|
+
}) => Promise<{
|
|
3447
|
+
isError?: boolean | undefined;
|
|
3448
|
+
content: {
|
|
3449
|
+
type: "text";
|
|
3450
|
+
text: string;
|
|
3451
|
+
}[];
|
|
3452
|
+
}>;
|
|
3453
|
+
} & {
|
|
3454
|
+
group: ToolGroup;
|
|
3455
|
+
};
|
|
3456
|
+
restore_key_event: {
|
|
3140
3457
|
description: string;
|
|
3141
3458
|
schema: import("zod").ZodObject<{
|
|
3142
3459
|
keyEventId: import("zod").ZodString;
|
|
@@ -3238,19 +3555,23 @@ export declare const toolDefinitions: {
|
|
|
3238
3555
|
suggestionId: import("zod").ZodString;
|
|
3239
3556
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3240
3557
|
events: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
3558
|
+
keepKeyEventId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3241
3559
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3242
3560
|
suggestionId: string;
|
|
3243
3561
|
name?: string | undefined;
|
|
3244
3562
|
events?: string[] | undefined;
|
|
3563
|
+
keepKeyEventId?: string | undefined;
|
|
3245
3564
|
}, {
|
|
3246
3565
|
suggestionId: string;
|
|
3247
3566
|
name?: string | undefined;
|
|
3248
3567
|
events?: string[] | undefined;
|
|
3568
|
+
keepKeyEventId?: string | undefined;
|
|
3249
3569
|
}>;
|
|
3250
3570
|
handler: (args: {
|
|
3251
3571
|
suggestionId: string;
|
|
3252
3572
|
name?: string;
|
|
3253
3573
|
events?: string[];
|
|
3574
|
+
keepKeyEventId?: string;
|
|
3254
3575
|
}) => Promise<{
|
|
3255
3576
|
isError?: boolean | undefined;
|
|
3256
3577
|
content: {
|
|
@@ -3869,6 +4190,7 @@ export declare const toolDefinitions: {
|
|
|
3869
4190
|
handler: ({ includeArchived }: {
|
|
3870
4191
|
includeArchived?: boolean;
|
|
3871
4192
|
}) => Promise<{
|
|
4193
|
+
isError?: boolean | undefined;
|
|
3872
4194
|
content: {
|
|
3873
4195
|
type: "text";
|
|
3874
4196
|
text: string;
|
|
@@ -3893,6 +4215,7 @@ export declare const toolDefinitions: {
|
|
|
3893
4215
|
kind: string;
|
|
3894
4216
|
name: string;
|
|
3895
4217
|
}) => Promise<{
|
|
4218
|
+
isError?: boolean | undefined;
|
|
3896
4219
|
content: {
|
|
3897
4220
|
type: "text";
|
|
3898
4221
|
text: string;
|
|
@@ -3913,6 +4236,7 @@ export declare const toolDefinitions: {
|
|
|
3913
4236
|
handler: ({ id }: {
|
|
3914
4237
|
id: string;
|
|
3915
4238
|
}) => Promise<{
|
|
4239
|
+
isError?: boolean | undefined;
|
|
3916
4240
|
content: {
|
|
3917
4241
|
type: "text";
|
|
3918
4242
|
text: string;
|
|
@@ -4212,13 +4536,13 @@ export declare const toolDefinitions: {
|
|
|
4212
4536
|
sourceConversionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4213
4537
|
}, "strip", import("zod").ZodTypeAny, {
|
|
4214
4538
|
deadline: string;
|
|
4215
|
-
metric: string;
|
|
4216
4539
|
target: number;
|
|
4540
|
+
metric: string;
|
|
4217
4541
|
sourceConversionId?: string | undefined;
|
|
4218
4542
|
}, {
|
|
4219
4543
|
deadline: string;
|
|
4220
|
-
metric: string;
|
|
4221
4544
|
target: number;
|
|
4545
|
+
metric: string;
|
|
4222
4546
|
sourceConversionId?: string | undefined;
|
|
4223
4547
|
}>;
|
|
4224
4548
|
handler: (args: {
|
|
@@ -5253,12 +5577,31 @@ export declare const toolDefinitions: {
|
|
|
5253
5577
|
};
|
|
5254
5578
|
list_communication_themes: {
|
|
5255
5579
|
description: string;
|
|
5256
|
-
schema: import("zod").ZodObject<{
|
|
5257
|
-
|
|
5580
|
+
schema: import("zod").ZodObject<{
|
|
5581
|
+
scope: import("zod").ZodOptional<import("zod").ZodEnum<["workspace", "org"]>>;
|
|
5582
|
+
org_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5583
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
5584
|
+
org_id?: string | undefined;
|
|
5585
|
+
scope?: "workspace" | "org" | undefined;
|
|
5586
|
+
}, {
|
|
5587
|
+
org_id?: string | undefined;
|
|
5588
|
+
scope?: "workspace" | "org" | undefined;
|
|
5589
|
+
}>;
|
|
5590
|
+
handler: (args: {
|
|
5591
|
+
scope?: "workspace" | "org";
|
|
5592
|
+
org_id?: string;
|
|
5593
|
+
}) => Promise<{
|
|
5258
5594
|
content: {
|
|
5259
5595
|
type: "text";
|
|
5260
5596
|
text: string;
|
|
5261
5597
|
}[];
|
|
5598
|
+
isError: boolean;
|
|
5599
|
+
} | {
|
|
5600
|
+
content: {
|
|
5601
|
+
type: "text";
|
|
5602
|
+
text: string;
|
|
5603
|
+
}[];
|
|
5604
|
+
isError?: undefined;
|
|
5262
5605
|
}>;
|
|
5263
5606
|
} & {
|
|
5264
5607
|
group: ToolGroup;
|
|
@@ -5266,24 +5609,44 @@ export declare const toolDefinitions: {
|
|
|
5266
5609
|
create_communication_theme: {
|
|
5267
5610
|
description: string;
|
|
5268
5611
|
schema: import("zod").ZodObject<{
|
|
5269
|
-
name: import("zod").ZodString
|
|
5612
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5613
|
+
scope: import("zod").ZodOptional<import("zod").ZodEnum<["workspace", "org"]>>;
|
|
5614
|
+
org_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5270
5615
|
clone_from_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5616
|
+
promote_theme_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5617
|
+
promote_from_workspace_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5618
|
+
set_default: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5271
5619
|
style: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
5272
5620
|
roles: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
5273
5621
|
}, "strip", import("zod").ZodTypeAny, {
|
|
5274
|
-
|
|
5622
|
+
org_id?: string | undefined;
|
|
5623
|
+
name?: string | undefined;
|
|
5275
5624
|
style?: Record<string, unknown> | undefined;
|
|
5625
|
+
scope?: "workspace" | "org" | undefined;
|
|
5276
5626
|
clone_from_id?: string | undefined;
|
|
5627
|
+
promote_theme_id?: string | undefined;
|
|
5628
|
+
promote_from_workspace_key?: string | undefined;
|
|
5629
|
+
set_default?: boolean | undefined;
|
|
5277
5630
|
roles?: Record<string, unknown> | undefined;
|
|
5278
5631
|
}, {
|
|
5279
|
-
|
|
5632
|
+
org_id?: string | undefined;
|
|
5633
|
+
name?: string | undefined;
|
|
5280
5634
|
style?: Record<string, unknown> | undefined;
|
|
5635
|
+
scope?: "workspace" | "org" | undefined;
|
|
5281
5636
|
clone_from_id?: string | undefined;
|
|
5637
|
+
promote_theme_id?: string | undefined;
|
|
5638
|
+
promote_from_workspace_key?: string | undefined;
|
|
5639
|
+
set_default?: boolean | undefined;
|
|
5282
5640
|
roles?: Record<string, unknown> | undefined;
|
|
5283
5641
|
}>;
|
|
5284
5642
|
handler: (args: {
|
|
5285
|
-
name
|
|
5643
|
+
name?: string;
|
|
5644
|
+
scope?: "workspace" | "org";
|
|
5645
|
+
org_id?: string;
|
|
5286
5646
|
clone_from_id?: string;
|
|
5647
|
+
promote_theme_id?: string;
|
|
5648
|
+
promote_from_workspace_key?: string;
|
|
5649
|
+
set_default?: boolean;
|
|
5287
5650
|
style?: Record<string, unknown>;
|
|
5288
5651
|
roles?: Record<string, unknown>;
|
|
5289
5652
|
}) => Promise<{
|
|
@@ -5291,6 +5654,13 @@ export declare const toolDefinitions: {
|
|
|
5291
5654
|
type: "text";
|
|
5292
5655
|
text: string;
|
|
5293
5656
|
}[];
|
|
5657
|
+
isError: boolean;
|
|
5658
|
+
} | {
|
|
5659
|
+
content: {
|
|
5660
|
+
type: "text";
|
|
5661
|
+
text: string;
|
|
5662
|
+
}[];
|
|
5663
|
+
isError?: undefined;
|
|
5294
5664
|
}>;
|
|
5295
5665
|
} & {
|
|
5296
5666
|
group: ToolGroup;
|
|
@@ -5299,25 +5669,37 @@ export declare const toolDefinitions: {
|
|
|
5299
5669
|
description: string;
|
|
5300
5670
|
schema: import("zod").ZodObject<{
|
|
5301
5671
|
theme_id: import("zod").ZodString;
|
|
5672
|
+
scope: import("zod").ZodOptional<import("zod").ZodEnum<["workspace", "org"]>>;
|
|
5673
|
+
org_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5674
|
+
reset_to_org: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5302
5675
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5303
5676
|
style: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
5304
5677
|
roles: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
5305
5678
|
set_default: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5306
5679
|
}, "strip", import("zod").ZodTypeAny, {
|
|
5307
5680
|
theme_id: string;
|
|
5681
|
+
org_id?: string | undefined;
|
|
5308
5682
|
name?: string | undefined;
|
|
5309
5683
|
style?: Record<string, unknown> | undefined;
|
|
5310
|
-
|
|
5684
|
+
scope?: "workspace" | "org" | undefined;
|
|
5311
5685
|
set_default?: boolean | undefined;
|
|
5686
|
+
roles?: Record<string, unknown> | undefined;
|
|
5687
|
+
reset_to_org?: boolean | undefined;
|
|
5312
5688
|
}, {
|
|
5313
5689
|
theme_id: string;
|
|
5690
|
+
org_id?: string | undefined;
|
|
5314
5691
|
name?: string | undefined;
|
|
5315
5692
|
style?: Record<string, unknown> | undefined;
|
|
5316
|
-
|
|
5693
|
+
scope?: "workspace" | "org" | undefined;
|
|
5317
5694
|
set_default?: boolean | undefined;
|
|
5695
|
+
roles?: Record<string, unknown> | undefined;
|
|
5696
|
+
reset_to_org?: boolean | undefined;
|
|
5318
5697
|
}>;
|
|
5319
5698
|
handler: (args: {
|
|
5320
5699
|
theme_id: string;
|
|
5700
|
+
scope?: "workspace" | "org";
|
|
5701
|
+
org_id?: string;
|
|
5702
|
+
reset_to_org?: boolean;
|
|
5321
5703
|
name?: string;
|
|
5322
5704
|
style?: Record<string, unknown>;
|
|
5323
5705
|
roles?: Record<string, unknown>;
|
|
@@ -5327,6 +5709,13 @@ export declare const toolDefinitions: {
|
|
|
5327
5709
|
type: "text";
|
|
5328
5710
|
text: string;
|
|
5329
5711
|
}[];
|
|
5712
|
+
isError?: undefined;
|
|
5713
|
+
} | {
|
|
5714
|
+
content: {
|
|
5715
|
+
type: "text";
|
|
5716
|
+
text: string;
|
|
5717
|
+
}[];
|
|
5718
|
+
isError: boolean;
|
|
5330
5719
|
}>;
|
|
5331
5720
|
} & {
|
|
5332
5721
|
group: ToolGroup;
|
|
@@ -5367,6 +5756,102 @@ export declare const toolDefinitions: {
|
|
|
5367
5756
|
} & {
|
|
5368
5757
|
group: ToolGroup;
|
|
5369
5758
|
};
|
|
5759
|
+
list_email_categories: {
|
|
5760
|
+
description: string;
|
|
5761
|
+
schema: import("zod").ZodObject<{
|
|
5762
|
+
includeArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5763
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
5764
|
+
includeArchived?: boolean | undefined;
|
|
5765
|
+
}, {
|
|
5766
|
+
includeArchived?: boolean | undefined;
|
|
5767
|
+
}>;
|
|
5768
|
+
handler: (args: {
|
|
5769
|
+
includeArchived?: boolean;
|
|
5770
|
+
}) => Promise<{
|
|
5771
|
+
content: {
|
|
5772
|
+
type: "text";
|
|
5773
|
+
text: string;
|
|
5774
|
+
}[];
|
|
5775
|
+
}>;
|
|
5776
|
+
} & {
|
|
5777
|
+
group: ToolGroup;
|
|
5778
|
+
};
|
|
5779
|
+
create_email_category: {
|
|
5780
|
+
description: string;
|
|
5781
|
+
schema: import("zod").ZodObject<{
|
|
5782
|
+
name: import("zod").ZodString;
|
|
5783
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5784
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
5785
|
+
name: string;
|
|
5786
|
+
description?: string | undefined;
|
|
5787
|
+
}, {
|
|
5788
|
+
name: string;
|
|
5789
|
+
description?: string | undefined;
|
|
5790
|
+
}>;
|
|
5791
|
+
handler: (args: {
|
|
5792
|
+
name: string;
|
|
5793
|
+
description?: string;
|
|
5794
|
+
}) => Promise<{
|
|
5795
|
+
content: {
|
|
5796
|
+
type: "text";
|
|
5797
|
+
text: string;
|
|
5798
|
+
}[];
|
|
5799
|
+
}>;
|
|
5800
|
+
} & {
|
|
5801
|
+
group: ToolGroup;
|
|
5802
|
+
};
|
|
5803
|
+
update_email_category: {
|
|
5804
|
+
description: string;
|
|
5805
|
+
schema: import("zod").ZodObject<{
|
|
5806
|
+
categoryId: import("zod").ZodString;
|
|
5807
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5808
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5809
|
+
archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5810
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
5811
|
+
categoryId: string;
|
|
5812
|
+
name?: string | undefined;
|
|
5813
|
+
description?: string | undefined;
|
|
5814
|
+
archived?: boolean | undefined;
|
|
5815
|
+
}, {
|
|
5816
|
+
categoryId: string;
|
|
5817
|
+
name?: string | undefined;
|
|
5818
|
+
description?: string | undefined;
|
|
5819
|
+
archived?: boolean | undefined;
|
|
5820
|
+
}>;
|
|
5821
|
+
handler: (args: {
|
|
5822
|
+
categoryId: string;
|
|
5823
|
+
name?: string;
|
|
5824
|
+
description?: string;
|
|
5825
|
+
archived?: boolean;
|
|
5826
|
+
}) => Promise<{
|
|
5827
|
+
content: {
|
|
5828
|
+
type: "text";
|
|
5829
|
+
text: string;
|
|
5830
|
+
}[];
|
|
5831
|
+
}>;
|
|
5832
|
+
} & {
|
|
5833
|
+
group: ToolGroup;
|
|
5834
|
+
};
|
|
5835
|
+
archive_email_category: {
|
|
5836
|
+
description: string;
|
|
5837
|
+
schema: import("zod").ZodObject<{
|
|
5838
|
+
categoryId: import("zod").ZodString;
|
|
5839
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
5840
|
+
categoryId: string;
|
|
5841
|
+
}, {
|
|
5842
|
+
categoryId: string;
|
|
5843
|
+
}>;
|
|
5844
|
+
handler: (args: {
|
|
5845
|
+
categoryId: string;
|
|
5846
|
+
}) => Promise<{
|
|
5847
|
+
content: {
|
|
5848
|
+
type: "text";
|
|
5849
|
+
text: string;
|
|
5850
|
+
}[];
|
|
5851
|
+
}>;
|
|
5852
|
+
} & {
|
|
5853
|
+
group: ToolGroup;
|
|
5854
|
+
};
|
|
5370
5855
|
edit_communication: {
|
|
5371
5856
|
description: string;
|
|
5372
5857
|
schema: import("zod").ZodObject<{
|
|
@@ -5374,7 +5859,7 @@ export declare const toolDefinitions: {
|
|
|
5374
5859
|
subject: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5375
5860
|
slots: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
5376
5861
|
blocks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
5377
|
-
type: import("zod").ZodEnum<["heading", "text", "image", "button", "html", "spacer", "divider", "keep"]>;
|
|
5862
|
+
type: import("zod").ZodEnum<["heading", "text", "image", "button", "stat", "html", "spacer", "divider", "keep"]>;
|
|
5378
5863
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5379
5864
|
kind: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5380
5865
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -5387,15 +5872,20 @@ export declare const toolDefinitions: {
|
|
|
5387
5872
|
image_natural_height: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5388
5873
|
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5389
5874
|
button_width: import("zod").ZodOptional<import("zod").ZodEnum<["hug", "fill"]>>;
|
|
5875
|
+
eyebrow: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5876
|
+
value: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5877
|
+
caption: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5878
|
+
tone: import("zod").ZodOptional<import("zod").ZodEnum<["plain", "success", "warning", "neutral"]>>;
|
|
5390
5879
|
html: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5391
5880
|
height: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5392
5881
|
color: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5393
5882
|
thickness: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5394
5883
|
}, "strip", import("zod").ZodTypeAny, {
|
|
5395
|
-
type: "text" | "heading" | "image" | "button" | "html" | "spacer" | "divider" | "keep";
|
|
5884
|
+
type: "text" | "heading" | "image" | "button" | "stat" | "html" | "spacer" | "divider" | "keep";
|
|
5396
5885
|
id?: string | undefined;
|
|
5397
5886
|
label?: string | undefined;
|
|
5398
5887
|
kind?: string | undefined;
|
|
5888
|
+
value?: string | undefined;
|
|
5399
5889
|
text?: string | undefined;
|
|
5400
5890
|
url?: string | undefined;
|
|
5401
5891
|
html?: string | undefined;
|
|
@@ -5406,14 +5896,18 @@ export declare const toolDefinitions: {
|
|
|
5406
5896
|
image_natural_width?: number | undefined;
|
|
5407
5897
|
image_natural_height?: number | undefined;
|
|
5408
5898
|
button_width?: "fill" | "hug" | undefined;
|
|
5899
|
+
eyebrow?: string | undefined;
|
|
5900
|
+
caption?: string | undefined;
|
|
5901
|
+
tone?: "plain" | "success" | "warning" | "neutral" | undefined;
|
|
5409
5902
|
height?: number | undefined;
|
|
5410
5903
|
color?: string | undefined;
|
|
5411
5904
|
thickness?: number | undefined;
|
|
5412
5905
|
}, {
|
|
5413
|
-
type: "text" | "heading" | "image" | "button" | "html" | "spacer" | "divider" | "keep";
|
|
5906
|
+
type: "text" | "heading" | "image" | "button" | "stat" | "html" | "spacer" | "divider" | "keep";
|
|
5414
5907
|
id?: string | undefined;
|
|
5415
5908
|
label?: string | undefined;
|
|
5416
5909
|
kind?: string | undefined;
|
|
5910
|
+
value?: string | undefined;
|
|
5417
5911
|
text?: string | undefined;
|
|
5418
5912
|
url?: string | undefined;
|
|
5419
5913
|
html?: string | undefined;
|
|
@@ -5424,6 +5918,9 @@ export declare const toolDefinitions: {
|
|
|
5424
5918
|
image_natural_width?: number | undefined;
|
|
5425
5919
|
image_natural_height?: number | undefined;
|
|
5426
5920
|
button_width?: "fill" | "hug" | undefined;
|
|
5921
|
+
eyebrow?: string | undefined;
|
|
5922
|
+
caption?: string | undefined;
|
|
5923
|
+
tone?: "plain" | "success" | "warning" | "neutral" | undefined;
|
|
5427
5924
|
height?: number | undefined;
|
|
5428
5925
|
color?: string | undefined;
|
|
5429
5926
|
thickness?: number | undefined;
|
|
@@ -5435,18 +5932,21 @@ export declare const toolDefinitions: {
|
|
|
5435
5932
|
audience_bucket: import("zod").ZodOptional<import("zod").ZodEnum<["production", "beta", "dev"]>>;
|
|
5436
5933
|
intent: import("zod").ZodOptional<import("zod").ZodEnum<["compete", "replace"]>>;
|
|
5437
5934
|
confirmLiveExperiment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5935
|
+
categoryId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5438
5936
|
}, "strip", import("zod").ZodTypeAny, {
|
|
5439
5937
|
communicationId: string;
|
|
5440
5938
|
channels?: string[] | undefined;
|
|
5441
5939
|
status?: "active" | "draft" | "paused" | undefined;
|
|
5442
5940
|
subject?: string | undefined;
|
|
5443
5941
|
intent?: "replace" | "compete" | undefined;
|
|
5942
|
+
categoryId?: string | undefined;
|
|
5444
5943
|
slots?: Record<string, string> | undefined;
|
|
5445
5944
|
blocks?: {
|
|
5446
|
-
type: "text" | "heading" | "image" | "button" | "html" | "spacer" | "divider" | "keep";
|
|
5945
|
+
type: "text" | "heading" | "image" | "button" | "stat" | "html" | "spacer" | "divider" | "keep";
|
|
5447
5946
|
id?: string | undefined;
|
|
5448
5947
|
label?: string | undefined;
|
|
5449
5948
|
kind?: string | undefined;
|
|
5949
|
+
value?: string | undefined;
|
|
5450
5950
|
text?: string | undefined;
|
|
5451
5951
|
url?: string | undefined;
|
|
5452
5952
|
html?: string | undefined;
|
|
@@ -5457,6 +5957,9 @@ export declare const toolDefinitions: {
|
|
|
5457
5957
|
image_natural_width?: number | undefined;
|
|
5458
5958
|
image_natural_height?: number | undefined;
|
|
5459
5959
|
button_width?: "fill" | "hug" | undefined;
|
|
5960
|
+
eyebrow?: string | undefined;
|
|
5961
|
+
caption?: string | undefined;
|
|
5962
|
+
tone?: "plain" | "success" | "warning" | "neutral" | undefined;
|
|
5460
5963
|
height?: number | undefined;
|
|
5461
5964
|
color?: string | undefined;
|
|
5462
5965
|
thickness?: number | undefined;
|
|
@@ -5471,12 +5974,14 @@ export declare const toolDefinitions: {
|
|
|
5471
5974
|
status?: "active" | "draft" | "paused" | undefined;
|
|
5472
5975
|
subject?: string | undefined;
|
|
5473
5976
|
intent?: "replace" | "compete" | undefined;
|
|
5977
|
+
categoryId?: string | undefined;
|
|
5474
5978
|
slots?: Record<string, string> | undefined;
|
|
5475
5979
|
blocks?: {
|
|
5476
|
-
type: "text" | "heading" | "image" | "button" | "html" | "spacer" | "divider" | "keep";
|
|
5980
|
+
type: "text" | "heading" | "image" | "button" | "stat" | "html" | "spacer" | "divider" | "keep";
|
|
5477
5981
|
id?: string | undefined;
|
|
5478
5982
|
label?: string | undefined;
|
|
5479
5983
|
kind?: string | undefined;
|
|
5984
|
+
value?: string | undefined;
|
|
5480
5985
|
text?: string | undefined;
|
|
5481
5986
|
url?: string | undefined;
|
|
5482
5987
|
html?: string | undefined;
|
|
@@ -5487,6 +5992,9 @@ export declare const toolDefinitions: {
|
|
|
5487
5992
|
image_natural_width?: number | undefined;
|
|
5488
5993
|
image_natural_height?: number | undefined;
|
|
5489
5994
|
button_width?: "fill" | "hug" | undefined;
|
|
5995
|
+
eyebrow?: string | undefined;
|
|
5996
|
+
caption?: string | undefined;
|
|
5997
|
+
tone?: "plain" | "success" | "warning" | "neutral" | undefined;
|
|
5490
5998
|
height?: number | undefined;
|
|
5491
5999
|
color?: string | undefined;
|
|
5492
6000
|
thickness?: number | undefined;
|
|
@@ -5508,6 +6016,7 @@ export declare const toolDefinitions: {
|
|
|
5508
6016
|
audience_bucket?: "production" | "beta" | "dev";
|
|
5509
6017
|
intent?: "compete" | "replace";
|
|
5510
6018
|
confirmLiveExperiment?: boolean;
|
|
6019
|
+
categoryId?: string;
|
|
5511
6020
|
}) => Promise<{
|
|
5512
6021
|
content: {
|
|
5513
6022
|
type: "text";
|
|
@@ -5567,8 +6076,8 @@ export declare const toolDefinitions: {
|
|
|
5567
6076
|
communicationId: string;
|
|
5568
6077
|
hypothesis?: string | undefined;
|
|
5569
6078
|
intent?: "replace" | "compete" | undefined;
|
|
5570
|
-
beliefId?: string | undefined;
|
|
5571
6079
|
confidence?: number | undefined;
|
|
6080
|
+
beliefId?: string | undefined;
|
|
5572
6081
|
durationDays?: number | undefined;
|
|
5573
6082
|
confirmLiveExperiment?: boolean | undefined;
|
|
5574
6083
|
hostJourneyId?: string | undefined;
|
|
@@ -5577,8 +6086,8 @@ export declare const toolDefinitions: {
|
|
|
5577
6086
|
communicationId: string;
|
|
5578
6087
|
hypothesis?: string | undefined;
|
|
5579
6088
|
intent?: "replace" | "compete" | undefined;
|
|
5580
|
-
beliefId?: string | undefined;
|
|
5581
6089
|
confidence?: number | undefined;
|
|
6090
|
+
beliefId?: string | undefined;
|
|
5582
6091
|
durationDays?: number | undefined;
|
|
5583
6092
|
confirmLiveExperiment?: boolean | undefined;
|
|
5584
6093
|
hostJourneyId?: string | undefined;
|
|
@@ -5979,22 +6488,26 @@ export declare const toolDefinitions: {
|
|
|
5979
6488
|
journeyId: import("zod").ZodString;
|
|
5980
6489
|
eventName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5981
6490
|
keyEventId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6491
|
+
segmentId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5982
6492
|
triggerContractId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5983
6493
|
}, "strip", import("zod").ZodTypeAny, {
|
|
5984
6494
|
journeyId: string;
|
|
5985
6495
|
eventName?: string | undefined;
|
|
5986
6496
|
keyEventId?: string | undefined;
|
|
6497
|
+
segmentId?: string | undefined;
|
|
5987
6498
|
triggerContractId?: string | undefined;
|
|
5988
6499
|
}, {
|
|
5989
6500
|
journeyId: string;
|
|
5990
6501
|
eventName?: string | undefined;
|
|
5991
6502
|
keyEventId?: string | undefined;
|
|
6503
|
+
segmentId?: string | undefined;
|
|
5992
6504
|
triggerContractId?: string | undefined;
|
|
5993
6505
|
}>;
|
|
5994
|
-
handler: ({ journeyId, eventName, keyEventId, triggerContractId, }: {
|
|
6506
|
+
handler: ({ journeyId, eventName, keyEventId, segmentId, triggerContractId, }: {
|
|
5995
6507
|
journeyId: string;
|
|
5996
6508
|
eventName?: string;
|
|
5997
6509
|
keyEventId?: string;
|
|
6510
|
+
segmentId?: string;
|
|
5998
6511
|
triggerContractId?: string;
|
|
5999
6512
|
}) => Promise<{
|
|
6000
6513
|
content: {
|
|
@@ -6131,8 +6644,8 @@ export declare const toolDefinitions: {
|
|
|
6131
6644
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
6132
6645
|
operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
|
|
6133
6646
|
event_name?: string | undefined;
|
|
6134
|
-
key_event_id?: string | undefined;
|
|
6135
6647
|
scope?: "account" | "person" | undefined;
|
|
6648
|
+
key_event_id?: string | undefined;
|
|
6136
6649
|
field_path?: string | undefined;
|
|
6137
6650
|
window_days?: number | undefined;
|
|
6138
6651
|
wait_days?: number | undefined;
|
|
@@ -6141,8 +6654,8 @@ export declare const toolDefinitions: {
|
|
|
6141
6654
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
6142
6655
|
operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
|
|
6143
6656
|
event_name?: string | undefined;
|
|
6144
|
-
key_event_id?: string | undefined;
|
|
6145
6657
|
scope?: "account" | "person" | undefined;
|
|
6658
|
+
key_event_id?: string | undefined;
|
|
6146
6659
|
field_path?: string | undefined;
|
|
6147
6660
|
window_days?: number | undefined;
|
|
6148
6661
|
wait_days?: number | undefined;
|
|
@@ -6156,8 +6669,8 @@ export declare const toolDefinitions: {
|
|
|
6156
6669
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
6157
6670
|
operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
|
|
6158
6671
|
event_name?: string | undefined;
|
|
6159
|
-
key_event_id?: string | undefined;
|
|
6160
6672
|
scope?: "account" | "person" | undefined;
|
|
6673
|
+
key_event_id?: string | undefined;
|
|
6161
6674
|
field_path?: string | undefined;
|
|
6162
6675
|
window_days?: number | undefined;
|
|
6163
6676
|
wait_days?: number | undefined;
|
|
@@ -6173,8 +6686,8 @@ export declare const toolDefinitions: {
|
|
|
6173
6686
|
value?: string | number | boolean | (string | number | boolean)[] | undefined;
|
|
6174
6687
|
operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
|
|
6175
6688
|
event_name?: string | undefined;
|
|
6176
|
-
key_event_id?: string | undefined;
|
|
6177
6689
|
scope?: "account" | "person" | undefined;
|
|
6690
|
+
key_event_id?: string | undefined;
|
|
6178
6691
|
field_path?: string | undefined;
|
|
6179
6692
|
window_days?: number | undefined;
|
|
6180
6693
|
wait_days?: number | undefined;
|
|
@@ -6364,19 +6877,23 @@ export declare const toolDefinitions: {
|
|
|
6364
6877
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6365
6878
|
channels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["email", "in_app_push", "mobile_push"]>, "many">>;
|
|
6366
6879
|
audience_bucket: import("zod").ZodOptional<import("zod").ZodEnum<["production", "beta", "dev"]>>;
|
|
6880
|
+
categoryId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6367
6881
|
}, "strip", import("zod").ZodTypeAny, {
|
|
6368
6882
|
channels?: ("email" | "mobile_push" | "in_app_push")[] | undefined;
|
|
6369
6883
|
title?: string | undefined;
|
|
6884
|
+
categoryId?: string | undefined;
|
|
6370
6885
|
audience_bucket?: "production" | "beta" | "dev" | undefined;
|
|
6371
6886
|
}, {
|
|
6372
6887
|
channels?: ("email" | "mobile_push" | "in_app_push")[] | undefined;
|
|
6373
6888
|
title?: string | undefined;
|
|
6889
|
+
categoryId?: string | undefined;
|
|
6374
6890
|
audience_bucket?: "production" | "beta" | "dev" | undefined;
|
|
6375
6891
|
}>;
|
|
6376
|
-
handler: ({ title, channels, audience_bucket }: {
|
|
6892
|
+
handler: ({ title, channels, audience_bucket, categoryId, }: {
|
|
6377
6893
|
title?: string;
|
|
6378
6894
|
channels?: string[];
|
|
6379
6895
|
audience_bucket?: "production" | "beta" | "dev";
|
|
6896
|
+
categoryId?: string;
|
|
6380
6897
|
}) => Promise<{
|
|
6381
6898
|
content: {
|
|
6382
6899
|
type: "text";
|
|
@@ -6658,18 +7175,18 @@ export declare const toolDefinitions: {
|
|
|
6658
7175
|
}, "strip", import("zod").ZodTypeAny, {
|
|
6659
7176
|
event?: string | undefined;
|
|
6660
7177
|
value?: string | number | boolean | undefined;
|
|
7178
|
+
scope?: "account" | "person" | undefined;
|
|
6661
7179
|
attribute?: string | undefined;
|
|
6662
7180
|
key_event_id?: string | undefined;
|
|
6663
|
-
scope?: "account" | "person" | undefined;
|
|
6664
7181
|
window_days?: number | undefined;
|
|
6665
7182
|
verb?: "has" | "hasnt" | undefined;
|
|
6666
7183
|
op?: "exists" | "is" | "is_not" | undefined;
|
|
6667
7184
|
}, {
|
|
6668
7185
|
event?: string | undefined;
|
|
6669
7186
|
value?: string | number | boolean | undefined;
|
|
7187
|
+
scope?: "account" | "person" | undefined;
|
|
6670
7188
|
attribute?: string | undefined;
|
|
6671
7189
|
key_event_id?: string | undefined;
|
|
6672
|
-
scope?: "account" | "person" | undefined;
|
|
6673
7190
|
window_days?: number | undefined;
|
|
6674
7191
|
verb?: "has" | "hasnt" | undefined;
|
|
6675
7192
|
op?: "exists" | "is" | "is_not" | undefined;
|
|
@@ -6679,9 +7196,9 @@ export declare const toolDefinitions: {
|
|
|
6679
7196
|
conditions: {
|
|
6680
7197
|
event?: string | undefined;
|
|
6681
7198
|
value?: string | number | boolean | undefined;
|
|
7199
|
+
scope?: "account" | "person" | undefined;
|
|
6682
7200
|
attribute?: string | undefined;
|
|
6683
7201
|
key_event_id?: string | undefined;
|
|
6684
|
-
scope?: "account" | "person" | undefined;
|
|
6685
7202
|
window_days?: number | undefined;
|
|
6686
7203
|
verb?: "has" | "hasnt" | undefined;
|
|
6687
7204
|
op?: "exists" | "is" | "is_not" | undefined;
|
|
@@ -6691,9 +7208,9 @@ export declare const toolDefinitions: {
|
|
|
6691
7208
|
conditions: {
|
|
6692
7209
|
event?: string | undefined;
|
|
6693
7210
|
value?: string | number | boolean | undefined;
|
|
7211
|
+
scope?: "account" | "person" | undefined;
|
|
6694
7212
|
attribute?: string | undefined;
|
|
6695
7213
|
key_event_id?: string | undefined;
|
|
6696
|
-
scope?: "account" | "person" | undefined;
|
|
6697
7214
|
window_days?: number | undefined;
|
|
6698
7215
|
verb?: "has" | "hasnt" | undefined;
|
|
6699
7216
|
op?: "exists" | "is" | "is_not" | undefined;
|
|
@@ -6706,9 +7223,9 @@ export declare const toolDefinitions: {
|
|
|
6706
7223
|
conditions: {
|
|
6707
7224
|
event?: string | undefined;
|
|
6708
7225
|
value?: string | number | boolean | undefined;
|
|
7226
|
+
scope?: "account" | "person" | undefined;
|
|
6709
7227
|
attribute?: string | undefined;
|
|
6710
7228
|
key_event_id?: string | undefined;
|
|
6711
|
-
scope?: "account" | "person" | undefined;
|
|
6712
7229
|
window_days?: number | undefined;
|
|
6713
7230
|
verb?: "has" | "hasnt" | undefined;
|
|
6714
7231
|
op?: "exists" | "is" | "is_not" | undefined;
|
|
@@ -6721,9 +7238,9 @@ export declare const toolDefinitions: {
|
|
|
6721
7238
|
conditions: {
|
|
6722
7239
|
event?: string | undefined;
|
|
6723
7240
|
value?: string | number | boolean | undefined;
|
|
7241
|
+
scope?: "account" | "person" | undefined;
|
|
6724
7242
|
attribute?: string | undefined;
|
|
6725
7243
|
key_event_id?: string | undefined;
|
|
6726
|
-
scope?: "account" | "person" | undefined;
|
|
6727
7244
|
window_days?: number | undefined;
|
|
6728
7245
|
verb?: "has" | "hasnt" | undefined;
|
|
6729
7246
|
op?: "exists" | "is" | "is_not" | undefined;
|
|
@@ -6742,9 +7259,9 @@ export declare const toolDefinitions: {
|
|
|
6742
7259
|
conditions: {
|
|
6743
7260
|
event?: string | undefined;
|
|
6744
7261
|
value?: string | number | boolean | undefined;
|
|
7262
|
+
scope?: "account" | "person" | undefined;
|
|
6745
7263
|
attribute?: string | undefined;
|
|
6746
7264
|
key_event_id?: string | undefined;
|
|
6747
|
-
scope?: "account" | "person" | undefined;
|
|
6748
7265
|
window_days?: number | undefined;
|
|
6749
7266
|
verb?: "has" | "hasnt" | undefined;
|
|
6750
7267
|
op?: "exists" | "is" | "is_not" | undefined;
|
|
@@ -6763,9 +7280,9 @@ export declare const toolDefinitions: {
|
|
|
6763
7280
|
conditions: {
|
|
6764
7281
|
event?: string | undefined;
|
|
6765
7282
|
value?: string | number | boolean | undefined;
|
|
7283
|
+
scope?: "account" | "person" | undefined;
|
|
6766
7284
|
attribute?: string | undefined;
|
|
6767
7285
|
key_event_id?: string | undefined;
|
|
6768
|
-
scope?: "account" | "person" | undefined;
|
|
6769
7286
|
window_days?: number | undefined;
|
|
6770
7287
|
verb?: "has" | "hasnt" | undefined;
|
|
6771
7288
|
op?: "exists" | "is" | "is_not" | undefined;
|
|
@@ -6935,6 +7452,7 @@ export declare const toolDefinitions: {
|
|
|
6935
7452
|
preview: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6936
7453
|
primaryMetricFormPage: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6937
7454
|
primaryMetricFormId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7455
|
+
primaryMetricKeyEventId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6938
7456
|
name: import("zod").ZodString;
|
|
6939
7457
|
targetUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6940
7458
|
controlContent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -6957,7 +7475,11 @@ export declare const toolDefinitions: {
|
|
|
6957
7475
|
predictionMagnitude?: string | undefined;
|
|
6958
7476
|
preview?: boolean | undefined;
|
|
6959
7477
|
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
7478
|
+
beliefId?: string | undefined;
|
|
7479
|
+
hypothesisId?: string | undefined;
|
|
7480
|
+
predictionId?: string | undefined;
|
|
6960
7481
|
targetUrl?: string | undefined;
|
|
7482
|
+
targetAnchor?: string | undefined;
|
|
6961
7483
|
paid_channel?: {
|
|
6962
7484
|
network: "meta" | "google" | "linkedin" | "tiktok";
|
|
6963
7485
|
ad_set_ids: string[];
|
|
@@ -6967,14 +7489,10 @@ export declare const toolDefinitions: {
|
|
|
6967
7489
|
attach_mode?: "manual" | "apex" | undefined;
|
|
6968
7490
|
washout_days?: number | undefined;
|
|
6969
7491
|
} | undefined;
|
|
6970
|
-
beliefId?: string | undefined;
|
|
6971
|
-
hypothesisId?: string | undefined;
|
|
6972
|
-
predictionId?: string | undefined;
|
|
6973
7492
|
newBecause?: string | undefined;
|
|
6974
7493
|
controlContent?: string | undefined;
|
|
6975
7494
|
variantContent?: string | undefined;
|
|
6976
7495
|
targetComponent?: string | undefined;
|
|
6977
|
-
targetAnchor?: string | undefined;
|
|
6978
7496
|
trafficSplit?: number | undefined;
|
|
6979
7497
|
beliefStatement?: string | undefined;
|
|
6980
7498
|
beliefConfidence?: number | undefined;
|
|
@@ -6991,12 +7509,17 @@ export declare const toolDefinitions: {
|
|
|
6991
7509
|
runtimeDays?: number | undefined;
|
|
6992
7510
|
primaryMetricFormPage?: string | undefined;
|
|
6993
7511
|
primaryMetricFormId?: string | undefined;
|
|
7512
|
+
primaryMetricKeyEventId?: string | undefined;
|
|
6994
7513
|
}, {
|
|
6995
7514
|
name: string;
|
|
6996
7515
|
predictionMagnitude?: string | undefined;
|
|
6997
7516
|
preview?: boolean | undefined;
|
|
6998
7517
|
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
7518
|
+
beliefId?: string | undefined;
|
|
7519
|
+
hypothesisId?: string | undefined;
|
|
7520
|
+
predictionId?: string | undefined;
|
|
6999
7521
|
targetUrl?: string | undefined;
|
|
7522
|
+
targetAnchor?: string | undefined;
|
|
7000
7523
|
paid_channel?: {
|
|
7001
7524
|
network: "meta" | "google" | "linkedin" | "tiktok";
|
|
7002
7525
|
ad_set_ids: string[];
|
|
@@ -7006,14 +7529,10 @@ export declare const toolDefinitions: {
|
|
|
7006
7529
|
attach_mode?: "manual" | "apex" | undefined;
|
|
7007
7530
|
washout_days?: number | undefined;
|
|
7008
7531
|
} | undefined;
|
|
7009
|
-
beliefId?: string | undefined;
|
|
7010
|
-
hypothesisId?: string | undefined;
|
|
7011
|
-
predictionId?: string | undefined;
|
|
7012
7532
|
newBecause?: string | undefined;
|
|
7013
7533
|
controlContent?: string | undefined;
|
|
7014
7534
|
variantContent?: string | undefined;
|
|
7015
7535
|
targetComponent?: string | undefined;
|
|
7016
|
-
targetAnchor?: string | undefined;
|
|
7017
7536
|
trafficSplit?: number | undefined;
|
|
7018
7537
|
beliefStatement?: string | undefined;
|
|
7019
7538
|
beliefConfidence?: number | undefined;
|
|
@@ -7030,6 +7549,7 @@ export declare const toolDefinitions: {
|
|
|
7030
7549
|
runtimeDays?: number | undefined;
|
|
7031
7550
|
primaryMetricFormPage?: string | undefined;
|
|
7032
7551
|
primaryMetricFormId?: string | undefined;
|
|
7552
|
+
primaryMetricKeyEventId?: string | undefined;
|
|
7033
7553
|
}>;
|
|
7034
7554
|
handler: (args: {
|
|
7035
7555
|
name: string;
|
|
@@ -7049,6 +7569,7 @@ export declare const toolDefinitions: {
|
|
|
7049
7569
|
primaryMetricEvent?: string;
|
|
7050
7570
|
primaryMetricType?: "rate" | "count" | "revenue" | "duration";
|
|
7051
7571
|
primaryMetricValueProperty?: string;
|
|
7572
|
+
primaryMetricKeyEventId?: string;
|
|
7052
7573
|
primaryMetricFormPage?: string;
|
|
7053
7574
|
primaryMetricFormId?: string;
|
|
7054
7575
|
guardrailEvent?: string;
|
|
@@ -7594,6 +8115,7 @@ export declare const toolDefinitions: {
|
|
|
7594
8115
|
allocation: import("zod").ZodOptional<import("zod").ZodEnum<["even", "adaptive"]>>;
|
|
7595
8116
|
primaryMetricFormPage: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7596
8117
|
primaryMetricFormId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8118
|
+
primaryMetricKeyEventId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7597
8119
|
experimentId: import("zod").ZodString;
|
|
7598
8120
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7599
8121
|
surface: import("zod").ZodOptional<import("zod").ZodEnum<["web", "mobile", "paid_channel"]>>;
|
|
@@ -7607,8 +8129,9 @@ export declare const toolDefinitions: {
|
|
|
7607
8129
|
name?: string | undefined;
|
|
7608
8130
|
hypothesis?: string | undefined;
|
|
7609
8131
|
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
7610
|
-
|
|
8132
|
+
allocation?: "even" | "adaptive" | undefined;
|
|
7611
8133
|
predictionId?: string | undefined;
|
|
8134
|
+
targetUrl?: string | undefined;
|
|
7612
8135
|
primaryMetricEvent?: string | undefined;
|
|
7613
8136
|
primaryMetricType?: "duration" | "rate" | "count" | "revenue" | undefined;
|
|
7614
8137
|
guardrailEvent?: string | undefined;
|
|
@@ -7616,14 +8139,15 @@ export declare const toolDefinitions: {
|
|
|
7616
8139
|
runtimeDays?: number | undefined;
|
|
7617
8140
|
primaryMetricFormPage?: string | undefined;
|
|
7618
8141
|
primaryMetricFormId?: string | undefined;
|
|
7619
|
-
|
|
8142
|
+
primaryMetricKeyEventId?: string | undefined;
|
|
7620
8143
|
}, {
|
|
7621
8144
|
experimentId: string;
|
|
7622
8145
|
name?: string | undefined;
|
|
7623
8146
|
hypothesis?: string | undefined;
|
|
7624
8147
|
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
7625
|
-
|
|
8148
|
+
allocation?: "even" | "adaptive" | undefined;
|
|
7626
8149
|
predictionId?: string | undefined;
|
|
8150
|
+
targetUrl?: string | undefined;
|
|
7627
8151
|
primaryMetricEvent?: string | undefined;
|
|
7628
8152
|
primaryMetricType?: "duration" | "rate" | "count" | "revenue" | undefined;
|
|
7629
8153
|
guardrailEvent?: string | undefined;
|
|
@@ -7631,7 +8155,7 @@ export declare const toolDefinitions: {
|
|
|
7631
8155
|
runtimeDays?: number | undefined;
|
|
7632
8156
|
primaryMetricFormPage?: string | undefined;
|
|
7633
8157
|
primaryMetricFormId?: string | undefined;
|
|
7634
|
-
|
|
8158
|
+
primaryMetricKeyEventId?: string | undefined;
|
|
7635
8159
|
}>;
|
|
7636
8160
|
handler: (args: {
|
|
7637
8161
|
experimentId: string;
|
|
@@ -7642,6 +8166,7 @@ export declare const toolDefinitions: {
|
|
|
7642
8166
|
predictionId?: string;
|
|
7643
8167
|
primaryMetricEvent?: string;
|
|
7644
8168
|
primaryMetricType?: "rate" | "count" | "revenue" | "duration";
|
|
8169
|
+
primaryMetricKeyEventId?: string;
|
|
7645
8170
|
primaryMetricFormPage?: string;
|
|
7646
8171
|
primaryMetricFormId?: string;
|
|
7647
8172
|
guardrailEvent?: string;
|
|
@@ -7703,16 +8228,16 @@ export declare const toolDefinitions: {
|
|
|
7703
8228
|
}, "strip", import("zod").ZodTypeAny, {
|
|
7704
8229
|
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
7705
8230
|
targetUrl?: string | undefined;
|
|
7706
|
-
targetComponent?: string | undefined;
|
|
7707
8231
|
targetAnchor?: string | undefined;
|
|
8232
|
+
targetComponent?: string | undefined;
|
|
7708
8233
|
primaryMetricEvent?: string | undefined;
|
|
7709
8234
|
dataSourceId?: string | undefined;
|
|
7710
8235
|
experimentId?: string | undefined;
|
|
7711
8236
|
}, {
|
|
7712
8237
|
surface?: "web" | "mobile" | "paid_channel" | undefined;
|
|
7713
8238
|
targetUrl?: string | undefined;
|
|
7714
|
-
targetComponent?: string | undefined;
|
|
7715
8239
|
targetAnchor?: string | undefined;
|
|
8240
|
+
targetComponent?: string | undefined;
|
|
7716
8241
|
primaryMetricEvent?: string | undefined;
|
|
7717
8242
|
dataSourceId?: string | undefined;
|
|
7718
8243
|
experimentId?: string | undefined;
|
|
@@ -7867,11 +8392,11 @@ export declare const toolDefinitions: {
|
|
|
7867
8392
|
experimentId: import("zod").ZodString;
|
|
7868
8393
|
winner: import("zod").ZodEnum<["control", "variant_b"]>;
|
|
7869
8394
|
}, "strip", import("zod").ZodTypeAny, {
|
|
7870
|
-
experimentId: string;
|
|
7871
8395
|
winner: "control" | "variant_b";
|
|
7872
|
-
}, {
|
|
7873
8396
|
experimentId: string;
|
|
8397
|
+
}, {
|
|
7874
8398
|
winner: "control" | "variant_b";
|
|
8399
|
+
experimentId: string;
|
|
7875
8400
|
}>;
|
|
7876
8401
|
handler: ({ experimentId, winner }: {
|
|
7877
8402
|
experimentId: string;
|
|
@@ -8109,17 +8634,17 @@ export declare const toolDefinitions: {
|
|
|
8109
8634
|
stoppingRule: import("zod").ZodString;
|
|
8110
8635
|
}, "strip", import("zod").ZodTypeAny, {
|
|
8111
8636
|
minSampleSize: number;
|
|
8637
|
+
primaryMetric: string;
|
|
8112
8638
|
experimentId: string;
|
|
8113
8639
|
engineeringLinkId: string;
|
|
8114
|
-
primaryMetric: string;
|
|
8115
8640
|
maxDurationDays: number;
|
|
8116
8641
|
stoppingRule: string;
|
|
8117
8642
|
rampOnMerge?: number | undefined;
|
|
8118
8643
|
}, {
|
|
8119
8644
|
minSampleSize: number;
|
|
8645
|
+
primaryMetric: string;
|
|
8120
8646
|
experimentId: string;
|
|
8121
8647
|
engineeringLinkId: string;
|
|
8122
|
-
primaryMetric: string;
|
|
8123
8648
|
maxDurationDays: number;
|
|
8124
8649
|
stoppingRule: string;
|
|
8125
8650
|
rampOnMerge?: number | undefined;
|