- 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>
37 lines
1.3 KiB
TypeScript
37 lines
1.3 KiB
TypeScript
import { PieceAuth, createPiece } from '@activepieces/pieces-framework';
|
|
import { PieceCategory } from '@activepieces/shared';
|
|
import { renderTemplate } from './lib/actions/renderTemplate.action';
|
|
|
|
const markdownDescription = `
|
|
To obtain your GenerateBanners public and secret API Keys, you can follow the steps below:
|
|
|
|
1. Go to the [GenerateBanners homepage](https://www.generatebanners.com/).
|
|
2. Sign up or log in into your account.
|
|
3. Go to your [account page](https://www.generatebanners.com/app/account).
|
|
4. The public and secret API keys are now displayed, copy them one by one into the right Activepieces fields.
|
|
`;
|
|
|
|
export const generatebannersAuth = PieceAuth.BasicAuth({
|
|
description: markdownDescription,
|
|
required: true,
|
|
username: {
|
|
displayName: 'Public API Key',
|
|
},
|
|
password: {
|
|
displayName: 'Secret API Key',
|
|
},
|
|
});
|
|
|
|
export const generatebanners = createPiece({
|
|
displayName: 'GenerateBanners',
|
|
description: 'Image generation API for banners and social media posts',
|
|
|
|
minimumSupportedRelease: '0.30.0',
|
|
logoUrl: 'https://cdn.activepieces.com/pieces/generatebanners.png',
|
|
categories: [PieceCategory.CONTENT_AND_FILES],
|
|
authors: ["tpatel","kishanprmr","khaledmashaly","abuaboud"],
|
|
auth: generatebannersAuth,
|
|
actions: [renderTemplate],
|
|
triggers: [],
|
|
});
|