@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,367 +1,380 @@
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
- /**
7
- * ONLY AVAILABLE IN BROWSER RUNTIME.
8
- *
9
- * BlobQueryResponse implements BlobDownloadResponseModel interface, and in browser runtime it will
10
- * parse avro data returned by blob query.
11
- */
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_common_exports = {};
19
+ __export(BlobQueryResponse_common_exports, {
20
+ BlobQueryResponse: () => BlobQueryResponse
21
+ });
22
+ module.exports = __toCommonJS(BlobQueryResponse_common_exports);
12
23
  class BlobQueryResponse {
13
- /**
14
- * Indicates that the service supports
15
- * requests for partial file content.
16
- *
17
- * @readonly
18
- */
19
- get acceptRanges() {
20
- return this.originalResponse.acceptRanges;
21
- }
22
- /**
23
- * Returns if it was previously specified
24
- * for the file.
25
- *
26
- * @readonly
27
- */
28
- get cacheControl() {
29
- return this.originalResponse.cacheControl;
30
- }
31
- /**
32
- * Returns the value that was specified
33
- * for the 'x-ms-content-disposition' header and specifies how to process the
34
- * response.
35
- *
36
- * @readonly
37
- */
38
- get contentDisposition() {
39
- return this.originalResponse.contentDisposition;
40
- }
41
- /**
42
- * Returns the value that was specified
43
- * for the Content-Encoding request header.
44
- *
45
- * @readonly
46
- */
47
- get contentEncoding() {
48
- return this.originalResponse.contentEncoding;
49
- }
50
- /**
51
- * Returns the value that was specified
52
- * for the Content-Language request header.
53
- *
54
- * @readonly
55
- */
56
- get contentLanguage() {
57
- return this.originalResponse.contentLanguage;
58
- }
59
- /**
60
- * The current sequence number for a
61
- * page blob. This header is not returned for block blobs or append blobs.
62
- *
63
- * @readonly
64
- */
65
- get blobSequenceNumber() {
66
- return this.originalResponse.blobSequenceNumber;
67
- }
68
- /**
69
- * The blob's type. Possible values include:
70
- * 'BlockBlob', 'PageBlob', 'AppendBlob'.
71
- *
72
- * @readonly
73
- */
74
- get blobType() {
75
- return this.originalResponse.blobType;
76
- }
77
- /**
78
- * The number of bytes present in the
79
- * response body.
80
- *
81
- * @readonly
82
- */
83
- get contentLength() {
84
- return this.originalResponse.contentLength;
85
- }
86
- /**
87
- * If the file has an MD5 hash and the
88
- * request is to read the full file, this response header is returned so that
89
- * the client can check for message content integrity. If the request is to
90
- * read a specified range and the 'x-ms-range-get-content-md5' is set to
91
- * true, then the request returns an MD5 hash for the range, as long as the
92
- * range size is less than or equal to 4 MB. If neither of these sets of
93
- * conditions is true, then no value is returned for the 'Content-MD5'
94
- * header.
95
- *
96
- * @readonly
97
- */
98
- get contentMD5() {
99
- return this.originalResponse.contentMD5;
100
- }
101
- /**
102
- * Indicates the range of bytes returned if
103
- * the client requested a subset of the file by setting the Range request
104
- * header.
105
- *
106
- * @readonly
107
- */
108
- get contentRange() {
109
- return this.originalResponse.contentRange;
110
- }
111
- /**
112
- * The content type specified for the file.
113
- * The default content type is 'application/octet-stream'
114
- *
115
- * @readonly
116
- */
117
- get contentType() {
118
- return this.originalResponse.contentType;
119
- }
120
- /**
121
- * Conclusion time of the last attempted
122
- * Copy File operation where this file was the destination file. This value
123
- * can specify the time of a completed, aborted, or failed copy attempt.
124
- *
125
- * @readonly
126
- */
127
- get copyCompletedOn() {
128
- return undefined;
129
- }
130
- /**
131
- * String identifier for the last attempted Copy
132
- * File operation where this file was the destination file.
133
- *
134
- * @readonly
135
- */
136
- get copyId() {
137
- return this.originalResponse.copyId;
138
- }
139
- /**
140
- * Contains the number of bytes copied and
141
- * the total bytes in the source in the last attempted Copy File operation
142
- * where this file was the destination file. Can show between 0 and
143
- * Content-Length bytes copied.
144
- *
145
- * @readonly
146
- */
147
- get copyProgress() {
148
- return this.originalResponse.copyProgress;
149
- }
150
- /**
151
- * URL up to 2KB in length that specifies the
152
- * source file used in the last attempted Copy File operation where this file
153
- * was the destination file.
154
- *
155
- * @readonly
156
- */
157
- get copySource() {
158
- return this.originalResponse.copySource;
159
- }
160
- /**
161
- * State of the copy operation
162
- * identified by 'x-ms-copy-id'. Possible values include: 'pending',
163
- * 'success', 'aborted', 'failed'
164
- *
165
- * @readonly
166
- */
167
- get copyStatus() {
168
- return this.originalResponse.copyStatus;
169
- }
170
- /**
171
- * Only appears when
172
- * x-ms-copy-status is failed or pending. Describes cause of fatal or
173
- * non-fatal copy operation failure.
174
- *
175
- * @readonly
176
- */
177
- get copyStatusDescription() {
178
- return this.originalResponse.copyStatusDescription;
179
- }
180
- /**
181
- * When a blob is leased,
182
- * specifies whether the lease is of infinite or fixed duration. Possible
183
- * values include: 'infinite', 'fixed'.
184
- *
185
- * @readonly
186
- */
187
- get leaseDuration() {
188
- return this.originalResponse.leaseDuration;
189
- }
190
- /**
191
- * Lease state of the blob. Possible
192
- * values include: 'available', 'leased', 'expired', 'breaking', 'broken'.
193
- *
194
- * @readonly
195
- */
196
- get leaseState() {
197
- return this.originalResponse.leaseState;
198
- }
199
- /**
200
- * The current lease status of the
201
- * blob. Possible values include: 'locked', 'unlocked'.
202
- *
203
- * @readonly
204
- */
205
- get leaseStatus() {
206
- return this.originalResponse.leaseStatus;
207
- }
208
- /**
209
- * A UTC date/time value generated by the service that
210
- * indicates the time at which the response was initiated.
211
- *
212
- * @readonly
213
- */
214
- get date() {
215
- return this.originalResponse.date;
216
- }
217
- /**
218
- * The number of committed blocks
219
- * present in the blob. This header is returned only for append blobs.
220
- *
221
- * @readonly
222
- */
223
- get blobCommittedBlockCount() {
224
- return this.originalResponse.blobCommittedBlockCount;
225
- }
226
- /**
227
- * The ETag contains a value that you can use to
228
- * perform operations conditionally, in quotes.
229
- *
230
- * @readonly
231
- */
232
- get etag() {
233
- return this.originalResponse.etag;
234
- }
235
- /**
236
- * The error code.
237
- *
238
- * @readonly
239
- */
240
- get errorCode() {
241
- return this.originalResponse.errorCode;
242
- }
243
- /**
244
- * The value of this header is set to
245
- * true if the file data and application metadata are completely encrypted
246
- * using the specified algorithm. Otherwise, the value is set to false (when
247
- * the file is unencrypted, or if only parts of the file/application metadata
248
- * are encrypted).
249
- *
250
- * @readonly
251
- */
252
- get isServerEncrypted() {
253
- return this.originalResponse.isServerEncrypted;
254
- }
255
- /**
256
- * If the blob has a MD5 hash, and if
257
- * request contains range header (Range or x-ms-range), this response header
258
- * is returned with the value of the whole blob's MD5 value. This value may
259
- * or may not be equal to the value returned in Content-MD5 header, with the
260
- * latter calculated from the requested range.
261
- *
262
- * @readonly
263
- */
264
- get blobContentMD5() {
265
- return this.originalResponse.blobContentMD5;
266
- }
267
- /**
268
- * Returns the date and time the file was last
269
- * modified. Any operation that modifies the file or its properties updates
270
- * the last modified time.
271
- *
272
- * @readonly
273
- */
274
- get lastModified() {
275
- return this.originalResponse.lastModified;
276
- }
277
- /**
278
- * A name-value pair
279
- * to associate with a file storage object.
280
- *
281
- * @readonly
282
- */
283
- get metadata() {
284
- return this.originalResponse.metadata;
285
- }
286
- /**
287
- * This header uniquely identifies the request
288
- * that was made and can be used for troubleshooting the request.
289
- *
290
- * @readonly
291
- */
292
- get requestId() {
293
- return this.originalResponse.requestId;
294
- }
295
- /**
296
- * If a client request id header is sent in the request, this header will be present in the
297
- * response with the same value.
298
- *
299
- * @readonly
300
- */
301
- get clientRequestId() {
302
- return this.originalResponse.clientRequestId;
303
- }
304
- /**
305
- * Indicates the version of the File service used
306
- * to execute the request.
307
- *
308
- * @readonly
309
- */
310
- get version() {
311
- return this.originalResponse.version;
312
- }
313
- /**
314
- * The SHA-256 hash of the encryption key used to encrypt the blob. This value is only returned
315
- * when the blob was encrypted with a customer-provided key.
316
- *
317
- * @readonly
318
- */
319
- get encryptionKeySha256() {
320
- return this.originalResponse.encryptionKeySha256;
321
- }
322
- /**
323
- * If the request is to read a specified range and the x-ms-range-get-content-crc64 is set to
324
- * true, then the request returns a crc64 for the range, as long as the range size is less than
325
- * or equal to 4 MB. If both x-ms-range-get-content-crc64 & x-ms-range-get-content-md5 is
326
- * specified in the same request, it will fail with 400(Bad Request)
327
- */
328
- get contentCrc64() {
329
- return this.originalResponse.contentCrc64;
330
- }
331
- /**
332
- * The response body as a browser Blob.
333
- * Always undefined in node.js.
334
- *
335
- * @readonly
336
- */
337
- get blobBody() {
338
- throw Error(`Quick query in browser is not supported yet.`);
339
- }
340
- /**
341
- * The response body as a node.js Readable stream.
342
- * Always undefined in the browser.
343
- *
344
- * @readonly
345
- */
346
- get readableStreamBody() {
347
- return undefined;
348
- }
349
- /**
350
- * The HTTP response.
351
- */
352
- get _response() {
353
- return this.originalResponse._response;
354
- }
355
- originalResponse;
356
- /**
357
- * Creates an instance of BlobQueryResponse.
358
- *
359
- * @param originalResponse -
360
- * @param options -
361
- */
362
- constructor(originalResponse, _options = {}) {
363
- this.originalResponse = originalResponse;
364
- }
24
+ /**
25
+ * Indicates that the service supports
26
+ * requests for partial file content.
27
+ *
28
+ * @readonly
29
+ */
30
+ get acceptRanges() {
31
+ return this.originalResponse.acceptRanges;
32
+ }
33
+ /**
34
+ * Returns if it was previously specified
35
+ * for the file.
36
+ *
37
+ * @readonly
38
+ */
39
+ get cacheControl() {
40
+ return this.originalResponse.cacheControl;
41
+ }
42
+ /**
43
+ * Returns the value that was specified
44
+ * for the 'x-ms-content-disposition' header and specifies how to process the
45
+ * response.
46
+ *
47
+ * @readonly
48
+ */
49
+ get contentDisposition() {
50
+ return this.originalResponse.contentDisposition;
51
+ }
52
+ /**
53
+ * Returns the value that was specified
54
+ * for the Content-Encoding request header.
55
+ *
56
+ * @readonly
57
+ */
58
+ get contentEncoding() {
59
+ return this.originalResponse.contentEncoding;
60
+ }
61
+ /**
62
+ * Returns the value that was specified
63
+ * for the Content-Language request header.
64
+ *
65
+ * @readonly
66
+ */
67
+ get contentLanguage() {
68
+ return this.originalResponse.contentLanguage;
69
+ }
70
+ /**
71
+ * The current sequence number for a
72
+ * page blob. This header is not returned for block blobs or append blobs.
73
+ *
74
+ * @readonly
75
+ */
76
+ get blobSequenceNumber() {
77
+ return this.originalResponse.blobSequenceNumber;
78
+ }
79
+ /**
80
+ * The blob's type. Possible values include:
81
+ * 'BlockBlob', 'PageBlob', 'AppendBlob'.
82
+ *
83
+ * @readonly
84
+ */
85
+ get blobType() {
86
+ return this.originalResponse.blobType;
87
+ }
88
+ /**
89
+ * The number of bytes present in the
90
+ * response body.
91
+ *
92
+ * @readonly
93
+ */
94
+ get contentLength() {
95
+ return this.originalResponse.contentLength;
96
+ }
97
+ /**
98
+ * If the file has an MD5 hash and the
99
+ * request is to read the full file, this response header is returned so that
100
+ * the client can check for message content integrity. If the request is to
101
+ * read a specified range and the 'x-ms-range-get-content-md5' is set to
102
+ * true, then the request returns an MD5 hash for the range, as long as the
103
+ * range size is less than or equal to 4 MB. If neither of these sets of
104
+ * conditions is true, then no value is returned for the 'Content-MD5'
105
+ * header.
106
+ *
107
+ * @readonly
108
+ */
109
+ get contentMD5() {
110
+ return this.originalResponse.contentMD5;
111
+ }
112
+ /**
113
+ * Indicates the range of bytes returned if
114
+ * the client requested a subset of the file by setting the Range request
115
+ * header.
116
+ *
117
+ * @readonly
118
+ */
119
+ get contentRange() {
120
+ return this.originalResponse.contentRange;
121
+ }
122
+ /**
123
+ * The content type specified for the file.
124
+ * The default content type is 'application/octet-stream'
125
+ *
126
+ * @readonly
127
+ */
128
+ get contentType() {
129
+ return this.originalResponse.contentType;
130
+ }
131
+ /**
132
+ * Conclusion time of the last attempted
133
+ * Copy File operation where this file was the destination file. This value
134
+ * can specify the time of a completed, aborted, or failed copy attempt.
135
+ *
136
+ * @readonly
137
+ */
138
+ get copyCompletedOn() {
139
+ return void 0;
140
+ }
141
+ /**
142
+ * String identifier for the last attempted Copy
143
+ * File operation where this file was the destination file.
144
+ *
145
+ * @readonly
146
+ */
147
+ get copyId() {
148
+ return this.originalResponse.copyId;
149
+ }
150
+ /**
151
+ * Contains the number of bytes copied and
152
+ * the total bytes in the source in the last attempted Copy File operation
153
+ * where this file was the destination file. Can show between 0 and
154
+ * Content-Length bytes copied.
155
+ *
156
+ * @readonly
157
+ */
158
+ get copyProgress() {
159
+ return this.originalResponse.copyProgress;
160
+ }
161
+ /**
162
+ * URL up to 2KB in length that specifies the
163
+ * source file used in the last attempted Copy File operation where this file
164
+ * was the destination file.
165
+ *
166
+ * @readonly
167
+ */
168
+ get copySource() {
169
+ return this.originalResponse.copySource;
170
+ }
171
+ /**
172
+ * State of the copy operation
173
+ * identified by 'x-ms-copy-id'. Possible values include: 'pending',
174
+ * 'success', 'aborted', 'failed'
175
+ *
176
+ * @readonly
177
+ */
178
+ get copyStatus() {
179
+ return this.originalResponse.copyStatus;
180
+ }
181
+ /**
182
+ * Only appears when
183
+ * x-ms-copy-status is failed or pending. Describes cause of fatal or
184
+ * non-fatal copy operation failure.
185
+ *
186
+ * @readonly
187
+ */
188
+ get copyStatusDescription() {
189
+ return this.originalResponse.copyStatusDescription;
190
+ }
191
+ /**
192
+ * When a blob is leased,
193
+ * specifies whether the lease is of infinite or fixed duration. Possible
194
+ * values include: 'infinite', 'fixed'.
195
+ *
196
+ * @readonly
197
+ */
198
+ get leaseDuration() {
199
+ return this.originalResponse.leaseDuration;
200
+ }
201
+ /**
202
+ * Lease state of the blob. Possible
203
+ * values include: 'available', 'leased', 'expired', 'breaking', 'broken'.
204
+ *
205
+ * @readonly
206
+ */
207
+ get leaseState() {
208
+ return this.originalResponse.leaseState;
209
+ }
210
+ /**
211
+ * The current lease status of the
212
+ * blob. Possible values include: 'locked', 'unlocked'.
213
+ *
214
+ * @readonly
215
+ */
216
+ get leaseStatus() {
217
+ return this.originalResponse.leaseStatus;
218
+ }
219
+ /**
220
+ * A UTC date/time value generated by the service that
221
+ * indicates the time at which the response was initiated.
222
+ *
223
+ * @readonly
224
+ */
225
+ get date() {
226
+ return this.originalResponse.date;
227
+ }
228
+ /**
229
+ * The number of committed blocks
230
+ * present in the blob. This header is returned only for append blobs.
231
+ *
232
+ * @readonly
233
+ */
234
+ get blobCommittedBlockCount() {
235
+ return this.originalResponse.blobCommittedBlockCount;
236
+ }
237
+ /**
238
+ * The ETag contains a value that you can use to
239
+ * perform operations conditionally, in quotes.
240
+ *
241
+ * @readonly
242
+ */
243
+ get etag() {
244
+ return this.originalResponse.etag;
245
+ }
246
+ /**
247
+ * The error code.
248
+ *
249
+ * @readonly
250
+ */
251
+ get errorCode() {
252
+ return this.originalResponse.errorCode;
253
+ }
254
+ /**
255
+ * The value of this header is set to
256
+ * true if the file data and application metadata are completely encrypted
257
+ * using the specified algorithm. Otherwise, the value is set to false (when
258
+ * the file is unencrypted, or if only parts of the file/application metadata
259
+ * are encrypted).
260
+ *
261
+ * @readonly
262
+ */
263
+ get isServerEncrypted() {
264
+ return this.originalResponse.isServerEncrypted;
265
+ }
266
+ /**
267
+ * If the blob has a MD5 hash, and if
268
+ * request contains range header (Range or x-ms-range), this response header
269
+ * is returned with the value of the whole blob's MD5 value. This value may
270
+ * or may not be equal to the value returned in Content-MD5 header, with the
271
+ * latter calculated from the requested range.
272
+ *
273
+ * @readonly
274
+ */
275
+ get blobContentMD5() {
276
+ return this.originalResponse.blobContentMD5;
277
+ }
278
+ /**
279
+ * Returns the date and time the file was last
280
+ * modified. Any operation that modifies the file or its properties updates
281
+ * the last modified time.
282
+ *
283
+ * @readonly
284
+ */
285
+ get lastModified() {
286
+ return this.originalResponse.lastModified;
287
+ }
288
+ /**
289
+ * A name-value pair
290
+ * to associate with a file storage object.
291
+ *
292
+ * @readonly
293
+ */
294
+ get metadata() {
295
+ return this.originalResponse.metadata;
296
+ }
297
+ /**
298
+ * This header uniquely identifies the request
299
+ * that was made and can be used for troubleshooting the request.
300
+ *
301
+ * @readonly
302
+ */
303
+ get requestId() {
304
+ return this.originalResponse.requestId;
305
+ }
306
+ /**
307
+ * If a client request id header is sent in the request, this header will be present in the
308
+ * response with the same value.
309
+ *
310
+ * @readonly
311
+ */
312
+ get clientRequestId() {
313
+ return this.originalResponse.clientRequestId;
314
+ }
315
+ /**
316
+ * Indicates the version of the File service used
317
+ * to execute the request.
318
+ *
319
+ * @readonly
320
+ */
321
+ get version() {
322
+ return this.originalResponse.version;
323
+ }
324
+ /**
325
+ * The SHA-256 hash of the encryption key used to encrypt the blob. This value is only returned
326
+ * when the blob was encrypted with a customer-provided key.
327
+ *
328
+ * @readonly
329
+ */
330
+ get encryptionKeySha256() {
331
+ return this.originalResponse.encryptionKeySha256;
332
+ }
333
+ /**
334
+ * If the request is to read a specified range and the x-ms-range-get-content-crc64 is set to
335
+ * true, then the request returns a crc64 for the range, as long as the range size is less than
336
+ * or equal to 4 MB. If both x-ms-range-get-content-crc64 & x-ms-range-get-content-md5 is
337
+ * specified in the same request, it will fail with 400(Bad Request)
338
+ */
339
+ get contentCrc64() {
340
+ return this.originalResponse.contentCrc64;
341
+ }
342
+ /**
343
+ * The response body as a browser Blob.
344
+ * Always undefined in node.js.
345
+ *
346
+ * @readonly
347
+ */
348
+ get blobBody() {
349
+ throw Error(`Quick query in browser is not supported yet.`);
350
+ }
351
+ /**
352
+ * The response body as a node.js Readable stream.
353
+ * Always undefined in the browser.
354
+ *
355
+ * @readonly
356
+ */
357
+ get readableStreamBody() {
358
+ return void 0;
359
+ }
360
+ /**
361
+ * The HTTP response.
362
+ */
363
+ get _response() {
364
+ return this.originalResponse._response;
365
+ }
366
+ originalResponse;
367
+ /**
368
+ * Creates an instance of BlobQueryResponse.
369
+ *
370
+ * @param originalResponse -
371
+ * @param options -
372
+ */
373
+ constructor(originalResponse, _options = {}) {
374
+ this.originalResponse = originalResponse;
375
+ }
365
376
  }
366
- exports.BlobQueryResponse = BlobQueryResponse;
367
- //# sourceMappingURL=BlobQueryResponse.common.js.map
377
+ // Annotate the CommonJS export names for ESM import in node:
378
+ 0 && (module.exports = {
379
+ BlobQueryResponse
380
+ });