UNPKG

@forestvpn/forestvpn_api

Version:

A package to interact api.forestvpn.com (manage vpn profiles, check usage statistics, manage locations, ...)

75 lines (74 loc) 2.78 kB
/** * ForestVPN API * ForestVPN - Fast, secure, and modern VPN. It offers Distributed Computing, Crypto Mining, P2P, Ad Blocking, TOR over VPN, 30+ locations, and a free version with unlimited data. * * 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 { PlayStorePurchaseVerificationRequest } from '../models'; /** * GoogleApi - axios parameter creator * @export */ export declare const GoogleApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary Play store purchase verification * @param {PlayStorePurchaseVerificationRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ verifyPlayStorePurchase: (body: PlayStorePurchaseVerificationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>; }; /** * GoogleApi - functional programming interface * @export */ export declare const GoogleApiFp: (configuration?: Configuration) => { /** * * @summary Play store purchase verification * @param {PlayStorePurchaseVerificationRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ verifyPlayStorePurchase(body: PlayStorePurchaseVerificationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>>; }; /** * GoogleApi - factory interface * @export */ export declare const GoogleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary Play store purchase verification * @param {PlayStorePurchaseVerificationRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ verifyPlayStorePurchase(body: PlayStorePurchaseVerificationRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>; }; /** * GoogleApi - object-oriented interface * @export * @class GoogleApi * @extends {BaseAPI} */ export declare class GoogleApi extends BaseAPI { /** * * @summary Play store purchase verification * @param {PlayStorePurchaseVerificationRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof GoogleApi */ verifyPlayStorePurchase(body: PlayStorePurchaseVerificationRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<void>>; }