AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import {
EngineResponse,
EngineResponseStatus,
ExecuteRefreshTokenAuthOperation,
ExecuteRefreshTokenAuthResponse,
} from '@activepieces/shared'
import { EngineConstants } from '../handler/context/engine-constants'
import { pieceHelper } from '../helper/piece-helper'
export const authRefreshOperation = {
execute: async (operation: ExecuteRefreshTokenAuthOperation): Promise<EngineResponse<ExecuteRefreshTokenAuthResponse>> => {
const output = await pieceHelper.executeRefreshTokenAuth({
params: operation,
devPieces: EngineConstants.DEV_PIECES,
})
return {
status: EngineResponseStatus.OK,
response: output,
}
},
}