@apex-inc/mcp-server 0.3.0 → 0.6.1

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<{
@@ -520,5 +598,800 @@ export declare const toolDefinitions: {
520
598
  }[];
521
599
  }>;
522
600
  };
601
+ list_orgs: {
602
+ description: string;
603
+ schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
604
+ handler: () => Promise<{
605
+ content: {
606
+ type: "text";
607
+ text: string;
608
+ }[];
609
+ }>;
610
+ };
611
+ switch_org: {
612
+ description: string;
613
+ schema: z.ZodObject<{
614
+ orgId: z.ZodString;
615
+ }, "strip", z.ZodTypeAny, {
616
+ orgId: string;
617
+ }, {
618
+ orgId: string;
619
+ }>;
620
+ handler: (args: {
621
+ orgId: string;
622
+ }) => Promise<{
623
+ content: {
624
+ type: "text";
625
+ text: string;
626
+ }[];
627
+ isError: boolean;
628
+ } | {
629
+ content: {
630
+ type: "text";
631
+ text: string;
632
+ }[];
633
+ isError?: undefined;
634
+ }>;
635
+ };
636
+ recommend_communications: {
637
+ description: string;
638
+ schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
639
+ handler: () => Promise<{
640
+ content: {
641
+ type: "text";
642
+ text: string;
643
+ }[];
644
+ }>;
645
+ };
646
+ generate_communications: {
647
+ description: string;
648
+ schema: z.ZodObject<{
649
+ catalogEntryIds: z.ZodArray<z.ZodString, "many">;
650
+ }, "strip", z.ZodTypeAny, {
651
+ catalogEntryIds: string[];
652
+ }, {
653
+ catalogEntryIds: string[];
654
+ }>;
655
+ handler: (args: {
656
+ catalogEntryIds: string[];
657
+ }) => Promise<{
658
+ content: {
659
+ type: "text";
660
+ text: string;
661
+ }[];
662
+ }>;
663
+ };
664
+ list_communications: {
665
+ description: string;
666
+ schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
667
+ handler: () => Promise<{
668
+ content: {
669
+ type: "text";
670
+ text: string;
671
+ }[];
672
+ }>;
673
+ };
674
+ edit_communication: {
675
+ description: string;
676
+ schema: z.ZodObject<{
677
+ communicationId: z.ZodString;
678
+ subject: z.ZodOptional<z.ZodString>;
679
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
680
+ channels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
681
+ status: z.ZodOptional<z.ZodEnum<["draft", "active", "paused"]>>;
682
+ }, "strip", z.ZodTypeAny, {
683
+ communicationId: string;
684
+ status?: "draft" | "paused" | "active" | undefined;
685
+ subject?: string | undefined;
686
+ slots?: Record<string, string> | undefined;
687
+ channels?: string[] | undefined;
688
+ }, {
689
+ communicationId: string;
690
+ status?: "draft" | "paused" | "active" | undefined;
691
+ subject?: string | undefined;
692
+ slots?: Record<string, string> | undefined;
693
+ channels?: string[] | undefined;
694
+ }>;
695
+ handler: (args: {
696
+ communicationId: string;
697
+ subject?: string;
698
+ slots?: Record<string, string>;
699
+ channels?: string[];
700
+ status?: string;
701
+ }) => Promise<{
702
+ content: {
703
+ type: "text";
704
+ text: string;
705
+ }[];
706
+ }>;
707
+ };
708
+ preview_communication: {
709
+ description: string;
710
+ schema: z.ZodObject<{
711
+ communicationId: z.ZodString;
712
+ }, "strip", z.ZodTypeAny, {
713
+ communicationId: string;
714
+ }, {
715
+ communicationId: string;
716
+ }>;
717
+ handler: (args: {
718
+ communicationId: string;
719
+ }) => Promise<{
720
+ content: {
721
+ type: "text";
722
+ text: string;
723
+ }[];
724
+ }>;
725
+ };
726
+ send_test_communication: {
727
+ description: string;
728
+ schema: z.ZodObject<{
729
+ communicationId: z.ZodString;
730
+ }, "strip", z.ZodTypeAny, {
731
+ communicationId: string;
732
+ }, {
733
+ communicationId: string;
734
+ }>;
735
+ handler: (args: {
736
+ communicationId: string;
737
+ }) => Promise<{
738
+ content: {
739
+ type: "text";
740
+ text: string;
741
+ }[];
742
+ }>;
743
+ };
744
+ trigger_communication: {
745
+ description: string;
746
+ schema: z.ZodObject<{
747
+ communicationId: z.ZodString;
748
+ recipientEmail: z.ZodString;
749
+ mergeData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
750
+ }, "strip", z.ZodTypeAny, {
751
+ communicationId: string;
752
+ recipientEmail: string;
753
+ mergeData?: Record<string, string> | undefined;
754
+ }, {
755
+ communicationId: string;
756
+ recipientEmail: string;
757
+ mergeData?: Record<string, string> | undefined;
758
+ }>;
759
+ handler: (args: {
760
+ communicationId: string;
761
+ recipientEmail: string;
762
+ mergeData?: Record<string, string>;
763
+ }) => Promise<{
764
+ content: {
765
+ type: "text";
766
+ text: string;
767
+ }[];
768
+ }>;
769
+ };
770
+ create_comm_experiment: {
771
+ description: string;
772
+ schema: z.ZodObject<{
773
+ communicationId: z.ZodString;
774
+ splitLevel: z.ZodEnum<["subject", "body", "cta", "full"]>;
775
+ funnelGoal: z.ZodString;
776
+ variants: z.ZodArray<z.ZodObject<{
777
+ name: z.ZodString;
778
+ bodyOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
779
+ subjectOverride: z.ZodOptional<z.ZodString>;
780
+ }, "strip", z.ZodTypeAny, {
781
+ name: string;
782
+ bodyOverrides?: Record<string, string> | undefined;
783
+ subjectOverride?: string | undefined;
784
+ }, {
785
+ name: string;
786
+ bodyOverrides?: Record<string, string> | undefined;
787
+ subjectOverride?: string | undefined;
788
+ }>, "many">;
789
+ }, "strip", z.ZodTypeAny, {
790
+ communicationId: string;
791
+ splitLevel: "subject" | "body" | "cta" | "full";
792
+ funnelGoal: string;
793
+ variants: {
794
+ name: string;
795
+ bodyOverrides?: Record<string, string> | undefined;
796
+ subjectOverride?: string | undefined;
797
+ }[];
798
+ }, {
799
+ communicationId: string;
800
+ splitLevel: "subject" | "body" | "cta" | "full";
801
+ funnelGoal: string;
802
+ variants: {
803
+ name: string;
804
+ bodyOverrides?: Record<string, string> | undefined;
805
+ subjectOverride?: string | undefined;
806
+ }[];
807
+ }>;
808
+ handler: (args: {
809
+ communicationId: string;
810
+ splitLevel: string;
811
+ funnelGoal: string;
812
+ variants: unknown[];
813
+ }) => Promise<{
814
+ content: {
815
+ type: "text";
816
+ text: string;
817
+ }[];
818
+ }>;
819
+ };
820
+ get_event_taxonomy: {
821
+ description: string;
822
+ schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
823
+ handler: () => Promise<{
824
+ content: {
825
+ type: "text";
826
+ text: string;
827
+ }[];
828
+ }>;
829
+ };
830
+ list_partner_programs: {
831
+ description: string;
832
+ schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
833
+ handler: () => Promise<{
834
+ content: {
835
+ type: "text";
836
+ text: string;
837
+ }[];
838
+ }>;
839
+ };
840
+ create_partner_program: {
841
+ description: string;
842
+ schema: z.ZodObject<{
843
+ name: z.ZodString;
844
+ description: z.ZodOptional<z.ZodString>;
845
+ vertical: z.ZodEnum<["saas", "ecommerce", "fintech", "marketplace", "hardware", "enterprise", "creator_tools", "other"]>;
846
+ commissionStructure: z.ZodObject<{
847
+ type: z.ZodEnum<["cpa", "revshare"]>;
848
+ amountUsd: z.ZodOptional<z.ZodNumber>;
849
+ percentage: z.ZodOptional<z.ZodNumber>;
850
+ appliesTo: z.ZodEnum<["install", "purchase", "subscription"]>;
851
+ }, "strip", z.ZodTypeAny, {
852
+ type: "cpa" | "revshare";
853
+ appliesTo: "install" | "purchase" | "subscription";
854
+ amountUsd?: number | undefined;
855
+ percentage?: number | undefined;
856
+ }, {
857
+ type: "cpa" | "revshare";
858
+ appliesTo: "install" | "purchase" | "subscription";
859
+ amountUsd?: number | undefined;
860
+ percentage?: number | undefined;
861
+ }>;
862
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<["public", "private"]>>>;
863
+ approvalMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["auto", "manual"]>>>;
864
+ }, "strip", z.ZodTypeAny, {
865
+ name: string;
866
+ vertical: "saas" | "ecommerce" | "fintech" | "marketplace" | "hardware" | "enterprise" | "creator_tools" | "other";
867
+ commissionStructure: {
868
+ type: "cpa" | "revshare";
869
+ appliesTo: "install" | "purchase" | "subscription";
870
+ amountUsd?: number | undefined;
871
+ percentage?: number | undefined;
872
+ };
873
+ visibility: "public" | "private";
874
+ approvalMode: "auto" | "manual";
875
+ description?: string | undefined;
876
+ }, {
877
+ name: string;
878
+ vertical: "saas" | "ecommerce" | "fintech" | "marketplace" | "hardware" | "enterprise" | "creator_tools" | "other";
879
+ commissionStructure: {
880
+ type: "cpa" | "revshare";
881
+ appliesTo: "install" | "purchase" | "subscription";
882
+ amountUsd?: number | undefined;
883
+ percentage?: number | undefined;
884
+ };
885
+ description?: string | undefined;
886
+ visibility?: "public" | "private" | undefined;
887
+ approvalMode?: "auto" | "manual" | undefined;
888
+ }>;
889
+ handler: (args: Record<string, unknown>) => Promise<{
890
+ content: {
891
+ type: "text";
892
+ text: string;
893
+ }[];
894
+ }>;
895
+ };
896
+ update_partner_program: {
897
+ description: string;
898
+ schema: z.ZodObject<{
899
+ programId: z.ZodString;
900
+ updates: z.ZodRecord<z.ZodString, z.ZodUnknown>;
901
+ }, "strip", z.ZodTypeAny, {
902
+ programId: string;
903
+ updates: Record<string, unknown>;
904
+ }, {
905
+ programId: string;
906
+ updates: Record<string, unknown>;
907
+ }>;
908
+ handler: (args: {
909
+ programId: string;
910
+ updates: Record<string, unknown>;
911
+ }) => Promise<{
912
+ content: {
913
+ type: "text";
914
+ text: string;
915
+ }[];
916
+ }>;
917
+ };
918
+ list_partner_program_members: {
919
+ description: string;
920
+ schema: z.ZodObject<{
921
+ programId: z.ZodString;
922
+ }, "strip", z.ZodTypeAny, {
923
+ programId: string;
924
+ }, {
925
+ programId: string;
926
+ }>;
927
+ handler: (args: {
928
+ programId: string;
929
+ }) => Promise<{
930
+ content: {
931
+ type: "text";
932
+ text: string;
933
+ }[];
934
+ }>;
935
+ };
936
+ apply_program_default_to_members: {
937
+ description: string;
938
+ schema: z.ZodObject<{
939
+ programId: z.ZodString;
940
+ }, "strip", z.ZodTypeAny, {
941
+ programId: string;
942
+ }, {
943
+ programId: string;
944
+ }>;
945
+ handler: (args: {
946
+ programId: string;
947
+ }) => Promise<{
948
+ content: {
949
+ type: "text";
950
+ text: string;
951
+ }[];
952
+ }>;
953
+ };
954
+ update_membership_rate: {
955
+ description: string;
956
+ schema: z.ZodObject<{
957
+ profileId: z.ZodString;
958
+ commissionStructure: z.ZodObject<{
959
+ type: z.ZodEnum<["cpa", "revshare"]>;
960
+ amountUsd: z.ZodOptional<z.ZodNumber>;
961
+ percentage: z.ZodOptional<z.ZodNumber>;
962
+ appliesTo: z.ZodEnum<["install", "purchase", "subscription"]>;
963
+ }, "strip", z.ZodTypeAny, {
964
+ type: "cpa" | "revshare";
965
+ appliesTo: "install" | "purchase" | "subscription";
966
+ amountUsd?: number | undefined;
967
+ percentage?: number | undefined;
968
+ }, {
969
+ type: "cpa" | "revshare";
970
+ appliesTo: "install" | "purchase" | "subscription";
971
+ amountUsd?: number | undefined;
972
+ percentage?: number | undefined;
973
+ }>;
974
+ reason: z.ZodOptional<z.ZodString>;
975
+ }, "strip", z.ZodTypeAny, {
976
+ commissionStructure: {
977
+ type: "cpa" | "revshare";
978
+ appliesTo: "install" | "purchase" | "subscription";
979
+ amountUsd?: number | undefined;
980
+ percentage?: number | undefined;
981
+ };
982
+ profileId: string;
983
+ reason?: string | undefined;
984
+ }, {
985
+ commissionStructure: {
986
+ type: "cpa" | "revshare";
987
+ appliesTo: "install" | "purchase" | "subscription";
988
+ amountUsd?: number | undefined;
989
+ percentage?: number | undefined;
990
+ };
991
+ profileId: string;
992
+ reason?: string | undefined;
993
+ }>;
994
+ handler: (args: {
995
+ profileId: string;
996
+ commissionStructure: unknown;
997
+ reason?: string;
998
+ }) => Promise<{
999
+ content: {
1000
+ type: "text";
1001
+ text: string;
1002
+ }[];
1003
+ }>;
1004
+ };
1005
+ reset_membership_rate: {
1006
+ description: string;
1007
+ schema: z.ZodObject<{
1008
+ profileId: z.ZodString;
1009
+ reason: z.ZodOptional<z.ZodString>;
1010
+ }, "strip", z.ZodTypeAny, {
1011
+ profileId: string;
1012
+ reason?: string | undefined;
1013
+ }, {
1014
+ profileId: string;
1015
+ reason?: string | undefined;
1016
+ }>;
1017
+ handler: (args: {
1018
+ profileId: string;
1019
+ reason?: string;
1020
+ }) => Promise<{
1021
+ content: {
1022
+ type: "text";
1023
+ text: string;
1024
+ }[];
1025
+ }>;
1026
+ };
1027
+ invite_partner: {
1028
+ description: string;
1029
+ schema: z.ZodObject<{
1030
+ email: z.ZodString;
1031
+ programId: z.ZodString;
1032
+ inviterName: z.ZodOptional<z.ZodString>;
1033
+ inviterMessage: z.ZodOptional<z.ZodString>;
1034
+ customRate: z.ZodOptional<z.ZodObject<{
1035
+ commissionStructure: z.ZodObject<{
1036
+ type: z.ZodEnum<["cpa", "revshare"]>;
1037
+ amountUsd: z.ZodOptional<z.ZodNumber>;
1038
+ percentage: z.ZodOptional<z.ZodNumber>;
1039
+ appliesTo: z.ZodEnum<["install", "purchase", "subscription"]>;
1040
+ }, "strip", z.ZodTypeAny, {
1041
+ type: "cpa" | "revshare";
1042
+ appliesTo: "install" | "purchase" | "subscription";
1043
+ amountUsd?: number | undefined;
1044
+ percentage?: number | undefined;
1045
+ }, {
1046
+ type: "cpa" | "revshare";
1047
+ appliesTo: "install" | "purchase" | "subscription";
1048
+ amountUsd?: number | undefined;
1049
+ percentage?: number | undefined;
1050
+ }>;
1051
+ }, "strip", z.ZodTypeAny, {
1052
+ commissionStructure: {
1053
+ type: "cpa" | "revshare";
1054
+ appliesTo: "install" | "purchase" | "subscription";
1055
+ amountUsd?: number | undefined;
1056
+ percentage?: number | undefined;
1057
+ };
1058
+ }, {
1059
+ commissionStructure: {
1060
+ type: "cpa" | "revshare";
1061
+ appliesTo: "install" | "purchase" | "subscription";
1062
+ amountUsd?: number | undefined;
1063
+ percentage?: number | undefined;
1064
+ };
1065
+ }>>;
1066
+ }, "strip", z.ZodTypeAny, {
1067
+ email: string;
1068
+ programId: string;
1069
+ inviterName?: string | undefined;
1070
+ inviterMessage?: string | undefined;
1071
+ customRate?: {
1072
+ commissionStructure: {
1073
+ type: "cpa" | "revshare";
1074
+ appliesTo: "install" | "purchase" | "subscription";
1075
+ amountUsd?: number | undefined;
1076
+ percentage?: number | undefined;
1077
+ };
1078
+ } | undefined;
1079
+ }, {
1080
+ email: string;
1081
+ programId: string;
1082
+ inviterName?: string | undefined;
1083
+ inviterMessage?: string | undefined;
1084
+ customRate?: {
1085
+ commissionStructure: {
1086
+ type: "cpa" | "revshare";
1087
+ appliesTo: "install" | "purchase" | "subscription";
1088
+ amountUsd?: number | undefined;
1089
+ percentage?: number | undefined;
1090
+ };
1091
+ } | undefined;
1092
+ }>;
1093
+ handler: (args: Record<string, unknown>) => Promise<{
1094
+ content: {
1095
+ type: "text";
1096
+ text: string;
1097
+ }[];
1098
+ }>;
1099
+ };
1100
+ list_pending_payouts: {
1101
+ description: string;
1102
+ schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1103
+ handler: () => Promise<{
1104
+ content: {
1105
+ type: "text";
1106
+ text: string;
1107
+ }[];
1108
+ }>;
1109
+ };
1110
+ approve_payouts: {
1111
+ description: string;
1112
+ schema: z.ZodObject<{
1113
+ conversionIds: z.ZodArray<z.ZodString, "many">;
1114
+ }, "strip", z.ZodTypeAny, {
1115
+ conversionIds: string[];
1116
+ }, {
1117
+ conversionIds: string[];
1118
+ }>;
1119
+ handler: (args: {
1120
+ conversionIds: string[];
1121
+ }) => Promise<{
1122
+ content: {
1123
+ type: "text";
1124
+ text: string;
1125
+ }[];
1126
+ }>;
1127
+ };
1128
+ reject_payouts: {
1129
+ description: string;
1130
+ schema: z.ZodObject<{
1131
+ conversionIds: z.ZodArray<z.ZodString, "many">;
1132
+ reason: z.ZodOptional<z.ZodString>;
1133
+ }, "strip", z.ZodTypeAny, {
1134
+ conversionIds: string[];
1135
+ reason?: string | undefined;
1136
+ }, {
1137
+ conversionIds: string[];
1138
+ reason?: string | undefined;
1139
+ }>;
1140
+ handler: (args: {
1141
+ conversionIds: string[];
1142
+ reason?: string;
1143
+ }) => Promise<{
1144
+ content: {
1145
+ type: "text";
1146
+ text: string;
1147
+ }[];
1148
+ }>;
1149
+ };
1150
+ get_effective_fees: {
1151
+ description: string;
1152
+ schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1153
+ handler: () => Promise<{
1154
+ content: {
1155
+ type: "text";
1156
+ text: string;
1157
+ }[];
1158
+ }>;
1159
+ };
1160
+ vouch_for_partner: {
1161
+ description: string;
1162
+ schema: z.ZodObject<{
1163
+ profileId: z.ZodString;
1164
+ indemnityAcknowledged: z.ZodLiteral<true>;
1165
+ reason: z.ZodOptional<z.ZodString>;
1166
+ vouchDays: z.ZodOptional<z.ZodNumber>;
1167
+ }, "strip", z.ZodTypeAny, {
1168
+ profileId: string;
1169
+ indemnityAcknowledged: true;
1170
+ reason?: string | undefined;
1171
+ vouchDays?: number | undefined;
1172
+ }, {
1173
+ profileId: string;
1174
+ indemnityAcknowledged: true;
1175
+ reason?: string | undefined;
1176
+ vouchDays?: number | undefined;
1177
+ }>;
1178
+ handler: (args: {
1179
+ profileId: string;
1180
+ indemnityAcknowledged: true;
1181
+ reason?: string;
1182
+ vouchDays?: number;
1183
+ }) => Promise<{
1184
+ content: {
1185
+ type: "text";
1186
+ text: string;
1187
+ }[];
1188
+ }>;
1189
+ };
1190
+ wire_audience_seed: {
1191
+ description: string;
1192
+ schema: z.ZodObject<{
1193
+ seedId: z.ZodString;
1194
+ framework: z.ZodOptional<z.ZodEnum<["typescript", "snippet", "python", "ruby"]>>;
1195
+ fireTestEvent: z.ZodOptional<z.ZodBoolean>;
1196
+ }, "strip", z.ZodTypeAny, {
1197
+ seedId: string;
1198
+ framework?: "snippet" | "typescript" | "python" | "ruby" | undefined;
1199
+ fireTestEvent?: boolean | undefined;
1200
+ }, {
1201
+ seedId: string;
1202
+ framework?: "snippet" | "typescript" | "python" | "ruby" | undefined;
1203
+ fireTestEvent?: boolean | undefined;
1204
+ }>;
1205
+ handler: ({ seedId, framework, fireTestEvent, }: {
1206
+ seedId: string;
1207
+ framework?: "typescript" | "snippet" | "python" | "ruby";
1208
+ fireTestEvent?: boolean;
1209
+ }) => Promise<{
1210
+ content: {
1211
+ type: "text";
1212
+ text: string;
1213
+ }[];
1214
+ }>;
1215
+ };
1216
+ wire_audience: {
1217
+ description: string;
1218
+ schema: z.ZodObject<{
1219
+ audienceId: z.ZodString;
1220
+ framework: z.ZodOptional<z.ZodEnum<["typescript", "snippet", "python", "ruby"]>>;
1221
+ fireTestEvent: z.ZodOptional<z.ZodBoolean>;
1222
+ }, "strip", z.ZodTypeAny, {
1223
+ audienceId: string;
1224
+ framework?: "snippet" | "typescript" | "python" | "ruby" | undefined;
1225
+ fireTestEvent?: boolean | undefined;
1226
+ }, {
1227
+ audienceId: string;
1228
+ framework?: "snippet" | "typescript" | "python" | "ruby" | undefined;
1229
+ fireTestEvent?: boolean | undefined;
1230
+ }>;
1231
+ handler: ({ audienceId, framework, fireTestEvent, }: {
1232
+ audienceId: string;
1233
+ framework?: "typescript" | "snippet" | "python" | "ruby";
1234
+ fireTestEvent?: boolean;
1235
+ }) => Promise<{
1236
+ content: {
1237
+ type: "text";
1238
+ text: string;
1239
+ }[];
1240
+ }>;
1241
+ };
1242
+ audit_audience_readiness: {
1243
+ description: string;
1244
+ schema: z.ZodObject<{
1245
+ audienceId: z.ZodString;
1246
+ }, "strip", z.ZodTypeAny, {
1247
+ audienceId: string;
1248
+ }, {
1249
+ audienceId: string;
1250
+ }>;
1251
+ handler: ({ audienceId }: {
1252
+ audienceId: string;
1253
+ }) => Promise<{
1254
+ content: {
1255
+ type: "text";
1256
+ text: string;
1257
+ }[];
1258
+ }>;
1259
+ };
1260
+ list_journeys: {
1261
+ description: string;
1262
+ schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1263
+ handler: () => Promise<{
1264
+ content: {
1265
+ type: "text";
1266
+ text: string;
1267
+ }[];
1268
+ }>;
1269
+ };
1270
+ get_journey: {
1271
+ description: string;
1272
+ schema: z.ZodObject<{
1273
+ journey_id: z.ZodString;
1274
+ }, "strip", z.ZodTypeAny, {
1275
+ journey_id: string;
1276
+ }, {
1277
+ journey_id: string;
1278
+ }>;
1279
+ handler: ({ journey_id }: {
1280
+ journey_id: string;
1281
+ }) => Promise<{
1282
+ content: {
1283
+ type: "text";
1284
+ text: string;
1285
+ }[];
1286
+ }>;
1287
+ };
1288
+ list_journey_exits: {
1289
+ description: string;
1290
+ schema: z.ZodObject<{
1291
+ journey_id: z.ZodString;
1292
+ }, "strip", z.ZodTypeAny, {
1293
+ journey_id: string;
1294
+ }, {
1295
+ journey_id: string;
1296
+ }>;
1297
+ handler: ({ journey_id }: {
1298
+ journey_id: string;
1299
+ }) => Promise<{
1300
+ content: {
1301
+ type: "text";
1302
+ text: string;
1303
+ }[];
1304
+ }>;
1305
+ };
1306
+ add_journey_exit: {
1307
+ description: string;
1308
+ schema: z.ZodObject<{
1309
+ journey_id: z.ZodString;
1310
+ trigger_contract_id: z.ZodString;
1311
+ label: z.ZodOptional<z.ZodString>;
1312
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1313
+ }, "strip", z.ZodTypeAny, {
1314
+ journey_id: string;
1315
+ trigger_contract_id: string;
1316
+ enabled: boolean;
1317
+ label?: string | undefined;
1318
+ }, {
1319
+ journey_id: string;
1320
+ trigger_contract_id: string;
1321
+ label?: string | undefined;
1322
+ enabled?: boolean | undefined;
1323
+ }>;
1324
+ handler: ({ journey_id, trigger_contract_id, label, enabled, }: {
1325
+ journey_id: string;
1326
+ trigger_contract_id: string;
1327
+ label?: string;
1328
+ enabled?: boolean;
1329
+ }) => Promise<{
1330
+ content: {
1331
+ type: "text";
1332
+ text: string;
1333
+ }[];
1334
+ }>;
1335
+ };
1336
+ remove_journey_exit: {
1337
+ description: string;
1338
+ schema: z.ZodObject<{
1339
+ journey_id: z.ZodString;
1340
+ rule_id: z.ZodString;
1341
+ }, "strip", z.ZodTypeAny, {
1342
+ journey_id: string;
1343
+ rule_id: string;
1344
+ }, {
1345
+ journey_id: string;
1346
+ rule_id: string;
1347
+ }>;
1348
+ handler: ({ journey_id, rule_id, }: {
1349
+ journey_id: string;
1350
+ rule_id: string;
1351
+ }) => Promise<{
1352
+ content: {
1353
+ type: "text";
1354
+ text: string;
1355
+ }[];
1356
+ }>;
1357
+ };
1358
+ get_contact_cart: {
1359
+ description: string;
1360
+ schema: z.ZodObject<{
1361
+ contact_id: z.ZodString;
1362
+ }, "strip", z.ZodTypeAny, {
1363
+ contact_id: string;
1364
+ }, {
1365
+ contact_id: string;
1366
+ }>;
1367
+ handler: ({ contact_id }: {
1368
+ contact_id: string;
1369
+ }) => Promise<{
1370
+ content: {
1371
+ type: "text";
1372
+ text: string;
1373
+ }[];
1374
+ }>;
1375
+ };
1376
+ audit_journey_exits: {
1377
+ description: string;
1378
+ schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1379
+ handler: () => Promise<{
1380
+ content: {
1381
+ type: "text";
1382
+ text: string;
1383
+ }[];
1384
+ }>;
1385
+ };
1386
+ get_setup_state: {
1387
+ description: string;
1388
+ schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1389
+ handler: () => Promise<{
1390
+ content: {
1391
+ type: "text";
1392
+ text: string;
1393
+ }[];
1394
+ }>;
1395
+ };
523
1396
  };
524
1397
  //# sourceMappingURL=tools.d.ts.map