///
import http from 'http';
import { MSAnalyticsMemberCountPartitionedByDate } from '../model/mSAnalyticsMemberCountPartitionedByDate';
import { MSAnalyticsMemberPointsRedeemedPartitionedByDate } from '../model/mSAnalyticsMemberPointsRedeemedPartitionedByDate';
import { MSAnalyticsMemberPointsRefundedPartitionedByDate } from '../model/mSAnalyticsMemberPointsRefundedPartitionedByDate';
import { MSAnalyticsMembershipTierAmountRedeemedPartitionedByDate } from '../model/mSAnalyticsMembershipTierAmountRedeemedPartitionedByDate';
import { MSAnalyticsMembershipTierAmountRefundedPartitionedByDate } from '../model/mSAnalyticsMembershipTierAmountRefundedPartitionedByDate';
import { WTCountResult } from '../model/wTCountResult';
import { WTWalletObjectPrefixCounts } from '../model/wTWalletObjectPrefixCounts';
import { WTWalletPageView } from '../model/wTWalletPageView';
import { WalletPageView } from '../model/walletPageView';
import { Authentication, Interceptor } from '../model/models';
import { ApiKeyAuth } from '../model/models';
export declare enum AnalyticsApiApiKeys {
api_key = 0
}
export declare class AnalyticsApi {
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: AnalyticsApiApiKeys, value: string): void;
addInterceptor(interceptor: Interceptor): void;
countAllSubscribers(isSubscribed?: boolean, isPendingAge21Verification?: boolean, isArchiveIncluded?: boolean, startDate?: Date, endDate?: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: WTCountResult;
}>;
countAuthenticatedSessions(startDate?: Date, endDate?: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
countDistinctRedemptions(startDate: Date, endDate: Date, transactionType?: string, segmentType?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
countHelpDeskRequests(startDate: Date, endDate: Date, locale: string, timezone: string, isResolved?: boolean, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
countInboundMessages(startDate?: Date, endDate?: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: WTCountResult;
}>;
countNewSessions(startDate?: Date, endDate?: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
countOptInListSubscribersPartitionedByDate(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
countOutboundMessages(startDate?: Date, endDate?: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: WTCountResult;
}>;
countTotalSessions(startDate?: Date, endDate?: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
countTransactions(startDate: Date, endDate: Date, transactionType?: string, segmentType?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
countVerifiedWalletPageViews(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
countWalletPageViews(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
exitLinkSummary(startDate?: Date, endDate?: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsAdCreditsCountPartitionedByEmployee(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsAdCreditsCountPartitionedByPaymentDesign(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsAdCreditsCountPartitionedByValueType(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsAdCreditsRedemptionsAmountPartitionedByAdCreditID(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsAdCreditsRedemptionsAmountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsAdCreditsRedemptionsCountPartitionedByAdCreditID(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsAdCreditsRedemptionsCountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsAdCreditsRefundsAmountPartitionedByAdCreditID(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsAdCreditsRefundsAmountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsAdCreditsRefundsCountPartitionedByAdCreditID(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsAdCreditsRefundsCountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsAdCreditsScansCountPartitionedByAdCreditID(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsAdCreditsScansCountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsCampaignWalletPageViews(campaignID: any, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsCampaignsCountPartitionedByCampaignID(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsCampaignsCountPartitionedByEmployee(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsCampaignsCountPartitionedByPaymentDesign(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsCampaignsCountPartitionedByValueType(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsCampaignsRedemptionsAmountPartitionedByCampaignID(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsCampaignsRedemptionsAmountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsCampaignsRedemptionsCountPartitionedByCampaignID(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsCampaignsRedemptionsCountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsCampaignsRefundsAmountPartitionedByCampaignID(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsCampaignsRefundsAmountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsCampaignsRefundsCountPartitionedByCampaignID(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsCampaignsRefundsCountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsDeliveredOutboundMessagesCountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsDeliveredOutboundMessagesCountPartitionedByPhoneNumber(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsDistinctWalletSessions(startDate?: Date, endDate?: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsDynamicVouchersCountPartitionedByEmployee(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsDynamicVouchersCountPartitionedByPaymentDesign(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsDynamicVouchersRedemptionsAmountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsDynamicVouchersRedemptionsAmountPartitionedByDynamicVoucherID(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsDynamicVouchersRedemptionsCountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsDynamicVouchersRedemptionsCountPartitionedByDynamicVoucherID(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsDynamicVouchersRefundsAmountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsDynamicVouchersRefundsAmountPartitionedByDynamicVoucherID(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsDynamicVouchersRefundsCountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsDynamicVouchersRefundsCountPartitionedByDynamicVoucherID(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsHelpDeskRequestsCreatedCountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsHelpDeskRequestsResolvedCountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsHelpDeskRequestsResolvedCountPartitionedByEmployee(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsHelpDeskRequestsUnresolvedCountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsItemWalletPageViews(itemID: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsMemberCount(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsMerchantCreditCount(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsOfferVsRedeemedAmountPartitionedByCampaignID(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsPaymentObjectBroadcastsCreatedCountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsPaymentObjectBroadcastsIndividualExecutionTimeOfCompletedBroadcasts(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsPaymentObjectBroadcastsScheduledCountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsPaymentObjectBroadcastsScheduledCountPartitionedByEmployee(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsPaymentObjectBroadcastsScheduledCountPartitionedByPhoneNumber(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsPaymentObjectBroadcastsScheduledSMSCountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsSentOutboundMessagesCountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsSentOutboundMessagesCountPartitionedByPhoneNumber(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsStaticVoucherWalletPageViews(voucherID: any, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsTCPAFiltersCreateCountPartitionedByDate(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsTCPAFiltersDeleteCountPartitionedByDate(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsTCPAStopCountPartitionedByDate(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsTCPAStopCountPartitionedByPhoneNumber(startDate: Date, endDate: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsTotalAmountRedeemedPerMerchantCredit(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsTotalAmountRedeemedPerTier(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsTotalAmountRefundedPerMerchantCredit(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
fetchAnalyticsTotalAmountRefundedPerTier(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsTotalPointsRedeemed(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsTotalPointsRefunded(startDate: Date, endDate: Date, locale: string, timezone: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchAnalyticsWalletSessionActivity(sessionID: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchWalletPageViewByID(id: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: WalletPageView;
}>;
referringSitesSummary(startDate?: Date, endDate?: Date, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
sumRevenue(startDate: Date, endDate: Date, transactionType?: string, segmentType?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
sumTransactions(startDate: Date, endDate: Date, transactionType?: string, segmentType?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: any;
}>;
}