zernio-mcp 1.3.0 → 1.3.2

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 (43) hide show
  1. package/dist/index.js +19 -13
  2. package/dist/index.js.map +1 -1
  3. package/dist/tools/accounts.d.ts +136 -3
  4. package/dist/tools/accounts.d.ts.map +1 -1
  5. package/dist/tools/accounts.js +188 -14
  6. package/dist/tools/accounts.js.map +1 -1
  7. package/dist/tools/automations.d.ts +108 -0
  8. package/dist/tools/automations.d.ts.map +1 -0
  9. package/dist/tools/automations.js +89 -0
  10. package/dist/tools/automations.js.map +1 -0
  11. package/dist/tools/broadcasts.d.ts +96 -0
  12. package/dist/tools/broadcasts.d.ts.map +1 -0
  13. package/dist/tools/broadcasts.js +93 -0
  14. package/dist/tools/broadcasts.js.map +1 -0
  15. package/dist/tools/connect.d.ts +126 -0
  16. package/dist/tools/connect.d.ts.map +1 -0
  17. package/dist/tools/connect.js +130 -0
  18. package/dist/tools/connect.js.map +1 -0
  19. package/dist/tools/contacts.d.ts +176 -0
  20. package/dist/tools/contacts.d.ts.map +1 -0
  21. package/dist/tools/contacts.js +130 -0
  22. package/dist/tools/contacts.js.map +1 -0
  23. package/dist/tools/messages.d.ts +26 -5
  24. package/dist/tools/messages.d.ts.map +1 -1
  25. package/dist/tools/messages.js +26 -26
  26. package/dist/tools/messages.js.map +1 -1
  27. package/dist/tools/posts.d.ts +248 -0
  28. package/dist/tools/posts.d.ts.map +1 -0
  29. package/dist/tools/posts.js +224 -0
  30. package/dist/tools/posts.js.map +1 -0
  31. package/dist/tools/profiles.d.ts +170 -0
  32. package/dist/tools/profiles.d.ts.map +1 -0
  33. package/dist/tools/profiles.js +158 -0
  34. package/dist/tools/profiles.js.map +1 -0
  35. package/dist/tools/social.d.ts +272 -0
  36. package/dist/tools/social.d.ts.map +1 -0
  37. package/dist/tools/social.js +287 -0
  38. package/dist/tools/social.js.map +1 -0
  39. package/dist/tools/whatsapp-business.d.ts +292 -0
  40. package/dist/tools/whatsapp-business.d.ts.map +1 -0
  41. package/dist/tools/whatsapp-business.js +267 -0
  42. package/dist/tools/whatsapp-business.js.map +1 -0
  43. package/package.json +1 -39
