UNPKG

mysterium-vpn-js

Version:
23 lines (22 loc) 591 B
/** * Copyright (c) 2020 BlockDev AG * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ export interface AccessPolicyRef { id: string; source: string; } export interface AccessPolicy { id: string; title: string; description: string; allow: AccessRule[]; } export interface AccessRule { type: string; value?: string; } export declare function parseAccessPolicy(responseData: any): AccessPolicy; export declare function parseAccessPolicyList(responseData: any): AccessPolicy[];