@bubblelab/bubble-core 0.1.254 → 0.1.261

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 (54) hide show
  1. package/dist/bubble-bundle.d.ts +148 -31
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +9 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  6. package/dist/bubbles/service-bubble/ai-agent.js +9 -2
  7. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  8. package/dist/bubbles/service-bubble/asana/asana.d.ts +1232 -0
  9. package/dist/bubbles/service-bubble/asana/asana.d.ts.map +1 -0
  10. package/dist/bubbles/service-bubble/asana/asana.js +809 -0
  11. package/dist/bubbles/service-bubble/asana/asana.js.map +1 -0
  12. package/dist/bubbles/service-bubble/asana/asana.schema.d.ts +1169 -0
  13. package/dist/bubbles/service-bubble/asana/asana.schema.d.ts.map +1 -0
  14. package/dist/bubbles/service-bubble/asana/asana.schema.js +740 -0
  15. package/dist/bubbles/service-bubble/asana/asana.schema.js.map +1 -0
  16. package/dist/bubbles/service-bubble/asana/index.d.ts +3 -0
  17. package/dist/bubbles/service-bubble/asana/index.d.ts.map +1 -0
  18. package/dist/bubbles/service-bubble/asana/index.js +3 -0
  19. package/dist/bubbles/service-bubble/asana/index.js.map +1 -0
  20. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +2 -2
  21. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +2 -2
  22. package/dist/bubbles/service-bubble/discord/discord.d.ts +778 -0
  23. package/dist/bubbles/service-bubble/discord/discord.d.ts.map +1 -0
  24. package/dist/bubbles/service-bubble/discord/discord.js +370 -0
  25. package/dist/bubbles/service-bubble/discord/discord.js.map +1 -0
  26. package/dist/bubbles/service-bubble/discord/discord.schema.d.ts +739 -0
  27. package/dist/bubbles/service-bubble/discord/discord.schema.d.ts.map +1 -0
  28. package/dist/bubbles/service-bubble/discord/discord.schema.js +352 -0
  29. package/dist/bubbles/service-bubble/discord/discord.schema.js.map +1 -0
  30. package/dist/bubbles/service-bubble/discord/index.d.ts +3 -0
  31. package/dist/bubbles/service-bubble/discord/index.d.ts.map +1 -0
  32. package/dist/bubbles/service-bubble/discord/index.js +3 -0
  33. package/dist/bubbles/service-bubble/discord/index.js.map +1 -0
  34. package/dist/bubbles/service-bubble/salesforce/index.d.ts +3 -0
  35. package/dist/bubbles/service-bubble/salesforce/index.d.ts.map +1 -0
  36. package/dist/bubbles/service-bubble/salesforce/index.js +3 -0
  37. package/dist/bubbles/service-bubble/salesforce/index.js.map +1 -0
  38. package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts +209 -0
  39. package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts.map +1 -0
  40. package/dist/bubbles/service-bubble/salesforce/salesforce.js +221 -0
  41. package/dist/bubbles/service-bubble/salesforce/salesforce.js.map +1 -0
  42. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts +179 -0
  43. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts.map +1 -0
  44. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js +127 -0
  45. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js.map +1 -0
  46. package/dist/bubbles/service-bubble/snowflake/snowflake.d.ts.map +1 -1
  47. package/dist/bubbles/service-bubble/snowflake/snowflake.js +1 -1
  48. package/dist/bubbles/service-bubble/snowflake/snowflake.js.map +1 -1
  49. package/dist/bubbles.json +3945 -4
  50. package/dist/index.d.ts +6 -0
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/index.js +3 -0
  53. package/dist/index.js.map +1 -1
  54. package/package.json +2 -2
