@azure/storage-blob 12.33.0 → 12.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/README.md +28 -0
  2. package/dist/browser/BlobBatch.d.ts.map +1 -1
  3. package/dist/browser/BlobBatch.js.map +1 -1
  4. package/dist/browser/BlobBatchClient.d.ts.map +1 -1
  5. package/dist/browser/BlobBatchClient.js.map +1 -1
  6. package/dist/browser/BlobServiceClient.d.ts.map +1 -1
  7. package/dist/browser/BlobServiceClient.js.map +1 -1
  8. package/dist/browser/Clients.d.ts +14 -0
  9. package/dist/browser/Clients.d.ts.map +1 -1
  10. package/dist/browser/Clients.js.map +1 -1
  11. package/dist/browser/ContainerClient.d.ts +30 -1
  12. package/dist/browser/ContainerClient.d.ts.map +1 -1
  13. package/dist/browser/ContainerClient.js +203 -27
  14. package/dist/browser/ContainerClient.js.map +1 -1
  15. package/dist/browser/generated/src/models/index.d.ts +119 -4
  16. package/dist/browser/generated/src/models/index.d.ts.map +1 -1
  17. package/dist/browser/generated/src/models/index.js.map +1 -1
  18. package/dist/browser/generated/src/models/mappers.d.ts +4 -0
  19. package/dist/browser/generated/src/models/mappers.d.ts.map +1 -1
  20. package/dist/browser/generated/src/models/mappers.js +162 -0
  21. package/dist/browser/generated/src/models/mappers.js.map +1 -1
  22. package/dist/browser/generated/src/models/parameters.d.ts +3 -1
  23. package/dist/browser/generated/src/models/parameters.d.ts.map +1 -1
  24. package/dist/browser/generated/src/models/parameters.js +23 -2
  25. package/dist/browser/generated/src/models/parameters.js.map +1 -1
  26. package/dist/browser/generated/src/operations/appendBlob.js +1 -1
  27. package/dist/browser/generated/src/operations/appendBlob.js.map +1 -1
  28. package/dist/browser/generated/src/operations/blockBlob.js +2 -2
  29. package/dist/browser/generated/src/operations/blockBlob.js.map +1 -1
  30. package/dist/browser/generated/src/operations/container.d.ts +18 -1
  31. package/dist/browser/generated/src/operations/container.d.ts.map +1 -1
  32. package/dist/browser/generated/src/operations/container.js +94 -0
  33. package/dist/browser/generated/src/operations/container.js.map +1 -1
  34. package/dist/browser/generated/src/operations/pageBlob.js +1 -1
  35. package/dist/browser/generated/src/operations/pageBlob.js.map +1 -1
  36. package/dist/browser/generated/src/operationsInterfaces/container.d.ts +18 -1
  37. package/dist/browser/generated/src/operationsInterfaces/container.d.ts.map +1 -1
  38. package/dist/browser/generated/src/operationsInterfaces/container.js.map +1 -1
  39. package/dist/browser/generated/src/storageClient.js +2 -2
  40. package/dist/browser/generated/src/storageClient.js.map +1 -1
  41. package/dist/browser/generatedModels.d.ts +3 -1
  42. package/dist/browser/generatedModels.d.ts.map +1 -1
  43. package/dist/browser/generatedModels.js.map +1 -1
  44. package/dist/browser/index.d.ts +1 -1
  45. package/dist/browser/index.d.ts.map +1 -1
  46. package/dist/browser/index.js +1 -1
  47. package/dist/browser/index.js.map +1 -1
  48. package/dist/browser/models.d.ts.map +1 -1
  49. package/dist/browser/models.js.map +1 -1
  50. package/dist/browser/utils/blobListArrowParser.d.ts +24 -0
  51. package/dist/browser/utils/blobListArrowParser.d.ts.map +1 -0
  52. package/dist/browser/utils/blobListArrowParser.js +172 -0
  53. package/dist/browser/utils/blobListArrowParser.js.map +1 -0
  54. package/dist/browser/utils/blobListXmlParser.d.ts +29 -0
  55. package/dist/browser/utils/blobListXmlParser.d.ts.map +1 -0
  56. package/dist/browser/utils/blobListXmlParser.js +49 -0
  57. package/dist/browser/utils/blobListXmlParser.js.map +1 -0
  58. package/dist/browser/utils/constants.d.ts +6 -0
  59. package/dist/browser/utils/constants.d.ts.map +1 -1
  60. package/dist/browser/utils/constants.js +8 -2
  61. package/dist/browser/utils/constants.js.map +1 -1
  62. package/dist/browser/utils/utils.common.d.ts +16 -0
  63. package/dist/browser/utils/utils.common.d.ts.map +1 -1
  64. package/dist/browser/utils/utils.common.js +52 -0
  65. package/dist/browser/utils/utils.common.js.map +1 -1
  66. package/dist/commonjs/BlobBatch.d.ts.map +1 -1
  67. package/dist/commonjs/BlobBatch.js.map +2 -2
  68. package/dist/commonjs/BlobBatchClient.d.ts.map +1 -1
  69. package/dist/commonjs/BlobBatchClient.js.map +2 -2
  70. package/dist/commonjs/BlobDownloadResponse.d.ts +29 -0
  71. package/dist/commonjs/BlobDownloadResponse.d.ts.map +1 -1
  72. package/dist/commonjs/BlobDownloadResponse.js +37 -0
  73. package/dist/commonjs/BlobDownloadResponse.js.map +2 -2
  74. package/dist/commonjs/BlobServiceClient.d.ts.map +1 -1
  75. package/dist/commonjs/BlobServiceClient.js.map +2 -2
  76. package/dist/commonjs/Clients.d.ts +14 -0
  77. package/dist/commonjs/Clients.d.ts.map +1 -1
  78. package/dist/commonjs/Clients.js.map +2 -2
  79. package/dist/commonjs/ContainerClient.d.ts +30 -1
  80. package/dist/commonjs/ContainerClient.d.ts.map +1 -1
  81. package/dist/commonjs/ContainerClient.js +193 -29
  82. package/dist/commonjs/ContainerClient.js.map +3 -3
  83. package/dist/commonjs/generated/src/models/index.d.ts +119 -4
  84. package/dist/commonjs/generated/src/models/index.d.ts.map +1 -1
  85. package/dist/commonjs/generated/src/models/index.js.map +2 -2
  86. package/dist/commonjs/generated/src/models/mappers.d.ts +4 -0
  87. package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -1
  88. package/dist/commonjs/generated/src/models/mappers.js +170 -0
  89. package/dist/commonjs/generated/src/models/mappers.js.map +2 -2
  90. package/dist/commonjs/generated/src/models/parameters.d.ts +3 -1
  91. package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -1
  92. package/dist/commonjs/generated/src/models/parameters.js +27 -2
  93. package/dist/commonjs/generated/src/models/parameters.js.map +2 -2
  94. package/dist/commonjs/generated/src/operations/appendBlob.js +1 -1
  95. package/dist/commonjs/generated/src/operations/appendBlob.js.map +1 -1
  96. package/dist/commonjs/generated/src/operations/blockBlob.js +2 -2
  97. package/dist/commonjs/generated/src/operations/blockBlob.js.map +1 -1
  98. package/dist/commonjs/generated/src/operations/container.d.ts +18 -1
  99. package/dist/commonjs/generated/src/operations/container.d.ts.map +1 -1
  100. package/dist/commonjs/generated/src/operations/container.js +100 -0
  101. package/dist/commonjs/generated/src/operations/container.js.map +2 -2
  102. package/dist/commonjs/generated/src/operations/pageBlob.js +1 -1
  103. package/dist/commonjs/generated/src/operations/pageBlob.js.map +1 -1
  104. package/dist/commonjs/generated/src/operationsInterfaces/container.d.ts +18 -1
  105. package/dist/commonjs/generated/src/operationsInterfaces/container.d.ts.map +1 -1
  106. package/dist/commonjs/generated/src/operationsInterfaces/container.js.map +1 -1
  107. package/dist/commonjs/generated/src/storageClient.js +2 -2
  108. package/dist/commonjs/generated/src/storageClient.js.map +1 -1
  109. package/dist/commonjs/generatedModels.d.ts +3 -1
  110. package/dist/commonjs/generatedModels.d.ts.map +1 -1
  111. package/dist/commonjs/generatedModels.js.map +2 -2
  112. package/dist/commonjs/index.d.ts +3 -2
  113. package/dist/commonjs/index.d.ts.map +1 -1
  114. package/dist/commonjs/index.js +18 -13
  115. package/dist/commonjs/index.js.map +3 -3
  116. package/dist/commonjs/models.d.ts.map +1 -1
  117. package/dist/commonjs/models.js.map +2 -2
  118. package/dist/commonjs/utils/blobListArrowParser.d.ts +24 -0
  119. package/dist/commonjs/utils/blobListArrowParser.d.ts.map +1 -0
  120. package/dist/commonjs/utils/blobListArrowParser.js +174 -0
  121. package/dist/commonjs/utils/blobListArrowParser.js.map +7 -0
  122. package/dist/commonjs/utils/blobListXmlParser.d.ts +29 -0
  123. package/dist/commonjs/utils/blobListXmlParser.d.ts.map +1 -0
  124. package/dist/commonjs/utils/blobListXmlParser.js +80 -0
  125. package/dist/commonjs/utils/blobListXmlParser.js.map +7 -0
  126. package/dist/commonjs/utils/constants.d.ts +6 -0
  127. package/dist/commonjs/utils/constants.d.ts.map +1 -1
  128. package/dist/commonjs/utils/constants.js +5 -2
  129. package/dist/commonjs/utils/constants.js.map +2 -2
  130. package/dist/commonjs/utils/utils.common.d.ts +16 -0
  131. package/dist/commonjs/utils/utils.common.d.ts.map +1 -1
  132. package/dist/commonjs/utils/utils.common.js +45 -3
  133. package/dist/commonjs/utils/utils.common.js.map +3 -3
  134. package/dist/esm/BlobBatch.d.ts.map +1 -1
  135. package/dist/esm/BlobBatch.js.map +1 -1
  136. package/dist/esm/BlobBatchClient.d.ts.map +1 -1
  137. package/dist/esm/BlobBatchClient.js.map +1 -1
  138. package/dist/esm/BlobDownloadResponse.d.ts +29 -0
  139. package/dist/esm/BlobDownloadResponse.d.ts.map +1 -1
  140. package/dist/esm/BlobDownloadResponse.js +37 -0
  141. package/dist/esm/BlobDownloadResponse.js.map +1 -1
  142. package/dist/esm/BlobServiceClient.d.ts.map +1 -1
  143. package/dist/esm/BlobServiceClient.js.map +1 -1
  144. package/dist/esm/Clients.d.ts +14 -0
  145. package/dist/esm/Clients.d.ts.map +1 -1
  146. package/dist/esm/Clients.js.map +1 -1
  147. package/dist/esm/ContainerClient.d.ts +30 -1
  148. package/dist/esm/ContainerClient.d.ts.map +1 -1
  149. package/dist/esm/ContainerClient.js +203 -27
  150. package/dist/esm/ContainerClient.js.map +1 -1
  151. package/dist/esm/generated/src/models/index.d.ts +119 -4
  152. package/dist/esm/generated/src/models/index.d.ts.map +1 -1
  153. package/dist/esm/generated/src/models/index.js.map +1 -1
  154. package/dist/esm/generated/src/models/mappers.d.ts +4 -0
  155. package/dist/esm/generated/src/models/mappers.d.ts.map +1 -1
  156. package/dist/esm/generated/src/models/mappers.js +162 -0
  157. package/dist/esm/generated/src/models/mappers.js.map +1 -1
  158. package/dist/esm/generated/src/models/parameters.d.ts +3 -1
  159. package/dist/esm/generated/src/models/parameters.d.ts.map +1 -1
  160. package/dist/esm/generated/src/models/parameters.js +23 -2
  161. package/dist/esm/generated/src/models/parameters.js.map +1 -1
  162. package/dist/esm/generated/src/operations/appendBlob.js +1 -1
  163. package/dist/esm/generated/src/operations/appendBlob.js.map +1 -1
  164. package/dist/esm/generated/src/operations/blockBlob.js +2 -2
  165. package/dist/esm/generated/src/operations/blockBlob.js.map +1 -1
  166. package/dist/esm/generated/src/operations/container.d.ts +18 -1
  167. package/dist/esm/generated/src/operations/container.d.ts.map +1 -1
  168. package/dist/esm/generated/src/operations/container.js +94 -0
  169. package/dist/esm/generated/src/operations/container.js.map +1 -1
  170. package/dist/esm/generated/src/operations/pageBlob.js +1 -1
  171. package/dist/esm/generated/src/operations/pageBlob.js.map +1 -1
  172. package/dist/esm/generated/src/operationsInterfaces/container.d.ts +18 -1
  173. package/dist/esm/generated/src/operationsInterfaces/container.d.ts.map +1 -1
  174. package/dist/esm/generated/src/operationsInterfaces/container.js.map +1 -1
  175. package/dist/esm/generated/src/storageClient.js +2 -2
  176. package/dist/esm/generated/src/storageClient.js.map +1 -1
  177. package/dist/esm/generatedModels.d.ts +3 -1
  178. package/dist/esm/generatedModels.d.ts.map +1 -1
  179. package/dist/esm/generatedModels.js.map +1 -1
  180. package/dist/esm/index.d.ts +3 -2
  181. package/dist/esm/index.d.ts.map +1 -1
  182. package/dist/esm/index.js +3 -2
  183. package/dist/esm/index.js.map +1 -1
  184. package/dist/esm/models.d.ts.map +1 -1
  185. package/dist/esm/models.js.map +1 -1
  186. package/dist/esm/utils/blobListArrowParser.d.ts +24 -0
  187. package/dist/esm/utils/blobListArrowParser.d.ts.map +1 -0
  188. package/dist/esm/utils/blobListArrowParser.js +172 -0
  189. package/dist/esm/utils/blobListArrowParser.js.map +1 -0
  190. package/dist/esm/utils/blobListXmlParser.d.ts +29 -0
  191. package/dist/esm/utils/blobListXmlParser.d.ts.map +1 -0
  192. package/dist/esm/utils/blobListXmlParser.js +49 -0
  193. package/dist/esm/utils/blobListXmlParser.js.map +1 -0
  194. package/dist/esm/utils/constants.d.ts +6 -0
  195. package/dist/esm/utils/constants.d.ts.map +1 -1
  196. package/dist/esm/utils/constants.js +8 -2
  197. package/dist/esm/utils/constants.js.map +1 -1
  198. package/dist/esm/utils/utils.common.d.ts +16 -0
  199. package/dist/esm/utils/utils.common.d.ts.map +1 -1
  200. package/dist/esm/utils/utils.common.js +52 -0
  201. package/dist/esm/utils/utils.common.js.map +1 -1
  202. package/dist/react-native/BlobBatch.d.ts.map +1 -1
  203. package/dist/react-native/BlobBatch.js.map +1 -1
  204. package/dist/react-native/BlobBatchClient.d.ts.map +1 -1
  205. package/dist/react-native/BlobBatchClient.js.map +1 -1
  206. package/dist/react-native/BlobServiceClient.d.ts.map +1 -1
  207. package/dist/react-native/BlobServiceClient.js.map +1 -1
  208. package/dist/react-native/Clients.d.ts +14 -0
  209. package/dist/react-native/Clients.d.ts.map +1 -1
  210. package/dist/react-native/Clients.js.map +1 -1
  211. package/dist/react-native/ContainerClient.d.ts +30 -1
  212. package/dist/react-native/ContainerClient.d.ts.map +1 -1
  213. package/dist/react-native/ContainerClient.js +203 -27
  214. package/dist/react-native/ContainerClient.js.map +1 -1
  215. package/dist/react-native/generated/src/models/index.d.ts +119 -4
  216. package/dist/react-native/generated/src/models/index.d.ts.map +1 -1
  217. package/dist/react-native/generated/src/models/index.js.map +1 -1
  218. package/dist/react-native/generated/src/models/mappers.d.ts +4 -0
  219. package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -1
  220. package/dist/react-native/generated/src/models/mappers.js +162 -0
  221. package/dist/react-native/generated/src/models/mappers.js.map +1 -1
  222. package/dist/react-native/generated/src/models/parameters.d.ts +3 -1
  223. package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -1
  224. package/dist/react-native/generated/src/models/parameters.js +23 -2
  225. package/dist/react-native/generated/src/models/parameters.js.map +1 -1
  226. package/dist/react-native/generated/src/operations/appendBlob.js +1 -1
  227. package/dist/react-native/generated/src/operations/appendBlob.js.map +1 -1
  228. package/dist/react-native/generated/src/operations/blockBlob.js +2 -2
  229. package/dist/react-native/generated/src/operations/blockBlob.js.map +1 -1
  230. package/dist/react-native/generated/src/operations/container.d.ts +18 -1
  231. package/dist/react-native/generated/src/operations/container.d.ts.map +1 -1
  232. package/dist/react-native/generated/src/operations/container.js +94 -0
  233. package/dist/react-native/generated/src/operations/container.js.map +1 -1
  234. package/dist/react-native/generated/src/operations/pageBlob.js +1 -1
  235. package/dist/react-native/generated/src/operations/pageBlob.js.map +1 -1
  236. package/dist/react-native/generated/src/operationsInterfaces/container.d.ts +18 -1
  237. package/dist/react-native/generated/src/operationsInterfaces/container.d.ts.map +1 -1
  238. package/dist/react-native/generated/src/operationsInterfaces/container.js.map +1 -1
  239. package/dist/react-native/generated/src/storageClient.js +2 -2
  240. package/dist/react-native/generated/src/storageClient.js.map +1 -1
  241. package/dist/react-native/generatedModels.d.ts +3 -1
  242. package/dist/react-native/generatedModels.d.ts.map +1 -1
  243. package/dist/react-native/generatedModels.js.map +1 -1
  244. package/dist/react-native/index.d.ts +3 -2
  245. package/dist/react-native/index.d.ts.map +1 -1
  246. package/dist/react-native/index.js +3 -2
  247. package/dist/react-native/index.js.map +1 -1
  248. package/dist/react-native/models.d.ts.map +1 -1
  249. package/dist/react-native/models.js.map +1 -1
  250. package/dist/react-native/utils/blobListArrowParser.d.ts +24 -0
  251. package/dist/react-native/utils/blobListArrowParser.d.ts.map +1 -0
  252. package/dist/react-native/utils/blobListArrowParser.js +172 -0
  253. package/dist/react-native/utils/blobListArrowParser.js.map +1 -0
  254. package/dist/react-native/utils/blobListXmlParser.d.ts +29 -0
  255. package/dist/react-native/utils/blobListXmlParser.d.ts.map +1 -0
  256. package/dist/react-native/utils/blobListXmlParser.js +49 -0
  257. package/dist/react-native/utils/blobListXmlParser.js.map +1 -0
  258. package/dist/react-native/utils/constants.d.ts +6 -0
  259. package/dist/react-native/utils/constants.d.ts.map +1 -1
  260. package/dist/react-native/utils/constants.js +8 -2
  261. package/dist/react-native/utils/constants.js.map +1 -1
  262. package/dist/react-native/utils/utils.common.d.ts +16 -0
  263. package/dist/react-native/utils/utils.common.d.ts.map +1 -1
  264. package/dist/react-native/utils/utils.common.js +52 -0
  265. package/dist/react-native/utils/utils.common.js.map +1 -1
  266. package/package.json +9 -8