@@ -0,0 +1,248 @@
1
+ import { z } from "zod";
2
+ export declare const postTools: ({
3
+ name: string;
4
+ description: string;
5
+ inputSchema: z.ZodObject<{
6
+ accountId: z.ZodOptional<z.ZodString>;
7
+ status: z.ZodOptional<z.ZodString>;
8
+ limit: z.ZodOptional<z.ZodNumber>;
9
+ dateFrom: z.ZodOptional<z.ZodString>;
10
+ dateTo: z.ZodOptional<z.ZodString>;
11
+ }, "strip", z.ZodTypeAny, {
12
+ status?: string | undefined;
13
+ accountId?: string | undefined;
14
+ dateFrom?: string | undefined;
15
+ dateTo?: string | undefined;
16
+ limit?: number | undefined;
17
+ }, {
18
+ status?: string | undefined;
19
+ accountId?: string | undefined;
20
+ dateFrom?: string | undefined;
21
+ dateTo?: string | undefined;
22
+ limit?: number | undefined;
23
+ }>;
24
+ handler: (args: {
25
+ accountId?: string;
26
+ status?: string;
27
+ limit?: number;
28
+ dateFrom?: string;
29
+ dateTo?: string;
30
+ }) => Promise<unknown>;
31
+ } | {
32
+ name: string;
33
+ description: string;
34
+ inputSchema: z.ZodObject<{
35
+ postId: z.ZodString;
36
+ }, "strip", z.ZodTypeAny, {
37
+ postId: string;
38
+ }, {
39
+ postId: string;
40
+ }>;
41
+ handler: (args: {
42
+ postId: string;
43
+ }) => Promise<unknown>;
44
+ } | {
45
+ name: string;
46
+ description: string;
47
+ inputSchema: z.ZodObject<{
48
+ accountIds: z.ZodArray<z.ZodString, "many">;
49
+ content: z.ZodString;
50
+ scheduledAt: z.ZodOptional<z.ZodString>;
51
+ mediaIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
52
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ accountIds: string[];
55
+ content: string;
56
+ scheduledAt?: string | undefined;
57
+ mediaIds?: string[] | undefined;
58
+ tags?: string[] | undefined;
59
+ }, {
60
+ accountIds: string[];
61
+ content: string;
62
+ scheduledAt?: string | undefined;
63
+ mediaIds?: string[] | undefined;
64
+ tags?: string[] | undefined;
65
+ }>;
66
+ handler: (args: {
67
+ accountIds: string[];
68
+ content: string;
69
+ scheduledAt?: string;
70
+ mediaIds?: string[];
71
+ tags?: string[];
72
+ }) => Promise<unknown>;
73
+ } | {
74
+ name: string;
75
+ description: string;
76
+ inputSchema: z.ZodObject<{
77
+ postId: z.ZodString;
78
+ content: z.ZodOptional<z.ZodString>;
79
+ scheduledAt: z.ZodOptional<z.ZodString>;
80
+ mediaIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
81
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
82
+ }, "strip", z.ZodTypeAny, {
83
+ postId: string;
84
+ scheduledAt?: string | undefined;
85
+ content?: string | undefined;
86
+ mediaIds?: string[] | undefined;
87
+ tags?: string[] | undefined;
88
+ }, {
89
+ postId: string;
90
+ scheduledAt?: string | undefined;
91
+ content?: string | undefined;
92
+ mediaIds?: string[] | undefined;
93
+ tags?: string[] | undefined;
94
+ }>;
95
+ handler: (args: {
96
+ postId: string;
97
+ content?: string;
98
+ scheduledAt?: string;
99
+ mediaIds?: string[];
100
+ tags?: string[];
101
+ }) => Promise<unknown>;
102
+ } | {
103
+ name: string;
104
+ description: string;
105
+ inputSchema: z.ZodObject<{
106
+ accountId: z.ZodOptional<z.ZodString>;
107
+ limit: z.ZodOptional<z.ZodNumber>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ accountId?: string | undefined;
110
+ limit?: number | undefined;
111
+ }, {
112
+ accountId?: string | undefined;
113
+ limit?: number | undefined;
114
+ }>;
115
+ handler: (args: {
116
+ accountId?: string;
117
+ limit?: number;
118
+ }) => Promise<unknown>;
119
+ } | {
120
+ name: string;
121
+ description: string;
122
+ inputSchema: z.ZodObject<{
123
+ url: z.ZodString;
124
+ type: z.ZodString;
125
+ altText: z.ZodOptional<z.ZodString>;
126
+ }, "strip", z.ZodTypeAny, {
127
+ type: string;
128
+ url: string;
129
+ altText?: string | undefined;
130
+ }, {
131
+ type: string;
132
+ url: string;
133
+ altText?: string | undefined;
134
+ }>;
135
+ handler: (args: {
136
+ url: string;
137
+ type: string;
138
+ altText?: string;
139
+ }) => Promise<unknown>;
140
+ } | {
141
+ name: string;
142
+ description: string;
143
+ inputSchema: z.ZodObject<{
144
+ filename: z.ZodString;
145
+ contentType: z.ZodString;
146
+ }, "strip", z.ZodTypeAny, {
147
+ filename: string;
148
+ contentType: string;
149
+ }, {
150
+ filename: string;
151
+ contentType: string;
152
+ }>;
153
+ handler: (args: {
154
+ filename: string;
155
+ contentType: string;
156
+ }) => Promise<unknown>;
157
+ } | {
158
+ name: string;
159
+ description: string;
160
+ inputSchema: z.ZodObject<{
161
+ type: z.ZodOptional<z.ZodString>;
162
+ limit: z.ZodOptional<z.ZodNumber>;
163
+ }, "strip", z.ZodTypeAny, {
164
+ type?: string | undefined;
165
+ limit?: number | undefined;
166
+ }, {
167
+ type?: string | undefined;
168
+ limit?: number | undefined;
169
+ }>;
170
+ handler: (args: {
171
+ type?: string;
172
+ limit?: number;
173
+ }) => Promise<unknown>;
174
+ } | {
175
+ name: string;
176
+ description: string;
177
+ inputSchema: z.ZodObject<{
178
+ mediaId: z.ZodString;
179
+ }, "strip", z.ZodTypeAny, {
180
+ mediaId: string;
181
+ }, {
182
+ mediaId: string;
183
+ }>;
184
+ handler: (args: {
185
+ mediaId: string;
186
+ }) => Promise<unknown>;
187
+ } | {
188
+ name: string;
189
+ description: string;
190
+ inputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
191
+ handler: (_args: Record<string, never>) => Promise<unknown>;
192
+ } | {
193
+ name: string;
194
+ description: string;
195
+ inputSchema: z.ZodObject<{
196
+ postId: z.ZodString;
197
+ note: z.ZodOptional<z.ZodString>;
198
+ }, "strip", z.ZodTypeAny, {
199
+ postId: string;
200
+ note?: string | undefined;
201
+ }, {
202
+ postId: string;
203
+ note?: string | undefined;
204
+ }>;
205
+ handler: (args: {
206
+ postId: string;
207
+ note?: string;
208
+ }) => Promise<unknown>;
209
+ } | {
210
+ name: string;
211
+ description: string;
212
+ inputSchema: z.ZodObject<{
213
+ postId: z.ZodString;
214
+ reason: z.ZodOptional<z.ZodString>;
215
+ }, "strip", z.ZodTypeAny, {
216
+ postId: string;
217
+ reason?: string | undefined;
218
+ }, {
219
+ postId: string;
220
+ reason?: string | undefined;
221
+ }>;
222
+ handler: (args: {
223
+ postId: string;
224
+ reason?: string;
225
+ }) => Promise<unknown>;
226
+ } | {
227
+ name: string;
228
+ description: string;
229
+ inputSchema: z.ZodObject<{
230
+ content: z.ZodString;
231
+ platform: z.ZodString;
232
+ mediaIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
233
+ }, "strip", z.ZodTypeAny, {
234
+ platform: string;
235
+ content: string;
236
+ mediaIds?: string[] | undefined;
237
+ }, {
238
+ platform: string;
239
+ content: string;
240
+ mediaIds?: string[] | undefined;
241
+ }>;
242
+ handler: (args: {
243
+ content: string;
244
+ platform: string;
245
+ mediaIds?: string[];
246
+ }) => Promise<unknown>;
247
+ })[];
248
+ //# sourceMappingURL=posts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"posts.d.ts","sourceRoot":"","sources":["../../src/tools/posts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;oBAWI;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;oBAgB3F;QAAE,MAAM,EAAE,MAAM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AAO,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE;IAInF,CAAC"}
@@ -0,0 +1,224 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.postTools = void 0;
4
+ const zod_1 = require("zod");
5
+ const client_js_1 = require("../client.js");
6
+ exports.postTools = [
7
+ {
8
+ name: "zernio_list_posts",
9
+ description: "List all scheduled or published social media posts across connected accounts.",
10
+ inputSchema: zod_1.z.object({
11
+ accountId: zod_1.z.string().optional().describe("Filter by account ID"),
12
+ status: zod_1.z.string().optional().describe("Filter by status: draft, scheduled, published, failed"),
13
+ limit: zod_1.z.number().optional().describe("Max posts to return"),
14
+ dateFrom: zod_1.z.string().optional().describe("Filter posts from this date (ISO format)"),
15
+ dateTo: zod_1.z.string().optional().describe("Filter posts to this date (ISO format)"),
16
+ }),
17
+ handler: async (args) => {
18
+ return (0, client_js_1.zernioRequest)("GET", "/v1/posts", undefined, {
19
+ accountId: args.accountId,
20
+ status: args.status,
21
+ limit: args.limit,
22
+ dateFrom: args.dateFrom,
23
+ dateTo: args.dateTo,
24
+ });
25
+ },
26
+ },
27
+ {
28
+ name: "zernio_get_post",
29
+ description: "Get details for a specific post including its content, status, and performance.",
30
+ inputSchema: zod_1.z.object({
31
+ postId: zod_1.z.string().describe("The post ID"),
32
+ }),
33
+ handler: async (args) => {
34
+ return (0, client_js_1.zernioRequest)("GET", `/v1/posts/${args.postId}`);
35
+ },
36
+ },
37
+ {
38
+ name: "zernio_create_post",
39
+ description: "Create a new social media post (draft or scheduled) for one or more accounts.",
40
+ inputSchema: zod_1.z.object({
41
+ accountIds: zod_1.z.array(zod_1.z.string()).describe("List of account IDs to post to"),
42
+ content: zod_1.z.string().describe("The post text content"),
43
+ scheduledAt: zod_1.z.string().optional().describe("ISO datetime to schedule the post (omit to save as draft)"),
44
+ mediaIds: zod_1.z.array(zod_1.z.string()).optional().describe("List of media IDs to attach to the post"),
45
+ tags: zod_1.z.array(zod_1.z.string()).optional().describe("Tags to label the post"),
46
+ }),
47
+ handler: async (args) => {
48
+ return (0, client_js_1.zernioRequest)("POST", "/v1/posts", {
49
+ accountIds: args.accountIds,
50
+ content: args.content,
51
+ scheduledAt: args.scheduledAt,
52
+ mediaIds: args.mediaIds,
53
+ tags: args.tags,
54
+ });
55
+ },
56
+ },
57
+ {
58
+ name: "zernio_update_post",
59
+ description: "Update a draft or scheduled post's content, schedule, or media.",
60
+ inputSchema: zod_1.z.object({
61
+ postId: zod_1.z.string().describe("The post ID to update"),
62
+ content: zod_1.z.string().optional().describe("Updated post content"),
63
+ scheduledAt: zod_1.z.string().optional().describe("Updated scheduled time (ISO format)"),
64
+ mediaIds: zod_1.z.array(zod_1.z.string()).optional().describe("Updated list of media IDs"),
65
+ tags: zod_1.z.array(zod_1.z.string()).optional().describe("Updated tags"),
66
+ }),
67
+ handler: async (args) => {
68
+ return (0, client_js_1.zernioRequest)("PUT", `/v1/posts/${args.postId}`, {
69
+ content: args.content,
70
+ scheduledAt: args.scheduledAt,
71
+ mediaIds: args.mediaIds,
72
+ tags: args.tags,
73
+ });
74
+ },
75
+ },
76
+ {
77
+ name: "zernio_delete_post",
78
+ description: "Delete a draft or scheduled post.",
79
+ inputSchema: zod_1.z.object({
80
+ postId: zod_1.z.string().describe("The post ID to delete"),
81
+ }),
82
+ handler: async (args) => {
83
+ return (0, client_js_1.zernioRequest)("DELETE", `/v1/posts/${args.postId}`);
84
+ },
85
+ },
86
+ {
87
+ name: "zernio_publish_post_now",
88
+ description: "Publish a draft post immediately instead of waiting for its scheduled time.",
89
+ inputSchema: zod_1.z.object({
90
+ postId: zod_1.z.string().describe("The post ID to publish now"),
91
+ }),
92
+ handler: async (args) => {
93
+ return (0, client_js_1.zernioRequest)("POST", `/v1/posts/${args.postId}/publish`);
94
+ },
95
+ },
96
+ {
97
+ name: "zernio_duplicate_post",
98
+ description: "Duplicate an existing post to create a new draft with the same content.",
99
+ inputSchema: zod_1.z.object({
100
+ postId: zod_1.z.string().describe("The post ID to duplicate"),
101
+ }),
102
+ handler: async (args) => {
103
+ return (0, client_js_1.zernioRequest)("POST", `/v1/posts/${args.postId}/duplicate`);
104
+ },
105
+ },
106
+ {
107
+ name: "zernio_retry_post",
108
+ description: "Retry a failed post -- attempt to republish a post that previously failed to publish.",
109
+ inputSchema: zod_1.z.object({
110
+ postId: zod_1.z.string().describe("The failed post ID to retry"),
111
+ }),
112
+ handler: async (args) => {
113
+ return (0, client_js_1.zernioRequest)("POST", `/v1/posts/${args.postId}/retry`);
114
+ },
115
+ },
116
+ {
117
+ name: "zernio_list_post_queue",
118
+ description: "Get the scheduled post queue showing upcoming posts in chronological order.",
119
+ inputSchema: zod_1.z.object({
120
+ accountId: zod_1.z.string().optional().describe("Filter by account ID"),
121
+ limit: zod_1.z.number().optional().describe("Max posts to return"),
122
+ }),
123
+ handler: async (args) => {
124
+ return (0, client_js_1.zernioRequest)("GET", "/v1/posts/queue", undefined, { accountId: args.accountId, limit: args.limit });
125
+ },
126
+ },
127
+ {
128
+ name: "zernio_upload_media",
129
+ description: "Upload a media file (image or video) by URL to use in posts. Returns a media ID.",
130
+ inputSchema: zod_1.z.object({
131
+ url: zod_1.z.string().describe("Public URL of the media file to upload"),
132
+ type: zod_1.z.string().describe("Media type: image or video"),
133
+ altText: zod_1.z.string().optional().describe("Alt text for accessibility"),
134
+ }),
135
+ handler: async (args) => {
136
+ return (0, client_js_1.zernioRequest)("POST", "/v1/media", { url: args.url, type: args.type, altText: args.altText });
137
+ },
138
+ },
139
+ {
140
+ name: "zernio_get_media_presigned_url",
141
+ description: "Get a presigned URL for directly uploading media files to Zernio storage. Use for large files instead of URL-based upload.",
142
+ inputSchema: zod_1.z.object({
143
+ filename: zod_1.z.string().describe("The filename to upload (e.g. 'photo.jpg', 'video.mp4')"),
144
+ contentType: zod_1.z.string().describe("MIME type (e.g. 'image/jpeg', 'video/mp4')"),
145
+ }),
146
+ handler: async (args) => {
147
+ return (0, client_js_1.zernioRequest)("POST", "/v1/media/presign", { filename: args.filename, contentType: args.contentType });
148
+ },
149
+ },
150
+ {
151
+ name: "zernio_list_media",
152
+ description: "List all uploaded media files in your Zernio media library.",
153
+ inputSchema: zod_1.z.object({
154
+ type: zod_1.z.string().optional().describe("Filter by type: image, video"),
155
+ limit: zod_1.z.number().optional().describe("Max media items to return"),
156
+ }),
157
+ handler: async (args) => {
158
+ return (0, client_js_1.zernioRequest)("GET", "/v1/media", undefined, { type: args.type, limit: args.limit });
159
+ },
160
+ },
161
+ {
162
+ name: "zernio_delete_media",
163
+ description: "Delete a media file from the Zernio media library.",
164
+ inputSchema: zod_1.z.object({
165
+ mediaId: zod_1.z.string().describe("The media ID to delete"),
166
+ }),
167
+ handler: async (args) => {
168
+ return (0, client_js_1.zernioRequest)("DELETE", `/v1/media/${args.mediaId}`);
169
+ },
170
+ },
171
+ {
172
+ name: "zernio_list_post_labels",
173
+ description: "List all post labels/tags used to organize posts.",
174
+ inputSchema: zod_1.z.object({}),
175
+ handler: async (_args) => {
176
+ return (0, client_js_1.zernioRequest)("GET", "/v1/posts/labels");
177
+ },
178
+ },
179
+ {
180
+ name: "zernio_get_post_approval_status",
181
+ description: "Get the approval status of a post (pending, approved, rejected) for team workflows.",
182
+ inputSchema: zod_1.z.object({
183
+ postId: zod_1.z.string().describe("The post ID"),
184
+ }),
185
+ handler: async (args) => {
186
+ return (0, client_js_1.zernioRequest)("GET", `/v1/posts/${args.postId}/approval`);
187
+ },
188
+ },
189
+ {
190
+ name: "zernio_approve_post",
191
+ description: "Approve a post that is pending review in a team workflow.",
192
+ inputSchema: zod_1.z.object({
193
+ postId: zod_1.z.string().describe("The post ID to approve"),
194
+ note: zod_1.z.string().optional().describe("Optional approval note"),
195
+ }),
196
+ handler: async (args) => {
197
+ return (0, client_js_1.zernioRequest)("POST", `/v1/posts/${args.postId}/approve`, { note: args.note });
198
+ },
199
+ },
200
+ {
201
+ name: "zernio_reject_post",
202
+ description: "Reject a post that is pending review in a team workflow.",
203
+ inputSchema: zod_1.z.object({
204
+ postId: zod_1.z.string().describe("The post ID to reject"),
205
+ reason: zod_1.z.string().optional().describe("Reason for rejection"),
206
+ }),
207
+ handler: async (args) => {
208
+ return (0, client_js_1.zernioRequest)("POST", `/v1/posts/${args.postId}/reject`, { reason: args.reason });
209
+ },
210
+ },
211
+ {
212
+ name: "zernio_validate_post_content",
213
+ description: "Validate post content against platform rules before publishing.",
214
+ inputSchema: zod_1.z.object({
215
+ content: zod_1.z.string().describe("The post content to validate"),
216
+ platform: zod_1.z.string().describe("The target platform: facebook, instagram, twitter, linkedin, etc."),
217
+ mediaIds: zod_1.z.array(zod_1.z.string()).optional().describe("Media IDs to include in validation"),
218
+ }),
219
+ handler: async (args) => {
220
+ return (0, client_js_1.zernioRequest)("POST", "/v1/posts/validate", { content: args.content, platform: args.platform, mediaIds: args.mediaIds });
221
+ },
222
+ },
223
+ ];
224
+ //# sourceMappingURL=posts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"posts.js","sourceRoot":"","sources":["../../src/tools/posts.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAA6C;AAEhC,QAAA,SAAS,GAAG;IACvB;QACE,IAAI,EAAE,mBAAmB;QACzB,WAAW,EAAE,+EAA+E;QAC5F,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC;YACpB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;YACjE,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,uDAAuD,CAAC;YAC/F,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;YAC5D,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ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,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QAClI,CAAC;KACF;CACF,CAAC"}
@@ -0,0 +1,170 @@
1
+ import { z } from "zod";
2
+ export declare const profileTools: ({
3
+ name: string;
4
+ description: string;
5
+ inputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
6
+ handler: (_args: Record<string, never>) => Promise<unknown>;
7
+ } | {
8
+ name: string;
9
+ description: string;
10
+ inputSchema: z.ZodObject<{
11
+ name: z.ZodOptional<z.ZodString>;
12
+ email: z.ZodOptional<z.ZodString>;
13
+ timezone: z.ZodOptional<z.ZodString>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ name?: string | undefined;
16
+ email?: string | undefined;
17
+ timezone?: string | undefined;
18
+ }, {
19
+ name?: string | undefined;
20
+ email?: string | undefined;
21
+ timezone?: string | undefined;
22
+ }>;
23
+ handler: (args: {
24
+ name?: string;
25
+ email?: string;
26
+ timezone?: string;
27
+ }) => Promise<unknown>;
28
+ } | {
29
+ name: string;
30
+ description: string;
31
+ inputSchema: z.ZodObject<{
32
+ name: z.ZodString;
33
+ accountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
34
+ }, "strip", z.ZodTypeAny, {
35
+ name: string;
36
+ accountIds?: string[] | undefined;
37
+ }, {
38
+ name: string;
39
+ accountIds?: string[] | undefined;
40
+ }>;
41
+ handler: (args: {
42
+ name: string;
43
+ accountIds?: string[];
44
+ }) => Promise<unknown>;
45
+ } | {
46
+ name: string;
47
+ description: string;
48
+ inputSchema: z.ZodObject<{
49
+ groupId: z.ZodString;
50
+ name: z.ZodOptional<z.ZodString>;
51
+ accountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
52
+ }, "strip", z.ZodTypeAny, {
53
+ groupId: string;
54
+ accountIds?: string[] | undefined;
55
+ name?: string | undefined;
56
+ }, {
57
+ groupId: string;
58
+ accountIds?: string[] | undefined;
59
+ name?: string | undefined;
60
+ }>;
61
+ handler: (args: {
62
+ groupId: string;
63
+ name?: string;
64
+ accountIds?: string[];
65
+ }) => Promise<unknown>;
66
+ } | {
67
+ name: string;
68
+ description: string;
69
+ inputSchema: z.ZodObject<{
70
+ groupId: z.ZodString;
71
+ }, "strip", z.ZodTypeAny, {
72
+ groupId: string;
73
+ }, {
74
+ groupId: string;
75
+ }>;
76
+ handler: (args: {
77
+ groupId: string;
78
+ }) => Promise<unknown>;
79
+ } | {
80
+ name: string;
81
+ description: string;
82
+ inputSchema: z.ZodObject<{
83
+ email: z.ZodString;
84
+ role: z.ZodString;
85
+ }, "strip", z.ZodTypeAny, {
86
+ email: string;
87
+ role: string;
88
+ }, {
89
+ email: string;
90
+ role: string;
91
+ }>;
92
+ handler: (args: {
93
+ email: string;
94
+ role: string;
95
+ }) => Promise<unknown>;
96
+ } | {
97
+ name: string;
98
+ description: string;
99
+ inputSchema: z.ZodObject<{
100
+ userId: z.ZodString;
101
+ }, "strip", z.ZodTypeAny, {
102
+ userId: string;
103
+ }, {
104
+ userId: string;
105
+ }>;
106
+ handler: (args: {
107
+ userId: string;
108
+ }) => Promise<unknown>;
109
+ } | {
110
+ name: string;
111
+ description: string;
112
+ inputSchema: z.ZodObject<{
113
+ dateFrom: z.ZodOptional<z.ZodString>;
114
+ dateTo: z.ZodOptional<z.ZodString>;
115
+ }, "strip", z.ZodTypeAny, {
116
+ dateFrom?: string | undefined;
117
+ dateTo?: string | undefined;
118
+ }, {
119
+ dateFrom?: string | undefined;
120
+ dateTo?: string | undefined;
121
+ }>;
122
+ handler: (args: {
123
+ dateFrom?: string;
124
+ dateTo?: string;
125
+ }) => Promise<unknown>;
126
+ } | {
127
+ name: string;
128
+ description: string;
129
+ inputSchema: z.ZodObject<{
130
+ name: z.ZodString;
131
+ description: z.ZodOptional<z.ZodString>;
132
+ }, "strip", z.ZodTypeAny, {
133
+ name: string;
134
+ description?: string | undefined;
135
+ }, {
136
+ name: string;
137
+ description?: string | undefined;
138
+ }>;
139
+ handler: (args: {
140
+ name: string;
141
+ description?: string;
142
+ }) => Promise<unknown>;
143
+ } | {
144
+ name: string;
145
+ description: string;
146
+ inputSchema: z.ZodObject<{
147
+ name: z.ZodString;
148
+ }, "strip", z.ZodTypeAny, {
149
+ name: string;
150
+ }, {
151
+ name: string;
152
+ }>;
153
+ handler: (args: {
154
+ name: string;
155
+ }) => Promise<unknown>;
156
+ } | {
157
+ name: string;
158
+ description: string;
159
+ inputSchema: z.ZodObject<{
160
+ keyId: z.ZodString;
161
+ }, "strip", z.ZodTypeAny, {
162
+ keyId: string;
163
+ }, {
164
+ keyId: string;
165
+ }>;
166
+ handler: (args: {
167
+ keyId: string;
168
+ }) => Promise<unknown>;
169
+ })[];
170
+ //# sourceMappingURL=profiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../src/tools/profiles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,YAAY;;;;qBAKE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC;;;;;;;;;;;;;;;;;oBAYtB;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;oBAmBpD;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE;;;;;;;;;;;;;;;;;oBAYvC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE;;;;;;;;;;;oBAUzD;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;oBAmBnB;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;oBAU/B;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;oBAWlB;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;oBAoBtC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;oBAmBtC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;oBAUhB;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE;IAI1C,CAAC"}