@mondaydotcomorg/agent-toolkit 1.0.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,6 +36,26 @@ declare abstract class BaseMondayApiTool<Input extends ZodRawShape | undefined,
36
36
  abstract execute(input?: ToolInputType<Input>): Promise<ToolOutputType<Output>>;
37
37
  }
38
38
 
39
+ declare const getBoardSchemaToolSchema: {
40
+ boardId: z.ZodNumber;
41
+ };
42
+ declare class GetBoardSchemaTool extends BaseMondayApiTool<typeof getBoardSchemaToolSchema | undefined> {
43
+ name: string;
44
+ type: ToolType;
45
+ getDescription(): string;
46
+ getInputSchema(): typeof getBoardSchemaToolSchema | undefined;
47
+ execute(input: ToolInputType<typeof getBoardSchemaToolSchema | undefined>): Promise<ToolOutputType<never>>;
48
+ }
49
+
50
+ declare const fetchCustomActivityToolSchema: {};
51
+ declare class FetchCustomActivityTool extends BaseMondayApiTool<typeof fetchCustomActivityToolSchema> {
52
+ name: string;
53
+ type: ToolType;
54
+ getDescription(): string;
55
+ getInputSchema(): typeof fetchCustomActivityToolSchema;
56
+ execute(input: ToolInputType<typeof fetchCustomActivityToolSchema>): Promise<ToolOutputType<never>>;
57
+ }
58
+
39
59
  declare const deleteItemToolSchema: {
40
60
  itemId: z.ZodNumber;
41
61
  };
@@ -83,15 +103,16 @@ declare class CreateItemTool extends BaseMondayApiTool<CreateItemToolInput> {
83
103
  execute(input: ToolInputType<CreateItemToolInput>): Promise<ToolOutputType<never>>;
84
104
  }
85
105
 
