Skip to content

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

940 B
Raw Blame
import entryActions from './entry';
import customerActions from './customer';
import projectActions from './project';
import serviceActions from './service';
import teamActions from './team';
import userActions from './user';
import absenceActions from './absence';
import { createCustomApiCallAction } from '@activepieces/pieces-common';
import { clockodoAuth } from '../auth';

export default [
  ...entryActions,
  ...customerActions,
  ...projectActions,
  ...serviceActions,
  ...teamActions,
  ...userActions,
  ...absenceActions,
  createCustomApiCallAction({
    baseUrl: () => 'https://my.clockodo.com/api', // Replace with the actual base URL
    auth: clockodoAuth,
    authMapping: async (auth) => ({
      'X-ClockodoApiUser': auth?.props?.email || '',
      'X-ClockodoApiKey': auth?.props?.token || '',
      'X-Clockodo-External-Application': auth?.props?.company_name || '',
      'Accept-Language': 'en',
    }),
  }),
];