- 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>
71 lines
2.6 KiB
TypeScript
71 lines
2.6 KiB
TypeScript
import { createCustomApiCallAction } from '@activepieces/pieces-common';
|
|
import { PieceAuth, createPiece } from '@activepieces/pieces-framework';
|
|
import { PieceCategory } from '@activepieces/shared';
|
|
import { CreateListItem } from './lib/actions/create-list-item';
|
|
import { deleteListItem } from './lib/actions/delete-list-item';
|
|
import { downloadCustomExportInItsOriginalFormat } from './lib/actions/download-custom-export-in-its-original-format';
|
|
import { downloadStandardPDF } from './lib/actions/download-standard-pdf';
|
|
import { editListItem } from './lib/actions/edit-list-item';
|
|
import { getAllListItems } from './lib/actions/get-all-list-items';
|
|
import { getDataDefinition } from './lib/actions/get-data-definition';
|
|
import { getListDefinition } from './lib/actions/get-list-definition';
|
|
import { getListItem } from './lib/actions/get-list-item';
|
|
import { pushData } from './lib/actions/push-data';
|
|
import { endpoint } from './lib/common';
|
|
import { eventOnDataDeleted } from './lib/trigger/event-on-data-deleted';
|
|
import { eventOnDataFinished } from './lib/trigger/event-on-data-finished';
|
|
import { eventOnDataPushed } from './lib/trigger/event-on-data-pushed';
|
|
import { eventOnDataPulled } from './lib/trigger/event-on-data-received';
|
|
import { eventOnDataUpdated } from './lib/trigger/event-on-data-updated';
|
|
import { eventOnData } from './lib/trigger/event-on-data.trigger';
|
|
|
|
const markdownDescription = `
|
|
To connect to Kizeo Forms, you need an API Token provided by their support team.
|
|
`;
|
|
|
|
export const kizeoFormsAuth = PieceAuth.SecretText({
|
|
displayName: 'Kizeo Forms API Key',
|
|
required: true,
|
|
description: markdownDescription,
|
|
});
|
|
|
|
export const kizeoForms = createPiece({
|
|
displayName: 'Kizeo Forms',
|
|
description: 'Create custom mobile forms',
|
|
|
|
minimumSupportedRelease: '0.30.0',
|
|
logoUrl: 'https://cdn.activepieces.com/pieces/kizeo-forms.png',
|
|
authors: ["BastienMe","kishanprmr","MoShizzle","khaledmashaly","abuaboud"],
|
|
categories: [PieceCategory.FORMS_AND_SURVEYS],
|
|
auth: kizeoFormsAuth,
|
|
actions: [
|
|
getDataDefinition,
|
|
pushData,
|
|
downloadStandardPDF,
|
|
downloadCustomExportInItsOriginalFormat,
|
|
getListDefinition,
|
|
getListItem,
|
|
getAllListItems,
|
|
CreateListItem,
|
|
editListItem,
|
|
deleteListItem,
|
|
createCustomApiCallAction({
|
|
baseUrl: () => endpoint,
|
|
auth: kizeoFormsAuth,
|
|
authMapping: async (auth) => {
|
|
return {
|
|
Authorization: auth.secret_text,
|
|
};
|
|
},
|
|
}),
|
|
],
|
|
triggers: [
|
|
eventOnData,
|
|
eventOnDataDeleted,
|
|
eventOnDataFinished,
|
|
eventOnDataPushed,
|
|
eventOnDataPulled,
|
|
eventOnDataUpdated,
|
|
],
|
|
});
|