import * as actions from "./actions" import * as triggers from "./triggers" import { defineAccount } from "../../automation/integrations" /** Declares a named Linear account binding for an automation. */ export const linearAccount = defineAccount("linear") /** Linear callables. */ export const linear = { archiveCycle: actions.archiveLinearCycle, archiveIssue: actions.archiveLinearIssue, archiveProject: actions.archiveLinearProject, archiveProjectUpdate: actions.archiveLinearProjectUpdate, createCycle: actions.createLinearCycle, createDocument: actions.createLinearDocument, createIssue: actions.createLinearIssue, createIssueAttachment: actions.createLinearIssueAttachment, createIssueComment: actions.createLinearIssueComment, createIssueLabel: actions.createLinearIssueLabel, createIssueRelation: actions.createLinearIssueRelation, createProject: actions.createLinearProject, createProjectMilestone: actions.createLinearProjectMilestone, createProjectUpdate: actions.createLinearProjectUpdate, createReaction: actions.createLinearReaction, delegateIssue: actions.delegateLinearIssue, deleteComment: actions.deleteLinearComment, deleteDocument: actions.deleteLinearDocument, deleteIssueAttachment: actions.deleteLinearIssueAttachment, deleteIssueLabel: actions.deleteLinearIssueLabel, deleteIssueRelation: actions.deleteLinearIssueRelation, deleteProjectMilestone: actions.deleteLinearProjectMilestone, deleteReaction: actions.deleteLinearReaction, getAgentSession: actions.getLinearAgentSession, getComment: actions.getLinearComment, getCycle: actions.getLinearCycle, getDocument: actions.getLinearDocument, getIssue: actions.getLinearIssue, getIssueLabel: actions.getLinearIssueLabel, getProject: actions.getLinearProject, getProjectMilestone: actions.getLinearProjectMilestone, getProjectUpdate: actions.getLinearProjectUpdate, getTeam: actions.getLinearTeam, getUser: actions.getLinearUser, getViewer: actions.getLinearViewer, getWorkflowState: actions.getLinearWorkflowState, getWorkspace: actions.getLinearWorkspace, listIssueAgentSessions: actions.listLinearIssueAgentSessions, listIssueAttachments: actions.listLinearIssueAttachments, listIssueComments: actions.listLinearIssueComments, listIssueLabels: actions.listLinearIssueLabels, listIssueRelations: actions.listLinearIssueRelations, listIssues: actions.listLinearIssues, listCycles: actions.listLinearCycles, listDocuments: actions.listLinearDocuments, listProjectMilestones: actions.listLinearProjectMilestones, listProjects: actions.listLinearProjects, listProjectStatuses: actions.listLinearProjectStatuses, listProjectUpdates: actions.listLinearProjectUpdates, listTeams: actions.listLinearTeams, listUsers: actions.listLinearUsers, listWorkflowStates: actions.listLinearWorkflowStates, onAttachmentCreated: triggers.onLinearAttachmentCreated, onAttachmentEvent: triggers.onLinearAttachmentEvent, onAttachmentRemoved: triggers.onLinearAttachmentRemoved, onAttachmentUpdated: triggers.onLinearAttachmentUpdated, onCommentCreated: triggers.onLinearCommentCreated, onCommentEvent: triggers.onLinearCommentEvent, onCommentRemoved: triggers.onLinearCommentRemoved, onCommentUpdated: triggers.onLinearCommentUpdated, onCustomerNeedCreated: triggers.onLinearCustomerNeedCreated, onCustomerNeedEvent: triggers.onLinearCustomerNeedEvent, onCustomerNeedRemoved: triggers.onLinearCustomerNeedRemoved, onCustomerNeedUpdated: triggers.onLinearCustomerNeedUpdated, onCustomerCreated: triggers.onLinearCustomerCreated, onCustomerEvent: triggers.onLinearCustomerEvent, onCustomerRemoved: triggers.onLinearCustomerRemoved, onCustomerUpdated: triggers.onLinearCustomerUpdated, onCycleCreated: triggers.onLinearCycleCreated, onCycleEvent: triggers.onLinearCycleEvent, onCycleRemoved: triggers.onLinearCycleRemoved, onCycleUpdated: triggers.onLinearCycleUpdated, onDocumentCreated: triggers.onLinearDocumentCreated, onDocumentEvent: triggers.onLinearDocumentEvent, onDocumentRemoved: triggers.onLinearDocumentRemoved, onDocumentUpdated: triggers.onLinearDocumentUpdated, onInitiativeUpdateCreated: triggers.onLinearInitiativeUpdateCreated, onInitiativeUpdateEvent: triggers.onLinearInitiativeUpdateEvent, onInitiativeUpdateRemoved: triggers.onLinearInitiativeUpdateRemoved, onInitiativeUpdateUpdated: triggers.onLinearInitiativeUpdateUpdated, onInitiativeCreated: triggers.onLinearInitiativeCreated, onInitiativeEvent: triggers.onLinearInitiativeEvent, onInitiativeRemoved: triggers.onLinearInitiativeRemoved, onInitiativeUpdated: triggers.onLinearInitiativeUpdated, onIssueLabelCreated: triggers.onLinearIssueLabelCreated, onIssueLabelEvent: triggers.onLinearIssueLabelEvent, onIssueLabelRemoved: triggers.onLinearIssueLabelRemoved, onIssueLabelUpdated: triggers.onLinearIssueLabelUpdated, onIssueSlaBreached: triggers.onLinearIssueSlaBreached, onIssueSlaEvent: triggers.onLinearIssueSlaEvent, onIssueSlaHighRisk: triggers.onLinearIssueSlaHighRisk, onIssueSlaSet: triggers.onLinearIssueSlaSet, onIssueCreated: triggers.onLinearIssueCreated, onIssueEvent: triggers.onLinearIssueEvent, onIssueRemoved: triggers.onLinearIssueRemoved, onIssueUpdated: triggers.onLinearIssueUpdated, onProjectLabelCreated: triggers.onLinearProjectLabelCreated, onProjectLabelEvent: triggers.onLinearProjectLabelEvent, onProjectLabelRemoved: triggers.onLinearProjectLabelRemoved, onProjectLabelUpdated: triggers.onLinearProjectLabelUpdated, onProjectUpdateCreated: triggers.onLinearProjectUpdateCreated, onProjectUpdateEvent: triggers.onLinearProjectUpdateEvent, onProjectUpdateRemoved: triggers.onLinearProjectUpdateRemoved, onProjectUpdateUpdated: triggers.onLinearProjectUpdateUpdated, onProjectCreated: triggers.onLinearProjectCreated, onProjectEvent: triggers.onLinearProjectEvent, onProjectRemoved: triggers.onLinearProjectRemoved, onProjectUpdated: triggers.onLinearProjectUpdated, onReactionCreated: triggers.onLinearReactionCreated, onReactionEvent: triggers.onLinearReactionEvent, onReactionRemoved: triggers.onLinearReactionRemoved, onReleaseNoteCreated: triggers.onLinearReleaseNoteCreated, onReleaseNoteEvent: triggers.onLinearReleaseNoteEvent, onReleaseNoteRemoved: triggers.onLinearReleaseNoteRemoved, onReleaseNoteUpdated: triggers.onLinearReleaseNoteUpdated, onReleaseCreated: triggers.onLinearReleaseCreated, onReleaseEvent: triggers.onLinearReleaseEvent, onReleaseRemoved: triggers.onLinearReleaseRemoved, onReleaseUpdated: triggers.onLinearReleaseUpdated, onUserCreated: triggers.onLinearUserCreated, onUserEvent: triggers.onLinearUserEvent, onUserRemoved: triggers.onLinearUserRemoved, onUserUpdated: triggers.onLinearUserUpdated, resolveComment: actions.resolveLinearComment, restoreIssueLabel: actions.restoreLinearIssueLabel, retireIssueLabel: actions.retireLinearIssueLabel, unarchiveIssue: actions.unarchiveLinearIssue, unarchiveDocument: actions.unarchiveLinearDocument, unarchiveProject: actions.unarchiveLinearProject, unarchiveProjectUpdate: actions.unarchiveLinearProjectUpdate, updateComment: actions.updateLinearComment, updateCycle: actions.updateLinearCycle, updateDocument: actions.updateLinearDocument, updateIssue: actions.updateLinearIssue, updateIssueAttachment: actions.updateLinearIssueAttachment, updateIssueLabel: actions.updateLinearIssueLabel, updateProject: actions.updateLinearProject, updateProjectMilestone: actions.updateLinearProjectMilestone, updateProjectUpdate: actions.updateLinearProjectUpdate, unresolveComment: actions.unresolveLinearComment, } export * from "./actions" export * from "./triggers" export { getLinearApi, LinearApiError, } from "@automate.ax/integration-contracts/linear" export { LINEAR_AGENT_SESSION_SCHEMA, LINEAR_AGENT_SESSION_PLAN_ITEM_SCHEMA, LINEAR_AGENT_SESSION_PLAN_ITEM_STATUS_SCHEMA, LINEAR_AGENT_SESSION_STATUS_SCHEMA, LINEAR_ATTACHMENT_SCHEMA, LINEAR_CYCLE_SCHEMA, LINEAR_COMMENT_CREATED_EVENT_SCHEMA, LINEAR_COMMENT_EVENT_SCHEMA, LINEAR_COMMENT_REMOVED_EVENT_SCHEMA, LINEAR_COMMENT_SCHEMA, LINEAR_COMMENT_UPDATED_EVENT_SCHEMA, LINEAR_ISSUE_CREATED_EVENT_SCHEMA, LINEAR_ISSUE_EVENT_SCHEMA, LINEAR_ISSUE_LABEL_SCHEMA, LINEAR_ISSUE_REFERENCE_SCHEMA, LINEAR_ISSUE_RELATION_SCHEMA, LINEAR_ISSUE_SCHEMA, LINEAR_ISSUE_REMOVED_EVENT_SCHEMA, LINEAR_ISSUE_UPDATED_EVENT_SCHEMA, LINEAR_DOCUMENT_SCHEMA, LINEAR_ORGANIZATION_SCHEMA, LINEAR_PAGE_INFO_SCHEMA, LINEAR_PROJECT_REFERENCE_SCHEMA, LINEAR_PROJECT_MILESTONE_SCHEMA, LINEAR_PROJECT_MILESTONE_STATUS_SCHEMA, LINEAR_PROJECT_CREATED_EVENT_SCHEMA, LINEAR_PROJECT_EVENT_SCHEMA, LINEAR_PROJECT_REMOVED_EVENT_SCHEMA, LINEAR_PROJECT_SCHEMA, LINEAR_PROJECT_STATUS_SCHEMA, LINEAR_PROJECT_UPDATED_EVENT_SCHEMA, LINEAR_PROJECT_UPDATE_HEALTH_SCHEMA, LINEAR_PROJECT_UPDATE_SCHEMA, LINEAR_REACTION_SCHEMA, LINEAR_TEAM_REFERENCE_SCHEMA, LINEAR_TEAM_SCHEMA, LINEAR_USER_REFERENCE_SCHEMA, LINEAR_USER_SCHEMA, LINEAR_WORKFLOW_STATE_SCHEMA, LINEAR_ATTACHMENT_CREATED_EVENT_SCHEMA, LINEAR_ATTACHMENT_EVENT_SCHEMA, LINEAR_ATTACHMENT_REMOVED_EVENT_SCHEMA, LINEAR_ATTACHMENT_UPDATED_EVENT_SCHEMA, LINEAR_CUSTOMER_NEED_CREATED_EVENT_SCHEMA, LINEAR_CUSTOMER_NEED_EVENT_SCHEMA, LINEAR_CUSTOMER_NEED_REMOVED_EVENT_SCHEMA, LINEAR_CUSTOMER_NEED_UPDATED_EVENT_SCHEMA, LINEAR_CUSTOMER_CREATED_EVENT_SCHEMA, LINEAR_CUSTOMER_EVENT_SCHEMA, LINEAR_CUSTOMER_REMOVED_EVENT_SCHEMA, LINEAR_CUSTOMER_UPDATED_EVENT_SCHEMA, LINEAR_CYCLE_CREATED_EVENT_SCHEMA, LINEAR_CYCLE_EVENT_SCHEMA, LINEAR_CYCLE_REMOVED_EVENT_SCHEMA, LINEAR_CYCLE_UPDATED_EVENT_SCHEMA, LINEAR_DOCUMENT_CREATED_EVENT_SCHEMA, LINEAR_DOCUMENT_EVENT_SCHEMA, LINEAR_DOCUMENT_REMOVED_EVENT_SCHEMA, LINEAR_DOCUMENT_UPDATED_EVENT_SCHEMA, LINEAR_INITIATIVE_UPDATE_CREATED_EVENT_SCHEMA, LINEAR_INITIATIVE_UPDATE_EVENT_SCHEMA, LINEAR_INITIATIVE_UPDATE_REMOVED_EVENT_SCHEMA, LINEAR_INITIATIVE_UPDATE_UPDATED_EVENT_SCHEMA, LINEAR_INITIATIVE_CREATED_EVENT_SCHEMA, LINEAR_INITIATIVE_EVENT_SCHEMA, LINEAR_INITIATIVE_REMOVED_EVENT_SCHEMA, LINEAR_INITIATIVE_UPDATED_EVENT_SCHEMA, LINEAR_ISSUE_LABEL_CREATED_EVENT_SCHEMA, LINEAR_ISSUE_LABEL_EVENT_SCHEMA, LINEAR_ISSUE_LABEL_REMOVED_EVENT_SCHEMA, LINEAR_ISSUE_LABEL_UPDATED_EVENT_SCHEMA, LINEAR_PROJECT_LABEL_CREATED_EVENT_SCHEMA, LINEAR_PROJECT_LABEL_EVENT_SCHEMA, LINEAR_PROJECT_LABEL_REMOVED_EVENT_SCHEMA, LINEAR_PROJECT_LABEL_UPDATED_EVENT_SCHEMA, LINEAR_PROJECT_UPDATE_CREATED_EVENT_SCHEMA, LINEAR_PROJECT_UPDATE_EVENT_SCHEMA, LINEAR_PROJECT_UPDATE_REMOVED_EVENT_SCHEMA, LINEAR_PROJECT_UPDATE_UPDATED_EVENT_SCHEMA, LINEAR_REACTION_CREATED_EVENT_SCHEMA, LINEAR_REACTION_EVENT_SCHEMA, LINEAR_REACTION_REMOVED_EVENT_SCHEMA, LINEAR_RELEASE_NOTE_CREATED_EVENT_SCHEMA, LINEAR_RELEASE_NOTE_EVENT_SCHEMA, LINEAR_RELEASE_NOTE_REMOVED_EVENT_SCHEMA, LINEAR_RELEASE_NOTE_UPDATED_EVENT_SCHEMA, LINEAR_RELEASE_CREATED_EVENT_SCHEMA, LINEAR_RELEASE_EVENT_SCHEMA, LINEAR_RELEASE_REMOVED_EVENT_SCHEMA, LINEAR_RELEASE_UPDATED_EVENT_SCHEMA, LINEAR_USER_CREATED_EVENT_SCHEMA, LINEAR_USER_EVENT_SCHEMA, LINEAR_USER_REMOVED_EVENT_SCHEMA, LINEAR_USER_UPDATED_EVENT_SCHEMA, LINEAR_ISSUE_SLA_BREACHED_EVENT_SCHEMA, LINEAR_ISSUE_SLA_EVENT_SCHEMA, LINEAR_ISSUE_SLA_HIGH_RISK_EVENT_SCHEMA, LINEAR_ISSUE_SLA_SET_EVENT_SCHEMA, } from "@automate.ax/integration-contracts/linear" export { LINEAR_READ_SCOPE, LINEAR_READ_WRITE_REQUIREMENT, LINEAR_WRITE_SCOPE, } from "./lib/scopes"