- 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>
42 lines
1.5 KiB
TypeScript
42 lines
1.5 KiB
TypeScript
import { createPiece, OAuth2PropertyValue } from "@activepieces/pieces-framework";
|
|
import { vimeoAuth } from "./lib/auth";
|
|
import { uploadVideo } from './lib/actions/upload-video';
|
|
import { deleteVideo } from './lib/actions/delete-video';
|
|
import { addVideoToShowcase } from './lib/actions/add-video-to-showcase';
|
|
import { addVideoToFolder } from './lib/actions/add-video-to-folder';
|
|
import { newVideoLiked } from './lib/triggers/new-video-liked';
|
|
import { newVideoBySearch } from './lib/triggers/new-video-by-search';
|
|
import { newVideoOfMine } from './lib/triggers/new-video-of-mine';
|
|
import { newVideoByUser } from './lib/triggers/new-video-by-user';
|
|
import { PieceCategory } from "@activepieces/shared";
|
|
import { createCustomApiCallAction } from "@activepieces/pieces-common";
|
|
|
|
export const vimeo = createPiece({
|
|
displayName: "Vimeo",
|
|
auth: vimeoAuth,
|
|
minimumSupportedRelease: '0.36.1',
|
|
logoUrl: "https://cdn.activepieces.com/pieces/vimeo.png",
|
|
categories: [PieceCategory.CONTENT_AND_FILES],
|
|
authors: ['privatestefans','sanket-a11y'],
|
|
actions: [
|
|
uploadVideo,
|
|
deleteVideo,
|
|
addVideoToShowcase,
|
|
addVideoToFolder,
|
|
createCustomApiCallAction({
|
|
auth: vimeoAuth,
|
|
baseUrl: () => "https://api.vimeo.com",
|
|
authMapping: async (auth) => {
|
|
return {
|
|
Authorization: `Bearer ${(auth as OAuth2PropertyValue).access_token}`,
|
|
};
|
|
},
|
|
}),
|
|
],
|
|
triggers: [
|
|
newVideoLiked,
|
|
newVideoBySearch,
|
|
newVideoOfMine,
|
|
newVideoByUser
|
|
],
|
|
}); |