@fload-ai/mcp 0.1.1 → 0.2.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.
Files changed (51) hide show
  1. package/README.md +79 -46
  2. package/dist/.tsbuildinfo +1 -0
  3. package/dist/api-client.d.ts +11 -0
  4. package/dist/api-client.d.ts.map +1 -0
  5. package/dist/api-client.js +53 -0
  6. package/dist/api-client.js.map +7 -0
  7. package/dist/bin.d.ts +2 -0
  8. package/dist/bin.d.ts.map +1 -0
  9. package/dist/bin.js +2012 -0
  10. package/dist/bin.js.map +7 -0
  11. package/dist/config.d.ts +8 -0
  12. package/dist/config.d.ts.map +1 -0
  13. package/dist/index.d.ts +6 -0
  14. package/dist/index.d.ts.map +1 -0
  15. package/dist/index.js +933 -247
  16. package/dist/index.js.map +4 -4
  17. package/dist/lib/format.d.ts +5 -0
  18. package/dist/lib/format.d.ts.map +1 -0
  19. package/dist/rate-limiter.d.ts +12 -0
  20. package/dist/rate-limiter.d.ts.map +1 -0
  21. package/dist/server.d.ts +5 -0
  22. package/dist/server.d.ts.map +1 -0
  23. package/dist/tools/actions.d.ts +69 -0
  24. package/dist/tools/actions.d.ts.map +1 -0
  25. package/dist/tools/ads.d.ts +35 -0
  26. package/dist/tools/ads.d.ts.map +1 -0
  27. package/dist/tools/agents.d.ts +149 -0
  28. package/dist/tools/agents.d.ts.map +1 -0
  29. package/dist/tools/analytics.d.ts +84 -0
  30. package/dist/tools/analytics.d.ts.map +1 -0
  31. package/dist/tools/anomalies.d.ts +107 -0
  32. package/dist/tools/anomalies.d.ts.map +1 -0
  33. package/dist/tools/apps.d.ts +49 -0
  34. package/dist/tools/apps.d.ts.map +1 -0
  35. package/dist/tools/aso.d.ts +135 -0
  36. package/dist/tools/aso.d.ts.map +1 -0
  37. package/dist/tools/chat.d.ts +69 -0
  38. package/dist/tools/chat.d.ts.map +1 -0
  39. package/dist/tools/dashboard.d.ts +17 -0
  40. package/dist/tools/dashboard.d.ts.map +1 -0
  41. package/dist/tools/forecasting.d.ts +26 -0
  42. package/dist/tools/forecasting.d.ts.map +1 -0
  43. package/dist/tools/growth.d.ts +43 -0
  44. package/dist/tools/growth.d.ts.map +1 -0
  45. package/dist/tools/index.d.ts +20 -0
  46. package/dist/tools/index.d.ts.map +1 -0
  47. package/dist/tools/index.js +1952 -0
  48. package/dist/tools/index.js.map +7 -0
  49. package/dist/tools/reviews.d.ts +119 -0
  50. package/dist/tools/reviews.d.ts.map +1 -0
  51. package/package.json +18 -3
