- Add Activepieces fork with SmoothSchedule custom piece - Create integrations app with Activepieces service layer - Add embed token endpoint for iframe integration - Create Automations page with embedded workflow builder - Add sidebar visibility fix for embed mode - Add list inactive customers endpoint to Public API - Include SmoothSchedule triggers: event created/updated/cancelled - Include SmoothSchedule actions: create/update/cancel events, list resources/services/customers 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
46 lines
2.5 KiB
TypeScript
46 lines
2.5 KiB
TypeScript
|
|
import { createPiece, PieceAuth, Property } from "@activepieces/pieces-framework";
|
|
import { fountainCreateApplicant } from './lib/actions/create-applicant';
|
|
import { fountainDeleteApplicant } from './lib/actions/delete-applicant';
|
|
import { fountainGetApplicantDetails } from './lib/actions/get-applicant-details';
|
|
import { fountainGetInterviewSessions } from './lib/actions/get-interview-sessions';
|
|
import { fountainGetOpening } from './lib/actions/get-opening';
|
|
import { fountainGetStage } from './lib/actions/get-stage';
|
|
import { fountainListApplicants } from './lib/actions/list-applicants';
|
|
import { fountainListOpenings } from './lib/actions/list-openings';
|
|
import { fountainListStages } from './lib/actions/list-stages';
|
|
import { fountainUpdateApplicant } from './lib/actions/update-applicant';
|
|
import { fountainApplicantWebhook, fountainWorkerWebhook } from './lib/triggers';
|
|
import { fountainCustomAttributeWebhook } from './lib/triggers/custom-attribute-webhook';
|
|
import { fountainUniversalTasksWebhook } from './lib/triggers/universal-tasks-webhook';
|
|
|
|
export const API_BASE_URL_DEFAULT = 'https://api.fountain.com';
|
|
|
|
export const fountainAuth = PieceAuth.CustomAuth({
|
|
description: 'Enter your Fountain API key and base URL',
|
|
required: true,
|
|
props: {
|
|
apiKey: PieceAuth.SecretText({
|
|
displayName: 'API Key',
|
|
description: 'Enter your Fountain API key from Profile > Manage API Keys or Settings > Integrations & API Keys',
|
|
required: true,
|
|
}),
|
|
baseUrl: Property.ShortText({
|
|
displayName: 'Base URL',
|
|
description: `The base URL for your Fountain API (default: ${API_BASE_URL_DEFAULT}). For example: us-2.fountain.com/api/v2`,
|
|
required: false,
|
|
}),
|
|
},
|
|
});
|
|
|
|
export const fountain = createPiece({
|
|
displayName: "Fountain",
|
|
description: "Automate your complete HR hiring and onboarding workflow. Manage applicants, job openings, interview scheduling, and track progress through hiring stages with real-time webhooks.",
|
|
auth: fountainAuth,
|
|
minimumSupportedRelease: '0.36.1',
|
|
logoUrl: "https://cdn.activepieces.com/pieces/fountain.png",
|
|
authors: ["onyedikachi-david"],
|
|
actions: [fountainCreateApplicant, fountainDeleteApplicant, fountainGetApplicantDetails, fountainGetInterviewSessions, fountainGetOpening, fountainGetStage, fountainListApplicants, fountainListOpenings, fountainListStages, fountainUpdateApplicant],
|
|
triggers: [fountainApplicantWebhook, fountainWorkerWebhook, fountainCustomAttributeWebhook, fountainUniversalTasksWebhook],
|
|
});
|
|
|