zernio-mcp 1.3.3 → 2.0.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/README.md +545 -166
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/tools/accounts.d.ts +199 -91
- package/dist/tools/accounts.d.ts.map +1 -1
- package/dist/tools/accounts.js +258 -0
- package/dist/tools/accounts.js.map +1 -1
- package/dist/tools/ads.d.ts +106 -96
- package/dist/tools/ads.d.ts.map +1 -1
- package/dist/tools/ads.js +100 -0
- package/dist/tools/ads.js.map +1 -1
- package/dist/tools/analytics.d.ts +8 -70
- package/dist/tools/analytics.d.ts.map +1 -1
- package/dist/tools/automations.d.ts +7 -47
- package/dist/tools/automations.d.ts.map +1 -1
- package/dist/tools/broadcasts.d.ts +5 -39
- package/dist/tools/broadcasts.d.ts.map +1 -1
- package/dist/tools/comments.d.ts +19 -37
- package/dist/tools/comments.d.ts.map +1 -1
- package/dist/tools/comments.js +14 -0
- package/dist/tools/comments.js.map +1 -1
- package/dist/tools/connect.d.ts +43 -49
- package/dist/tools/connect.d.ts.map +1 -1
- package/dist/tools/connect.js +80 -0
- package/dist/tools/connect.js.map +1 -1
- package/dist/tools/contacts.d.ts +10 -78
- package/dist/tools/contacts.d.ts.map +1 -1
- package/dist/tools/messages.d.ts +40 -60
- package/dist/tools/messages.d.ts.map +1 -1
- package/dist/tools/messages.js +23 -0
- package/dist/tools/messages.js.map +1 -1
- package/dist/tools/posts.d.ts +101 -109
- package/dist/tools/posts.d.ts.map +1 -1
- package/dist/tools/posts.js +84 -0
- package/dist/tools/posts.js.map +1 -1
- package/dist/tools/profiles.d.ts +35 -69
- package/dist/tools/profiles.d.ts.map +1 -1
- package/dist/tools/profiles.js +50 -0
- package/dist/tools/profiles.js.map +1 -1
- package/dist/tools/queue.d.ts +65 -0
- package/dist/tools/queue.d.ts.map +1 -0
- package/dist/tools/queue.js +86 -0
- package/dist/tools/queue.js.map +1 -0
- package/dist/tools/reddit.d.ts +33 -0
- package/dist/tools/reddit.d.ts.map +1 -0
- package/dist/tools/reddit.js +44 -0
- package/dist/tools/reddit.js.map +1 -0
- package/dist/tools/reviews.d.ts +7 -32
- package/dist/tools/reviews.d.ts.map +1 -1
- package/dist/tools/social.d.ts +96 -108
- package/dist/tools/social.d.ts.map +1 -1
- package/dist/tools/social.js +118 -0
- package/dist/tools/social.js.map +1 -1
- package/dist/tools/validation.d.ts +45 -0
- package/dist/tools/validation.d.ts.map +1 -0
- package/dist/tools/validation.js +60 -0
- package/dist/tools/validation.js.map +1 -0
- package/dist/tools/whatsapp-business.d.ts +223 -127
- package/dist/tools/whatsapp-business.d.ts.map +1 -1
- package/dist/tools/whatsapp-business.js +352 -0
- package/dist/tools/whatsapp-business.js.map +1 -1
- package/package.json +50 -39
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation.js","sourceRoot":"","sources":["../../src/tools/validation.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,4CAA6C;AAEhC,QAAA,eAAe,GAAG;IAC7B;QACE,IAAI,EAAE,6BAA6B;QACnC,WAAW,EAAE,8EAA8E;QAC3F,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC;YACpB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;YAC5D,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,2EAA2E,CAAC;SAC3G,CAAC;QACF,OAAO,EAAE,KAAK,EAAE,IAA2C,EAAE,EAAE;YAC7D,OAAO,IAAA,yBAAa,EAAC,MAAM,EAAE,gCAAgC,EAAE;gBAC7D,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB,CAAC,CAAC;QACL,CAAC;KACF;IACD;QACE,IAAI,EAAE,sBAAsB;QAC5B,WAAW,EAAE,kIAAkI;QAC/I,WAAW,EAAE,O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Aa,EAAC,KAAK,EAAE,8BAA8B,EAAE,SAAS,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;QACxG,CAAC;KACF;CACF,CAAC"}
|
|
@@ -4,11 +4,7 @@ export declare const whatsappBusinessTools: ({
|
|
|
4
4
|
description: string;
|
|
5
5
|
inputSchema: z.ZodObject<{
|
|
6
6
|
accountId: z.ZodString;
|
|
7
|
-
},
|
|
8
|
-
accountId: string;
|
|
9
|
-
}, {
|
|
10
|
-
accountId: string;
|
|
11
|
-
}>;
|
|
7
|
+
}, z.core.$strip>;
|
|
12
8
|
handler: (args: {
|
|
13
9
|
accountId: string;
|
|
14
10
|
}) => Promise<unknown>;
|
|
@@ -23,23 +19,7 @@ export declare const whatsappBusinessTools: ({
|
|
|
23
19
|
category: z.ZodOptional<z.ZodString>;
|
|
24
20
|
email: z.ZodOptional<z.ZodString>;
|
|
25
21
|
address: z.ZodOptional<z.ZodString>;
|
|
26
|
-
},
|
|
27
|
-
accountId: string;
|
|
28
|
-
description?: string | undefined;
|
|
29
|
-
email?: string | undefined;
|
|
30
|
-
displayName?: string | undefined;
|
|
31
|
-
website?: string | undefined;
|
|
32
|
-
category?: string | undefined;
|
|
33
|
-
address?: string | undefined;
|
|
34
|
-
}, {
|
|
35
|
-
accountId: string;
|
|
36
|
-
description?: string | undefined;
|
|
37
|
-
email?: string | undefined;
|
|
38
|
-
displayName?: string | undefined;
|
|
39
|
-
website?: string | undefined;
|
|
40
|
-
category?: string | undefined;
|
|
41
|
-
address?: string | undefined;
|
|
42
|
-
}>;
|
|
22
|
+
}, z.core.$strip>;
|
|
43
23
|
handler: (args: {
|
|
44
24
|
accountId: string;
|
|
45
25
|
displayName?: string;
|
|
@@ -60,23 +40,7 @@ export declare const whatsappBusinessTools: ({
|
|
|
60
40
|
body: z.ZodString;
|
|
61
41
|
header: z.ZodOptional<z.ZodString>;
|
|
62
42
|
footer: z.ZodOptional<z.ZodString>;
|
|
63
|
-
},
|
|
64
|
-
accountId: string;
|
|
65
|
-
name: string;
|
|
66
|
-
category: string;
|
|
67
|
-
language: string;
|
|
68
|
-
body: string;
|
|
69
|
-
header?: string | undefined;
|
|
70
|
-
footer?: string | undefined;
|
|
71
|
-
}, {
|
|
72
|
-
accountId: string;
|
|
73
|
-
name: string;
|
|
74
|
-
category: string;
|
|
75
|
-
language: string;
|
|
76
|
-
body: string;
|
|
77
|
-
header?: string | undefined;
|
|
78
|
-
footer?: string | undefined;
|
|
79
|
-
}>;
|
|
43
|
+
}, z.core.$strip>;
|
|
80
44
|
handler: (args: {
|
|
81
45
|
accountId: string;
|
|
82
46
|
name: string;
|
|
@@ -93,15 +57,7 @@ export declare const whatsappBusinessTools: ({
|
|
|
93
57
|
accountId: z.ZodString;
|
|
94
58
|
countryCode: z.ZodString;
|
|
95
59
|
areaCode: z.ZodOptional<z.ZodString>;
|
|
96
|
-
},
|
|
97
|
-
accountId: string;
|
|
98
|
-
countryCode: string;
|
|
99
|
-
areaCode?: string | undefined;
|
|
100
|
-
}, {
|
|
101
|
-
accountId: string;
|
|
102
|
-
countryCode: string;
|
|
103
|
-
areaCode?: string | undefined;
|
|
104
|
-
}>;
|
|
60
|
+
}, z.core.$strip>;
|
|
105
61
|
handler: (args: {
|
|
106
62
|
accountId: string;
|
|
107
63
|
countryCode: string;
|
|
@@ -113,16 +69,11 @@ export declare const whatsappBusinessTools: ({
|
|
|
113
69
|
inputSchema: z.ZodObject<{
|
|
114
70
|
accountId: z.ZodString;
|
|
115
71
|
phoneNumberId: z.ZodString;
|
|
116
|
-
method: z.ZodEnum<
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}, {
|
|
122
|
-
accountId: string;
|
|
123
|
-
phoneNumberId: string;
|
|
124
|
-
method: "sms" | "voice";
|
|
125
|
-
}>;
|
|
72
|
+
method: z.ZodEnum<{
|
|
73
|
+
sms: "sms";
|
|
74
|
+
voice: "voice";
|
|
75
|
+
}>;
|
|
76
|
+
}, z.core.$strip>;
|
|
126
77
|
handler: (args: {
|
|
127
78
|
accountId: string;
|
|
128
79
|
phoneNumberId: string;
|
|
@@ -135,15 +86,7 @@ export declare const whatsappBusinessTools: ({
|
|
|
135
86
|
accountId: z.ZodString;
|
|
136
87
|
phoneNumberId: z.ZodString;
|
|
137
88
|
code: z.ZodString;
|
|
138
|
-
},
|
|
139
|
-
code: string;
|
|
140
|
-
accountId: string;
|
|
141
|
-
phoneNumberId: string;
|
|
142
|
-
}, {
|
|
143
|
-
code: string;
|
|
144
|
-
accountId: string;
|
|
145
|
-
phoneNumberId: string;
|
|
146
|
-
}>;
|
|
89
|
+
}, z.core.$strip>;
|
|
147
90
|
handler: (args: {
|
|
148
91
|
accountId: string;
|
|
149
92
|
phoneNumberId: string;
|
|
@@ -155,16 +98,8 @@ export declare const whatsappBusinessTools: ({
|
|
|
155
98
|
inputSchema: z.ZodObject<{
|
|
156
99
|
accountId: z.ZodString;
|
|
157
100
|
name: z.ZodString;
|
|
158
|
-
categories: z.ZodArray<z.ZodString
|
|
159
|
-
},
|
|
160
|
-
accountId: string;
|
|
161
|
-
name: string;
|
|
162
|
-
categories: string[];
|
|
163
|
-
}, {
|
|
164
|
-
accountId: string;
|
|
165
|
-
name: string;
|
|
166
|
-
categories: string[];
|
|
167
|
-
}>;
|
|
101
|
+
categories: z.ZodArray<z.ZodString>;
|
|
102
|
+
}, z.core.$strip>;
|
|
168
103
|
handler: (args: {
|
|
169
104
|
accountId: string;
|
|
170
105
|
name: string;
|
|
@@ -176,13 +111,7 @@ export declare const whatsappBusinessTools: ({
|
|
|
176
111
|
inputSchema: z.ZodObject<{
|
|
177
112
|
flowId: z.ZodString;
|
|
178
113
|
accountId: z.ZodString;
|
|
179
|
-
},
|
|
180
|
-
accountId: string;
|
|
181
|
-
flowId: string;
|
|
182
|
-
}, {
|
|
183
|
-
accountId: string;
|
|
184
|
-
flowId: string;
|
|
185
|
-
}>;
|
|
114
|
+
}, z.core.$strip>;
|
|
186
115
|
handler: (args: {
|
|
187
116
|
flowId: string;
|
|
188
117
|
accountId: string;
|
|
@@ -194,15 +123,7 @@ export declare const whatsappBusinessTools: ({
|
|
|
194
123
|
flowId: z.ZodString;
|
|
195
124
|
accountId: z.ZodString;
|
|
196
125
|
flowJson: z.ZodString;
|
|
197
|
-
},
|
|
198
|
-
accountId: string;
|
|
199
|
-
flowId: string;
|
|
200
|
-
flowJson: string;
|
|
201
|
-
}, {
|
|
202
|
-
accountId: string;
|
|
203
|
-
flowId: string;
|
|
204
|
-
flowJson: string;
|
|
205
|
-
}>;
|
|
126
|
+
}, z.core.$strip>;
|
|
206
127
|
handler: (args: {
|
|
207
128
|
flowId: string;
|
|
208
129
|
accountId: string;
|
|
@@ -214,16 +135,8 @@ export declare const whatsappBusinessTools: ({
|
|
|
214
135
|
inputSchema: z.ZodObject<{
|
|
215
136
|
accountId: z.ZodString;
|
|
216
137
|
name: z.ZodString;
|
|
217
|
-
participants: z.ZodArray<z.ZodString
|
|
218
|
-
},
|
|
219
|
-
accountId: string;
|
|
220
|
-
name: string;
|
|
221
|
-
participants: string[];
|
|
222
|
-
}, {
|
|
223
|
-
accountId: string;
|
|
224
|
-
name: string;
|
|
225
|
-
participants: string[];
|
|
226
|
-
}>;
|
|
138
|
+
participants: z.ZodArray<z.ZodString>;
|
|
139
|
+
}, z.core.$strip>;
|
|
227
140
|
handler: (args: {
|
|
228
141
|
accountId: string;
|
|
229
142
|
name: string;
|
|
@@ -235,20 +148,23 @@ export declare const whatsappBusinessTools: ({
|
|
|
235
148
|
inputSchema: z.ZodObject<{
|
|
236
149
|
groupId: z.ZodString;
|
|
237
150
|
accountId: z.ZodString;
|
|
238
|
-
participants: z.ZodArray<z.ZodString
|
|
239
|
-
},
|
|
240
|
-
|
|
151
|
+
participants: z.ZodArray<z.ZodString>;
|
|
152
|
+
}, z.core.$strip>;
|
|
153
|
+
handler: (args: {
|
|
241
154
|
groupId: string;
|
|
242
|
-
participants: string[];
|
|
243
|
-
}, {
|
|
244
155
|
accountId: string;
|
|
245
|
-
groupId: string;
|
|
246
156
|
participants: string[];
|
|
247
|
-
}>;
|
|
157
|
+
}) => Promise<unknown>;
|
|
158
|
+
} | {
|
|
159
|
+
name: string;
|
|
160
|
+
description: string;
|
|
161
|
+
inputSchema: z.ZodObject<{
|
|
162
|
+
groupId: z.ZodString;
|
|
163
|
+
accountId: z.ZodString;
|
|
164
|
+
}, z.core.$strip>;
|
|
248
165
|
handler: (args: {
|
|
249
166
|
groupId: string;
|
|
250
167
|
accountId: string;
|
|
251
|
-
participants: string[];
|
|
252
168
|
}) => Promise<unknown>;
|
|
253
169
|
} | {
|
|
254
170
|
name: string;
|
|
@@ -256,37 +172,217 @@ export declare const whatsappBusinessTools: ({
|
|
|
256
172
|
inputSchema: z.ZodObject<{
|
|
257
173
|
groupId: z.ZodString;
|
|
258
174
|
accountId: z.ZodString;
|
|
259
|
-
|
|
260
|
-
|
|
175
|
+
requestIds: z.ZodArray<z.ZodString>;
|
|
176
|
+
}, z.core.$strip>;
|
|
177
|
+
handler: (args: {
|
|
261
178
|
groupId: string;
|
|
262
|
-
}, {
|
|
263
179
|
accountId: string;
|
|
264
|
-
|
|
265
|
-
}>;
|
|
180
|
+
requestIds: string[];
|
|
181
|
+
}) => Promise<unknown>;
|
|
182
|
+
} | {
|
|
183
|
+
name: string;
|
|
184
|
+
description: string;
|
|
185
|
+
inputSchema: z.ZodObject<{
|
|
186
|
+
templateName: z.ZodString;
|
|
187
|
+
accountId: z.ZodString;
|
|
188
|
+
}, z.core.$strip>;
|
|
266
189
|
handler: (args: {
|
|
267
|
-
|
|
190
|
+
templateName: string;
|
|
268
191
|
accountId: string;
|
|
269
192
|
}) => Promise<unknown>;
|
|
270
193
|
} | {
|
|
271
194
|
name: string;
|
|
272
195
|
description: string;
|
|
273
196
|
inputSchema: z.ZodObject<{
|
|
274
|
-
|
|
197
|
+
templateName: z.ZodString;
|
|
275
198
|
accountId: z.ZodString;
|
|
276
|
-
|
|
277
|
-
|
|
199
|
+
body: z.ZodOptional<z.ZodString>;
|
|
200
|
+
header: z.ZodOptional<z.ZodString>;
|
|
201
|
+
footer: z.ZodOptional<z.ZodString>;
|
|
202
|
+
}, z.core.$strip>;
|
|
203
|
+
handler: (args: {
|
|
204
|
+
templateName: string;
|
|
278
205
|
accountId: string;
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
206
|
+
body?: string;
|
|
207
|
+
header?: string;
|
|
208
|
+
footer?: string;
|
|
209
|
+
}) => Promise<unknown>;
|
|
210
|
+
} | {
|
|
211
|
+
name: string;
|
|
212
|
+
description: string;
|
|
213
|
+
inputSchema: z.ZodObject<{
|
|
214
|
+
phoneNumberId: z.ZodString;
|
|
215
|
+
accountId: z.ZodString;
|
|
216
|
+
}, z.core.$strip>;
|
|
217
|
+
handler: (args: {
|
|
218
|
+
phoneNumberId: string;
|
|
282
219
|
accountId: string;
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
220
|
+
}) => Promise<unknown>;
|
|
221
|
+
} | {
|
|
222
|
+
name: string;
|
|
223
|
+
description: string;
|
|
224
|
+
inputSchema: z.ZodObject<{
|
|
225
|
+
accountId: z.ZodString;
|
|
226
|
+
displayName: z.ZodString;
|
|
227
|
+
}, z.core.$strip>;
|
|
228
|
+
handler: (args: {
|
|
229
|
+
accountId: string;
|
|
230
|
+
displayName: string;
|
|
231
|
+
}) => Promise<unknown>;
|
|
232
|
+
} | {
|
|
233
|
+
name: string;
|
|
234
|
+
description: string;
|
|
235
|
+
inputSchema: z.ZodObject<{
|
|
236
|
+
accountId: z.ZodString;
|
|
237
|
+
photoUrl: z.ZodString;
|
|
238
|
+
}, z.core.$strip>;
|
|
239
|
+
handler: (args: {
|
|
240
|
+
accountId: string;
|
|
241
|
+
photoUrl: string;
|
|
242
|
+
}) => Promise<unknown>;
|
|
243
|
+
} | {
|
|
244
|
+
name: string;
|
|
245
|
+
description: string;
|
|
246
|
+
inputSchema: z.ZodObject<{
|
|
247
|
+
flowId: z.ZodString;
|
|
248
|
+
accountId: z.ZodString;
|
|
249
|
+
name: z.ZodOptional<z.ZodString>;
|
|
250
|
+
}, z.core.$strip>;
|
|
251
|
+
handler: (args: {
|
|
252
|
+
flowId: string;
|
|
253
|
+
accountId: string;
|
|
254
|
+
name?: string;
|
|
255
|
+
}) => Promise<unknown>;
|
|
256
|
+
} | {
|
|
257
|
+
name: string;
|
|
258
|
+
description: string;
|
|
259
|
+
inputSchema: z.ZodObject<{
|
|
260
|
+
accountId: z.ZodString;
|
|
261
|
+
flowId: z.ZodString;
|
|
262
|
+
contactId: z.ZodString;
|
|
263
|
+
}, z.core.$strip>;
|
|
264
|
+
handler: (args: {
|
|
265
|
+
accountId: string;
|
|
266
|
+
flowId: string;
|
|
267
|
+
contactId: string;
|
|
268
|
+
}) => Promise<unknown>;
|
|
269
|
+
} | {
|
|
270
|
+
name: string;
|
|
271
|
+
description: string;
|
|
272
|
+
inputSchema: z.ZodObject<{
|
|
273
|
+
groupId: z.ZodString;
|
|
274
|
+
accountId: z.ZodString;
|
|
275
|
+
name: z.ZodOptional<z.ZodString>;
|
|
276
|
+
}, z.core.$strip>;
|
|
286
277
|
handler: (args: {
|
|
287
278
|
groupId: string;
|
|
288
279
|
accountId: string;
|
|
289
|
-
|
|
280
|
+
name?: string;
|
|
281
|
+
}) => Promise<unknown>;
|
|
282
|
+
} | {
|
|
283
|
+
name: string;
|
|
284
|
+
description: string;
|
|
285
|
+
inputSchema: z.ZodObject<{
|
|
286
|
+
accountId: z.ZodString;
|
|
287
|
+
templateName: z.ZodString;
|
|
288
|
+
contacts: z.ZodArray<z.ZodString>;
|
|
289
|
+
}, z.core.$strip>;
|
|
290
|
+
handler: (args: {
|
|
291
|
+
accountId: string;
|
|
292
|
+
templateName: string;
|
|
293
|
+
contacts: string[];
|
|
294
|
+
}) => Promise<unknown>;
|
|
295
|
+
} | {
|
|
296
|
+
name: string;
|
|
297
|
+
description: string;
|
|
298
|
+
inputSchema: z.ZodObject<{
|
|
299
|
+
accountId: z.ZodString;
|
|
300
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
301
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
302
|
+
}, z.core.$strip>;
|
|
303
|
+
handler: (args: {
|
|
304
|
+
accountId: string;
|
|
305
|
+
limit?: number;
|
|
306
|
+
offset?: number;
|
|
307
|
+
}) => Promise<unknown>;
|
|
308
|
+
} | {
|
|
309
|
+
name: string;
|
|
310
|
+
description: string;
|
|
311
|
+
inputSchema: z.ZodObject<{
|
|
312
|
+
accountId: z.ZodString;
|
|
313
|
+
name: z.ZodString;
|
|
314
|
+
phoneNumber: z.ZodString;
|
|
315
|
+
email: z.ZodOptional<z.ZodString>;
|
|
316
|
+
}, z.core.$strip>;
|
|
317
|
+
handler: (args: {
|
|
318
|
+
accountId: string;
|
|
319
|
+
name: string;
|
|
320
|
+
phoneNumber: string;
|
|
321
|
+
email?: string;
|
|
322
|
+
}) => Promise<unknown>;
|
|
323
|
+
} | {
|
|
324
|
+
name: string;
|
|
325
|
+
description: string;
|
|
326
|
+
inputSchema: z.ZodObject<{
|
|
327
|
+
contactId: z.ZodString;
|
|
328
|
+
accountId: z.ZodString;
|
|
329
|
+
}, z.core.$strip>;
|
|
330
|
+
handler: (args: {
|
|
331
|
+
contactId: string;
|
|
332
|
+
accountId: string;
|
|
333
|
+
}) => Promise<unknown>;
|
|
334
|
+
} | {
|
|
335
|
+
name: string;
|
|
336
|
+
description: string;
|
|
337
|
+
inputSchema: z.ZodObject<{
|
|
338
|
+
contactId: z.ZodString;
|
|
339
|
+
accountId: z.ZodString;
|
|
340
|
+
name: z.ZodOptional<z.ZodString>;
|
|
341
|
+
email: z.ZodOptional<z.ZodString>;
|
|
342
|
+
}, z.core.$strip>;
|
|
343
|
+
handler: (args: {
|
|
344
|
+
contactId: string;
|
|
345
|
+
accountId: string;
|
|
346
|
+
name?: string;
|
|
347
|
+
email?: string;
|
|
348
|
+
}) => Promise<unknown>;
|
|
349
|
+
} | {
|
|
350
|
+
name: string;
|
|
351
|
+
description: string;
|
|
352
|
+
inputSchema: z.ZodObject<{
|
|
353
|
+
accountId: z.ZodString;
|
|
354
|
+
contacts: z.ZodArray<z.ZodObject<{
|
|
355
|
+
name: z.ZodString;
|
|
356
|
+
phoneNumber: z.ZodString;
|
|
357
|
+
email: z.ZodOptional<z.ZodString>;
|
|
358
|
+
}, z.core.$strip>>;
|
|
359
|
+
}, z.core.$strip>;
|
|
360
|
+
handler: (args: {
|
|
361
|
+
accountId: string;
|
|
362
|
+
contacts: Array<{
|
|
363
|
+
name: string;
|
|
364
|
+
phoneNumber: string;
|
|
365
|
+
email?: string;
|
|
366
|
+
}>;
|
|
367
|
+
}) => Promise<unknown>;
|
|
368
|
+
} | {
|
|
369
|
+
name: string;
|
|
370
|
+
description: string;
|
|
371
|
+
inputSchema: z.ZodObject<{
|
|
372
|
+
accountId: z.ZodString;
|
|
373
|
+
contacts: z.ZodArray<z.ZodObject<{
|
|
374
|
+
contactId: z.ZodString;
|
|
375
|
+
name: z.ZodOptional<z.ZodString>;
|
|
376
|
+
email: z.ZodOptional<z.ZodString>;
|
|
377
|
+
}, z.core.$strip>>;
|
|
378
|
+
}, z.core.$strip>;
|
|
379
|
+
handler: (args: {
|
|
380
|
+
accountId: string;
|
|
381
|
+
contacts: Array<{
|
|
382
|
+
contactId: string;
|
|
383
|
+
name?: string;
|
|
384
|
+
email?: string;
|
|
385
|
+
}>;
|
|
290
386
|
}) => Promise<unknown>;
|
|
291
387
|
})[];
|
|
292
388
|
//# sourceMappingURL=whatsapp-business.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp-business.d.ts","sourceRoot":"","sources":["../../src/tools/whatsapp-business.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"whatsapp-business.d.ts","sourceRoot":"","sources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