import type { IntegrationAccountRequirement, TriggerDefinition } from "../types" const CLOSE_ACCOUNT = { connectionOptions: [{ requiredScopes: [] }], serviceId: "close", } as const satisfies IntegrationAccountRequirement export const closeTriggerDefinitions = { closeCallAnswered: { account: CLOSE_ACCOUNT, type: "close.call.answered" }, closeCallCompleted: { account: CLOSE_ACCOUNT, type: "close.call.completed" }, closeCommentCreated: { account: CLOSE_ACCOUNT, type: "close.comment.created", }, closeCommentDeleted: { account: CLOSE_ACCOUNT, type: "close.comment.deleted", }, closeCommentUpdated: { account: CLOSE_ACCOUNT, type: "close.comment.updated", }, closeContactCreated: { account: CLOSE_ACCOUNT, type: "close.contact.created", }, closeContactDeleted: { account: CLOSE_ACCOUNT, type: "close.contact.deleted", }, closeContactUpdated: { account: CLOSE_ACCOUNT, type: "close.contact.updated", }, closeEmailReceived: { account: CLOSE_ACCOUNT, type: "close.email.received" }, closeEmailSent: { account: CLOSE_ACCOUNT, type: "close.email.sent" }, closeEvent: { account: CLOSE_ACCOUNT, type: "close.event" }, closeLeadCreated: { account: CLOSE_ACCOUNT, type: "close.lead.created" }, closeLeadDeleted: { account: CLOSE_ACCOUNT, type: "close.lead.deleted" }, closeLeadMerged: { account: CLOSE_ACCOUNT, type: "close.lead.merged" }, closeLeadUpdated: { account: CLOSE_ACCOUNT, type: "close.lead.updated" }, closeLeadEnteredSmartView: { account: CLOSE_ACCOUNT, type: "close.smartView.leadEntered", }, closeLeadExitedSmartView: { account: CLOSE_ACCOUNT, type: "close.smartView.leadExited", }, closeMeetingCanceled: { account: CLOSE_ACCOUNT, type: "close.meeting.canceled", }, closeMeetingCompleted: { account: CLOSE_ACCOUNT, type: "close.meeting.completed", }, closeMeetingScheduled: { account: CLOSE_ACCOUNT, type: "close.meeting.scheduled", }, closeMeetingStarted: { account: CLOSE_ACCOUNT, type: "close.meeting.started", }, closeOpportunityCreated: { account: CLOSE_ACCOUNT, type: "close.opportunity.created", }, closeOpportunityDeleted: { account: CLOSE_ACCOUNT, type: "close.opportunity.deleted", }, closeOpportunityLost: { account: CLOSE_ACCOUNT, type: "close.opportunity.lost", }, closeOpportunityUpdated: { account: CLOSE_ACCOUNT, type: "close.opportunity.updated", }, closeOpportunityWon: { account: CLOSE_ACCOUNT, type: "close.opportunity.won", }, closeSequenceSubscriptionCreated: { account: CLOSE_ACCOUNT, type: "close.sequenceSubscription.created", }, closeSequenceSubscriptionDeleted: { account: CLOSE_ACCOUNT, type: "close.sequenceSubscription.deleted", }, closeSequenceSubscriptionErrored: { account: CLOSE_ACCOUNT, type: "close.sequenceSubscription.errored", }, closeSequenceSubscriptionFinished: { account: CLOSE_ACCOUNT, type: "close.sequenceSubscription.finished", }, closeSequenceSubscriptionGoalReached: { account: CLOSE_ACCOUNT, type: "close.sequenceSubscription.goalReached", }, closeSequenceSubscriptionPaused: { account: CLOSE_ACCOUNT, type: "close.sequenceSubscription.paused", }, closeSequenceSubscriptionResumed: { account: CLOSE_ACCOUNT, type: "close.sequenceSubscription.resumed", }, closeSequenceSubscriptionUpdated: { account: CLOSE_ACCOUNT, type: "close.sequenceSubscription.updated", }, closeSmartViewCreated: { account: CLOSE_ACCOUNT, type: "close.smartView.created", }, closeSmartViewUpdated: { account: CLOSE_ACCOUNT, type: "close.smartView.updated", }, closeSmsReceived: { account: CLOSE_ACCOUNT, type: "close.sms.received" }, closeSmsSent: { account: CLOSE_ACCOUNT, type: "close.sms.sent" }, closeTaskCompleted: { account: CLOSE_ACCOUNT, type: "close.task.completed" }, closeTaskCreated: { account: CLOSE_ACCOUNT, type: "close.task.created" }, closeTaskDeleted: { account: CLOSE_ACCOUNT, type: "close.task.deleted" }, closeTaskUpdated: { account: CLOSE_ACCOUNT, type: "close.task.updated" }, } as const satisfies Record