import * as actions from "./actions" import * as triggers from "./triggers" import { defineAccount } from "../../automation/integrations" /** Declares a named Close account binding for an automation. */ export const closeAccount = defineAccount("close") /** Close CRM callables. */ export const close = { createComment: actions.createCloseComment, createContact: actions.createCloseContact, createEmail: actions.createCloseEmail, createLead: actions.createCloseLead, createNote: actions.createCloseNote, createOpportunity: actions.createCloseOpportunity, createSms: actions.createCloseSms, createTask: actions.createCloseTask, deleteCall: actions.deleteCloseCall, deleteComment: actions.deleteCloseComment, deleteContact: actions.deleteCloseContact, deleteEmail: actions.deleteCloseEmail, deleteLead: actions.deleteCloseLead, deleteNote: actions.deleteCloseNote, deleteOpportunity: actions.deleteCloseOpportunity, deleteSequenceSubscription: actions.deleteCloseSequenceSubscription, deleteSms: actions.deleteCloseSms, deleteTask: actions.deleteCloseTask, getComment: actions.getCloseComment, getCall: actions.getCloseCall, getContact: actions.getCloseContact, getCurrentUser: actions.getCurrentCloseUser, getEmail: actions.getCloseEmail, getLead: actions.getCloseLead, getNote: actions.getCloseNote, getOpportunity: actions.getCloseOpportunity, getSequence: actions.getCloseSequence, getSequenceSubscription: actions.getCloseSequenceSubscription, getSms: actions.getCloseSms, getTask: actions.getCloseTask, listActivities: actions.listCloseActivities, listCalls: actions.listCloseCalls, listComments: actions.listCloseComments, listContacts: actions.listCloseContacts, listEmails: actions.listCloseEmails, listLeads: actions.listCloseLeads, listLeadStatuses: actions.listCloseLeadStatuses, listOpportunities: actions.listCloseOpportunities, listOpportunityStatuses: actions.listCloseOpportunityStatuses, listPipelines: actions.listClosePipelines, listSequences: actions.listCloseSequences, listSequenceSubscriptions: actions.listCloseSequenceSubscriptions, listSmsMessages: actions.listCloseSmsMessages, listTasks: actions.listCloseTasks, listUsers: actions.listCloseUsers, logCall: actions.logCloseCall, mergeLeads: actions.mergeCloseLeads, onCallAnswered: triggers.onCloseCallAnswered, onCallCompleted: triggers.onCloseCallCompleted, onCommentCreated: triggers.onCloseCommentCreated, onCommentDeleted: triggers.onCloseCommentDeleted, onCommentUpdated: triggers.onCloseCommentUpdated, onContactCreated: triggers.onCloseContactCreated, onContactDeleted: triggers.onCloseContactDeleted, onContactUpdated: triggers.onCloseContactUpdated, onEvent: triggers.onCloseEvent, onEmailReceived: triggers.onCloseEmailReceived, onEmailSent: triggers.onCloseEmailSent, onLeadCreated: triggers.onCloseLeadCreated, onLeadDeleted: triggers.onCloseLeadDeleted, onLeadEnteredSmartView: triggers.onCloseLeadEnteredSmartView, onLeadExitedSmartView: triggers.onCloseLeadExitedSmartView, onLeadMerged: triggers.onCloseLeadMerged, onLeadUpdated: triggers.onCloseLeadUpdated, onMeetingCanceled: triggers.onCloseMeetingCanceled, onMeetingCompleted: triggers.onCloseMeetingCompleted, onMeetingScheduled: triggers.onCloseMeetingScheduled, onMeetingStarted: triggers.onCloseMeetingStarted, onOpportunityCreated: triggers.onCloseOpportunityCreated, onOpportunityDeleted: triggers.onCloseOpportunityDeleted, onOpportunityLost: triggers.onCloseOpportunityLost, onOpportunityUpdated: triggers.onCloseOpportunityUpdated, onOpportunityWon: triggers.onCloseOpportunityWon, onSequenceSubscriptionCreated: triggers.onCloseSequenceSubscriptionCreated, onSequenceSubscriptionDeleted: triggers.onCloseSequenceSubscriptionDeleted, onSequenceSubscriptionErrored: triggers.onCloseSequenceSubscriptionErrored, onSequenceSubscriptionFinished: triggers.onCloseSequenceSubscriptionFinished, onSequenceSubscriptionGoalReached: triggers.onCloseSequenceSubscriptionGoalReached, onSequenceSubscriptionPaused: triggers.onCloseSequenceSubscriptionPaused, onSequenceSubscriptionResumed: triggers.onCloseSequenceSubscriptionResumed, onSequenceSubscriptionUpdated: triggers.onCloseSequenceSubscriptionUpdated, onSmartViewCreated: triggers.onCloseSmartViewCreated, onSmartViewUpdated: triggers.onCloseSmartViewUpdated, onSmsReceived: triggers.onCloseSmsReceived, onSmsSent: triggers.onCloseSmsSent, onTaskCompleted: triggers.onCloseTaskCompleted, onTaskCreated: triggers.onCloseTaskCreated, onTaskDeleted: triggers.onCloseTaskDeleted, onTaskUpdated: triggers.onCloseTaskUpdated, subscribeContactToSequence: actions.subscribeCloseContactToSequence, updateCall: actions.updateCloseCall, updateComment: actions.updateCloseComment, updateContact: actions.updateCloseContact, updateEmail: actions.updateCloseEmail, updateLead: actions.updateCloseLead, updateNote: actions.updateCloseNote, updateOpportunity: actions.updateCloseOpportunity, updateSequenceSubscription: actions.updateCloseSequenceSubscription, updateSms: actions.updateCloseSms, updateTask: actions.updateCloseTask, uploadFile: actions.uploadCloseFile, } export * from "./actions" export * from "./triggers" export * from "@automate.ax/integration-contracts/close"