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