@azure/storage-blob 12.31.0 → 12.32.0-beta.1

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 (443) hide show
  1. package/dist/browser/BatchUtils.d.ts +1 -1
  2. package/dist/browser/BatchUtils.d.ts.map +1 -0
  3. package/dist/browser/BatchUtils.js +1 -1
  4. package/dist/browser/BatchUtils.js.map +1 -0
  5. package/dist/browser/BlobDownloadResponse.d.ts +5 -2
  6. package/dist/browser/BlobDownloadResponse.d.ts.map +1 -0
  7. package/dist/browser/BlobDownloadResponse.js +9 -5
  8. package/dist/browser/BlobDownloadResponse.js.map +1 -0
  9. package/dist/browser/BlobQueryResponse.d.ts +1 -1
  10. package/dist/browser/BlobQueryResponse.d.ts.map +1 -0
  11. package/dist/browser/BlobQueryResponse.js +1 -1
  12. package/dist/browser/BlobQueryResponse.js.map +1 -0
  13. package/dist/browser/BlobServiceClient.d.ts +36 -5
  14. package/dist/browser/BlobServiceClient.d.ts.map +1 -1
  15. package/dist/browser/BlobServiceClient.js +29 -17
  16. package/dist/browser/BlobServiceClient.js.map +1 -1
  17. package/dist/browser/Clients.d.ts +68 -14
  18. package/dist/browser/Clients.d.ts.map +1 -1
  19. package/dist/browser/Clients.js +97 -28
  20. package/dist/browser/Clients.js.map +1 -1
  21. package/dist/browser/ContainerClient.d.ts +6 -4
  22. package/dist/browser/ContainerClient.d.ts.map +1 -1
  23. package/dist/browser/ContainerClient.js +8 -6
  24. package/dist/browser/ContainerClient.js.map +1 -1
  25. package/dist/browser/Pipeline.d.ts +2 -3
  26. package/dist/browser/Pipeline.d.ts.map +1 -1
  27. package/dist/browser/Pipeline.js.map +1 -1
  28. package/dist/browser/generated/src/models/index.d.ts +59 -4
  29. package/dist/browser/generated/src/models/index.d.ts.map +1 -1
  30. package/dist/browser/generated/src/models/index.js +2 -2
  31. package/dist/browser/generated/src/models/index.js.map +1 -1
  32. package/dist/browser/generated/src/models/mappers.d.ts.map +1 -1
  33. package/dist/browser/generated/src/models/mappers.js +65 -0
  34. package/dist/browser/generated/src/models/mappers.js.map +1 -1
  35. package/dist/browser/generated/src/models/parameters.d.ts +7 -0
  36. package/dist/browser/generated/src/models/parameters.d.ts.map +1 -1
  37. package/dist/browser/generated/src/models/parameters.js +71 -1
  38. package/dist/browser/generated/src/models/parameters.js.map +1 -1
  39. package/dist/browser/generated/src/operations/appendBlob.js +5 -0
  40. package/dist/browser/generated/src/operations/appendBlob.js.map +1 -1
  41. package/dist/browser/generated/src/operations/blob.js +3 -0
  42. package/dist/browser/generated/src/operations/blob.js.map +1 -1
  43. package/dist/browser/generated/src/operations/blockBlob.js +10 -0
  44. package/dist/browser/generated/src/operations/blockBlob.js.map +1 -1
  45. package/dist/browser/generated/src/operations/pageBlob.js +5 -0
  46. package/dist/browser/generated/src/operations/pageBlob.js.map +1 -1
  47. package/dist/browser/generated/src/storageClient.js +2 -2
  48. package/dist/browser/generated/src/storageClient.js.map +1 -1
  49. package/dist/browser/generatedModels.d.ts +4 -4
  50. package/dist/browser/generatedModels.d.ts.map +1 -1
  51. package/dist/browser/generatedModels.js.map +1 -1
  52. package/dist/browser/index.d.ts +9 -9
  53. package/dist/browser/index.d.ts.map +1 -0
  54. package/dist/browser/index.js +1 -2
  55. package/dist/browser/index.js.map +1 -0
  56. package/dist/browser/internal-avro/index.d.ts +9 -2
  57. package/dist/browser/internal-avro/index.d.ts.map +1 -0
  58. package/dist/browser/internal-avro/index.js +14 -1
  59. package/dist/browser/internal-avro/index.js.map +1 -0
  60. package/dist/browser/models.d.ts +43 -0
  61. package/dist/browser/models.d.ts.map +1 -1
  62. package/dist/browser/models.js.map +1 -1
  63. package/dist/browser/sas/BlobSASSignatureValues.d.ts +11 -1
  64. package/dist/browser/sas/BlobSASSignatureValues.d.ts.map +1 -1
  65. package/dist/browser/sas/BlobSASSignatureValues.js +133 -2
  66. package/dist/browser/sas/BlobSASSignatureValues.js.map +1 -1
  67. package/dist/browser/sas/SASQueryParameters.d.ts +23 -2
  68. package/dist/browser/sas/SASQueryParameters.d.ts.map +1 -1
  69. package/dist/browser/sas/SASQueryParameters.js +34 -2
  70. package/dist/browser/sas/SASQueryParameters.js.map +1 -1
  71. package/dist/browser/utils/RetriableReadableStream.d.ts.map +1 -1
  72. package/dist/browser/utils/RetriableReadableStream.js +1 -0
  73. package/dist/browser/utils/RetriableReadableStream.js.map +1 -1
  74. package/dist/browser/utils/constants.d.ts.map +1 -1
  75. package/dist/browser/utils/constants.js +2 -2
  76. package/dist/browser/utils/constants.js.map +1 -1
  77. package/dist/browser/utils/utils.common.d.ts +16 -1
  78. package/dist/browser/utils/utils.common.d.ts.map +1 -1
  79. package/dist/browser/utils/utils.common.js +26 -0
  80. package/dist/browser/utils/utils.common.js.map +1 -1
  81. package/dist/browser/utils/utils.d.ts +12 -6
  82. package/dist/browser/utils/utils.d.ts.map +1 -0
  83. package/dist/browser/utils/utils.js +11 -11
  84. package/dist/browser/utils/utils.js.map +1 -0
  85. package/dist/commonjs/BatchResponse.js +15 -5
  86. package/dist/commonjs/BatchResponse.js.map +7 -1
  87. package/dist/commonjs/BatchResponseParser.js +127 -136
  88. package/dist/commonjs/BatchResponseParser.js.map +7 -1
  89. package/dist/commonjs/BatchUtils.js +38 -15
  90. package/dist/commonjs/BatchUtils.js.map +7 -1
  91. package/dist/commonjs/BlobBatch.js +280 -258
  92. package/dist/commonjs/BlobBatch.js.map +7 -1
  93. package/dist/commonjs/BlobBatchClient.js +188 -169
  94. package/dist/commonjs/BlobBatchClient.js.map +7 -1
  95. package/dist/commonjs/BlobDownloadResponse.d.ts +2 -1
  96. package/dist/commonjs/BlobDownloadResponse.d.ts.map +1 -1
  97. package/dist/commonjs/BlobDownloadResponse.js +487 -467
  98. package/dist/commonjs/BlobDownloadResponse.js.map +7 -1
  99. package/dist/commonjs/BlobLeaseClient.js +226 -196
  100. package/dist/commonjs/BlobLeaseClient.js.map +7 -1
  101. package/dist/commonjs/BlobQueryResponse.common.js +378 -365
  102. package/dist/commonjs/BlobQueryResponse.common.js.map +7 -1
  103. package/dist/commonjs/BlobQueryResponse.js +387 -371
  104. package/dist/commonjs/BlobQueryResponse.js.map +7 -1
  105. package/dist/commonjs/BlobServiceClient.d.ts +36 -5
  106. package/dist/commonjs/BlobServiceClient.d.ts.map +1 -1
  107. package/dist/commonjs/BlobServiceClient.js +784 -684
  108. package/dist/commonjs/BlobServiceClient.js.map +7 -1
  109. package/dist/commonjs/Clients.d.ts +68 -14
  110. package/dist/commonjs/Clients.d.ts.map +1 -1
  111. package/dist/commonjs/Clients.js +3120 -2804
  112. package/dist/commonjs/Clients.js.map +7 -1
  113. package/dist/commonjs/ContainerClient.d.ts +6 -4
  114. package/dist/commonjs/ContainerClient.d.ts.map +1 -1
  115. package/dist/commonjs/ContainerClient.js +1348 -1253
  116. package/dist/commonjs/ContainerClient.js.map +7 -1
  117. package/dist/commonjs/PageBlobRangeResponse.js +45 -31
  118. package/dist/commonjs/PageBlobRangeResponse.js.map +7 -1
  119. package/dist/commonjs/Pipeline.d.ts +2 -3
  120. package/dist/commonjs/Pipeline.d.ts.map +1 -1
  121. package/dist/commonjs/Pipeline.js +244 -244
  122. package/dist/commonjs/Pipeline.js.map +7 -1
  123. package/dist/commonjs/Range.js +35 -22
  124. package/dist/commonjs/Range.js.map +7 -1
  125. package/dist/commonjs/StorageClient.js +67 -54
  126. package/dist/commonjs/StorageClient.js.map +7 -1
  127. package/dist/commonjs/StorageContextClient.js +34 -19
  128. package/dist/commonjs/StorageContextClient.js.map +7 -1
  129. package/dist/commonjs/generated/src/index.js +32 -16
  130. package/dist/commonjs/generated/src/index.js.map +7 -1
  131. package/dist/commonjs/generated/src/models/index.d.ts +59 -4
  132. package/dist/commonjs/generated/src/models/index.d.ts.map +1 -1
  133. package/dist/commonjs/generated/src/models/index.js +164 -267
  134. package/dist/commonjs/generated/src/models/index.js.map +7 -1
  135. package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -1
  136. package/dist/commonjs/generated/src/models/mappers.js +8767 -8334
  137. package/dist/commonjs/generated/src/models/mappers.js.map +7 -1
  138. package/dist/commonjs/generated/src/models/parameters.d.ts +7 -0
  139. package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -1
  140. package/dist/commonjs/generated/src/models/parameters.js +2074 -1679
  141. package/dist/commonjs/generated/src/models/parameters.js.map +7 -1
  142. package/dist/commonjs/generated/src/operations/appendBlob.js +253 -214
  143. package/dist/commonjs/generated/src/operations/appendBlob.js.map +7 -1
  144. package/dist/commonjs/generated/src/operations/blob.js +1043 -961
  145. package/dist/commonjs/generated/src/operations/blob.js.map +7 -1
  146. package/dist/commonjs/generated/src/operations/blockBlob.js +406 -353
  147. package/dist/commonjs/generated/src/operations/blockBlob.js.map +7 -1
  148. package/dist/commonjs/generated/src/operations/container.js +735 -665
  149. package/dist/commonjs/generated/src/operations/container.js.map +7 -1
  150. package/dist/commonjs/generated/src/operations/index.js +31 -17
  151. package/dist/commonjs/generated/src/operations/index.js.map +7 -1
  152. package/dist/commonjs/generated/src/operations/pageBlob.js +491 -434
  153. package/dist/commonjs/generated/src/operations/pageBlob.js.map +7 -1
  154. package/dist/commonjs/generated/src/operations/service.js +352 -303
  155. package/dist/commonjs/generated/src/operations/service.js.map +7 -1
  156. package/dist/commonjs/generated/src/operationsInterfaces/appendBlob.js +15 -10
  157. package/dist/commonjs/generated/src/operationsInterfaces/appendBlob.js.map +7 -1
  158. package/dist/commonjs/generated/src/operationsInterfaces/blob.js +15 -10
  159. package/dist/commonjs/generated/src/operationsInterfaces/blob.js.map +7 -1
  160. package/dist/commonjs/generated/src/operationsInterfaces/blockBlob.js +15 -10
  161. package/dist/commonjs/generated/src/operationsInterfaces/blockBlob.js.map +7 -1
  162. package/dist/commonjs/generated/src/operationsInterfaces/container.js +15 -10
  163. package/dist/commonjs/generated/src/operationsInterfaces/container.js.map +7 -1
  164. package/dist/commonjs/generated/src/operationsInterfaces/index.js +31 -17
  165. package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +7 -1
  166. package/dist/commonjs/generated/src/operationsInterfaces/pageBlob.js +15 -10
  167. package/dist/commonjs/generated/src/operationsInterfaces/pageBlob.js.map +7 -1
  168. package/dist/commonjs/generated/src/operationsInterfaces/service.js +15 -10
  169. package/dist/commonjs/generated/src/operationsInterfaces/service.js.map +7 -1
  170. package/dist/commonjs/generated/src/storageClient.js +81 -63
  171. package/dist/commonjs/generated/src/storageClient.js.map +7 -1
  172. package/dist/commonjs/generatedModels.d.ts +4 -4
  173. package/dist/commonjs/generatedModels.d.ts.map +1 -1
  174. package/dist/commonjs/generatedModels.js +30 -11
  175. package/dist/commonjs/generatedModels.js.map +7 -1
  176. package/dist/commonjs/index.d.ts +14 -14
  177. package/dist/commonjs/index.d.ts.map +1 -1
  178. package/dist/commonjs/index.js +106 -52
  179. package/dist/commonjs/index.js.map +7 -1
  180. package/dist/commonjs/internal-avro/AvroConstants.js +36 -10
  181. package/dist/commonjs/internal-avro/AvroConstants.js.map +7 -1
  182. package/dist/commonjs/internal-avro/AvroParser.js +307 -297
  183. package/dist/commonjs/internal-avro/AvroParser.js.map +7 -1
  184. package/dist/commonjs/internal-avro/AvroReadable.js +26 -7
  185. package/dist/commonjs/internal-avro/AvroReadable.js.map +7 -1
  186. package/dist/commonjs/internal-avro/AvroReadableFromBlob.js +69 -50
  187. package/dist/commonjs/internal-avro/AvroReadableFromBlob.js.map +7 -1
  188. package/dist/commonjs/internal-avro/AvroReadableFromStream.js +96 -84
  189. package/dist/commonjs/internal-avro/AvroReadableFromStream.js.map +7 -1
  190. package/dist/commonjs/internal-avro/AvroReader.js +118 -110
  191. package/dist/commonjs/internal-avro/AvroReader.js.map +7 -1
  192. package/dist/commonjs/internal-avro/index.d.ts +1 -1
  193. package/dist/commonjs/internal-avro/index.d.ts.map +1 -1
  194. package/dist/commonjs/internal-avro/index.js +33 -12
  195. package/dist/commonjs/internal-avro/index.js.map +7 -1
  196. package/dist/commonjs/internal-avro/utils/utils.common.js +33 -17
  197. package/dist/commonjs/internal-avro/utils/utils.common.js.map +7 -1
  198. package/dist/commonjs/log.js +28 -11
  199. package/dist/commonjs/log.js.map +7 -1
  200. package/dist/commonjs/models.d.ts +43 -0
  201. package/dist/commonjs/models.d.ts.map +1 -1
  202. package/dist/commonjs/models.js +74 -115
  203. package/dist/commonjs/models.js.map +7 -1
  204. package/dist/commonjs/pollers/BlobStartCopyFromUrlPoller.js +116 -126
  205. package/dist/commonjs/pollers/BlobStartCopyFromUrlPoller.js.map +7 -1
  206. package/dist/commonjs/sas/AccountSASPermissions.js +233 -226
  207. package/dist/commonjs/sas/AccountSASPermissions.js.map +7 -1
  208. package/dist/commonjs/sas/AccountSASResourceTypes.js +80 -70
  209. package/dist/commonjs/sas/AccountSASResourceTypes.js.map +7 -1
  210. package/dist/commonjs/sas/AccountSASServices.js +88 -78
  211. package/dist/commonjs/sas/AccountSASServices.js.map +7 -1
  212. package/dist/commonjs/sas/AccountSASSignatureValues.js +119 -100
  213. package/dist/commonjs/sas/AccountSASSignatureValues.js.map +7 -1
  214. package/dist/commonjs/sas/BlobSASPermissions.js +204 -194
  215. package/dist/commonjs/sas/BlobSASPermissions.js.map +7 -1
  216. package/dist/commonjs/sas/BlobSASSignatureValues.d.ts +11 -1
  217. package/dist/commonjs/sas/BlobSASSignatureValues.d.ts.map +1 -1
  218. package/dist/commonjs/sas/BlobSASSignatureValues.js +822 -641
  219. package/dist/commonjs/sas/BlobSASSignatureValues.js.map +7 -1
  220. package/dist/commonjs/sas/ContainerSASPermissions.js +232 -220
  221. package/dist/commonjs/sas/ContainerSASPermissions.js.map +7 -1
  222. package/dist/commonjs/sas/SASQueryParameters.d.ts +23 -2
  223. package/dist/commonjs/sas/SASQueryParameters.d.ts.map +1 -1
  224. package/dist/commonjs/sas/SASQueryParameters.js +423 -361
  225. package/dist/commonjs/sas/SASQueryParameters.js.map +7 -1
  226. package/dist/commonjs/sas/SasIPRange.js +27 -14
  227. package/dist/commonjs/sas/SasIPRange.js.map +7 -1
  228. package/dist/commonjs/tsdoc-metadata.json +1 -1
  229. package/dist/commonjs/utils/Batch.js +134 -127
  230. package/dist/commonjs/utils/Batch.js.map +7 -1
  231. package/dist/commonjs/utils/BlobQuickQueryStream.js +129 -115
  232. package/dist/commonjs/utils/BlobQuickQueryStream.js.map +7 -1
  233. package/dist/commonjs/utils/Mutex.js +78 -64
  234. package/dist/commonjs/utils/Mutex.js.map +7 -1
  235. package/dist/commonjs/utils/RetriableReadableStream.d.ts.map +1 -1
  236. package/dist/commonjs/utils/RetriableReadableStream.js +128 -125
  237. package/dist/commonjs/utils/RetriableReadableStream.js.map +7 -1
  238. package/dist/commonjs/utils/SharedKeyComparator.js +437 -65
  239. package/dist/commonjs/utils/SharedKeyComparator.js.map +7 -1
  240. package/dist/commonjs/utils/constants.d.ts.map +1 -1
  241. package/dist/commonjs/utils/constants.js +290 -223
  242. package/dist/commonjs/utils/constants.js.map +7 -1
  243. package/dist/commonjs/utils/tracing.js +32 -16
  244. package/dist/commonjs/utils/tracing.js.map +7 -1
  245. package/dist/commonjs/utils/utils.common.d.ts +16 -1
  246. package/dist/commonjs/utils/utils.common.d.ts.map +1 -1
  247. package/dist/commonjs/utils/utils.common.js +566 -740
  248. package/dist/commonjs/utils/utils.common.js.map +7 -1
  249. package/dist/commonjs/utils/utils.js +131 -128
  250. package/dist/commonjs/utils/utils.js.map +7 -1
  251. package/dist/esm/BlobDownloadResponse.d.ts +2 -1
  252. package/dist/esm/BlobDownloadResponse.d.ts.map +1 -1
  253. package/dist/esm/BlobDownloadResponse.js +8 -1
  254. package/dist/esm/BlobDownloadResponse.js.map +1 -1
  255. package/dist/esm/BlobServiceClient.d.ts +36 -5
  256. package/dist/esm/BlobServiceClient.d.ts.map +1 -1
  257. package/dist/esm/BlobServiceClient.js +29 -17
  258. package/dist/esm/BlobServiceClient.js.map +1 -1
  259. package/dist/esm/Clients.d.ts +68 -14
  260. package/dist/esm/Clients.d.ts.map +1 -1
  261. package/dist/esm/Clients.js +97 -28
  262. package/dist/esm/Clients.js.map +1 -1
  263. package/dist/esm/ContainerClient.d.ts +6 -4
  264. package/dist/esm/ContainerClient.d.ts.map +1 -1
  265. package/dist/esm/ContainerClient.js +8 -6
  266. package/dist/esm/ContainerClient.js.map +1 -1
  267. package/dist/esm/Pipeline.d.ts +2 -3
  268. package/dist/esm/Pipeline.d.ts.map +1 -1
  269. package/dist/esm/Pipeline.js.map +1 -1
  270. package/dist/esm/generated/src/models/index.d.ts +59 -4
  271. package/dist/esm/generated/src/models/index.d.ts.map +1 -1
  272. package/dist/esm/generated/src/models/index.js +2 -2
  273. package/dist/esm/generated/src/models/index.js.map +1 -1
  274. package/dist/esm/generated/src/models/mappers.d.ts.map +1 -1
  275. package/dist/esm/generated/src/models/mappers.js +65 -0
  276. package/dist/esm/generated/src/models/mappers.js.map +1 -1
  277. package/dist/esm/generated/src/models/parameters.d.ts +7 -0
  278. package/dist/esm/generated/src/models/parameters.d.ts.map +1 -1
  279. package/dist/esm/generated/src/models/parameters.js +71 -1
  280. package/dist/esm/generated/src/models/parameters.js.map +1 -1
  281. package/dist/esm/generated/src/operations/appendBlob.js +5 -0
  282. package/dist/esm/generated/src/operations/appendBlob.js.map +1 -1
  283. package/dist/esm/generated/src/operations/blob.js +3 -0
  284. package/dist/esm/generated/src/operations/blob.js.map +1 -1
  285. package/dist/esm/generated/src/operations/blockBlob.js +10 -0
  286. package/dist/esm/generated/src/operations/blockBlob.js.map +1 -1
  287. package/dist/esm/generated/src/operations/pageBlob.js +5 -0
  288. package/dist/esm/generated/src/operations/pageBlob.js.map +1 -1
  289. package/dist/esm/generated/src/storageClient.js +2 -2
  290. package/dist/esm/generated/src/storageClient.js.map +1 -1
  291. package/dist/esm/generatedModels.d.ts +4 -4
  292. package/dist/esm/generatedModels.d.ts.map +1 -1
  293. package/dist/esm/generatedModels.js.map +1 -1
  294. package/dist/esm/index.d.ts +14 -14
  295. package/dist/esm/index.d.ts.map +1 -1
  296. package/dist/esm/index.js +0 -1
  297. package/dist/esm/index.js.map +1 -1
  298. package/dist/esm/internal-avro/index.d.ts +1 -1
  299. package/dist/esm/internal-avro/index.d.ts.map +1 -1
  300. package/dist/esm/internal-avro/index.js.map +1 -1
  301. package/dist/esm/models.d.ts +43 -0
  302. package/dist/esm/models.d.ts.map +1 -1
  303. package/dist/esm/models.js.map +1 -1
  304. package/dist/esm/sas/BlobSASSignatureValues.d.ts +11 -1
  305. package/dist/esm/sas/BlobSASSignatureValues.d.ts.map +1 -1
  306. package/dist/esm/sas/BlobSASSignatureValues.js +133 -2
  307. package/dist/esm/sas/BlobSASSignatureValues.js.map +1 -1
  308. package/dist/esm/sas/SASQueryParameters.d.ts +23 -2
  309. package/dist/esm/sas/SASQueryParameters.d.ts.map +1 -1
  310. package/dist/esm/sas/SASQueryParameters.js +34 -2
  311. package/dist/esm/sas/SASQueryParameters.js.map +1 -1
  312. package/dist/esm/utils/RetriableReadableStream.d.ts.map +1 -1
  313. package/dist/esm/utils/RetriableReadableStream.js +1 -0
  314. package/dist/esm/utils/RetriableReadableStream.js.map +1 -1
  315. package/dist/esm/utils/constants.d.ts.map +1 -1
  316. package/dist/esm/utils/constants.js +2 -2
  317. package/dist/esm/utils/constants.js.map +1 -1
  318. package/dist/esm/utils/utils.common.d.ts +16 -1
  319. package/dist/esm/utils/utils.common.d.ts.map +1 -1
  320. package/dist/esm/utils/utils.common.js +26 -0
  321. package/dist/esm/utils/utils.common.js.map +1 -1
  322. package/dist/react-native/BlobDownloadResponse.d.ts +5 -2
  323. package/dist/react-native/BlobDownloadResponse.d.ts.map +1 -0
  324. package/dist/react-native/BlobDownloadResponse.js +9 -5
  325. package/dist/react-native/BlobDownloadResponse.js.map +1 -0
  326. package/dist/react-native/BlobQueryResponse.d.ts +1 -1
  327. package/dist/react-native/BlobQueryResponse.d.ts.map +1 -0
  328. package/dist/react-native/BlobQueryResponse.js +1 -1
  329. package/dist/react-native/BlobQueryResponse.js.map +1 -0
  330. package/dist/react-native/BlobServiceClient.d.ts +36 -5
  331. package/dist/react-native/BlobServiceClient.d.ts.map +1 -1
  332. package/dist/react-native/BlobServiceClient.js +29 -17
  333. package/dist/react-native/BlobServiceClient.js.map +1 -1
  334. package/dist/react-native/Clients.d.ts +68 -14
  335. package/dist/react-native/Clients.d.ts.map +1 -1
  336. package/dist/react-native/Clients.js +97 -28
  337. package/dist/react-native/Clients.js.map +1 -1
  338. package/dist/react-native/ContainerClient.d.ts +6 -4
  339. package/dist/react-native/ContainerClient.d.ts.map +1 -1
  340. package/dist/react-native/ContainerClient.js +8 -6
  341. package/dist/react-native/ContainerClient.js.map +1 -1
  342. package/dist/react-native/Pipeline.d.ts +2 -3
  343. package/dist/react-native/Pipeline.d.ts.map +1 -1
  344. package/dist/react-native/Pipeline.js.map +1 -1
  345. package/dist/react-native/generated/src/models/index.d.ts +59 -4
  346. package/dist/react-native/generated/src/models/index.d.ts.map +1 -1
  347. package/dist/react-native/generated/src/models/index.js +2 -2
  348. package/dist/react-native/generated/src/models/index.js.map +1 -1
  349. package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -1
  350. package/dist/react-native/generated/src/models/mappers.js +65 -0
  351. package/dist/react-native/generated/src/models/mappers.js.map +1 -1
  352. package/dist/react-native/generated/src/models/parameters.d.ts +7 -0
  353. package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -1
  354. package/dist/react-native/generated/src/models/parameters.js +71 -1
  355. package/dist/react-native/generated/src/models/parameters.js.map +1 -1
  356. package/dist/react-native/generated/src/operations/appendBlob.js +5 -0
  357. package/dist/react-native/generated/src/operations/appendBlob.js.map +1 -1
  358. package/dist/react-native/generated/src/operations/blob.js +3 -0
  359. package/dist/react-native/generated/src/operations/blob.js.map +1 -1
  360. package/dist/react-native/generated/src/operations/blockBlob.js +10 -0
  361. package/dist/react-native/generated/src/operations/blockBlob.js.map +1 -1
  362. package/dist/react-native/generated/src/operations/pageBlob.js +5 -0
  363. package/dist/react-native/generated/src/operations/pageBlob.js.map +1 -1
  364. package/dist/react-native/generated/src/storageClient.js +2 -2
  365. package/dist/react-native/generated/src/storageClient.js.map +1 -1
  366. package/dist/react-native/generatedModels.d.ts +4 -4
  367. package/dist/react-native/generatedModels.d.ts.map +1 -1
  368. package/dist/react-native/generatedModels.js.map +1 -1
  369. package/dist/react-native/index.d.ts +14 -14
  370. package/dist/react-native/index.d.ts.map +1 -1
  371. package/dist/react-native/index.js +0 -1
  372. package/dist/react-native/index.js.map +1 -1
  373. package/dist/react-native/internal-avro/index.d.ts +1 -1
  374. package/dist/react-native/internal-avro/index.d.ts.map +1 -1
  375. package/dist/react-native/internal-avro/index.js.map +1 -1
  376. package/dist/react-native/models.d.ts +43 -0
  377. package/dist/react-native/models.d.ts.map +1 -1
  378. package/dist/react-native/models.js.map +1 -1
  379. package/dist/react-native/sas/BlobSASSignatureValues.d.ts +11 -1
  380. package/dist/react-native/sas/BlobSASSignatureValues.d.ts.map +1 -1
  381. package/dist/react-native/sas/BlobSASSignatureValues.js +133 -2
  382. package/dist/react-native/sas/BlobSASSignatureValues.js.map +1 -1
  383. package/dist/react-native/sas/SASQueryParameters.d.ts +23 -2
  384. package/dist/react-native/sas/SASQueryParameters.d.ts.map +1 -1
  385. package/dist/react-native/sas/SASQueryParameters.js +34 -2
  386. package/dist/react-native/sas/SASQueryParameters.js.map +1 -1
  387. package/dist/react-native/utils/RetriableReadableStream.d.ts.map +1 -1
  388. package/dist/react-native/utils/RetriableReadableStream.js +1 -0
  389. package/dist/react-native/utils/RetriableReadableStream.js.map +1 -1
  390. package/dist/react-native/utils/constants.d.ts.map +1 -1
  391. package/dist/react-native/utils/constants.js +2 -2
  392. package/dist/react-native/utils/constants.js.map +1 -1
  393. package/dist/react-native/utils/utils.common.d.ts +16 -1
  394. package/dist/react-native/utils/utils.common.d.ts.map +1 -1
  395. package/dist/react-native/utils/utils.common.js +26 -0
  396. package/dist/react-native/utils/utils.common.js.map +1 -1
  397. package/dist/react-native/utils/utils.d.ts +12 -6
  398. package/dist/react-native/utils/utils.d.ts.map +1 -0
  399. package/dist/react-native/utils/utils.js +11 -11
  400. package/dist/react-native/utils/utils.js.map +1 -0
  401. package/package.json +3 -20
  402. package/dist/browser/BatchUtils-browser.d.mts.map +0 -1
  403. package/dist/browser/BatchUtils-browser.mjs.map +0 -1
  404. package/dist/browser/BlobDownloadResponse-browser.d.mts.map +0 -1
  405. package/dist/browser/BlobDownloadResponse-browser.mjs.map +0 -1
  406. package/dist/browser/BlobQueryResponse-browser.d.mts.map +0 -1
  407. package/dist/browser/BlobQueryResponse-browser.mjs.map +0 -1
  408. package/dist/browser/credentials/StorageSharedKeyCredential-react-native.d.mts +0 -3
  409. package/dist/browser/credentials/StorageSharedKeyCredential-react-native.d.mts.map +0 -1
  410. package/dist/browser/credentials/StorageSharedKeyCredential-react-native.mjs +0 -5
  411. package/dist/browser/credentials/StorageSharedKeyCredential-react-native.mjs.map +0 -1
  412. package/dist/browser/index-browser.d.mts.map +0 -1
  413. package/dist/browser/index-browser.mjs.map +0 -1
  414. package/dist/browser/internal-avro/index-browser.d.mts.map +0 -1
  415. package/dist/browser/internal-avro/index-browser.mjs.map +0 -1
  416. package/dist/browser/policies/StorageSharedKeyCredentialPolicyV2-react-native.d.mts +0 -17
  417. package/dist/browser/policies/StorageSharedKeyCredentialPolicyV2-react-native.d.mts.map +0 -1
  418. package/dist/browser/policies/StorageSharedKeyCredentialPolicyV2-react-native.mjs +0 -18
  419. package/dist/browser/policies/StorageSharedKeyCredentialPolicyV2-react-native.mjs.map +0 -1
  420. package/dist/browser/utils/utils-browser.d.mts.map +0 -1
  421. package/dist/browser/utils/utils-browser.mjs.map +0 -1
  422. package/dist/esm/credentials/StorageSharedKeyCredential-react-native.d.mts +0 -3
  423. package/dist/esm/credentials/StorageSharedKeyCredential-react-native.d.mts.map +0 -1
  424. package/dist/esm/credentials/StorageSharedKeyCredential-react-native.mjs +0 -5
  425. package/dist/esm/credentials/StorageSharedKeyCredential-react-native.mjs.map +0 -1
  426. package/dist/esm/policies/StorageSharedKeyCredentialPolicyV2-react-native.d.mts +0 -17
  427. package/dist/esm/policies/StorageSharedKeyCredentialPolicyV2-react-native.d.mts.map +0 -1
  428. package/dist/esm/policies/StorageSharedKeyCredentialPolicyV2-react-native.mjs +0 -18
  429. package/dist/esm/policies/StorageSharedKeyCredentialPolicyV2-react-native.mjs.map +0 -1
  430. package/dist/react-native/BlobDownloadResponse-react-native.d.mts.map +0 -1
  431. package/dist/react-native/BlobDownloadResponse-react-native.mjs.map +0 -1
  432. package/dist/react-native/BlobQueryResponse-react-native.d.mts.map +0 -1
  433. package/dist/react-native/BlobQueryResponse-react-native.mjs.map +0 -1
  434. package/dist/react-native/credentials/StorageSharedKeyCredential-react-native.d.mts +0 -3
  435. package/dist/react-native/credentials/StorageSharedKeyCredential-react-native.d.mts.map +0 -1
  436. package/dist/react-native/credentials/StorageSharedKeyCredential-react-native.mjs +0 -5
  437. package/dist/react-native/credentials/StorageSharedKeyCredential-react-native.mjs.map +0 -1
  438. package/dist/react-native/policies/StorageSharedKeyCredentialPolicyV2-react-native.d.mts +0 -17
  439. package/dist/react-native/policies/StorageSharedKeyCredentialPolicyV2-react-native.d.mts.map +0 -1
  440. package/dist/react-native/policies/StorageSharedKeyCredentialPolicyV2-react-native.mjs +0 -18
  441. package/dist/react-native/policies/StorageSharedKeyCredentialPolicyV2-react-native.mjs.map +0 -1
  442. package/dist/react-native/utils/utils-react-native.d.mts.map +0 -1
  443. package/dist/react-native/utils/utils-react-native.mjs.map +0 -1