86
- declare const getBoardSchemaToolSchema: {
87
- boardId: z.ZodNumber;
106
+ declare const createUpdateToolSchema: {
107
+ itemId: z.ZodNumber;
108
+ body: z.ZodString;
88
109
  };
89
- declare class GetBoardSchemaTool extends BaseMondayApiTool<typeof getBoardSchemaToolSchema | undefined> {
110
+ declare class CreateUpdateTool extends BaseMondayApiTool<typeof createUpdateToolSchema> {
90
111
  name: string;
91
112
  type: ToolType;
92
113
  getDescription(): string;
93
- getInputSchema(): typeof getBoardSchemaToolSchema | undefined;
94
- execute(input: ToolInputType<typeof getBoardSchemaToolSchema | undefined>): Promise<ToolOutputType<never>>;
114
+ getInputSchema(): typeof createUpdateToolSchema;
115
+ execute(input: ToolInputType<typeof createUpdateToolSchema>): Promise<ToolOutputType<never>>;
95
116
  }
96
117
 
97
118
  declare const getUsersToolSchema: {
@@ -105,6 +126,36 @@ declare class GetUsersTool extends BaseMondayApiTool<typeof getUsersToolSchema>
105
126
  execute(input: ToolInputType<typeof getUsersToolSchema>): Promise<ToolOutputType<never>>;
106
127
  }
107
128
 
129
+ declare const changeItemColumnValuesToolSchema: {
130
+ itemId: z.ZodNumber;
131
+ columnValues: z.ZodString;
132
+ };
133
+ declare const changeItemColumnValuesInBoardToolSchema: {
134
+ itemId: z.ZodNumber;
135
+ columnValues: z.ZodString;
136
+ boardId: z.ZodNumber;
137
+ };
138
+ type ChangeItemColumnValuesToolInput = typeof changeItemColumnValuesToolSchema | typeof changeItemColumnValuesInBoardToolSchema;
139
+ declare class ChangeItemColumnValuesTool extends BaseMondayApiTool<ChangeItemColumnValuesToolInput> {
140
+ name: string;
141
+ type: ToolType;
142
+ getDescription(): string;
143
+ getInputSchema(): ChangeItemColumnValuesToolInput;
144
+ execute(input: ToolInputType<ChangeItemColumnValuesToolInput>): Promise<ToolOutputType<never>>;
145
+ }
146
+
147
+ declare const moveItemToGroupToolSchema: {
148
+ itemId: z.ZodNumber;
149
+ groupId: z.ZodString;
150
+ };
151
+ declare class MoveItemToGroupTool extends BaseMondayApiTool<typeof moveItemToGroupToolSchema> {
152
+ name: string;
153
+ type: ToolType;
154
+ getDescription(): string;
155
+ getInputSchema(): typeof moveItemToGroupToolSchema;
156
+ execute(input: ToolInputType<typeof moveItemToGroupToolSchema>): Promise<ToolOutputType<never>>;
157
+ }
158
+
108
159
  /** The board kinds available. */
109
160
  declare enum BoardKind {
110
161
  /** Private boards. */
@@ -185,7 +236,7 @@ declare enum ColumnType {
185
236
  Subtasks = "subtasks",
186
237
  /** Add tags to categorize items across multiple boards */
187
238
  Tags = "tags",
188
- /** Assign a full team to an item */
239
+ /** Assign a full team to an item */
189
240
  Team = "team",
190
241
  /** Add textual information e.g. addresses, names or keywords */
191
242
  Text = "text",
@@ -202,6 +253,43 @@ declare enum ColumnType {
202
253
  /** Keep track of the time anywhere in the world */
203
254
  WorldClock = "world_clock"
204
255
  }
256
+ declare enum CustomActivityColor {
257
+ BrinkPink = "BRINK_PINK",
258
+ CelticBlue = "CELTIC_BLUE",
259
+ CornflowerBlue = "CORNFLOWER_BLUE",
260
+ DingyDungeon = "DINGY_DUNGEON",
261
+ GoGreen = "GO_GREEN",
262
+ Gray = "GRAY",
263
+ LightDeepPink = "LIGHT_DEEP_PINK",
264
+ LightHotPink = "LIGHT_HOT_PINK",
265
+ MayaBlue = "MAYA_BLUE",
266
+ MediumTurquoise = "MEDIUM_TURQUOISE",
267
+ ParadisePink = "PARADISE_PINK",
268
+ PhilippineGreen = "PHILIPPINE_GREEN",
269
+ PhilippineYellow = "PHILIPPINE_YELLOW",
270
+ SlateBlue = "SLATE_BLUE",
271
+ VividCerulean = "VIVID_CERULEAN",
272
+ YankeesBlue = "YANKEES_BLUE",
273
+ YellowGreen = "YELLOW_GREEN",
274
+ YellowOrange = "YELLOW_ORANGE"
275
+ }
276
+ declare enum CustomActivityIcon {
277
+ Ascending = "ASCENDING",
278
+ Camera = "CAMERA",
279
+ Conference = "CONFERENCE",
280
+ Flag = "FLAG",
281
+ Gift = "GIFT",
282
+ Headphones = "HEADPHONES",
283
+ Homekeys = "HOMEKEYS",
284
+ Location = "LOCATION",
285
+ Notebook = "NOTEBOOK",
286
+ Paperplane = "PAPERPLANE",
287
+ Plane = "PLANE",
288
+ Pliers = "PLIERS",
289
+ Tripod = "TRIPOD",
290
+ Twoflags = "TWOFLAGS",
291
+ Utencils = "UTENCILS"
292
+ }
205
293
 
206
294
  declare const createBoardToolSchema: {
207
295
  boardName: z.ZodString;
@@ -268,67 +356,59 @@ declare class AllMondayApiTool extends BaseMondayApiTool<typeof allMondayApiTool
268
356
  execute(input: ToolInputType<typeof allMondayApiToolSchema>): Promise<ToolOutputType<never>>;
269
357
  }
270
358
 
271
- declare const getTypeDetailsToolSchema: {
272
- typeName: z.ZodString;
273
- };
274
- declare class GetTypeDetailsTool extends BaseMondayApiTool<typeof getTypeDetailsToolSchema> {
359
+ declare class GetGraphQLSchemaTool extends BaseMondayApiTool<undefined> {
275
360
  name: string;
276
361
  type: ToolType;
277
362
  getDescription(): string;
278
- getInputSchema(): typeof getTypeDetailsToolSchema;
279
- execute(input: ToolInputType<typeof getTypeDetailsToolSchema>): Promise<ToolOutputType<never>>;
363
+ getInputSchema(): undefined;
364
+ execute(): Promise<ToolOutputType<never>>;
280
365
  }
281
366
 
282
- declare const createUpdateToolSchema: {
283
- itemId: z.ZodNumber;
284
- body: z.ZodString;
367
+ declare const getTypeDetailsToolSchema: {
368
+ typeName: z.ZodString;
285
369
  };
286
- declare class CreateUpdateTool extends BaseMondayApiTool<typeof createUpdateToolSchema> {
370
+ declare class GetTypeDetailsTool extends BaseMondayApiTool<typeof getTypeDetailsToolSchema> {
287
371
  name: string;
288
372
  type: ToolType;
289
373
  getDescription(): string;
290
- getInputSchema(): typeof createUpdateToolSchema;
291
- execute(input: ToolInputType<typeof createUpdateToolSchema>): Promise<ToolOutputType<never>>;
374
+ getInputSchema(): typeof getTypeDetailsToolSchema;
375
+ execute(input: ToolInputType<typeof getTypeDetailsToolSchema>): Promise<ToolOutputType<never>>;
292
376
  }
293
377
 
294
- declare const changeItemColumnValuesToolSchema: {
295
- itemId: z.ZodNumber;
296
- columnValues: z.ZodString;
297
- };
298
- declare const changeItemColumnValuesInBoardToolSchema: {
299
- itemId: z.ZodNumber;
300
- columnValues: z.ZodString;
301
- boardId: z.ZodNumber;
378
+ declare const createCustomActivityToolSchema: {
379
+ color: z.ZodNativeEnum<typeof CustomActivityColor>;
380
+ icon_id: z.ZodNativeEnum<typeof CustomActivityIcon>;
381
+ name: z.ZodString;
302
382
  };
303
- type ChangeItemColumnValuesToolInput = typeof changeItemColumnValuesToolSchema | typeof changeItemColumnValuesInBoardToolSchema;
304
- declare class ChangeItemColumnValuesTool extends BaseMondayApiTool<ChangeItemColumnValuesToolInput> {
383
+ declare class CreateCustomActivityTool extends BaseMondayApiTool<typeof createCustomActivityToolSchema> {
305
384
  name: string;
306
385
  type: ToolType;
307
386
  getDescription(): string;
308
- getInputSchema(): ChangeItemColumnValuesToolInput;
309
- execute(input: ToolInputType<ChangeItemColumnValuesToolInput>): Promise<ToolOutputType<never>>;
387
+ getInputSchema(): typeof createCustomActivityToolSchema;
388
+ execute(input: ToolInputType<typeof createCustomActivityToolSchema>): Promise<ToolOutputType<never>>;
310
389
  }
311
390
 
312
- declare const moveItemToGroupToolSchema: {
313
- itemId: z.ZodNumber;
314
- groupId: z.ZodString;
391
+ declare const createTimelineItemToolSchema: {
392
+ item_id: z.ZodNumber;
393
+ custom_activity_id: z.ZodString;
394
+ title: z.ZodString;
395
+ summary: z.ZodOptional<z.ZodString>;
396
+ content: z.ZodOptional<z.ZodString>;
397
+ timestamp: z.ZodString;
398
+ start_timestamp: z.ZodOptional<z.ZodString>;
399
+ end_timestamp: z.ZodOptional<z.ZodString>;
400
+ location: z.ZodOptional<z.ZodString>;
401
+ phone: z.ZodOptional<z.ZodString>;
402
+ url: z.ZodOptional<z.ZodString>;
315
403
  };
316
- declare class MoveItemToGroupTool extends BaseMondayApiTool<typeof moveItemToGroupToolSchema> {
404
+ declare class CreateTimelineItemTool extends BaseMondayApiTool<typeof createTimelineItemToolSchema> {
317
405
  name: string;
318
406
  type: ToolType;
319
407
  getDescription(): string;
320
- getInputSchema(): typeof moveItemToGroupToolSchema;
321
- execute(input: ToolInputType<typeof moveItemToGroupToolSchema>): Promise<ToolOutputType<never>>;
322
- }
323
-
324
- declare class GetGraphQLSchemaTool extends BaseMondayApiTool<undefined> {
325
- name: string;
326
- type: ToolType;
327
- getDescription(): string;
328
- getInputSchema(): undefined;
329
- execute(): Promise<ToolOutputType<never>>;
408
+ getInputSchema(): typeof createTimelineItemToolSchema;
409
+ execute(input: ToolInputType<typeof createTimelineItemToolSchema>): Promise<ToolOutputType<never>>;
330
410
  }
331
411
 
332
- declare const allTools: (typeof DeleteItemTool | typeof GetBoardItemsTool | typeof CreateItemTool | typeof GetBoardSchemaTool | typeof GetUsersTool | typeof CreateBoardTool | typeof CreateColumnTool | typeof DeleteColumnTool | typeof AllMondayApiTool | typeof GetTypeDetailsTool)[];
412
+ declare const allTools: (typeof GetBoardSchemaTool | typeof FetchCustomActivityTool)[];
333
413
 
334
- export { AllMondayApiTool, ChangeItemColumnValuesTool, ChangeItemColumnValuesToolInput, CreateBoardTool, CreateColumnTool, CreateColumnToolInput, CreateItemTool, CreateItemToolInput, CreateUpdateTool, DeleteColumnTool, DeleteColumnToolInput, DeleteItemTool, Executable, GetBoardItemsTool, GetBoardSchemaTool, GetGraphQLSchemaTool, GetItemsToolInput, GetTypeDetailsTool, GetUsersTool, MoveItemToGroupTool, Tool, ToolInputType, ToolOutputType, ToolType, allMondayApiToolSchema, allTools, changeItemColumnValuesInBoardToolSchema, changeItemColumnValuesToolSchema, createBoardToolSchema, createColumnInBoardToolSchema, createColumnToolSchema, createItemInBoardToolSchema, createItemToolSchema, createUpdateToolSchema, deleteColumnInBoardToolSchema, deleteColumnToolSchema, deleteItemToolSchema, getBoardSchemaToolSchema, getItemsInBoardToolSchema, getItemsToolSchema, getTypeDetailsToolSchema, getUsersToolSchema, moveItemToGroupToolSchema };
414
+ export { AllMondayApiTool, ChangeItemColumnValuesTool, ChangeItemColumnValuesToolInput, CreateBoardTool, CreateColumnTool, CreateColumnToolInput, CreateCustomActivityTool, CreateItemTool, CreateItemToolInput, CreateTimelineItemTool, CreateUpdateTool, DeleteColumnTool, DeleteColumnToolInput, DeleteItemTool, Executable, FetchCustomActivityTool, GetBoardItemsTool, GetBoardSchemaTool, GetGraphQLSchemaTool, GetItemsToolInput, GetTypeDetailsTool, GetUsersTool, MoveItemToGroupTool, Tool, ToolInputType, ToolOutputType, ToolType, allMondayApiToolSchema, allTools, changeItemColumnValuesInBoardToolSchema, changeItemColumnValuesToolSchema, createBoardToolSchema, createColumnInBoardToolSchema, createColumnToolSchema, createCustomActivityToolSchema, createItemInBoardToolSchema, createItemToolSchema, createTimelineItemToolSchema, createUpdateToolSchema, deleteColumnInBoardToolSchema, deleteColumnToolSchema, deleteItemToolSchema, fetchCustomActivityToolSchema, getBoardSchemaToolSchema, getItemsInBoardToolSchema, getItemsToolSchema, getTypeDetailsToolSchema, getUsersToolSchema, moveItemToGroupToolSchema };