@@ -0,0 +1,1169 @@
1
+ import { z } from 'zod';
2
+ import { CredentialType } from '@bubblelab/shared-schemas';
3
+ export declare const AsanaParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
4
+ operation: z.ZodLiteral<"list_tasks">;
5
+ project: z.ZodOptional<z.ZodString>;
6
+ section: z.ZodOptional<z.ZodString>;
7
+ assignee: z.ZodOptional<z.ZodString>;
8
+ workspace: z.ZodOptional<z.ZodString>;
9
+ completed_since: z.ZodOptional<z.ZodString>;
10
+ modified_since: z.ZodOptional<z.ZodString>;
11
+ opt_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
13
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ operation: "list_tasks";
16
+ limit: number;
17
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
18
+ section?: string | undefined;
19
+ workspace?: string | undefined;
20
+ assignee?: string | undefined;
21
+ project?: string | undefined;
22
+ completed_since?: string | undefined;
23
+ modified_since?: string | undefined;
24
+ opt_fields?: string[] | undefined;
25
+ }, {
26
+ operation: "list_tasks";
27
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
28
+ limit?: number | undefined;
29
+ section?: string | undefined;
30
+ workspace?: string | undefined;
31
+ assignee?: string | undefined;
32
+ project?: string | undefined;
33
+ completed_since?: string | undefined;
34
+ modified_since?: string | undefined;
35
+ opt_fields?: string[] | undefined;
36
+ }>, z.ZodObject<{
37
+ operation: z.ZodLiteral<"get_task">;
38
+ task_gid: z.ZodString;
39
+ opt_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ operation: "get_task";
43
+ task_gid: string;
44
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
45
+ opt_fields?: string[] | undefined;
46
+ }, {
47
+ operation: "get_task";
48
+ task_gid: string;
49
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
50
+ opt_fields?: string[] | undefined;
51
+ }>, z.ZodObject<{
52
+ operation: z.ZodLiteral<"create_task">;
53
+ name: z.ZodString;
54
+ notes: z.ZodOptional<z.ZodString>;
55
+ html_notes: z.ZodOptional<z.ZodString>;
56
+ assignee: z.ZodOptional<z.ZodString>;
57
+ due_on: z.ZodOptional<z.ZodString>;
58
+ due_at: z.ZodOptional<z.ZodString>;
59
+ start_on: z.ZodOptional<z.ZodString>;
60
+ projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
61
+ memberships: z.ZodOptional<z.ZodArray<z.ZodObject<{
62
+ project: z.ZodString;
63
+ section: z.ZodString;
64
+ }, "strip", z.ZodTypeAny, {
65
+ section: string;
66
+ project: string;
67
+ }, {
68
+ section: string;
69
+ project: string;
70
+ }>, "many">>;
71
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
72
+ parent: z.ZodOptional<z.ZodString>;
73
+ workspace: z.ZodOptional<z.ZodString>;
74
+ custom_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
75
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
76
+ }, "strip", z.ZodTypeAny, {
77
+ name: string;
78
+ operation: "create_task";
79
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
80
+ tags?: string[] | undefined;
81
+ parent?: string | undefined;
82
+ projects?: string[] | undefined;
83
+ notes?: string | undefined;
84
+ workspace?: string | undefined;
85
+ assignee?: string | undefined;
86
+ custom_fields?: Record<string, string | number> | undefined;
87
+ html_notes?: string | undefined;
88
+ due_on?: string | undefined;
89
+ due_at?: string | undefined;
90
+ start_on?: string | undefined;
91
+ memberships?: {
92
+ section: string;
93
+ project: string;
94
+ }[] | undefined;
95
+ }, {
96
+ name: string;
97
+ operation: "create_task";
98
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
99
+ tags?: string[] | undefined;
100
+ parent?: string | undefined;
101
+ projects?: string[] | undefined;
102
+ notes?: string | undefined;
103
+ workspace?: string | undefined;
104
+ assignee?: string | undefined;
105
+ custom_fields?: Record<string, string | number> | undefined;
106
+ html_notes?: string | undefined;
107
+ due_on?: string | undefined;
108
+ due_at?: string | undefined;
109
+ start_on?: string | undefined;
110
+ memberships?: {
111
+ section: string;
112
+ project: string;
113
+ }[] | undefined;
114
+ }>, z.ZodObject<{
115
+ operation: z.ZodLiteral<"update_task">;
116
+ task_gid: z.ZodString;
117
+ name: z.ZodOptional<z.ZodString>;
118
+ notes: z.ZodOptional<z.ZodString>;
119
+ html_notes: z.ZodOptional<z.ZodString>;
120
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
121
+ due_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
122
+ due_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
123
+ start_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
+ completed: z.ZodOptional<z.ZodBoolean>;
125
+ custom_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>>;
126
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ operation: "update_task";
129
+ task_gid: string;
130
+ name?: string | undefined;
131
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
132
+ completed?: boolean | undefined;
133
+ notes?: string | undefined;
134
+ assignee?: string | null | undefined;
135
+ custom_fields?: Record<string, string | number | null> | undefined;
136
+ html_notes?: string | undefined;
137
+ due_on?: string | null | undefined;
138
+ due_at?: string | null | undefined;
139
+ start_on?: string | null | undefined;
140
+ }, {
141
+ operation: "update_task";
142
+ task_gid: string;
143
+ name?: string | undefined;
144
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
145
+ completed?: boolean | undefined;
146
+ notes?: string | undefined;
147
+ assignee?: string | null | undefined;
148
+ custom_fields?: Record<string, string | number | null> | undefined;
149
+ html_notes?: string | undefined;
150
+ due_on?: string | null | undefined;
151
+ due_at?: string | null | undefined;
152
+ start_on?: string | null | undefined;
153
+ }>, z.ZodObject<{
154
+ operation: z.ZodLiteral<"delete_task">;
155
+ task_gid: z.ZodString;
156
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
157
+ }, "strip", z.ZodTypeAny, {
158
+ operation: "delete_task";
159
+ task_gid: string;
160
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
161
+ }, {
162
+ operation: "delete_task";
163
+ task_gid: string;
164
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
165
+ }>, z.ZodObject<{
166
+ operation: z.ZodLiteral<"search_tasks">;
167
+ workspace: z.ZodOptional<z.ZodString>;
168
+ text: z.ZodOptional<z.ZodString>;
169
+ assignee: z.ZodOptional<z.ZodString>;
170
+ projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
171
+ completed: z.ZodOptional<z.ZodBoolean>;
172
+ is_subtask: z.ZodOptional<z.ZodBoolean>;
173
+ sort_by: z.ZodDefault<z.ZodOptional<z.ZodEnum<["due_date", "created_at", "completed_at", "likes", "modified_at"]>>>;
174
+ sort_ascending: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
175
+ opt_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
176
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
177
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
178
+ }, "strip", z.ZodTypeAny, {
179
+ operation: "search_tasks";
180
+ limit: number;
181
+ sort_by: "created_at" | "likes" | "due_date" | "completed_at" | "modified_at";
182
+ sort_ascending: boolean;
183
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
184
+ text?: string | undefined;
185
+ projects?: string[] | undefined;
186
+ completed?: boolean | undefined;
187
+ workspace?: string | undefined;
188
+ assignee?: string | undefined;
189
+ opt_fields?: string[] | undefined;
190
+ is_subtask?: boolean | undefined;
191
+ }, {
192
+ operation: "search_tasks";
193
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
194
+ text?: string | undefined;
195
+ limit?: number | undefined;
196
+ projects?: string[] | undefined;
197
+ completed?: boolean | undefined;
198
+ workspace?: string | undefined;
199
+ assignee?: string | undefined;
200
+ sort_by?: "created_at" | "likes" | "due_date" | "completed_at" | "modified_at" | undefined;
201
+ opt_fields?: string[] | undefined;
202
+ is_subtask?: boolean | undefined;
203
+ sort_ascending?: boolean | undefined;
204
+ }>, z.ZodObject<{
205
+ operation: z.ZodLiteral<"add_task_to_section">;
206
+ task_gid: z.ZodString;
207
+ section_gid: z.ZodString;
208
+ insert_before: z.ZodOptional<z.ZodString>;
209
+ insert_after: z.ZodOptional<z.ZodString>;
210
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ operation: "add_task_to_section";
213
+ task_gid: string;
214
+ section_gid: string;
215
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
216
+ insert_before?: string | undefined;
217
+ insert_after?: string | undefined;
218
+ }, {
219
+ operation: "add_task_to_section";
220
+ task_gid: string;
221
+ section_gid: string;
222
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
223
+ insert_before?: string | undefined;
224
+ insert_after?: string | undefined;
225
+ }>, z.ZodObject<{
226
+ operation: z.ZodLiteral<"set_dependencies">;
227
+ task_gid: z.ZodString;
228
+ dependencies: z.ZodArray<z.ZodString, "many">;
229
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
230
+ }, "strip", z.ZodTypeAny, {
231
+ dependencies: string[];
232
+ operation: "set_dependencies";
233
+ task_gid: string;
234
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
235
+ }, {
236
+ dependencies: string[];
237
+ operation: "set_dependencies";
238
+ task_gid: string;
239
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
240
+ }>, z.ZodObject<{
241
+ operation: z.ZodLiteral<"list_projects">;
242
+ workspace: z.ZodOptional<z.ZodString>;
243
+ team: z.ZodOptional<z.ZodString>;
244
+ archived: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
245
+ opt_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
246
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
247
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
248
+ }, "strip", z.ZodTypeAny, {
249
+ operation: "list_projects";
250
+ limit: number;
251
+ archived: boolean;
252
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
253
+ workspace?: string | undefined;
254
+ team?: string | undefined;
255
+ opt_fields?: string[] | undefined;
256
+ }, {
257
+ operation: "list_projects";
258
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
259
+ limit?: number | undefined;
260
+ workspace?: string | undefined;
261
+ archived?: boolean | undefined;
262
+ team?: string | undefined;
263
+ opt_fields?: string[] | undefined;
264
+ }>, z.ZodObject<{
265
+ operation: z.ZodLiteral<"get_project">;
266
+ project_gid: z.ZodString;
267
+ opt_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
268
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
269
+ }, "strip", z.ZodTypeAny, {
270
+ operation: "get_project";
271
+ project_gid: string;
272
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
273
+ opt_fields?: string[] | undefined;
274
+ }, {
275
+ operation: "get_project";
276
+ project_gid: string;
277
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
278
+ opt_fields?: string[] | undefined;
279
+ }>, z.ZodObject<{
280
+ operation: z.ZodLiteral<"create_project">;
281
+ name: z.ZodString;
282
+ notes: z.ZodOptional<z.ZodString>;
283
+ workspace: z.ZodOptional<z.ZodString>;
284
+ team: z.ZodOptional<z.ZodString>;
285
+ color: z.ZodOptional<z.ZodString>;
286
+ layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<["board", "list", "timeline", "calendar"]>>>;
287
+ is_template: z.ZodOptional<z.ZodBoolean>;
288
+ public: z.ZodOptional<z.ZodBoolean>;
289
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
290
+ }, "strip", z.ZodTypeAny, {
291
+ name: string;
292
+ operation: "create_project";
293
+ layout: "list" | "board" | "timeline" | "calendar";
294
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
295
+ color?: string | undefined;
296
+ public?: boolean | undefined;
297
+ notes?: string | undefined;
298
+ workspace?: string | undefined;
299
+ team?: string | undefined;
300
+ is_template?: boolean | undefined;
301
+ }, {
302
+ name: string;
303
+ operation: "create_project";
304
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
305
+ color?: string | undefined;
306
+ public?: boolean | undefined;
307
+ notes?: string | undefined;
308
+ workspace?: string | undefined;
309
+ team?: string | undefined;
310
+ layout?: "list" | "board" | "timeline" | "calendar" | undefined;
311
+ is_template?: boolean | undefined;
312
+ }>, z.ZodObject<{
313
+ operation: z.ZodLiteral<"update_project">;
314
+ project_gid: z.ZodString;
315
+ name: z.ZodOptional<z.ZodString>;
316
+ notes: z.ZodOptional<z.ZodString>;
317
+ color: z.ZodOptional<z.ZodString>;
318
+ archived: z.ZodOptional<z.ZodBoolean>;
319
+ public: z.ZodOptional<z.ZodBoolean>;
320
+ due_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
321
+ start_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
322
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
323
+ }, "strip", z.ZodTypeAny, {
324
+ operation: "update_project";
325
+ project_gid: string;
326
+ name?: string | undefined;
327
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
328
+ color?: string | undefined;
329
+ public?: boolean | undefined;
330
+ notes?: string | undefined;
331
+ archived?: boolean | undefined;
332
+ due_on?: string | null | undefined;
333
+ start_on?: string | null | undefined;
334
+ }, {
335
+ operation: "update_project";
336
+ project_gid: string;
337
+ name?: string | undefined;
338
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
339
+ color?: string | undefined;
340
+ public?: boolean | undefined;
341
+ notes?: string | undefined;
342
+ archived?: boolean | undefined;
343
+ due_on?: string | null | undefined;
344
+ start_on?: string | null | undefined;
345
+ }>, z.ZodObject<{
346
+ operation: z.ZodLiteral<"list_sections">;
347
+ project_gid: z.ZodString;
348
+ opt_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
349
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
350
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
351
+ }, "strip", z.ZodTypeAny, {
352
+ operation: "list_sections";
353
+ limit: number;
354
+ project_gid: string;
355
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
356
+ opt_fields?: string[] | undefined;
357
+ }, {
358
+ operation: "list_sections";
359
+ project_gid: string;
360
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
361
+ limit?: number | undefined;
362
+ opt_fields?: string[] | undefined;
363
+ }>, z.ZodObject<{
364
+ operation: z.ZodLiteral<"create_section">;
365
+ project_gid: z.ZodString;
366
+ name: z.ZodString;
367
+ insert_before: z.ZodOptional<z.ZodString>;
368
+ insert_after: z.ZodOptional<z.ZodString>;
369
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
370
+ }, "strip", z.ZodTypeAny, {
371
+ name: string;
372
+ operation: "create_section";
373
+ project_gid: string;
374
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
375
+ insert_before?: string | undefined;
376
+ insert_after?: string | undefined;
377
+ }, {
378
+ name: string;
379
+ operation: "create_section";
380
+ project_gid: string;
381
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
382
+ insert_before?: string | undefined;
383
+ insert_after?: string | undefined;
384
+ }>, z.ZodObject<{
385
+ operation: z.ZodLiteral<"add_comment">;
386
+ task_gid: z.ZodString;
387
+ text: z.ZodOptional<z.ZodString>;
388
+ html_text: z.ZodOptional<z.ZodString>;
389
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
390
+ }, "strip", z.ZodTypeAny, {
391
+ operation: "add_comment";
392
+ task_gid: string;
393
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
394
+ text?: string | undefined;
395
+ html_text?: string | undefined;
396
+ }, {
397
+ operation: "add_comment";
398
+ task_gid: string;
399
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
400
+ text?: string | undefined;
401
+ html_text?: string | undefined;
402
+ }>, z.ZodObject<{
403
+ operation: z.ZodLiteral<"get_task_stories">;
404
+ task_gid: z.ZodString;
405
+ opt_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
406
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
407
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
408
+ }, "strip", z.ZodTypeAny, {
409
+ operation: "get_task_stories";
410
+ limit: number;
411
+ task_gid: string;
412
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
413
+ opt_fields?: string[] | undefined;
414
+ }, {
415
+ operation: "get_task_stories";
416
+ task_gid: string;
417
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
418
+ limit?: number | undefined;
419
+ opt_fields?: string[] | undefined;
420
+ }>, z.ZodObject<{
421
+ operation: z.ZodLiteral<"list_users">;
422
+ workspace: z.ZodOptional<z.ZodString>;
423
+ opt_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
424
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
425
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
426
+ }, "strip", z.ZodTypeAny, {
427
+ operation: "list_users";
428
+ limit: number;
429
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
430
+ workspace?: string | undefined;
431
+ opt_fields?: string[] | undefined;
432
+ }, {
433
+ operation: "list_users";
434
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
435
+ limit?: number | undefined;
436
+ workspace?: string | undefined;
437
+ opt_fields?: string[] | undefined;
438
+ }>, z.ZodObject<{
439
+ operation: z.ZodLiteral<"get_user">;
440
+ user_gid: z.ZodString;
441
+ opt_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
442
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
443
+ }, "strip", z.ZodTypeAny, {
444
+ operation: "get_user";
445
+ user_gid: string;
446
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
447
+ opt_fields?: string[] | undefined;
448
+ }, {
449
+ operation: "get_user";
450
+ user_gid: string;
451
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
452
+ opt_fields?: string[] | undefined;
453
+ }>, z.ZodObject<{
454
+ operation: z.ZodLiteral<"list_teams">;
455
+ workspace: z.ZodOptional<z.ZodString>;
456
+ opt_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
457
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
458
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
459
+ }, "strip", z.ZodTypeAny, {
460
+ operation: "list_teams";
461
+ limit: number;
462
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
463
+ workspace?: string | undefined;
464
+ opt_fields?: string[] | undefined;
465
+ }, {
466
+ operation: "list_teams";
467
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
468
+ limit?: number | undefined;
469
+ workspace?: string | undefined;
470
+ opt_fields?: string[] | undefined;
471
+ }>, z.ZodObject<{
472
+ operation: z.ZodLiteral<"list_team_members">;
473
+ team_gid: z.ZodString;
474
+ opt_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
475
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
476
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
477
+ }, "strip", z.ZodTypeAny, {
478
+ operation: "list_team_members";
479
+ limit: number;
480
+ team_gid: string;
481
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
482
+ opt_fields?: string[] | undefined;
483
+ }, {
484
+ operation: "list_team_members";
485
+ team_gid: string;
486
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
487
+ limit?: number | undefined;
488
+ opt_fields?: string[] | undefined;
489
+ }>, z.ZodObject<{
490
+ operation: z.ZodLiteral<"list_tags">;
491
+ workspace: z.ZodOptional<z.ZodString>;
492
+ opt_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
493
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
494
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
495
+ }, "strip", z.ZodTypeAny, {
496
+ operation: "list_tags";
497
+ limit: number;
498
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
499
+ workspace?: string | undefined;
500
+ opt_fields?: string[] | undefined;
501
+ }, {
502
+ operation: "list_tags";
503
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
504
+ limit?: number | undefined;
505
+ workspace?: string | undefined;
506
+ opt_fields?: string[] | undefined;
507
+ }>, z.ZodObject<{
508
+ operation: z.ZodLiteral<"create_tag">;
509
+ name: z.ZodString;
510
+ workspace: z.ZodOptional<z.ZodString>;
511
+ color: z.ZodOptional<z.ZodString>;
512
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
513
+ }, "strip", z.ZodTypeAny, {
514
+ name: string;
515
+ operation: "create_tag";
516
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
517
+ color?: string | undefined;
518
+ workspace?: string | undefined;
519
+ }, {
520
+ name: string;
521
+ operation: "create_tag";
522
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
523
+ color?: string | undefined;
524
+ workspace?: string | undefined;
525
+ }>, z.ZodObject<{
526
+ operation: z.ZodLiteral<"add_tag_to_task">;
527
+ task_gid: z.ZodString;
528
+ tag_gid: z.ZodString;
529
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
530
+ }, "strip", z.ZodTypeAny, {
531
+ operation: "add_tag_to_task";
532
+ task_gid: string;
533
+ tag_gid: string;
534
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
535
+ }, {
536
+ operation: "add_tag_to_task";
537
+ task_gid: string;
538
+ tag_gid: string;
539
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
540
+ }>, z.ZodObject<{
541
+ operation: z.ZodLiteral<"remove_tag_from_task">;
542
+ task_gid: z.ZodString;
543
+ tag_gid: z.ZodString;
544
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
545
+ }, "strip", z.ZodTypeAny, {
546
+ operation: "remove_tag_from_task";
547
+ task_gid: string;
548
+ tag_gid: string;
549
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
550
+ }, {
551
+ operation: "remove_tag_from_task";
552
+ task_gid: string;
553
+ tag_gid: string;
554
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
555
+ }>, z.ZodObject<{
556
+ operation: z.ZodLiteral<"list_workspaces">;
557
+ opt_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
558
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
559
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
560
+ }, "strip", z.ZodTypeAny, {
561
+ operation: "list_workspaces";
562
+ limit: number;
563
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
564
+ opt_fields?: string[] | undefined;
565
+ }, {
566
+ operation: "list_workspaces";
567
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
568
+ limit?: number | undefined;
569
+ opt_fields?: string[] | undefined;
570
+ }>, z.ZodObject<{
571
+ operation: z.ZodLiteral<"list_custom_fields">;
572
+ project_gid: z.ZodString;
573
+ opt_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
574
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
575
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
576
+ }, "strip", z.ZodTypeAny, {
577
+ operation: "list_custom_fields";
578
+ limit: number;
579
+ project_gid: string;
580
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
581
+ opt_fields?: string[] | undefined;
582
+ }, {
583
+ operation: "list_custom_fields";
584
+ project_gid: string;
585
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
586
+ limit?: number | undefined;
587
+ opt_fields?: string[] | undefined;
588
+ }>, z.ZodObject<{
589
+ operation: z.ZodLiteral<"list_attachments">;
590
+ task_gid: z.ZodString;
591
+ opt_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
592
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
593
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
594
+ }, "strip", z.ZodTypeAny, {
595
+ operation: "list_attachments";
596
+ limit: number;
597
+ task_gid: string;
598
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
599
+ opt_fields?: string[] | undefined;
600
+ }, {
601
+ operation: "list_attachments";
602
+ task_gid: string;
603
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
604
+ limit?: number | undefined;
605
+ opt_fields?: string[] | undefined;
606
+ }>, z.ZodObject<{
607
+ operation: z.ZodLiteral<"list_subtasks">;
608
+ task_gid: z.ZodString;
609
+ opt_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
610
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
611
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
612
+ }, "strip", z.ZodTypeAny, {
613
+ operation: "list_subtasks";
614
+ limit: number;
615
+ task_gid: string;
616
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
617
+ opt_fields?: string[] | undefined;
618
+ }, {
619
+ operation: "list_subtasks";
620
+ task_gid: string;
621
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
622
+ limit?: number | undefined;
623
+ opt_fields?: string[] | undefined;
624
+ }>, z.ZodObject<{
625
+ operation: z.ZodLiteral<"add_task_to_project">;
626
+ task_gid: z.ZodString;
627
+ project_gid: z.ZodString;
628
+ section_gid: z.ZodOptional<z.ZodString>;
629
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
630
+ }, "strip", z.ZodTypeAny, {
631
+ operation: "add_task_to_project";
632
+ task_gid: string;
633
+ project_gid: string;
634
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
635
+ section_gid?: string | undefined;
636
+ }, {
637
+ operation: "add_task_to_project";
638
+ task_gid: string;
639
+ project_gid: string;
640
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
641
+ section_gid?: string | undefined;
642
+ }>, z.ZodObject<{
643
+ operation: z.ZodLiteral<"remove_task_from_project">;
644
+ task_gid: z.ZodString;
645
+ project_gid: z.ZodString;
646
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
647
+ }, "strip", z.ZodTypeAny, {
648
+ operation: "remove_task_from_project";
649
+ task_gid: string;
650
+ project_gid: string;
651
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
652
+ }, {
653
+ operation: "remove_task_from_project";
654
+ task_gid: string;
655
+ project_gid: string;
656
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
657
+ }>, z.ZodObject<{
658
+ operation: z.ZodLiteral<"update_section">;
659
+ section_gid: z.ZodString;
660
+ name: z.ZodOptional<z.ZodString>;
661
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
662
+ }, "strip", z.ZodTypeAny, {
663
+ operation: "update_section";
664
+ section_gid: string;
665
+ name?: string | undefined;
666
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
667
+ }, {
668
+ operation: "update_section";
669
+ section_gid: string;
670
+ name?: string | undefined;
671
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
672
+ }>, z.ZodObject<{
673
+ operation: z.ZodLiteral<"delete_section">;
674
+ section_gid: z.ZodString;
675
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
676
+ }, "strip", z.ZodTypeAny, {
677
+ operation: "delete_section";
678
+ section_gid: string;
679
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
680
+ }, {
681
+ operation: "delete_section";
682
+ section_gid: string;
683
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
684
+ }>, z.ZodObject<{
685
+ operation: z.ZodLiteral<"delete_project">;
686
+ project_gid: z.ZodString;
687
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
688
+ }, "strip", z.ZodTypeAny, {
689
+ operation: "delete_project";
690
+ project_gid: string;
691
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
692
+ }, {
693
+ operation: "delete_project";
694
+ project_gid: string;
695
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
696
+ }>]>;
697
+ export declare const AsanaResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
698
+ operation: z.ZodLiteral<"list_tasks">;
699
+ success: z.ZodBoolean;
700
+ tasks: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
701
+ error: z.ZodString;
702
+ }, "strip", z.ZodTypeAny, {
703
+ error: string;
704
+ success: boolean;
705
+ operation: "list_tasks";
706
+ tasks?: Record<string, unknown>[] | undefined;
707
+ }, {
708
+ error: string;
709
+ success: boolean;
710
+ operation: "list_tasks";
711
+ tasks?: Record<string, unknown>[] | undefined;
712
+ }>, z.ZodObject<{
713
+ operation: z.ZodLiteral<"get_task">;
714
+ success: z.ZodBoolean;
715
+ task: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
716
+ error: z.ZodString;
717
+ }, "strip", z.ZodTypeAny, {
718
+ error: string;
719
+ success: boolean;
720
+ operation: "get_task";
721
+ task?: Record<string, unknown> | undefined;
722
+ }, {
723
+ error: string;
724
+ success: boolean;
725
+ operation: "get_task";
726
+ task?: Record<string, unknown> | undefined;
727
+ }>, z.ZodObject<{
728
+ operation: z.ZodLiteral<"create_task">;
729
+ success: z.ZodBoolean;
730
+ task: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
731
+ error: z.ZodString;
732
+ }, "strip", z.ZodTypeAny, {
733
+ error: string;
734
+ success: boolean;
735
+ operation: "create_task";
736
+ task?: Record<string, unknown> | undefined;
737
+ }, {
738
+ error: string;
739
+ success: boolean;
740
+ operation: "create_task";
741
+ task?: Record<string, unknown> | undefined;
742
+ }>, z.ZodObject<{
743
+ operation: z.ZodLiteral<"update_task">;
744
+ success: z.ZodBoolean;
745
+ task: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
746
+ error: z.ZodString;
747
+ }, "strip", z.ZodTypeAny, {
748
+ error: string;
749
+ success: boolean;
750
+ operation: "update_task";
751
+ task?: Record<string, unknown> | undefined;
752
+ }, {
753
+ error: string;
754
+ success: boolean;
755
+ operation: "update_task";
756
+ task?: Record<string, unknown> | undefined;
757
+ }>, z.ZodObject<{
758
+ operation: z.ZodLiteral<"delete_task">;
759
+ success: z.ZodBoolean;
760
+ error: z.ZodString;
761
+ }, "strip", z.ZodTypeAny, {
762
+ error: string;
763
+ success: boolean;
764
+ operation: "delete_task";
765
+ }, {
766
+ error: string;
767
+ success: boolean;
768
+ operation: "delete_task";
769
+ }>, z.ZodObject<{
770
+ operation: z.ZodLiteral<"search_tasks">;
771
+ success: z.ZodBoolean;
772
+ tasks: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
773
+ error: z.ZodString;
774
+ }, "strip", z.ZodTypeAny, {
775
+ error: string;
776
+ success: boolean;
777
+ operation: "search_tasks";
778
+ tasks?: Record<string, unknown>[] | undefined;
779
+ }, {
780
+ error: string;
781
+ success: boolean;
782
+ operation: "search_tasks";
783
+ tasks?: Record<string, unknown>[] | undefined;
784
+ }>, z.ZodObject<{
785
+ operation: z.ZodLiteral<"add_task_to_section">;
786
+ success: z.ZodBoolean;
787
+ error: z.ZodString;
788
+ }, "strip", z.ZodTypeAny, {
789
+ error: string;
790
+ success: boolean;
791
+ operation: "add_task_to_section";
792
+ }, {
793
+ error: string;
794
+ success: boolean;
795
+ operation: "add_task_to_section";
796
+ }>, z.ZodObject<{
797
+ operation: z.ZodLiteral<"set_dependencies">;
798
+ success: z.ZodBoolean;
799
+ error: z.ZodString;
800
+ }, "strip", z.ZodTypeAny, {
801
+ error: string;
802
+ success: boolean;
803
+ operation: "set_dependencies";
804
+ }, {
805
+ error: string;
806
+ success: boolean;
807
+ operation: "set_dependencies";
808
+ }>, z.ZodObject<{
809
+ operation: z.ZodLiteral<"list_projects">;
810
+ success: z.ZodBoolean;
811
+ projects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
812
+ error: z.ZodString;
813
+ }, "strip", z.ZodTypeAny, {
814
+ error: string;
815
+ success: boolean;
816
+ operation: "list_projects";
817
+ projects?: Record<string, unknown>[] | undefined;
818
+ }, {
819
+ error: string;
820
+ success: boolean;
821
+ operation: "list_projects";
822
+ projects?: Record<string, unknown>[] | undefined;
823
+ }>, z.ZodObject<{
824
+ operation: z.ZodLiteral<"get_project">;
825
+ success: z.ZodBoolean;
826
+ project: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
827
+ error: z.ZodString;
828
+ }, "strip", z.ZodTypeAny, {
829
+ error: string;
830
+ success: boolean;
831
+ operation: "get_project";
832
+ project?: Record<string, unknown> | undefined;
833
+ }, {
834
+ error: string;
835
+ success: boolean;
836
+ operation: "get_project";
837
+ project?: Record<string, unknown> | undefined;
838
+ }>, z.ZodObject<{
839
+ operation: z.ZodLiteral<"create_project">;
840
+ success: z.ZodBoolean;
841
+ project: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
842
+ error: z.ZodString;
843
+ }, "strip", z.ZodTypeAny, {
844
+ error: string;
845
+ success: boolean;
846
+ operation: "create_project";
847
+ project?: Record<string, unknown> | undefined;
848
+ }, {
849
+ error: string;
850
+ success: boolean;
851
+ operation: "create_project";
852
+ project?: Record<string, unknown> | undefined;
853
+ }>, z.ZodObject<{
854
+ operation: z.ZodLiteral<"update_project">;
855
+ success: z.ZodBoolean;
856
+ project: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
857
+ error: z.ZodString;
858
+ }, "strip", z.ZodTypeAny, {
859
+ error: string;
860
+ success: boolean;
861
+ operation: "update_project";
862
+ project?: Record<string, unknown> | undefined;
863
+ }, {
864
+ error: string;
865
+ success: boolean;
866
+ operation: "update_project";
867
+ project?: Record<string, unknown> | undefined;
868
+ }>, z.ZodObject<{
869
+ operation: z.ZodLiteral<"list_sections">;
870
+ success: z.ZodBoolean;
871
+ sections: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
872
+ error: z.ZodString;
873
+ }, "strip", z.ZodTypeAny, {
874
+ error: string;
875
+ success: boolean;
876
+ operation: "list_sections";
877
+ sections?: Record<string, unknown>[] | undefined;
878
+ }, {
879
+ error: string;
880
+ success: boolean;
881
+ operation: "list_sections";
882
+ sections?: Record<string, unknown>[] | undefined;
883
+ }>, z.ZodObject<{
884
+ operation: z.ZodLiteral<"create_section">;
885
+ success: z.ZodBoolean;
886
+ section: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
887
+ error: z.ZodString;
888
+ }, "strip", z.ZodTypeAny, {
889
+ error: string;
890
+ success: boolean;
891
+ operation: "create_section";
892
+ section?: Record<string, unknown> | undefined;
893
+ }, {
894
+ error: string;
895
+ success: boolean;
896
+ operation: "create_section";
897
+ section?: Record<string, unknown> | undefined;
898
+ }>, z.ZodObject<{
899
+ operation: z.ZodLiteral<"add_comment">;
900
+ success: z.ZodBoolean;
901
+ story: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
902
+ error: z.ZodString;
903
+ }, "strip", z.ZodTypeAny, {
904
+ error: string;
905
+ success: boolean;
906
+ operation: "add_comment";
907
+ story?: Record<string, unknown> | undefined;
908
+ }, {
909
+ error: string;
910
+ success: boolean;
911
+ operation: "add_comment";
912
+ story?: Record<string, unknown> | undefined;
913
+ }>, z.ZodObject<{
914
+ operation: z.ZodLiteral<"get_task_stories">;
915
+ success: z.ZodBoolean;
916
+ stories: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
917
+ error: z.ZodString;
918
+ }, "strip", z.ZodTypeAny, {
919
+ error: string;
920
+ success: boolean;
921
+ operation: "get_task_stories";
922
+ stories?: Record<string, unknown>[] | undefined;
923
+ }, {
924
+ error: string;
925
+ success: boolean;
926
+ operation: "get_task_stories";
927
+ stories?: Record<string, unknown>[] | undefined;
928
+ }>, z.ZodObject<{
929
+ operation: z.ZodLiteral<"list_users">;
930
+ success: z.ZodBoolean;
931
+ users: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
932
+ error: z.ZodString;
933
+ }, "strip", z.ZodTypeAny, {
934
+ error: string;
935
+ success: boolean;
936
+ operation: "list_users";
937
+ users?: Record<string, unknown>[] | undefined;
938
+ }, {
939
+ error: string;
940
+ success: boolean;
941
+ operation: "list_users";
942
+ users?: Record<string, unknown>[] | undefined;
943
+ }>, z.ZodObject<{
944
+ operation: z.ZodLiteral<"get_user">;
945
+ success: z.ZodBoolean;
946
+ user: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
947
+ error: z.ZodString;
948
+ }, "strip", z.ZodTypeAny, {
949
+ error: string;
950
+ success: boolean;
951
+ operation: "get_user";
952
+ user?: Record<string, unknown> | undefined;
953
+ }, {
954
+ error: string;
955
+ success: boolean;
956
+ operation: "get_user";
957
+ user?: Record<string, unknown> | undefined;
958
+ }>, z.ZodObject<{
959
+ operation: z.ZodLiteral<"list_teams">;
960
+ success: z.ZodBoolean;
961
+ teams: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
962
+ error: z.ZodString;
963
+ }, "strip", z.ZodTypeAny, {
964
+ error: string;
965
+ success: boolean;
966
+ operation: "list_teams";
967
+ teams?: Record<string, unknown>[] | undefined;
968
+ }, {
969
+ error: string;
970
+ success: boolean;
971
+ operation: "list_teams";
972
+ teams?: Record<string, unknown>[] | undefined;
973
+ }>, z.ZodObject<{
974
+ operation: z.ZodLiteral<"list_team_members">;
975
+ success: z.ZodBoolean;
976
+ users: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
977
+ error: z.ZodString;
978
+ }, "strip", z.ZodTypeAny, {
979
+ error: string;
980
+ success: boolean;
981
+ operation: "list_team_members";
982
+ users?: Record<string, unknown>[] | undefined;
983
+ }, {
984
+ error: string;
985
+ success: boolean;
986
+ operation: "list_team_members";
987
+ users?: Record<string, unknown>[] | undefined;
988
+ }>, z.ZodObject<{
989
+ operation: z.ZodLiteral<"list_tags">;
990
+ success: z.ZodBoolean;
991
+ tags: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
992
+ error: z.ZodString;
993
+ }, "strip", z.ZodTypeAny, {
994
+ error: string;
995
+ success: boolean;
996
+ operation: "list_tags";
997
+ tags?: Record<string, unknown>[] | undefined;
998
+ }, {
999
+ error: string;
1000
+ success: boolean;
1001
+ operation: "list_tags";
1002
+ tags?: Record<string, unknown>[] | undefined;
1003
+ }>, z.ZodObject<{
1004
+ operation: z.ZodLiteral<"create_tag">;
1005
+ success: z.ZodBoolean;
1006
+ tag: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1007
+ error: z.ZodString;
1008
+ }, "strip", z.ZodTypeAny, {
1009
+ error: string;
1010
+ success: boolean;
1011
+ operation: "create_tag";
1012
+ tag?: Record<string, unknown> | undefined;
1013
+ }, {
1014
+ error: string;
1015
+ success: boolean;
1016
+ operation: "create_tag";
1017
+ tag?: Record<string, unknown> | undefined;
1018
+ }>, z.ZodObject<{
1019
+ operation: z.ZodLiteral<"add_tag_to_task">;
1020
+ success: z.ZodBoolean;
1021
+ error: z.ZodString;
1022
+ }, "strip", z.ZodTypeAny, {
1023
+ error: string;
1024
+ success: boolean;
1025
+ operation: "add_tag_to_task";
1026
+ }, {
1027
+ error: string;
1028
+ success: boolean;
1029
+ operation: "add_tag_to_task";
1030
+ }>, z.ZodObject<{
1031
+ operation: z.ZodLiteral<"remove_tag_from_task">;
1032
+ success: z.ZodBoolean;
1033
+ error: z.ZodString;
1034
+ }, "strip", z.ZodTypeAny, {
1035
+ error: string;
1036
+ success: boolean;
1037
+ operation: "remove_tag_from_task";
1038
+ }, {
1039
+ error: string;
1040
+ success: boolean;
1041
+ operation: "remove_tag_from_task";
1042
+ }>, z.ZodObject<{
1043
+ operation: z.ZodLiteral<"list_workspaces">;
1044
+ success: z.ZodBoolean;
1045
+ workspaces: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
1046
+ error: z.ZodString;
1047
+ }, "strip", z.ZodTypeAny, {
1048
+ error: string;
1049
+ success: boolean;
1050
+ operation: "list_workspaces";
1051
+ workspaces?: Record<string, unknown>[] | undefined;
1052
+ }, {
1053
+ error: string;
1054
+ success: boolean;
1055
+ operation: "list_workspaces";
1056
+ workspaces?: Record<string, unknown>[] | undefined;
1057
+ }>, z.ZodObject<{
1058
+ operation: z.ZodLiteral<"list_custom_fields">;
1059
+ success: z.ZodBoolean;
1060
+ custom_fields: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
1061
+ error: z.ZodString;
1062
+ }, "strip", z.ZodTypeAny, {
1063
+ error: string;
1064
+ success: boolean;
1065
+ operation: "list_custom_fields";
1066
+ custom_fields?: Record<string, unknown>[] | undefined;
1067
+ }, {
1068
+ error: string;
1069
+ success: boolean;
1070
+ operation: "list_custom_fields";
1071
+ custom_fields?: Record<string, unknown>[] | undefined;
1072
+ }>, z.ZodObject<{
1073
+ operation: z.ZodLiteral<"list_attachments">;
1074
+ success: z.ZodBoolean;
1075
+ attachments: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
1076
+ error: z.ZodString;
1077
+ }, "strip", z.ZodTypeAny, {
1078
+ error: string;
1079
+ success: boolean;
1080
+ operation: "list_attachments";
1081
+ attachments?: Record<string, unknown>[] | undefined;
1082
+ }, {
1083
+ error: string;
1084
+ success: boolean;
1085
+ operation: "list_attachments";
1086
+ attachments?: Record<string, unknown>[] | undefined;
1087
+ }>, z.ZodObject<{
1088
+ operation: z.ZodLiteral<"list_subtasks">;
1089
+ success: z.ZodBoolean;
1090
+ tasks: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
1091
+ error: z.ZodString;
1092
+ }, "strip", z.ZodTypeAny, {
1093
+ error: string;
1094
+ success: boolean;
1095
+ operation: "list_subtasks";
1096
+ tasks?: Record<string, unknown>[] | undefined;
1097
+ }, {
1098
+ error: string;
1099
+ success: boolean;
1100
+ operation: "list_subtasks";
1101
+ tasks?: Record<string, unknown>[] | undefined;
1102
+ }>, z.ZodObject<{
1103
+ operation: z.ZodLiteral<"add_task_to_project">;
1104
+ success: z.ZodBoolean;
1105
+ error: z.ZodString;
1106
+ }, "strip", z.ZodTypeAny, {
1107
+ error: string;
1108
+ success: boolean;
1109
+ operation: "add_task_to_project";
1110
+ }, {
1111
+ error: string;
1112
+ success: boolean;
1113
+ operation: "add_task_to_project";
1114
+ }>, z.ZodObject<{
1115
+ operation: z.ZodLiteral<"remove_task_from_project">;
1116
+ success: z.ZodBoolean;
1117
+ error: z.ZodString;
1118
+ }, "strip", z.ZodTypeAny, {
1119
+ error: string;
1120
+ success: boolean;
1121
+ operation: "remove_task_from_project";
1122
+ }, {
1123
+ error: string;
1124
+ success: boolean;
1125
+ operation: "remove_task_from_project";
1126
+ }>, z.ZodObject<{
1127
+ operation: z.ZodLiteral<"update_section">;
1128
+ success: z.ZodBoolean;
1129
+ section: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1130
+ error: z.ZodString;
1131
+ }, "strip", z.ZodTypeAny, {
1132
+ error: string;
1133
+ success: boolean;
1134
+ operation: "update_section";
1135
+ section?: Record<string, unknown> | undefined;
1136
+ }, {
1137
+ error: string;
1138
+ success: boolean;
1139
+ operation: "update_section";
1140
+ section?: Record<string, unknown> | undefined;
1141
+ }>, z.ZodObject<{
1142
+ operation: z.ZodLiteral<"delete_section">;
1143
+ success: z.ZodBoolean;
1144
+ error: z.ZodString;
1145
+ }, "strip", z.ZodTypeAny, {
1146
+ error: string;
1147
+ success: boolean;
1148
+ operation: "delete_section";
1149
+ }, {
1150
+ error: string;
1151
+ success: boolean;
1152
+ operation: "delete_section";
1153
+ }>, z.ZodObject<{
1154
+ operation: z.ZodLiteral<"delete_project">;
1155
+ success: z.ZodBoolean;
1156
+ error: z.ZodString;
1157
+ }, "strip", z.ZodTypeAny, {
1158
+ error: string;
1159
+ success: boolean;
1160
+ operation: "delete_project";
1161
+ }, {
1162
+ error: string;
1163
+ success: boolean;
1164
+ operation: "delete_project";
1165
+ }>]>;
1166
+ export type AsanaParams = z.output<typeof AsanaParamsSchema>;
1167
+ export type AsanaParamsInput = z.input<typeof AsanaParamsSchema>;
1168
+ export type AsanaResult = z.output<typeof AsanaResultSchema>;
1169
+ //# sourceMappingURL=asana.schema.d.ts.map