import * as actions from "./actions" import * as triggers from "./triggers" import { defineAccount } from "../../automation/integrations" /** Declares a named Trello account binding for an automation. */ export const trelloAccount = defineAccount("trello") /** Trello callables. */ export const trello = { addAttachment: actions.addTrelloAttachment, addBoardMember: actions.addTrelloBoardMember, addCardLabel: actions.addTrelloCardLabel, addCardMember: actions.addTrelloCardMember, addComment: actions.addTrelloComment, createBoard: actions.createTrelloBoard, createBoardLabel: actions.createTrelloBoardLabel, createCard: actions.createTrelloCard, createChecklist: actions.createTrelloChecklist, createChecklistItem: actions.createTrelloChecklistItem, createCustomField: actions.createTrelloCustomField, createCustomFieldOption: actions.createTrelloCustomFieldOption, createList: actions.createTrelloList, deleteAttachment: actions.deleteTrelloAttachment, deleteBoard: actions.deleteTrelloBoard, deleteCard: actions.deleteTrelloCard, deleteChecklist: actions.deleteTrelloChecklist, deleteChecklistItem: actions.deleteTrelloChecklistItem, deleteComment: actions.deleteTrelloComment, deleteCustomField: actions.deleteTrelloCustomField, deleteCustomFieldOption: actions.deleteTrelloCustomFieldOption, deleteLabel: actions.deleteTrelloLabel, getCustomField: actions.getTrelloCustomField, getCustomFieldOption: actions.getTrelloCustomFieldOption, getBoard: actions.getTrelloBoard, getCard: actions.getTrelloCard, getCurrentMember: actions.getCurrentTrelloMember, getList: actions.getTrelloList, getLabel: actions.getTrelloLabel, getWorkspace: actions.getTrelloWorkspace, inviteBoardMember: actions.inviteTrelloBoardMember, listAttachments: actions.listTrelloAttachments, listBoardLabels: actions.listTrelloBoardLabels, listBoardCards: actions.listTrelloBoardCards, listBoardCustomFields: actions.listTrelloBoardCustomFields, listBoardLists: actions.listTrelloBoardLists, listBoardMembers: actions.listTrelloBoardMembers, listBoardMemberships: actions.listTrelloBoardMemberships, listBoards: actions.listTrelloBoards, listCards: actions.listTrelloCards, listChecklists: actions.listTrelloChecklists, listComments: actions.listTrelloComments, listCardCustomFieldValues: actions.listTrelloCardCustomFieldValues, listCustomFieldOptions: actions.listTrelloCustomFieldOptions, listWorkspaces: actions.listTrelloWorkspaces, onAttachmentAdded: triggers.onTrelloAttachmentAdded, onAttachmentDeleted: triggers.onTrelloAttachmentDeleted, onBoardEvent: triggers.onTrelloBoardEvent, onCardArchived: triggers.onTrelloCardArchived, onCardCommented: triggers.onTrelloCardCommented, onCardCreated: triggers.onTrelloCardCreated, onCardDeleted: triggers.onTrelloCardDeleted, onCardLabelAdded: triggers.onTrelloCardLabelAdded, onCardLabelRemoved: triggers.onTrelloCardLabelRemoved, onCardMemberAdded: triggers.onTrelloCardMemberAdded, onCardMemberRemoved: triggers.onTrelloCardMemberRemoved, onCardMoved: triggers.onTrelloCardMoved, onCardRestored: triggers.onTrelloCardRestored, onCardUpdated: triggers.onTrelloCardUpdated, onChecklistCreated: triggers.onTrelloChecklistCreated, onChecklistDeleted: triggers.onTrelloChecklistDeleted, onChecklistItemCompleted: triggers.onTrelloChecklistItemCompleted, onChecklistItemCreated: triggers.onTrelloChecklistItemCreated, onChecklistItemDeleted: triggers.onTrelloChecklistItemDeleted, onChecklistItemUpdated: triggers.onTrelloChecklistItemUpdated, onChecklistUpdated: triggers.onTrelloChecklistUpdated, onCommentDeleted: triggers.onTrelloCommentDeleted, onCommentUpdated: triggers.onTrelloCommentUpdated, onCustomFieldCreated: triggers.onTrelloCustomFieldCreated, onCustomFieldDeleted: triggers.onTrelloCustomFieldDeleted, onCustomFieldUpdated: triggers.onTrelloCustomFieldUpdated, onCustomFieldValueUpdated: triggers.onTrelloCustomFieldValueUpdated, onListArchived: triggers.onTrelloListArchived, onListCreated: triggers.onTrelloListCreated, onListMoved: triggers.onTrelloListMoved, onListRestored: triggers.onTrelloListRestored, onListUpdated: triggers.onTrelloListUpdated, removeCardLabel: actions.removeTrelloCardLabel, removeCardMember: actions.removeTrelloCardMember, removeBoardMember: actions.removeTrelloBoardMember, searchCards: actions.searchTrelloCards, setCardCustomFieldValue: actions.setTrelloCardCustomFieldValue, clearCardCustomFieldValue: actions.clearTrelloCardCustomFieldValue, updateBoardMemberRole: actions.updateTrelloBoardMemberRole, updateBoard: actions.updateTrelloBoard, updateCard: actions.updateTrelloCard, updateChecklist: actions.updateTrelloChecklist, updateChecklistItem: actions.updateTrelloChecklistItem, updateComment: actions.updateTrelloComment, updateCustomField: actions.updateTrelloCustomField, updateCustomFieldOption: actions.updateTrelloCustomFieldOption, updateLabel: actions.updateTrelloLabel, updateList: actions.updateTrelloList, uploadAttachment: actions.uploadTrelloAttachment, } export * from "./actions" export * from "./triggers" export { getTrelloApi, normalizeTrelloBoardId, normalizeTrelloCardId, TrelloApiError, } from "@automate.ax/integration-contracts/trello" export type { TrelloRateLimitBudget, TrelloRateLimitMetadata, } from "@automate.ax/integration-contracts/trello" export { TRELLO_ATTACHMENT_SCHEMA, TRELLO_BOARD_MEMBERSHIP_SCHEMA, TRELLO_BOARD_SCHEMA, TRELLO_CARD_SCHEMA, TRELLO_CHECKLIST_SCHEMA, TRELLO_CHECK_ITEM_SCHEMA, TRELLO_COMMENT_SCHEMA, TRELLO_CUSTOM_FIELD_ITEM_SCHEMA, TRELLO_CUSTOM_FIELD_OPTION_SCHEMA, TRELLO_CUSTOM_FIELD_SCHEMA, TRELLO_CUSTOM_FIELD_VALUE_SCHEMA, TRELLO_LABEL_SCHEMA, TRELLO_LIST_SCHEMA, TRELLO_MEMBER_SCHEMA, TRELLO_WORKSPACE_SCHEMA, } from "@automate.ax/integration-contracts/trello"