UNPKG

trm-client

Version:

TRM (Transport Request Manager) Client

19 lines (18 loc) 890 B
import { SystemConnectorType } from "../utils"; import { SystemAliasData } from "./SystemAliasData"; import { ISystemConnector, Login, RESTConnection, RFCConnection } from "trm-core"; import { ConnectArguments } from "../commands"; export declare class SystemAlias { type: SystemConnectorType; private _connection; private _login; constructor(type: SystemConnectorType, _connection: RFCConnection | RESTConnection, _login: Login); getConnection(): ISystemConnector; private static generateFile; private static getSystemAliasFilePath; static getAll(): SystemAliasData[]; static get(name: string): SystemAlias; static create(name: string, type: SystemConnectorType, connection: RFCConnection | RESTConnection, login: Login): SystemAlias; static delete(name: string): void; static createIfNotExists(connArgs: ConnectArguments): Promise<void>; }