import { MiroApi } from '../api'; import { KeepBase } from './helpers'; import { BaseApi } from './../highlevel/Api'; import { TokenInformation as BaseTokenInformation } from './../model/tokenInformation'; import { BaseOrganization } from './Organization'; import { OrganizationMember as BaseOrganizationMember } from './../model/organizationMember'; import { BaseTeam } from './Team'; import { BoardDataClassificationLabel as BaseBoardDataClassification } from './../model/boardDataClassificationLabel'; import { DataClassificationOrganizationSettings as BaseDataClassification } from './../model/dataClassificationOrganizationSettings'; import { TeamMember as BaseTeamMember } from './../model/teamMember'; import { TeamSettings as BaseTeamSettings } from './../model/teamSettings'; import { BaseBoard } from './Board'; import { BoardMember as BaseBoardMember } from './../model/boardMember'; import { BaseItem } from './Item'; import { BaseAppCardItem } from './AppCardItem'; import { BaseCardItem } from './CardItem'; import { BaseDocumentItem } from './DocumentItem'; import { BaseEmbedItem } from './EmbedItem'; import { BaseFrameItem } from './FrameItem'; import { BaseImageItem } from './ImageItem'; import { BaseShapeItem } from './ShapeItem'; import { BaseStickyNoteItem } from './StickyNoteItem'; import { BaseTextItem } from './TextItem'; import { ConnectorWithLinks as BaseConnector } from './../model/connectorWithLinks'; import { BaseTag } from './Tag'; export declare class Api extends BaseApi { /** @hidden */ _api: MiroApi; /** @hidden */ constructor(api: MiroApi, props: KeepBase); /** * Creates a board with the specified name and sharing policies.

Note

You can only create up to 3 team boards with the free plan.

Required scope

boards:write

Rate limiting

Level 3
* @summary Create board * @param boardChanges */ createBoard(boardChanges: Parameters[0]): Promise; /** * Retrieves information about a board.

Required scope

boards:read

Rate limiting

Level 1
* @summary Get specific board * @param boardId Unique identifier (ID) of the board that you want to retrieve. */ getBoard(boardId: Parameters[0]): Promise; /** * Retrieves organization information.

Required scope

organizations:read

Rate limiting

Level 3

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Get organization info * @param orgId id of the organization */ getOrganization(orgId: Parameters[0]): Promise; /** * Get information about an access token, such as the token type, scopes, team, user, token creation date and time, and the user who created the token. * @summary Get access token information */ tokenInfo(): Promise; } export declare class TokenInformation extends BaseTokenInformation { /** @hidden */ _api: MiroApi; /** @hidden */ constructor(api: MiroApi, props: KeepBase); } export declare class Organization extends BaseOrganization { /** @hidden */ _api: MiroApi; id: string; /** @hidden */ constructor(api: MiroApi, id: string, props: KeepBase); /** * Creates a new team in an existing organization.

Required scope

organizations:teams:write

Rate limiting

Level 1

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Create team * @param createTeamRequest */ createTeam(createTeamRequest: Parameters[1]): Promise; /** * Retrieves board classification settings for an existing organization.

Required scope

organizations:read

Rate limiting

Level 2

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Get organization settings */ getDataClassification(): Promise; /** * Retrieves default team settings of an existing organization.

Required scope

organizations:teams:read

Rate limiting

Level 1

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Get default team settings */ getDefaultTeamSettings(): Promise; /** * Retrieves organization member information for an existing organization.

Required scope

organizations:read

Rate limiting

Level 3

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Get organization member * @param memberId id of the organization member */ getOrganizationMember(memberId: Parameters[1]): Promise; /** * Retrieves team information for an existing team.

Required scope

organizations:teams:read

Rate limiting

Level 1

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Get team * @param teamId The id of the Team. */ getTeam(teamId: Parameters[1]): Promise; } export declare class OrganizationMember extends BaseOrganizationMember { /** @hidden */ _api: MiroApi; orgId: string; id: string; /** @hidden */ constructor(api: MiroApi, orgId: string, id: string, props: KeepBase); } export declare class Team extends BaseTeam { /** @hidden */ _api: MiroApi; orgId: string; teamId: string; /** @hidden */ constructor(api: MiroApi, orgId: string, teamId: string, props: KeepBase); /** * Deletes an existing team.

Required scope

organizations:teams:write

Rate limiting

Level 4

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Delete team */ deleteTeam(): Promise; /** * Deletes team member from team by id.

Required scope

organizations:teams:write

Rate limiting

Level 1

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Delete team member from team * @param memberId The id of the Team Member */ deleteTeamMember(memberId: Parameters[2]): Promise; /** * Retrieves board classification for a board.

Required scope

boards:read

Rate limiting

Level 2

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Get board classification * @param boardId Unique identifier of the board that you want to retrieve. */ getBoardDataClassification(boardId: Parameters[2]): Promise; /** * Updates board classification for an existing board.

Required scope

boards:write

Rate limiting

Level 2

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Update board classification * @param boardId Unique identifier of the board that you want to update. * @param dataClassificationLabelId */ setBoardDataClassification(boardId: Parameters[2], dataClassificationLabelId: Parameters[3]): Promise; /** * Updates board classification for not-classified only or all boards in an existing team.

Required scope

boards:write

Rate limiting

Level 4

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Bulk update boards classification * @param updateBoardsDataClassificationLabelRequest */ setBoardDataClassificationBulk(updateBoardsDataClassificationLabelRequest: Parameters[2]): Promise; /** * Retrieves board classification settings for an existing team.

Required scope

organizations:teams:read

Rate limiting

Level 2

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Get team settings */ getDataClassification(): Promise; /** * Updates board classification settings for an existing team.

Required scope

organizations:teams:write

Rate limiting

Level 2

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Update team settings * @param updateTeamSettingsRequest */ setDataClassification(updateTeamSettingsRequest: Parameters[2]): Promise; /** * Invites a new Miro user to an existing team. The user must exist in your Miro organization. Users who do not exist in your Miro organization can be invited to the team via [SCIM](https://developers.miro.com/docs/scim) and an external identity provider, such as Okta or Azure Active Directory.

Required scope

organizations:teams:write

Rate limiting

Level 2

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Invite team members * @param teamMemberInvite */ inviteTeamMember(teamMemberInvite: Parameters[2]): Promise; /** * Retrieves team member by id.

Required scope

organizations:teams:read

Rate limiting

Level 1

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Get team member * @param memberId The id of the Team Member */ getTeamMember(memberId: Parameters[2]): Promise; /** * Updates an existing team.

Required scope

organizations:teams:write

Rate limiting

Level 1

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Update team * @param teamChanges */ updateTeam(teamChanges: Parameters[2]): Promise; /** * Retrieves team settings of an existing team.

Required scope

organizations:teams:read

Rate limiting

Level 1

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Get team settings * @param teamId The id of the Team. */ getTeamSettings(teamId: Parameters[1]): Promise; /** * Updates team settings of an existing team.

Required scope

organizations:teams:write

Rate limiting

Level 2

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Update team settings * @param teamId The id of the Team. * @param teamSettingsChanges */ updateTeamSettings(teamId: Parameters[1], teamSettingsChanges: Parameters[2]): Promise; } export declare class BoardDataClassification extends BaseBoardDataClassification { /** @hidden */ _api: MiroApi; /** @hidden */ constructor(api: MiroApi, props: KeepBase); } export declare class DataClassification extends BaseDataClassification { /** @hidden */ _api: MiroApi; /** @hidden */ constructor(api: MiroApi, props: KeepBase); } export declare class TeamMember extends BaseTeamMember { /** @hidden */ _api: MiroApi; orgId: string; teamId: string; id: string; /** @hidden */ constructor(api: MiroApi, orgId: string, teamId: string, id: string, props: KeepBase); /** * Updates team member role in team by id.

Required scope

organizations:teams:write

Rate limiting

Level 2

Enterprise only

This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.

* @summary Update team member * @param teamMemberChanges */ update(teamMemberChanges: Parameters[3]): Promise; } export declare class TeamSettings extends BaseTeamSettings { /** @hidden */ _api: MiroApi; /** @hidden */ constructor(api: MiroApi, props: KeepBase); } export declare class Board extends BaseBoard { /** @hidden */ _api: MiroApi; id: string; /** @hidden */ constructor(api: MiroApi, id: string, props: KeepBase); /** * Adds an app card item to a board.

Required scope

boards:write

Rate limiting

Level 2
* @summary Create app card item * @param appCardCreateRequest */ createAppCardItem(appCardCreateRequest: Parameters[1]): Promise; /** * Adds a card item to a board

Required scope

boards:write

Rate limiting

Level 2
* @summary Create card item * @param cardCreateRequest */ createCardItem(cardCreateRequest: Parameters[1]): Promise; /** * Adds a connector to a board.

Required scope

boards:write

Rate limiting

Level 2
* @summary Create connector * @param connectorCreationData */ createConnector(connectorCreationData: Parameters[1]): Promise; /** * Adds an embed item containing external content to a board.

Required scope

boards:write

Rate limiting

Level 2
* @summary Create embed item * @param embedCreateRequest */ createEmbedItem(embedCreateRequest: Parameters[1]): Promise; /** * Adds a frame to a board.

Required scope

boards:write

Rate limiting

Level 2
* @summary Create frame * @param frameCreateRequest */ createFrameItem(frameCreateRequest: Parameters[1]): Promise; /** * Adds a shape item to a board.

Required scope

boards:write

Rate limiting

Level 2
* @summary Create shape item * @param shapeCreateRequest */ createShapeItem(shapeCreateRequest: Parameters[1]): Promise; /** * Adds a sticky note item to a board.

Required scope

boards:write

Rate limiting

Level 2
* @summary Create sticky note item * @param stickyNoteCreateRequest */ createStickyNoteItem(stickyNoteCreateRequest: Parameters[1]): Promise; /** * Creates a tag on a board.

Required scope

boards:write

Rate limiting

Level 1
* @summary Create tag * @param tagCreateRequest */ createTag(tagCreateRequest: Parameters[1]): Promise; /** * Adds a text item to a board.

Required scope

boards:write

Rate limiting

Level 2
* @summary Create text item * @param textCreateRequest */ createTextItem(textCreateRequest: Parameters[1]): Promise; /** * Adds an image item to a board by specifying a file from device.

Required scope

boards:write

Rate limiting

Level 2
* @summary Create image item using file from device * @param resource Select a file to upload. Maximum file size is 6 MB. * @param data */ createImageItemUsingLocalFile(resource: Parameters[1], data: Parameters[2]): Promise; /** * Adds a document item to a board by selecting file from device.

Required scope

boards:write

Rate limiting

Level 2
* @summary Create document item using file from device * @param resource Select a file to upload. Maximum file size is 6 MB. * @param data */ createDocumentItemUsingFileFromDevice(resource: Parameters[1], data: Parameters[2]): Promise; /** * Retrieves information for a specific app card item on a board.

Required scope

boards:read

Rate limiting

Level 1
* @summary Get app card item * @param itemId Unique identifier (ID) of the item that you want to retrieve. */ getAppCardItem(itemId: Parameters[1]): Promise; /** * Retrieves information for a specific card item on a board

Required scope

boards:read

Rate limiting

Level 1
* @summary Get card item * @param itemId Unique identifier (ID) of the item that you want to retrieve. */ getCardItem(itemId: Parameters[1]): Promise; /** * Retrieves information for a specific connector on a board.

Required scope

boards:read

Rate limiting

Level 1
* @summary Get specific connector * @param connectorId Unique identifier (ID) of the connector that you want to retrieve. */ getConnector(connectorId: Parameters[1]): Promise; /** * Retrieves information for a specific document item on a board

Required scope

boards:read

Rate limiting

Level 1
* @summary Get document item * @param itemId Unique identifier (ID) of the item that you want to retrieve. */ getDocumentItem(itemId: Parameters[1]): Promise; /** * Retrieves information for a specific embed item on a board.

Required scope

boards:read

Rate limiting

Level 1
* @summary Get embed item * @param itemId Unique identifier (ID) of the item that you want to retrieve. */ getEmbedItem(itemId: Parameters[1]): Promise; /** * Retrieves information for a specific frame on a board.

Required scope

boards:read

Rate limiting

Level 1
* @summary Get frame * @param itemId Unique identifier (ID) of the frame that you want to retrieve. */ getFrameItem(itemId: Parameters[1]): Promise; /** * Retrieves information for a specific image item on a board.

Required scope

boards:read

Rate limiting

Level 1
* @summary Get image item * @param itemId Unique identifier (ID) of the item that you want to retrieve. */ getImageItem(itemId: Parameters[1]): Promise; /** * Retrieves information for a specific shape item on a board.

Required scope

boards:read

Rate limiting

Level 1
* @summary Get shape item * @param itemId Unique identifier (ID) of the item that you want to retrieve. */ getShapeItem(itemId: Parameters[1]): Promise; /** * Retrieves information for a board member.

Required scope

boards:read

Rate limiting

Level 1
* @summary Get specific board member * @param boardMemberId Unique identifier (ID) of the board member whose role you want to retrieve. */ getMember(boardMemberId: Parameters[1]): Promise; /** * Retrieves information for a specific sticky note item on a board.

Required scope

boards:read

Rate limiting

Level 1
* @summary Get sticky note item * @param itemId Unique identifier (ID) of the item that you want to retrieve. */ getStickyNoteItem(itemId: Parameters[1]): Promise; /** * Retrieves information for a specific tag.

Required scope

boards:write

Rate limiting

Level 1
* @summary Get tag * @param tagId Unique identifier (ID) of the tag that you want to retrieve. */ getTag(tagId: Parameters[1]): Promise; /** * Retrieves information for a specific text item on a board.

Required scope

boards:read

Rate limiting

Level 1
* @summary Get text item * @param itemId Unique identifier (ID) of the item that you want to retrieve. */ getTextItem(itemId: Parameters[1]): Promise; /** * Creates a copy of an existing board. You can also update the name, description, sharing policy, and permissions policy for the new board in the request body.

Required scope

boards:write

Rate limiting

Level 4
* @summary Copy board * @param copyBoardChanges */ copy(copyBoardChanges: Parameters[1]): Promise; /** * Shares the board and Invites new members to collaborate on a board by sending an invitation email. Depending on the board\'s Sharing policy, there might be various scenarios where membership in the team is required in order to share the board with a user.

Required scope

boards:write

Rate limiting

Level 3
* @summary Share board * @param boardMembersInvite */ share(boardMembersInvite: Parameters[1]): Promise; /** * Updates a specific board.

Required scope

boards:write

Rate limiting

Level 2
* @summary Update board * @param boardChanges */ update(boardChanges: Parameters[1]): Promise; /** * Deletes a board. Deleted boards go to Trash (on paid plans) and can be restored via UI within 90 days after deletion.

Required scope

boards:write

Rate limiting

Level 3
* @summary Delete board */ delete(): Promise; /** * Removes a board member from a board.

Required scope

boards:write

Rate limiting

Level 2
* @summary Remove board member * @param boardMemberId Unique identifier (ID) of the board member whose role you want to delete. */ removeMember(boardMemberId: Parameters[1]): Promise; /** * Removes the specified tag from the specified item. The tag still exists on the board.
Note: Updates to tags made via the REST API will not be reflected on the board in realtime. To see REST API updates to tags on a board, you need to refresh the board. This applies to the following endpoints: [Attach tag to item](https://developers.miro.com/reference/attach-tag-to-item), [Update tag](https://developers.miro.com/reference/update-tag), [Delete tag](https://developers.miro.com/reference/delete-tag).

Required scope

boards:write

Rate limiting

Level 1
* @summary Remove tag from item * @param itemId Unique identifier (ID) of the item that you want to remove the tag from. * @param tagId Unique identifier (ID) of the tag that you want to remove from the item. */ removeTag(itemId: Parameters[1], tagId: Parameters[2]): Promise; } export declare class BoardMember extends BaseBoardMember { /** @hidden */ _api: MiroApi; boardId: string; id: string; /** @hidden */ constructor(api: MiroApi, boardId: string, id: string, props: KeepBase); /** * Updates the role of a board member.

Required scope

boards:write

Rate limiting

Level 2
* @summary Update board member * @param boardMemberChanges */ update(boardMemberChanges: Parameters[2]): Promise; } export declare class Item extends BaseItem { /** @hidden */ _api: MiroApi; boardId: string; id: string; /** @hidden */ constructor(api: MiroApi, boardId: string, id: string, props: KeepBase); /** * Updates the position or the parent of an item on a board.

Required scope

boards:write

Rate limiting

Level 2
* @summary Update item position or parent * @param genericItemUpdate */ update(genericItemUpdate: Parameters[2]): Promise; /** * Deletes an item from a board.

Required scope

boards:write

Rate limiting

Level 3
* @summary Delete item */ delete(): Promise; } export declare class AppCardItem extends BaseAppCardItem { /** @hidden */ _api: MiroApi; boardId: string; id: string; /** @hidden */ constructor(api: MiroApi, boardId: string, id: string, props: KeepBase); /** * Updates an app card item on a board based on the data and style properties provided in the request body.

Required scope

boards:write

Rate limiting

Level 2
* @summary Update app card item * @param appCardUpdateRequest */ update(appCardUpdateRequest: Parameters[2]): Promise; /** * Deletes an app card item from a board.

Required scope

boards:write

Rate limiting

Level 3
* @summary Delete app card item */ delete(): Promise; /** * Retrieves all the tags from the specified item.

Required scope

boards:read

Rate limiting

Level 1
* @summary Get tags from item */ getAllTags(): Promise; /** * Removes the specified tag from the specified item. The tag still exists on the board.
Note: Updates to tags made via the REST API will not be reflected on the board in realtime. To see REST API updates to tags on a board, you need to refresh the board. This applies to the following endpoints: [Attach tag to item](https://developers.miro.com/reference/attach-tag-to-item), [Update tag](https://developers.miro.com/reference/update-tag), [Delete tag](https://developers.miro.com/reference/delete-tag).

Required scope

boards:write

Rate limiting

Level 1
* @summary Remove tag from item * @param tagId Unique identifier (ID) of the tag that you want to remove from the item. */ removeTag(tagId: Parameters[2]): Promise; /** * Attach an existing tag to the specified item. Card and sticky note items can have up to 8 tags.
Note: Updates to tags made via the REST API will not be reflected on the board in realtime. To see REST API updates to tags on a board, you need to refresh the board. This applies to the following endpoints: [Remove tag from item](https://developers.miro.com/reference/remove-tag-from-item), [Update tag](https://developers.miro.com/reference/update-tag), [Delete tag](https://developers.miro.com/reference/delete-tag).

Required scope

boards:write

Rate limiting

Level 1
* @summary Attach tag to item * @param tagId Unique identifier (ID) of the tag you want to add to the item. */ attachTag(tagId: Parameters[2]): Promise; } export declare class CardItem extends BaseCardItem { /** @hidden */ _api: MiroApi; boardId: string; id: string; /** @hidden */ constructor(api: MiroApi, boardId: string, id: string, props: KeepBase); /** * Updates a card item on a board based on the data and style properties provided in the request body.

Required scope

boards:write

Rate limiting

Level 2
* @summary Update card item * @param cardUpdateRequest */ update(cardUpdateRequest: Parameters[2]): Promise; /** * Deletes a card item from the board.

Required scope

boards:write

Rate limiting

Level 3
* @summary Delete card item */ delete(): Promise; /** * Retrieves all the tags from the specified item.

Required scope

boards:read

Rate limiting

Level 1
* @summary Get tags from item */ getAllTags(): Promise; /** * Removes the specified tag from the specified item. The tag still exists on the board.
Note: Updates to tags made via the REST API will not be reflected on the board in realtime. To see REST API updates to tags on a board, you need to refresh the board. This applies to the following endpoints: [Attach tag to item](https://developers.miro.com/reference/attach-tag-to-item), [Update tag](https://developers.miro.com/reference/update-tag), [Delete tag](https://developers.miro.com/reference/delete-tag).

Required scope

boards:write

Rate limiting

Level 1
* @summary Remove tag from item * @param tagId Unique identifier (ID) of the tag that you want to remove from the item. */ removeTag(tagId: Parameters[2]): Promise; /** * Attach an existing tag to the specified item. Card and sticky note items can have up to 8 tags.
Note: Updates to tags made via the REST API will not be reflected on the board in realtime. To see REST API updates to tags on a board, you need to refresh the board. This applies to the following endpoints: [Remove tag from item](https://developers.miro.com/reference/remove-tag-from-item), [Update tag](https://developers.miro.com/reference/update-tag), [Delete tag](https://developers.miro.com/reference/delete-tag).

Required scope

boards:write

Rate limiting

Level 1
* @summary Attach tag to item * @param tagId Unique identifier (ID) of the tag you want to add to the item. */ attachTag(tagId: Parameters[2]): Promise; } export declare class DocumentItem extends BaseDocumentItem { /** @hidden */ _api: MiroApi; boardId: string; id: string; /** @hidden */ constructor(api: MiroApi, boardId: string, id: string, props: KeepBase); /** * Updates a document item on a board by using file from a device.

Required scope

boards:write

Rate limiting

Level 2
* @summary Update document item using file from device * @param resource Select a file to upload. Maximum file size is 6 MB. * @param data */ updateUsingFile(resource: Parameters[2], data: Parameters[3]): Promise; /** * Updates a document item on a board

Required scope

boards:write

Rate limiting

Level 2
* @summary Update document item using URL * @param documentUpdateRequest */ updateUsingUrl(documentUpdateRequest: Parameters[2]): Promise; /** * Deletes a document item from the board.

Required scope

boards:write

Rate limiting

Level 3
* @summary Delete document item */ delete(): Promise; } export declare class EmbedItem extends BaseEmbedItem { /** @hidden */ _api: MiroApi; boardId: string; id: string; /** @hidden */ constructor(api: MiroApi, boardId: string, id: string, props: KeepBase); /** * Updates an embed item on a board based on the data properties provided in the request body.

Required scope

boards:write

Rate limiting

Level 2
* @summary Update embed item * @param embedUpdateRequest */ update(embedUpdateRequest: Parameters[2]): Promise; /** * Deletes an embed item from the board.

Required scope

boards:write

Rate limiting

Level 3
* @summary Delete embed item */ delete(): Promise; } export declare class FrameItem extends BaseFrameItem { /** @hidden */ _api: MiroApi; boardId: string; id: string; /** @hidden */ constructor(api: MiroApi, boardId: string, id: string, props: KeepBase); /** * Updates a frame on a board based on the data, style, or geometry properties provided in the request body.

Required scope

boards:write

Rate limiting

Level 2
* @summary Update frame * @param frameUpdateRequest */ update(frameUpdateRequest: Parameters[2]): Promise; /** * Deletes a frame from a board.

Required scope

boards:write

Rate limiting

Level 3
* @summary Delete frame */ delete(): Promise; } export declare class ImageItem extends BaseImageItem { /** @hidden */ _api: MiroApi; boardId: string; id: string; /** @hidden */ constructor(api: MiroApi, boardId: string, id: string, props: KeepBase); /** * Updates an image item on a board.

Required scope

boards:write

Rate limiting

Level 2
* @summary Update image item using file from device * @param resource Select a file to upload. Maximum file size is 6 MB. * @param data */ updateUsingFile(resource: Parameters[2], data: Parameters[3]): Promise; /** * Updates an image item on a board.

Required scope

boards:write

Rate limiting

Level 2
* @summary Update image item using URL * @param imageUpdateRequest */ updateUsingUrl(imageUpdateRequest: Parameters[2]): Promise; /** * Deletes an image item from the board.

Required scope

boards:write

Rate limiting

Level 3
* @summary Delete image item */ delete(): Promise; } export declare class ShapeItem extends BaseShapeItem { /** @hidden */ _api: MiroApi; boardId: string; id: string; /** @hidden */ constructor(api: MiroApi, boardId: string, id: string, props: KeepBase); /** * Updates a shape item on a board based on the data and style properties provided in the request body.

Required scope

boards:write

Rate limiting

Level 2
* @summary Update shape item * @param shapeUpdateRequest */ update(shapeUpdateRequest: Parameters[2]): Promise; /** * Deletes a shape item from the board.

Required scope

boards:write

Rate limiting

Level 3
* @summary Delete shape item */ delete(): Promise; } export declare class StickyNoteItem extends BaseStickyNoteItem { /** @hidden */ _api: MiroApi; boardId: string; id: string; /** @hidden */ constructor(api: MiroApi, boardId: string, id: string, props: KeepBase); /** * Updates a sticky note item on a board based on the data and style properties provided in the request body.

Required scope

boards:write

Rate limiting

Level 2
* @summary Update sticky note item * @param stickyNoteUpdateRequest */ update(stickyNoteUpdateRequest: Parameters[2]): Promise; /** * Deletes a sticky note item from the board.

Required scope

boards:write

Rate limiting

Level 3
* @summary Delete sticky note item */ delete(): Promise; /** * Retrieves all the tags from the specified item.

Required scope

boards:read

Rate limiting

Level 1
* @summary Get tags from item */ getAllTags(): Promise; /** * Removes the specified tag from the specified item. The tag still exists on the board.
Note: Updates to tags made via the REST API will not be reflected on the board in realtime. To see REST API updates to tags on a board, you need to refresh the board. This applies to the following endpoints: [Attach tag to item](https://developers.miro.com/reference/attach-tag-to-item), [Update tag](https://developers.miro.com/reference/update-tag), [Delete tag](https://developers.miro.com/reference/delete-tag).

Required scope

boards:write

Rate limiting

Level 1
* @summary Remove tag from item * @param tagId Unique identifier (ID) of the tag that you want to remove from the item. */ removeTag(tagId: Parameters[2]): Promise; /** * Attach an existing tag to the specified item. Card and sticky note items can have up to 8 tags.
Note: Updates to tags made via the REST API will not be reflected on the board in realtime. To see REST API updates to tags on a board, you need to refresh the board. This applies to the following endpoints: [Remove tag from item](https://developers.miro.com/reference/remove-tag-from-item), [Update tag](https://developers.miro.com/reference/update-tag), [Delete tag](https://developers.miro.com/reference/delete-tag).

Required scope

boards:write

Rate limiting

Level 1
* @summary Attach tag to item * @param tagId Unique identifier (ID) of the tag you want to add to the item. */ attachTag(tagId: Parameters[2]): Promise; } export declare class TextItem extends BaseTextItem { /** @hidden */ _api: MiroApi; boardId: string; id: string; /** @hidden */ constructor(api: MiroApi, boardId: string, id: string, props: KeepBase); /** * Updates a text item on a board based on the data and style properties provided in the request body.

Required scope

boards:write

Rate limiting

Level 2
* @summary Update text item * @param textUpdateRequest */ update(textUpdateRequest: Parameters[2]): Promise; /** * Deletes a text item from the board

Required scope

boards:write

Rate limiting

Level 3
* @summary Delete text item */ delete(): Promise; } export declare class Connector extends BaseConnector { /** @hidden */ _api: MiroApi; boardId: string; id: string; /** @hidden */ constructor(api: MiroApi, boardId: string, id: string, props: KeepBase); /** * Updates a connector on a board based on the data and style properties provided in the request body.

Required scope

boards:write

Rate limiting

Level 2
* @summary Update connector * @param connectorChangesData */ update(connectorChangesData: Parameters[2]): Promise; /** * Deletes the specified connector from the board.

Required scope

boards:write

Rate limiting

Level 3
* @summary Delete connector */ delete(): Promise; } export declare class Tag extends BaseTag { /** @hidden */ _api: MiroApi; boardId: string; id: string; /** @hidden */ constructor(api: MiroApi, boardId: string, id: string, props: KeepBase); /** * Updates a tag based on the data properties provided in the request body.
Note: Updates to tags made via the REST API will not be reflected on the board in realtime. To see REST API updates to tags on a board, you need to refresh the board. This applies to the following endpoints: [Attach tag to item](https://developers.miro.com/reference/attach-tag-to-item), [Remove tag from item](https://developers.miro.com/reference/remove-tag-from-item), [Delete tag](https://developers.miro.com/reference/delete-tag).

Required scope

boards:write

Rate limiting

Level 1
* @summary Update tag * @param tagUpdateRequest */ update(tagUpdateRequest: Parameters[2]): Promise; /** * Deletes the specified tag from the board. The tag is also removed from all cards and sticky notes on the board.
Note: Updates to tags made via the REST API will not be reflected on the board in realtime. To see REST API updates to tags on a board, you need to refresh the board. This applies to the following endpoints: [Attach tag to item](https://developers.miro.com/reference/attach-tag-to-item), [Remove tag from item](https://developers.miro.com/reference/remove-tag-from-item), [Update tag](https://developers.miro.com/reference/update-tag).

Required scope

boards:write

Rate limiting

Level 1
* @summary Delete tag */ delete(): Promise; }