Files
smoothschedule/activepieces-fork/packages/pieces/community/front/src/index.ts
poduck 3aa7199503 Add Activepieces integration for workflow automation
- 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>
2025-12-18 22:59:37 -05:00

71 lines
2.7 KiB
TypeScript

import { createPiece, PieceAuth } from "@activepieces/pieces-framework";
import { addComment } from "./lib/actions/add-comment";
import { addContactHandle } from "./lib/actions/add-contact-handle";
import { addConversationLinks } from "./lib/actions/add-conversation-links";
import { addConversationTags } from "./lib/actions/add-conversation-tags";
import { assignUnassignConversation } from "./lib/actions/assign-unassign-conversation";
import { createAccount } from "./lib/actions/create-account";
import { createContact } from "./lib/actions/create-contact";
import { createDraft } from "./lib/actions/create-draft";
import { createDraftReply } from "./lib/actions/create-draft-reply";
import { createLink } from "./lib/actions/create-link";
import { removeContactHandle } from "./lib/actions/remove-contact-handle";
import { removeConversationLinks } from "./lib/actions/remove-conversation-links";
import { sendMessage } from "./lib/actions/send-message";
import { sendReply } from "./lib/actions/send-reply";
import { updateAccount } from "./lib/actions/update-account";
import { updateContact } from "./lib/actions/update-contact";
import { updateConversation } from "./lib/actions/update-conversation";
import { updateLink } from "./lib/actions/update-link";
import { newComment } from "./lib/triggers/new-comment";
import { newInboundMessage } from "./lib/triggers/new-inbound-message";
import { newOutboundMessage } from "./lib/triggers/new-outbound-message";
import { newTagAddedToMessage } from "./lib/triggers/new-tag-added-to-message";
import { findAccount } from "./lib/actions/find-account";
import { findContact } from "./lib/actions/find-contact";
import { findConversation } from "./lib/actions/find-conversation";
import { newConversationStateChange } from "./lib/triggers/new-conversation-state-change";
import { frontAuth } from "./lib/common/auth";
import { PieceCategory } from "@activepieces/shared";
export const front = createPiece({
displayName: "Front",
auth: frontAuth,
minimumSupportedRelease: '0.36.1',
logoUrl: "https://cdn.activepieces.com/pieces/front.jpg",
authors: ['Niket2035'],
categories:[PieceCategory.CUSTOMER_SUPPORT],
actions: [
addComment,
addContactHandle,
addConversationLinks,
addConversationTags,
assignUnassignConversation,
createAccount,
createContact,
createDraft,
createDraftReply,
createLink,
findAccount,
findContact,
findConversation,
removeContactHandle,
removeConversationLinks,
removeContactHandle,
sendMessage,
sendReply,
updateAccount,
updateContact,
updateConversation,
updateLink
],
triggers: [
newComment,
newInboundMessage,
newOutboundMessage,
newTagAddedToMessage,
newConversationStateChange
],
});