@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
26 lines • 929 B
TypeScript
import { BatchClassEnum } from './BatchClassEnum';
import { PhoneNumber } from '../PhoneNumber';
/** Params to create a batch */
export interface BatchParams {
/** @deprecated Deprecated: SMS class */
class: BatchClassEnum;
/** SMS deferred sending date */
deferred: string;
/** SMS sender. Either "from" or "senderForResponse" must be passed */
from: string;
/** SMS message */
message: string;
/** Batch name */
name: string;
/** STOP clause not needed */
noStop: boolean;
/** Ask to compute a sender that allows response. Either "from" or "senderForResponse" must be passed */
senderForResponse: boolean;
/** SMS receivers slot ID. Either "to" or "slotID" must be passed */
slotID: string;
/** SMS tag */
tag: string;
/** SMS receivers list. Either "to" or "slotID" must be passed */
to: PhoneNumber[];
}
//# sourceMappingURL=BatchParams.d.ts.map