@apex-inc/mcp-server 0.39.0 → 0.41.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.
Files changed (89) hide show
  1. package/README.md +1 -1
  2. package/dist/api-client.d.ts +22 -0
  3. package/dist/api-client.d.ts.map +1 -1
  4. package/dist/api-client.js +61 -1
  5. package/dist/api-client.js.map +1 -1
  6. package/dist/auth.d.ts +22 -0
  7. package/dist/auth.d.ts.map +1 -1
  8. package/dist/auth.js +71 -5
  9. package/dist/auth.js.map +1 -1
  10. package/dist/base-url.d.ts +8 -0
  11. package/dist/base-url.d.ts.map +1 -0
  12. package/dist/base-url.js +10 -0
  13. package/dist/base-url.js.map +1 -0
  14. package/dist/index.js +3 -0
  15. package/dist/index.js.map +1 -1
  16. package/dist/letter-blocks.d.ts +17 -0
  17. package/dist/letter-blocks.d.ts.map +1 -1
  18. package/dist/letter-blocks.js +64 -0
  19. package/dist/letter-blocks.js.map +1 -1
  20. package/dist/preview-images.d.ts +9 -0
  21. package/dist/preview-images.d.ts.map +1 -0
  22. package/dist/preview-images.js +29 -0
  23. package/dist/preview-images.js.map +1 -0
  24. package/dist/prompts.d.ts +14 -0
  25. package/dist/prompts.d.ts.map +1 -1
  26. package/dist/prompts.js +31 -6
  27. package/dist/prompts.js.map +1 -1
  28. package/dist/repo-binding.d.ts +8 -0
  29. package/dist/repo-binding.d.ts.map +1 -0
  30. package/dist/repo-binding.js +13 -0
  31. package/dist/repo-binding.js.map +1 -0
  32. package/dist/resources.d.ts +13 -0
  33. package/dist/resources.d.ts.map +1 -1
  34. package/dist/resources.js +16 -0
  35. package/dist/resources.js.map +1 -1
  36. package/dist/setup-catchup-tools.d.ts +283 -5
  37. package/dist/setup-catchup-tools.d.ts.map +1 -1
  38. package/dist/setup-catchup-tools.js +348 -13
  39. package/dist/setup-catchup-tools.js.map +1 -1
  40. package/dist/setup-checklist.d.ts +68 -0
  41. package/dist/setup-checklist.d.ts.map +1 -0
  42. package/dist/setup-checklist.js +128 -0
  43. package/dist/setup-checklist.js.map +1 -0
  44. package/dist/setup-flow.d.ts +14 -0
  45. package/dist/setup-flow.d.ts.map +1 -0
  46. package/dist/setup-flow.js +52 -0
  47. package/dist/setup-flow.js.map +1 -0
  48. package/dist/smoke-tools.d.ts.map +1 -1
  49. package/dist/smoke-tools.js +2 -0
  50. package/dist/smoke-tools.js.map +1 -1
  51. package/dist/tool-groups.d.ts.map +1 -1
  52. package/dist/tool-groups.js +23 -0
  53. package/dist/tool-groups.js.map +1 -1
  54. package/dist/tool-shared.d.ts.map +1 -1
  55. package/dist/tool-shared.js +11 -4
  56. package/dist/tool-shared.js.map +1 -1
  57. package/dist/tools/ad-platforms.d.ts +240 -0
  58. package/dist/tools/ad-platforms.d.ts.map +1 -0
  59. package/dist/tools/ad-platforms.js +294 -0
  60. package/dist/tools/ad-platforms.js.map +1 -0
  61. package/dist/tools/adoption.d.ts +24 -2
  62. package/dist/tools/adoption.d.ts.map +1 -1
  63. package/dist/tools/adoption.js +24 -3
  64. package/dist/tools/adoption.js.map +1 -1
  65. package/dist/tools/context.d.ts +10 -0
  66. package/dist/tools/context.d.ts.map +1 -1
  67. package/dist/tools/context.js +36 -31
  68. package/dist/tools/context.js.map +1 -1
  69. package/dist/tools/experiments.d.ts +2 -2
  70. package/dist/tools/experiments.d.ts.map +1 -1
  71. package/dist/tools/experiments.js +2 -2
  72. package/dist/tools/experiments.js.map +1 -1
  73. package/dist/tools/letters.d.ts +48 -8
  74. package/dist/tools/letters.d.ts.map +1 -1
  75. package/dist/tools/letters.js +59 -5
  76. package/dist/tools/letters.js.map +1 -1
  77. package/dist/tools/measurement.d.ts +2 -2
  78. package/dist/tools/measurement.d.ts.map +1 -1
  79. package/dist/tools/measurement.js +4 -3
  80. package/dist/tools/measurement.js.map +1 -1
  81. package/dist/tools.d.ts +639 -19
  82. package/dist/tools.d.ts.map +1 -1
  83. package/dist/tools.js +2 -0
  84. package/dist/tools.js.map +1 -1
  85. package/package.json +3 -2
  86. package/skills/apex-communications/SKILL.md +5 -1
  87. package/skills/apex-growth-tracking/SKILL.md +1 -0
  88. package/skills/apex-integration-cookbook/SKILL.md +21 -7
  89. package/skills/apex-setup/SKILL.md +69 -0
