/** * ForestVPN Cloud API * ForestVPN Cloud - it's a Google Cloud but for VPN apps. Ready to use VPN Cloud Platform minimizes efforts to build fast, secure, and modern VPN apps. * * OpenAPI spec version: 2.0 * Contact: support@forestvpn.com * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { AggregatedDataUsageStats } from '../models'; /** * AnalyticsApi - axios parameter creator * @export */ export declare const AnalyticsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Users data usage dtatistics for each device * @summary Data Usage Stats * @param {string} aggr_interval No more than 3 days for hour aggregation type * @param {string} [profile] Profile ID * @param {string} [date_after] No more than 3 months between date_after and date_before * @param {string} [date_before] No more than 3 months between date_after and date_before * @param {Array} [profile__in] Filter by profile * @param {string} [ordering] Sort output by (use \"-\" for desc ordering (i.g \"-usage_time\")) * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDataUsageStats: (aggr_interval: string, profile?: string, date_after?: string, date_before?: string, profile__in?: Array, ordering?: string, options?: AxiosRequestConfig) => Promise; }; /** * AnalyticsApi - functional programming interface * @export */ export declare const AnalyticsApiFp: (configuration?: Configuration) => { /** * Users data usage dtatistics for each device * @summary Data Usage Stats * @param {string} aggr_interval No more than 3 days for hour aggregation type * @param {string} [profile] Profile ID * @param {string} [date_after] No more than 3 months between date_after and date_before * @param {string} [date_before] No more than 3 months between date_after and date_before * @param {Array} [profile__in] Filter by profile * @param {string} [ordering] Sort output by (use \"-\" for desc ordering (i.g \"-usage_time\")) * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDataUsageStats(aggr_interval: string, profile?: string, date_after?: string, date_before?: string, profile__in?: Array, ordering?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>>; }; /** * AnalyticsApi - factory interface * @export */ export declare const AnalyticsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Users data usage dtatistics for each device * @summary Data Usage Stats * @param {string} aggr_interval No more than 3 days for hour aggregation type * @param {string} [profile] Profile ID * @param {string} [date_after] No more than 3 months between date_after and date_before * @param {string} [date_before] No more than 3 months between date_after and date_before * @param {Array} [profile__in] Filter by profile * @param {string} [ordering] Sort output by (use \"-\" for desc ordering (i.g \"-usage_time\")) * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDataUsageStats(aggr_interval: string, profile?: string, date_after?: string, date_before?: string, profile__in?: Array, ordering?: string, options?: AxiosRequestConfig): Promise>>; }; /** * AnalyticsApi - object-oriented interface * @export * @class AnalyticsApi * @extends {BaseAPI} */ export declare class AnalyticsApi extends BaseAPI { /** * Users data usage dtatistics for each device * @summary Data Usage Stats * @param {string} aggr_interval No more than 3 days for hour aggregation type * @param {string} [profile] Profile ID * @param {string} [date_after] No more than 3 months between date_after and date_before * @param {string} [date_before] No more than 3 months between date_after and date_before * @param {Array} [profile__in] Filter by profile * @param {string} [ordering] Sort output by (use \"-\" for desc ordering (i.g \"-usage_time\")) * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AnalyticsApi */ getDataUsageStats(aggr_interval: string, profile?: string, date_after?: string, date_before?: string, profile__in?: Array, ordering?: string, options?: AxiosRequestConfig): Promise>>; }