@apex-inc/mcp-server 0.3.1 → 0.7.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
@@ -310,6 +310,50 @@ export declare const toolDefinitions: {
310
310
  }[];
311
311
  }>;
312
312
  };
313
+ get_experiment_results: {
314
+ description: string;
315
+ schema: z.ZodObject<{
316
+ experiment_id: z.ZodString;
317
+ }, "strip", z.ZodTypeAny, {
318
+ experiment_id: string;
319
+ }, {
320
+ experiment_id: string;
321
+ }>;
322
+ handler: ({ experiment_id }: {
323
+ experiment_id: string;
324
+ }) => Promise<{
325
+ content: {
326
+ type: "text";
327
+ text: string;
328
+ }[];
329
+ }>;
330
+ };
331
+ promote_experiment_winner: {
332
+ description: string;
333
+ schema: z.ZodObject<{
334
+ experiment_id: z.ZodString;
335
+ force: z.ZodOptional<z.ZodBoolean>;
336
+ winner_key: z.ZodOptional<z.ZodString>;
337
+ }, "strip", z.ZodTypeAny, {
338
+ experiment_id: string;
339
+ force?: boolean | undefined;
340
+ winner_key?: string | undefined;
341
+ }, {
342
+ experiment_id: string;
343
+ force?: boolean | undefined;
344
+ winner_key?: string | undefined;
345
+ }>;
346
+ handler: ({ experiment_id, force, winner_key, }: {
347
+ experiment_id: string;
348
+ force?: boolean;
349
+ winner_key?: string;
350
+ }) => Promise<{
351
+ content: {
352
+ type: "text";
353
+ text: string;
354
+ }[];
355
+ }>;
356
+ };
313
357
  graduate_experiment: {
314
358
  description: string;
315
359
  schema: z.ZodObject<{
@@ -424,6 +468,40 @@ export declare const toolDefinitions: {
424
468
  }[];
425
469
  }>;
426
470
  };
471
+ send_server_event: {
472
+ description: string;
473
+ schema: z.ZodObject<{
474
+ type: z.ZodString;
475
+ visitorId: z.ZodOptional<z.ZodString>;
476
+ email: z.ZodOptional<z.ZodString>;
477
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
478
+ idempotencyKey: z.ZodOptional<z.ZodString>;
479
+ }, "strip", z.ZodTypeAny, {
480
+ type: string;
481
+ visitorId?: string | undefined;
482
+ email?: string | undefined;
483
+ data?: Record<string, unknown> | undefined;
484
+ idempotencyKey?: string | undefined;
485
+ }, {
486
+ type: string;
487
+ visitorId?: string | undefined;
488
+ email?: string | undefined;
489
+ data?: Record<string, unknown> | undefined;
490
+ idempotencyKey?: string | undefined;
491
+ }>;
492
+ handler: ({ type, visitorId, email, data, idempotencyKey, }: {
493
+ type: string;
494
+ visitorId?: string;
495
+ email?: string;
496
+ data?: Record<string, unknown>;
497
+ idempotencyKey?: string;
498
+ }) => Promise<{
499
+ content: {
500
+ type: "text";
501
+ text: string;
502
+ }[];
503
+ }>;
504
+ };
427
505
  identify_user: {
428
506
  description: string;
429
507
  schema: z.ZodObject<{
@@ -454,6 +532,42 @@ export declare const toolDefinitions: {
454
532
  }[];
455
533
  }>;
456
534
  };
535
+ get_schema: {
536
+ description: string;
537
+ schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
538
+ handler: () => Promise<{
539
+ content: {
540
+ type: "text";
541
+ text: string;
542
+ }[];
543
+ }>;
544
+ };
545
+ map_attribute: {
546
+ description: string;
547
+ schema: z.ZodObject<{
548
+ entityKey: z.ZodString;
549
+ fieldName: z.ZodString;
550
+ canonicalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
551
+ }, "strip", z.ZodTypeAny, {
552
+ entityKey: string;
553
+ fieldName: string;
554
+ canonicalName?: string | null | undefined;
555
+ }, {
556
+ entityKey: string;
557
+ fieldName: string;
558
+ canonicalName?: string | null | undefined;
559
+ }>;
560
+ handler: ({ entityKey, fieldName, canonicalName, }: {
561
+ entityKey: string;
562
+ fieldName: string;
563
+ canonicalName?: string | null;
564
+ }) => Promise<{
565
+ content: {
566
+ type: "text";
567
+ text: string;
568
+ }[];
569
+ }>;
570
+ };
457
571
  log_prediction: {
458
572
  description: string;
459
573
  schema: z.ZodObject<{
@@ -749,5 +863,665 @@ export declare const toolDefinitions: {
749
863
  }[];
750
864
  }>;
751
865
  };
