import { UpdateType } from '../../plugin/audiencefeedconnector/AudienceFeedConnectorRequestInterface'; export interface BatchUpdateContext { endpoint: string; grouping_key: string; } export interface BatchUpdateRequest { batch_content: T[]; ts: number; context: C; } export interface BatchUpdatePluginResponse { status: BatchUpdatePluginResponseStatus; message?: string; next_msg_delay_in_ms?: number; sent_items_in_success: number; sent_items_in_error: number; } export type BatchUpdatePluginResponseStatus = 'OK' | 'ERROR' | 'RETRY';