import { ApiResponse } from "../../../interfaces/api.interface"; import { ApiAuthKey, SMSserviceAuth } from "../../../types/api.type"; import { LookupMessageResponse, LookupReservedMessageResponse, LookupResultResponse, MMS_File, SendMessageResponse } from "../../../types/sms.type"; /** * `SMS` service provider. * * It'll provide user separated message request functions. For users, provides separated functions which * attatched it's purpose. Originally, just 1 api provided from SENS seervice, but this wrapper provides * autocompleted method styles to decrease developer's mistake. * * @class */ export declare class SMS { /** * The ApiClient for working with http request * * @access private * @type `ApiClient` * @memberof SMS */ private client; /** * The RequestFactory for provide SMS api request * * @access private * @class `SMSRequestFactory` * @memberof SMS */ private requestFactory; /** * Creates an instance of SMS service agent. * * @param authKey `ApiAuthKey` NCP API authentication data for using API * @param smsAuth `SMSserviceAuth` Service identification for using SMS Service * @memberof SMS */ constructor(authKey: ApiAuthKey, smsAuth: SMSserviceAuth); sendSMS(to: string | string[], content: string, isAd?: boolean): Promise>; sendLMS(to: string | string[], subject: string, content: string, isAd?: boolean): Promise>; sendMMS(to: string | string[], subject: string, content: string, isAd?: boolean, files?: MMS_File[]): Promise>; reserveSMS(to: string | string[], content: string, reserveTime: string, isAd?: boolean): Promise>; reserveLMS(to: string | string[], subject: string, content: string, reserveTime: string, isAd?: boolean): Promise>; reserveMMS(to: string | string[], subject: string, content: string, reserveTime: string, isAd?: boolean, files?: MMS_File[]): Promise>; scheduleSMS(to: string | string[], content: string, scheduleCode: string, isAd?: boolean): Promise>; scheduleLMS(to: string | string[], subject: string, content: string, scheduleCode: string, isAd?: boolean): Promise>; scheduleMMS(to: string | string[], subject: string, content: string, scheduleCode: string, isAd?: boolean, files?: MMS_File[]): Promise>; lookupMessageRequest(requestId: string): Promise>; lookupMessageResult(messageId: string): Promise>; lookupReservedMessage(reserveId: string): Promise>; cancelReservedMessage(reserveId: string): Promise>; cancelScheduledMessage(scheduleCode: string, messageId: string): Promise>; }