@forestvpn/forestvpn_api
Version:
A package to interact api.forestvpn.com (manage vpn profiles, check usage statistics, manage locations, ...)
68 lines (67 loc) • 1.51 kB
TypeScript
/**
* 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 { UserAgent } from './user-agent';
/**
*
*
* @export
* @interface AccessTokenRequest
*/
export interface AccessTokenRequest {
/**
* @type {string}
* @memberof AccessTokenRequest
*/
id: string;
/**
* It might be empty string
*
* @type {string}
* @memberof AccessTokenRequest
*/
name?: string | null;
/**
* @type {UserAgent}
* @memberof AccessTokenRequest
*/
user_agent: UserAgent;
/**
* @type {string}
* @memberof AccessTokenRequest
*/
access_token?: string;
/**
* @type {string}
* @memberof AccessTokenRequest
*/
status: AccessTokenRequestStatusEnum;
/**
* @type {Date}
* @memberof AccessTokenRequest
*/
created_at: Date;
/**
* @type {Date}
* @memberof AccessTokenRequest
*/
expires_at: Date;
}
/**
* @export
* @enum {string}
*/
export declare enum AccessTokenRequestStatusEnum {
Pending = "pending",
Authorized = "authorized",
Revoked = "revoked",
Expired = "expired"
}