@apex-inc/mcp-server 0.65.0 → 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/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: ("ios" | "android" | "web")[];
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: ("ios" | "android" | "web")[];
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: Array<"ios" | "android" | "web">;
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
- production_hosts: string[];
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
- production_hosts: string[];
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: string[];
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";
@@ -2984,8 +3142,16 @@ export declare const toolDefinitions: {
2984
3142
  };
2985
3143
  list_key_events: {
2986
3144
  description: string;
2987
- schema: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
2988
- handler: () => Promise<{
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<{
2989
3155
  content: {
2990
3156
  type: "text";
2991
3157
  text: string;
@@ -3062,6 +3228,7 @@ export declare const toolDefinitions: {
3062
3228
  entityScope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
3063
3229
  description: import("zod").ZodOptional<import("zod").ZodString>;
3064
3230
  template: import("zod").ZodOptional<import("zod").ZodString>;
3231
+ position: import("zod").ZodOptional<import("zod").ZodNumber>;
3065
3232
  }, "strip", import("zod").ZodTypeAny, {
3066
3233
  name: string;
3067
3234
  sources: {
@@ -3076,9 +3243,10 @@ export declare const toolDefinitions: {
3076
3243
  }[] | undefined;
3077
3244
  }[];
3078
3245
  description?: string | undefined;
3246
+ position?: number | undefined;
3247
+ template?: string | undefined;
3079
3248
  category?: "other" | "engagement" | "referral" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | undefined;
3080
3249
  entityScope?: "account" | "person" | undefined;
3081
- template?: string | undefined;
3082
3250
  }, {
3083
3251
  name: string;
3084
3252
  sources: {
@@ -3093,9 +3261,10 @@ export declare const toolDefinitions: {
3093
3261
  }[] | undefined;
3094
3262
  }[];
3095
3263
  description?: string | undefined;
3264
+ position?: number | undefined;
3265
+ template?: string | undefined;
3096
3266
  category?: "other" | "engagement" | "referral" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | undefined;
3097
3267
  entityScope?: "account" | "person" | undefined;
3098
- template?: string | undefined;
3099
3268
  }>;
3100
3269
  handler: (args: {
3101
3270
  name: string;
@@ -3114,6 +3283,7 @@ export declare const toolDefinitions: {
3114
3283
  entityScope?: string;
3115
3284
  description?: string;
3116
3285
  template?: string;
3286
+ position?: number;
3117
3287
  }) => Promise<{
3118
3288
  isError?: boolean | undefined;
3119
3289
  content: {
@@ -3171,11 +3341,13 @@ export declare const toolDefinitions: {
3171
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"]>>;
3172
3342
  entityScope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
3173
3343
  description: import("zod").ZodOptional<import("zod").ZodString>;
3344
+ position: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
3174
3345
  isCurrentGoal: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
3175
3346
  }, "strip", import("zod").ZodTypeAny, {
3176
3347
  keyEventId: string;
3177
3348
  name?: string | undefined;
3178
3349
  description?: string | undefined;
3350
+ position?: number | null | undefined;
3179
3351
  sources?: {
3180
3352
  type: "form_submit" | "custom_event";
3181
3353
  event_name?: string | undefined;
@@ -3194,6 +3366,7 @@ export declare const toolDefinitions: {
3194
3366
  keyEventId: string;
3195
3367
  name?: string | undefined;
3196
3368
  description?: string | undefined;
3369
+ position?: number | null | undefined;
3197
3370
  sources?: {
3198
3371
  type: "form_submit" | "custom_event";
3199
3372
  event_name?: string | undefined;
@@ -3226,6 +3399,7 @@ export declare const toolDefinitions: {
3226
3399
  category?: string;
3227
3400
  entityScope?: string;
3228
3401
  description?: string;
3402
+ position?: number | null;
3229
3403
  isCurrentGoal?: true;
3230
3404
  }) => Promise<{
3231
3405
  isError?: boolean | undefined;
@@ -3237,7 +3411,49 @@ export declare const toolDefinitions: {
3237
3411
  } & {
3238
3412
  group: ToolGroup;
3239
3413
  };
3240
- delete_key_event: {
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: {
3241
3457
  description: string;
3242
3458
  schema: import("zod").ZodObject<{
3243
3459
  keyEventId: import("zod").ZodString;
@@ -3974,6 +4190,7 @@ export declare const toolDefinitions: {
3974
4190
  handler: ({ includeArchived }: {
3975
4191
  includeArchived?: boolean;
3976
4192
  }) => Promise<{
4193
+ isError?: boolean | undefined;
3977
4194
  content: {
3978
4195
  type: "text";
3979
4196
  text: string;
@@ -3998,6 +4215,7 @@ export declare const toolDefinitions: {
3998
4215
  kind: string;
3999
4216
  name: string;
4000
4217
  }) => Promise<{
4218
+ isError?: boolean | undefined;
4001
4219
  content: {
4002
4220
  type: "text";
4003
4221
  text: string;
@@ -4018,6 +4236,7 @@ export declare const toolDefinitions: {
4018
4236
  handler: ({ id }: {
4019
4237
  id: string;
4020
4238
  }) => Promise<{
4239
+ isError?: boolean | undefined;
4021
4240
  content: {
4022
4241
  type: "text";
4023
4242
  text: string;
@@ -5358,12 +5577,31 @@ export declare const toolDefinitions: {
5358
5577
  };
5359
5578
  list_communication_themes: {
5360
5579
  description: string;
5361
- schema: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
5362
- handler: () => Promise<{
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<{
5594
+ content: {
5595
+ type: "text";
5596
+ text: string;
5597
+ }[];
5598
+ isError: boolean;
5599
+ } | {
5363
5600
  content: {
5364
5601
  type: "text";
5365
5602
  text: string;
5366
5603
  }[];
5604
+ isError?: undefined;
5367
5605
  }>;
5368
5606
  } & {
5369
5607
  group: ToolGroup;
@@ -5371,24 +5609,44 @@ export declare const toolDefinitions: {
5371
5609
  create_communication_theme: {
5372
5610
  description: string;
5373
5611
  schema: import("zod").ZodObject<{
5374
- 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>;
5375
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>;
5376
5619
  style: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
5377
5620
  roles: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
5378
5621
  }, "strip", import("zod").ZodTypeAny, {
5379
- name: string;
5622
+ org_id?: string | undefined;
5623
+ name?: string | undefined;
5380
5624
  style?: Record<string, unknown> | undefined;
5625
+ scope?: "workspace" | "org" | undefined;
5381
5626
  clone_from_id?: string | undefined;
5627
+ promote_theme_id?: string | undefined;
5628
+ promote_from_workspace_key?: string | undefined;
5629
+ set_default?: boolean | undefined;
5382
5630
  roles?: Record<string, unknown> | undefined;
5383
5631
  }, {
5384
- name: string;
5632
+ org_id?: string | undefined;
5633
+ name?: string | undefined;
5385
5634
  style?: Record<string, unknown> | undefined;
5635
+ scope?: "workspace" | "org" | undefined;
5386
5636
  clone_from_id?: string | undefined;
5637
+ promote_theme_id?: string | undefined;
5638
+ promote_from_workspace_key?: string | undefined;
5639
+ set_default?: boolean | undefined;
5387
5640
  roles?: Record<string, unknown> | undefined;
5388
5641
  }>;
5389
5642
  handler: (args: {
5390
- name: string;
5643
+ name?: string;
5644
+ scope?: "workspace" | "org";
5645
+ org_id?: string;
5391
5646
  clone_from_id?: string;
5647
+ promote_theme_id?: string;
5648
+ promote_from_workspace_key?: string;
5649
+ set_default?: boolean;
5392
5650
  style?: Record<string, unknown>;
5393
5651
  roles?: Record<string, unknown>;
5394
5652
  }) => Promise<{
@@ -5396,6 +5654,13 @@ export declare const toolDefinitions: {
5396
5654
  type: "text";
5397
5655
  text: string;
5398
5656
  }[];
5657
+ isError: boolean;
5658
+ } | {
5659
+ content: {
5660
+ type: "text";
5661
+ text: string;
5662
+ }[];
5663
+ isError?: undefined;
5399
5664
  }>;
5400
5665
  } & {
5401
5666
  group: ToolGroup;
@@ -5404,25 +5669,37 @@ export declare const toolDefinitions: {
5404
5669
  description: string;
5405
5670
  schema: import("zod").ZodObject<{
5406
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>;
5407
5675
  name: import("zod").ZodOptional<import("zod").ZodString>;
5408
5676
  style: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
5409
5677
  roles: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
5410
5678
  set_default: import("zod").ZodOptional<import("zod").ZodBoolean>;
5411
5679
  }, "strip", import("zod").ZodTypeAny, {
5412
5680
  theme_id: string;
5681
+ org_id?: string | undefined;
5413
5682
  name?: string | undefined;
5414
5683
  style?: Record<string, unknown> | undefined;
5415
- roles?: Record<string, unknown> | undefined;
5684
+ scope?: "workspace" | "org" | undefined;
5416
5685
  set_default?: boolean | undefined;
5686
+ roles?: Record<string, unknown> | undefined;
5687
+ reset_to_org?: boolean | undefined;
5417
5688
  }, {
5418
5689
  theme_id: string;
5690
+ org_id?: string | undefined;
5419
5691
  name?: string | undefined;
5420
5692
  style?: Record<string, unknown> | undefined;
5421
- roles?: Record<string, unknown> | undefined;
5693
+ scope?: "workspace" | "org" | undefined;
5422
5694
  set_default?: boolean | undefined;
5695
+ roles?: Record<string, unknown> | undefined;
5696
+ reset_to_org?: boolean | undefined;
5423
5697
  }>;
5424
5698
  handler: (args: {
5425
5699
  theme_id: string;
5700
+ scope?: "workspace" | "org";
5701
+ org_id?: string;
5702
+ reset_to_org?: boolean;
5426
5703
  name?: string;
5427
5704
  style?: Record<string, unknown>;
5428
5705
  roles?: Record<string, unknown>;
@@ -5432,6 +5709,13 @@ export declare const toolDefinitions: {
5432
5709
  type: "text";
5433
5710
  text: string;
5434
5711
  }[];
5712
+ isError?: undefined;
5713
+ } | {
5714
+ content: {
5715
+ type: "text";
5716
+ text: string;
5717
+ }[];
5718
+ isError: boolean;
5435
5719
  }>;
5436
5720
  } & {
5437
5721
  group: ToolGroup;
@@ -5575,7 +5859,7 @@ export declare const toolDefinitions: {
5575
5859
  subject: import("zod").ZodOptional<import("zod").ZodString>;
5576
5860
  slots: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
5577
5861
  blocks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
5578
- 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"]>;
5579
5863
  id: import("zod").ZodOptional<import("zod").ZodString>;
5580
5864
  kind: import("zod").ZodOptional<import("zod").ZodString>;
5581
5865
  text: import("zod").ZodOptional<import("zod").ZodString>;
@@ -5588,15 +5872,20 @@ export declare const toolDefinitions: {
5588
5872
  image_natural_height: import("zod").ZodOptional<import("zod").ZodNumber>;
5589
5873
  label: import("zod").ZodOptional<import("zod").ZodString>;
5590
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"]>>;
5591
5879
  html: import("zod").ZodOptional<import("zod").ZodString>;
5592
5880
  height: import("zod").ZodOptional<import("zod").ZodNumber>;
5593
5881
  color: import("zod").ZodOptional<import("zod").ZodString>;
5594
5882
  thickness: import("zod").ZodOptional<import("zod").ZodNumber>;
5595
5883
  }, "strip", import("zod").ZodTypeAny, {
5596
- type: "text" | "heading" | "image" | "button" | "html" | "spacer" | "divider" | "keep";
5884
+ type: "text" | "heading" | "image" | "button" | "stat" | "html" | "spacer" | "divider" | "keep";
5597
5885
  id?: string | undefined;
5598
5886
  label?: string | undefined;
5599
5887
  kind?: string | undefined;
5888
+ value?: string | undefined;
5600
5889
  text?: string | undefined;
5601
5890
  url?: string | undefined;
5602
5891
  html?: string | undefined;
@@ -5607,14 +5896,18 @@ export declare const toolDefinitions: {
5607
5896
  image_natural_width?: number | undefined;
5608
5897
  image_natural_height?: number | undefined;
5609
5898
  button_width?: "fill" | "hug" | undefined;
5899
+ eyebrow?: string | undefined;
5900
+ caption?: string | undefined;
5901
+ tone?: "plain" | "success" | "warning" | "neutral" | undefined;
5610
5902
  height?: number | undefined;
5611
5903
  color?: string | undefined;
5612
5904
  thickness?: number | undefined;
5613
5905
  }, {
5614
- type: "text" | "heading" | "image" | "button" | "html" | "spacer" | "divider" | "keep";
5906
+ type: "text" | "heading" | "image" | "button" | "stat" | "html" | "spacer" | "divider" | "keep";
5615
5907
  id?: string | undefined;
5616
5908
  label?: string | undefined;
5617
5909
  kind?: string | undefined;
5910
+ value?: string | undefined;
5618
5911
  text?: string | undefined;
5619
5912
  url?: string | undefined;
5620
5913
  html?: string | undefined;
@@ -5625,6 +5918,9 @@ export declare const toolDefinitions: {
5625
5918
  image_natural_width?: number | undefined;
5626
5919
  image_natural_height?: number | undefined;
5627
5920
  button_width?: "fill" | "hug" | undefined;
5921
+ eyebrow?: string | undefined;
5922
+ caption?: string | undefined;
5923
+ tone?: "plain" | "success" | "warning" | "neutral" | undefined;
5628
5924
  height?: number | undefined;
5629
5925
  color?: string | undefined;
5630
5926
  thickness?: number | undefined;
@@ -5646,10 +5942,11 @@ export declare const toolDefinitions: {
5646
5942
  categoryId?: string | undefined;
5647
5943
  slots?: Record<string, string> | undefined;
5648
5944
  blocks?: {
5649
- type: "text" | "heading" | "image" | "button" | "html" | "spacer" | "divider" | "keep";
5945
+ type: "text" | "heading" | "image" | "button" | "stat" | "html" | "spacer" | "divider" | "keep";
5650
5946
  id?: string | undefined;
5651
5947
  label?: string | undefined;
5652
5948
  kind?: string | undefined;
5949
+ value?: string | undefined;
5653
5950
  text?: string | undefined;
5654
5951
  url?: string | undefined;
5655
5952
  html?: string | undefined;
@@ -5660,6 +5957,9 @@ export declare const toolDefinitions: {
5660
5957
  image_natural_width?: number | undefined;
5661
5958
  image_natural_height?: number | undefined;
5662
5959
  button_width?: "fill" | "hug" | undefined;
5960
+ eyebrow?: string | undefined;
5961
+ caption?: string | undefined;
5962
+ tone?: "plain" | "success" | "warning" | "neutral" | undefined;
5663
5963
  height?: number | undefined;
5664
5964
  color?: string | undefined;
5665
5965
  thickness?: number | undefined;
@@ -5677,10 +5977,11 @@ export declare const toolDefinitions: {
5677
5977
  categoryId?: string | undefined;
5678
5978
  slots?: Record<string, string> | undefined;
5679
5979
  blocks?: {
5680
- type: "text" | "heading" | "image" | "button" | "html" | "spacer" | "divider" | "keep";
5980
+ type: "text" | "heading" | "image" | "button" | "stat" | "html" | "spacer" | "divider" | "keep";
5681
5981
  id?: string | undefined;
5682
5982
  label?: string | undefined;
5683
5983
  kind?: string | undefined;
5984
+ value?: string | undefined;
5684
5985
  text?: string | undefined;
5685
5986
  url?: string | undefined;
5686
5987
  html?: string | undefined;
@@ -5691,6 +5992,9 @@ export declare const toolDefinitions: {
5691
5992
  image_natural_width?: number | undefined;
5692
5993
  image_natural_height?: number | undefined;
5693
5994
  button_width?: "fill" | "hug" | undefined;
5995
+ eyebrow?: string | undefined;
5996
+ caption?: string | undefined;
5997
+ tone?: "plain" | "success" | "warning" | "neutral" | undefined;
5694
5998
  height?: number | undefined;
5695
5999
  color?: string | undefined;
5696
6000
  thickness?: number | undefined;
@@ -6184,22 +6488,26 @@ export declare const toolDefinitions: {
6184
6488
  journeyId: import("zod").ZodString;
6185
6489
  eventName: import("zod").ZodOptional<import("zod").ZodString>;
6186
6490
  keyEventId: import("zod").ZodOptional<import("zod").ZodString>;
6491
+ segmentId: import("zod").ZodOptional<import("zod").ZodString>;
6187
6492
  triggerContractId: import("zod").ZodOptional<import("zod").ZodString>;
6188
6493
  }, "strip", import("zod").ZodTypeAny, {
6189
6494
  journeyId: string;
6190
6495
  eventName?: string | undefined;
6191
6496
  keyEventId?: string | undefined;
6497
+ segmentId?: string | undefined;
6192
6498
  triggerContractId?: string | undefined;
6193
6499
  }, {
6194
6500
  journeyId: string;
6195
6501
  eventName?: string | undefined;
6196
6502
  keyEventId?: string | undefined;
6503
+ segmentId?: string | undefined;
6197
6504
  triggerContractId?: string | undefined;
6198
6505
  }>;
6199
- handler: ({ journeyId, eventName, keyEventId, triggerContractId, }: {
6506
+ handler: ({ journeyId, eventName, keyEventId, segmentId, triggerContractId, }: {
6200
6507
  journeyId: string;
6201
6508
  eventName?: string;
6202
6509
  keyEventId?: string;
6510
+ segmentId?: string;
6203
6511
  triggerContractId?: string;
6204
6512
  }) => Promise<{
6205
6513
  content: {
@@ -6336,8 +6644,8 @@ export declare const toolDefinitions: {
6336
6644
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
6337
6645
  operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
6338
6646
  event_name?: string | undefined;
6339
- key_event_id?: string | undefined;
6340
6647
  scope?: "account" | "person" | undefined;
6648
+ key_event_id?: string | undefined;
6341
6649
  field_path?: string | undefined;
6342
6650
  window_days?: number | undefined;
6343
6651
  wait_days?: number | undefined;
@@ -6346,8 +6654,8 @@ export declare const toolDefinitions: {
6346
6654
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
6347
6655
  operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
6348
6656
  event_name?: string | undefined;
6349
- key_event_id?: string | undefined;
6350
6657
  scope?: "account" | "person" | undefined;
6658
+ key_event_id?: string | undefined;
6351
6659
  field_path?: string | undefined;
6352
6660
  window_days?: number | undefined;
6353
6661
  wait_days?: number | undefined;
@@ -6361,8 +6669,8 @@ export declare const toolDefinitions: {
6361
6669
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
6362
6670
  operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
6363
6671
  event_name?: string | undefined;
6364
- key_event_id?: string | undefined;
6365
6672
  scope?: "account" | "person" | undefined;
6673
+ key_event_id?: string | undefined;
6366
6674
  field_path?: string | undefined;
6367
6675
  window_days?: number | undefined;
6368
6676
  wait_days?: number | undefined;
@@ -6378,8 +6686,8 @@ export declare const toolDefinitions: {
6378
6686
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
6379
6687
  operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
6380
6688
  event_name?: string | undefined;
6381
- key_event_id?: string | undefined;
6382
6689
  scope?: "account" | "person" | undefined;
6690
+ key_event_id?: string | undefined;
6383
6691
  field_path?: string | undefined;
6384
6692
  window_days?: number | undefined;
6385
6693
  wait_days?: number | undefined;
@@ -6867,18 +7175,18 @@ export declare const toolDefinitions: {
6867
7175
  }, "strip", import("zod").ZodTypeAny, {
6868
7176
  event?: string | undefined;
6869
7177
  value?: string | number | boolean | undefined;
7178
+ scope?: "account" | "person" | undefined;
6870
7179
  attribute?: string | undefined;
6871
7180
  key_event_id?: string | undefined;
6872
- scope?: "account" | "person" | undefined;
6873
7181
  window_days?: number | undefined;
6874
7182
  verb?: "has" | "hasnt" | undefined;
6875
7183
  op?: "exists" | "is" | "is_not" | undefined;
6876
7184
  }, {
6877
7185
  event?: string | undefined;
6878
7186
  value?: string | number | boolean | undefined;
7187
+ scope?: "account" | "person" | undefined;
6879
7188
  attribute?: string | undefined;
6880
7189
  key_event_id?: string | undefined;
6881
- scope?: "account" | "person" | undefined;
6882
7190
  window_days?: number | undefined;
6883
7191
  verb?: "has" | "hasnt" | undefined;
6884
7192
  op?: "exists" | "is" | "is_not" | undefined;
@@ -6888,9 +7196,9 @@ export declare const toolDefinitions: {
6888
7196
  conditions: {
6889
7197
  event?: string | undefined;
6890
7198
  value?: string | number | boolean | undefined;
7199
+ scope?: "account" | "person" | undefined;
6891
7200
  attribute?: string | undefined;
6892
7201
  key_event_id?: string | undefined;
6893
- scope?: "account" | "person" | undefined;
6894
7202
  window_days?: number | undefined;
6895
7203
  verb?: "has" | "hasnt" | undefined;
6896
7204
  op?: "exists" | "is" | "is_not" | undefined;
@@ -6900,9 +7208,9 @@ export declare const toolDefinitions: {
6900
7208
  conditions: {
6901
7209
  event?: string | undefined;
6902
7210
  value?: string | number | boolean | undefined;
7211
+ scope?: "account" | "person" | undefined;
6903
7212
  attribute?: string | undefined;
6904
7213
  key_event_id?: string | undefined;
6905
- scope?: "account" | "person" | undefined;
6906
7214
  window_days?: number | undefined;
6907
7215
  verb?: "has" | "hasnt" | undefined;
6908
7216
  op?: "exists" | "is" | "is_not" | undefined;
@@ -6915,9 +7223,9 @@ export declare const toolDefinitions: {
6915
7223
  conditions: {
6916
7224
  event?: string | undefined;
6917
7225
  value?: string | number | boolean | undefined;
7226
+ scope?: "account" | "person" | undefined;
6918
7227
  attribute?: string | undefined;
6919
7228
  key_event_id?: string | undefined;
6920
- scope?: "account" | "person" | undefined;
6921
7229
  window_days?: number | undefined;
6922
7230
  verb?: "has" | "hasnt" | undefined;
6923
7231
  op?: "exists" | "is" | "is_not" | undefined;
@@ -6930,9 +7238,9 @@ export declare const toolDefinitions: {
6930
7238
  conditions: {
6931
7239
  event?: string | undefined;
6932
7240
  value?: string | number | boolean | undefined;
7241
+ scope?: "account" | "person" | undefined;
6933
7242
  attribute?: string | undefined;
6934
7243
  key_event_id?: string | undefined;
6935
- scope?: "account" | "person" | undefined;
6936
7244
  window_days?: number | undefined;
6937
7245
  verb?: "has" | "hasnt" | undefined;
6938
7246
  op?: "exists" | "is" | "is_not" | undefined;
@@ -6951,9 +7259,9 @@ export declare const toolDefinitions: {
6951
7259
  conditions: {
6952
7260
  event?: string | undefined;
6953
7261
  value?: string | number | boolean | undefined;
7262
+ scope?: "account" | "person" | undefined;
6954
7263
  attribute?: string | undefined;
6955
7264
  key_event_id?: string | undefined;
6956
- scope?: "account" | "person" | undefined;
6957
7265
  window_days?: number | undefined;
6958
7266
  verb?: "has" | "hasnt" | undefined;
6959
7267
  op?: "exists" | "is" | "is_not" | undefined;
@@ -6972,9 +7280,9 @@ export declare const toolDefinitions: {
6972
7280
  conditions: {
6973
7281
  event?: string | undefined;
6974
7282
  value?: string | number | boolean | undefined;
7283
+ scope?: "account" | "person" | undefined;
6975
7284
  attribute?: string | undefined;
6976
7285
  key_event_id?: string | undefined;
6977
- scope?: "account" | "person" | undefined;
6978
7286
  window_days?: number | undefined;
6979
7287
  verb?: "has" | "hasnt" | undefined;
6980
7288
  op?: "exists" | "is" | "is_not" | undefined;