- 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>
43 lines
1.3 KiB
TypeScript
43 lines
1.3 KiB
TypeScript
import { createCustomApiCallAction } from '@activepieces/pieces-common';
|
|
import { createPiece, PieceAuth } from '@activepieces/pieces-framework';
|
|
import { PieceCategory } from '@activepieces/shared';
|
|
import { triggers } from './lib/triggers';
|
|
|
|
const markdownPropertyDescription = `
|
|
**Enable Basic Authentication:**
|
|
|
|
1. Go to https://developer.frame.io/app/tokens
|
|
2. Click on 'Create a Token'
|
|
3. Provide a Description for your use.
|
|
4. Depending on your usage, you may 'Select all scopes'
|
|
5. Submit the form
|
|
6. The token will be created. Copy the token and paste it in the 'Token' input
|
|
`;
|
|
|
|
export const frameAuth = PieceAuth.SecretText({
|
|
displayName: 'Token',
|
|
description: markdownPropertyDescription,
|
|
required: true,
|
|
});
|
|
|
|
export const frame = createPiece({
|
|
displayName: 'Frame',
|
|
description: 'Collaborative workspace platform',
|
|
|
|
auth: frameAuth,
|
|
minimumSupportedRelease: '0.30.0',
|
|
logoUrl: 'https://cdn.activepieces.com/pieces/frameio.png',
|
|
categories: [PieceCategory.MARKETING],
|
|
authors: ["kanarelo","kishanprmr","MoShizzle","abuaboud"],
|
|
actions: [
|
|
createCustomApiCallAction({
|
|
baseUrl: () => 'https://api.frame.io/v2',
|
|
auth: frameAuth,
|
|
authMapping: async (auth) => ({
|
|
Authorization: `Bearer ${auth.secret_text}`,
|
|
}),
|
|
}),
|
|
],
|
|
triggers,
|
|
});
|