UNPKG

@forestvpn/forestvpn_api

Version:

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

71 lines (70 loc) 2.29 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 { ICOLanding } from '../models'; /** * IcoApi - axios parameter creator * @export */ export declare const IcoApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary Initial Coin Offering. Landing page * @param {*} [options] Override http request option. * @throws {RequiredError} */ iCOLanding: (options?: AxiosRequestConfig) => Promise<RequestArgs>; }; /** * IcoApi - functional programming interface * @export */ export declare const IcoApiFp: (configuration?: Configuration) => { /** * * @summary Initial Coin Offering. Landing page * @param {*} [options] Override http request option. * @throws {RequiredError} */ iCOLanding(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<ICOLanding>>>; }; /** * IcoApi - factory interface * @export */ export declare const IcoApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary Initial Coin Offering. Landing page * @param {*} [options] Override http request option. * @throws {RequiredError} */ iCOLanding(options?: AxiosRequestConfig): Promise<AxiosResponse<ICOLanding>>; }; /** * IcoApi - object-oriented interface * @export * @class IcoApi * @extends {BaseAPI} */ export declare class IcoApi extends BaseAPI { /** * * @summary Initial Coin Offering. Landing page * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof IcoApi */ iCOLanding(options?: AxiosRequestConfig): Promise<AxiosResponse<ICOLanding>>; }