import * as actions from "./actions" import * as broadcasts from "./broadcasts" import * as contactImports from "./contact-imports" import * as contactProperties from "./contact-properties" import * as contacts from "./contacts" import * as contactTopics from "./contact-topics" import * as customEvents from "./custom-events" import * as domains from "./domains" import * as logs from "./logs" import * as segments from "./segments" import * as suppressions from "./suppressions" import * as templates from "./templates" import * as topics from "./topics" import * as triggers from "./triggers" import { defineAccount } from "../../automation/integrations" /** Declares a named Resend account binding for an automation. */ export const resendAccount = defineAccount("resend") /** Resend callables. */ export const resend = { addContactToSegment: contacts.addResendContactToSegment, addSuppressionsBatch: suppressions.addResendSuppressionsBatch, cancelBroadcast: broadcasts.cancelResendBroadcast, cancelScheduledEmail: actions.cancelScheduledResendEmail, createBroadcast: broadcasts.createResendBroadcast, createContact: contacts.createResendContact, createContactImport: contactImports.createResendContactImport, createContactProperty: contactProperties.createResendContactProperty, createCustomEventDefinition: customEvents.createResendCustomEventDefinition, createDomain: domains.createResendDomain, createDomainClaim: domains.createResendDomainClaim, createSegment: segments.createResendSegment, createSuppression: suppressions.createResendSuppression, createTemplate: templates.createResendTemplate, createTopic: topics.createResendTopic, deleteBroadcast: broadcasts.deleteResendBroadcast, deleteContact: contacts.deleteResendContact, deleteContactProperty: contactProperties.deleteResendContactProperty, deleteCustomEventDefinition: customEvents.deleteResendCustomEventDefinition, deleteDomain: domains.deleteResendDomain, deleteSegment: segments.deleteResendSegment, deleteSuppression: suppressions.deleteResendSuppression, deleteTemplate: templates.deleteResendTemplate, deleteTopic: topics.deleteResendTopic, duplicateTemplate: templates.duplicateResendTemplate, getBroadcast: broadcasts.getResendBroadcast, getContact: contacts.getResendContact, getContactImport: contactImports.getResendContactImport, getContactProperty: contactProperties.getResendContactProperty, getCustomEventDefinition: customEvents.getResendCustomEventDefinition, getDomain: domains.getResendDomain, getDomainClaim: domains.getResendDomainClaim, getEmail: actions.getResendEmail, getEmailAttachment: actions.getResendEmailAttachment, getEmailMetrics: actions.getResendEmailMetrics, getLog: logs.getResendLog, getReceivedEmail: actions.getReceivedResendEmail, getReceivedEmailAttachment: actions.getReceivedResendEmailAttachment, getSegment: segments.getResendSegment, getSuppression: suppressions.getResendSuppression, getTemplate: templates.getResendTemplate, getTopic: topics.getResendTopic, listBroadcastClickedLinks: broadcasts.listResendBroadcastClickedLinks, listBroadcastRecipients: broadcasts.listResendBroadcastRecipients, listBroadcasts: broadcasts.listResendBroadcasts, listContactImports: contactImports.listResendContactImports, listContactProperties: contactProperties.listResendContactProperties, listContacts: contacts.listResendContacts, listContactSegments: contacts.listResendContactSegments, listContactTopics: contactTopics.listResendContactTopics, listCustomEventDefinitions: customEvents.listResendCustomEventDefinitions, listDomains: domains.listResendDomains, listEmailAttachments: actions.listResendEmailAttachments, listEmails: actions.listResendEmails, listLogs: logs.listResendLogs, listReceivedEmailAttachments: actions.listReceivedResendEmailAttachments, listReceivedEmails: actions.listReceivedResendEmails, listSegments: segments.listResendSegments, listSuppressions: suppressions.listResendSuppressions, listTemplates: templates.listResendTemplates, listTopics: topics.listResendTopics, onContactCreated: triggers.onResendContactCreated, onContactDeleted: triggers.onResendContactDeleted, onContactEvent: triggers.onResendContactEvent, onContactUpdated: triggers.onResendContactUpdated, onDomainCreated: triggers.onResendDomainCreated, onDomainDeleted: triggers.onResendDomainDeleted, onDomainEvent: triggers.onResendDomainEvent, onDomainUpdated: triggers.onResendDomainUpdated, onEmailBounced: triggers.onResendEmailBounced, onEmailClicked: triggers.onResendEmailClicked, onEmailComplained: triggers.onResendEmailComplained, onEmailDelivered: triggers.onResendEmailDelivered, onEmailDeliveryDelayed: triggers.onResendEmailDeliveryDelayed, onEmailEvent: triggers.onResendEmailEvent, onEmailFailed: triggers.onResendEmailFailed, onEmailOpened: triggers.onResendEmailOpened, onEmailReceived: triggers.onResendEmailReceived, onEmailScheduled: triggers.onResendEmailScheduled, onEmailSent: triggers.onResendEmailSent, onEmailSuppressed: triggers.onResendEmailSuppressed, onEvent: triggers.onResendEvent, onSuppressionAdded: triggers.onResendSuppressionAdded, onSuppressionEvent: triggers.onResendSuppressionEvent, onSuppressionRemoved: triggers.onResendSuppressionRemoved, publishTemplate: templates.publishResendTemplate, removeContactFromSegment: contacts.removeResendContactFromSegment, removeSuppressionsBatch: suppressions.removeResendSuppressionsBatch, sendBroadcast: broadcasts.sendResendBroadcast, sendCustomEvent: customEvents.sendResendCustomEvent, sendEmail: actions.sendResendEmail, sendEmailBatch: actions.sendResendEmailBatch, shareEmail: actions.shareResendEmail, updateBroadcast: broadcasts.updateResendBroadcast, updateContact: contacts.updateResendContact, updateContactProperty: contactProperties.updateResendContactProperty, updateContactTopics: contactTopics.updateResendContactTopics, updateCustomEventDefinition: customEvents.updateResendCustomEventDefinition, updateDomain: domains.updateResendDomain, updateScheduledEmail: actions.updateScheduledResendEmail, updateTemplate: templates.updateResendTemplate, updateTopic: topics.updateResendTopic, verifyDomain: domains.verifyResendDomain, verifyDomainClaim: domains.verifyResendDomainClaim, } export * from "./actions" export * from "./broadcasts" export * from "./contact-imports" export * from "./contact-properties" export * from "./contact-topics" export * from "./contacts" export * from "./custom-events" export * from "./domains" export * from "./logs" export * from "./segments" export * from "./suppressions" export * from "./templates" export * from "./topics" export { getResendApi } from "./lib" export * from "./triggers"