866
+ list_partner_programs: {
867
+ description: string;
868
+ schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
869
+ handler: () => Promise<{
870
+ content: {
871
+ type: "text";
872
+ text: string;
873
+ }[];
874
+ }>;
875
+ };
876
+ create_partner_program: {
877
+ description: string;
878
+ schema: z.ZodObject<{
879
+ name: z.ZodString;
880
+ description: z.ZodOptional<z.ZodString>;
881
+ vertical: z.ZodEnum<["saas", "ecommerce", "fintech", "marketplace", "hardware", "enterprise", "creator_tools", "other"]>;
882
+ commissionStructure: z.ZodObject<{
883
+ type: z.ZodEnum<["cpa", "revshare"]>;
884
+ amountUsd: z.ZodOptional<z.ZodNumber>;
885
+ percentage: z.ZodOptional<z.ZodNumber>;
886
+ appliesTo: z.ZodEnum<["install", "purchase", "subscription"]>;
887
+ }, "strip", z.ZodTypeAny, {
888
+ type: "cpa" | "revshare";
889
+ appliesTo: "install" | "purchase" | "subscription";
890
+ amountUsd?: number | undefined;
891
+ percentage?: number | undefined;
892
+ }, {
893
+ type: "cpa" | "revshare";
894
+ appliesTo: "install" | "purchase" | "subscription";
895
+ amountUsd?: number | undefined;
896
+ percentage?: number | undefined;
897
+ }>;
898
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<["public", "private"]>>>;
899
+ approvalMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["auto", "manual"]>>>;
900
+ }, "strip", z.ZodTypeAny, {
901
+ name: string;
902
+ vertical: "saas" | "ecommerce" | "fintech" | "marketplace" | "hardware" | "enterprise" | "creator_tools" | "other";
903
+ commissionStructure: {
904
+ type: "cpa" | "revshare";
905
+ appliesTo: "install" | "purchase" | "subscription";
906
+ amountUsd?: number | undefined;
907
+ percentage?: number | undefined;
908
+ };
909
+ visibility: "public" | "private";
910
+ approvalMode: "auto" | "manual";
911
+ description?: string | undefined;
912
+ }, {
913
+ name: string;
914
+ vertical: "saas" | "ecommerce" | "fintech" | "marketplace" | "hardware" | "enterprise" | "creator_tools" | "other";
915
+ commissionStructure: {
916
+ type: "cpa" | "revshare";
917
+ appliesTo: "install" | "purchase" | "subscription";
918
+ amountUsd?: number | undefined;
919
+ percentage?: number | undefined;
920
+ };
921
+ description?: string | undefined;
922
+ visibility?: "public" | "private" | undefined;
923
+ approvalMode?: "auto" | "manual" | undefined;
924
+ }>;
925
+ handler: (args: Record<string, unknown>) => Promise<{
926
+ content: {
927
+ type: "text";
928
+ text: string;
929
+ }[];
930
+ }>;
931
+ };
932
+ update_partner_program: {
933
+ description: string;
934
+ schema: z.ZodObject<{
935
+ programId: z.ZodString;
936
+ updates: z.ZodRecord<z.ZodString, z.ZodUnknown>;
937
+ }, "strip", z.ZodTypeAny, {
938
+ programId: string;
939
+ updates: Record<string, unknown>;
940
+ }, {
941
+ programId: string;
942
+ updates: Record<string, unknown>;
943
+ }>;
944
+ handler: (args: {
945
+ programId: string;
946
+ updates: Record<string, unknown>;
947
+ }) => Promise<{
948
+ content: {
949
+ type: "text";
950
+ text: string;
951
+ }[];
952
+ }>;
953
+ };
954
+ list_partner_program_members: {
955
+ description: string;
956
+ schema: z.ZodObject<{
957
+ programId: z.ZodString;
958
+ }, "strip", z.ZodTypeAny, {
959
+ programId: string;
960
+ }, {
961
+ programId: string;
962
+ }>;
963
+ handler: (args: {
964
+ programId: string;
965
+ }) => Promise<{
966
+ content: {
967
+ type: "text";
968
+ text: string;
969
+ }[];
970
+ }>;
971
+ };
972
+ apply_program_default_to_members: {
973
+ description: string;
974
+ schema: z.ZodObject<{
975
+ programId: z.ZodString;
976
+ }, "strip", z.ZodTypeAny, {
977
+ programId: string;
978
+ }, {
979
+ programId: string;
980
+ }>;
981
+ handler: (args: {
982
+ programId: string;
983
+ }) => Promise<{
984
+ content: {
985
+ type: "text";
986
+ text: string;
987
+ }[];
988
+ }>;
989
+ };
990
+ update_membership_rate: {
991
+ description: string;
992
+ schema: z.ZodObject<{
993
+ profileId: z.ZodString;
994
+ commissionStructure: z.ZodObject<{
995
+ type: z.ZodEnum<["cpa", "revshare"]>;
996
+ amountUsd: z.ZodOptional<z.ZodNumber>;
997
+ percentage: z.ZodOptional<z.ZodNumber>;
998
+ appliesTo: z.ZodEnum<["install", "purchase", "subscription"]>;
999
+ }, "strip", z.ZodTypeAny, {
1000
+ type: "cpa" | "revshare";
1001
+ appliesTo: "install" | "purchase" | "subscription";
1002
+ amountUsd?: number | undefined;
1003
+ percentage?: number | undefined;
1004
+ }, {
1005
+ type: "cpa" | "revshare";
1006
+ appliesTo: "install" | "purchase" | "subscription";
1007
+ amountUsd?: number | undefined;
1008
+ percentage?: number | undefined;
1009
+ }>;
1010
+ reason: z.ZodOptional<z.ZodString>;
1011
+ }, "strip", z.ZodTypeAny, {
1012
+ commissionStructure: {
1013
+ type: "cpa" | "revshare";
1014
+ appliesTo: "install" | "purchase" | "subscription";
1015
+ amountUsd?: number | undefined;
1016
+ percentage?: number | undefined;
1017
+ };
1018
+ profileId: string;
1019
+ reason?: string | undefined;
1020
+ }, {
1021
+ commissionStructure: {
1022
+ type: "cpa" | "revshare";
1023
+ appliesTo: "install" | "purchase" | "subscription";
1024
+ amountUsd?: number | undefined;
1025
+ percentage?: number | undefined;
1026
+ };
1027
+ profileId: string;
1028
+ reason?: string | undefined;
1029
+ }>;
1030
+ handler: (args: {
1031
+ profileId: string;
1032
+ commissionStructure: unknown;
1033
+ reason?: string;
1034
+ }) => Promise<{
1035
+ content: {
1036
+ type: "text";
1037
+ text: string;
1038
+ }[];
1039
+ }>;
1040
+ };
1041
+ reset_membership_rate: {
1042
+ description: string;
1043
+ schema: z.ZodObject<{
1044
+ profileId: z.ZodString;
1045
+ reason: z.ZodOptional<z.ZodString>;
1046
+ }, "strip", z.ZodTypeAny, {
1047
+ profileId: string;
1048
+ reason?: string | undefined;
1049
+ }, {
1050
+ profileId: string;
1051
+ reason?: string | undefined;
1052
+ }>;
1053
+ handler: (args: {
1054
+ profileId: string;
1055
+ reason?: string;
1056
+ }) => Promise<{
1057
+ content: {
1058
+ type: "text";
1059
+ text: string;
1060
+ }[];
1061
+ }>;
1062
+ };
1063
+ invite_partner: {
1064
+ description: string;
1065
+ schema: z.ZodObject<{
1066
+ email: z.ZodString;
1067
+ programId: z.ZodString;
1068
+ inviterName: z.ZodOptional<z.ZodString>;
1069
+ inviterMessage: z.ZodOptional<z.ZodString>;
1070
+ customRate: z.ZodOptional<z.ZodObject<{
1071
+ commissionStructure: z.ZodObject<{
1072
+ type: z.ZodEnum<["cpa", "revshare"]>;
1073
+ amountUsd: z.ZodOptional<z.ZodNumber>;
1074
+ percentage: z.ZodOptional<z.ZodNumber>;
1075
+ appliesTo: z.ZodEnum<["install", "purchase", "subscription"]>;
1076
+ }, "strip", z.ZodTypeAny, {
1077
+ type: "cpa" | "revshare";
1078
+ appliesTo: "install" | "purchase" | "subscription";
1079
+ amountUsd?: number | undefined;
1080
+ percentage?: number | undefined;
1081
+ }, {
1082
+ type: "cpa" | "revshare";
1083
+ appliesTo: "install" | "purchase" | "subscription";
1084
+ amountUsd?: number | undefined;
1085
+ percentage?: number | undefined;
1086
+ }>;
1087
+ }, "strip", z.ZodTypeAny, {
1088
+ commissionStructure: {
1089
+ type: "cpa" | "revshare";
1090
+ appliesTo: "install" | "purchase" | "subscription";
1091
+ amountUsd?: number | undefined;
1092
+ percentage?: number | undefined;
1093
+ };
1094
+ }, {
1095
+ commissionStructure: {
1096
+ type: "cpa" | "revshare";
1097
+ appliesTo: "install" | "purchase" | "subscription";
1098
+ amountUsd?: number | undefined;
1099
+ percentage?: number | undefined;
1100
+ };
1101
+ }>>;
1102
+ }, "strip", z.ZodTypeAny, {
1103
+ email: string;
1104
+ programId: string;
1105
+ inviterName?: string | undefined;
1106
+ inviterMessage?: string | undefined;
1107
+ customRate?: {
1108
+ commissionStructure: {
1109
+ type: "cpa" | "revshare";
1110
+ appliesTo: "install" | "purchase" | "subscription";
1111
+ amountUsd?: number | undefined;
1112
+ percentage?: number | undefined;
1113
+ };
1114
+ } | undefined;
1115
+ }, {
1116
+ email: string;
1117
+ programId: string;
1118
+ inviterName?: string | undefined;
1119
+ inviterMessage?: string | undefined;
1120
+ customRate?: {
1121
+ commissionStructure: {
1122
+ type: "cpa" | "revshare";
1123
+ appliesTo: "install" | "purchase" | "subscription";
1124
+ amountUsd?: number | undefined;
1125
+ percentage?: number | undefined;
1126
+ };
1127
+ } | undefined;
1128
+ }>;
1129
+ handler: (args: Record<string, unknown>) => Promise<{
1130
+ content: {
1131
+ type: "text";
1132
+ text: string;
1133
+ }[];
1134
+ }>;
1135
+ };
1136
+ list_pending_payouts: {
1137
+ description: string;
1138
+ schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1139
+ handler: () => Promise<{
1140
+ content: {
1141
+ type: "text";
1142
+ text: string;
1143
+ }[];
1144
+ }>;
1145
+ };
1146
+ approve_payouts: {
1147
+ description: string;
1148
+ schema: z.ZodObject<{
1149
+ conversionIds: z.ZodArray<z.ZodString, "many">;
1150
+ }, "strip", z.ZodTypeAny, {
1151
+ conversionIds: string[];
1152
+ }, {
1153
+ conversionIds: string[];
1154
+ }>;
1155
+ handler: (args: {
1156
+ conversionIds: string[];
1157
+ }) => Promise<{
1158
+ content: {
1159
+ type: "text";
1160
+ text: string;
1161
+ }[];
1162
+ }>;
1163
+ };
1164
+ reject_payouts: {
1165
+ description: string;
1166
+ schema: z.ZodObject<{
1167
+ conversionIds: z.ZodArray<z.ZodString, "many">;
1168
+ reason: z.ZodOptional<z.ZodString>;
1169
+ }, "strip", z.ZodTypeAny, {
1170
+ conversionIds: string[];
1171
+ reason?: string | undefined;
1172
+ }, {
1173
+ conversionIds: string[];
1174
+ reason?: string | undefined;
1175
+ }>;
1176
+ handler: (args: {
1177
+ conversionIds: string[];
1178
+ reason?: string;
1179
+ }) => Promise<{
1180
+ content: {
1181
+ type: "text";
1182
+ text: string;
1183
+ }[];
1184
+ }>;
1185
+ };
1186
+ get_effective_fees: {
1187
+ description: string;
1188
+ schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1189
+ handler: () => Promise<{
1190
+ content: {
1191
+ type: "text";
1192
+ text: string;
1193
+ }[];
1194
+ }>;
1195
+ };
1196
+ vouch_for_partner: {
1197
+ description: string;
1198
+ schema: z.ZodObject<{
1199
+ profileId: z.ZodString;
1200
+ indemnityAcknowledged: z.ZodLiteral<true>;
1201
+ reason: z.ZodOptional<z.ZodString>;
1202
+ vouchDays: z.ZodOptional<z.ZodNumber>;
1203
+ }, "strip", z.ZodTypeAny, {
1204
+ profileId: string;
1205
+ indemnityAcknowledged: true;
1206
+ reason?: string | undefined;
1207
+ vouchDays?: number | undefined;
1208
+ }, {
1209
+ profileId: string;
1210
+ indemnityAcknowledged: true;
1211
+ reason?: string | undefined;
1212
+ vouchDays?: number | undefined;
1213
+ }>;
1214
+ handler: (args: {
1215
+ profileId: string;
1216
+ indemnityAcknowledged: true;
1217
+ reason?: string;
1218
+ vouchDays?: number;
1219
+ }) => Promise<{
1220
+ content: {
1221
+ type: "text";
1222
+ text: string;
1223
+ }[];
1224
+ }>;
1225
+ };
1226
+ wire_audience_seed: {
1227
+ description: string;
1228
+ schema: z.ZodObject<{
1229
+ seedId: z.ZodString;
1230
+ framework: z.ZodOptional<z.ZodEnum<["typescript", "snippet", "python", "ruby"]>>;
1231
+ fireTestEvent: z.ZodOptional<z.ZodBoolean>;
1232
+ }, "strip", z.ZodTypeAny, {
1233
+ seedId: string;
1234
+ framework?: "snippet" | "typescript" | "python" | "ruby" | undefined;
1235
+ fireTestEvent?: boolean | undefined;
1236
+ }, {
1237
+ seedId: string;
1238
+ framework?: "snippet" | "typescript" | "python" | "ruby" | undefined;
1239
+ fireTestEvent?: boolean | undefined;
1240
+ }>;
1241
+ handler: ({ seedId, framework, fireTestEvent, }: {
1242
+ seedId: string;
1243
+ framework?: "typescript" | "snippet" | "python" | "ruby";
1244
+ fireTestEvent?: boolean;
1245
+ }) => Promise<{
1246
+ content: {
1247
+ type: "text";
1248
+ text: string;
1249
+ }[];
1250
+ }>;
1251
+ };
1252
+ wire_audience: {
1253
+ description: string;
1254
+ schema: z.ZodObject<{
1255
+ audienceId: z.ZodString;
1256
+ framework: z.ZodOptional<z.ZodEnum<["typescript", "snippet", "python", "ruby"]>>;
1257
+ fireTestEvent: z.ZodOptional<z.ZodBoolean>;
1258
+ }, "strip", z.ZodTypeAny, {
1259
+ audienceId: string;
1260
+ framework?: "snippet" | "typescript" | "python" | "ruby" | undefined;
1261
+ fireTestEvent?: boolean | undefined;
1262
+ }, {
1263
+ audienceId: string;
1264
+ framework?: "snippet" | "typescript" | "python" | "ruby" | undefined;
1265
+ fireTestEvent?: boolean | undefined;
1266
+ }>;
1267
+ handler: ({ audienceId, framework, fireTestEvent, }: {
1268
+ audienceId: string;
1269
+ framework?: "typescript" | "snippet" | "python" | "ruby";
1270
+ fireTestEvent?: boolean;
1271
+ }) => Promise<{
1272
+ content: {
1273
+ type: "text";
1274
+ text: string;
1275
+ }[];
1276
+ }>;
1277
+ };
1278
+ audit_audience_readiness: {
1279
+ description: string;
1280
+ schema: z.ZodObject<{
1281
+ audienceId: z.ZodString;
1282
+ }, "strip", z.ZodTypeAny, {
1283
+ audienceId: string;
1284
+ }, {
1285
+ audienceId: string;
1286
+ }>;
1287
+ handler: ({ audienceId }: {
1288
+ audienceId: string;
1289
+ }) => Promise<{
1290
+ content: {
1291
+ type: "text";
1292
+ text: string;
1293
+ }[];
1294
+ }>;
1295
+ };
1296
+ list_journeys: {
1297
+ description: string;
1298
+ schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1299
+ handler: () => Promise<{
1300
+ content: {
1301
+ type: "text";
1302
+ text: string;
1303
+ }[];
1304
+ }>;
1305
+ };
1306
+ get_journey: {
1307
+ description: string;
1308
+ schema: z.ZodObject<{
1309
+ journey_id: z.ZodString;
1310
+ }, "strip", z.ZodTypeAny, {
1311
+ journey_id: string;
1312
+ }, {
1313
+ journey_id: string;
1314
+ }>;
1315
+ handler: ({ journey_id }: {
1316
+ journey_id: string;
1317
+ }) => Promise<{
1318
+ content: {
1319
+ type: "text";
1320
+ text: string;
1321
+ }[];
1322
+ }>;
1323
+ };
1324
+ list_journey_exits: {
1325
+ description: string;
1326
+ schema: z.ZodObject<{
1327
+ journey_id: z.ZodString;
1328
+ }, "strip", z.ZodTypeAny, {
1329
+ journey_id: string;
1330
+ }, {
1331
+ journey_id: string;
1332
+ }>;
1333
+ handler: ({ journey_id }: {
1334
+ journey_id: string;
1335
+ }) => Promise<{
1336
+ content: {
1337
+ type: "text";
1338
+ text: string;
1339
+ }[];
1340
+ }>;
1341
+ };
1342
+ add_journey_exit: {
1343
+ description: string;
1344
+ schema: z.ZodObject<{
1345
+ journey_id: z.ZodString;
1346
+ trigger_contract_id: z.ZodString;
1347
+ label: z.ZodOptional<z.ZodString>;
1348
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1349
+ }, "strip", z.ZodTypeAny, {
1350
+ journey_id: string;
1351
+ trigger_contract_id: string;
1352
+ enabled: boolean;
1353
+ label?: string | undefined;
1354
+ }, {
1355
+ journey_id: string;
1356
+ trigger_contract_id: string;
1357
+ label?: string | undefined;
1358
+ enabled?: boolean | undefined;
1359
+ }>;
1360
+ handler: ({ journey_id, trigger_contract_id, label, enabled, }: {
1361
+ journey_id: string;
1362
+ trigger_contract_id: string;
1363
+ label?: string;
1364
+ enabled?: boolean;
1365
+ }) => Promise<{
1366
+ content: {
1367
+ type: "text";
1368
+ text: string;
1369
+ }[];
1370
+ }>;
1371
+ };
1372
+ remove_journey_exit: {
1373
+ description: string;
1374
+ schema: z.ZodObject<{
1375
+ journey_id: z.ZodString;
1376
+ rule_id: z.ZodString;
1377
+ }, "strip", z.ZodTypeAny, {
1378
+ journey_id: string;
1379
+ rule_id: string;
1380
+ }, {
1381
+ journey_id: string;
1382
+ rule_id: string;
1383
+ }>;
1384
+ handler: ({ journey_id, rule_id, }: {
1385
+ journey_id: string;
1386
+ rule_id: string;
1387
+ }) => Promise<{
1388
+ content: {
1389
+ type: "text";
1390
+ text: string;
1391
+ }[];
1392
+ }>;
1393
+ };
1394
+ get_contact_cart: {
1395
+ description: string;
1396
+ schema: z.ZodObject<{
1397
+ contact_id: z.ZodString;
1398
+ }, "strip", z.ZodTypeAny, {
1399
+ contact_id: string;
1400
+ }, {
1401
+ contact_id: string;
1402
+ }>;
1403
+ handler: ({ contact_id }: {
1404
+ contact_id: string;
1405
+ }) => Promise<{
1406
+ content: {
1407
+ type: "text";
1408
+ text: string;
1409
+ }[];
1410
+ }>;
1411
+ };
1412
+ audit_journey_exits: {
1413
+ description: string;
1414
+ schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1415
+ handler: () => Promise<{
1416
+ content: {
1417
+ type: "text";
1418
+ text: string;
1419
+ }[];
1420
+ }>;
1421
+ };
1422
+ get_setup_state: {
1423
+ description: string;
1424
+ schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1425
+ handler: () => Promise<{
1426
+ content: {
1427
+ type: "text";
1428
+ text: string;
1429
+ }[];
1430
+ }>;
1431
+ };
1432
+ list_data_sources: {
1433
+ description: string;
1434
+ schema: z.ZodObject<{
1435
+ includeArchived: z.ZodOptional<z.ZodBoolean>;
1436
+ }, "strip", z.ZodTypeAny, {
1437
+ includeArchived?: boolean | undefined;
1438
+ }, {
1439
+ includeArchived?: boolean | undefined;
1440
+ }>;
1441
+ handler: ({ includeArchived }: {
1442
+ includeArchived?: boolean;
1443
+ }) => Promise<{
1444
+ content: {
1445
+ type: "text";
1446
+ text: string;
1447
+ }[];
1448
+ }>;
1449
+ };
1450
+ create_data_source: {
1451
+ description: string;
1452
+ schema: z.ZodObject<{
1453
+ kind: z.ZodEnum<["website", "ios", "android", "server", "pos", "kiosk", "extension", "other"]>;
1454
+ name: z.ZodString;
1455
+ }, "strip", z.ZodTypeAny, {
1456
+ name: string;
1457
+ kind: "other" | "website" | "ios" | "android" | "server" | "pos" | "kiosk" | "extension";
1458
+ }, {
1459
+ name: string;
1460
+ kind: "other" | "website" | "ios" | "android" | "server" | "pos" | "kiosk" | "extension";
1461
+ }>;
1462
+ handler: ({ kind, name }: {
1463
+ kind: string;
1464
+ name: string;
1465
+ }) => Promise<{
1466
+ content: {
1467
+ type: "text";
1468
+ text: string;
1469
+ }[];
1470
+ }>;
1471
+ };
1472
+ get_data_source_health: {
1473
+ description: string;
1474
+ schema: z.ZodObject<{
1475
+ id: z.ZodString;
1476
+ }, "strip", z.ZodTypeAny, {
1477
+ id: string;
1478
+ }, {
1479
+ id: string;
1480
+ }>;
1481
+ handler: ({ id }: {
1482
+ id: string;
1483
+ }) => Promise<{
1484
+ content: {
1485
+ type: "text";
1486
+ text: string;
1487
+ }[];
1488
+ }>;
1489
+ };
1490
+ get_analytics_sources: {
1491
+ description: string;
1492
+ schema: z.ZodObject<{
1493
+ days: z.ZodOptional<z.ZodNumber>;
1494
+ }, "strip", z.ZodTypeAny, {
1495
+ days?: number | undefined;
1496
+ }, {
1497
+ days?: number | undefined;
1498
+ }>;
1499
+ handler: ({ days }: {
1500
+ days?: number;
1501
+ }) => Promise<{
1502
+ content: {
1503
+ type: "text";
1504
+ text: string;
1505
+ }[];
1506
+ }>;
1507
+ };
1508
+ get_analytics_hostnames: {
1509
+ description: string;
1510
+ schema: z.ZodObject<{
1511
+ limit: z.ZodOptional<z.ZodNumber>;
1512
+ }, "strip", z.ZodTypeAny, {
1513
+ limit?: number | undefined;
1514
+ }, {
1515
+ limit?: number | undefined;
1516
+ }>;
1517
+ handler: ({ limit }: {
1518
+ limit?: number;
1519
+ }) => Promise<{
1520
+ content: {
1521
+ type: "text";
1522
+ text: string;
1523
+ }[];
1524
+ }>;
1525
+ };
752
1526
  };
753
1527
  //# sourceMappingURL=tools.d.ts.map