package/dist/tools.d.ts CHANGED
@@ -31,25 +31,29 @@ export declare const toolDefinitions: {
31
31
  vertical: import("zod").ZodOptional<import("zod").ZodEnum<["b2b-saas", "ecommerce", "marketplace", "agency", "other"]>>;
32
32
  conversionModel: import("zod").ZodOptional<import("zod").ZodEnum<["sales-assisted", "self-serve", "transaction", "two-sided", "hybrid"]>>;
33
33
  websiteUrl: import("zod").ZodOptional<import("zod").ZodString>;
34
+ siteInstall: import("zod").ZodOptional<import("zod").ZodEnum<["codebase", "snippet"]>>;
34
35
  appUrl: import("zod").ZodOptional<import("zod").ZodString>;
35
36
  }, "strip", import("zod").ZodTypeAny, {
36
37
  workspaceName?: string | undefined;
37
38
  vertical?: "b2b-saas" | "ecommerce" | "marketplace" | "agency" | "other" | undefined;
38
39
  conversionModel?: "sales-assisted" | "self-serve" | "transaction" | "two-sided" | "hybrid" | undefined;
39
40
  websiteUrl?: string | undefined;
41
+ siteInstall?: "codebase" | "snippet" | undefined;
40
42
  appUrl?: string | undefined;
41
43
  }, {
42
44
  workspaceName?: string | undefined;
43
45
  vertical?: "b2b-saas" | "ecommerce" | "marketplace" | "agency" | "other" | undefined;
44
46
  conversionModel?: "sales-assisted" | "self-serve" | "transaction" | "two-sided" | "hybrid" | undefined;
45
47
  websiteUrl?: string | undefined;
48
+ siteInstall?: "codebase" | "snippet" | undefined;
46
49
  appUrl?: string | undefined;
47
50
  }>;
