UNPKG

verimor-api-sdk

Version:
39 lines (38 loc) 978 B
import { RecipientType } from '../enums/recipient-type'; export interface ISingleSmsRequest { /** * The message content */ msg: string; /** * Destination phone number */ dest: string; /** * ID of campaign item */ id?: string; } /** * Interface representing an SMS request payload. */ export interface SmsRequest { /** * Message array */ messages: ISingleSmsRequest[]; /** The sender ID. */ source_addr?: string; /** Scheduled start time (ISO 8601 format). */ send_at?: string; /** Expiration time (in S:DD format, e.g., "24:00"). */ valid_for?: string; /** Custom ID for the campaign. */ custom_id?: string; /** Data coding scheme. */ datacoding?: string; /** Whether to apply IYS filter. */ is_commercial?: boolean; /** Recipient type for IYS ("BIREYSEL" or "TACIR"). */ iys_recipient_type?: RecipientType; }