@forestvpn/forestvpn_api
Version:
A package to interact api.forestvpn.com (manage vpn profiles, check usage statistics, manage locations, ...)
134 lines (115 loc) • 2.31 kB
text/typescript
/* tslint:disable */
/* eslint-disable */
/**
* 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.
*/
/**
*
*
* @export
* @interface Notification
*/
export interface Notification {
/**
* @type {number}
* @memberof Notification
*/
id: number;
/**
* @type {number}
* @memberof Notification
*/
slug: number;
/**
* @type {string}
* @memberof Notification
*/
title: string;
/**
* @type {string}
* @memberof Notification
*/
description: string;
/**
* @type {boolean}
* @memberof Notification
*/
unread: boolean;
/**
* @type {string}
* @memberof Notification
*/
type: NotificationTypeEnum;
/**
* @type {string}
* @memberof Notification
*/
level?: NotificationLevelEnum;
/**
* @type {string}
* @memberof Notification
*/
recipient?: string;
/**
* @type {number}
* @memberof Notification
*/
actor_content_type?: number;
/**
* @type {string}
* @memberof Notification
*/
actor_object_id?: string;
/**
* @type {string}
* @memberof Notification
*/
verb?: string;
/**
* @type {Date}
* @memberof Notification
*/
created_at?: Date;
/**
* @type {boolean}
* @memberof Notification
*/
_public?: boolean;
/**
* @type {boolean}
* @memberof Notification
*/
deleted?: boolean;
/**
* @type {string}
* @memberof Notification
*/
data?: string;
}
/**
* @export
* @enum {string}
*/
export enum NotificationTypeEnum {
SystemUpdate = 'system_update',
ProductUpdate = 'product_update',
NonPaper = 'non_paper'
}
/**
* @export
* @enum {string}
*/
export enum NotificationLevelEnum {
Success = 'success',
Info = 'info',
Warning = 'warning',
Error = 'error'
}