import * as actions from "./actions" import * as triggers from "./triggers" import { defineAccount } from "../../automation/integrations" /** Declares a named Automate.ax organization account binding. */ export const automateAccount = defineAccount("automate") /** Automate.ax callables. */ export const automate = { cancelDeployment: actions.cancelAutomateDeployment, getAutomation: actions.getAutomateAutomation, getDeployment: actions.getAutomateDeployment, getExecution: actions.getAutomateExecution, getProject: actions.getAutomateProject, invokeAutomation: actions.invokeAutomateAutomation, listAutomations: actions.listAutomateAutomations, listDeployments: actions.listAutomateDeployments, listExecutions: actions.listAutomateExecutions, listProjects: actions.listAutomateProjects, redeployProject: actions.redeployAutomateProject, setAutomationEnabled: actions.setAutomateAutomationEnabled, onActionAttemptEvent: triggers.onAutomateActionAttemptEvent, onActionFailed: triggers.onAutomateActionFailed, onActionIndeterminate: triggers.onAutomateActionIndeterminate, onActionRetryScheduled: triggers.onAutomateActionRetryScheduled, onAutomationDisabled: triggers.onAutomateAutomationDisabled, onAutomationEnabled: triggers.onAutomateAutomationEnabled, onAutomationStateChanged: triggers.onAutomateAutomationStateChanged, onDeploymentAwaitingAuthorization: triggers.onAutomateDeploymentAwaitingAuthorization, onDeploymentCancelled: triggers.onAutomateDeploymentCancelled, onDeploymentEvent: triggers.onAutomateDeploymentEvent, onDeploymentFailed: triggers.onAutomateDeploymentFailed, onDeploymentSucceeded: triggers.onAutomateDeploymentSucceeded, onExecutionEvent: triggers.onAutomateExecutionEvent, onExecutionFailed: triggers.onAutomateExecutionFailed, onExecutionSettled: triggers.onAutomateExecutionSettled, } export * from "./actions" export * from "./triggers" export * from "@automate.ax/integration-contracts/automate" export { getAutomateApi } from "./lib/api" export { AUTOMATE_DEPLOYMENT_CANCEL_SCOPE, AUTOMATE_DEPLOYMENT_CREATE_SCOPE, AUTOMATE_DEPLOYMENT_READ_SCOPE, AUTOMATE_PROJECT_READ_SCOPE, AUTOMATE_PROJECT_UPDATE_SCOPE, } from "./lib/scopes"