import { ICommandOptionDefinition } from "@zowe/imperative" ; import i18nTypings from "../-strings-/en" ; const strings = ( require ( "../-strings-/en" ) . default as typeof i18nTypings ) . UPLOAD . OPTIONS ; const maxConcurrentRequestsMaxValue = 99999 ; /**
 * Object containing all options to be used by the Upload API
 */ export const UploadOptions = { type { ICommandOptionDefinition } volume : { name : "volume-serial" , aliases : [ "vs" ] , description : strings . VOLUME , type : "string" } , type { ICommandOptionDefinition } binary : { name : "binary" , aliases : [ "b" ] , description : strings . BINARY , type : "boolean" } , type { ICommandOptionDefinition } encoding : { name : "encoding" , aliases : [ "ec" ] , description : strings . ENCODING , type : "number" } , type { ICommandOptionDefinition } recall : { name : "migrated-recall" , aliases : [ "mr" ] , description : strings . RECALL , type : "string" , defaultValue : "nowait" } , type { ICommandOptionDefinition } recursive : { name : "recursive" , aliases : [ "r" ] , description : strings . RECURSIVE , type : "boolean" } , type { ICommandOptionDefinition } binaryFiles : { name : "binary-files" , aliases : [ "bf" ] , description : strings . BINARY_FILES , type : "string" , conflictsWith : [ "ascii-files" ] } , type { ICommandOptionDefinition } asciiFiles : { name : "ascii-files" , aliases : [ "af" ] , description : strings . ASCII_FILES , type : "string" , conflictsWith : [ "binary-files" ] } , type { ICommandOptionDefinition } attributes : { name : "attributes" , aliases : [ "attrs" ] , description : strings . ATTRIBUTES , type : "string" , conflictsWith : [ "ascii-files, binary-files" ] } , type { ICommandOptionDefinition } maxConcurrentRequests : { name : "max-concurrent-requests" , aliases : [ "mcr" ] , description : strings . MAX_CONCURRENT_REQUESTS , type : "number" , defaultValue : 1 , numericValueRange : [ 0 , maxConcurrentRequestsMaxValue ] } } ;