UNPKG

@mediarithmics/plugins-nodejs-sdk

Version:

This is the mediarithmics nodejs to help plugin developers bootstrapping their plugin without having to deal with most of the plugin boilerplate

37 lines (34 loc) 926 B
import { UserAccountIdentifierInfo, UserAgentIdentifierInfo, UserEmailIdentifierInfo, UserPointIdentifierInfo, } from '../../reference/UserIdentifierInterface'; import { EmailRenderingContext, PluginEmailContent, PluginEmailMeta } from '../emailtemplaterenderer'; export interface EmailRoutingRequest { email_router_id: string; call_id: string; context: EmailRenderingContext; creative_id: string; campaign_id: string; blast_id: string; datamart_id: string; user_identifiers: ( | UserPointIdentifierInfo | UserEmailIdentifierInfo | UserAccountIdentifierInfo | UserAgentIdentifierInfo )[]; meta: PluginEmailMeta; content: PluginEmailContent; data: unknown; } export interface CheckEmailsRequest { email_router_id: string; user_identifiers: ( | UserPointIdentifierInfo | UserEmailIdentifierInfo | UserAccountIdentifierInfo | UserAgentIdentifierInfo )[]; }