48
- handler: ({ workspaceName, vertical, conversionModel, websiteUrl, appUrl, }: {
51
+ handler: ({ workspaceName, vertical, conversionModel, websiteUrl, siteInstall, appUrl, }: {
49
52
  workspaceName?: string;
50
53
  vertical?: "b2b-saas" | "ecommerce" | "marketplace" | "agency" | "other";
51
54
  conversionModel?: "sales-assisted" | "self-serve" | "transaction" | "two-sided" | "hybrid";
52
55
  websiteUrl?: string;
56
+ siteInstall?: "codebase" | "snippet";
53
57
  appUrl?: string;
54
58
  }) => Promise<{
55
59
  content: {
@@ -60,6 +64,138 @@ export declare const toolDefinitions: {
60
64
  } & {
61
65
  group: ToolGroup;
62
66
  };
67
+ create_workspace: {
68
+ description: string;
69
+ schema: import("zod").ZodObject<{
70
+ orgId: import("zod").ZodOptional<import("zod").ZodString>;
71
+ name: import("zod").ZodString;
72
+ websiteUrl: import("zod").ZodOptional<import("zod").ZodString>;
73
+ vertical: import("zod").ZodOptional<import("zod").ZodEnum<["b2b-saas", "ecommerce", "marketplace", "agency", "other"]>>;
74
+ conversionModel: import("zod").ZodOptional<import("zod").ZodEnum<["sales-assisted", "self-serve", "transaction", "two-sided", "hybrid"]>>;
75
+ }, "strip", import("zod").ZodTypeAny, {
76
+ name: string;
77
+ orgId?: string | undefined;
78
+ vertical?: "b2b-saas" | "ecommerce" | "marketplace" | "agency" | "other" | undefined;
79
+ conversionModel?: "sales-assisted" | "self-serve" | "transaction" | "two-sided" | "hybrid" | undefined;
80
+ websiteUrl?: string | undefined;
81
+ }, {
82
+ name: string;
83
+ orgId?: string | undefined;
84
+ vertical?: "b2b-saas" | "ecommerce" | "marketplace" | "agency" | "other" | undefined;
85
+ conversionModel?: "sales-assisted" | "self-serve" | "transaction" | "two-sided" | "hybrid" | undefined;
86
+ websiteUrl?: string | undefined;
87
+ }>;
88
+ handler: ({ orgId, name, websiteUrl, vertical, conversionModel, }: {
89
+ orgId?: string;
90
+ name: string;
91
+ websiteUrl?: string;
92
+ vertical?: "b2b-saas" | "ecommerce" | "marketplace" | "agency" | "other";
93
+ conversionModel?: "sales-assisted" | "self-serve" | "transaction" | "two-sided" | "hybrid";
94
+ }) => Promise<{
95
+ content: {
96
+ type: "text";
97
+ text: string;
98
+ }[];
99
+ }>;
100
+ } & {
101
+ group: ToolGroup;
102
+ };
103
+ create_organization: {
104
+ description: string;
105
+ schema: import("zod").ZodObject<{
106
+ name: import("zod").ZodString;
107
+ workspaceName: import("zod").ZodOptional<import("zod").ZodString>;
108
+ }, "strip", import("zod").ZodTypeAny, {
109
+ name: string;
110
+ workspaceName?: string | undefined;
111
+ }, {
112
+ name: string;
113
+ workspaceName?: string | undefined;
114
+ }>;
115
+ handler: ({ name, workspaceName }: {
116
+ name: string;
117
+ workspaceName?: string;
118
+ }) => Promise<{
119
+ content: {
120
+ type: "text";
121
+ text: string;
122
+ }[];
123
+ }>;
124
+ } & {
125
+ group: ToolGroup;
126
+ };
127
+ skip_setup_step: {
128
+ description: string;
129
+ schema: import("zod").ZodObject<{
130
+ stepId: import("zod").ZodString;
131
+ reason: import("zod").ZodString;
132
+ snooze: import("zod").ZodOptional<import("zod").ZodBoolean>;
133
+ }, "strip", import("zod").ZodTypeAny, {
134
+ stepId: string;
135
+ reason: string;
136
+ snooze?: boolean | undefined;
137
+ }, {
138
+ stepId: string;
139
+ reason: string;
140
+ snooze?: boolean | undefined;
141
+ }>;
142
+ handler: ({ stepId, reason, snooze, }: {
143
+ stepId: string;
144
+ reason: string;
145
+ snooze?: boolean;
146
+ }) => Promise<{
147
+ content: {
148
+ type: "text";
149
+ text: string;
150
+ }[];
151
+ }>;
152
+ } & {
153
+ group: ToolGroup;
154
+ };
155
+ decline_setup_area: {
156
+ description: string;
157
+ schema: import("zod").ZodObject<{
158
+ area: import("zod").ZodEnum<["mobile-measurement", "server-events", "communications", "attribution", "partner-network"]>;
159
+ reason: import("zod").ZodString;
160
+ }, "strip", import("zod").ZodTypeAny, {
161
+ reason: string;
162
+ area: "mobile-measurement" | "server-events" | "communications" | "attribution" | "partner-network";
163
+ }, {
164
+ reason: string;
165
+ area: "mobile-measurement" | "server-events" | "communications" | "attribution" | "partner-network";
166
+ }>;
167
+ handler: ({ area, reason, }: {
168
+ area: typeof import("./setup-catchup-tools.js").DECLINABLE_AREAS[number];
169
+ reason: string;
170
+ }) => Promise<{
171
+ content: {
172
+ type: "text";
173
+ text: string;
174
+ }[];
175
+ }>;
176
+ } & {
177
+ group: ToolGroup;
178
+ };
179
+ undo_setup_answer: {
180
+ description: string;
181
+ schema: import("zod").ZodObject<{
182
+ stepId: import("zod").ZodString;
183
+ }, "strip", import("zod").ZodTypeAny, {
184
+ stepId: string;
185
+ }, {
186
+ stepId: string;
187
+ }>;
188
+ handler: ({ stepId }: {
189
+ stepId: string;
190
+ }) => Promise<{
191
+ content: {
192
+ type: "text";
193
+ text: string;
194
+ }[];
195
+ }>;
196
+ } & {
197
+ group: ToolGroup;
198
+ };
63
199
  claim_links_subdomain: {
64
200
  description: string;
65
201
  schema: import("zod").ZodObject<{
@@ -157,7 +293,7 @@ export declare const toolDefinitions: {
157
293
  schema: import("zod").ZodObject<{
158
294
  holdoutPct: import("zod").ZodOptional<import("zod").ZodNumber>;
159
295
  attributionWindowDays: import("zod").ZodOptional<import("zod").ZodNumber>;
160
- nudgeCapPerDay: import("zod").ZodOptional<import("zod").ZodNumber>;
296
+ nudgeCapPerDay: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
161
297
  fireOnTestEvents: import("zod").ZodOptional<import("zod").ZodBoolean>;
162
298
  capPolicy: import("zod").ZodOptional<import("zod").ZodObject<{
163
299
  daily: import("zod").ZodObject<{
@@ -212,7 +348,7 @@ export declare const toolDefinitions: {
212
348
  }, "strip", import("zod").ZodTypeAny, {
213
349
  holdoutPct?: number | undefined;
214
350
  attributionWindowDays?: number | undefined;
215
- nudgeCapPerDay?: number | undefined;
351
+ nudgeCapPerDay?: number | null | undefined;
216
352
  fireOnTestEvents?: boolean | undefined;
217
353
  capPolicy?: {
218
354
  daily: {
@@ -229,7 +365,7 @@ export declare const toolDefinitions: {
229
365
  }, {
230
366
  holdoutPct?: number | undefined;
231
367
  attributionWindowDays?: number | undefined;
232
- nudgeCapPerDay?: number | undefined;
368
+ nudgeCapPerDay?: number | null | undefined;
233
369
  fireOnTestEvents?: boolean | undefined;
234
370
  capPolicy?: {
235
371
  daily: {
@@ -247,7 +383,7 @@ export declare const toolDefinitions: {
247
383
  handler: (args: {
248
384
  holdoutPct?: number;
249
385
  attributionWindowDays?: number;
250
- nudgeCapPerDay?: number;
386
+ nudgeCapPerDay?: number | null;
251
387
  fireOnTestEvents?: boolean;
252
388
  capPolicy?: {
253
389
  daily: {
@@ -642,6 +778,166 @@ export declare const toolDefinitions: {
642
778
  } & {
643
779
  group: ToolGroup;
644
780
  };
781
+ set_app_links: {
782
+ description: string;
783
+ schema: import("zod").ZodObject<{
784
+ ios: import("zod").ZodOptional<import("zod").ZodObject<{
785
+ bundle_id: import("zod").ZodString;
786
+ team_id: import("zod").ZodString;
787
+ }, "strip", import("zod").ZodTypeAny, {
788
+ bundle_id: string;
789
+ team_id: string;
790
+ }, {
791
+ bundle_id: string;
792
+ team_id: string;
793
+ }>>;
794
+ android: import("zod").ZodOptional<import("zod").ZodObject<{
795
+ package_name: import("zod").ZodString;
796
+ sha256_cert_fingerprint: import("zod").ZodString;
797
+ }, "strip", import("zod").ZodTypeAny, {
798
+ package_name: string;
799
+ sha256_cert_fingerprint: string;
800
+ }, {
801
+ package_name: string;
802
+ sha256_cert_fingerprint: string;
803
+ }>>;
804
+ }, "strip", import("zod").ZodTypeAny, {
805
+ ios?: {
806
+ bundle_id: string;
807
+ team_id: string;
808
+ } | undefined;
809
+ android?: {
810
+ package_name: string;
811
+ sha256_cert_fingerprint: string;
812
+ } | undefined;
813
+ }, {
814
+ ios?: {
815
+ bundle_id: string;
816
+ team_id: string;
817
+ } | undefined;
818
+ android?: {
819
+ package_name: string;
820
+ sha256_cert_fingerprint: string;
821
+ } | undefined;
822
+ }>;
823
+ handler: (args: {
824
+ ios?: {
825
+ bundle_id: string;
826
+ team_id: string;
827
+ };
828
+ android?: {
829
+ package_name: string;
830
+ sha256_cert_fingerprint: string;
831
+ };
832
+ }) => Promise<{
833
+ content: {
834
+ type: "text";
835
+ text: string;
836
+ }[];
837
+ }>;
838
+ } & {
839
+ group: ToolGroup;
840
+ };
841
+ set_smart_banner: {
842
+ description: string;
843
+ schema: import("zod").ZodObject<{
844
+ enabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
845
+ title: import("zod").ZodOptional<import("zod").ZodString>;
846
+ subtitle: import("zod").ZodOptional<import("zod").ZodString>;
847
+ ctaLabel: import("zod").ZodOptional<import("zod").ZodString>;
848
+ ctaColor: import("zod").ZodOptional<import("zod").ZodString>;
849
+ destinationSlug: import("zod").ZodOptional<import("zod").ZodString>;
850
+ dismissDays: import("zod").ZodOptional<import("zod").ZodNumber>;
851
+ position: import("zod").ZodOptional<import("zod").ZodEnum<["top", "bottom"]>>;
852
+ }, "strip", import("zod").ZodTypeAny, {
853
+ enabled?: boolean | undefined;
854
+ title?: string | undefined;
855
+ subtitle?: string | undefined;
856
+ ctaLabel?: string | undefined;
857
+ ctaColor?: string | undefined;
858
+ destinationSlug?: string | undefined;
859
+ dismissDays?: number | undefined;
860
+ position?: "top" | "bottom" | undefined;
861
+ }, {
862
+ enabled?: boolean | undefined;
863
+ title?: string | undefined;
864
+ subtitle?: string | undefined;
865
+ ctaLabel?: string | undefined;
866
+ ctaColor?: string | undefined;
867
+ destinationSlug?: string | undefined;
868
+ dismissDays?: number | undefined;
869
+ position?: "top" | "bottom" | undefined;
870
+ }>;
871
+ handler: (args: {
872
+ enabled?: boolean;
873
+ title?: string;
874
+ subtitle?: string;
875
+ ctaLabel?: string;
876
+ ctaColor?: string;
877
+ destinationSlug?: string;
878
+ dismissDays?: number;
879
+ position?: "top" | "bottom";
880
+ }) => Promise<{
881
+ content: {
882
+ type: "text";
883
+ text: string;
884
+ }[];
885
+ }>;
886
+ } & {
887
+ group: ToolGroup;
888
+ };
889
+ list_transactional_api_keys: {
890
+ description: string;
891
+ schema: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
892
+ handler: () => Promise<{
893
+ content: {
894
+ type: "text";
895
+ text: string;
896
+ }[];
897
+ }>;
898
+ } & {
899
+ group: ToolGroup;
900
+ };
901
+ create_transactional_api_key: {
902
+ description: string;
903
+ schema: import("zod").ZodObject<{
904
+ name: import("zod").ZodOptional<import("zod").ZodString>;
905
+ }, "strip", import("zod").ZodTypeAny, {
906
+ name?: string | undefined;
907
+ }, {
908
+ name?: string | undefined;
909
+ }>;
910
+ handler: ({ name }: {
911
+ name?: string;
912
+ }) => Promise<{
913
+ content: {
914
+ type: "text";
915
+ text: string;
916
+ }[];
917
+ }>;
918
+ } & {
919
+ group: ToolGroup;
920
+ };
921
+ connect_microsoft_clarity: {
922
+ description: string;
923
+ schema: import("zod").ZodObject<{
924
+ apiToken: import("zod").ZodString;
925
+ }, "strip", import("zod").ZodTypeAny, {
926
+ apiToken: string;
927
+ }, {
928
+ apiToken: string;
929
+ }>;
930
+ handler: ({ apiToken }: {
931
+ apiToken: string;
932
+ }) => Promise<{
933
+ content: {
934
+ type: "text";
935
+ text: string;
936
+ }[];
937
+ }>;
938
+ } & {
939
+ group: ToolGroup;
940
+ };
645
941
  set_protect_auto_pause: {
646
942
  description: string;
647
943
  schema: import("zod").ZodObject<{
@@ -1053,6 +1349,18 @@ export declare const toolDefinitions: {
1053
1349
  } & {
1054
1350
  group: ToolGroup;
1055
1351
  };
1352
+ wait_for_apex_approval: {
1353
+ description: string;
1354
+ schema: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
1355
+ handler: () => Promise<{
1356
+ content: {
1357
+ type: "text";
1358
+ text: string;
1359
+ }[];
1360
+ }>;
1361
+ } & {
1362
+ group: ToolGroup;
1363
+ };
1056
1364
  start_integration_install: {
1057
1365
  description: string;
1058
1366
  schema: import("zod").ZodObject<{
@@ -1261,6 +1569,254 @@ export declare const toolDefinitions: {
1261
1569
  } & {
1262
1570
  group: ToolGroup;
1263
1571
  };
1572
+ list_audiences: {
1573
+ description: string;
1574
+ schema: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
1575
+ handler: () => Promise<{
1576
+ content: {
1577
+ type: "text";
1578
+ text: string;
1579
+ }[];
1580
+ }>;
1581
+ } & {
1582
+ group: ToolGroup;
1583
+ };
1584
+ update_audience: {
1585
+ description: string;
1586
+ schema: import("zod").ZodObject<{
1587
+ audience_id: import("zod").ZodString;
1588
+ platforms: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1589
+ holdout_percent: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<0>, import("zod").ZodLiteral<5>, import("zod").ZodLiteral<10>, import("zod").ZodLiteral<20>]>>;
1590
+ confirm_delete: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
1591
+ }, "strip", import("zod").ZodTypeAny, {
1592
+ audience_id: string;
1593
+ platforms?: string[] | undefined;
1594
+ holdout_percent?: 0 | 5 | 10 | 20 | undefined;
1595
+ confirm_delete?: true | undefined;
1596
+ }, {
1597
+ audience_id: string;
1598
+ platforms?: string[] | undefined;
1599
+ holdout_percent?: 0 | 5 | 10 | 20 | undefined;
1600
+ confirm_delete?: true | undefined;
1601
+ }>;
1602
+ handler: (args: {
1603
+ audience_id: string;
1604
+ platforms?: string[];
1605
+ holdout_percent?: 0 | 5 | 10 | 20;
1606
+ confirm_delete?: true;
1607
+ }) => Promise<{
1608
+ content: {
1609
+ type: "text";
1610
+ text: string;
1611
+ }[];
1612
+ }>;
1613
+ } & {
1614
+ group: ToolGroup;
1615
+ };
1616
+ remove_audience: {
1617
+ description: string;
1618
+ schema: import("zod").ZodObject<{
1619
+ audience_id: import("zod").ZodString;
1620
+ confirm: import("zod").ZodLiteral<true>;
1621
+ }, "strip", import("zod").ZodTypeAny, {
1622
+ audience_id: string;
1623
+ confirm: true;
1624
+ }, {
1625
+ audience_id: string;
1626
+ confirm: true;
1627
+ }>;
1628
+ handler: (args: {
1629
+ audience_id: string;
1630
+ confirm: true;
1631
+ }) => Promise<{
1632
+ content: {
1633
+ type: "text";
1634
+ text: string;
1635
+ }[];
1636
+ }>;
1637
+ } & {
1638
+ group: ToolGroup;
1639
+ };
1640
+ list_audience_removals: {
1641
+ description: string;
1642
+ schema: import("zod").ZodObject<{
1643
+ audience_id: import("zod").ZodOptional<import("zod").ZodString>;
1644
+ }, "strip", import("zod").ZodTypeAny, {
1645
+ audience_id?: string | undefined;
1646
+ }, {
1647
+ audience_id?: string | undefined;
1648
+ }>;
1649
+ handler: (args: {
1650
+ audience_id?: string;
1651
+ }) => Promise<{
1652
+ content: {
1653
+ type: "text";
1654
+ text: string;
1655
+ }[];
1656
+ }>;
1657
+ } & {
1658
+ group: ToolGroup;
1659
+ };
1660
+ retry_audience_removals: {
1661
+ description: string;
1662
+ schema: import("zod").ZodObject<{
1663
+ audience_id: import("zod").ZodString;
1664
+ }, "strip", import("zod").ZodTypeAny, {
1665
+ audience_id: string;
1666
+ }, {
1667
+ audience_id: string;
1668
+ }>;
1669
+ handler: (args: {
1670
+ audience_id: string;
1671
+ }) => Promise<{
1672
+ content: {
1673
+ type: "text";
1674
+ text: string;
1675
+ }[];
1676
+ }>;
1677
+ } & {
1678
+ group: ToolGroup;
1679
+ };
1680
+ list_audience_goals: {
1681
+ description: string;
1682
+ schema: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
1683
+ handler: () => Promise<{
1684
+ content: {
1685
+ type: "text";
1686
+ text: string;
1687
+ }[];
1688
+ }>;
1689
+ } & {
1690
+ group: ToolGroup;
1691
+ };
1692
+ add_audience: {
1693
+ description: string;
1694
+ schema: import("zod").ZodObject<{
1695
+ goal: import("zod").ZodEnum<["win_back", "stop_paying", "interested", "lookalike"]>;
1696
+ platforms: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["meta-ads", "google-ads", "linkedin-ads"]>, "many">>;
1697
+ name: import("zod").ZodOptional<import("zod").ZodString>;
1698
+ send_now: import("zod").ZodOptional<import("zod").ZodBoolean>;
1699
+ confirm: import("zod").ZodLiteral<true>;
1700
+ }, "strip", import("zod").ZodTypeAny, {
1701
+ goal: "win_back" | "stop_paying" | "interested" | "lookalike";
1702
+ confirm: true;
1703
+ name?: string | undefined;
1704
+ platforms?: ("meta-ads" | "google-ads" | "linkedin-ads")[] | undefined;
1705
+ send_now?: boolean | undefined;
1706
+ }, {
1707
+ goal: "win_back" | "stop_paying" | "interested" | "lookalike";
1708
+ confirm: true;
1709
+ name?: string | undefined;
1710
+ platforms?: ("meta-ads" | "google-ads" | "linkedin-ads")[] | undefined;
1711
+ send_now?: boolean | undefined;
1712
+ }>;
1713
+ handler: (args: {
1714
+ goal: "win_back" | "stop_paying" | "interested" | "lookalike";
1715
+ platforms?: string[];
1716
+ name?: string;
1717
+ send_now?: boolean;
1718
+ confirm: true;
1719
+ }) => Promise<{
1720
+ content: {
1721
+ type: "text";
1722
+ text: string;
1723
+ }[];
1724
+ }>;
1725
+ } & {
1726
+ group: ToolGroup;
1727
+ };
1728
+ preview_ad_platform_send: {
1729
+ description: string;
1730
+ schema: import("zod").ZodObject<{
1731
+ event_name: import("zod").ZodString;
1732
+ meaning: import("zod").ZodEnum<["purchase", "lead", "signup", "subscription", "add_to_cart", "something_else"]>;
1733
+ }, "strip", import("zod").ZodTypeAny, {
1734
+ event_name: string;
1735
+ meaning: "purchase" | "subscription" | "lead" | "signup" | "add_to_cart" | "something_else";
1736
+ }, {
1737
+ event_name: string;
1738
+ meaning: "purchase" | "subscription" | "lead" | "signup" | "add_to_cart" | "something_else";
1739
+ }>;
1740
+ handler: (args: {
1741
+ event_name: string;
1742
+ meaning: "purchase" | "subscription" | "lead" | "signup" | "add_to_cart" | "something_else";
1743
+ }) => Promise<{
1744
+ content: {
1745
+ type: "text";
1746
+ text: string;
1747
+ }[];
1748
+ }>;
1749
+ } & {
1750
+ group: ToolGroup;
1751
+ };
1752
+ list_ad_platform_sends: {
1753
+ description: string;
1754
+ schema: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
1755
+ handler: () => Promise<{
1756
+ content: {
1757
+ type: "text";
1758
+ text: string;
1759
+ }[];
1760
+ }>;
1761
+ } & {
1762
+ group: ToolGroup;
1763
+ };
1764
+ add_ad_platform_send: {
1765
+ description: string;
1766
+ schema: import("zod").ZodObject<{
1767
+ event_name: import("zod").ZodString;
1768
+ meaning: import("zod").ZodEnum<["purchase", "lead", "signup", "subscription", "add_to_cart", "something_else"]>;
1769
+ send_value: import("zod").ZodOptional<import("zod").ZodBoolean>;
1770
+ name: import("zod").ZodOptional<import("zod").ZodString>;
1771
+ confirm: import("zod").ZodLiteral<true>;
1772
+ }, "strip", import("zod").ZodTypeAny, {
1773
+ event_name: string;
1774
+ confirm: true;
1775
+ meaning: "purchase" | "subscription" | "lead" | "signup" | "add_to_cart" | "something_else";
1776
+ name?: string | undefined;
1777
+ send_value?: boolean | undefined;
1778
+ }, {
1779
+ event_name: string;
1780
+ confirm: true;
1781
+ meaning: "purchase" | "subscription" | "lead" | "signup" | "add_to_cart" | "something_else";
1782
+ name?: string | undefined;
1783
+ send_value?: boolean | undefined;
1784
+ }>;
1785
+ handler: (args: {
1786
+ event_name: string;
1787
+ meaning: "purchase" | "subscription" | "lead" | "signup" | "add_to_cart" | "something_else";
1788
+ send_value?: boolean;
1789
+ name?: string;
1790
+ confirm: true;
1791
+ }) => Promise<{
1792
+ content: {
1793
+ type: "text";
1794
+ text: string;
1795
+ }[];
1796
+ }>;
1797
+ } & {
1798
+ group: ToolGroup;
1799
+ };
1800
+ remove_ad_platform_send: {
1801
+ description: string;
1802
+ schema: import("zod").ZodObject<{
1803
+ send_id: import("zod").ZodString;
1804
+ }, "strip", import("zod").ZodTypeAny, {
1805
+ send_id: string;
1806
+ }, {
1807
+ send_id: string;
1808
+ }>;
1809
+ handler: (args: {
1810
+ send_id: string;
1811
+ }) => Promise<{
1812
+ content: {
1813
+ type: "text";
1814
+ text: string;
1815
+ }[];
1816
+ }>;
1817
+ } & {
1818
+ group: ToolGroup;
1819
+ };
1264
1820
  list_events: {
1265
1821
  description: string;
1266
1822
  schema: import("zod").ZodObject<{
@@ -1766,14 +2322,14 @@ export declare const toolDefinitions: {
1766
2322
  name: string;
1767
2323
  description: string;
1768
2324
  fields: Record<string, string>;
1769
- scope?: "org" | "workspace" | undefined;
2325
+ scope?: "workspace" | "org" | undefined;
1770
2326
  primary_metric?: boolean | undefined;
1771
2327
  recommended_transport?: "client" | "server" | "either" | undefined;
1772
2328
  }, {
1773
2329
  name: string;
1774
2330
  description: string;
1775
2331
  fields: Record<string, string>;
1776
- scope?: "org" | "workspace" | undefined;
2332
+ scope?: "workspace" | "org" | undefined;
1777
2333
  primary_metric?: boolean | undefined;
1778
2334
  recommended_transport?: "client" | "server" | "either" | undefined;
1779
2335
  }>;
@@ -2723,6 +3279,16 @@ export declare const toolDefinitions: {
2723
3279
  enrollMode: import("zod").ZodOptional<import("zod").ZodEnum<["all", "future"]>>;
2724
3280
  finishWhen: import("zod").ZodOptional<import("zod").ZodEnum<["this_person", "anyone_here"]>>;
2725
3281
  nudgeJourneyId: import("zod").ZodOptional<import("zod").ZodString>;
3282
+ nudgeClocks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3283
+ hours: import("zod").ZodOptional<import("zod").ZodNumber>;
3284
+ days: import("zod").ZodOptional<import("zod").ZodNumber>;
3285
+ }, "strict", import("zod").ZodTypeAny, {
3286
+ days?: number | undefined;
3287
+ hours?: number | undefined;
3288
+ }, {
3289
+ days?: number | undefined;
3290
+ hours?: number | undefined;
3291
+ }>, "many">>;
2726
3292
  confirmLiveMilestone: import("zod").ZodOptional<import("zod").ZodBoolean>;
2727
3293
  }, "strip", import("zod").ZodTypeAny, {
2728
3294
  milestoneId: string;
@@ -2743,6 +3309,10 @@ export declare const toolDefinitions: {
2743
3309
  gapDays?: number | undefined;
2744
3310
  gapHours?: number | undefined;
2745
3311
  gapKind?: "days_since_signup" | "event_not_fired" | undefined;
3312
+ nudgeClocks?: {
3313
+ days?: number | undefined;
3314
+ hours?: number | undefined;
3315
+ }[] | undefined;
2746
3316
  confirmLiveMilestone?: boolean | undefined;
2747
3317
  }, {
2748
3318
  milestoneId: string;
@@ -2763,11 +3333,19 @@ export declare const toolDefinitions: {
2763
3333
  gapDays?: number | undefined;
2764
3334
  gapHours?: number | undefined;
2765
3335
  gapKind?: "days_since_signup" | "event_not_fired" | undefined;
3336
+ nudgeClocks?: {
3337
+ days?: number | undefined;
3338
+ hours?: number | undefined;
3339
+ }[] | undefined;
2766
3340
  confirmLiveMilestone?: boolean | undefined;
2767
3341
  }>;
2768
3342
  handler: (args: import("./adoption-compose.js").AdoptionWriteArgs & {
2769
3343
  milestoneId: string;
2770
3344
  confirmLiveMilestone?: boolean;
3345
+ nudgeClocks?: Array<{
3346
+ hours?: number;
3347
+ days?: number;
3348
+ }>;
2771
3349
  }) => Promise<{
2772
3350
  content: {
2773
3351
  type: "text";
@@ -2919,7 +3497,7 @@ export declare const toolDefinitions: {
2919
3497
  label: import("zod").ZodOptional<import("zod").ZodString>;
2920
3498
  }, "strip", import("zod").ZodTypeAny, {
2921
3499
  milestoneId: string;
2922
- state: "not_yet" | "done";
3500
+ state: "done" | "not_yet";
2923
3501
  label?: string | undefined;
2924
3502
  url?: string | undefined;
2925
3503
  imageBase64?: string | undefined;
@@ -2927,7 +3505,7 @@ export declare const toolDefinitions: {
2927
3505
  format?: "png" | "jpeg" | undefined;
2928
3506
  }, {
2929
3507
  milestoneId: string;
2930
- state: "not_yet" | "done";
3508
+ state: "done" | "not_yet";
2931
3509
  label?: string | undefined;
2932
3510
  url?: string | undefined;
2933
3511
  imageBase64?: string | undefined;
@@ -3210,13 +3788,13 @@ export declare const toolDefinitions: {
3210
3788
  roles: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
3211
3789
  }, "strip", import("zod").ZodTypeAny, {
3212
3790
  name: string;
3213
- clone_from_id?: string | undefined;
3214
3791
  style?: Record<string, unknown> | undefined;
3792
+ clone_from_id?: string | undefined;
3215
3793
  roles?: Record<string, unknown> | undefined;
3216
3794
  }, {
3217
3795
  name: string;
3218
- clone_from_id?: string | undefined;
3219
3796
  style?: Record<string, unknown> | undefined;
3797
+ clone_from_id?: string | undefined;
3220
3798
  roles?: Record<string, unknown> | undefined;
3221
3799
  }>;
3222
3800
  handler: (args: {
@@ -3275,19 +3853,27 @@ export declare const toolDefinitions: {
3275
3853
  theme_id: import("zod").ZodString;
3276
3854
  comm_ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
3277
3855
  apply: import("zod").ZodOptional<import("zod").ZodEnum<["draft", "live"]>>;
3856
+ publish_edits_ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
3857
+ confirm_not_in_test_ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
3278
3858
  }, "strip", import("zod").ZodTypeAny, {
3279
3859
  theme_id: string;
3280
3860
  comm_ids?: string[] | undefined;
3281
3861
  apply?: "draft" | "live" | undefined;
3862
+ publish_edits_ids?: string[] | undefined;
3863
+ confirm_not_in_test_ids?: string[] | undefined;
3282
3864
  }, {
3283
3865
  theme_id: string;
3284
3866
  comm_ids?: string[] | undefined;
3285
3867
  apply?: "draft" | "live" | undefined;
3868
+ publish_edits_ids?: string[] | undefined;
3869
+ confirm_not_in_test_ids?: string[] | undefined;
3286
3870
  }>;
3287
3871
  handler: (args: {
3288
3872
  theme_id: string;
3289
3873
  comm_ids?: string[];
3290
3874
  apply?: "draft" | "live";
3875
+ publish_edits_ids?: string[];
3876
+ confirm_not_in_test_ids?: string[];
3291
3877
  }) => Promise<{
3292
3878
  content: {
3293
3879
  type: "text";
@@ -3317,6 +3903,8 @@ export declare const toolDefinitions: {
3317
3903
  button_width: import("zod").ZodOptional<import("zod").ZodEnum<["hug", "fill"]>>;
3318
3904
  html: import("zod").ZodOptional<import("zod").ZodString>;
3319
3905
  height: import("zod").ZodOptional<import("zod").ZodNumber>;
3906
+ color: import("zod").ZodOptional<import("zod").ZodString>;
3907
+ thickness: import("zod").ZodOptional<import("zod").ZodNumber>;
3320
3908
  }, "strip", import("zod").ZodTypeAny, {
3321
3909
  type: "text" | "heading" | "image" | "button" | "html" | "spacer" | "divider";
3322
3910
  label?: string | undefined;
@@ -3331,6 +3919,8 @@ export declare const toolDefinitions: {
3331
3919
  image_natural_height?: number | undefined;
3332
3920
  button_width?: "fill" | "hug" | undefined;
3333
3921
  height?: number | undefined;
3922
+ color?: string | undefined;
3923
+ thickness?: number | undefined;
3334
3924
  }, {
3335
3925
  type: "text" | "heading" | "image" | "button" | "html" | "spacer" | "divider";
3336
3926
  label?: string | undefined;
@@ -3345,6 +3935,8 @@ export declare const toolDefinitions: {
3345
3935
  image_natural_height?: number | undefined;
3346
3936
  button_width?: "fill" | "hug" | undefined;
3347
3937
  height?: number | undefined;
3938
+ color?: string | undefined;
3939
+ thickness?: number | undefined;
3348
3940
  }>, "many">>;
3349
3941
  channels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
3350
3942
  status: import("zod").ZodOptional<import("zod").ZodEnum<["draft", "active", "paused"]>>;
@@ -3372,6 +3964,8 @@ export declare const toolDefinitions: {
3372
3964
  image_natural_height?: number | undefined;
3373
3965
  button_width?: "fill" | "hug" | undefined;
3374
3966
  height?: number | undefined;
3967
+ color?: string | undefined;
3968
+ thickness?: number | undefined;
3375
3969
  }[] | undefined;
3376
3970
  audience_bucket?: "production" | "beta" | "dev" | undefined;
3377
3971
  confirmLiveExperiment?: boolean | undefined;
@@ -3396,6 +3990,8 @@ export declare const toolDefinitions: {
3396
3990
  image_natural_height?: number | undefined;
3397
3991
  button_width?: "fill" | "hug" | undefined;
3398
3992
  height?: number | undefined;
3993
+ color?: string | undefined;
3994
+ thickness?: number | undefined;
3399
3995
  }[] | undefined;
3400
3996
  audience_bucket?: "production" | "beta" | "dev" | undefined;
3401
3997
  confirmLiveExperiment?: boolean | undefined;
@@ -3433,6 +4029,7 @@ export declare const toolDefinitions: {
3433
4029
  intent: import("zod").ZodOptional<import("zod").ZodEnum<["compete", "replace"]>>;
3434
4030
  confirmLiveExperiment: import("zod").ZodOptional<import("zod").ZodBoolean>;
3435
4031
  hostJourneyId: import("zod").ZodOptional<import("zod").ZodString>;
4032
+ optOutJourneyIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
3436
4033
  hypothesis: import("zod").ZodOptional<import("zod").ZodString>;
3437
4034
  beliefId: import("zod").ZodOptional<import("zod").ZodString>;
3438
4035
  confidence: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -3446,6 +4043,7 @@ export declare const toolDefinitions: {
3446
4043
  durationDays?: number | undefined;
3447
4044
  confirmLiveExperiment?: boolean | undefined;
3448
4045
  hostJourneyId?: string | undefined;
4046
+ optOutJourneyIds?: string[] | undefined;
3449
4047
  }, {
3450
4048
  communicationId: string;
3451
4049
  intent?: "replace" | "compete" | undefined;
@@ -3455,12 +4053,14 @@ export declare const toolDefinitions: {
3455
4053
  durationDays?: number | undefined;
3456
4054
  confirmLiveExperiment?: boolean | undefined;
3457
4055
  hostJourneyId?: string | undefined;
4056
+ optOutJourneyIds?: string[] | undefined;
3458
4057
  }>;
3459
4058
  handler: (args: {
3460
4059
  communicationId: string;
3461
4060
  intent?: "compete" | "replace";
3462
4061
  confirmLiveExperiment?: boolean;
3463
4062
  hostJourneyId?: string;
4063
+ optOutJourneyIds?: string[];
3464
4064
  hypothesis?: string;
3465
4065
  beliefId?: string;
3466
4066
  confidence?: number;
@@ -3481,6 +4081,26 @@ export declare const toolDefinitions: {
3481
4081
  } & {
3482
4082
  group: ToolGroup;
3483
4083
  };
4084
+ get_communication: {
4085
+ description: string;
4086
+ schema: import("zod").ZodObject<{
4087
+ communicationId: import("zod").ZodString;
4088
+ }, "strip", import("zod").ZodTypeAny, {
4089
+ communicationId: string;
4090
+ }, {
4091
+ communicationId: string;
4092
+ }>;
4093
+ handler: (args: {
4094
+ communicationId: string;
4095
+ }) => Promise<{
4096
+ content: {
4097
+ type: "text";
4098
+ text: string;
4099
+ }[];
4100
+ }>;
4101
+ } & {
4102
+ group: ToolGroup;
4103
+ };
3484
4104
  preview_communication: {
3485
4105
  description: string;
3486
4106
  schema: import("zod").ZodObject<{
@@ -4268,9 +4888,9 @@ export declare const toolDefinitions: {
4268
4888
  schema: import("zod").ZodObject<{
4269
4889
  scope: import("zod").ZodOptional<import("zod").ZodEnum<["workspace", "org"]>>;
4270
4890
  }, "strip", import("zod").ZodTypeAny, {
4271
- scope?: "org" | "workspace" | undefined;
4891
+ scope?: "workspace" | "org" | undefined;
4272
4892
  }, {
4273
- scope?: "org" | "workspace" | undefined;
4893
+ scope?: "workspace" | "org" | undefined;
4274
4894
  }>;
4275
4895
  handler: (args: {
4276
4896
  scope?: "workspace" | "org";
@@ -4290,10 +4910,10 @@ export declare const toolDefinitions: {
4290
4910
  scope: import("zod").ZodOptional<import("zod").ZodEnum<["workspace", "org"]>>;
4291
4911
  }, "strip", import("zod").ZodTypeAny, {
4292
4912
  segment_id: string;
4293
- scope?: "org" | "workspace" | undefined;
4913
+ scope?: "workspace" | "org" | undefined;
4294
4914
  }, {
4295
4915
  segment_id: string;
4296
- scope?: "org" | "workspace" | undefined;
4916
+ scope?: "workspace" | "org" | undefined;
4297
4917
  }>;
4298
4918
  handler: (args: {
4299
4919
  segment_id: string;
@@ -4391,7 +5011,7 @@ export declare const toolDefinitions: {
4391
5011
  }, "strip", import("zod").ZodTypeAny, {
4392
5012
  name: string;
4393
5013
  description?: string | undefined;
4394
- scope?: "org" | "workspace" | undefined;
5014
+ scope?: "workspace" | "org" | undefined;
4395
5015
  conditions?: {
4396
5016
  match: "all" | "any";
4397
5017
  groups: {
@@ -4410,7 +5030,7 @@ export declare const toolDefinitions: {
4410
5030
  }, {
4411
5031
  name: string;
4412
5032
  description?: string | undefined;
4413
- scope?: "org" | "workspace" | undefined;
5033
+ scope?: "workspace" | "org" | undefined;
4414
5034
  conditions?: {
4415
5035
  match: "all" | "any";
4416
5036
  groups: {
@@ -4608,7 +5228,7 @@ export declare const toolDefinitions: {
4608
5228
  guardrailThreshold?: number | undefined;
4609
5229
  predictionMagnitude?: string | undefined;
4610
5230
  dataSourceId?: string | undefined;
4611
- randomizationUnit?: "account" | "device" | "visitor" | "person" | "org" | undefined;
5231
+ randomizationUnit?: "account" | "org" | "device" | "visitor" | "person" | undefined;
4612
5232
  minSamplePerArm?: number | undefined;
4613
5233
  runtimeDays?: number | undefined;
4614
5234
  preview?: boolean | undefined;
@@ -4644,7 +5264,7 @@ export declare const toolDefinitions: {
4644
5264
  guardrailThreshold?: number | undefined;
4645
5265
  predictionMagnitude?: string | undefined;
4646
5266
  dataSourceId?: string | undefined;
4647
- randomizationUnit?: "account" | "device" | "visitor" | "person" | "org" | undefined;
5267
+ randomizationUnit?: "account" | "org" | "device" | "visitor" | "person" | undefined;
4648
5268
  minSamplePerArm?: number | undefined;
4649
5269
  runtimeDays?: number | undefined;
4650
5270
  preview?: boolean | undefined;