import type { IntegrationAccountRequirement, TriggerDefinition } from "../types" const LINEAR_ACCOUNT = { connectionOptions: [ { connectionMethodId: "oauth", requiredScopes: ["read"], }, ], serviceId: "linear", } as const satisfies IntegrationAccountRequirement export const linearTriggerDefinitions = { linearAttachmentCreated: { account: LINEAR_ACCOUNT, type: "linear.attachment.created", }, linearAttachmentEvent: { account: LINEAR_ACCOUNT, type: "linear.attachment.event", }, linearAttachmentRemoved: { account: LINEAR_ACCOUNT, type: "linear.attachment.removed", }, linearAttachmentUpdated: { account: LINEAR_ACCOUNT, type: "linear.attachment.updated", }, linearCommentCreated: { account: LINEAR_ACCOUNT, type: "linear.comment.created", }, linearCommentEvent: { account: LINEAR_ACCOUNT, type: "linear.comment.event", }, linearCommentRemoved: { account: LINEAR_ACCOUNT, type: "linear.comment.removed", }, linearCommentUpdated: { account: LINEAR_ACCOUNT, type: "linear.comment.updated", }, linearCustomerNeedCreated: { account: LINEAR_ACCOUNT, type: "linear.customer-need.created", }, linearCustomerNeedEvent: { account: LINEAR_ACCOUNT, type: "linear.customer-need.event", }, linearCustomerNeedRemoved: { account: LINEAR_ACCOUNT, type: "linear.customer-need.removed", }, linearCustomerNeedUpdated: { account: LINEAR_ACCOUNT, type: "linear.customer-need.updated", }, linearCustomerCreated: { account: LINEAR_ACCOUNT, type: "linear.customer.created", }, linearCustomerEvent: { account: LINEAR_ACCOUNT, type: "linear.customer.event", }, linearCustomerRemoved: { account: LINEAR_ACCOUNT, type: "linear.customer.removed", }, linearCustomerUpdated: { account: LINEAR_ACCOUNT, type: "linear.customer.updated", }, linearCycleCreated: { account: LINEAR_ACCOUNT, type: "linear.cycle.created", }, linearCycleEvent: { account: LINEAR_ACCOUNT, type: "linear.cycle.event", }, linearCycleRemoved: { account: LINEAR_ACCOUNT, type: "linear.cycle.removed", }, linearCycleUpdated: { account: LINEAR_ACCOUNT, type: "linear.cycle.updated", }, linearDocumentCreated: { account: LINEAR_ACCOUNT, type: "linear.document.created", }, linearDocumentEvent: { account: LINEAR_ACCOUNT, type: "linear.document.event", }, linearDocumentRemoved: { account: LINEAR_ACCOUNT, type: "linear.document.removed", }, linearDocumentUpdated: { account: LINEAR_ACCOUNT, type: "linear.document.updated", }, linearInitiativeUpdateCreated: { account: LINEAR_ACCOUNT, type: "linear.initiative-update.created", }, linearInitiativeUpdateEvent: { account: LINEAR_ACCOUNT, type: "linear.initiative-update.event", }, linearInitiativeUpdateRemoved: { account: LINEAR_ACCOUNT, type: "linear.initiative-update.removed", }, linearInitiativeUpdateUpdated: { account: LINEAR_ACCOUNT, type: "linear.initiative-update.updated", }, linearInitiativeCreated: { account: LINEAR_ACCOUNT, type: "linear.initiative.created", }, linearInitiativeEvent: { account: LINEAR_ACCOUNT, type: "linear.initiative.event", }, linearInitiativeRemoved: { account: LINEAR_ACCOUNT, type: "linear.initiative.removed", }, linearInitiativeUpdated: { account: LINEAR_ACCOUNT, type: "linear.initiative.updated", }, linearIssueLabelCreated: { account: LINEAR_ACCOUNT, type: "linear.issue-label.created", }, linearIssueLabelEvent: { account: LINEAR_ACCOUNT, type: "linear.issue-label.event", }, linearIssueLabelRemoved: { account: LINEAR_ACCOUNT, type: "linear.issue-label.removed", }, linearIssueLabelUpdated: { account: LINEAR_ACCOUNT, type: "linear.issue-label.updated", }, linearIssueSlaBreached: { account: LINEAR_ACCOUNT, type: "linear.issue-sla.breached", }, linearIssueSlaEvent: { account: LINEAR_ACCOUNT, type: "linear.issue-sla.event", }, linearIssueSlaHighRisk: { account: LINEAR_ACCOUNT, type: "linear.issue-sla.high-risk", }, linearIssueSlaSet: { account: LINEAR_ACCOUNT, type: "linear.issue-sla.set", }, linearIssueCreated: { account: LINEAR_ACCOUNT, type: "linear.issue.created", }, linearIssueEvent: { account: LINEAR_ACCOUNT, type: "linear.issue.event", }, linearIssueRemoved: { account: LINEAR_ACCOUNT, type: "linear.issue.removed", }, linearIssueUpdated: { account: LINEAR_ACCOUNT, type: "linear.issue.updated", }, linearProjectLabelCreated: { account: LINEAR_ACCOUNT, type: "linear.project-label.created", }, linearProjectLabelEvent: { account: LINEAR_ACCOUNT, type: "linear.project-label.event", }, linearProjectLabelRemoved: { account: LINEAR_ACCOUNT, type: "linear.project-label.removed", }, linearProjectLabelUpdated: { account: LINEAR_ACCOUNT, type: "linear.project-label.updated", }, linearProjectUpdateCreated: { account: LINEAR_ACCOUNT, type: "linear.project-update.created", }, linearProjectUpdateEvent: { account: LINEAR_ACCOUNT, type: "linear.project-update.event", }, linearProjectUpdateRemoved: { account: LINEAR_ACCOUNT, type: "linear.project-update.removed", }, linearProjectUpdateUpdated: { account: LINEAR_ACCOUNT, type: "linear.project-update.updated", }, linearProjectCreated: { account: LINEAR_ACCOUNT, type: "linear.project.created", }, linearProjectEvent: { account: LINEAR_ACCOUNT, type: "linear.project.event", }, linearProjectRemoved: { account: LINEAR_ACCOUNT, type: "linear.project.removed", }, linearProjectUpdated: { account: LINEAR_ACCOUNT, type: "linear.project.updated", }, linearReactionCreated: { account: LINEAR_ACCOUNT, type: "linear.reaction.created", }, linearReactionEvent: { account: LINEAR_ACCOUNT, type: "linear.reaction.event", }, linearReactionRemoved: { account: LINEAR_ACCOUNT, type: "linear.reaction.removed", }, linearReleaseNoteCreated: { account: LINEAR_ACCOUNT, type: "linear.release-note.created", }, linearReleaseNoteEvent: { account: LINEAR_ACCOUNT, type: "linear.release-note.event", }, linearReleaseNoteRemoved: { account: LINEAR_ACCOUNT, type: "linear.release-note.removed", }, linearReleaseNoteUpdated: { account: LINEAR_ACCOUNT, type: "linear.release-note.updated", }, linearReleaseCreated: { account: LINEAR_ACCOUNT, type: "linear.release.created", }, linearReleaseEvent: { account: LINEAR_ACCOUNT, type: "linear.release.event", }, linearReleaseRemoved: { account: LINEAR_ACCOUNT, type: "linear.release.removed", }, linearReleaseUpdated: { account: LINEAR_ACCOUNT, type: "linear.release.updated", }, linearUserCreated: { account: LINEAR_ACCOUNT, type: "linear.user.created", }, linearUserEvent: { account: LINEAR_ACCOUNT, type: "linear.user.event", }, linearUserRemoved: { account: LINEAR_ACCOUNT, type: "linear.user.removed", }, linearUserUpdated: { account: LINEAR_ACCOUNT, type: "linear.user.updated", }, } as const satisfies Record