@@ -1 +1 @@
1
- {"version":3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BAAmB,GAAG,wBAAwB,CAAC;IACrD,CAAC;AACH,CAAC;AA2HD;;GAEG;AACH,MAAM,CAAN,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC7B;;OAEG;IACH,gFAAyD,CAAA;IACzD;;OAEG;IACH,yFAAkE,CAAA;AACpE,CAAC,EATW,mBAAmB,KAAnB,mBAAmB,QAS9B;AAED;;;GAGG;AACH,MAAM,UAAU,6BAA6B,CAAC,kBAA0B;IACtE,OAAO,WAAW,kBAAkB,iCAAiC,CAAC;AACxE,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AbortSignalLike } from \"@azure/abort-controller\";\nimport type { CancelOnProgress, PollOperationState } from \"@azure/core-lro\";\nimport type { BlobImmutabilityPolicyMode } from \"./generatedModels.js\";\nimport type {\n LeaseAccessConditions,\n SequenceNumberAccessConditions,\n AppendPositionAccessConditions,\n AccessTier,\n CpkInfo,\n BlobDownloadResponseModel,\n} from \"./generatedModels.js\";\nimport { EncryptionAlgorithmAES25 } from \"./utils/constants.js\";\nimport { StoragePipelineOptions } from \"./Pipeline.js\";\n\n/**\n * Blob tags.\n */\nexport type Tags = Record<string, string>;\n\n/**\n * Request headers used in generating a SAS token\n */\nexport type RequestHeaders = Record<string, string>;\n\n/**\n * Request query parameters used in generating a SAS token\n */\nexport type RequestQueryParameters = Record<string, string>;\n\n/**\n * A map of name-value pairs to associate with the resource.\n */\nexport interface Metadata {\n /**\n * A name-value pair.\n */\n [propertyName: string]: string;\n}\n\n/**\n * standard HTTP conditional headers and tags condition.\n */\nexport interface ModifiedAccessConditions\n extends MatchConditions, ModificationConditions, TagConditions {}\n\n/**\n * standard HTTP conditional headers, tags condition and lease condition\n */\nexport interface BlobRequestConditions extends ModifiedAccessConditions, LeaseAccessConditions {}\n\n/**\n * standard HTTP conditional headers, tags condition and lease condition\n */\nexport interface AccessTierModifiedConditions {\n /**\n * Specify this header value to operate only on a blob if the access-tier has been modified since the specified date/time.\n * */\n accessTierIfModifiedSince?: Date;\n\n /**\n * Specify this header value to operate only on a blob if the access-tier has not been modified since the specified date/time.\n */\n accessTierIfUnmodifiedSince?: Date;\n}\n\n/**\n * Conditions to add to the creation of this page blob.\n */\nexport interface PageBlobRequestConditions\n extends BlobRequestConditions, SequenceNumberAccessConditions {}\n\n/**\n * Conditions to add to the creation of this append blob.\n */\nexport interface AppendBlobRequestConditions\n extends BlobRequestConditions, AppendPositionAccessConditions {}\n\n/**\n * Specifies HTTP options for conditional requests based on modification time.\n */\nexport interface ModificationConditions {\n /**\n * Specify this header value to operate only on a blob if it has been modified since the\n * specified date/time.\n */\n ifModifiedSince?: Date;\n /**\n * Specify this header value to operate only on a blob if it has not been modified since the\n * specified date/time.\n */\n ifUnmodifiedSince?: Date;\n}\n\n/**\n * Specifies HTTP options for conditional requests based on ETag matching.\n */\nexport interface MatchConditions {\n /**\n * Specify an ETag value to operate only on blobs with a matching value.\n */\n ifMatch?: string;\n /**\n * Specify an ETag value to operate only on blobs without a matching value.\n */\n ifNoneMatch?: string;\n}\n\n/**\n * Specifies HTTP options for conditional requests based on blob tags.\n */\nexport interface TagConditions {\n /**\n * Optional SQL statement to apply to the tags of the blob.\n */\n tagConditions?: string;\n}\n\n/**\n * Conditions to meet for the container.\n */\nexport interface ContainerRequestConditions extends LeaseAccessConditions, ModificationConditions {}\n\n/**\n * Represents the access tier on a blob.\n * For detailed information about block blob level tiering see {@link https://learn.microsoft.com/azure/storage/blobs/storage-blob-storage-tiers|Hot, cool and archive storage tiers.}\n */\nexport enum BlockBlobTier {\n /**\n * Optimized for storing data that is accessed frequently.\n */\n Hot = \"Hot\",\n /**\n * Optimized for storing data that is infrequently accessed and stored for at least 30 days.\n */\n Cool = \"Cool\",\n /**\n * Optimized for storing data that is rarely accessed.\n */\n Cold = \"Cold\",\n /**\n * Optimized for storing data that is rarely accessed and stored for at least 180 days\n * with flexible latency requirements (on the order of hours).\n */\n Archive = \"Archive\",\n}\n\n/**\n * Specifies the page blob tier to set the blob to. This is only applicable to page blobs on premium storage accounts.\n * Please see {@link https://learn.microsoft.com/azure/storage/storage-premium-storage#scalability-and-performance-targets|here}\n * for detailed information on the corresponding IOPS and throughput per PageBlobTier.\n */\nexport enum PremiumPageBlobTier {\n /**\n * P4 Tier.\n */\n P4 = \"P4\",\n /**\n * P6 Tier.\n */\n P6 = \"P6\",\n /**\n * P10 Tier.\n */\n P10 = \"P10\",\n /**\n * P15 Tier.\n */\n P15 = \"P15\",\n /**\n * P20 Tier.\n */\n P20 = \"P20\",\n /**\n * P30 Tier.\n */\n P30 = \"P30\",\n /**\n * P40 Tier.\n */\n P40 = \"P40\",\n /**\n * P50 Tier.\n */\n P50 = \"P50\",\n /**\n * P60 Tier.\n */\n P60 = \"P60\",\n /**\n * P70 Tier.\n */\n P70 = \"P70\",\n /**\n * P80 Tier.\n */\n P80 = \"P80\",\n}\n\nexport function toAccessTier(\n tier: BlockBlobTier | PremiumPageBlobTier | string | undefined,\n): AccessTier | undefined {\n if (tier === undefined) {\n return undefined;\n }\n\n return tier as AccessTier; // No more check if string is a valid AccessTier, and left this to underlay logic to decide(service).\n}\n\nexport function ensureCpkIfSpecified(cpk: CpkInfo | undefined, isHttps: boolean): void {\n if (cpk && !isHttps) {\n throw new RangeError(\"Customer-provided encryption key must be used over HTTPS.\");\n }\n\n if (cpk && !cpk.encryptionAlgorithm) {\n cpk.encryptionAlgorithm = EncryptionAlgorithmAES25;\n }\n}\n\n/**\n * Specifies the Replication Status of a blob. This is used when a storage account has\n * Object Replication Policy(s) applied. See {@link ObjectReplicationPolicy} and {@link ObjectReplicationRule}.\n */\nexport type ObjectReplicationStatus = \"complete\" | \"failed\";\n\n/**\n * Contains the Object Replication Rule ID and {@link ObjectReplicationStatus} of a blob.\n * There can be more than one {@link ObjectReplicationRule} under a {@link ObjectReplicationPolicy}.\n */\nexport interface ObjectReplicationRule {\n /**\n * The Object Replication Rule ID.\n */\n ruleId: string;\n\n /**\n * The Replication Status\n */\n replicationStatus: ObjectReplicationStatus;\n}\n\n/**\n * Contains Object Replication Policy ID and the respective list of {@link ObjectReplicationRule}.\n * This is used when retrieving the Object Replication Properties on the source blob. The policy id for the\n * destination blob is set in ObjectReplicationDestinationPolicyId of the respective method responses\n * (e.g. {@link BlobProperties.ObjectReplicationDestinationPolicyId}.\n */\nexport interface ObjectReplicationPolicy {\n /**\n * The Object Replication Policy ID.\n */\n policyId: string;\n\n /**\n * The Rule ID(s) and respective Replication Status(s) that are under the Policy ID.\n */\n rules: ObjectReplicationRule[];\n}\n\n/**\n * Contains response data for the {@link BlobClient.download} operation.\n */\nexport interface BlobDownloadResponseParsed extends BlobDownloadResponseModel {\n /**\n * Parsed Object Replication Policy Id, Rule Id(s) and status of the source blob.\n */\n objectReplicationSourceProperties?: ObjectReplicationPolicy[];\n\n /**\n * Object Replication Policy Id of the destination blob.\n */\n objectReplicationDestinationPolicyId?: string;\n}\n\n/**\n * The type of a {@link BlobQueryArrowField}.\n */\nexport type BlobQueryArrowFieldType =\n | \"int64\"\n | \"bool\"\n | \"timestamp[ms]\"\n | \"string\"\n | \"double\"\n | \"decimal\";\n\n/**\n * Describe a field in {@link BlobQueryArrowConfiguration}.\n */\nexport interface BlobQueryArrowField {\n /**\n * The type of the field.\n */\n type: BlobQueryArrowFieldType;\n\n /**\n * The name of the field.\n */\n name?: string;\n\n /**\n * The precision of the field. Required if type is \"decimal\".\n */\n precision?: number;\n\n /**\n * The scale of the field. Required if type is is \"decimal\".\n */\n scale?: number;\n}\n\n/**\n * Describe immutable policy for blob.\n */\nexport interface BlobImmutabilityPolicy {\n /**\n * Specifies the date time when the blobs immutability policy is set to expire.\n */\n expiriesOn?: Date;\n /**\n * Specifies the immutability policy mode to set on the blob.\n */\n policyMode?: BlobImmutabilityPolicyMode;\n}\n\n/**\n * Represents authentication information in Authorization, ProxyAuthorization,\n * WWW-Authenticate, and Proxy-Authenticate header values.\n */\nexport interface HttpAuthorization {\n /**\n * The scheme to use for authorization.\n */\n scheme: string;\n\n /**\n * the credentials containing the authentication information of the user agent for the resource being requested.\n */\n value: string;\n}\n\n/**\n * Defines the known cloud audiences for Storage.\n */\nexport enum StorageBlobAudience {\n /**\n * The OAuth scope to use to retrieve an AAD token for Azure Storage.\n */\n StorageOAuthScopes = \"https://storage.azure.com/.default\",\n /**\n * The OAuth scope to use to retrieve an AAD token for Azure Disk.\n */\n DiskComputeOAuthScopes = \"https://disk.compute.azure.com/.default\",\n}\n\n/**\n *\n * To get OAuth audience for a storage account for blob service.\n */\nexport function getBlobServiceAccountAudience(storageAccountName: string): string {\n return `https://${storageAccountName}.blob.core.windows.net/.default`;\n}\n\n/**\n * Abstract representation of a poller, intended to expose just the minimal API that the user needs to work with.\n */\nexport interface PollerLikeWithCancellation<TState extends PollOperationState<TResult>, TResult> {\n /**\n * Returns a promise that will resolve once a single polling request finishes.\n * It does this by calling the update method of the Poller's operation.\n */\n poll(options?: { abortSignal?: AbortSignalLike }): Promise<void>;\n /**\n * Returns a promise that will resolve once the underlying operation is completed.\n */\n pollUntilDone(): Promise<TResult>;\n /**\n * Invokes the provided callback after each polling is completed,\n * sending the current state of the poller's operation.\n *\n * It returns a method that can be used to stop receiving updates on the given callback function.\n */\n onProgress(callback: (state: TState) => void): CancelOnProgress;\n /**\n * Returns true if the poller has finished polling.\n */\n isDone(): boolean;\n /**\n * Stops the poller. After this, no manual or automated requests can be sent.\n */\n stopPolling(): void;\n /**\n * Returns true if the poller is stopped.\n */\n isStopped(): boolean;\n /**\n * Attempts to cancel the underlying operation.\n */\n cancelOperation(options?: { abortSignal?: AbortSignalLike }): Promise<void>;\n /**\n * Returns the state of the operation.\n * The TState defined in PollerLike can be a subset of the TState defined in\n * the Poller implementation.\n */\n getOperationState(): TState;\n /**\n * Returns the result value of the operation,\n * regardless of the state of the poller.\n * It can return undefined or an incomplete form of the final TResult value\n * depending on the implementation.\n */\n getResult(): TResult | undefined;\n /**\n * Returns a serialized version of the poller's operation\n * by invoking the operation's toString method.\n */\n toString(): string;\n}\n\n/**\n * Indicates which checksum algorithm to be used in content validation.\n */\nexport type StorageChecksumAlgorithm = \"Auto\" | \"None\" | \"Customized\" | \"StorageCrc64\";\n\n/**\n * Config used in creating blob client instances.\n */\nexport interface BlobClientConfig {\n /**\n * Options to indication which algorithm to use for content validation in uploading.\n */\n uploadContentChecksumAlgorithm?: StorageChecksumAlgorithm;\n\n /**\n * Options to indication which algorithm to use for content validation in downloading.\n */\n downloadContentChecksumAlgorithm?: StorageChecksumAlgorithm;\n}\n\n/**\n * Options for creating BlobClient instances\n */\nexport type BlobClientOptions = StoragePipelineOptions & BlobClientConfig;\n/**\n * Options for creating BlockBlobClient instances\n */\nexport type BlockBlobClientOptions = StoragePipelineOptions & BlobClientConfig;\n/**\n * Options for creating PageBlobClient instances\n */\nexport type PageBlobClientOptions = StoragePipelineOptions & BlobClientConfig;\n/**\n * Options for creating AppendBlobClient instances\n */\nexport type AppendBlobClientOptions = StoragePipelineOptions & BlobClientConfig;\n/**\n * Options for creating ContainerClient instances\n */\nexport type ContainerClientOptions = StoragePipelineOptions & BlobClientConfig;\n/**\n * Options for creating BlobServiceClient instances\n */\nexport type BlobServiceClientOptions = StoragePipelineOptions & BlobClientConfig;\n"]}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAalC,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AA+GhE;;;GAGG;AACH,MAAM,CAAN,IAAY,aAkBX;AAlBD,WAAY,aAAa;IACvB;;OAEG;IACH,4BAAW,CAAA;IACX;;OAEG;IACH,8BAAa,CAAA;IACb;;OAEG;IACH,8BAAa,CAAA;IACb;;;OAGG;IACH,oCAAmB,CAAA;AACrB,CAAC,EAlBW,aAAa,KAAb,aAAa,QAkBxB;AAED;;;;GAIG;AACH,MAAM,CAAN,IAAY,mBA6CX;AA7CD,WAAY,mBAAmB;IAC7B;;OAEG;IACH,gCAAS,CAAA;IACT;;OAEG;IACH,gCAAS,CAAA;IACT;;OAEG;IACH,kCAAW,CAAA;IACX;;OAEG;IACH,kCAAW,CAAA;IACX;;OAEG;IACH,kCAAW,CAAA;IACX;;OAEG;IACH,kCAAW,CAAA;IACX;;OAEG;IACH,kCAAW,CAAA;IACX;;OAEG;IACH,kCAAW,CAAA;IACX;;OAEG;IACH,kCAAW,CAAA;IACX;;OAEG;IACH,kCAAW,CAAA;IACX;;OAEG;IACH,kCAAW,CAAA;AACb,CAAC,EA7CW,mBAAmB,KAAnB,mBAAmB,QA6C9B;AAED,MAAM,UAAU,YAAY,CAC1B,IAA8D;IAE9D,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACvB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,IAAkB,CAAC,CAAC,qGAAqG;AAClI,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,GAAwB,EAAE,OAAgB;IAC7E,IAAI,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;QACpB,MAAM,IAAI,UAAU,CAAC,2DAA2D,CAAC,CAAC;IACpF,CAAC;IAED,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,mBAAmB,EAAE,CAAC;QACpC,GAAG,CAAC,mBAAmB,GAAG,wBAAwB,CAAC;IACrD,CAAC;AACH,CAAC;AAsHD;;GAEG;AACH,MAAM,CAAN,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC7B;;OAEG;IACH,gFAAyD,CAAA;IACzD;;OAEG;IACH,yFAAkE,CAAA;AACpE,CAAC,EATW,mBAAmB,KAAnB,mBAAmB,QAS9B;AAED;;;GAGG;AACH,MAAM,UAAU,6BAA6B,CAAC,kBAA0B;IACtE,OAAO,WAAW,kBAAkB,iCAAiC,CAAC;AACxE,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AbortSignalLike } from \"@azure/abort-controller\";\nimport type { CancelOnProgress, PollOperationState } from \"@azure/core-lro\";\nimport type { BlobImmutabilityPolicyMode } from \"./generatedModels.js\";\nimport type {\n LeaseAccessConditions,\n SequenceNumberAccessConditions,\n AppendPositionAccessConditions,\n AccessTier,\n CpkInfo,\n BlobDownloadResponseModel,\n} from \"./generatedModels.js\";\nimport { EncryptionAlgorithmAES25 } from \"./utils/constants.js\";\nimport { StoragePipelineOptions } from \"./Pipeline.js\";\n\n/**\n * Blob tags.\n */\nexport type Tags = Record<string, string>;\n\n/**\n * Request headers used in generating a SAS token\n */\nexport type RequestHeaders = Record<string, string>;\n\n/**\n * Request query parameters used in generating a SAS token\n */\nexport type RequestQueryParameters = Record<string, string>;\n\n/**\n * A map of name-value pairs to associate with the resource.\n */\nexport interface Metadata {\n /**\n * A name-value pair.\n */\n [propertyName: string]: string;\n}\n\n/**\n * standard HTTP conditional headers and tags condition.\n */\nexport interface ModifiedAccessConditions\n extends MatchConditions, ModificationConditions, TagConditions {}\n\n/**\n * standard HTTP conditional headers, tags condition and lease condition\n */\nexport interface BlobRequestConditions extends ModifiedAccessConditions, LeaseAccessConditions {}\n\n/**\n * standard HTTP conditional headers, tags condition and lease condition\n */\nexport interface AccessTierModifiedConditions {\n /**\n * Specify this header value to operate only on a blob if the access-tier has been modified since the specified date/time.\n * */\n accessTierIfModifiedSince?: Date;\n\n /**\n * Specify this header value to operate only on a blob if the access-tier has not been modified since the specified date/time.\n */\n accessTierIfUnmodifiedSince?: Date;\n}\n\n/**\n * Conditions to add to the creation of this page blob.\n */\nexport interface PageBlobRequestConditions\n extends BlobRequestConditions, SequenceNumberAccessConditions {}\n\n/**\n * Conditions to add to the creation of this append blob.\n */\nexport interface AppendBlobRequestConditions\n extends BlobRequestConditions, AppendPositionAccessConditions {}\n\n/**\n * Specifies HTTP options for conditional requests based on modification time.\n */\nexport interface ModificationConditions {\n /**\n * Specify this header value to operate only on a blob if it has been modified since the\n * specified date/time.\n */\n ifModifiedSince?: Date;\n /**\n * Specify this header value to operate only on a blob if it has not been modified since the\n * specified date/time.\n */\n ifUnmodifiedSince?: Date;\n}\n\n/**\n * Specifies HTTP options for conditional requests based on ETag matching.\n */\nexport interface MatchConditions {\n /**\n * Specify an ETag value to operate only on blobs with a matching value.\n */\n ifMatch?: string;\n /**\n * Specify an ETag value to operate only on blobs without a matching value.\n */\n ifNoneMatch?: string;\n}\n\n/**\n * Specifies HTTP options for conditional requests based on blob tags.\n */\nexport interface TagConditions {\n /**\n * Optional SQL statement to apply to the tags of the blob.\n */\n tagConditions?: string;\n}\n\n/**\n * Conditions to meet for the container.\n */\nexport interface ContainerRequestConditions extends LeaseAccessConditions, ModificationConditions {}\n\n/**\n * Represents the access tier on a blob.\n * For detailed information about block blob level tiering see {@link https://learn.microsoft.com/azure/storage/blobs/storage-blob-storage-tiers|Hot, cool and archive storage tiers.}\n */\nexport enum BlockBlobTier {\n /**\n * Optimized for storing data that is accessed frequently.\n */\n Hot = \"Hot\",\n /**\n * Optimized for storing data that is infrequently accessed and stored for at least 30 days.\n */\n Cool = \"Cool\",\n /**\n * Optimized for storing data that is rarely accessed.\n */\n Cold = \"Cold\",\n /**\n * Optimized for storing data that is rarely accessed and stored for at least 180 days\n * with flexible latency requirements (on the order of hours).\n */\n Archive = \"Archive\",\n}\n\n/**\n * Specifies the page blob tier to set the blob to. This is only applicable to page blobs on premium storage accounts.\n * Please see {@link https://learn.microsoft.com/azure/storage/storage-premium-storage#scalability-and-performance-targets|here}\n * for detailed information on the corresponding IOPS and throughput per PageBlobTier.\n */\nexport enum PremiumPageBlobTier {\n /**\n * P4 Tier.\n */\n P4 = \"P4\",\n /**\n * P6 Tier.\n */\n P6 = \"P6\",\n /**\n * P10 Tier.\n */\n P10 = \"P10\",\n /**\n * P15 Tier.\n */\n P15 = \"P15\",\n /**\n * P20 Tier.\n */\n P20 = \"P20\",\n /**\n * P30 Tier.\n */\n P30 = \"P30\",\n /**\n * P40 Tier.\n */\n P40 = \"P40\",\n /**\n * P50 Tier.\n */\n P50 = \"P50\",\n /**\n * P60 Tier.\n */\n P60 = \"P60\",\n /**\n * P70 Tier.\n */\n P70 = \"P70\",\n /**\n * P80 Tier.\n */\n P80 = \"P80\",\n}\n\nexport function toAccessTier(\n tier: BlockBlobTier | PremiumPageBlobTier | string | undefined,\n): AccessTier | undefined {\n if (tier === undefined) {\n return undefined;\n }\n\n return tier as AccessTier; // No more check if string is a valid AccessTier, and left this to underlay logic to decide(service).\n}\n\nexport function ensureCpkIfSpecified(cpk: CpkInfo | undefined, isHttps: boolean): void {\n if (cpk && !isHttps) {\n throw new RangeError(\"Customer-provided encryption key must be used over HTTPS.\");\n }\n\n if (cpk && !cpk.encryptionAlgorithm) {\n cpk.encryptionAlgorithm = EncryptionAlgorithmAES25;\n }\n}\n\n/**\n * Specifies the Replication Status of a blob. This is used when a storage account has\n * Object Replication Policy(s) applied. See {@link ObjectReplicationPolicy} and {@link ObjectReplicationRule}.\n */\nexport type ObjectReplicationStatus = \"complete\" | \"failed\";\n\n/**\n * Contains the Object Replication Rule ID and {@link ObjectReplicationStatus} of a blob.\n * There can be more than one {@link ObjectReplicationRule} under a {@link ObjectReplicationPolicy}.\n */\nexport interface ObjectReplicationRule {\n /**\n * The Object Replication Rule ID.\n */\n ruleId: string;\n\n /**\n * The Replication Status\n */\n replicationStatus: ObjectReplicationStatus;\n}\n\n/**\n * Contains Object Replication Policy ID and the respective list of {@link ObjectReplicationRule}.\n * This is used when retrieving the Object Replication Properties on the source blob. The policy id for the\n * destination blob is set in ObjectReplicationDestinationPolicyId of the respective method responses\n * (e.g. {@link BlobProperties.ObjectReplicationDestinationPolicyId}.\n */\nexport interface ObjectReplicationPolicy {\n /**\n * The Object Replication Policy ID.\n */\n policyId: string;\n\n /**\n * The Rule ID(s) and respective Replication Status(s) that are under the Policy ID.\n */\n rules: ObjectReplicationRule[];\n}\n\n/**\n * Contains response data for the {@link BlobClient.download} operation.\n */\nexport interface BlobDownloadResponseParsed extends BlobDownloadResponseModel {\n /**\n * Parsed Object Replication Policy Id, Rule Id(s) and status of the source blob.\n */\n objectReplicationSourceProperties?: ObjectReplicationPolicy[];\n\n /**\n * Object Replication Policy Id of the destination blob.\n */\n objectReplicationDestinationPolicyId?: string;\n}\n\n/**\n * The type of a {@link BlobQueryArrowField}.\n */\nexport type BlobQueryArrowFieldType =\n \"int64\" | \"bool\" | \"timestamp[ms]\" | \"string\" | \"double\" | \"decimal\";\n\n/**\n * Describe a field in {@link BlobQueryArrowConfiguration}.\n */\nexport interface BlobQueryArrowField {\n /**\n * The type of the field.\n */\n type: BlobQueryArrowFieldType;\n\n /**\n * The name of the field.\n */\n name?: string;\n\n /**\n * The precision of the field. Required if type is \"decimal\".\n */\n precision?: number;\n\n /**\n * The scale of the field. Required if type is is \"decimal\".\n */\n scale?: number;\n}\n\n/**\n * Describe immutable policy for blob.\n */\nexport interface BlobImmutabilityPolicy {\n /**\n * Specifies the date time when the blobs immutability policy is set to expire.\n */\n expiriesOn?: Date;\n /**\n * Specifies the immutability policy mode to set on the blob.\n */\n policyMode?: BlobImmutabilityPolicyMode;\n}\n\n/**\n * Represents authentication information in Authorization, ProxyAuthorization,\n * WWW-Authenticate, and Proxy-Authenticate header values.\n */\nexport interface HttpAuthorization {\n /**\n * The scheme to use for authorization.\n */\n scheme: string;\n\n /**\n * the credentials containing the authentication information of the user agent for the resource being requested.\n */\n value: string;\n}\n\n/**\n * Defines the known cloud audiences for Storage.\n */\nexport enum StorageBlobAudience {\n /**\n * The OAuth scope to use to retrieve an AAD token for Azure Storage.\n */\n StorageOAuthScopes = \"https://storage.azure.com/.default\",\n /**\n * The OAuth scope to use to retrieve an AAD token for Azure Disk.\n */\n DiskComputeOAuthScopes = \"https://disk.compute.azure.com/.default\",\n}\n\n/**\n *\n * To get OAuth audience for a storage account for blob service.\n */\nexport function getBlobServiceAccountAudience(storageAccountName: string): string {\n return `https://${storageAccountName}.blob.core.windows.net/.default`;\n}\n\n/**\n * Abstract representation of a poller, intended to expose just the minimal API that the user needs to work with.\n */\nexport interface PollerLikeWithCancellation<TState extends PollOperationState<TResult>, TResult> {\n /**\n * Returns a promise that will resolve once a single polling request finishes.\n * It does this by calling the update method of the Poller's operation.\n */\n poll(options?: { abortSignal?: AbortSignalLike }): Promise<void>;\n /**\n * Returns a promise that will resolve once the underlying operation is completed.\n */\n pollUntilDone(): Promise<TResult>;\n /**\n * Invokes the provided callback after each polling is completed,\n * sending the current state of the poller's operation.\n *\n * It returns a method that can be used to stop receiving updates on the given callback function.\n */\n onProgress(callback: (state: TState) => void): CancelOnProgress;\n /**\n * Returns true if the poller has finished polling.\n */\n isDone(): boolean;\n /**\n * Stops the poller. After this, no manual or automated requests can be sent.\n */\n stopPolling(): void;\n /**\n * Returns true if the poller is stopped.\n */\n isStopped(): boolean;\n /**\n * Attempts to cancel the underlying operation.\n */\n cancelOperation(options?: { abortSignal?: AbortSignalLike }): Promise<void>;\n /**\n * Returns the state of the operation.\n * The TState defined in PollerLike can be a subset of the TState defined in\n * the Poller implementation.\n */\n getOperationState(): TState;\n /**\n * Returns the result value of the operation,\n * regardless of the state of the poller.\n * It can return undefined or an incomplete form of the final TResult value\n * depending on the implementation.\n */\n getResult(): TResult | undefined;\n /**\n * Returns a serialized version of the poller's operation\n * by invoking the operation's toString method.\n */\n toString(): string;\n}\n\n/**\n * Indicates which checksum algorithm to be used in content validation.\n */\nexport type StorageChecksumAlgorithm = \"Auto\" | \"None\" | \"Customized\" | \"StorageCrc64\";\n\n/**\n * Config used in creating blob client instances.\n */\nexport interface BlobClientConfig {\n /**\n * Options to indication which algorithm to use for content validation in uploading.\n */\n uploadContentChecksumAlgorithm?: StorageChecksumAlgorithm;\n\n /**\n * Options to indication which algorithm to use for content validation in downloading.\n */\n downloadContentChecksumAlgorithm?: StorageChecksumAlgorithm;\n}\n\n/**\n * Options for creating BlobClient instances\n */\nexport type BlobClientOptions = StoragePipelineOptions & BlobClientConfig;\n/**\n * Options for creating BlockBlobClient instances\n */\nexport type BlockBlobClientOptions = StoragePipelineOptions & BlobClientConfig;\n/**\n * Options for creating PageBlobClient instances\n */\nexport type PageBlobClientOptions = StoragePipelineOptions & BlobClientConfig;\n/**\n * Options for creating AppendBlobClient instances\n */\nexport type AppendBlobClientOptions = StoragePipelineOptions & BlobClientConfig;\n/**\n * Options for creating ContainerClient instances\n */\nexport type ContainerClientOptions = StoragePipelineOptions & BlobClientConfig;\n/**\n * Options for creating BlobServiceClient instances\n */\nexport type BlobServiceClientOptions = StoragePipelineOptions & BlobClientConfig;\n"]}
@@ -0,0 +1,24 @@
1
+ import type { BlobItemInternal, BlobPrefix as BlobPrefixInternal } from "../generated/src/models/index.js";
2
+ /**
3
+ * The result of parsing an Apache Arrow blob-listing segment: the blobs and
4
+ * prefixes for the current page plus the continuation token for the next page.
5
+ */
6
+ export interface ParsedBlobListArrowSegment {
7
+ /** Continuation token for the next page, read from the Arrow schema metadata. */
8
+ nextMarker?: string;
9
+ /** The blobs in this page, in the generated internal shape (projected to public models by the caller). */
10
+ blobItems: BlobItemInternal[];
11
+ /** The blob prefixes in this page (only populated for hierarchy listings). */
12
+ blobPrefixes: BlobPrefixInternal[];
13
+ }
14
+ /**
15
+ * Reads the raw body of an Apache Arrow List Blobs response (a Node.js readable
16
+ * stream or a browser Blob) and parses it into blob items and prefixes.
17
+ *
18
+ * @param response - The raw stream response returned by the Apache Arrow list operation.
19
+ */
20
+ export declare function parseBlobListArrowResponse(response: {
21
+ readableStreamBody?: NodeJS.ReadableStream;
22
+ blobBody?: Promise<Blob>;
23
+ }): Promise<ParsedBlobListArrowSegment>;
24
+ //# sourceMappingURL=blobListArrowParser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blobListArrowParser.d.ts","sourceRoot":"","sources":["../../../src/utils/blobListArrowParser.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,IAAI,kBAAkB,EAGjC,MAAM,kCAAkC,CAAC;AAG1C;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IACzC,iFAAiF;IACjF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0GAA0G;IAC1G,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,8EAA8E;IAC9E,YAAY,EAAE,kBAAkB,EAAE,CAAC;CACpC;AAED;;;;;GAKG;AACH,wBAAsB,0BAA0B,CAAC,QAAQ,EAAE;IACzD,kBAAkB,CAAC,EAAE,MAAM,CAAC,cAAc,CAAC;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1B,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAStC"}
@@ -0,0 +1,172 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { stringToUint8Array } from "@azure/core-util";
4
+ import { readResponseBodyToBytes } from "./utils.common.js";
5
+ /**
6
+ * Reads the raw body of an Apache Arrow List Blobs response (a Node.js readable
7
+ * stream or a browser Blob) and parses it into blob items and prefixes.
8
+ *
9
+ * @param response - The raw stream response returned by the Apache Arrow list operation.
10
+ */
11
+ export async function parseBlobListArrowResponse(response) {
12
+ // Load apache-arrow lazily so it is only pulled in when the Arrow format is requested.
13
+ const { tableFromIPC } = await import("apache-arrow");
14
+ // Node streams the body into apache-arrow so record batches are read incrementally;
15
+ // the browser reads the whole Blob.
16
+ const table = response.readableStreamBody
17
+ ? await tableFromIPC(response.readableStreamBody)
18
+ : tableFromIPC(await readResponseBodyToBytes(response));
19
+ return projectArrowTable(table);
20
+ }
21
+ /**
22
+ * Reconstructs blob items and prefixes from a decoded Apache Arrow table.
23
+ *
24
+ * The Arrow data is columnar: each field (e.g. `Name`, `Content-Length`) is a
25
+ * separate column. We reconstruct one {@link BlobItemInternal} row per row by reading
26
+ * each column at that row index; the caller projects those to public models. The
27
+ * continuation token travels in the schema metadata (a page-level value, not a column).
28
+ */
29
+ function projectArrowTable(table) {
30
+ const nextMarker = table.schema.metadata?.get("NextMarker") ?? undefined;
31
+ const getColumn = (columnName) => table.getChild(columnName);
32
+ const cell = (rowIndex, columnName) => getColumn(columnName)?.get(rowIndex);
33
+ const asString = (rowIndex, columnName) => {
34
+ const value = cell(rowIndex, columnName);
35
+ return value === undefined || value === null ? undefined : String(value);
36
+ };
37
+ const asBoolean = (rowIndex, columnName) => {
38
+ const value = cell(rowIndex, columnName);
39
+ return value === undefined || value === null ? undefined : Boolean(value);
40
+ };
41
+ const asNumber = (rowIndex, columnName) => {
42
+ const value = cell(rowIndex, columnName);
43
+ return value === undefined || value === null ? undefined : Number(value);
44
+ };
45
+ const asDate = (rowIndex, columnName) => {
46
+ const value = cell(rowIndex, columnName);
47
+ if (value === undefined || value === null) {
48
+ return undefined;
49
+ }
50
+ // apache-arrow normalizes every Timestamp unit to epoch milliseconds when a
51
+ // cell is read (SECOND x1000, MICROSECOND /1000, NANOSECOND /1e6), so the
52
+ // value is already in the milliseconds a Date expects and must not be scaled
53
+ // again. Fall back to string parsing if a column ever arrives non-numeric.
54
+ const millis = Number(value);
55
+ if (Number.isNaN(millis)) {
56
+ const parsed = Date.parse(String(value));
57
+ return Number.isNaN(parsed) ? undefined : new Date(parsed);
58
+ }
59
+ return new Date(millis);
60
+ };
61
+ const asBytesFromBase64 = (rowIndex, columnName) => {
62
+ const value = asString(rowIndex, columnName);
63
+ return value === undefined ? undefined : stringToUint8Array(value, "base64");
64
+ };
65
+ const asMap = (rowIndex, columnName) => toRecord(cell(rowIndex, columnName));
66
+ const blobItems = [];
67
+ const blobPrefixes = [];
68
+ for (let i = 0; i < table.numRows; i++) {
69
+ // BlobPrefix rows only populate the `Name` column; all others are null.
70
+ const resourceType = asString(i, "ResourceType");
71
+ if (resourceType !== undefined && resourceType.toLowerCase() === "blobprefix") {
72
+ blobPrefixes.push({ name: { content: asString(i, "Name") ?? "" } });
73
+ continue;
74
+ }
75
+ const properties = {
76
+ createdOn: asDate(i, "Creation-Time"),
77
+ lastModified: asDate(i, "Last-Modified") ?? new Date(0),
78
+ etag: asString(i, "Etag") ?? "",
79
+ contentLength: asNumber(i, "Content-Length"),
80
+ contentType: asString(i, "Content-Type"),
81
+ contentEncoding: asString(i, "Content-Encoding"),
82
+ contentLanguage: asString(i, "Content-Language"),
83
+ contentMD5: asBytesFromBase64(i, "Content-MD5"),
84
+ contentDisposition: asString(i, "Content-Disposition"),
85
+ cacheControl: asString(i, "Cache-Control"),
86
+ blobSequenceNumber: asNumber(i, "x-ms-blob-sequence-number"),
87
+ blobType: asString(i, "BlobType"),
88
+ leaseStatus: asString(i, "LeaseStatus"),
89
+ leaseState: asString(i, "LeaseState"),
90
+ leaseDuration: asString(i, "LeaseDuration"),
91
+ copyId: asString(i, "CopyId"),
92
+ copyStatus: asString(i, "CopyStatus"),
93
+ copySource: asString(i, "CopySource"),
94
+ copyProgress: asString(i, "CopyProgress"),
95
+ copyCompletedOn: asDate(i, "CopyCompletionTime"),
96
+ copyStatusDescription: asString(i, "CopyStatusDescription"),
97
+ serverEncrypted: asBoolean(i, "ServerEncrypted"),
98
+ incrementalCopy: asBoolean(i, "IncrementalCopy"),
99
+ destinationSnapshot: asString(i, "CopyDestinationSnapshot"),
100
+ deletedOn: asDate(i, "DeletedTime"),
101
+ remainingRetentionDays: asNumber(i, "RemainingRetentionDays"),
102
+ accessTier: asString(i, "AccessTier"),
103
+ accessTierInferred: asBoolean(i, "AccessTierInferred"),
104
+ archiveStatus: asString(i, "ArchiveStatus"),
105
+ smartAccessTier: asString(i, "SmartAccessTier"),
106
+ customerProvidedKeySha256: asString(i, "CustomerProvidedKeySha256"),
107
+ encryptionScope: asString(i, "EncryptionScope"),
108
+ accessTierChangedOn: asDate(i, "AccessTierChangeTime"),
109
+ tagCount: asNumber(i, "TagCount"),
110
+ expiresOn: asDate(i, "Expiry-Time"),
111
+ isSealed: asBoolean(i, "Sealed"),
112
+ rehydratePriority: asString(i, "RehydratePriority"),
113
+ lastAccessedOn: asDate(i, "LastAccessTime"),
114
+ immutabilityPolicyExpiresOn: asDate(i, "ImmutabilityPolicyUntilDate"),
115
+ immutabilityPolicyMode: asString(i, "ImmutabilityPolicyMode"),
116
+ legalHold: asBoolean(i, "LegalHold"),
117
+ };
118
+ blobItems.push({
119
+ name: { content: asString(i, "Name") ?? "" },
120
+ deleted: asBoolean(i, "Deleted") ?? false,
121
+ snapshot: asString(i, "Snapshot") ?? "",
122
+ versionId: asString(i, "VersionId"),
123
+ isCurrentVersion: asBoolean(i, "IsCurrentVersion"),
124
+ properties,
125
+ metadata: asMap(i, "Metadata"),
126
+ blobTags: toBlobTags(asMap(i, "Tags")),
127
+ objectReplicationMetadata: asMap(i, "OrMetadata"),
128
+ hasVersionsOnly: asBoolean(i, "HasVersionsOnly"),
129
+ });
130
+ }
131
+ return { nextMarker, blobItems, blobPrefixes };
132
+ }
133
+ /**
134
+ * Converts an Apache Arrow map cell (a plain string dictionary) into the generated
135
+ * {@link BlobTags} shape, so the shared projection layer can flatten it exactly like
136
+ * the XML path does.
137
+ */
138
+ function toBlobTags(map) {
139
+ return map === undefined
140
+ ? undefined
141
+ : { blobTagSet: Object.entries(map).map(([key, value]) => ({ key, value })) };
142
+ }
143
+ /**
144
+ * Converts an Apache Arrow map cell into a plain string dictionary. Handles the
145
+ * possible shapes an arrow map value can take (iterable of `[key, value]` pairs,
146
+ * iterable of `{ key, value }` structs, or a plain object).
147
+ */
148
+ function toRecord(value) {
149
+ if (value === undefined || value === null) {
150
+ return undefined;
151
+ }
152
+ const entries = [];
153
+ const asText = (v) => (v === undefined || v === null ? "" : String(v));
154
+ if (typeof value[Symbol.iterator] === "function") {
155
+ for (const entry of value) {
156
+ if (Array.isArray(entry)) {
157
+ entries.push([String(entry[0]), asText(entry[1])]);
158
+ }
159
+ else if (entry && typeof entry === "object" && "key" in entry) {
160
+ const { key, value: entryValue } = entry;
161
+ entries.push([String(key), asText(entryValue)]);
162
+ }
163
+ }
164
+ }
165
+ else if (typeof value === "object") {
166
+ for (const [key, entryValue] of Object.entries(value)) {
167
+ entries.push([key, asText(entryValue)]);
168
+ }
169
+ }
170
+ return Object.fromEntries(entries);
171
+ }
172
+ //# sourceMappingURL=blob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AAC,MAAM,CAAC,QAAQ,CAAC,KAAK,UAAU,EAAE,CAAC;QACtF,KAAK,MAAM,KAAK,IAAI,KAA0B,EAAE,CAAC;YAC/C,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;gBACzB,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YACrD,CAAC;iBAAM,IAAI,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,IAAI,KAAK,EAAE,CAAC;gBAChE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,KAAyC,CAAC;gBAC7E,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;YAClD,CAAC;QACH,CAAC;IACH,CAAC;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QACrC,KAAK,MAAM,CAAC,GAAG,EAAE,UAAU,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAgC,CAAC,EAAE,CAAC;YACjF,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;QAC1C,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;AACrC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { stringToUint8Array } from \"@azure/core-util\";\nimport type { Table } from \"apache-arrow\";\nimport type {\n BlobItemInternal,\n BlobPrefix as BlobPrefixInternal,\n BlobPropertiesInternal,\n BlobTags,\n} from \"../generated/src/models/index.js\";\nimport { readResponseBodyToBytes } from \"./utils.common.js\";\n\n/**\n * The result of parsing an Apache Arrow blob-listing segment: the blobs and\n * prefixes for the current page plus the continuation token for the next page.\n */\nexport interface ParsedBlobListArrowSegment {\n /** Continuation token for the next page, read from the Arrow schema metadata. */\n nextMarker?: string;\n /** The blobs in this page, in the generated internal shape (projected to public models by the caller). */\n blobItems: BlobItemInternal[];\n /** The blob prefixes in this page (only populated for hierarchy listings). */\n blobPrefixes: BlobPrefixInternal[];\n}\n\n/**\n * Reads the raw body of an Apache Arrow List Blobs response (a Node.js readable\n * stream or a browser Blob) and parses it into blob items and prefixes.\n *\n * @param response - The raw stream response returned by the Apache Arrow list operation.\n */\nexport async function parseBlobListArrowResponse(response: {\n readableStreamBody?: NodeJS.ReadableStream;\n blobBody?: Promise<Blob>;\n}): Promise<ParsedBlobListArrowSegment> {\n // Load apache-arrow lazily so it is only pulled in when the Arrow format is requested.\n const { tableFromIPC } = await import(\"apache-arrow\");\n // Node streams the body into apache-arrow so record batches are read incrementally;\n // the browser reads the whole Blob.\n const table = response.readableStreamBody\n ? await tableFromIPC(response.readableStreamBody)\n : tableFromIPC(await readResponseBodyToBytes(response));\n return projectArrowTable(table);\n}\n\n/**\n * Reconstructs blob items and prefixes from a decoded Apache Arrow table.\n *\n * The Arrow data is columnar: each field (e.g. `Name`, `Content-Length`) is a\n * separate column. We reconstruct one {@link BlobItemInternal} row per row by reading\n * each column at that row index; the caller projects those to public models. The\n * continuation token travels in the schema metadata (a page-level value, not a column).\n */\nfunction projectArrowTable(table: Table): ParsedBlobListArrowSegment {\n const nextMarker = table.schema.metadata?.get(\"NextMarker\") ?? undefined;\n\n const getColumn = (columnName: string): { get(rowIndex: number): unknown } | null =>\n (\n table as unknown as {\n getChild(name: string): { get(rowIndex: number): unknown } | null;\n }\n ).getChild(columnName);\n\n const cell = (rowIndex: number, columnName: string): unknown =>\n getColumn(columnName)?.get(rowIndex);\n\n const asString = (rowIndex: number, columnName: string): string | undefined => {\n const value = cell(rowIndex, columnName);\n return value === undefined || value === null ? undefined : String(value);\n };\n const asBoolean = (rowIndex: number, columnName: string): boolean | undefined => {\n const value = cell(rowIndex, columnName);\n return value === undefined || value === null ? undefined : Boolean(value);\n };\n const asNumber = (rowIndex: number, columnName: string): number | undefined => {\n const value = cell(rowIndex, columnName);\n return value === undefined || value === null ? undefined : Number(value);\n };\n const asDate = (rowIndex: number, columnName: string): Date | undefined => {\n const value = cell(rowIndex, columnName);\n if (value === undefined || value === null) {\n return undefined;\n }\n // apache-arrow normalizes every Timestamp unit to epoch milliseconds when a\n // cell is read (SECOND x1000, MICROSECOND /1000, NANOSECOND /1e6), so the\n // value is already in the milliseconds a Date expects and must not be scaled\n // again. Fall back to string parsing if a column ever arrives non-numeric.\n const millis = Number(value);\n if (Number.isNaN(millis)) {\n const parsed = Date.parse(String(value));\n return Number.isNaN(parsed) ? undefined : new Date(parsed);\n }\n return new Date(millis);\n };\n const asBytesFromBase64 = (rowIndex: number, columnName: string): Uint8Array | undefined => {\n const value = asString(rowIndex, columnName);\n return value === undefined ? undefined : stringToUint8Array(value, \"base64\");\n };\n const asMap = (rowIndex: number, columnName: string): Record<string, string> | undefined =>\n toRecord(cell(rowIndex, columnName));\n\n const blobItems: BlobItemInternal[] = [];\n const blobPrefixes: BlobPrefixInternal[] = [];\n\n for (let i = 0; i < table.numRows; i++) {\n // BlobPrefix rows only populate the `Name` column; all others are null.\n const resourceType = asString(i, \"ResourceType\");\n if (resourceType !== undefined && resourceType.toLowerCase() === \"blobprefix\") {\n blobPrefixes.push({ name: { content: asString(i, \"Name\") ?? \"\" } });\n continue;\n }\n\n const properties: BlobPropertiesInternal = {\n createdOn: asDate(i, \"Creation-Time\"),\n lastModified: asDate(i, \"Last-Modified\") ?? new Date(0),\n etag: asString(i, \"Etag\") ?? \"\",\n contentLength: asNumber(i, \"Content-Length\"),\n contentType: asString(i, \"Content-Type\"),\n contentEncoding: asString(i, \"Content-Encoding\"),\n contentLanguage: asString(i, \"Content-Language\"),\n contentMD5: asBytesFromBase64(i, \"Content-MD5\"),\n contentDisposition: asString(i, \"Content-Disposition\"),\n cacheControl: asString(i, \"Cache-Control\"),\n blobSequenceNumber: asNumber(i, \"x-ms-blob-sequence-number\"),\n blobType: asString(i, \"BlobType\") as BlobPropertiesInternal[\"blobType\"],\n leaseStatus: asString(i, \"LeaseStatus\") as BlobPropertiesInternal[\"leaseStatus\"],\n leaseState: asString(i, \"LeaseState\") as BlobPropertiesInternal[\"leaseState\"],\n leaseDuration: asString(i, \"LeaseDuration\") as BlobPropertiesInternal[\"leaseDuration\"],\n copyId: asString(i, \"CopyId\"),\n copyStatus: asString(i, \"CopyStatus\") as BlobPropertiesInternal[\"copyStatus\"],\n copySource: asString(i, \"CopySource\"),\n copyProgress: asString(i, \"CopyProgress\"),\n copyCompletedOn: asDate(i, \"CopyCompletionTime\"),\n copyStatusDescription: asString(i, \"CopyStatusDescription\"),\n serverEncrypted: asBoolean(i, \"ServerEncrypted\"),\n incrementalCopy: asBoolean(i, \"IncrementalCopy\"),\n destinationSnapshot: asString(i, \"CopyDestinationSnapshot\"),\n deletedOn: asDate(i, \"DeletedTime\"),\n remainingRetentionDays: asNumber(i, \"RemainingRetentionDays\"),\n accessTier: asString(i, \"AccessTier\") as BlobPropertiesInternal[\"accessTier\"],\n accessTierInferred: asBoolean(i, \"AccessTierInferred\"),\n archiveStatus: asString(i, \"ArchiveStatus\") as BlobPropertiesInternal[\"archiveStatus\"],\n smartAccessTier: asString(i, \"SmartAccessTier\") as BlobPropertiesInternal[\"smartAccessTier\"],\n customerProvidedKeySha256: asString(i, \"CustomerProvidedKeySha256\"),\n encryptionScope: asString(i, \"EncryptionScope\"),\n accessTierChangedOn: asDate(i, \"AccessTierChangeTime\"),\n tagCount: asNumber(i, \"TagCount\"),\n expiresOn: asDate(i, \"Expiry-Time\"),\n isSealed: asBoolean(i, \"Sealed\"),\n rehydratePriority: asString(\n i,\n \"RehydratePriority\",\n ) as BlobPropertiesInternal[\"rehydratePriority\"],\n lastAccessedOn: asDate(i, \"LastAccessTime\"),\n immutabilityPolicyExpiresOn: asDate(i, \"ImmutabilityPolicyUntilDate\"),\n immutabilityPolicyMode: asString(\n i,\n \"ImmutabilityPolicyMode\",\n ) as BlobPropertiesInternal[\"immutabilityPolicyMode\"],\n legalHold: asBoolean(i, \"LegalHold\"),\n };\n\n blobItems.push({\n name: { content: asString(i, \"Name\") ?? \"\" },\n deleted: asBoolean(i, \"Deleted\") ?? false,\n snapshot: asString(i, \"Snapshot\") ?? \"\",\n versionId: asString(i, \"VersionId\"),\n isCurrentVersion: asBoolean(i, \"IsCurrentVersion\"),\n properties,\n metadata: asMap(i, \"Metadata\"),\n blobTags: toBlobTags(asMap(i, \"Tags\")),\n objectReplicationMetadata: asMap(i, \"OrMetadata\"),\n hasVersionsOnly: asBoolean(i, \"HasVersionsOnly\"),\n });\n }\n\n return { nextMarker, blobItems, blobPrefixes };\n}\n\n/**\n * Converts an Apache Arrow map cell (a plain string dictionary) into the generated\n * {@link BlobTags} shape, so the shared projection layer can flatten it exactly like\n * the XML path does.\n */\nfunction toBlobTags(map: Record<string, string> | undefined): BlobTags | undefined {\n return map === undefined\n ? undefined\n : { blobTagSet: Object.entries(map).map(([key, value]) => ({ key, value })) };\n}\n\n/**\n * Converts an Apache Arrow map cell into a plain string dictionary. Handles the\n * possible shapes an arrow map value can take (iterable of `[key, value]` pairs,\n * iterable of `{ key, value }` structs, or a plain object).\n */\nfunction toRecord(value: unknown): Record<string, string> | undefined {\n if (value === undefined || value === null) {\n return undefined;\n }\n const entries: Array<[string, string]> = [];\n const asText = (v: unknown): string => (v === undefined || v === null ? \"\" : String(v));\n if (typeof (value as { [Symbol.iterator]?: unknown })[Symbol.iterator] === \"function\") {\n for (const entry of value as Iterable<unknown>) {\n if (Array.isArray(entry)) {\n entries.push([String(entry[0]), asText(entry[1])]);\n } else if (entry && typeof entry === \"object\" && \"key\" in entry) {\n const { key, value: entryValue } = entry as { key: unknown; value: unknown };\n entries.push([String(key), asText(entryValue)]);\n }\n }\n } else if (typeof value === \"object\") {\n for (const [key, entryValue] of Object.entries(value as Record<string, unknown>)) {\n entries.push([key, asText(entryValue)]);\n }\n }\n return Object.fromEntries(entries);\n}\n"]}
@@ -0,0 +1,29 @@
1
+ import type { ListBlobsFlatSegmentResponse, ListBlobsHierarchySegmentResponse } from "../generated/src/models/index.js";
2
+ /**
3
+ * Deserializes a List Blobs (flat) XML response body. Used when the service falls
4
+ * back to XML for an account that does not support Apache Arrow; parses the
5
+ * already-received stream instead of issuing a second request.
6
+ *
7
+ * @param response - The raw stream response from the list operation, with an XML body.
8
+ */
9
+ export declare function deserializeListBlobFlatSegmentXml(response: {
10
+ readableStreamBody?: NodeJS.ReadableStream;
11
+ blobBody?: Promise<Blob>;
12
+ }): Promise<{
13
+ parsed: ListBlobsFlatSegmentResponse;
14
+ bodyAsText: string;
15
+ }>;
16
+ /**
17
+ * Deserializes a List Blobs by hierarchy XML response body (see
18
+ * {@link deserializeListBlobFlatSegmentXml}).
19
+ *
20
+ * @param response - The raw stream response from the list operation, with an XML body.
21
+ */
22
+ export declare function deserializeListBlobHierarchySegmentXml(response: {
23
+ readableStreamBody?: NodeJS.ReadableStream;
24
+ blobBody?: Promise<Blob>;
25
+ }): Promise<{
26
+ parsed: ListBlobsHierarchySegmentResponse;
27
+ bodyAsText: string;
28
+ }>;
29
+ //# sourceMappingURL=blobListXmlParser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blobListXmlParser.d.ts","sourceRoot":"","sources":["../../../src/utils/blobListXmlParser.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,4BAA4B,EAC5B,iCAAiC,EAClC,MAAM,kCAAkC,CAAC;AAkB1C;;;;;;GAMG;AACH,wBAAsB,iCAAiC,CAAC,QAAQ,EAAE;IAChE,kBAAkB,CAAC,EAAE,MAAM,CAAC,cAAc,CAAC;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1B,GAAG,OAAO,CAAC;IAAE,MAAM,EAAE,4BAA4B,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC,CAaxE;AAED;;;;;GAKG;AACH,wBAAsB,sCAAsC,CAAC,QAAQ,EAAE;IACrE,kBAAkB,CAAC,EAAE,MAAM,CAAC,cAAc,CAAC;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1B,GAAG,OAAO,CAAC;IAAE,MAAM,EAAE,iCAAiC,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC,CAa7E"}
@@ -0,0 +1,49 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import * as coreClient from "@azure/core-client";
4
+ import { parseXML } from "@azure/core-xml";
5
+ import * as Mappers from "../generated/src/models/mappers.js";
6
+ import { readResponseBodyToBytes } from "./utils.common.js";
7
+ const listBlobsXmlSerializer = coreClient.createSerializer(Mappers, /* isXml */ true);
8
+ /**
9
+ * Reads a raw response body (a Node.js readable stream or a browser Blob) as text,
10
+ * used for the XML fallback path.
11
+ */
12
+ async function readResponseBodyToText(response) {
13
+ const bytes = await readResponseBodyToBytes(response);
14
+ return new TextDecoder().decode(bytes);
15
+ }
16
+ /**
17
+ * Deserializes a List Blobs (flat) XML response body. Used when the service falls
18
+ * back to XML for an account that does not support Apache Arrow; parses the
19
+ * already-received stream instead of issuing a second request.
20
+ *
21
+ * @param response - The raw stream response from the list operation, with an XML body.
22
+ */
23
+ export async function deserializeListBlobFlatSegmentXml(response) {
24
+ const bodyAsText = await readResponseBodyToText(response);
25
+ const parsedXml = (await parseXML(bodyAsText, {
26
+ includeRoot: true,
27
+ }));
28
+ return {
29
+ parsed: listBlobsXmlSerializer.deserialize(Mappers.ListBlobsFlatSegmentResponse, parsedXml.EnumerationResults ?? parsedXml, "EnumerationResults"),
30
+ bodyAsText,
31
+ };
32
+ }
33
+ /**
34
+ * Deserializes a List Blobs by hierarchy XML response body (see
35
+ * {@link deserializeListBlobFlatSegmentXml}).
36
+ *
37
+ * @param response - The raw stream response from the list operation, with an XML body.
38
+ */
39
+ export async function deserializeListBlobHierarchySegmentXml(response) {
40
+ const bodyAsText = await readResponseBodyToText(response);
41
+ const parsedXml = (await parseXML(bodyAsText, {
42
+ includeRoot: true,
43
+ }));
44
+ return {
45
+ parsed: listBlobsXmlSerializer.deserialize(Mappers.ListBlobsHierarchySegmentResponse, parsedXml.EnumerationResults ?? parsedXml, "EnumerationResults"),
46
+ bodyAsText,
47
+ };
48
+ }
49
+ //# sourceMappingURL=blobListXmlParser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blobListXmlParser.js","sourceRoot":"","sources":["../../../src/utils/blobListXmlParser.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAK3C,OAAO,KAAK,OAAO,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,MAAM,sBAAsB,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;AAEtF;;;GAGG;AACH,KAAK,UAAU,sBAAsB,CAAC,QAGrC;IACC,MAAM,KAAK,GAAG,MAAM,uBAAuB,CAAC,QAAQ,CAAC,CAAC;IACtD,OAAO,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AACzC,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,iCAAiC,CAAC,QAGvD;IACC,MAAM,UAAU,GAAG,MAAM,sBAAsB,CAAC,QAAQ,CAAC,CAAC;IAC1D,MAAM,SAAS,GAAG,CAAC,MAAM,QAAQ,CAAC,UAAU,EAAE;QAC5C,WAAW,EAAE,IAAI;KAClB,CAAC,CAA4B,CAAC;IAC/B,OAAO;QACL,MAAM,EAAE,sBAAsB,CAAC,WAAW,CACxC,OAAO,CAAC,4BAA4B,EACpC,SAAS,CAAC,kBAAkB,IAAI,SAAS,EACzC,oBAAoB,CACW;QACjC,UAAU;KACX,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,sCAAsC,CAAC,QAG5D;IACC,MAAM,UAAU,GAAG,MAAM,sBAAsB,CAAC,QAAQ,CAAC,CAAC;IAC1D,MAAM,SAAS,GAAG,CAAC,MAAM,QAAQ,CAAC,UAAU,EAAE;QAC5C,WAAW,EAAE,IAAI;KAClB,CAAC,CAA4B,CAAC;IAC/B,OAAO;QACL,MAAM,EAAE,sBAAsB,CAAC,WAAW,CACxC,OAAO,CAAC,iCAAiC,EACzC,SAAS,CAAC,kBAAkB,IAAI,SAAS,EACzC,oBAAoB,CACgB;QACtC,UAAU;KACX,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport * as coreClient from \"@azure/core-client\";\nimport { parseXML } from \"@azure/core-xml\";\nimport type {\n ListBlobsFlatSegmentResponse,\n ListBlobsHierarchySegmentResponse,\n} from \"../generated/src/models/index.js\";\nimport * as Mappers from \"../generated/src/models/mappers.js\";\nimport { readResponseBodyToBytes } from \"./utils.common.js\";\n\nconst listBlobsXmlSerializer = coreClient.createSerializer(Mappers, /* isXml */ true);\n\n/**\n * Reads a raw response body (a Node.js readable stream or a browser Blob) as text,\n * used for the XML fallback path.\n */\nasync function readResponseBodyToText(response: {\n readableStreamBody?: NodeJS.ReadableStream;\n blobBody?: Promise<Blob>;\n}): Promise<string> {\n const bytes = await readResponseBodyToBytes(response);\n return new TextDecoder().decode(bytes);\n}\n\n/**\n * Deserializes a List Blobs (flat) XML response body. Used when the service falls\n * back to XML for an account that does not support Apache Arrow; parses the\n * already-received stream instead of issuing a second request.\n *\n * @param response - The raw stream response from the list operation, with an XML body.\n */\nexport async function deserializeListBlobFlatSegmentXml(response: {\n readableStreamBody?: NodeJS.ReadableStream;\n blobBody?: Promise<Blob>;\n}): Promise<{ parsed: ListBlobsFlatSegmentResponse; bodyAsText: string }> {\n const bodyAsText = await readResponseBodyToText(response);\n const parsedXml = (await parseXML(bodyAsText, {\n includeRoot: true,\n })) as Record<string, unknown>;\n return {\n parsed: listBlobsXmlSerializer.deserialize(\n Mappers.ListBlobsFlatSegmentResponse,\n parsedXml.EnumerationResults ?? parsedXml,\n \"EnumerationResults\",\n ) as ListBlobsFlatSegmentResponse,\n bodyAsText,\n };\n}\n\n/**\n * Deserializes a List Blobs by hierarchy XML response body (see\n * {@link deserializeListBlobFlatSegmentXml}).\n *\n * @param response - The raw stream response from the list operation, with an XML body.\n */\nexport async function deserializeListBlobHierarchySegmentXml(response: {\n readableStreamBody?: NodeJS.ReadableStream;\n blobBody?: Promise<Blob>;\n}): Promise<{ parsed: ListBlobsHierarchySegmentResponse; bodyAsText: string }> {\n const bodyAsText = await readResponseBodyToText(response);\n const parsedXml = (await parseXML(bodyAsText, {\n includeRoot: true,\n })) as Record<string, unknown>;\n return {\n parsed: listBlobsXmlSerializer.deserialize(\n Mappers.ListBlobsHierarchySegmentResponse,\n parsedXml.EnumerationResults ?? parsedXml,\n \"EnumerationResults\",\n ) as ListBlobsHierarchySegmentResponse,\n bodyAsText,\n };\n}\n"]}
@@ -11,6 +11,12 @@ export declare const REQUEST_TIMEOUT: number;
11
11
  * The OAuth scope to use with Azure Storage.