@@ -0,0 +1,69 @@
1
+ import { z } from 'zod';
2
+ import type { FloadApiClient } from '../api-client.js';
3
+ export declare const listPendingActionsSchema: z.ZodObject<{
4
+ assetId: z.ZodOptional<z.ZodString>;
5
+ limit: z.ZodDefault<z.ZodNumber>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ limit?: number;
8
+ assetId?: string;
9
+ }, {
10
+ limit?: number;
11
+ assetId?: string;
12
+ }>;
13
+ export declare const approveActionSchema: z.ZodObject<{
14
+ actionId: z.ZodString;
15
+ editedReply: z.ZodOptional<z.ZodString>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ actionId?: string;
18
+ editedReply?: string;
19
+ }, {
20
+ actionId?: string;
21
+ editedReply?: string;
22
+ }>;
23
+ export declare const rejectActionSchema: z.ZodObject<{
24
+ actionId: z.ZodString;
25
+ }, "strip", z.ZodTypeAny, {
26
+ actionId?: string;
27
+ }, {
28
+ actionId?: string;
29
+ }>;
30
+ export declare function listPendingActions(input: z.infer<typeof listPendingActionsSchema>, client: FloadApiClient): Promise<{
31
+ content: {
32
+ type: "text";
33
+ text: string;
34
+ }[];
35
+ isError?: undefined;
36
+ } | {
37
+ content: {
38
+ type: "text";
39
+ text: string;
40
+ }[];
41
+ isError: boolean;
42
+ }>;
43
+ export declare function approveAction(input: z.infer<typeof approveActionSchema>, client: FloadApiClient): Promise<{
44
+ content: {
45
+ type: "text";
46
+ text: string;
47
+ }[];
48
+ isError?: undefined;
49
+ } | {
50
+ content: {
51
+ type: "text";
52
+ text: string;
53
+ }[];
54
+ isError: boolean;
55
+ }>;
56
+ export declare function rejectAction(input: z.infer<typeof rejectActionSchema>, client: FloadApiClient): Promise<{
57
+ content: {
58
+ type: "text";
59
+ text: string;
60
+ }[];
61
+ isError?: undefined;
62
+ } | {
63
+ content: {
64
+ type: "text";
65
+ text: string;
66
+ }[];
67
+ isError: boolean;
68
+ }>;
69
+ //# sourceMappingURL=actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/tools/actions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOvD,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;EAG9B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;EAE7B,CAAC;AASH,wBAAsB,kBAAkB,CACtC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,EAC/C,MAAM,EAAE,cAAc;;;;;;;;;;;;GAiCvB;AAKD,wBAAsB,aAAa,CACjC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,EAC1C,MAAM,EAAE,cAAc;;;;;;;;;;;;GAiCvB;AAKD,wBAAsB,YAAY,CAChC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,EACzC,MAAM,EAAE,cAAc;;;;;;;;;;;;GA8BvB"}
@@ -0,0 +1,35 @@
1
+ import { z } from 'zod';
2
+ import type { FloadApiClient } from '../api-client.js';
3
+ export declare const getAdsPerformanceSchema: z.ZodObject<{
4
+ assetId: z.ZodOptional<z.ZodString>;
5
+ platform: z.ZodOptional<z.ZodEnum<["apple_search_ads", "google_ads", "meta_ads", "tiktok_ads"]>>;
6
+ fromDate: z.ZodOptional<z.ZodString>;
7
+ toDate: z.ZodOptional<z.ZodString>;
8
+ limit: z.ZodDefault<z.ZodNumber>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ platform?: "apple_search_ads" | "google_ads" | "meta_ads" | "tiktok_ads";
11
+ limit?: number;
12
+ assetId?: string;
13
+ fromDate?: string;
14
+ toDate?: string;
15
+ }, {
16
+ platform?: "apple_search_ads" | "google_ads" | "meta_ads" | "tiktok_ads";
17
+ limit?: number;
18
+ assetId?: string;
19
+ fromDate?: string;
20
+ toDate?: string;
21
+ }>;
22
+ export declare function getAdsPerformance(input: z.infer<typeof getAdsPerformanceSchema>, client: FloadApiClient): Promise<{
23
+ content: {
24
+ type: "text";
25
+ text: string;
26
+ }[];
27
+ isError?: undefined;
28
+ } | {
29
+ content: {
30
+ type: "text";
31
+ text: string;
32
+ }[];
33
+ isError: boolean;
34
+ }>;
35
+ //# sourceMappingURL=ads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ads.d.ts","sourceRoot":"","sources":["../../src/tools/ads.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOvD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;EAMlC,CAAC;AASH,wBAAsB,iBAAiB,CACrC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,EAC9C,MAAM,EAAE,cAAc;;;;;;;;;;;;GAiDvB"}
@@ -0,0 +1,149 @@
1
+ import { z } from 'zod';
2
+ import type { FloadApiClient } from '../api-client.js';
3
+ export declare const listAgentsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
4
+ export declare const getAgentDetailsSchema: z.ZodObject<{
5
+ agentType: z.ZodEnum<["review", "monitoring", "forecasting", "growth", "aso", "ads", "product", "submission_review"]>;
6
+ assetId: z.ZodOptional<z.ZodString>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ assetId?: string;
9
+ agentType?: "review" | "monitoring" | "forecasting" | "growth" | "aso" | "ads" | "product" | "submission_review";
10
+ }, {
11
+ assetId?: string;
12
+ agentType?: "review" | "monitoring" | "forecasting" | "growth" | "aso" | "ads" | "product" | "submission_review";
13
+ }>;
14
+ export declare const getAgentRunHistorySchema: z.ZodObject<{
15
+ agentType: z.ZodEnum<["review", "monitoring", "forecasting", "growth", "aso", "ads", "product", "submission_review"]>;
16
+ assetId: z.ZodOptional<z.ZodString>;
17
+ limit: z.ZodDefault<z.ZodNumber>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ limit?: number;
20
+ assetId?: string;
21
+ agentType?: "review" | "monitoring" | "forecasting" | "growth" | "aso" | "ads" | "product" | "submission_review";
22
+ }, {
23
+ limit?: number;
24
+ assetId?: string;
25
+ agentType?: "review" | "monitoring" | "forecasting" | "growth" | "aso" | "ads" | "product" | "submission_review";
26
+ }>;
27
+ export declare const triggerAgentRunSchema: z.ZodObject<{
28
+ agentId: z.ZodString;
29
+ assetId: z.ZodOptional<z.ZodString>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ assetId?: string;
32
+ agentId?: string;
33
+ }, {
34
+ assetId?: string;
35
+ agentId?: string;
36
+ }>;
37
+ export declare const pauseAgentSchema: z.ZodObject<{
38
+ agentId: z.ZodString;
39
+ }, "strip", z.ZodTypeAny, {
40
+ agentId?: string;
41
+ }, {
42
+ agentId?: string;
43
+ }>;
44
+ export declare const resumeAgentSchema: z.ZodObject<{
45
+ agentId: z.ZodString;
46
+ }, "strip", z.ZodTypeAny, {
47
+ agentId?: string;
48
+ }, {
49
+ agentId?: string;
50
+ }>;
51
+ export declare const getAgentActivitySchema: z.ZodObject<{
52
+ agentId: z.ZodString;
53
+ }, "strip", z.ZodTypeAny, {
54
+ agentId?: string;
55
+ }, {
56
+ agentId?: string;
57
+ }>;
58
+ export declare function listAgents(_input: z.infer<typeof listAgentsSchema>, client: FloadApiClient): Promise<{
59
+ content: {
60
+ type: "text";
61
+ text: string;
62
+ }[];
63
+ isError?: undefined;
64
+ } | {
65
+ content: {
66
+ type: "text";
67
+ text: string;
68
+ }[];
69
+ isError: boolean;
70
+ }>;
71
+ export declare function getAgentDetails(input: z.infer<typeof getAgentDetailsSchema>, client: FloadApiClient): Promise<{
72
+ content: {
73
+ type: "text";
74
+ text: string;
75
+ }[];
76
+ isError?: undefined;
77
+ } | {
78
+ content: {
79
+ type: "text";
80
+ text: string;
81
+ }[];
82
+ isError: boolean;
83
+ }>;
84
+ export declare function getAgentRunHistory(input: z.infer<typeof getAgentRunHistorySchema>, client: FloadApiClient): Promise<{
85
+ content: {
86
+ type: "text";
87
+ text: string;
88
+ }[];
89
+ isError?: undefined;
90
+ } | {
91
+ content: {
92
+ type: "text";
93
+ text: string;
94
+ }[];
95
+ isError: boolean;
96
+ }>;
97
+ export declare function triggerAgentRun(input: z.infer<typeof triggerAgentRunSchema>, client: FloadApiClient): Promise<{
98
+ content: {
99
+ type: "text";
100
+ text: string;
101
+ }[];
102
+ isError?: undefined;
103
+ } | {
104
+ content: {
105
+ type: "text";
106
+ text: string;
107
+ }[];
108
+ isError: boolean;
109
+ }>;
110
+ export declare function pauseAgent(input: z.infer<typeof pauseAgentSchema>, client: FloadApiClient): Promise<{
111
+ content: {
112
+ type: "text";
113
+ text: string;
114
+ }[];
115
+ isError?: undefined;
116
+ } | {
117
+ content: {
118
+ type: "text";
119
+ text: string;
120
+ }[];
121
+ isError: boolean;
122
+ }>;
123
+ export declare function resumeAgent(input: z.infer<typeof resumeAgentSchema>, client: FloadApiClient): Promise<{
124
+ content: {
125
+ type: "text";
126
+ text: string;
127
+ }[];
128
+ isError?: undefined;
129
+ } | {
130
+ content: {
131
+ type: "text";
132
+ text: string;
133
+ }[];
134
+ isError: boolean;
135
+ }>;
136
+ export declare function getAgentActivity(input: z.infer<typeof getAgentActivitySchema>, client: FloadApiClient): Promise<{
137
+ content: {
138
+ type: "text";
139
+ text: string;
140
+ }[];
141
+ isError?: undefined;
142
+ } | {
143
+ content: {
144
+ type: "text";
145
+ text: string;
146
+ }[];
147
+ isError: boolean;
148
+ }>;
149
+ //# sourceMappingURL=agents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../src/tools/agents.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAmCvD,eAAO,MAAM,gBAAgB,gDAAe,CAAC;AAE7C,eAAO,MAAM,qBAAqB;;;;;;;;;EAGhC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAInC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;EAGhC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;EAE3B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;EAE5B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAC;AASH,wBAAsB,UAAU,CAC9B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,EACxC,MAAM,EAAE,cAAc;;;;;;;;;;;;GAuDvB;AAKD,wBAAsB,eAAe,CACnC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,EAC5C,MAAM,EAAE,cAAc;;;;;;;;;;;;GA6CvB;AAKD,wBAAsB,kBAAkB,CACtC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,EAC/C,MAAM,EAAE,cAAc;;;;;;;;;;;;GA+CvB;AAKD,wBAAsB,eAAe,CACnC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,EAC5C,MAAM,EAAE,cAAc;;;;;;;;;;;;GA0BvB;AAKD,wBAAsB,UAAU,CAC9B,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,EACvC,MAAM,EAAE,cAAc;;;;;;;;;;;;GAuBvB;AAKD,wBAAsB,WAAW,CAC/B,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,EACxC,MAAM,EAAE,cAAc;;;;;;;;;;;;GAuBvB;AAKD,wBAAsB,gBAAgB,CACpC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,EAC7C,MAAM,EAAE,cAAc;;;;;;;;;;;;GAuBvB"}
@@ -0,0 +1,84 @@
1
+ import { z } from 'zod';
2
+ import type { FloadApiClient } from '../api-client.js';
3
+ export declare const discoverMetricsSchema: z.ZodObject<{
4
+ assetId: z.ZodString;
5
+ }, "strip", z.ZodTypeAny, {
6
+ assetId?: string;
7
+ }, {
8
+ assetId?: string;
9
+ }>;
10
+ export declare const getMetricsSchema: z.ZodObject<{
11
+ assetId: z.ZodString;
12
+ metrics: z.ZodArray<z.ZodString, "many">;
13
+ startDate: z.ZodOptional<z.ZodString>;
14
+ endDate: z.ZodOptional<z.ZodString>;
15
+ granularity: z.ZodDefault<z.ZodEnum<["daily", "weekly", "monthly"]>>;
16
+ dimension: z.ZodOptional<z.ZodString>;
17
+ dimensionFilter: z.ZodOptional<z.ZodString>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ assetId?: string;
20
+ startDate?: string;
21
+ endDate?: string;
22
+ metrics?: string[];
23
+ granularity?: "daily" | "weekly" | "monthly";
24
+ dimension?: string;
25
+ dimensionFilter?: string;
26
+ }, {
27
+ assetId?: string;
28
+ startDate?: string;
29
+ endDate?: string;
30
+ metrics?: string[];
31
+ granularity?: "daily" | "weekly" | "monthly";
32
+ dimension?: string;
33
+ dimensionFilter?: string;
34
+ }>;
35
+ export declare const discoverDimensionsSchema: z.ZodObject<{
36
+ assetId: z.ZodString;
37
+ dimension: z.ZodOptional<z.ZodString>;
38
+ }, "strip", z.ZodTypeAny, {
39
+ assetId?: string;
40
+ dimension?: string;
41
+ }, {
42
+ assetId?: string;
43
+ dimension?: string;
44
+ }>;
45
+ export declare function discoverMetrics(input: z.infer<typeof discoverMetricsSchema>, client: FloadApiClient): Promise<{
46
+ content: {
47
+ type: "text";
48
+ text: string;
49
+ }[];
50
+ isError?: undefined;
51
+ } | {
52
+ content: {
53
+ type: "text";
54
+ text: string;
55
+ }[];
56
+ isError: boolean;
57
+ }>;
58
+ export declare function getMetrics(input: z.infer<typeof getMetricsSchema>, client: FloadApiClient): Promise<{
59
+ content: {
60
+ type: "text";
61
+ text: string;
62
+ }[];
63
+ isError?: undefined;
64
+ } | {
65
+ content: {
66
+ type: "text";
67
+ text: string;
68
+ }[];
69
+ isError: boolean;
70
+ }>;
71
+ export declare function discoverDimensions(input: z.infer<typeof discoverDimensionsSchema>, client: FloadApiClient): Promise<{
72
+ content: {
73
+ type: "text";
74
+ text: string;
75
+ }[];
76
+ isError?: undefined;
77
+ } | {
78
+ content: {
79
+ type: "text";
80
+ text: string;
81
+ }[];
82
+ isError: boolean;
83
+ }>;
84
+ //# sourceMappingURL=analytics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../../src/tools/analytics.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOvD,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;EAQ3B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,CAAC;AAoDH,wBAAsB,eAAe,CACnC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,EAC5C,MAAM,EAAE,cAAc;;;;;;;;;;;;GAwCvB;AAED,wBAAsB,UAAU,CAC9B,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,EACvC,MAAM,EAAE,cAAc;;;;;;;;;;;;GAyEvB;AAED,wBAAsB,kBAAkB,CACtC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,EAC/C,MAAM,EAAE,cAAc;;;;;;;;;;;;GA4CvB"}
@@ -0,0 +1,107 @@
1
+ import { z } from 'zod';
2
+ import type { FloadApiClient } from '../api-client.js';
3
+ export declare const getAnomaliesSchema: z.ZodObject<{
4
+ assetId: z.ZodOptional<z.ZodString>;
5
+ severity: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
6
+ type: z.ZodOptional<z.ZodEnum<["surge", "decline"]>>;
7
+ status: z.ZodOptional<z.ZodEnum<["new", "viewed", "acknowledged", "dismissed"]>>;
8
+ metricName: z.ZodOptional<z.ZodString>;
9
+ fromDate: z.ZodOptional<z.ZodString>;
10
+ toDate: z.ZodOptional<z.ZodString>;
11
+ excludeDismissed: z.ZodDefault<z.ZodBoolean>;
12
+ limit: z.ZodDefault<z.ZodNumber>;
13
+ }, "strip", z.ZodTypeAny, {
14
+ limit?: number;
15
+ type?: "surge" | "decline";
16
+ status?: "new" | "viewed" | "acknowledged" | "dismissed";
17
+ assetId?: string;
18
+ fromDate?: string;
19
+ toDate?: string;
20
+ metricName?: string;
21
+ severity?: "low" | "medium" | "high" | "critical";
22
+ excludeDismissed?: boolean;
23
+ }, {
24
+ limit?: number;
25
+ type?: "surge" | "decline";
26
+ status?: "new" | "viewed" | "acknowledged" | "dismissed";
27
+ assetId?: string;
28
+ fromDate?: string;
29
+ toDate?: string;
30
+ metricName?: string;
31
+ severity?: "low" | "medium" | "high" | "critical";
32
+ excludeDismissed?: boolean;
33
+ }>;
34
+ export declare const getAnomalyDetailSchema: z.ZodObject<{
35
+ id: z.ZodString;
36
+ }, "strip", z.ZodTypeAny, {
37
+ id?: string;
38
+ }, {
39
+ id?: string;
40
+ }>;
41
+ export declare const acknowledgeAnomalySchema: z.ZodObject<{
42
+ id: z.ZodString;
43
+ }, "strip", z.ZodTypeAny, {
44
+ id?: string;
45
+ }, {
46
+ id?: string;
47
+ }>;
48
+ export declare const dismissAnomalySchema: z.ZodObject<{
49
+ id: z.ZodString;
50
+ }, "strip", z.ZodTypeAny, {
51
+ id?: string;
52
+ }, {
53
+ id?: string;
54
+ }>;
55
+ export declare function getAnomalies(input: z.infer<typeof getAnomaliesSchema>, client: FloadApiClient): Promise<{
56
+ content: {
57
+ type: "text";
58
+ text: string;
59
+ }[];
60
+ isError?: undefined;
61
+ } | {
62
+ content: {
63
+ type: "text";
64
+ text: string;
65
+ }[];
66
+ isError: boolean;
67
+ }>;
68
+ export declare function getAnomalyDetail(input: z.infer<typeof getAnomalyDetailSchema>, client: FloadApiClient): Promise<{
69
+ content: {
70
+ type: "text";
71
+ text: string;
72
+ }[];
73
+ isError?: undefined;
74
+ } | {
75
+ content: {
76
+ type: "text";
77
+ text: string;
78
+ }[];
79
+ isError: boolean;
80
+ }>;
81
+ export declare function acknowledgeAnomaly(input: z.infer<typeof acknowledgeAnomalySchema>, client: FloadApiClient): Promise<{
82
+ content: {
83
+ type: "text";
84
+ text: string;
85
+ }[];
86
+ isError?: undefined;
87
+ } | {
88
+ content: {
89
+ type: "text";
90
+ text: string;
91
+ }[];
92
+ isError: boolean;
93
+ }>;
94
+ export declare function dismissAnomaly(input: z.infer<typeof dismissAnomalySchema>, client: FloadApiClient): Promise<{
95
+ content: {
96
+ type: "text";
97
+ text: string;
98
+ }[];
99
+ isError?: undefined;
100
+ } | {
101
+ content: {
102
+ type: "text";
103
+ text: string;
104
+ }[];
105
+ isError: boolean;
106
+ }>;
107
+ //# sourceMappingURL=anomalies.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"anomalies.d.ts","sourceRoot":"","sources":["../../src/tools/anomalies.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOvD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU7B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;EAEnC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;EAE/B,CAAC;AASH,wBAAsB,YAAY,CAChC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,EACzC,MAAM,EAAE,cAAc;;;;;;;;;;;;GA2DvB;AAKD,wBAAsB,gBAAgB,CACpC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,EAC7C,MAAM,EAAE,cAAc;;;;;;;;;;;;GAwBvB;AAKD,wBAAsB,kBAAkB,CACtC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,EAC/C,MAAM,EAAE,cAAc;;;;;;;;;;;;GAwBvB;AAKD,wBAAsB,cAAc,CAClC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,EAC3C,MAAM,EAAE,cAAc;;;;;;;;;;;;GAwBvB"}
@@ -0,0 +1,49 @@
1
+ import { z } from 'zod';
2
+ import type { FloadApiClient } from '../api-client.js';
3
+ export declare const listAppsSchema: z.ZodObject<{
4
+ platform: z.ZodOptional<z.ZodEnum<["ios", "android"]>>;
5
+ limit: z.ZodDefault<z.ZodNumber>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ platform?: "ios" | "android";
8
+ limit?: number;
9
+ }, {
10
+ platform?: "ios" | "android";
11
+ limit?: number;
12
+ }>;
13
+ export declare const getAppDetailsSchema: z.ZodObject<{
14
+ assetId: z.ZodOptional<z.ZodString>;
15
+ bundleId: z.ZodOptional<z.ZodString>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ assetId?: string;
18
+ bundleId?: string;
19
+ }, {
20
+ assetId?: string;
21
+ bundleId?: string;
22
+ }>;
23
+ export declare function listApps(input: z.infer<typeof listAppsSchema>, client: FloadApiClient): Promise<{
24
+ content: {
25
+ type: "text";
26
+ text: string;
27
+ }[];
28
+ isError?: undefined;
29
+ } | {
30
+ content: {
31
+ type: "text";
32
+ text: string;
33
+ }[];
34
+ isError: boolean;
35
+ }>;
36
+ export declare function getAppDetails(input: z.infer<typeof getAppDetailsSchema>, client: FloadApiClient): Promise<{
37
+ content: {
38
+ type: "text";
39
+ text: string;
40
+ }[];
41
+ isError: boolean;
42
+ } | {
43
+ content: {
44
+ type: "text";
45
+ text: string;
46
+ }[];
47
+ isError?: undefined;
48
+ }>;
49
+ //# sourceMappingURL=apps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apps.d.ts","sourceRoot":"","sources":["../../src/tools/apps.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOvD,eAAO,MAAM,cAAc;;;;;;;;;EAGzB,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;EAG9B,CAAC;AASH,wBAAsB,QAAQ,CAC5B,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,EACrC,MAAM,EAAE,cAAc;;;;;;;;;;;;GA8CvB;AAKD,wBAAsB,aAAa,CACjC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,EAC1C,MAAM,EAAE,cAAc;;;;;;;;;;;;GA4DvB"}
@@ -0,0 +1,135 @@
1
+ import { z } from 'zod';
2
+ import type { FloadApiClient } from '../api-client.js';
3
+ export declare const getAsoSummarySchema: z.ZodObject<{
4
+ assetId: z.ZodString;
5
+ }, "strip", z.ZodTypeAny, {
6
+ assetId?: string;
7
+ }, {
8
+ assetId?: string;
9
+ }>;
10
+ export declare const getAsoRecommendationsSchema: z.ZodObject<{
11
+ assetId: z.ZodString;
12
+ }, "strip", z.ZodTypeAny, {
13
+ assetId?: string;
14
+ }, {
15
+ assetId?: string;
16
+ }>;
17
+ export declare const getAsoKeywordsSchema: z.ZodObject<{
18
+ assetId: z.ZodString;
19
+ locale: z.ZodOptional<z.ZodString>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ assetId?: string;
22
+ locale?: string;
23
+ }, {
24
+ assetId?: string;
25
+ locale?: string;
26
+ }>;
27
+ export declare const getAsoExperimentsSchema: z.ZodObject<{
28
+ assetId: z.ZodString;
29
+ status: z.ZodOptional<z.ZodEnum<["proposed", "approved", "applied", "measuring", "completed", "reverted"]>>;
30
+ limit: z.ZodDefault<z.ZodNumber>;
31
+ offset: z.ZodDefault<z.ZodNumber>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ limit?: number;
34
+ status?: "approved" | "proposed" | "applied" | "measuring" | "completed" | "reverted";
35
+ assetId?: string;
36
+ offset?: number;
37
+ }, {
38
+ limit?: number;
39
+ status?: "approved" | "proposed" | "applied" | "measuring" | "completed" | "reverted";
40
+ assetId?: string;
41
+ offset?: number;
42
+ }>;
43
+ export declare const getAsoLocaleSnapshotsSchema: z.ZodObject<{
44
+ assetId: z.ZodString;
45
+ }, "strip", z.ZodTypeAny, {
46
+ assetId?: string;
47
+ }, {
48
+ assetId?: string;
49
+ }>;
50
+ export declare const triggerAsoAnalysisSchema: z.ZodObject<{
51
+ assetId: z.ZodString;
52
+ }, "strip", z.ZodTypeAny, {
53
+ assetId?: string;
54
+ }, {
55
+ assetId?: string;
56
+ }>;
57
+ export declare function getAsoSummary(input: z.infer<typeof getAsoSummarySchema>, client: FloadApiClient): Promise<{
58
+ content: {
59
+ type: "text";
60
+ text: string;
61
+ }[];
62
+ isError?: undefined;
63
+ } | {
64
+ content: {
65
+ type: "text";
66
+ text: string;
67
+ }[];
68
+ isError: boolean;
69
+ }>;
70
+ export declare function getAsoRecommendations(input: z.infer<typeof getAsoRecommendationsSchema>, client: FloadApiClient): Promise<{
71
+ content: {
72
+ type: "text";
73
+ text: string;
74
+ }[];
75
+ isError?: undefined;
76
+ } | {
77
+ content: {
78
+ type: "text";
79
+ text: string;
80
+ }[];
81
+ isError: boolean;
82
+ }>;
83
+ export declare function getAsoKeywords(input: z.infer<typeof getAsoKeywordsSchema>, client: FloadApiClient): Promise<{
84
+ content: {
85
+ type: "text";
86
+ text: string;
87
+ }[];
88
+ isError?: undefined;
89
+ } | {
90
+ content: {
91
+ type: "text";
92
+ text: string;
93
+ }[];
94
+ isError: boolean;
95
+ }>;
96
+ export declare function getAsoExperiments(input: z.infer<typeof getAsoExperimentsSchema>, client: FloadApiClient): Promise<{
97
+ content: {
98
+ type: "text";
99
+ text: string;
100
+ }[];
101
+ isError?: undefined;
102
+ } | {
103
+ content: {
104
+ type: "text";
105
+ text: string;
106
+ }[];
107
+ isError: boolean;
108
+ }>;
109
+ export declare function getAsoLocaleSnapshots(input: z.infer<typeof getAsoLocaleSnapshotsSchema>, client: FloadApiClient): Promise<{
110
+ content: {
111
+ type: "text";
112
+ text: string;
113
+ }[];
114
+ isError?: undefined;
115
+ } | {
116
+ content: {
117
+ type: "text";
118
+ text: string;
119
+ }[];
120
+ isError: boolean;
121
+ }>;
122
+ export declare function triggerAsoAnalysis(input: z.infer<typeof triggerAsoAnalysisSchema>, client: FloadApiClient): Promise<{
123
+ content: {
124
+ type: "text";
125
+ text: string;
126
+ }[];
127
+ isError?: undefined;
128
+ } | {
129
+ content: {
130
+ type: "text";
131
+ text: string;
132
+ }[];
133
+ isError: boolean;
134
+ }>;
135
+ //# sourceMappingURL=aso.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aso.d.ts","sourceRoot":"","sources":["../../src/tools/aso.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOvD,eAAO,MAAM,mBAAmB;;;;;;EAE9B,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;EAEtC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;EAG/B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;EAKlC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;EAEtC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;EAEnC,CAAC;AASH,wBAAsB,aAAa,CACjC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,EAC1C,MAAM,EAAE,cAAc;;;;;;;;;;;;GAuBvB;AAKD,wBAAsB,qBAAqB,CACzC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,EAClD,MAAM,EAAE,cAAc;;;;;;;;;;;;GAuBvB;AAKD,wBAAsB,cAAc,CAClC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,EAC3C,MAAM,EAAE,cAAc;;;;;;;;;;;;GA0BvB;AAKD,wBAAsB,iBAAiB,CACrC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,EAC9C,MAAM,EAAE,cAAc;;;;;;;;;;;;GA6BvB;AAKD,wBAAsB,qBAAqB,CACzC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,EAClD,MAAM,EAAE,cAAc;;;;;;;;;;;;GAuBvB;AAKD,wBAAsB,kBAAkB,CACtC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,EAC/C,MAAM,EAAE,cAAc;;;;;;;;;;;;GAuBvB"}