export declare enum TrackStatus { enqueued = "enqueued", sent = "send", delivered = "delivered", error = "error" } export declare enum SMSType { otp = "otp", hsm = "hsm" } export declare enum SMSResponseStatus { success = "success", failure = "failure" } export declare enum SMSProvider { gupshup = "Gupshup", cdac = "CDAC" } export type SMSError = { errorText: string; errorCode: string; }; export type SMSData = { phone: string; template: any; params: any; type: SMSType; }; export interface SMS { send(data: SMSData): Promise; track(data: SMSData): Promise; } export interface SMSResponse { messageID: string; phone: string; networkResponseCode: number; providerResponseCode: string; providerSuccessResponse: string; provider: SMSProvider; status: SMSResponseStatus; error: SMSError; } export interface OTPResponse extends SMSResponse { test: string; } export interface TrackResponse extends SMSResponse { test: string; } //# sourceMappingURL=sms.interface.d.ts.map