import { apiErrorHeader , IMessageDefinition } from "@zowe/imperative" ; export class ConsoleConstants { public static readonly CLASS : string = "Consoles" ; public static readonly RESOURCE : string = "/zosmf/restconsoles/consoles" ; public static readonly RES_DEF_CN : string = "defcn" ; public static readonly SOL_MSGS : string = "/solmsgs" ; public static readonly DEFAULT_FOLLOWUP_ATTEMPTS : number = 1 ; public static readonly DEFAULT_TIMEOUT : number = 0 ; } export const displayResponse = { message : `Populating console response: {{data}}` } ; export const displayError = { message : apiErrorHeader . message + ` Populating console error: {{data}}` } ; export const displayCollectResponse = { message : `Collect response: {{data}}` } ; export const displayCollectError = { message : apiErrorHeader . message + ` Collect error: {{data}}` } ; export const decreaseCounter = { message : `Decreasing follow up counter` } ; export const resetCounter = { message : `Reset follow up counter` } ; export const noZosmfInput = { message : apiErrorHeader . message + ` No zosmf console input parameters were supplied.` } ; export const noConsoleInput = { message : apiErrorHeader . message + ` No console issue parameters were supplied.` } ; export const noConsoleName = { message : apiErrorHeader . message + ` No console name was supplied.` } ; export const noCommandKey = { message : apiErrorHeader . message + ` No command response key was supplied.` } ; export const noCollectParameters = { message : apiErrorHeader . message + ` No console collect parameters were supplied.` } ; export const collectProcessingDetails = { message : `Collect processing - timeout: {{timer}}, followUpCounter: {{counter}}` } ;