@broadcom/endevor-for-zowe-cli
Version:
Endevor Plug-in for Zowe CLI
16 lines (15 loc) • 936 B
TypeScript
import { IHandlerResponseApi, IHandlerResponseConsoleApi, Session } from "@zowe/imperative";
import { IEndevorRestResponse } from "../../api";
export declare class HandlerUtils {
static ANSI_COLOR_RED: string;
static ANSI_COLOR_GREEN: string;
static ANSI_COLOR_YELLOW: string;
static ANSI_COLOR_BLUE: string;
static ANSI_COLOR_RESET: string;
static getSessionNotification(session: Session, instance: string): string;
static ifWriteReportsToFile(argWriteReport: any, returnCode: number): boolean;
static getWarnErrorInfo(returnCode: number, reasonCode: number, messages: string[]): string[];
static handleBufferResponse(responseData: any, tofileName?: string, suppressMessages?: boolean): any;
static validateBasePath(session: Session, console: IHandlerResponseConsoleApi): void;
static taskSubmittedResponse(restResponse: IEndevorRestResponse<any>, responseApi: IHandlerResponseApi): void;
}