import { IMessageDefinition , apiErrorHeader } from "@zowe/imperative" ; export class export class WorkflowConstants { static type { string } memberof public static readonly RESOURCE : string = "/zosmf/workflow/rest" ; static type { string } memberof public static readonly WORKFLOW_DEFINITION : string = "workflowDefinition" ; static type { string } memberof public static readonly WORKFLOW_RESOURCE : string = "workflows" ; static type { string } memberof public static readonly ARCH_WORKFLOW_RESOURCE : string = "archivedworkflows" ; static type { string } memberof public static readonly START_WORKFLOW : string = "operations/start" ; static type { string } memberof public static readonly ARCHIVE_WORKFLOW : string = "operations/archive" ; static type { string } memberof public static readonly CANCEL_WORKFLOW : string = "operations/cancel" ; static type { string } memberof public static readonly LIST_WORKFLOWS : string = "operations/list" ; static type { string } memberof public static readonly category : string = "category" ; static type { string } memberof public static readonly system : string = "system" ; static type { string } memberof public static readonly owner : string = "owner" ; static type { string } memberof public static readonly vendor : string = "vendor" ; static type { string } memberof public static readonly statusName : string = "statusName" ; static type { string } memberof public static readonly workflowKey : string = "workflowKey" ; static type { string } memberof public static readonly workflowName : string = "workflowName" ; static type { string } memberof public static readonly WF_NAME : string = "workflowName" ; static type { string } memberOf public static readonly ZOSMF_VERSION : string = "1.0" ; static type { string } memberof public static readonly returnData : string = "returnData" ; static type { string } memberof public static readonly steps : string = "steps" ; static type { string } memberof public static readonly variables : string = "variables" ; static type { string } memberof public static readonly filePath : string = "definitionFilePath" ; static type { string } memberof public static readonly tempPath : string = "/tmp" ; } static type { IMessageDefinition } memberof export const noWorkflowKey = { message : apiErrorHeader . message + ` No workflow key parameter was supplied.` } ; static type { IMessageDefinition } memberof export const WrongWorkflowKey = { message : "IZUWF5001W" } ; static type { IMessageDefinition } memberof export const noSteps = { message : apiErrorHeader . message + ` No steps parameter was supplied.` } ; static type { IMessageDefinition } memberof export const noVariables = { message : apiErrorHeader . message + ` No variables parameter was supplied.` } ; static type { IMessageDefinition } memberof export const noWorkflowDefinitionFile = { message : apiErrorHeader . message + ` No workflow definition file parameter was supplied.` } ; static type { IMessageDefinition } memberof export const noWorkflowName = { message : apiErrorHeader . message + ` No workflow name parameter was supplied.` } ; static type { IMessageDefinition } memberof export const noSystemName = { message : apiErrorHeader . message + ` No system name parameter was supplied.` } ; static type { IMessageDefinition } memberof export const wrongString = { message : apiErrorHeader . message + ` Parameter contains wrong character - & or ?.` } ; static type { IMessageDefinition } memberof export const noOwner = { message : apiErrorHeader . message + ` No owner parameter was supplied.` } ; export const wrongOwner = { message : apiErrorHeader . message + ` Wrong format of user ID supplied.` } ;