import type { IntegrationAccountRequirement, TriggerDefinition } from "../types" const TRELLO_ACCOUNT = { connectionOptions: [ { requiredScopes: ["read", "write"], }, ], serviceId: "trello", } as const satisfies IntegrationAccountRequirement export const trelloTriggerDefinitions = { trelloAttachmentAdded: { account: TRELLO_ACCOUNT, type: "trello.attachment.added", }, trelloAttachmentDeleted: { account: TRELLO_ACCOUNT, type: "trello.attachment.deleted", }, trelloBoardEvent: { account: TRELLO_ACCOUNT, type: "trello.board.event", }, trelloCardArchived: { account: TRELLO_ACCOUNT, type: "trello.card.archived", }, trelloCardCommented: { account: TRELLO_ACCOUNT, type: "trello.card.commented", }, trelloCardCreated: { account: TRELLO_ACCOUNT, type: "trello.card.created", }, trelloCardDeleted: { account: TRELLO_ACCOUNT, type: "trello.card.deleted", }, trelloCardLabelAdded: { account: TRELLO_ACCOUNT, type: "trello.card.label.added", }, trelloCardLabelRemoved: { account: TRELLO_ACCOUNT, type: "trello.card.label.removed", }, trelloCardMemberAdded: { account: TRELLO_ACCOUNT, type: "trello.card.member.added", }, trelloCardMemberRemoved: { account: TRELLO_ACCOUNT, type: "trello.card.member.removed", }, trelloCardMoved: { account: TRELLO_ACCOUNT, type: "trello.card.moved", }, trelloCardRestored: { account: TRELLO_ACCOUNT, type: "trello.card.restored", }, trelloCardUpdated: { account: TRELLO_ACCOUNT, type: "trello.card.updated", }, trelloChecklistCreated: { account: TRELLO_ACCOUNT, type: "trello.checklist.created", }, trelloChecklistDeleted: { account: TRELLO_ACCOUNT, type: "trello.checklist.deleted", }, trelloChecklistItemCompleted: { account: TRELLO_ACCOUNT, type: "trello.checklist-item.completed", }, trelloChecklistItemCreated: { account: TRELLO_ACCOUNT, type: "trello.checklist-item.created", }, trelloChecklistItemDeleted: { account: TRELLO_ACCOUNT, type: "trello.checklist-item.deleted", }, trelloChecklistItemUpdated: { account: TRELLO_ACCOUNT, type: "trello.checklist-item.updated", }, trelloChecklistUpdated: { account: TRELLO_ACCOUNT, type: "trello.checklist.updated", }, trelloCommentDeleted: { account: TRELLO_ACCOUNT, type: "trello.comment.deleted", }, trelloCommentUpdated: { account: TRELLO_ACCOUNT, type: "trello.comment.updated", }, trelloCustomFieldCreated: { account: TRELLO_ACCOUNT, type: "trello.custom-field.created", }, trelloCustomFieldDeleted: { account: TRELLO_ACCOUNT, type: "trello.custom-field.deleted", }, trelloCustomFieldUpdated: { account: TRELLO_ACCOUNT, type: "trello.custom-field.updated", }, trelloCustomFieldValueUpdated: { account: TRELLO_ACCOUNT, type: "trello.custom-field.value.updated", }, trelloListArchived: { account: TRELLO_ACCOUNT, type: "trello.list.archived", }, trelloListCreated: { account: TRELLO_ACCOUNT, type: "trello.list.created", }, trelloListMoved: { account: TRELLO_ACCOUNT, type: "trello.list.moved", }, trelloListRestored: { account: TRELLO_ACCOUNT, type: "trello.list.restored", }, trelloListUpdated: { account: TRELLO_ACCOUNT, type: "trello.list.updated", }, } as const satisfies Record