- 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.6 KiB
TypeScript
43 lines
1.6 KiB
TypeScript
import { createPiece } from '@activepieces/pieces-framework';
|
|
import { PieceCategory } from '@activepieces/shared';
|
|
import { oktaAuth } from './lib/common/common';
|
|
import { createUserAction } from './lib/actions/create-user';
|
|
import { activateUserAction } from './lib/actions/activate-user';
|
|
import { deactivateUserAction } from './lib/actions/deactivate-user';
|
|
import { suspendUserAction } from './lib/actions/suspend-user';
|
|
import { addUserToGroupAction } from './lib/actions/add-user-to-group';
|
|
import { removeUserFromGroupAction } from './lib/actions/remove-user-from-group';
|
|
import { updateUserAction } from './lib/actions/update-user';
|
|
import { findUserByEmailAction } from './lib/actions/find-user-by-email';
|
|
import { findGroupByNameAction } from './lib/actions/find-group-by-name';
|
|
import { newEventTrigger } from './lib/triggers/new-event';
|
|
import { createCustomApiCallAction } from '@activepieces/pieces-common';
|
|
|
|
export const okta = createPiece({
|
|
displayName: 'Okta',
|
|
auth: oktaAuth,
|
|
minimumSupportedRelease: '0.30.0',
|
|
logoUrl: 'https://cdn.activepieces.com/pieces/okta.png',
|
|
authors: ['Ani-4x', 'sanket-a11y'],
|
|
categories: [PieceCategory.PRODUCTIVITY],
|
|
actions: [
|
|
createUserAction,
|
|
activateUserAction,
|
|
deactivateUserAction,
|
|
suspendUserAction,
|
|
addUserToGroupAction,
|
|
removeUserFromGroupAction,
|
|
updateUserAction,
|
|
findUserByEmailAction,
|
|
findGroupByNameAction,
|
|
createCustomApiCallAction({
|
|
baseUrl: (auth) => `${(auth)?.props.domain}/api/v1`,
|
|
auth: oktaAuth,
|
|
authMapping: async (auth) => ({
|
|
Authorization: `SSWS ${(auth).props.apiToken}`,
|
|
}),
|
|
}),
|
|
],
|
|
triggers: [newEventTrigger],
|
|
});
|