- 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
1.3 KiB
TypeScript
46 lines
1.3 KiB
TypeScript
import { PieceAuth, createPiece } from '@activepieces/pieces-framework';
|
|
import { PieceCategory } from '@activepieces/shared';
|
|
import { sendNotification } from './lib/actions/send-notification';
|
|
|
|
export const pushoverAuth = PieceAuth.CustomAuth({
|
|
description: `
|
|
To obtain the api token:
|
|
|
|
1. Log in to Pushover.
|
|
2. Click on your Application or on Create an Application/API Token
|
|
3. Copy the API Token/Key.
|
|
|
|
To obtain the user key:
|
|
1. Log in to Pushover
|
|
2. Copy your Your User Key
|
|
|
|
Note if you want to send the message to your group, you should specify a group key instead of the user key
|
|
`,
|
|
props: {
|
|
api_token: PieceAuth.SecretText({
|
|
displayName: 'Api Token',
|
|
description: 'Pushover Api Token',
|
|
required: true,
|
|
}),
|
|
user_key: PieceAuth.SecretText({
|
|
displayName: 'User Key',
|
|
description: 'Pushover User Key',
|
|
required: true,
|
|
}),
|
|
},
|
|
required: true,
|
|
});
|
|
|
|
export const pushover = createPiece({
|
|
displayName: 'Pushover',
|
|
description: 'Simple push notification service',
|
|
|
|
logoUrl: 'https://cdn.activepieces.com/pieces/pushover.png',
|
|
categories: [PieceCategory.COMMUNICATION],
|
|
minimumSupportedRelease: '0.30.0',
|
|
authors: ["MyWay","Vitalini","kishanprmr","khaledmashaly","abuaboud"],
|
|
auth: pushoverAuth,
|
|
actions: [sendNotification],
|
|
triggers: [],
|
|
});
|