import * as actions from "./actions" import { defineAccount } from "../../automation/integrations" /** Declares a named ChatGPT account binding for an automation. */ export const chatgptAccount = defineAccount("chatgpt") /** ChatGPT callables. */ export const chatgpt = { getWorkspaceAgentRun: actions.getChatGPTWorkspaceAgentRun, runWorkspaceAgent: actions.runChatGPTWorkspaceAgent, triggerWorkspaceAgent: actions.triggerChatGPTWorkspaceAgent, } export { CHATGPT_WORKSPACE_AGENT_RUN_ERROR_SCHEMA, CHATGPT_WORKSPACE_AGENT_RUN_SCHEMA, CHATGPT_WORKSPACE_AGENT_RUN_STATUS_SCHEMA, CHATGPT_WORKSPACE_AGENT_TRIGGER_RESULT_SCHEMA, getChatGPTWorkspaceAgentRun, runChatGPTWorkspaceAgent, triggerChatGPTWorkspaceAgent, } from "./actions" export type { ChatGPTWorkspaceAgentAccountOptions, RunChatGPTWorkspaceAgentInput, } from "./actions"