import { ICommandOptionDefinition } from "@zowe/imperative" ; import i18nTypings from "../-strings-/en" ; const strings = ( require ( "../-strings-/en" ) . default as typeof i18nTypings ) . DOWNLOAD . OPTIONS ; const maxConcurrentRequestsMaxValue = 99999 ; /**
 * Object containing all options to be used by the Download data set API
 */ export const DownloadOptions = { 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 } file : { name : "file" , aliases : [ "f" ] , description : strings . FILE , type : "string" } , type { ICommandOptionDefinition } extension : { name : "extension" , aliases : [ "e" ] , description : strings . EXTENSION , type : "stringOrEmpty" } , type { ICommandOptionDefinition } directory : { name : "directory" , aliases : [ "d" ] , description : strings . DIRECTORY , type : "string" } , type { ICommandOptionDefinition } excludePattern : { name : "exclude-patterns" , aliases : [ "ep" ] , description : strings . EXCLUDE_PATTERN , type : "string" } , type { ICommandOptionDefinition } extensionMap : { name : "extension-map" , aliases : [ "em" ] , description : strings . EXTENSION_MAP , type : "string" , conflictsWith : [ "extension" ] } , type { ICommandOptionDefinition } maxConcurrentRequests : { name : "max-concurrent-requests" , aliases : [ "mcr" ] , description : strings . MAX_CONCURRENT_REQUESTS , type : "number" , defaultValue : 1 , numericValueRange : [ 0 , maxConcurrentRequestsMaxValue ] } , preserveOriginalLetterCase : { name : "preserve-original-letter-case" , aliases : [ "po" ] , description : strings . PRESERVE_ORIGINAL_LETTER_CASE , type : "boolean" , defaultValue : false } , failFast : { name : "fail-fast" , aliases : [ "ff" ] , description : strings . FAIL_FAST , type : "boolean" , defaultValue : true } } ;