1.0.0 • Published 1 year ago
@managed-api/monday-v2024-04-sr-connect v1.0.0
ScriptRunner Connect Managed API for monday.com
Managed API for monday.com is an API Client for monday.com by Adaptavist. You can read more about Managed APIs here.
This is ScriptRunner Connect runtime specific version of the Managed API (with sr-connect suffix). If you want to use Managed API in any other runtime, have a look at the runtime agnostic version.
Supported API calls
- fetch
- Board
- Column
- File
- Item
- ItemsPage
- Me
- Notification
- Team
- User
- Workspace
- Folder
- Update
- Doc
- Tag
- Version
- Webhook
Constructing Managed API
In ScriptRunner Connect a Managed API is constructed for you, but if you need to construct it manually, here's how you can do it:
import { MondayApi } from '@managed-api/monday-sr-connect';
export default async function() {
const api = new MondayApi('API_CONNECTION_ID');
}Contact
Feel free to drop ideas, suggestions or improvements into our Slack community channel.
Changelog
1.10.0
- Pass
update_idasIDinUpdate.likeUpdate. - Fix issue where
column_value.columnwas incorrectly labelled as an array. - Add missing type options related to nested
items_page. - Fix issue where nested queries were not always using the right types.
1.9.0
- Update
Groupqueries and mutations to return anitems_pageinstead ofitems. - Fix
getWebhooksresponse. - Add
is_default_workspacefield toworkspacequeries.
1.8.0
- Add
relative_toandposition_relative_methodtoItem.createItem. - Add
display_namefield toversionqueries. - Update
kindenum values inversionqueries. - Convert id arguments in all managed APIs to use
IDtype. - Add
after_column_idarg toColumn.createColumn. - Fix return type of
item.id.
1.7.0
- Update core package to 0.3.14.
1.6.0
- Support version 2024-04 of Monday API.
- Support for the following Team methods:
- addUsersToTeam that can be used as
Team.addUsersToTeamorAll.addUsersToTeam. - removeUsersFromTeam that can be used as
Team.removeUsersFromTeamorAll.removeUsersFromTeam.
- addUsersToTeam that can be used as
- Added support for the following Workspace methods:
- updateWorkspace that can be used as
Workspace.updateWorkspaceorAll.updateWorkspace
- updateWorkspace that can be used as
- Changes to the following existing methods:
- Support
votersfield in VoteValue fragment. - Support for
group_colorargument in createGroup. - Support
urlfield in boards and items.
- Support
1.5.0
- Support for deleteTeamsFromBoard mutation.
- Implement remaining column value fragments.
- Fixing response objects for ItemsPage.getItemsPage.
- Allow access to
__typenamefield in returned GraphQL objects.
1.4.0
- Support for complexity queries to monitor the cost of each operation you make
- Using api version 2023-10 as default. Removing support for 2023-07
- Support for StatusValue and TimelineValue fragments.
1.3.0
- Added support for the following Folder methods:
- getFolders that can be used as
Folder.getFoldersorAll.getFolders - createFolder that can be used as
Folder.createFolderorAll.createFolder - updateFolder that can be used as
Folder.updateFolderorAll.updateFolder - deleteFolder that can be used as
Folder.deleteFolderorAll.deleteFolder
- getFolders that can be used as
- Converted all enum types to union types, for easier autocompletion suggestions
- Added support for the following Webhook methods:
- getWebhooks that can be used as
Webhook.getWebhooksorAll.getWebhooks - createWebhook that can be used as
Webhook.createWebhookorAll.createWebhook - deleteWebhook that can be used as
Webhook.deleteWebhookorAll.deleteWebhook
- getWebhooks that can be used as
- Added column fields to column_values return type.
- Added support for the following Version methods:
- getVersion that can be used as
Version.getVersionorAll.getVersion - getVersions that can be used as
Version.getVersionsorAll.getVersions
- getVersion that can be used as
- Added support for the following Tag methods:
- getTags that can be used as
Tag.getTagsorAll.getTags - getTags that can be used as
Board.Tag.getTags - createOrGetTag that can be used as
Tag.createOrGetTagorAll.createOrGetTag
- getTags that can be used as
1.2.0
- Added support for the following Doc methods:
- Added support for the following DocBlock methods:
- getDocBlocks that can be used as
Doc.DocBlock.getDocBlocksorAll.getDocBlocks - createDocBlock that can be used as
Doc.DocBlock.createDocBlockorAll.createDocBlock - updateDocBlock that can be used as
Doc.DocBlock.updateDocBlockorAll.updateDocBlock - deleteDocBlock that can be used as
Doc.DocBlock.deleteDocBlockorAll.deleteDocBlock
- getDocBlocks that can be used as
- Added support for all managed API methods for api 2023-10
- Added support for the following ItemsPage methods:
- getItemsPage that can be used as
Board.ItemsPage.getItemsPageorAll.getItemsPage - getNextItemsPage that can be used as
Board.getNextItemsPageorAll.getNextItemsPage - getItemsPageByColumnValues that can be used as
Board.getItemsPageByColumnValuesorAll.getItemsPageByColumnValues
- getItemsPage that can be used as
- Added support for the following Team methods:
- getTeams that can be used as
Team.getTeamsorAll.getTeams - addTeamsToBoard that can be used as
Team.addTeamsToBoardorAll.addTeamsToBoard - addTeamsToWorkspace that can be used as
Team.addTeamsToWorkspaceorAll.addTeamsToWorkspace - deleteTeamsFromWorkspace that can be used as
Team.deleteTeamsFromWorkspaceorAll.deleteTeamsFromWorkspace
- getTeams that can be used as
- Added support for the following Update methods:
- getUpdates that can be used as
Update.getUpdatesorAll.getUpdates. - createUpdate that can be used as
Update.createUpdateorAll.createUpdate. - likeUpdate that can be used as
Update.likeUpdateorAll.likeUpdate. - deleteUpdate that can be used as
Update.deleteUpdateorAll.deleteUpdate.
- getUpdates that can be used as
- Added support for the following Item methods:
- moveItemToBoard that can be used as
Item.moveItemToBoardorAll.moveItemToBoard.
- moveItemToBoard that can be used as
- Added support for the following Group methods:
- updateGroup that can be used as
Board.Group.updateGrouporAll.updateGroup. - archiveGroup that can be used as
Board.Group.archiveGrouporAll.archiveGroup. - duplicateGroup that can be used as
Board.Group.duplicateGrouporAll.duplicateGroup. - deleteGroup that can be used as
Board.Group.deleteGrouporAll.deleteGroup.
- updateGroup that can be used as
- Added support for the following Group methods:
- createGroup that can be used as
Board.Group.createGrouporAll.createGroup.
- createGroup that can be used as
- Added support for the following Workspace methods:
- createWorkspace that can be used as
Workspace.createWorkspaceorAll.createWorkspace. - deleteWorkspace that can be used as
Workspace.deleteWorkspaceorAll.deleteWorkspace. - getWorkspaces that can be used as
Workspace.getWorkspacesorAll.getWorkspaces.
- createWorkspace that can be used as
- Added support for the following Group methods:
- Added support for the following Notification methods:
- createNotification that can be used as
Notification.createNotificationorAll.createNotification.
- createNotification that can be used as
0.9.0
- Changed type from
number[]tostring[]ofidsfield ingroupsarguments for Board fields.
0.7.0
- Added support for the following Column methods:
- changeColumnMetadata that can be used as
Column.changeColumnMetadataorAll.changeColumnMetadata. - changeColumnTitle that can be used as
Column.changeColumnTitleorAll.changeColumnTitle. - changeColumnValue that can be used as
Column.changeColumnValueorAll.changeColumnValue. - changeMultipleColumnValues that can be used as
Column.changeMultipleColumnValuesorAll.changeMultipleColumnValues. - changeSimpleColumnValue that can be used as
Column.changeSimpleColumnValueorAll.changeSimpleColumnValue. - createColumn that can be used as
Column.createColumnorAll.createColumn. - deleteColumn that can be used as
Column.deleteColumnorAll.deleteColumn.
- changeColumnMetadata that can be used as
0.5.0
- Added support for the following Board methods:
- archiveBoard that can be used as
Board.archiveBoardorAll.archiveBoard. - createBoard that can be used as
Board.createBoardorAll.createBoard. - deleteBoard that can be used as
Board.deleteBoardorAll.deleteBoard. - deleteSubscribersFromBoard that can be used as
Board.deleteSubscribersFromBoardorAll.deleteSubscribersFromBoard. - duplicateBoard that can be used as
Board.duplicateBoardorAll.duplicateBoard. - getBoards that can be used as
Board.getBoardsorAll.getBoards. - updateBoard that can be used as
Board.updateBoardorAll.updateBoard.
- archiveBoard that can be used as
- Added support for the following Board.View methods:
- getViews that can be used as
Board.View.getViewsorAll.getBoardViews.
- getViews that can be used as
- Added support for the following File methods:
- addFileToColumn that can be used as
File.addFileToColumnorAll.addFileToColumn. - addFileToUpdate that can be used as
File.addFileToUpdateorAll.addFileToUpdate. - getAssets that can be used as
File.getAssetsorAll.getAssets.
- addFileToColumn that can be used as
- Added support for the following Item methods:
- archiveItem that can be used as
Item.archiveItemorAll.archiveItem. - clearUpdates that can be used as
Item.clearUpdatesorAll.clearItemUpdates. - createItem that can be used as
Item.createItemorAll.createItem. - deleteItem that can be used as
Item.deleteItemorAll.deleteItem. - duplicateItem that can be used as
Item.duplicateItemorAll.duplicateItem. - getItems that can be used as
Item.getItemsorAll.getItems. - moveItemToGroup that can be used as
Item.moveItemToGrouporAll.moveItemToGroup.
- archiveItem that can be used as
- Added support for the following Item.Subitem methods:
- createSubitem that can be used as
Item.Subitem.createSubitemorAll.createSubitem. - getSubitems that can be used as
Item.Subitem.getSubitemsorAll.getSubitems.
- createSubitem that can be used as
- Added support for the following Me methods:
- getUserDetails that can be used as
Me.getUserDetailsorAll.getUserDetails.
- getUserDetails that can be used as
- Added support for the following User methods:
- addUsersToBoard that can be used as
User.addUsersToBoardorAll.addUsersToBoard. - addUsersToWorkspace that can be used as
User.addUsersToWorkspaceorAll.addUsersToWorkspace. - deleteUsersFromWorkspace that can be used as
User.deleteUsersFromWorkspaceorAll.deleteUsersFromWorkspace. - getUsers that can be used as
User.getUsersorAll.getUsers.
- addUsersToBoard that can be used as
Copyright Adaptavist 2022 (c) All rights reserved
1.0.0
1 year ago