///
import http from 'http';
import { FetchImportedListRecipientsByPage200Response } from '../model/fetchImportedListRecipientsByPage200Response';
import { FetchOptInListSubscribersByPage200Response } from '../model/fetchOptInListSubscribersByPage200Response';
import { FetchOutboundSMSByPage200Response } from '../model/fetchOutboundSMSByPage200Response';
import { ImportedList } from '../model/importedList';
import { ImportedListRecipient } from '../model/importedListRecipient';
import { OptInList } from '../model/optInList';
import { OptInListSource } from '../model/optInListSource';
import { OptInListSubscriber } from '../model/optInListSubscriber';
import { OutboundSMS } from '../model/outboundSMS';
import { PhoneNumber } from '../model/phoneNumber';
import { SSImportedListRecipientCreateParams } from '../model/sSImportedListRecipientCreateParams';
import { SSOutboundStatuses } from '../model/sSOutboundStatuses';
import { StaticVoucherCampaignBroadcast } from '../model/staticVoucherCampaignBroadcast';
import { Tcpa } from '../model/tcpa';
import { WTCountResult } from '../model/wTCountResult';
import { WTEmployeeImportRecords } from '../model/wTEmployeeImportRecords';
import { WTImportedListRecipientFromMembershipTierImport } from '../model/wTImportedListRecipientFromMembershipTierImport';
import { WTOptInListCreationParams } from '../model/wTOptInListCreationParams';
import { WTSMSAcquirePhoneNumber } from '../model/wTSMSAcquirePhoneNumber';
import { WTSMSImportOptInListSubscribers } from '../model/wTSMSImportOptInListSubscribers';
import { WTSMSImportedListCreate } from '../model/wTSMSImportedListCreate';
import { WTSMSOptInListSourceCreate } from '../model/wTSMSOptInListSourceCreate';
import { WTSMSUpdatePhoneNumberConfig } from '../model/wTSMSUpdatePhoneNumberConfig';
import { Authentication, Interceptor } from '../model/models';
import { ApiKeyAuth } from '../model/models';
export declare enum SMSApiApiKeys {
api_key = 0
}
export declare class SMSApi {
protected _basePath: string;
protected _defaultHeaders: any;
protected _useQuerystring: boolean;
protected authentications: {
'default': Authentication;
'api_key': ApiKeyAuth;
};
protected interceptors: Interceptor[];
constructor(basePath?: string);
useQuerystring: boolean;
basePath: string;
defaultHeaders: any;
setDefaultAuthentication(auth: Authentication): void;
setApiKey(key: SMSApiApiKeys, value: string): void;
addInterceptor(interceptor: Interceptor): void;
acquirePhoneNumber(wTSMSAcquirePhoneNumber: WTSMSAcquirePhoneNumber, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: PhoneNumber;
}>;
archivePhoneNumber(phoneNumberID: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: PhoneNumber;
}>;
archiveRecipient(id: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: ImportedListRecipient;
}>;
countImportedListRecipients(listID: string, isArchiveIncluded?: boolean, startDate?: Date, endDate?: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: WTCountResult;
}>;
countOptInListSubscribers(listID: string, isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, startDate?: Date, endDate?: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: WTCountResult;
}>;
countOptInSourceSubscribers(sourceID: string, isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, startDate?: Date, endDate?: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: WTCountResult;
}>;
countOutboundSMS(phoneNumberID: string, toPhoneNumber?: string, status?: string, paymentObjectBroadcastID?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: WTCountResult;
}>;
createImportedList(wTSMSImportedListCreate: WTSMSImportedListCreate, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: ImportedList;
}>;
createOptInList(wTOptInListCreationParams: WTOptInListCreationParams, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: OptInList;
}>;
createOptInListSource(wTSMSOptInListSourceCreate: WTSMSOptInListSourceCreate, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: OptInListSource;
}>;
createRecipientInImportedList(sSImportedListRecipientCreateParams: SSImportedListRecipientCreateParams, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: ImportedListRecipient;
}>;
exportImportedListRecipients(importedListID: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
exportOptInListSubscribers(listID: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
fetchBlockedTCPAEntries(phoneNumberID: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchImportedListRecipients(listID: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchImportedListRecipientsByPage(listID: string, pageSize?: number, pageNum?: number, isArchiveIncluded?: boolean, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: FetchImportedListRecipientsByPage200Response;
}>;
fetchOptInListSources(isArchiveIncluded?: boolean, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchOptInListSubscribers(listID: string, isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchOptInListSubscribersByPage(listID: string, pageSize?: number, pageNum?: number, isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: FetchOptInListSubscribersByPage200Response;
}>;
fetchOptInListsAssociatedWithPhoneNumber(phoneNumberID: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchOptInSourceSubscribers(sourceID: string, isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchOptInSourcesAssociatedWithPhoneNumber(phoneNumberID: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchOutboundSMS(phoneNumberID: string, toPhoneNumber?: string, status?: string, paymentObjectBroadcastID?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchOutboundSMSByPage(phoneNumberID: string, toPhoneNumber?: string, paymentObjectBroadcastID?: string, pageSize?: number, pageNum?: number, status?: SSOutboundStatuses, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: FetchOutboundSMSByPage200Response;
}>;
fetchPaymentObjectBroadcasts(phoneNumberID: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchSMSAgreement(options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
importImportedListRecipients(importedListID: string, wTEmployeeImportRecords: WTEmployeeImportRecords, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
importImportedListRecipientsFromMembershipTier(wTImportedListRecipientFromMembershipTierImport: WTImportedListRecipientFromMembershipTierImport, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
importOptInListSubscribers(listID: string, wTSMSImportOptInListSubscribers: WTSMSImportOptInListSubscribers, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
restorePhoneNumber(phoneNumberID: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: PhoneNumber;
}>;
restoreRecipient(id: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: ImportedListRecipient;
}>;
retrieveSentAndMaxCountOfMessages(options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
saveImportedList(listID: string, wTSMSImportedListCreate: WTSMSImportedListCreate, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: ImportedList;
}>;
saveOptInList(listID: string, wTOptInListCreationParams: WTOptInListCreationParams, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: OptInList;
}>;
saveOptInListSource(sourceID: string, wTSMSOptInListSourceCreate: WTSMSOptInListSourceCreate, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: OptInListSource;
}>;
sendPhoneNumberForVerification(phoneNumberID: string, wTSMSUpdatePhoneNumberConfig: WTSMSUpdatePhoneNumberConfig, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
updatePhoneNumber(phoneNumberID: string, wTSMSUpdatePhoneNumberConfig: WTSMSUpdatePhoneNumberConfig, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: PhoneNumber;
}>;
}