UNPKG

@forestvpn/forestvpn_api

Version:

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

122 lines (121 loc) 2.6 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 { CheckoutSessionProduct } from './checkout-session-product'; /** * * * @export * @interface CheckoutSession */ export interface CheckoutSession { /** * @type {string} * @memberof CheckoutSession */ id: string; /** * @type {string} * @memberof CheckoutSession */ cancel_url: string; /** * @type {string} * @memberof CheckoutSession */ success_url: string; /** * @type {string} * @memberof CheckoutSession */ redirect_url?: string; /** * @type {string} * @memberof CheckoutSession */ currency: string; /** * @type {number} * @memberof CheckoutSession */ amount_subtotal: number; /** * @type {number} * @memberof CheckoutSession */ amount_total: number; /** * @type {string} * @memberof CheckoutSession */ locale?: string; /** * @type {string} * @memberof CheckoutSession */ email?: string; /** * @type {Array<CheckoutSessionProduct>} * @memberof CheckoutSession */ products: Array<CheckoutSessionProduct>; /** * @type {string} * @memberof CheckoutSession */ payment_status: CheckoutSessionPaymentStatusEnum; /** * @type {string} * @memberof CheckoutSession */ status: CheckoutSessionStatusEnum; /** * Trial period duration in ISO 8601 format. * * @type {string} * @memberof CheckoutSession * @example P7D */ trial_period?: string; /** * @type {string} * @memberof CheckoutSession */ user?: string; /** * @type {Date} * @memberof CheckoutSession */ created_at: Date; /** * @type {Date} * @memberof CheckoutSession */ expires_at: Date; } /** * @export * @enum {string} */ export declare enum CheckoutSessionPaymentStatusEnum { Paid = "paid", Unpaid = "unpaid", NoPaymentRequired = "no_payment_required" } /** * @export * @enum {string} */ export declare enum CheckoutSessionStatusEnum { Open = "open", Complete = "complete", Expired = "expired" }