12
12
  */
13
13
  export declare const StorageOAuthScopes: string | string[];
14
+ /**
15
+ * The media type returned by the List Blobs Apache Arrow operation when Apache Arrow
16
+ * is enabled for the account. When the response Content-Type differs from this value,
17
+ * the service has fallen back to XML.
18
+ */
19
+ export declare const ApacheArrowContentType: string;
14
20
  export declare const URLConstants: {
15
21
  Parameters: {
16
22
  FORCE_BROWSER_NO_CACHE: string;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,EAAE,MAA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,eAAO,MAAM,cAAc,UAqB1B,CAAC"}
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
- export const SDK_VERSION = "12.33.0";
4
- export const SERVICE_VERSION = "2026-06-06";
3
+ export const SDK_VERSION = "12.34.0";
4
+ export const SERVICE_VERSION = "2026-10-06";
5
5
  export const BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES = 256 * 1024 * 1024; // 256MB
6
6
  export const BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES = 4000 * 1024 * 1024; // 4000MB
7
7
  export const BLOCK_BLOB_MAX_BLOCKS = 50000;
@@ -13,6 +13,12 @@ export const REQUEST_TIMEOUT = 100 * 1000; // In ms
13
13
  * The OAuth scope to use with Azure Storage.
14
14
  */
15
15
  export const StorageOAuthScopes = "https://storage.azure.com/.default";
16
+ /**
17
+ * The media type returned by the List Blobs Apache Arrow operation when Apache Arrow
18
+ * is enabled for the account. When the response Content-Type differs from this value,
19
+ * the service has fallen back to XML.
20
+ */
21
+ export const ApacheArrowContentType = "application/vnd.apache.arrow.stream";
16
22
  export const URLConstants = {
17
23
  Parameters: {
18
24
  FORCE_BROWSER_NO_CACHE: "_",
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,SAAS,CAAC;AAC7C,MAAM,CAAC,MAAM,eAAe,GAAW,YAAY,CAAC;AAEpD,MAAM,CAAC,MAAM,gCAAgC,GAAW,GAAG,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,QAAQ;AACnF,MAAM,CAAC,MAAM,gCAAgC,GAAW,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,SAAS;AACrF,MAAM,CAAC,MAAM,qBAAqB,GAAW,KAAK,CAAC;AACnD,MAAM,CAAC,MAAM,+BAA+B,GAAW,CAA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F,MAAM,CAAC,MAAM,sCAAsC,GAAG,qCAAqC,CAAC;AAC5F,MAAM,CAAC,MAAM,yCAAyC,GACpD,2CAA2C,CAAC;AAE9C,iDAAiD;AACjD,wGAAwG;AACxG,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;CACR,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport const SDK_VERSION: string = \"12.33.0\";\nexport const SERVICE_VERSION: string = \"2026-06-06\";\n\nexport const BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES: number = 256 * 1024 * 1024; // 256MB\nexport const BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES: number = 4000 * 1024 * 1024; // 4000MB\nexport const BLOCK_BLOB_MAX_BLOCKS: number = 50000;\nexport const DEFAULT_BLOCK_BUFFER_SIZE_BYTES: number = 8 * 1024 * 1024; // 8MB\nexport const DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES: number = 4 * 1024 * 1024; // 4MB\nexport const DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS: number = 5;\n\nexport const REQUEST_TIMEOUT: number = 100 * 1000; // In ms\n/**\n * The OAuth scope to use with Azure Storage.\n */\nexport const StorageOAuthScopes: string | string[] = \"https://storage.azure.com/.default\";\n\nexport const URLConstants = {\n Parameters: {\n FORCE_BROWSER_NO_CACHE: \"_\",\n SIGNATURE: \"sig\",\n SNAPSHOT: \"snapshot\",\n VERSIONID: \"versionid\",\n TIMEOUT: \"timeout\",\n },\n};\n\nexport const HTTPURLConnection = {\n HTTP_ACCEPTED: 202,\n HTTP_CONFLICT: 409,\n HTTP_NOT_FOUND: 404,\n HTTP_PRECON_FAILED: 412,\n HTTP_RANGE_NOT_SATISFIABLE: 416,\n};\n\nexport const HeaderConstants = {\n AUTHORIZATION: \"Authorization\",\n AUTHORIZATION_SCHEME: \"Bearer\",\n CONTENT_ENCODING: \"Content-Encoding\",\n CONTENT_ID: \"Content-ID\",\n CONTENT_LANGUAGE: \"Content-Language\",\n CONTENT_LENGTH: \"Content-Length\",\n CONTENT_MD5: \"Content-Md5\",\n CONTENT_TRANSFER_ENCODING: \"Content-Transfer-Encoding\",\n CONTENT_TYPE: \"Content-Type\",\n COOKIE: \"Cookie\",\n DATE: \"date\",\n IF_MATCH: \"if-match\",\n IF_MODIFIED_SINCE: \"if-modified-since\",\n IF_NONE_MATCH: \"if-none-match\",\n IF_UNMODIFIED_SINCE: \"if-unmodified-since\",\n PREFIX_FOR_STORAGE: \"x-ms-\",\n RANGE: \"Range\",\n USER_AGENT: \"User-Agent\",\n X_MS_CLIENT_REQUEST_ID: \"x-ms-client-request-id\",\n X_MS_COPY_SOURCE: \"x-ms-copy-source\",\n X_MS_DATE: \"x-ms-date\",\n X_MS_ERROR_CODE: \"x-ms-error-code\",\n X_MS_VERSION: \"x-ms-version\",\n X_MS_CopySourceErrorCode: \"x-ms-copy-source-error-code\",\n};\n\nexport const ETagNone = \"\";\nexport const ETagAny = \"*\";\n\nexport const SIZE_1_MB = 1 * 1024 * 1024;\nexport const BATCH_MAX_REQUEST = 256;\nexport const BATCH_MAX_PAYLOAD_IN_BYTES = 4 * SIZE_1_MB;\nexport const HTTP_LINE_ENDING = \"\\r\\n\";\nexport const HTTP_VERSION_1_1 = \"HTTP/1.1\";\n\nexport const EncryptionAlgorithmAES25 = \"AES256\";\n\nexport const DevelopmentConnectionString = `DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;\n\nexport const StorageBlobLoggingAllowedHeaderNames = [\n \"Access-Control-Allow-Origin\",\n \"Cache-Control\",\n \"Content-Length\",\n \"Content-Type\",\n \"Date\",\n \"Request-Id\",\n \"traceparent\",\n \"Transfer-Encoding\",\n \"User-Agent\",\n \"x-ms-client-request-id\",\n \"x-ms-date\",\n \"x-ms-error-code\",\n \"x-ms-request-id\",\n \"x-ms-return-client-request-id\",\n \"x-ms-version\",\n \"Accept-Ranges\",\n \"Content-Disposition\",\n \"Content-Encoding\",\n \"Content-Language\",\n \"Content-MD5\",\n \"Content-Range\",\n \"ETag\",\n \"Last-Modified\",\n \"Server\",\n \"Vary\",\n \"x-ms-content-crc64\",\n \"x-ms-copy-action\",\n \"x-ms-copy-completion-time\",\n \"x-ms-copy-id\",\n \"x-ms-copy-progress\",\n \"x-ms-copy-status\",\n \"x-ms-has-immutability-policy\",\n \"x-ms-has-legal-hold\",\n \"x-ms-lease-state\",\n \"x-ms-lease-status\",\n \"x-ms-range\",\n \"x-ms-request-server-encrypted\",\n \"x-ms-server-encrypted\",\n \"x-ms-snapshot\",\n \"x-ms-source-range\",\n \"If-Match\",\n \"If-Modified-Since\",\n \"If-None-Match\",\n \"If-Unmodified-Since\",\n \"x-ms-access-tier\",\n \"x-ms-access-tier-change-time\",\n \"x-ms-access-tier-inferred\",\n \"x-ms-account-kind\",\n \"x-ms-archive-status\",\n \"x-ms-blob-append-offset\",\n \"x-ms-blob-cache-control\",\n \"x-ms-blob-committed-block-count\",\n \"x-ms-blob-condition-appendpos\",\n \"x-ms-blob-condition-maxsize\",\n \"x-ms-blob-content-disposition\",\n \"x-ms-blob-content-encoding\",\n \"x-ms-blob-content-language\",\n \"x-ms-blob-content-length\",\n \"x-ms-blob-content-md5\",\n \"x-ms-blob-content-type\",\n \"x-ms-blob-public-access\",\n \"x-ms-blob-sequence-number\",\n \"x-ms-blob-type\",\n \"x-ms-copy-destination-snapshot\",\n \"x-ms-creation-time\",\n \"x-ms-default-encryption-scope\",\n \"x-ms-delete-snapshots\",\n \"x-ms-delete-type-permanent\",\n \"x-ms-deny-encryption-scope-override\",\n \"x-ms-encryption-algorithm\",\n \"x-ms-if-sequence-number-eq\",\n \"x-ms-if-sequence-number-le\",\n \"x-ms-if-sequence-number-lt\",\n \"x-ms-incremental-copy\",\n \"x-ms-lease-action\",\n \"x-ms-lease-break-period\",\n \"x-ms-lease-duration\",\n \"x-ms-lease-id\",\n \"x-ms-lease-time\",\n \"x-ms-page-write\",\n \"x-ms-proposed-lease-id\",\n \"x-ms-range-get-content-md5\",\n \"x-ms-rehydrate-priority\",\n \"x-ms-sequence-number-action\",\n \"x-ms-sku-name\",\n \"x-ms-source-content-md5\",\n \"x-ms-source-if-match\",\n \"x-ms-source-if-modified-since\",\n \"x-ms-source-if-none-match\",\n \"x-ms-source-if-unmodified-since\",\n \"x-ms-tag-count\",\n \"x-ms-encryption-key-sha256\",\n \"x-ms-copy-source-error-code\",\n \"x-ms-copy-source-status-code\",\n \"x-ms-if-tags\",\n \"x-ms-source-if-tags\",\n];\n\nexport const StorageBlobLoggingAllowedQueryParameters = [\n \"comp\",\n \"maxresults\",\n \"rscc\",\n \"rscd\",\n \"rsce\",\n \"rscl\",\n \"rsct\",\n \"se\",\n \"si\",\n \"sip\",\n \"sp\",\n \"spr\",\n \"sr\",\n \"srt\",\n \"ss\",\n \"st\",\n \"sv\",\n \"include\",\n \"marker\",\n \"prefix\",\n \"copyid\",\n \"restype\",\n \"blockid\",\n \"blocklisttype\",\n \"delimiter\",\n \"prevsnapshot\",\n \"ske\",\n \"skoid\",\n \"sks\",\n \"skt\",\n \"sktid\",\n \"skv\",\n \"snapshot\",\n];\n\nexport const BlobUsesCustomerSpecifiedEncryptionMsg = \"BlobUsesCustomerSpecifiedEncryption\";\nexport const BlobDoesNotUseCustomerSpecifiedEncryption =\n \"BlobDoesNotUseCustomerSpecifiedEncryption\";\n\n/// List of ports used for path style addressing.\n/// Path style addressing means that storage account is put in URI's Path segment in instead of in host.\nexport const PathStylePorts = [\n \"10000\",\n \"10001\",\n \"10002\",\n \"10003\",\n \"10004\",\n \"10100\",\n \"10101\",\n \"10102\",\n \"10103\",\n \"10104\",\n \"11000\",\n \"11001\",\n \"11002\",\n \"11003\",\n \"11004\",\n \"11100\",\n \"11101\",\n \"11102\",\n \"11103\",\n \"11104\",\n];\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,SAAS,CAAC;AAC7C,MAAM,CAAC,MAAM,eAAe,GAAW,YAAY,CAAC;AAEpD,MAAM,CAAC,MAAM,gCAAgC,GAAW,GAAG,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,QAAQ;AACnF,MAAM,CAAC,MAAM,gCAAgC,GAAW,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,SAAS;AACrF,MAAM,CAAC,MAAM,qBAAqB,GAAW,KAAK,CAAC;AACnD,MAAM,CAAC,MAAM,+BAA+B,GAAW,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,MAAM;AAC9E,MAAM,CAAC,MAAM,iCAAiC,GAAW,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,MAAM;AAChF,MAAM,CAAC,MAAM,mCAAmC,GAAW,CAAC,CAAC;AAE7D,MAAM,CAAC,MAAM,eAAe,GAAW,GAAG,GAAG,IAAI,CAAC,CAAC,QAAQ;AAC3D;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAsB,oCAAoC,CAAC;AAE1F;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAW,qCAAqC,CAAC;AAEpF,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,UAAU,EAAE;QACV,sBAAsB,EAAE,GAAG;QAC3B,SAAS,EAAE,KAAK;QAChB,QAAQ,EAAE,UAAU;QACpB,SA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AC5B,uBAAuB;IACvB,mBAAmB;IACnB,yBAAyB;IACzB,qBAAqB;IACrB,eAAe;IACf,iBAAiB;IACjB,iBAAiB;IACjB,wBAAwB;IACxB,4BAA4B;IAC5B,yBAAyB;IACzB,6BAA6B;IAC7B,eAAe;IACf,yBAAyB;IACzB,sBAAsB;IACtB,+BAA+B;IAC/B,2BAA2B;IAC3B,iCAAiC;IACjC,gBAAgB;IAChB,4BAA4B;IAC5B,6BAA6B;IAC7B,8BAA8B;IAC9B,cAAc;IACd,qBAAqB;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,wCAAwC,GAAG;IACtD,MAAM;IACN,YAAY;IACZ,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,SAAS;IACT,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,SAAS;IACT,SAAS;IACT,eAAe;IACf,WAAW;IACX,cAAc;IACd,KAAK;IACL,OAAO;IACP,KAAK;IACL,KAAK;IACL,OAAO;IACP,KAAK;IACL,UAAU;CACX,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GAAG,qCAAqC,CAAC;AAC5F,MAAM,CAAC,MAAM,yCAAyC,GACpD,2CAA2C,CAAC;AAE9C,iDAAiD;AACjD,wGAAwG;AACxG,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;CACR,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport const SDK_VERSION: string = \"12.34.0\";\nexport const SERVICE_VERSION: string = \"2026-10-06\";\n\nexport const BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES: number = 256 * 1024 * 1024; // 256MB\nexport const BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES: number = 4000 * 1024 * 1024; // 4000MB\nexport const BLOCK_BLOB_MAX_BLOCKS: number = 50000;\nexport const DEFAULT_BLOCK_BUFFER_SIZE_BYTES: number = 8 * 1024 * 1024; // 8MB\nexport const DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES: number = 4 * 1024 * 1024; // 4MB\nexport const DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS: number = 5;\n\nexport const REQUEST_TIMEOUT: number = 100 * 1000; // In ms\n/**\n * The OAuth scope to use with Azure Storage.\n */\nexport const StorageOAuthScopes: string | string[] = \"https://storage.azure.com/.default\";\n\n/**\n * The media type returned by the List Blobs Apache Arrow operation when Apache Arrow\n * is enabled for the account. When the response Content-Type differs from this value,\n * the service has fallen back to XML.\n */\nexport const ApacheArrowContentType: string = \"application/vnd.apache.arrow.stream\";\n\nexport const URLConstants = {\n Parameters: {\n FORCE_BROWSER_NO_CACHE: \"_\",\n SIGNATURE: \"sig\",\n SNAPSHOT: \"snapshot\",\n VERSIONID: \"versionid\",\n TIMEOUT: \"timeout\",\n },\n};\n\nexport const HTTPURLConnection = {\n HTTP_ACCEPTED: 202,\n HTTP_CONFLICT: 409,\n HTTP_NOT_FOUND: 404,\n HTTP_PRECON_FAILED: 412,\n HTTP_RANGE_NOT_SATISFIABLE: 416,\n};\n\nexport const HeaderConstants = {\n AUTHORIZATION: \"Authorization\",\n AUTHORIZATION_SCHEME: \"Bearer\",\n CONTENT_ENCODING: \"Content-Encoding\",\n CONTENT_ID: \"Content-ID\",\n CONTENT_LANGUAGE: \"Content-Language\",\n CONTENT_LENGTH: \"Content-Length\",\n CONTENT_MD5: \"Content-Md5\",\n CONTENT_TRANSFER_ENCODING: \"Content-Transfer-Encoding\",\n CONTENT_TYPE: \"Content-Type\",\n COOKIE: \"Cookie\",\n DATE: \"date\",\n IF_MATCH: \"if-match\",\n IF_MODIFIED_SINCE: \"if-modified-since\",\n IF_NONE_MATCH: \"if-none-match\",\n IF_UNMODIFIED_SINCE: \"if-unmodified-since\",\n PREFIX_FOR_STORAGE: \"x-ms-\",\n RANGE: \"Range\",\n USER_AGENT: \"User-Agent\",\n X_MS_CLIENT_REQUEST_ID: \"x-ms-client-request-id\",\n X_MS_COPY_SOURCE: \"x-ms-copy-source\",\n X_MS_DATE: \"x-ms-date\",\n X_MS_ERROR_CODE: \"x-ms-error-code\",\n X_MS_VERSION: \"x-ms-version\",\n X_MS_CopySourceErrorCode: \"x-ms-copy-source-error-code\",\n};\n\nexport const ETagNone = \"\";\nexport const ETagAny = \"*\";\n\nexport const SIZE_1_MB = 1 * 1024 * 1024;\nexport const BATCH_MAX_REQUEST = 256;\nexport const BATCH_MAX_PAYLOAD_IN_BYTES = 4 * SIZE_1_MB;\nexport const HTTP_LINE_ENDING = \"\\r\\n\";\nexport const HTTP_VERSION_1_1 = \"HTTP/1.1\";\n\nexport const EncryptionAlgorithmAES25 = \"AES256\";\n\nexport const DevelopmentConnectionString = `DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;\n\nexport const StorageBlobLoggingAllowedHeaderNames = [\n \"Access-Control-Allow-Origin\",\n \"Cache-Control\",\n \"Content-Length\",\n \"Content-Type\",\n \"Date\",\n \"Request-Id\",\n \"traceparent\",\n \"Transfer-Encoding\",\n \"User-Agent\",\n \"x-ms-client-request-id\",\n \"x-ms-date\",\n \"x-ms-error-code\",\n \"x-ms-request-id\",\n \"x-ms-return-client-request-id\",\n \"x-ms-version\",\n \"Accept-Ranges\",\n \"Content-Disposition\",\n \"Content-Encoding\",\n \"Content-Language\",\n \"Content-MD5\",\n \"Content-Range\",\n \"ETag\",\n \"Last-Modified\",\n \"Server\",\n \"Vary\",\n \"x-ms-content-crc64\",\n \"x-ms-copy-action\",\n \"x-ms-copy-completion-time\",\n \"x-ms-copy-id\",\n \"x-ms-copy-progress\",\n \"x-ms-copy-status\",\n \"x-ms-has-immutability-policy\",\n \"x-ms-has-legal-hold\",\n \"x-ms-lease-state\",\n \"x-ms-lease-status\",\n \"x-ms-range\",\n \"x-ms-request-server-encrypted\",\n \"x-ms-server-encrypted\",\n \"x-ms-snapshot\",\n \"x-ms-source-range\",\n \"If-Match\",\n \"If-Modified-Since\",\n \"If-None-Match\",\n \"If-Unmodified-Since\",\n \"x-ms-access-tier\",\n \"x-ms-access-tier-change-time\",\n \"x-ms-access-tier-inferred\",\n \"x-ms-account-kind\",\n \"x-ms-archive-status\",\n \"x-ms-blob-append-offset\",\n \"x-ms-blob-cache-control\",\n \"x-ms-blob-committed-block-count\",\n \"x-ms-blob-condition-appendpos\",\n \"x-ms-blob-condition-maxsize\",\n \"x-ms-blob-content-disposition\",\n \"x-ms-blob-content-encoding\",\n \"x-ms-blob-content-language\",\n \"x-ms-blob-content-length\",\n \"x-ms-blob-content-md5\",\n \"x-ms-blob-content-type\",\n \"x-ms-blob-public-access\",\n \"x-ms-blob-sequence-number\",\n \"x-ms-blob-type\",\n \"x-ms-copy-destination-snapshot\",\n \"x-ms-creation-time\",\n \"x-ms-default-encryption-scope\",\n \"x-ms-delete-snapshots\",\n \"x-ms-delete-type-permanent\",\n \"x-ms-deny-encryption-scope-override\",\n \"x-ms-encryption-algorithm\",\n \"x-ms-if-sequence-number-eq\",\n \"x-ms-if-sequence-number-le\",\n \"x-ms-if-sequence-number-lt\",\n \"x-ms-incremental-copy\",\n \"x-ms-lease-action\",\n \"x-ms-lease-break-period\",\n \"x-ms-lease-duration\",\n \"x-ms-lease-id\",\n \"x-ms-lease-time\",\n \"x-ms-page-write\",\n \"x-ms-proposed-lease-id\",\n \"x-ms-range-get-content-md5\",\n \"x-ms-rehydrate-priority\",\n \"x-ms-sequence-number-action\",\n \"x-ms-sku-name\",\n \"x-ms-source-content-md5\",\n \"x-ms-source-if-match\",\n \"x-ms-source-if-modified-since\",\n \"x-ms-source-if-none-match\",\n \"x-ms-source-if-unmodified-since\",\n \"x-ms-tag-count\",\n \"x-ms-encryption-key-sha256\",\n \"x-ms-copy-source-error-code\",\n \"x-ms-copy-source-status-code\",\n \"x-ms-if-tags\",\n \"x-ms-source-if-tags\",\n];\n\nexport const StorageBlobLoggingAllowedQueryParameters = [\n \"comp\",\n \"maxresults\",\n \"rscc\",\n \"rscd\",\n \"rsce\",\n \"rscl\",\n \"rsct\",\n \"se\",\n \"si\",\n \"sip\",\n \"sp\",\n \"spr\",\n \"sr\",\n \"srt\",\n \"ss\",\n \"st\",\n \"sv\",\n \"include\",\n \"marker\",\n \"prefix\",\n \"copyid\",\n \"restype\",\n \"blockid\",\n \"blocklisttype\",\n \"delimiter\",\n \"prevsnapshot\",\n \"ske\",\n \"skoid\",\n \"sks\",\n \"skt\",\n \"sktid\",\n \"skv\",\n \"snapshot\",\n];\n\nexport const BlobUsesCustomerSpecifiedEncryptionMsg = \"BlobUsesCustomerSpecifiedEncryption\";\nexport const BlobDoesNotUseCustomerSpecifiedEncryption =\n \"BlobDoesNotUseCustomerSpecifiedEncryption\";\n\n/// List of ports used for path style addressing.\n/// Path style addressing means that storage account is put in URI's Path segment in instead of in host.\nexport const PathStylePorts = [\n \"10000\",\n \"10001\",\n \"10002\",\n \"10003\",\n \"10004\",\n \"10100\",\n \"10101\",\n \"10102\",\n \"10103\",\n \"10104\",\n \"11000\",\n \"11001\",\n \"11002\",\n \"11003\",\n \"11004\",\n \"11100\",\n \"11101\",\n \"11102\",\n \"11103\",\n \"11104\",\n];\n"]}
@@ -1,6 +1,7 @@
1
1
  import type { AbortSignalLike } from "@azure/abort-controller";
2
2
  import type { TokenCredential } from "@azure/core-auth";
3
3
  import type { HttpHeaders } from "@azure/core-rest-pipeline";
4
+ import { StorageResponseFormat } from "@azure/storage-common";
4
5
  import type { BlobQueryArrowConfiguration, BlobQueryCsvTextConfiguration, BlobQueryJsonTextConfiguration, BlobQueryParquetConfiguration } from "../Clients.js";
5
6
  import type { QuerySerialization, BlobTags, BlobName, ListBlobsFlatSegmentResponse, ListBlobsHierarchySegmentResponse } from "../generated/src/models/index.js";
6
7
  import { type Tags, type ObjectReplicationPolicy, type HttpAuthorization, StorageChecksumAlgorithm } from "../models.js";
@@ -228,6 +229,13 @@ export declare function toTags(tags?: BlobTags): Tags | undefined;
228
229
  */
229
230
  export declare function toQuerySerialization(textConfiguration?: BlobQueryJsonTextConfiguration | BlobQueryCsvTextConfiguration | BlobQueryArrowConfiguration | BlobQueryParquetConfiguration): QuerySerialization | undefined;
230
231
  export declare function parseObjectReplicationRecord(objectReplicationRecord?: Record<string, string>): ObjectReplicationPolicy[] | undefined;
232
+ /**
233
+ * Resolves a {@link StorageResponseFormat} to the concrete format the client should use.
234
+ * `Auto` currently resolves to `Xml`; this mapping may change in a future service version.
235
+ *
236
+ * @param responseFormat - The requested response format, or undefined to use the default.
237
+ */
238
+ export declare function resolveResponseFormat(responseFormat?: StorageResponseFormat): StorageResponseFormat;
231
239
  /**
232
240
  * Attach a TokenCredential to an object.
233
241
  *
@@ -244,6 +252,14 @@ export declare function ExtractPageRangeInfoItems(getPageRangesSegment: PageBlob
244
252
  * Escape the blobName but keep path separator ('/').
245
253
  */
246
254
  export declare function EscapePath(blobName: string): string;
255
+ /**
256
+ * Reads a raw response body (a Node.js readable stream or a browser Blob) into a
257
+ * single byte array. Shared by the Apache Arrow or XML List Blobs response parsers.
258
+ */
259
+ export declare function readResponseBodyToBytes(response: {
260
+ readableStreamBody?: NodeJS.ReadableStream;
261
+ blobBody?: Promise<Blob>;
262
+ }): Promise<Uint8Array>;
247
263
  /**
248
264
  * A representation of an HTTP response that
249
265
  * includes a reference to the request that
@@ -1 +1 @@
1
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