import { createPiece } from '@activepieces/pieces-framework';
import { replyMessage } from './lib/actions/reply-message';
import { sendMessage } from './lib/actions/send-message';
import { reactMessage } from './lib/actions/react-message';
import { returningAiAuth } from './lib/auth';

export const returningAi = createPiece({
  displayName: 'Returning AI',
  auth: returningAiAuth,
  minimumSupportedRelease: '0.36.1',
  logoUrl: `https://cdn.activepieces.com/pieces/returning-ai.png`,
  authors: ['mg-wunna'],
  actions: [sendMessage, replyMessage, reactMessage],
  triggers: [],
});