@@ -1,373 +1,389 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT License.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.BlobQueryResponse = void 0;
6
- const core_util_1 = require("@azure/core-util");
7
- const BlobQuickQueryStream_js_1 = require("./utils/BlobQuickQueryStream.js");
8
- /**
9
- * ONLY AVAILABLE IN NODE.JS RUNTIME.
10
- *
11
- * BlobQueryResponse implements BlobDownloadResponseModel interface, and in Node.js runtime it will
12
- * parse avro data returned by blob query.
13
- */
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var BlobQueryResponse_exports = {};
19
+ __export(BlobQueryResponse_exports, {
20
+ BlobQueryResponse: () => BlobQueryResponse
21
+ });
22
+ module.exports = __toCommonJS(BlobQueryResponse_exports);
23
+ var import_core_util = require("@azure/core-util");
24
+ var import_BlobQuickQueryStream = require("./utils/BlobQuickQueryStream.js");
14
25
  class BlobQueryResponse {
15
- /**
16
- * Indicates that the service supports
17
- * requests for partial file content.
18
- *
19
- * @readonly
20
- */
21
- get acceptRanges() {
22
- return this.originalResponse.acceptRanges;
23
- }
24
- /**
25
- * Returns if it was previously specified
26
- * for the file.
27
- *
28
- * @readonly
29
- */
30
- get cacheControl() {
31
- return this.originalResponse.cacheControl;
32
- }
33
- /**
34
- * Returns the value that was specified
35
- * for the 'x-ms-content-disposition' header and specifies how to process the
36
- * response.
37
- *
38
- * @readonly
39
- */
40
- get contentDisposition() {
41
- return this.originalResponse.contentDisposition;
42
- }
43
- /**
44
- * Returns the value that was specified
45
- * for the Content-Encoding request header.
46
- *
47
- * @readonly
48
- */
49
- get contentEncoding() {
50
- return this.originalResponse.contentEncoding;
51
- }
52
- /**
53
- * Returns the value that was specified
54
- * for the Content-Language request header.
55
- *
56
- * @readonly
57
- */
58
- get contentLanguage() {
59
- return this.originalResponse.contentLanguage;
60
- }
61
- /**
62
- * The current sequence number for a
63
- * page blob. This header is not returned for block blobs or append blobs.
64
- *
65
- * @readonly
66
- */
67
- get blobSequenceNumber() {
68
- return this.originalResponse.blobSequenceNumber;
69
- }
70
- /**
71
- * The blob's type. Possible values include:
72
- * 'BlockBlob', 'PageBlob', 'AppendBlob'.
73
- *
74
- * @readonly
75
- */
76
- get blobType() {
77
- return this.originalResponse.blobType;
78
- }
79
- /**
80
- * The number of bytes present in the
81
- * response body.
82
- *
83
- * @readonly
84
- */
85
- get contentLength() {
86
- return this.originalResponse.contentLength;
87
- }
88
- /**
89
- * If the file has an MD5 hash and the
90
- * request is to read the full file, this response header is returned so that
91
- * the client can check for message content integrity. If the request is to
92
- * read a specified range and the 'x-ms-range-get-content-md5' is set to
93
- * true, then the request returns an MD5 hash for the range, as long as the
94
- * range size is less than or equal to 4 MB. If neither of these sets of
95
- * conditions is true, then no value is returned for the 'Content-MD5'
96
- * header.
97
- *
98
- * @readonly
99
- */
100
- get contentMD5() {
101
- return this.originalResponse.contentMD5;
102
- }
103
- /**
104
- * Indicates the range of bytes returned if
105
- * the client requested a subset of the file by setting the Range request
106
- * header.
107
- *
108
- * @readonly
109
- */
110
- get contentRange() {
111
- return this.originalResponse.contentRange;
112
- }
113
- /**
114
- * The content type specified for the file.
115
- * The default content type is 'application/octet-stream'
116
- *
117
- * @readonly
118
- */
119
- get contentType() {
120
- return this.originalResponse.contentType;
121
- }
122
- /**
123
- * Conclusion time of the last attempted
124
- * Copy File operation where this file was the destination file. This value
125
- * can specify the time of a completed, aborted, or failed copy attempt.
126
- *
127
- * @readonly
128
- */
129
- get copyCompletedOn() {
130
- return undefined;
131
- }
132
- /**
133
- * String identifier for the last attempted Copy
134
- * File operation where this file was the destination file.
135
- *
136
- * @readonly
137
- */
138
- get copyId() {
139
- return this.originalResponse.copyId;
140
- }
141
- /**
142
- * Contains the number of bytes copied and
143
- * the total bytes in the source in the last attempted Copy File operation
144
- * where this file was the destination file. Can show between 0 and
145
- * Content-Length bytes copied.
146
- *
147
- * @readonly
148
- */
149
- get copyProgress() {
150
- return this.originalResponse.copyProgress;
151
- }
152
- /**
153
- * URL up to 2KB in length that specifies the
154
- * source file used in the last attempted Copy File operation where this file
155
- * was the destination file.
156
- *
157
- * @readonly
158
- */
159
- get copySource() {
160
- return this.originalResponse.copySource;
161
- }
162
- /**
163
- * State of the copy operation
164
- * identified by 'x-ms-copy-id'. Possible values include: 'pending',
165
- * 'success', 'aborted', 'failed'
166
- *
167
- * @readonly
168
- */
169
- get copyStatus() {
170
- return this.originalResponse.copyStatus;
171
- }
172
- /**
173
- * Only appears when
174
- * x-ms-copy-status is failed or pending. Describes cause of fatal or
175
- * non-fatal copy operation failure.
176
- *
177
- * @readonly
178
- */
179
- get copyStatusDescription() {
180
- return this.originalResponse.copyStatusDescription;
181
- }
182
- /**
183
- * When a blob is leased,
184
- * specifies whether the lease is of infinite or fixed duration. Possible
185
- * values include: 'infinite', 'fixed'.
186
- *
187
- * @readonly
188
- */
189
- get leaseDuration() {
190
- return this.originalResponse.leaseDuration;
191
- }
192
- /**
193
- * Lease state of the blob. Possible
194
- * values include: 'available', 'leased', 'expired', 'breaking', 'broken'.
195
- *
196
- * @readonly
197
- */
198
- get leaseState() {
199
- return this.originalResponse.leaseState;
200
- }
201
- /**
202
- * The current lease status of the
203
- * blob. Possible values include: 'locked', 'unlocked'.
204
- *
205
- * @readonly
206
- */
207
- get leaseStatus() {
208
- return this.originalResponse.leaseStatus;
209
- }
210
- /**
211
- * A UTC date/time value generated by the service that
212
- * indicates the time at which the response was initiated.
213
- *
214
- * @readonly
215
- */
216
- get date() {
217
- return this.originalResponse.date;
218
- }
219
- /**
220
- * The number of committed blocks
221
- * present in the blob. This header is returned only for append blobs.
222
- *
223
- * @readonly
224
- */
225
- get blobCommittedBlockCount() {
226
- return this.originalResponse.blobCommittedBlockCount;
227
- }
228
- /**
229
- * The ETag contains a value that you can use to
230
- * perform operations conditionally, in quotes.
231
- *
232
- * @readonly
233
- */
234
- get etag() {
235
- return this.originalResponse.etag;
236
- }
237
- /**
238
- * The error code.
239
- *
240
- * @readonly
241
- */
242
- get errorCode() {
243
- return this.originalResponse.errorCode;
244
- }
245
- /**
246
- * The value of this header is set to
247
- * true if the file data and application metadata are completely encrypted
248
- * using the specified algorithm. Otherwise, the value is set to false (when
249
- * the file is unencrypted, or if only parts of the file/application metadata
250
- * are encrypted).
251
- *
252
- * @readonly
253
- */
254
- get isServerEncrypted() {
255
- return this.originalResponse.isServerEncrypted;
256
- }
257
- /**
258
- * If the blob has a MD5 hash, and if
259
- * request contains range header (Range or x-ms-range), this response header
260
- * is returned with the value of the whole blob's MD5 value. This value may
261
- * or may not be equal to the value returned in Content-MD5 header, with the
262
- * latter calculated from the requested range.
263
- *
264
- * @readonly
265
- */
266
- get blobContentMD5() {
267
- return this.originalResponse.blobContentMD5;
268
- }
269
- /**
270
- * Returns the date and time the file was last
271
- * modified. Any operation that modifies the file or its properties updates
272
- * the last modified time.
273
- *
274
- * @readonly
275
- */
276
- get lastModified() {
277
- return this.originalResponse.lastModified;
278
- }
279
- /**
280
- * A name-value pair
281
- * to associate with a file storage object.
282
- *
283
- * @readonly
284
- */
285
- get metadata() {
286
- return this.originalResponse.metadata;
287
- }
288
- /**
289
- * This header uniquely identifies the request
290
- * that was made and can be used for troubleshooting the request.
291
- *
292
- * @readonly
293
- */
294
- get requestId() {
295
- return this.originalResponse.requestId;
296
- }
297
- /**
298
- * If a client request id header is sent in the request, this header will be present in the
299
- * response with the same value.
300
- *
301
- * @readonly
302
- */
303
- get clientRequestId() {
304
- return this.originalResponse.clientRequestId;
305
- }
306
- /**
307
- * Indicates the version of the File service used
308
- * to execute the request.
309
- *
310
- * @readonly
311
- */
312
- get version() {
313
- return this.originalResponse.version;
314
- }
315
- /**
316
- * The SHA-256 hash of the encryption key used to encrypt the blob. This value is only returned
317
- * when the blob was encrypted with a customer-provided key.
318
- *
319
- * @readonly
320
- */
321
- get encryptionKeySha256() {
322
- return this.originalResponse.encryptionKeySha256;
323
- }
324
- /**
325
- * If the request is to read a specified range and the x-ms-range-get-content-crc64 is set to
326
- * true, then the request returns a crc64 for the range, as long as the range size is less than
327
- * or equal to 4 MB. If both x-ms-range-get-content-crc64 & x-ms-range-get-content-md5 is
328
- * specified in the same request, it will fail with 400(Bad Request)
329
- */
330
- get contentCrc64() {
331
- return this.originalResponse.contentCrc64;
332
- }
333
- /**
334
- * The response body as a browser Blob.
335
- * Always undefined in node.js.
336
- *
337
- * @readonly
338
- */
339
- get blobBody() {
340
- return undefined;
341
- }
342
- /**
343
- * The response body as a node.js Readable stream.
344
- * Always undefined in the browser.
345
- *
346
- * It will parse avor data returned by blob query.
347
- *
348
- * @readonly
349
- */
350
- get readableStreamBody() {
351
- return core_util_1.isNodeLike ? this.blobDownloadStream : undefined;
352
- }
353
- /**
354
- * The HTTP response.
355
- */
356
- get _response() {
357
- return this.originalResponse._response;
358
- }
359
- originalResponse;
360
- blobDownloadStream;
361
- /**
362
- * Creates an instance of BlobQueryResponse.
363
- *
364
- * @param originalResponse -
365
- * @param options -
366
- */
367
- constructor(originalResponse, options = {}) {
368
- this.originalResponse = originalResponse;
369
- this.blobDownloadStream = new BlobQuickQueryStream_js_1.BlobQuickQueryStream(this.originalResponse.readableStreamBody, options);
370
- }
26
+ /**
27
+ * Indicates that the service supports
28
+ * requests for partial file content.
29
+ *
30
+ * @readonly
31
+ */
32
+ get acceptRanges() {
33
+ return this.originalResponse.acceptRanges;
34
+ }
35
+ /**
36
+ * Returns if it was previously specified
37
+ * for the file.
38
+ *
39
+ * @readonly
40
+ */
41
+ get cacheControl() {
42
+ return this.originalResponse.cacheControl;
43
+ }
44
+ /**
45
+ * Returns the value that was specified
46
+ * for the 'x-ms-content-disposition' header and specifies how to process the
47
+ * response.
48
+ *
49
+ * @readonly
50
+ */
51
+ get contentDisposition() {
52
+ return this.originalResponse.contentDisposition;
53
+ }
54
+ /**
55
+ * Returns the value that was specified
56
+ * for the Content-Encoding request header.
57
+ *
58
+ * @readonly
59
+ */
60
+ get contentEncoding() {
61
+ return this.originalResponse.contentEncoding;
62
+ }
63
+ /**
64
+ * Returns the value that was specified
65
+ * for the Content-Language request header.
66
+ *
67
+ * @readonly
68
+ */
69
+ get contentLanguage() {
70
+ return this.originalResponse.contentLanguage;
71
+ }
72
+ /**
73
+ * The current sequence number for a
74
+ * page blob. This header is not returned for block blobs or append blobs.
75
+ *
76
+ * @readonly
77
+ */
78
+ get blobSequenceNumber() {
79
+ return this.originalResponse.blobSequenceNumber;
80
+ }
81
+ /**
82
+ * The blob's type. Possible values include:
83
+ * 'BlockBlob', 'PageBlob', 'AppendBlob'.
84
+ *
85
+ * @readonly
86
+ */
87
+ get blobType() {
88
+ return this.originalResponse.blobType;
89
+ }
90
+ /**
91
+ * The number of bytes present in the
92
+ * response body.
93
+ *
94
+ * @readonly
95
+ */
96
+ get contentLength() {
97
+ return this.originalResponse.contentLength;
98
+ }
99
+ /**
100
+ * If the file has an MD5 hash and the
101
+ * request is to read the full file, this response header is returned so that
102
+ * the client can check for message content integrity. If the request is to
103
+ * read a specified range and the 'x-ms-range-get-content-md5' is set to
104
+ * true, then the request returns an MD5 hash for the range, as long as the
105
+ * range size is less than or equal to 4 MB. If neither of these sets of
106
+ * conditions is true, then no value is returned for the 'Content-MD5'
107
+ * header.
108
+ *
109
+ * @readonly
110
+ */
111
+ get contentMD5() {
112
+ return this.originalResponse.contentMD5;
113
+ }
114
+ /**
115
+ * Indicates the range of bytes returned if
116
+ * the client requested a subset of the file by setting the Range request
117
+ * header.
118
+ *
119
+ * @readonly
120
+ */
121
+ get contentRange() {
122
+ return this.originalResponse.contentRange;
123
+ }
124
+ /**
125
+ * The content type specified for the file.
126
+ * The default content type is 'application/octet-stream'
127
+ *
128
+ * @readonly
129
+ */
130
+ get contentType() {
131
+ return this.originalResponse.contentType;
132
+ }
133
+ /**
134
+ * Conclusion time of the last attempted
135
+ * Copy File operation where this file was the destination file. This value
136
+ * can specify the time of a completed, aborted, or failed copy attempt.
137
+ *
138
+ * @readonly
139
+ */
140
+ get copyCompletedOn() {
141
+ return void 0;
142
+ }
143
+ /**
144
+ * String identifier for the last attempted Copy
145
+ * File operation where this file was the destination file.
146
+ *
147
+ * @readonly
148
+ */
149
+ get copyId() {
150
+ return this.originalResponse.copyId;
151
+ }
152
+ /**
153
+ * Contains the number of bytes copied and
154
+ * the total bytes in the source in the last attempted Copy File operation
155
+ * where this file was the destination file. Can show between 0 and
156
+ * Content-Length bytes copied.
157
+ *
158
+ * @readonly
159
+ */
160
+ get copyProgress() {
161
+ return this.originalResponse.copyProgress;
162
+ }
163
+ /**
164
+ * URL up to 2KB in length that specifies the
165
+ * source file used in the last attempted Copy File operation where this file
166
+ * was the destination file.
167
+ *
168
+ * @readonly
169
+ */
170
+ get copySource() {
171
+ return this.originalResponse.copySource;
172
+ }
173
+ /**
174
+ * State of the copy operation
175
+ * identified by 'x-ms-copy-id'. Possible values include: 'pending',
176
+ * 'success', 'aborted', 'failed'
177
+ *
178
+ * @readonly
179
+ */
180
+ get copyStatus() {
181
+ return this.originalResponse.copyStatus;
182
+ }
183
+ /**
184
+ * Only appears when
185
+ * x-ms-copy-status is failed or pending. Describes cause of fatal or
186
+ * non-fatal copy operation failure.
187
+ *
188
+ * @readonly
189
+ */
190
+ get copyStatusDescription() {
191
+ return this.originalResponse.copyStatusDescription;
192
+ }
193
+ /**
194
+ * When a blob is leased,
195
+ * specifies whether the lease is of infinite or fixed duration. Possible
196
+ * values include: 'infinite', 'fixed'.
197
+ *
198
+ * @readonly
199
+ */
200
+ get leaseDuration() {
201
+ return this.originalResponse.leaseDuration;
202
+ }
203
+ /**
204
+ * Lease state of the blob. Possible
205
+ * values include: 'available', 'leased', 'expired', 'breaking', 'broken'.
206
+ *
207
+ * @readonly
208
+ */
209
+ get leaseState() {
210
+ return this.originalResponse.leaseState;
211
+ }
212
+ /**
213
+ * The current lease status of the
214
+ * blob. Possible values include: 'locked', 'unlocked'.
215
+ *
216
+ * @readonly
217
+ */
218
+ get leaseStatus() {
219
+ return this.originalResponse.leaseStatus;
220
+ }
221
+ /**
222
+ * A UTC date/time value generated by the service that
223
+ * indicates the time at which the response was initiated.
224
+ *
225
+ * @readonly
226
+ */
227
+ get date() {
228
+ return this.originalResponse.date;
229
+ }
230
+ /**
231
+ * The number of committed blocks
232
+ * present in the blob. This header is returned only for append blobs.
233
+ *
234
+ * @readonly
235
+ */
236
+ get blobCommittedBlockCount() {
237
+ return this.originalResponse.blobCommittedBlockCount;
238
+ }
239
+ /**
240
+ * The ETag contains a value that you can use to
241
+ * perform operations conditionally, in quotes.
242
+ *
243
+ * @readonly
244
+ */
245
+ get etag() {
246
+ return this.originalResponse.etag;
247
+ }
248
+ /**
249
+ * The error code.
250
+ *
251
+ * @readonly
252
+ */
253
+ get errorCode() {
254
+ return this.originalResponse.errorCode;
255
+ }
256
+ /**
257
+ * The value of this header is set to
258
+ * true if the file data and application metadata are completely encrypted
259
+ * using the specified algorithm. Otherwise, the value is set to false (when
260
+ * the file is unencrypted, or if only parts of the file/application metadata
261
+ * are encrypted).
262
+ *
263
+ * @readonly
264
+ */
265
+ get isServerEncrypted() {
266
+ return this.originalResponse.isServerEncrypted;
267
+ }
268
+ /**
269
+ * If the blob has a MD5 hash, and if
270
+ * request contains range header (Range or x-ms-range), this response header
271
+ * is returned with the value of the whole blob's MD5 value. This value may
272
+ * or may not be equal to the value returned in Content-MD5 header, with the
273
+ * latter calculated from the requested range.
274
+ *
275
+ * @readonly
276
+ */
277
+ get blobContentMD5() {
278
+ return this.originalResponse.blobContentMD5;
279
+ }
280
+ /**
281
+ * Returns the date and time the file was last
282
+ * modified. Any operation that modifies the file or its properties updates
283
+ * the last modified time.
284
+ *
285
+ * @readonly
286
+ */
287
+ get lastModified() {
288
+ return this.originalResponse.lastModified;
289
+ }
290
+ /**
291
+ * A name-value pair
292
+ * to associate with a file storage object.
293
+ *
294
+ * @readonly
295
+ */
296
+ get metadata() {
297
+ return this.originalResponse.metadata;
298
+ }
299
+ /**
300
+ * This header uniquely identifies the request
301
+ * that was made and can be used for troubleshooting the request.
302
+ *
303
+ * @readonly
304
+ */
305
+ get requestId() {
306
+ return this.originalResponse.requestId;
307
+ }
308
+ /**
309
+ * If a client request id header is sent in the request, this header will be present in the
310
+ * response with the same value.
311
+ *
312
+ * @readonly
313
+ */
314
+ get clientRequestId() {
315
+ return this.originalResponse.clientRequestId;
316
+ }
317
+ /**
318
+ * Indicates the version of the File service used
319
+ * to execute the request.
320
+ *
321
+ * @readonly
322
+ */
323
+ get version() {
324
+ return this.originalResponse.version;
325
+ }
326
+ /**
327
+ * The SHA-256 hash of the encryption key used to encrypt the blob. This value is only returned
328
+ * when the blob was encrypted with a customer-provided key.
329
+ *
330
+ * @readonly
331
+ */
332
+ get encryptionKeySha256() {
333
+ return this.originalResponse.encryptionKeySha256;
334
+ }
335
+ /**
336
+ * If the request is to read a specified range and the x-ms-range-get-content-crc64 is set to
337
+ * true, then the request returns a crc64 for the range, as long as the range size is less than
338
+ * or equal to 4 MB. If both x-ms-range-get-content-crc64 & x-ms-range-get-content-md5 is
339
+ * specified in the same request, it will fail with 400(Bad Request)
340
+ */
341
+ get contentCrc64() {
342
+ return this.originalResponse.contentCrc64;
343
+ }
344
+ /**
345
+ * The response body as a browser Blob.
346
+ * Always undefined in node.js.
347
+ *
348
+ * @readonly
349
+ */
350
+ get blobBody() {
351
+ return void 0;
352
+ }
353
+ /**
354
+ * The response body as a node.js Readable stream.
355
+ * Always undefined in the browser.
356
+ *
357
+ * It will parse avor data returned by blob query.
358
+ *
359
+ * @readonly
360
+ */
361
+ get readableStreamBody() {
362
+ return import_core_util.isNodeLike ? this.blobDownloadStream : void 0;
363
+ }
364
+ /**
365
+ * The HTTP response.
366
+ */
367
+ get _response() {
368
+ return this.originalResponse._response;
369
+ }
370
+ originalResponse;
371
+ blobDownloadStream;
372
+ /**
373
+ * Creates an instance of BlobQueryResponse.
374
+ *
375
+ * @param originalResponse -
376
+ * @param options -
377
+ */
378
+ constructor(originalResponse, options = {}) {
379
+ this.originalResponse = originalResponse;
380
+ this.blobDownloadStream = new import_BlobQuickQueryStream.BlobQuickQueryStream(
381
+ this.originalResponse.readableStreamBody,
382
+ options
383
+ );
384
+ }
371
385
  }
372
- exports.BlobQueryResponse = BlobQueryResponse;
373
- //# sourceMappingURL=BlobQueryResponse.js.map
386
+ // Annotate the CommonJS export names for ESM import in node:
387
+ 0 && (module.exports = {
388
+ BlobQueryResponse
389
+ });