import { ICommandOptionDefinition } from "@zowe/imperative" ; /**
 * Object containing all extra options to be used by the create workflow commands.
 */ export const CreateCommonOptions = { type { ICommandOptionDefinition } dataSet : { name : "data-set" , aliases : [ "ds" ] , type : "string" , description : "Data set that contains a workflow definiton." , required : true } , type { ICommandOptionDefinition } ussFile : { name : "uss-file" , aliases : [ "uf" ] , type : "string" , description : "Uss file that contains workflow definiton." , required : true } , type { ICommandOptionDefinition } localFile : { name : "local-file" , aliases : [ "lf" ] , type : "string" , description : "Local file that contains workflow definiton." , required : true } , type { ICommandOptionDefinition } systemName : { name : "system-name" , aliases : [ "sn" ] , description : "z/OS system to execute the workflow." , type : "string" , required : true } , type { ICommandOptionDefinition } owner : { name : "owner" , aliases : [ "ow" ] , description : "User ID of the workflow owner. This user can perform the workflow steps or delegate the steps to other users." , type : "string" , required : true } , type { ICommandOptionDefinition } inputFile : { name : "variables-input-file" , aliases : [ "vif" ] , description : "Specifies an optional properties file that you can use to pre-specify values for one or more of the variables that" + " are defined in the workflow definition file." , type : "string" , required : false } , type { ICommandOptionDefinition } variables : { name : "variables" , aliases : [ "vs" ] , description : "Includes a list of variables for the workflow. " + "The variables that you specify here take precedence over the variables that are specified in the workflow variable input file. " + "Make sure the value meets all regular expression requirements set for the corresponding variable." , type : "string" , required : false } , type { ICommandOptionDefinition } assignToOwner : { name : "assign-to-owner" , aliases : [ "ato" ] , description : "Indicates whether the workflow steps are assigned to the workflow owner." , type : "boolean" , required : false } , type { ICommandOptionDefinition } accessType : { name : "access-type" , aliases : [ "at" ] , description : "Specifies the access type for the workflow. Public, Restricted or Private." , type : "string" , required : false , allowableValues : { values : [ "Public" , "Restricted" , "Private" ] , caseSensitive : true } } , type { ICommandOptionDefinition } deleteCompleted : { name : "delete-completed" , aliases : [ "dc" ] , description : "Whether the successfully completed jobs to be deleted from the JES spool." , type : "boolean" , required : false } , type { ICommandOptionDefinition } overwrite : { name : "overwrite" , aliases : [ "ov" ] , description : "Replaces an existing workflow with a new workflow. " , type : "boolean" , required : false } , type { ICommandOptionDefinition } remoteDirectory : { name : "remote-directory" , aliases : [ "rd" ] , description : "The remote uss directory where the files are to be uploaded. The directory has to exist" , type : "string" , required : false } , type { ICommandOptionDefinition } keepFiles : { name : "keep-files" , aliases : [ "kf" ] , description : "Avoid deletion the uploaded files in /tmp or another specified directory after successful execution." , type : "boolean" , defaultValue : false , required : false } , type { ICommandOptionDefinition } zosmfVersion : { name : "zosmf-version" , aliases : [ "zosmf-v" ] , description : "Identifies the version of the zOSMF workflow service." , type : "boolean" , required : false } } ;