@mondaydotcomorg/agent-toolkit 2.29.6 → 2.29.7

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.
@@ -122,7 +122,8 @@ declare const allTools: (MondayAppsToolType | BaseMondayApiToolConstructor)[];
122
122
 
123
123
  declare enum ToolMode {
124
124
  API = "api",
125
- APPS = "apps"
125
+ APPS = "apps",
126
+ ATP = "atp"
126
127
  }
127
128
  type ToolsConfiguration = {
128
129
  include?: string[];
@@ -731,7 +731,7 @@
731
731
  }
732
732
  }
733
733
  }
734
- `;var sT;exports.ToolMode=void 0,(sT=exports.ToolMode||(exports.ToolMode={})).API="api",sT.APPS="apps";const rT=1e3;var pT,dT;function cT(e,a){const t=e?.response?.errors?.map((e=>e.message))?.join(", ");if(t)throw new Error(`Failed to ${a}: ${t}`);const i=e instanceof Error?e.message:"Unknown error";throw new Error(`Failed to ${a}: ${i}`)}!function(e){e[e.YEAR=31536e3]="YEAR",e[e.MONTH31Days=2678400]="MONTH31Days",e[e.MONTH30Days=2592e3]="MONTH30Days",e[e.MONTH29Days=2505600]="MONTH29Days",e[e.MONTH28Days=2419200]="MONTH28Days",e[e.WEEK=604800]="WEEK",e[e.DAY=86400]="DAY",e[e.HOUR=3600]="HOUR",e[e.MINUTE=60]="MINUTE"}(pT||(pT={})),function(e){e[e.YEAR=31536e6]="YEAR",e[e.MONTH31Days=26784e5]="MONTH31Days",e[e.MONTH30Days=2592e6]="MONTH30Days",e[e.MONTH29Days=25056e5]="MONTH29Days",e[e.MONTH28Days=24192e5]="MONTH28Days",e[e.DAY=864e5]="DAY",e[e.HOUR=36e5]="HOUR",e[e.MINUTE=6e4]="MINUTE",e[e.SECOND=rT]="SECOND"}(dT||(dT={}));const lT={name:f.z.string().describe("The name of the new item to be created, must be relevant to the user's request"),groupId:f.z.string().optional().describe("The id of the group id to which the new item will be added, if its not clearly specified, leave empty"),columnValues:f.z.string().describe('A string containing the new column values for the item following this structure: {\\"column_id\\": \\"value\\",... you can change multiple columns at once, note that for status column you must use nested value with \'label\' as a key and for date column use \'date\' as key} - example: "{\\"text_column_id\\":\\"New text\\", \\"status_column_id\\":{\\"label\\":\\"Done\\"}, \\"date_column_id\\":{\\"date\\":\\"2023-05-25\\"},\\"dropdown_id\\":\\"value\\", \\"phone_id\\":\\"123-456-7890\\", \\"email_id\\":\\"test@example.com\\"}"'),parentItemId:f.z.number().optional().describe("The id of the parent item under which the new subitem will be created"),duplicateFromItemId:f.z.number().optional().describe("The id of existing item to duplicate and update with new values (only provide when duplicating)")},mT={boardId:f.z.number().describe("The id of the board to which the new item will be added"),...lT};const uT={item_id:f.z.number().describe("The ID of the item to create the new timeline item on"),custom_activity_id:f.z.string().describe("The ID of the custom activity for the timeline item"),title:f.z.string().describe("The title of the new timeline item"),summary:f.z.string().optional().describe("The summary of the new timeline item (max 255 characters)"),content:f.z.string().optional().describe("The content of the new timeline item"),timestamp:f.z.string().describe("The creation time of the new timeline item in ISO8601 format (e.g., 2024-06-06T18:00:30Z)"),start_timestamp:f.z.string().optional().describe("The start time of the timeline item in ISO8601 format"),end_timestamp:f.z.string().optional().describe("The end time of the timeline item in ISO8601 format"),location:f.z.string().optional().describe("The location to add to the new timeline item"),phone:f.z.string().optional().describe("The phone number to add to the new timeline item"),url:f.z.string().optional().describe("The URL to add to the new timeline item")};const fT=s_`
734
+ `;var sT;exports.ToolMode=void 0,(sT=exports.ToolMode||(exports.ToolMode={})).API="api",sT.APPS="apps",sT.ATP="atp";const rT=1e3;var pT,dT;function cT(e,a){const t=e?.response?.errors?.map((e=>e.message))?.join(", ");if(t)throw new Error(`Failed to ${a}: ${t}`);const i=e instanceof Error?e.message:"Unknown error";throw new Error(`Failed to ${a}: ${i}`)}!function(e){e[e.YEAR=31536e3]="YEAR",e[e.MONTH31Days=2678400]="MONTH31Days",e[e.MONTH30Days=2592e3]="MONTH30Days",e[e.MONTH29Days=2505600]="MONTH29Days",e[e.MONTH28Days=2419200]="MONTH28Days",e[e.WEEK=604800]="WEEK",e[e.DAY=86400]="DAY",e[e.HOUR=3600]="HOUR",e[e.MINUTE=60]="MINUTE"}(pT||(pT={})),function(e){e[e.YEAR=31536e6]="YEAR",e[e.MONTH31Days=26784e5]="MONTH31Days",e[e.MONTH30Days=2592e6]="MONTH30Days",e[e.MONTH29Days=25056e5]="MONTH29Days",e[e.MONTH28Days=24192e5]="MONTH28Days",e[e.DAY=864e5]="DAY",e[e.HOUR=36e5]="HOUR",e[e.MINUTE=6e4]="MINUTE",e[e.SECOND=rT]="SECOND"}(dT||(dT={}));const lT={name:f.z.string().describe("The name of the new item to be created, must be relevant to the user's request"),groupId:f.z.string().optional().describe("The id of the group id to which the new item will be added, if its not clearly specified, leave empty"),columnValues:f.z.string().describe('A string containing the new column values for the item following this structure: {\\"column_id\\": \\"value\\",... you can change multiple columns at once, note that for status column you must use nested value with \'label\' as a key and for date column use \'date\' as key} - example: "{\\"text_column_id\\":\\"New text\\", \\"status_column_id\\":{\\"label\\":\\"Done\\"}, \\"date_column_id\\":{\\"date\\":\\"2023-05-25\\"},\\"dropdown_id\\":\\"value\\", \\"phone_id\\":\\"123-456-7890\\", \\"email_id\\":\\"test@example.com\\"}"'),parentItemId:f.z.number().optional().describe("The id of the parent item under which the new subitem will be created"),duplicateFromItemId:f.z.number().optional().describe("The id of existing item to duplicate and update with new values (only provide when duplicating)")},mT={boardId:f.z.number().describe("The id of the board to which the new item will be added"),...lT};const uT={item_id:f.z.number().describe("The ID of the item to create the new timeline item on"),custom_activity_id:f.z.string().describe("The ID of the custom activity for the timeline item"),title:f.z.string().describe("The title of the new timeline item"),summary:f.z.string().optional().describe("The summary of the new timeline item (max 255 characters)"),content:f.z.string().optional().describe("The content of the new timeline item"),timestamp:f.z.string().describe("The creation time of the new timeline item in ISO8601 format (e.g., 2024-06-06T18:00:30Z)"),start_timestamp:f.z.string().optional().describe("The start time of the timeline item in ISO8601 format"),end_timestamp:f.z.string().optional().describe("The end time of the timeline item in ISO8601 format"),location:f.z.string().optional().describe("The location to add to the new timeline item"),phone:f.z.string().optional().describe("The phone number to add to the new timeline item"),url:f.z.string().optional().describe("The URL to add to the new timeline item")};const fT=s_`
735
735
  mutation createUpdate($itemId: ID!, $body: String!, $mentionsList: [UpdateMention]) {
736
736
  create_update(body: $body, item_id: $itemId, mentions_list: $mentionsList) {
737
737
  id