@azure/storage-file-share 12.28.0-beta.1 → 12.28.1-alpha.20250724.2

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 (364) hide show
  1. package/dist/browser/AccountSASPermissions.d.ts +1 -1
  2. package/dist/browser/AccountSASPermissions.js +34 -36
  3. package/dist/browser/AccountSASPermissions.js.map +1 -1
  4. package/dist/browser/AccountSASResourceTypes.d.ts +1 -1
  5. package/dist/browser/AccountSASResourceTypes.js +13 -15
  6. package/dist/browser/AccountSASResourceTypes.js.map +1 -1
  7. package/dist/browser/AccountSASServices.js +16 -18
  8. package/dist/browser/AccountSASServices.js.map +1 -1
  9. package/dist/browser/AccountSASSignatureValues.d.ts +4 -4
  10. package/dist/browser/AccountSASSignatureValues.d.ts.map +1 -1
  11. package/dist/browser/AccountSASSignatureValues.js +1 -1
  12. package/dist/browser/AccountSASSignatureValues.js.map +1 -1
  13. package/dist/browser/Clients.d.ts +56 -55
  14. package/dist/browser/Clients.d.ts.map +1 -1
  15. package/dist/browser/Clients.js +602 -289
  16. package/dist/browser/Clients.js.map +1 -1
  17. package/dist/browser/FileSASPermissions.js +16 -18
  18. package/dist/browser/FileSASPermissions.js.map +1 -1
  19. package/dist/browser/FileSASSignatureValues.d.ts +2 -2
  20. package/dist/browser/FileSASSignatureValues.d.ts.map +1 -1
  21. package/dist/browser/FileSASSignatureValues.js.map +1 -1
  22. package/dist/browser/FileSystemAttributes.d.ts +1 -1
  23. package/dist/browser/FileSystemAttributes.js +44 -46
  24. package/dist/browser/FileSystemAttributes.js.map +1 -1
  25. package/dist/browser/Pipeline.d.ts +2 -4
  26. package/dist/browser/Pipeline.d.ts.map +1 -1
  27. package/dist/browser/Pipeline.js +28 -19
  28. package/dist/browser/Pipeline.js.map +1 -1
  29. package/dist/browser/Range.d.ts +1 -1
  30. package/dist/browser/Range.js.map +1 -1
  31. package/dist/browser/SASQueryParameters.d.ts +1 -1
  32. package/dist/browser/SASQueryParameters.js +70 -0
  33. package/dist/browser/SASQueryParameters.js.map +1 -1
  34. package/dist/browser/ShareClientInternal.js +1 -0
  35. package/dist/browser/ShareClientInternal.js.map +1 -1
  36. package/dist/browser/ShareSASPermissions.d.ts +1 -1
  37. package/dist/browser/ShareSASPermissions.js +21 -23
  38. package/dist/browser/ShareSASPermissions.js.map +1 -1
  39. package/dist/browser/ShareServiceClient.d.ts +5 -5
  40. package/dist/browser/ShareServiceClient.d.ts.map +1 -1
  41. package/dist/browser/ShareServiceClient.js +70 -54
  42. package/dist/browser/ShareServiceClient.js.map +1 -1
  43. package/dist/browser/StorageClient.d.ts +2 -2
  44. package/dist/browser/StorageClient.d.ts.map +1 -1
  45. package/dist/browser/StorageClient.js +23 -0
  46. package/dist/browser/StorageClient.js.map +1 -1
  47. package/dist/browser/StorageContextClient.js +1 -1
  48. package/dist/browser/StorageContextClient.js.map +1 -1
  49. package/dist/browser/generated/src/operations/directory.js +1 -0
  50. package/dist/browser/generated/src/operations/directory.js.map +1 -1
  51. package/dist/browser/generated/src/operations/file.js +1 -0
  52. package/dist/browser/generated/src/operations/file.js.map +1 -1
  53. package/dist/browser/generated/src/operations/service.js +1 -0
  54. package/dist/browser/generated/src/operations/service.js.map +1 -1
  55. package/dist/browser/generated/src/operations/share.js +1 -0
  56. package/dist/browser/generated/src/operations/share.js.map +1 -1
  57. package/dist/browser/generated/src/storageClient.js +15 -4
  58. package/dist/browser/generated/src/storageClient.js.map +1 -1
  59. package/dist/browser/index-browser.d.mts.map +1 -1
  60. package/dist/browser/index-browser.mjs.map +1 -1
  61. package/dist/browser/index.d.ts +1 -7
  62. package/dist/browser/index.js +1 -7
  63. package/dist/browser/utils/Batch.js +29 -21
  64. package/dist/browser/utils/Batch.js.map +1 -1
  65. package/dist/browser/utils/BufferScheduler.js +70 -44
  66. package/dist/browser/utils/BufferScheduler.js.map +1 -1
  67. package/dist/browser/utils/RetriableReadableStream.js +70 -62
  68. package/dist/browser/utils/RetriableReadableStream.js.map +1 -1
  69. package/dist/browser/utils/constants.d.ts.map +1 -1
  70. package/dist/browser/utils/constants.js +1 -1
  71. package/dist/browser/utils/constants.js.map +1 -1
  72. package/dist/browser/utils/utils.common.d.ts +2 -2
  73. package/dist/browser/utils/utils.common.js +33 -17
  74. package/dist/browser/utils/utils.common.js.map +1 -1
  75. package/dist/commonjs/AccountSASPermissions.d.ts +1 -1
  76. package/dist/commonjs/AccountSASPermissions.js +34 -36
  77. package/dist/commonjs/AccountSASPermissions.js.map +1 -1
  78. package/dist/commonjs/AccountSASResourceTypes.d.ts +1 -1
  79. package/dist/commonjs/AccountSASResourceTypes.js +13 -15
  80. package/dist/commonjs/AccountSASResourceTypes.js.map +1 -1
  81. package/dist/commonjs/AccountSASServices.js +16 -18
  82. package/dist/commonjs/AccountSASServices.js.map +1 -1
  83. package/dist/commonjs/AccountSASSignatureValues.d.ts +4 -4
  84. package/dist/commonjs/AccountSASSignatureValues.d.ts.map +1 -1
  85. package/dist/commonjs/AccountSASSignatureValues.js +1 -1
  86. package/dist/commonjs/AccountSASSignatureValues.js.map +1 -1
  87. package/dist/commonjs/Clients.d.ts +56 -55
  88. package/dist/commonjs/Clients.d.ts.map +1 -1
  89. package/dist/commonjs/Clients.js +614 -301
  90. package/dist/commonjs/Clients.js.map +1 -1
  91. package/dist/commonjs/FileDownloadResponse.js +2 -0
  92. package/dist/commonjs/FileDownloadResponse.js.map +1 -1
  93. package/dist/commonjs/FileSASPermissions.js +16 -18
  94. package/dist/commonjs/FileSASPermissions.js.map +1 -1
  95. package/dist/commonjs/FileSASSignatureValues.d.ts +2 -2
  96. package/dist/commonjs/FileSASSignatureValues.d.ts.map +1 -1
  97. package/dist/commonjs/FileSASSignatureValues.js.map +1 -1
  98. package/dist/commonjs/FileSystemAttributes.d.ts +1 -1
  99. package/dist/commonjs/FileSystemAttributes.js +44 -46
  100. package/dist/commonjs/FileSystemAttributes.js.map +1 -1
  101. package/dist/commonjs/Pipeline.d.ts +2 -4
  102. package/dist/commonjs/Pipeline.d.ts.map +1 -1
  103. package/dist/commonjs/Pipeline.js +39 -30
  104. package/dist/commonjs/Pipeline.js.map +1 -1
  105. package/dist/commonjs/Range.d.ts +1 -1
  106. package/dist/commonjs/Range.js.map +1 -1
  107. package/dist/commonjs/SASQueryParameters.d.ts +1 -1
  108. package/dist/commonjs/SASQueryParameters.js +70 -0
  109. package/dist/commonjs/SASQueryParameters.js.map +1 -1
  110. package/dist/commonjs/ShareClientInternal.js +1 -0
  111. package/dist/commonjs/ShareClientInternal.js.map +1 -1
  112. package/dist/commonjs/ShareSASPermissions.d.ts +1 -1
  113. package/dist/commonjs/ShareSASPermissions.js +21 -23
  114. package/dist/commonjs/ShareSASPermissions.js.map +1 -1
  115. package/dist/commonjs/ShareServiceClient.d.ts +5 -5
  116. package/dist/commonjs/ShareServiceClient.d.ts.map +1 -1
  117. package/dist/commonjs/ShareServiceClient.js +76 -60
  118. package/dist/commonjs/ShareServiceClient.js.map +1 -1
  119. package/dist/commonjs/StorageClient.d.ts +2 -2
  120. package/dist/commonjs/StorageClient.d.ts.map +1 -1
  121. package/dist/commonjs/StorageClient.js +23 -0
  122. package/dist/commonjs/StorageClient.js.map +1 -1
  123. package/dist/commonjs/StorageContextClient.js +1 -1
  124. package/dist/commonjs/StorageContextClient.js.map +1 -1
  125. package/dist/commonjs/generated/src/operations/directory.js +1 -0
  126. package/dist/commonjs/generated/src/operations/directory.js.map +1 -1
  127. package/dist/commonjs/generated/src/operations/file.js +1 -0
  128. package/dist/commonjs/generated/src/operations/file.js.map +1 -1
  129. package/dist/commonjs/generated/src/operations/service.js +1 -0
  130. package/dist/commonjs/generated/src/operations/service.js.map +1 -1
  131. package/dist/commonjs/generated/src/operations/share.js +1 -0
  132. package/dist/commonjs/generated/src/operations/share.js.map +1 -1
  133. package/dist/commonjs/generated/src/storageClient.js +15 -4
  134. package/dist/commonjs/generated/src/storageClient.js.map +1 -1
  135. package/dist/commonjs/index.d.ts +1 -9
  136. package/dist/commonjs/index.d.ts.map +1 -1
  137. package/dist/commonjs/index.js +13 -18
  138. package/dist/commonjs/index.js.map +1 -1
  139. package/dist/commonjs/tsdoc-metadata.json +11 -11
  140. package/dist/commonjs/utils/Batch.js +29 -21
  141. package/dist/commonjs/utils/Batch.js.map +1 -1
  142. package/dist/commonjs/utils/BufferScheduler.js +70 -44
  143. package/dist/commonjs/utils/BufferScheduler.js.map +1 -1
  144. package/dist/commonjs/utils/RetriableReadableStream.js +70 -62
  145. package/dist/commonjs/utils/RetriableReadableStream.js.map +1 -1
  146. package/dist/commonjs/utils/constants.d.ts.map +1 -1
  147. package/dist/commonjs/utils/constants.js +1 -1
  148. package/dist/commonjs/utils/constants.js.map +1 -1
  149. package/dist/commonjs/utils/utils.common.d.ts +2 -2
  150. package/dist/commonjs/utils/utils.common.js +33 -17
  151. package/dist/commonjs/utils/utils.common.js.map +1 -1
  152. package/dist/commonjs/utils/utils.d.ts +1 -1
  153. package/dist/commonjs/utils/utils.d.ts.map +1 -1
  154. package/dist/commonjs/utils/utils.js +5 -5
  155. package/dist/commonjs/utils/utils.js.map +1 -1
  156. package/dist/esm/AccountSASPermissions.d.ts +1 -1
  157. package/dist/esm/AccountSASPermissions.js +34 -36
  158. package/dist/esm/AccountSASPermissions.js.map +1 -1
  159. package/dist/esm/AccountSASResourceTypes.d.ts +1 -1
  160. package/dist/esm/AccountSASResourceTypes.js +13 -15
  161. package/dist/esm/AccountSASResourceTypes.js.map +1 -1
  162. package/dist/esm/AccountSASServices.js +16 -18
  163. package/dist/esm/AccountSASServices.js.map +1 -1
  164. package/dist/esm/AccountSASSignatureValues.d.ts +4 -4
  165. package/dist/esm/AccountSASSignatureValues.d.ts.map +1 -1
  166. package/dist/esm/AccountSASSignatureValues.js +1 -1
  167. package/dist/esm/AccountSASSignatureValues.js.map +1 -1
  168. package/dist/esm/Clients.d.ts +56 -55
  169. package/dist/esm/Clients.d.ts.map +1 -1
  170. package/dist/esm/Clients.js +602 -289
  171. package/dist/esm/Clients.js.map +1 -1
  172. package/dist/esm/FileDownloadResponse.js +2 -0
  173. package/dist/esm/FileDownloadResponse.js.map +1 -1
  174. package/dist/esm/FileSASPermissions.js +16 -18
  175. package/dist/esm/FileSASPermissions.js.map +1 -1
  176. package/dist/esm/FileSASSignatureValues.d.ts +2 -2
  177. package/dist/esm/FileSASSignatureValues.d.ts.map +1 -1
  178. package/dist/esm/FileSASSignatureValues.js.map +1 -1
  179. package/dist/esm/FileSystemAttributes.d.ts +1 -1
  180. package/dist/esm/FileSystemAttributes.js +44 -46
  181. package/dist/esm/FileSystemAttributes.js.map +1 -1
  182. package/dist/esm/Pipeline.d.ts +2 -4
  183. package/dist/esm/Pipeline.d.ts.map +1 -1
  184. package/dist/esm/Pipeline.js +28 -19
  185. package/dist/esm/Pipeline.js.map +1 -1
  186. package/dist/esm/Range.d.ts +1 -1
  187. package/dist/esm/Range.js.map +1 -1
  188. package/dist/esm/SASQueryParameters.d.ts +1 -1
  189. package/dist/esm/SASQueryParameters.js +70 -0
  190. package/dist/esm/SASQueryParameters.js.map +1 -1
  191. package/dist/esm/ShareClientInternal.js +1 -0
  192. package/dist/esm/ShareClientInternal.js.map +1 -1
  193. package/dist/esm/ShareSASPermissions.d.ts +1 -1
  194. package/dist/esm/ShareSASPermissions.js +21 -23
  195. package/dist/esm/ShareSASPermissions.js.map +1 -1
  196. package/dist/esm/ShareServiceClient.d.ts +5 -5
  197. package/dist/esm/ShareServiceClient.d.ts.map +1 -1
  198. package/dist/esm/ShareServiceClient.js +70 -54
  199. package/dist/esm/ShareServiceClient.js.map +1 -1
  200. package/dist/esm/StorageClient.d.ts +2 -2
  201. package/dist/esm/StorageClient.d.ts.map +1 -1
  202. package/dist/esm/StorageClient.js +23 -0
  203. package/dist/esm/StorageClient.js.map +1 -1
  204. package/dist/esm/StorageContextClient.js +1 -1
  205. package/dist/esm/StorageContextClient.js.map +1 -1
  206. package/dist/esm/generated/src/operations/directory.js +1 -0
  207. package/dist/esm/generated/src/operations/directory.js.map +1 -1
  208. package/dist/esm/generated/src/operations/file.js +1 -0
  209. package/dist/esm/generated/src/operations/file.js.map +1 -1
  210. package/dist/esm/generated/src/operations/service.js +1 -0
  211. package/dist/esm/generated/src/operations/service.js.map +1 -1
  212. package/dist/esm/generated/src/operations/share.js +1 -0
  213. package/dist/esm/generated/src/operations/share.js.map +1 -1
  214. package/dist/esm/generated/src/storageClient.js +15 -4
  215. package/dist/esm/generated/src/storageClient.js.map +1 -1
  216. package/dist/esm/index.d.ts +1 -9
  217. package/dist/esm/index.d.ts.map +1 -1
  218. package/dist/esm/index.js +1 -9
  219. package/dist/esm/index.js.map +1 -1
  220. package/dist/esm/utils/Batch.js +29 -21
  221. package/dist/esm/utils/Batch.js.map +1 -1
  222. package/dist/esm/utils/BufferScheduler.js +70 -44
  223. package/dist/esm/utils/BufferScheduler.js.map +1 -1
  224. package/dist/esm/utils/RetriableReadableStream.js +70 -62
  225. package/dist/esm/utils/RetriableReadableStream.js.map +1 -1
  226. package/dist/esm/utils/constants.d.ts.map +1 -1
  227. package/dist/esm/utils/constants.js +1 -1
  228. package/dist/esm/utils/constants.js.map +1 -1
  229. package/dist/esm/utils/utils.common.d.ts +2 -2
  230. package/dist/esm/utils/utils.common.js +33 -17
  231. package/dist/esm/utils/utils.common.js.map +1 -1
  232. package/dist/esm/utils/utils.d.ts +1 -1
  233. package/dist/esm/utils/utils.d.ts.map +1 -1
  234. package/dist/esm/utils/utils.js +2 -2
  235. package/dist/esm/utils/utils.js.map +1 -1
  236. package/dist/react-native/AccountSASPermissions.d.ts +1 -1
  237. package/dist/react-native/AccountSASPermissions.js +34 -36
  238. package/dist/react-native/AccountSASPermissions.js.map +1 -1
  239. package/dist/react-native/AccountSASResourceTypes.d.ts +1 -1
  240. package/dist/react-native/AccountSASResourceTypes.js +13 -15
  241. package/dist/react-native/AccountSASResourceTypes.js.map +1 -1
  242. package/dist/react-native/AccountSASServices.js +16 -18
  243. package/dist/react-native/AccountSASServices.js.map +1 -1
  244. package/dist/react-native/AccountSASSignatureValues.d.ts +4 -4
  245. package/dist/react-native/AccountSASSignatureValues.d.ts.map +1 -1
  246. package/dist/react-native/AccountSASSignatureValues.js +1 -1
  247. package/dist/react-native/AccountSASSignatureValues.js.map +1 -1
  248. package/dist/react-native/Clients.d.ts +56 -55
  249. package/dist/react-native/Clients.d.ts.map +1 -1
  250. package/dist/react-native/Clients.js +602 -289
  251. package/dist/react-native/Clients.js.map +1 -1
  252. package/dist/react-native/FileDownloadResponse.js +2 -0
  253. package/dist/react-native/FileDownloadResponse.js.map +1 -1
  254. package/dist/react-native/FileSASPermissions.js +16 -18
  255. package/dist/react-native/FileSASPermissions.js.map +1 -1
  256. package/dist/react-native/FileSASSignatureValues.d.ts +2 -2
  257. package/dist/react-native/FileSASSignatureValues.d.ts.map +1 -1
  258. package/dist/react-native/FileSASSignatureValues.js.map +1 -1
  259. package/dist/react-native/FileSystemAttributes.d.ts +1 -1
  260. package/dist/react-native/FileSystemAttributes.js +44 -46
  261. package/dist/react-native/FileSystemAttributes.js.map +1 -1
  262. package/dist/react-native/Pipeline.d.ts +2 -4
  263. package/dist/react-native/Pipeline.d.ts.map +1 -1
  264. package/dist/react-native/Pipeline.js +28 -19
  265. package/dist/react-native/Pipeline.js.map +1 -1
  266. package/dist/react-native/Range.d.ts +1 -1
  267. package/dist/react-native/Range.js.map +1 -1
  268. package/dist/react-native/SASQueryParameters.d.ts +1 -1
  269. package/dist/react-native/SASQueryParameters.js +70 -0
  270. package/dist/react-native/SASQueryParameters.js.map +1 -1
  271. package/dist/react-native/ShareClientInternal.js +1 -0
  272. package/dist/react-native/ShareClientInternal.js.map +1 -1
  273. package/dist/react-native/ShareSASPermissions.d.ts +1 -1
  274. package/dist/react-native/ShareSASPermissions.js +21 -23
  275. package/dist/react-native/ShareSASPermissions.js.map +1 -1
  276. package/dist/react-native/ShareServiceClient.d.ts +5 -5
  277. package/dist/react-native/ShareServiceClient.d.ts.map +1 -1
  278. package/dist/react-native/ShareServiceClient.js +70 -54
  279. package/dist/react-native/ShareServiceClient.js.map +1 -1
  280. package/dist/react-native/StorageClient.d.ts +2 -2
  281. package/dist/react-native/StorageClient.d.ts.map +1 -1
  282. package/dist/react-native/StorageClient.js +23 -0
  283. package/dist/react-native/StorageClient.js.map +1 -1
  284. package/dist/react-native/StorageContextClient.js +1 -1
  285. package/dist/react-native/StorageContextClient.js.map +1 -1
  286. package/dist/react-native/generated/src/operations/directory.js +1 -0
  287. package/dist/react-native/generated/src/operations/directory.js.map +1 -1
  288. package/dist/react-native/generated/src/operations/file.js +1 -0
  289. package/dist/react-native/generated/src/operations/file.js.map +1 -1
  290. package/dist/react-native/generated/src/operations/service.js +1 -0
  291. package/dist/react-native/generated/src/operations/service.js.map +1 -1
  292. package/dist/react-native/generated/src/operations/share.js +1 -0
  293. package/dist/react-native/generated/src/operations/share.js.map +1 -1
  294. package/dist/react-native/generated/src/storageClient.js +15 -4
  295. package/dist/react-native/generated/src/storageClient.js.map +1 -1
  296. package/dist/react-native/index.d.ts +1 -9
  297. package/dist/react-native/index.d.ts.map +1 -1
  298. package/dist/react-native/index.js +1 -9
  299. package/dist/react-native/index.js.map +1 -1
  300. package/dist/react-native/utils/Batch.js +29 -21
  301. package/dist/react-native/utils/Batch.js.map +1 -1
  302. package/dist/react-native/utils/BufferScheduler.js +70 -44
  303. package/dist/react-native/utils/BufferScheduler.js.map +1 -1
  304. package/dist/react-native/utils/RetriableReadableStream.js +70 -62
  305. package/dist/react-native/utils/RetriableReadableStream.js.map +1 -1
  306. package/dist/react-native/utils/constants.d.ts.map +1 -1
  307. package/dist/react-native/utils/constants.js +1 -1
  308. package/dist/react-native/utils/constants.js.map +1 -1
  309. package/dist/react-native/utils/utils.common.d.ts +2 -2
  310. package/dist/react-native/utils/utils.common.js +33 -17
  311. package/dist/react-native/utils/utils.common.js.map +1 -1
  312. package/dist/react-native/utils/utils.d.ts +1 -1
  313. package/dist/react-native/utils/utils.d.ts.map +1 -1
  314. package/dist/react-native/utils/utils.js +2 -2
  315. package/dist/react-native/utils/utils.js.map +1 -1
  316. package/package.json +12 -12
  317. package/dist/browser/StorageRetryPolicyFactory.d.ts +0 -56
  318. package/dist/browser/StorageRetryPolicyFactory.d.ts.map +0 -1
  319. package/dist/browser/StorageRetryPolicyFactory.js +0 -26
  320. package/dist/browser/StorageRetryPolicyFactory.js.map +0 -1
  321. package/dist/browser/policies/StorageRetryPolicy.d.ts +0 -75
  322. package/dist/browser/policies/StorageRetryPolicy.d.ts.map +0 -1
  323. package/dist/browser/policies/StorageRetryPolicy.js +0 -220
  324. package/dist/browser/policies/StorageRetryPolicy.js.map +0 -1
  325. package/dist/browser/policies/StorageRetryPolicyV2.d.ts +0 -24
  326. package/dist/browser/policies/StorageRetryPolicyV2.d.ts.map +0 -1
  327. package/dist/browser/policies/StorageRetryPolicyV2.js +0 -176
  328. package/dist/browser/policies/StorageRetryPolicyV2.js.map +0 -1
  329. package/dist/commonjs/StorageRetryPolicyFactory.d.ts +0 -56
  330. package/dist/commonjs/StorageRetryPolicyFactory.d.ts.map +0 -1
  331. package/dist/commonjs/StorageRetryPolicyFactory.js +0 -31
  332. package/dist/commonjs/StorageRetryPolicyFactory.js.map +0 -1
  333. package/dist/commonjs/policies/StorageRetryPolicy.d.ts +0 -75
  334. package/dist/commonjs/policies/StorageRetryPolicy.d.ts.map +0 -1
  335. package/dist/commonjs/policies/StorageRetryPolicy.js +0 -225
  336. package/dist/commonjs/policies/StorageRetryPolicy.js.map +0 -1
  337. package/dist/commonjs/policies/StorageRetryPolicyV2.d.ts +0 -24
  338. package/dist/commonjs/policies/StorageRetryPolicyV2.d.ts.map +0 -1
  339. package/dist/commonjs/policies/StorageRetryPolicyV2.js +0 -180
  340. package/dist/commonjs/policies/StorageRetryPolicyV2.js.map +0 -1
  341. package/dist/esm/StorageRetryPolicyFactory.d.ts +0 -56
  342. package/dist/esm/StorageRetryPolicyFactory.d.ts.map +0 -1
  343. package/dist/esm/StorageRetryPolicyFactory.js +0 -26
  344. package/dist/esm/StorageRetryPolicyFactory.js.map +0 -1
  345. package/dist/esm/policies/StorageRetryPolicy.d.ts +0 -75
  346. package/dist/esm/policies/StorageRetryPolicy.d.ts.map +0 -1
  347. package/dist/esm/policies/StorageRetryPolicy.js +0 -220
  348. package/dist/esm/policies/StorageRetryPolicy.js.map +0 -1
  349. package/dist/esm/policies/StorageRetryPolicyV2.d.ts +0 -24
  350. package/dist/esm/policies/StorageRetryPolicyV2.d.ts.map +0 -1
  351. package/dist/esm/policies/StorageRetryPolicyV2.js +0 -176
  352. package/dist/esm/policies/StorageRetryPolicyV2.js.map +0 -1
  353. package/dist/react-native/StorageRetryPolicyFactory.d.ts +0 -56
  354. package/dist/react-native/StorageRetryPolicyFactory.d.ts.map +0 -1
  355. package/dist/react-native/StorageRetryPolicyFactory.js +0 -26
  356. package/dist/react-native/StorageRetryPolicyFactory.js.map +0 -1
  357. package/dist/react-native/policies/StorageRetryPolicy.d.ts +0 -75
  358. package/dist/react-native/policies/StorageRetryPolicy.d.ts.map +0 -1
  359. package/dist/react-native/policies/StorageRetryPolicy.js +0 -220
  360. package/dist/react-native/policies/StorageRetryPolicy.js.map +0 -1
  361. package/dist/react-native/policies/StorageRetryPolicyV2.d.ts +0 -24
  362. package/dist/react-native/policies/StorageRetryPolicyV2.d.ts.map +0 -1
  363. package/dist/react-native/policies/StorageRetryPolicyV2.js +0 -176
  364. package/dist/react-native/policies/StorageRetryPolicyV2.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"AccountSASServices.js","sourceRoot":"","sources":["../../src/AccountSASServices.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;;;;;;;GAQG;AACH,MAAM,OAAO,kBAAkB;IAA/B;QAgCE;;WAEG;QACI,SAAI,GAAY,KAAK,CAAC;QAE7B;;WAEG;QACI,SAAI,GAAY,KAAK,CAAC;QAE7B;;WAEG;QACI,UAAK,GAAY,KAAK,CAAC;QAE9B;;WAEG;QACI,UAAK,GAAY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licensed under the MIT License.\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * This is a helper class to construct a string representing the services accessible by an AccountSAS. Setting a value\n * to true means that any SAS which uses these permissions will grant access to that service. Once all the\n * values are set, this should be serialized with toString and set as the services field on an\n * {@link AccountSASSignatureValues} object. It is possible to construct the services string without this class, but\n * the order of the services is particular and this class guarantees correctness.\n */\nexport class AccountSASServices {\n /**\n * Creates an {@link AccountSASServices} from the specified services string. This method will throw an\n * Error if it encounters a character that does not correspond to a valid service.\n *\n * @param services -\n */\n public static parse(services: string): AccountSASServices {\n const accountSASServices = new AccountSASServices();\n\n for (const c of services) {\n switch (c) {\n case \"b\":\n accountSASServices.blob = true;\n break;\n case \"f\":\n accountSASServices.file = true;\n break;\n case \"q\":\n accountSASServices.queue = true;\n break;\n case \"t\":\n accountSASServices.table = true;\n break;\n default:\n throw new RangeError(`Invalid service character: ${c}`);\n }\n }\n\n return accountSASServices;\n }\n\n /**\n * Permission to access blob resources granted.\n */\n public blob: boolean = false;\n\n /**\n * Permission to access file resources granted.\n */\n public file: boolean = false;\n\n /**\n * Permission to access queue resources granted.\n */\n public queue: boolean = false;\n\n /**\n * Permission to access table resources granted.\n */\n public table: boolean = false;\n\n /**\n * Converts the given services to a string.\n *\n */\n public toString(): string {\n const services: string[] = [];\n if (this.blob) {\n services.push(\"b\");\n }\n if (this.table) {\n services.push(\"t\");\n }\n if (this.queue) {\n services.push(\"q\");\n }\n if (this.file) {\n services.push(\"f\");\n }\n return services.join(\"\");\n }\n}\n"]}
1
+ {"version":3,"file":"AccountSASServices.js","sourceRoot":"","sources":["../../src/AccountSASServices.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;;;;;;;GAQG;AACH,MAAM,OAAO,kBAAkB;IAC7B;;;;;OAKG;IACI,MAAM,CAAC,KAAK,CAAC,QAAgB;QAClC,MAAM,kBAAkB,GAAG,IAAI,kBAAkB,EAAE,CAAC;QAEpD,KAAK,MAAM,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Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * This is a helper class to construct a string representing the services accessible by an AccountSAS. Setting a value\n * to true means that any SAS which uses these permissions will grant access to that service. Once all the\n * values are set, this should be serialized with toString and set as the services field on an\n * {@link AccountSASSignatureValues} object. It is possible to construct the services string without this class, but\n * the order of the services is particular and this class guarantees correctness.\n */\nexport class AccountSASServices {\n /**\n * Creates an {@link AccountSASServices} from the specified services string. This method will throw an\n * Error if it encounters a character that does not correspond to a valid service.\n *\n * @param services -\n */\n public static parse(services: string): AccountSASServices {\n const accountSASServices = new AccountSASServices();\n\n for (const c of services) {\n switch (c) {\n case \"b\":\n accountSASServices.blob = true;\n break;\n case \"f\":\n accountSASServices.file = true;\n break;\n case \"q\":\n accountSASServices.queue = true;\n break;\n case \"t\":\n accountSASServices.table = true;\n break;\n default:\n throw new RangeError(`Invalid service character: ${c}`);\n }\n }\n\n return accountSASServices;\n }\n\n /**\n * Permission to access blob resources granted.\n */\n public blob: boolean = false;\n\n /**\n * Permission to access file resources granted.\n */\n public file: boolean = false;\n\n /**\n * Permission to access queue resources granted.\n */\n public queue: boolean = false;\n\n /**\n * Permission to access table resources granted.\n */\n public table: boolean = false;\n\n /**\n * Converts the given services to a string.\n *\n */\n public toString(): string {\n const services: string[] = [];\n if (this.blob) {\n services.push(\"b\");\n }\n if (this.table) {\n services.push(\"t\");\n }\n if (this.queue) {\n services.push(\"q\");\n }\n if (this.file) {\n services.push(\"f\");\n }\n return services.join(\"\");\n }\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { AccountSASPermissions } from "./AccountSASPermissions.js";
2
- import type { StorageSharedKeyCredential } from "@azure/storage-blob";
2
+ import type { StorageSharedKeyCredential } from "@azure/storage-common";
3
3
  import type { SasIPRange } from "./SasIPRange.js";
4
4
  import type { SASProtocol } from "./SASQueryParameters.js";
5
5
  import { SASQueryParameters } from "./SASQueryParameters.js";
@@ -12,10 +12,10 @@ import { SASQueryParameters } from "./SASQueryParameters.js";
12
12
  * the former is mutable and a logical representation while the latter is immutable and used to generate actual REST
13
13
  * requests.
14
14
  *
15
- * @see https://learn.microsoft.com/en-us/azure/storage/common/storage-dotnet-shared-access-signature-part-1
15
+ * @see https://learn.microsoft.com/azure/storage/common/storage-dotnet-shared-access-signature-part-1
16
16
  * for more conceptual information on SAS
17
17
  *
18
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-an-account-sas
18
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-an-account-sas
19
19
  * for descriptions of the parameters, including which are required
20
20
  */
21
21
  export interface AccountSASSignatureValues {
@@ -61,7 +61,7 @@ export interface AccountSASSignatureValues {
61
61
  * Generates a {@link SASQueryParameters} object which contains all SAS query parameters needed to make an actual
62
62
  * REST request.
63
63
  *
64
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-an-account-sas
64
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-an-account-sas
65
65
  *
66
66
  * @param sharedKeyCredential -
67
67
  */
@@ -1 +1 @@
1
- {"version":3,"file":"AccountSASSignatureValues.d.ts","sourceRoot":"","sources":["../../src/AccountSASSignatureValues.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAI7D;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,WAAW,CAAC;IAEvB;;OAEG;IACH,QAAQ,CAAC,EAAE,IAA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E,UAAU,CAAC;IAErB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;;;GASG;AACH,wBAAgB,iCAAiC,CAC/C,yBAAyB,EAAE,yBAAyB,EACpD,mBAAmB,EAAE,0BAA0B,GAC9C,kBAAkB,CAGpB;AAED,wBAAgB,yCAAyC,CACvD,yBAAyB,EAAE,yBAAyB,EACpD,mBAAmB,EAAE,0BAA0B,GAC9C;IAAE,kBAAkB,EAAE,kBAAkB,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,CAgElE"}
@@ -13,7 +13,7 @@ import { truncatedISO8061Date } from "./utils/utils.common.js";
13
13
  * Generates a {@link SASQueryParameters} object which contains all SAS query parameters needed to make an actual
14
14
  * REST request.
15
15
  *
16
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-an-account-sas
16
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-an-account-sas
17
17
  *
18
18
  * @param sharedKeyCredential -
19
19
  */
@@ -1 +1 @@
1
- {"version":3,"file":"AccountSASSignatureValues.js","sourceRoot":"","sources":["../../src/AccountSASSignatureValues.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAG7D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AA8D/D;;;;;;;;;GASG;AACH,MAAM,UAAU,iCAAiC,CAC/C,yBAAoD,EACpD,mB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,CAAC,CAAC;IACf,CAAC;SAAM,CAAC;QACN,YAAY,GAAG;YACb,mBAAmB,CAAC,WAAW;YAC/B,iBAAiB;YACjB,cAAc;YACd,mBAAmB;YACnB,yBAAyB,CAAC,QAAQ;gBAChC,CAAC,CAAC,oBAAoB,CAAC,yBAAyB,CAAC,QAAQ,EAAE,KAAK,CAAC;gBACjE,CAAC,CAAC,EAAE;YACN,oBAAoB,CAAC,yBAAyB,CAAC,SAAS,EAAE,KAAK,CAAC;YAChE,yBAAyB,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,CAAC,yBAAyB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE;YAC3F,yBAAyB,CAAC,QAAQ,CAAC,CAAC,CAAC,yBAAyB,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE;YAC5E,OAAO;YACP,EAAE,EAAE,uDAAuD;SAC5D,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACf,CAAC;IAED,MAAM,SAAS,GAAW,mBAAmB,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAC;IAE9E,OAAO;QACL,kBAAkB,EAAE,IAAI,kBAAkB,CACxC,OAAO,EACP,SAAS,EACT,iBAAiB,EACjB,cAAc,EACd,mBAAmB,EACnB,yBAAyB,CAAC,QAAQ,EAClC,yBAAyB,CAAC,QAAQ,EAClC,yBAAyB,CAAC,SAAS,EACnC,yBAAyB,CAAC,OAAO,CAClC;QACD,YAAY,EAAE,YAAY;KAC3B,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AccountSASPermissions } from \"./AccountSASPermissions.js\";\nimport { AccountSASResourceTypes } from \"./AccountSASResourceTypes.js\";\nimport { AccountSASServices } from \"./AccountSASServices.js\";\nimport type { StorageSharedKeyCredential } from \"@azure/storage-blob\";\nimport type { SasIPRange } from \"./SasIPRange.js\";\nimport { ipRangeToString } from \"./SasIPRange.js\";\nimport type { SASProtocol } from \"./SASQueryParameters.js\";\nimport { SASQueryParameters } from \"./SASQueryParameters.js\";\nimport { SERVICE_VERSION } from \"./utils/constants.js\";\nimport { truncatedISO8061Date } from \"./utils/utils.common.js\";\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * AccountSASSignatureValues is used to generate a Shared Access Signature (SAS) for an Azure Storage account. Once\n * all the values here are set appropriately, call {@link generateAccountSASQueryParameters} to obtain a representation of the SAS\n * which can actually be applied to file urls. Note: that both this class and {@link SASQueryParameters} exist because\n * the former is mutable and a logical representation while the latter is immutable and used to generate actual REST\n * requests.\n *\n * @see https://learn.microsoft.com/en-us/azure/storage/common/storage-dotnet-shared-access-signature-part-1\n * for more conceptual information on SAS\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-an-account-sas\n * for descriptions of the parameters, including which are required\n */\nexport interface AccountSASSignatureValues {\n /**\n * If not provided, this defaults to the service version targeted by this version of the library.\n */\n version?: string;\n\n /**\n * Optional. SAS protocols allowed.\n */\n protocol?: SASProtocol;\n\n /**\n * Optional. When the SAS will take effect.\n */\n startsOn?: Date;\n\n /**\n * The time after which the SAS will no longer work.\n */\n expiresOn: Date;\n\n /**\n * Specifies which operations the SAS user may perform. Please refer to {@link AccountSASPermissions} for help\n * constructing the permissions string.\n */\n permissions: AccountSASPermissions;\n\n /**\n * Optional. IP range allowed.\n */\n ipRange?: SasIPRange;\n\n /**\n * The values that indicate the services accessible with this SAS. Please refer to {@link AccountSASServices} to\n * construct this value.\n */\n services: string;\n\n /**\n * The values that indicate the resource types accessible with this SAS. Please refer\n * to {@link AccountSASResourceTypes} to construct this value.\n */\n resourceTypes: string;\n}\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * Generates a {@link SASQueryParameters} object which contains all SAS query parameters needed to make an actual\n * REST request.\n *\n * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-an-account-sas\n *\n * @param sharedKeyCredential -\n */\nexport function generateAccountSASQueryParameters(\n accountSASSignatureValues: AccountSASSignatureValues,\n sharedKeyCredential: StorageSharedKeyCredential,\n): SASQueryParameters {\n return generateAccountSASQueryParametersInternal(accountSASSignatureValues, sharedKeyCredential)\n .sasQueryParameters;\n}\n\nexport function generateAccountSASQueryParametersInternal(\n accountSASSignatureValues: AccountSASSignatureValues,\n sharedKeyCredential: StorageSharedKeyCredential,\n): { sasQueryParameters: SASQueryParameters; stringToSign: string } {\n const version = accountSASSignatureValues.version\n ? accountSASSignatureValues.version\n : SERVICE_VERSION;\n\n const parsedPermissions = AccountSASPermissions.parse(\n accountSASSignatureValues.permissions.toString(),\n ).toString();\n const parsedServices = AccountSASServices.parse(accountSASSignatureValues.services).toString();\n const parsedResourceTypes = AccountSASResourceTypes.parse(\n accountSASSignatureValues.resourceTypes,\n ).toString();\n\n let stringToSign: string;\n\n if (version >= \"2020-12-06\") {\n stringToSign = [\n sharedKeyCredential.accountName,\n parsedPermissions,\n parsedServices,\n parsedResourceTypes,\n accountSASSignatureValues.startsOn\n ? truncatedISO8061Date(accountSASSignatureValues.startsOn, false)\n : \"\",\n truncatedISO8061Date(accountSASSignatureValues.expiresOn, false),\n accountSASSignatureValues.ipRange ? ipRangeToString(accountSASSignatureValues.ipRange) : \"\",\n accountSASSignatureValues.protocol ? accountSASSignatureValues.protocol : \"\",\n version,\n \"\", // Reserved for encryption scope\n \"\", // Account SAS requires an additional newline character\n ].join(\"\\n\");\n } else {\n stringToSign = [\n sharedKeyCredential.accountName,\n parsedPermissions,\n parsedServices,\n parsedResourceTypes,\n accountSASSignatureValues.startsOn\n ? truncatedISO8061Date(accountSASSignatureValues.startsOn, false)\n : \"\",\n truncatedISO8061Date(accountSASSignatureValues.expiresOn, false),\n accountSASSignatureValues.ipRange ? ipRangeToString(accountSASSignatureValues.ipRange) : \"\",\n accountSASSignatureValues.protocol ? accountSASSignatureValues.protocol : \"\",\n version,\n \"\", // Account SAS requires an additional newline character\n ].join(\"\\n\");\n }\n\n const signature: string = sharedKeyCredential.computeHMACSHA256(stringToSign);\n\n return {\n sasQueryParameters: new SASQueryParameters(\n version,\n signature,\n parsedPermissions,\n parsedServices,\n parsedResourceTypes,\n accountSASSignatureValues.protocol,\n accountSASSignatureValues.startsOn,\n accountSASSignatureValues.expiresOn,\n accountSASSignatureValues.ipRange,\n ),\n stringToSign: stringToSign,\n };\n}\n"]}
1
+ {"version":3,"file":"AccountSASSignatureValues.js","sourceRoot":"","sources":["../../src/AccountSASSignatureValues.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAG7D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AA8D/D;;;;;;;;;GASG;AACH,MAAM,UAAU,iCAAiC,CAC/C,yBAAoD,EACpD,mBAA+C;IAE/C,OAAO,yCAAyC,CAAC,yBAAyB,EAAE,mBAAmB,CAAC;SAC7F,kBAAkB,CAAC;AACxB,CAAC;AAED,MAAM,UAAU,yCAAyC,CACvD,yBAAoD,EACpD,mBAA+C;IAE/C,MAAM,OAAO,GAAG,yBAAyB,CAAC,OAAO;QAC/C,CAAC,CAAC,yBAAyB,CAAC,OAAO;QACnC,CAAC,CAAC,eAAe,CAAC;IAEpB,MAAM,iBAAiB,GAAG,qBAAqB,CAAC,KAAK,CACnD,yBAAyB,CAAC,WAAW,CAAC,QAAQ,EAAE,CACjD,CAAC,QAAQ,EAAE,CAAC;IACb,MAAM,cAAc,GAAG,kBAAkB,CAAC,KAAK,CAAC,yBAAyB,CAAC,QAAQ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AyB,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE;YAC5E,OAAO;YACP,EAAE,EAAE,uDAAuD;SAC5D,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACf,CAAC;IAED,MAAM,SAAS,GAAW,mBAAmB,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAC;IAE9E,OAAO;QACL,kBAAkB,EAAE,IAAI,kBAAkB,CACxC,OAAO,EACP,SAAS,EACT,iBAAiB,EACjB,cAAc,EACd,mBAAmB,EACnB,yBAAyB,CAAC,QAAQ,EAClC,yBAAyB,CAAC,QAAQ,EAClC,yBAAyB,CAAC,SAAS,EACnC,yBAAyB,CAAC,OAAO,CAClC;QACD,YAAY,EAAE,YAAY;KAC3B,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AccountSASPermissions } from \"./AccountSASPermissions.js\";\nimport { AccountSASResourceTypes } from \"./AccountSASResourceTypes.js\";\nimport { AccountSASServices } from \"./AccountSASServices.js\";\nimport type { StorageSharedKeyCredential } from \"@azure/storage-common\";\nimport type { SasIPRange } from \"./SasIPRange.js\";\nimport { ipRangeToString } from \"./SasIPRange.js\";\nimport type { SASProtocol } from \"./SASQueryParameters.js\";\nimport { SASQueryParameters } from \"./SASQueryParameters.js\";\nimport { SERVICE_VERSION } from \"./utils/constants.js\";\nimport { truncatedISO8061Date } from \"./utils/utils.common.js\";\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * AccountSASSignatureValues is used to generate a Shared Access Signature (SAS) for an Azure Storage account. Once\n * all the values here are set appropriately, call {@link generateAccountSASQueryParameters} to obtain a representation of the SAS\n * which can actually be applied to file urls. Note: that both this class and {@link SASQueryParameters} exist because\n * the former is mutable and a logical representation while the latter is immutable and used to generate actual REST\n * requests.\n *\n * @see https://learn.microsoft.com/azure/storage/common/storage-dotnet-shared-access-signature-part-1\n * for more conceptual information on SAS\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/constructing-an-account-sas\n * for descriptions of the parameters, including which are required\n */\nexport interface AccountSASSignatureValues {\n /**\n * If not provided, this defaults to the service version targeted by this version of the library.\n */\n version?: string;\n\n /**\n * Optional. SAS protocols allowed.\n */\n protocol?: SASProtocol;\n\n /**\n * Optional. When the SAS will take effect.\n */\n startsOn?: Date;\n\n /**\n * The time after which the SAS will no longer work.\n */\n expiresOn: Date;\n\n /**\n * Specifies which operations the SAS user may perform. Please refer to {@link AccountSASPermissions} for help\n * constructing the permissions string.\n */\n permissions: AccountSASPermissions;\n\n /**\n * Optional. IP range allowed.\n */\n ipRange?: SasIPRange;\n\n /**\n * The values that indicate the services accessible with this SAS. Please refer to {@link AccountSASServices} to\n * construct this value.\n */\n services: string;\n\n /**\n * The values that indicate the resource types accessible with this SAS. Please refer\n * to {@link AccountSASResourceTypes} to construct this value.\n */\n resourceTypes: string;\n}\n\n/**\n * ONLY AVAILABLE IN NODE.JS RUNTIME.\n *\n * Generates a {@link SASQueryParameters} object which contains all SAS query parameters needed to make an actual\n * REST request.\n *\n * @see https://learn.microsoft.com/rest/api/storageservices/constructing-an-account-sas\n *\n * @param sharedKeyCredential -\n */\nexport function generateAccountSASQueryParameters(\n accountSASSignatureValues: AccountSASSignatureValues,\n sharedKeyCredential: StorageSharedKeyCredential,\n): SASQueryParameters {\n return generateAccountSASQueryParametersInternal(accountSASSignatureValues, sharedKeyCredential)\n .sasQueryParameters;\n}\n\nexport function generateAccountSASQueryParametersInternal(\n accountSASSignatureValues: AccountSASSignatureValues,\n sharedKeyCredential: StorageSharedKeyCredential,\n): { sasQueryParameters: SASQueryParameters; stringToSign: string } {\n const version = accountSASSignatureValues.version\n ? accountSASSignatureValues.version\n : SERVICE_VERSION;\n\n const parsedPermissions = AccountSASPermissions.parse(\n accountSASSignatureValues.permissions.toString(),\n ).toString();\n const parsedServices = AccountSASServices.parse(accountSASSignatureValues.services).toString();\n const parsedResourceTypes = AccountSASResourceTypes.parse(\n accountSASSignatureValues.resourceTypes,\n ).toString();\n\n let stringToSign: string;\n\n if (version >= \"2020-12-06\") {\n stringToSign = [\n sharedKeyCredential.accountName,\n parsedPermissions,\n parsedServices,\n parsedResourceTypes,\n accountSASSignatureValues.startsOn\n ? truncatedISO8061Date(accountSASSignatureValues.startsOn, false)\n : \"\",\n truncatedISO8061Date(accountSASSignatureValues.expiresOn, false),\n accountSASSignatureValues.ipRange ? ipRangeToString(accountSASSignatureValues.ipRange) : \"\",\n accountSASSignatureValues.protocol ? accountSASSignatureValues.protocol : \"\",\n version,\n \"\", // Reserved for encryption scope\n \"\", // Account SAS requires an additional newline character\n ].join(\"\\n\");\n } else {\n stringToSign = [\n sharedKeyCredential.accountName,\n parsedPermissions,\n parsedServices,\n parsedResourceTypes,\n accountSASSignatureValues.startsOn\n ? truncatedISO8061Date(accountSASSignatureValues.startsOn, false)\n : \"\",\n truncatedISO8061Date(accountSASSignatureValues.expiresOn, false),\n accountSASSignatureValues.ipRange ? ipRangeToString(accountSASSignatureValues.ipRange) : \"\",\n accountSASSignatureValues.protocol ? accountSASSignatureValues.protocol : \"\",\n version,\n \"\", // Account SAS requires an additional newline character\n ].join(\"\\n\");\n }\n\n const signature: string = sharedKeyCredential.computeHMACSHA256(stringToSign);\n\n return {\n sasQueryParameters: new SASQueryParameters(\n version,\n signature,\n parsedPermissions,\n parsedServices,\n parsedResourceTypes,\n accountSASSignatureValues.protocol,\n accountSASSignatureValues.startsOn,\n accountSASSignatureValues.expiresOn,\n accountSASSignatureValues.ipRange,\n ),\n stringToSign: stringToSign,\n };\n}\n"]}
@@ -4,7 +4,7 @@ import type { AbortSignalLike } from "@azure/abort-controller";
4
4
  import type { CopyFileSmbInfo, DeleteSnapshotsOptionType, DirectoryCreateResponse, DirectoryDeleteResponse, DirectoryGetPropertiesResponse, DirectoryItem, DirectoryListFilesAndDirectoriesSegmentResponse, DirectoryListHandlesResponse, DirectorySetMetadataResponse, DirectorySetPropertiesResponse, DirectoryForceCloseHandlesHeaders, FileAbortCopyResponse, FileCreateResponse, FileDeleteResponse, FileDownloadResponseModel, FileForceCloseHandlesHeaders, FileGetPropertiesResponse, FileGetRangeListHeaders, FileGetRangeListDiffResponse, FileItem, FileListHandlesResponse, FilePermissionFormat, FileSetHTTPHeadersResponse, FileSetMetadataResponse, FileStartCopyResponse, FileUploadRangeFromURLResponse, FileUploadRangeResponse, HandleItem, LeaseAccessConditions, ModeCopyMode, OwnerCopyMode, RangeModel, ShareCreatePermissionResponse, ShareCreateResponse, ShareCreateSnapshotResponse, ShareDeleteResponse, ShareGetAccessPolicyHeaders, ShareGetPermissionResponse, ShareGetPropertiesResponseModel, ShareGetStatisticsResponseModel, ShareSetAccessPolicyResponse, ShareSetMetadataResponse, ShareSetQuotaResponse, SignedIdentifierModel, SourceModifiedAccessConditions, ShareAccessTier, ShareSetPropertiesResponse, ShareRootSquash, FileRenameResponse, DirectoryRenameResponse, FileLastWrittenMode, SharePermission, FileCreateHardLinkResponse, FileCreateSymbolicLinkResponse, FileGetSymbolicLinkResponse } from "./generatedModels.js";
5
5
  import type { Pipeline } from "./Pipeline.js";
6
6
  import type { WithResponse } from "./utils/utils.common.js";
7
- import { Credential } from "@azure/storage-blob";
7
+ import { Credential } from "@azure/storage-common";
8
8
  import type { CommonOptions } from "./StorageClient.js";
9
9
  import { StorageClient } from "./StorageClient.js";
10
10
  import type { PagedAsyncIterableIterator } from "@azure/core-paging";
@@ -14,6 +14,7 @@ import type { ShareSASPermissions } from "./ShareSASPermissions.js";
14
14
  import type { SASProtocol } from "./SASQueryParameters.js";
15
15
  import type { SasIPRange } from "./SasIPRange.js";
16
16
  import type { FileSASPermissions } from "./FileSASPermissions.js";
17
+ import { Readable } from "node:stream";
17
18
  export { ShareClientOptions, ShareClientConfig } from "./models.js";
18
19
  /**
19
20
  * Options to configure the {@link ShareClient.create} operation.
@@ -266,7 +267,7 @@ export interface SignedIdentifier {
266
267
  expiresOn: Date;
267
268
  /**
268
269
  * the permissions for the acl policy
269
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-share-acl
270
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-share-acl
270
271
  */
271
272
  permissions: string;
272
273
  };
@@ -383,7 +384,7 @@ export interface CommonGenerateSasUrlOptions {
383
384
  /**
384
385
  * Optional. The name of the access policy on the share this SAS references if any.
385
386
  *
386
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/establishing-a-stored-access-policy
387
+ * @see https://learn.microsoft.com/rest/api/storageservices/establishing-a-stored-access-policy
387
388
  */
388
389
  identifier?: string;
389
390
  /**
@@ -475,7 +476,7 @@ export declare class ShareClient extends StorageClient {
475
476
  /**
476
477
  * Creates a new share under the specified account. If the share with
477
478
  * the same name already exists, the operation fails.
478
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-share
479
+ * @see https://learn.microsoft.com/rest/api/storageservices/create-share
479
480
  *
480
481
  * @param options - Options to Share Create operation.
481
482
  * @returns Response data for the Share Create operation.
@@ -484,7 +485,7 @@ export declare class ShareClient extends StorageClient {
484
485
  /**
485
486
  * Creates a new share under the specified account. If the share with
486
487
  * the same name already exists, it is not changed.
487
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-share
488
+ * @see https://learn.microsoft.com/rest/api/storageservices/create-share
488
489
  *
489
490
  * @param options -
490
491
  */
@@ -505,7 +506,7 @@ export declare class ShareClient extends StorageClient {
505
506
  get rootDirectoryClient(): ShareDirectoryClient;
506
507
  /**
507
508
  * Creates a new subdirectory under this share.
508
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-directory
509
+ * @see https://learn.microsoft.com/rest/api/storageservices/create-directory
509
510
  *
510
511
  * @param directoryName -
511
512
  * @param options - Options to Directory Create operation.
@@ -518,7 +519,7 @@ export declare class ShareClient extends StorageClient {
518
519
  /**
519
520
  * Removes the specified empty sub directory under this share.
520
521
  * Note that the directory must be empty before it can be deleted.
521
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-directory
522
+ * @see https://learn.microsoft.com/rest/api/storageservices/delete-directory
522
523
  *
523
524
  * @param directoryName -
524
525
  * @param options - Options to Directory Delete operation.
@@ -528,7 +529,7 @@ export declare class ShareClient extends StorageClient {
528
529
  /**
529
530
  * Creates a new file or replaces a file under the root directory of this share.
530
531
  * Note it only initializes the file with no content.
531
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-file
532
+ * @see https://learn.microsoft.com/rest/api/storageservices/create-file
532
533
  *
533
534
  * @param fileName -
534
535
  * @param size - Specifies the maximum size in bytes for the file, up to 4 TB.
@@ -552,7 +553,7 @@ export declare class ShareClient extends StorageClient {
552
553
  * a share. An attempt to perform this operation on a share snapshot will fail with 400
553
554
  * (`InvalidQueryParameterValue`)
554
555
  *
555
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-file2
556
+ * @see https://learn.microsoft.com/rest/api/storageservices/delete-file2
556
557
  *
557
558
  * @param directoryName -
558
559
  * @param fileName -
@@ -573,7 +574,7 @@ export declare class ShareClient extends StorageClient {
573
574
  /**
574
575
  * Returns all user-defined metadata and system properties for the specified
575
576
  * share.
576
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-share-properties
577
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-share-properties
577
578
  *
578
579
  * WARNING: The `metadata` object returned in the response will have its keys in lowercase, even if
579
580
  * they originally contained uppercase characters. This differs from the metadata keys returned by
@@ -586,7 +587,7 @@ export declare class ShareClient extends StorageClient {
586
587
  /**
587
588
  * Marks the specified share for deletion. The share and any directories or files
588
589
  * contained within it are later deleted during garbage collection.
589
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-share
590
+ * @see https://learn.microsoft.com/rest/api/storageservices/delete-share
590
591
  *
591
592
  * @param options - Options to Share Delete operation.
592
593
  * @returns Response data for the Share Delete operation.
@@ -595,7 +596,7 @@ export declare class ShareClient extends StorageClient {
595
596
  /**
596
597
  * Marks the specified share for deletion if it exists. The share and any directories or files
597
598
  * contained within it are later deleted during garbage collection.
598
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-share
599
+ * @see https://learn.microsoft.com/rest/api/storageservices/delete-share
599
600
  *
600
601
  * @param options -
601
602
  */
@@ -605,7 +606,7 @@ export declare class ShareClient extends StorageClient {
605
606
  *
606
607
  * If no option provided, or no metadata defined in the option parameter, the share
607
608
  * metadata will be removed.
608
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-share-metadata
609
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-share-metadata
609
610
  *
610
611
  * @param metadata - If no metadata provided, all existing directory metadata will be removed.
611
612
  * @param option - Options to Share Set Metadata operation.
@@ -619,7 +620,7 @@ export declare class ShareClient extends StorageClient {
619
620
  * WARNING: JavaScript Date will potential lost precision when parsing start and expiry string.
620
621
  * For example, new Date("2018-12-31T03:44:23.8827891Z").toISOString() will get "2018-12-31T03:44:23.882Z".
621
622
  *
622
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-share-acl
623
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-share-acl
623
624
  *
624
625
  * @param option - Options to Share Get Access Policy operation.
625
626
  * @returns Response data for the Share Get Access Policy operation.
@@ -636,7 +637,7 @@ export declare class ShareClient extends StorageClient {
636
637
  * When you establish a stored access policy on a share, it may take up to 30 seconds to take effect.
637
638
  * During this interval, a shared access signature that is associated with the stored access policy will
638
639
  * fail with status code 403 (Forbidden), until the access policy becomes active.
639
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-share-acl
640
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-share-acl
640
641
  *
641
642
  * @param shareAcl - Array of signed identifiers, each having a unique Id and details of access policy.
642
643
  * @param option - Options to Share Set Access Policy operation.
@@ -677,7 +678,7 @@ export declare class ShareClient extends StorageClient {
677
678
  /**
678
679
  * Creates a file permission (a security descriptor) at the share level.
679
680
  * The created security descriptor can be used for the files/directories in the share.
680
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-permission
681
+ * @see https://learn.microsoft.com/rest/api/storageservices/create-permission
681
682
  *
682
683
  * @param options - Options to Share Create Permission operation.
683
684
  * @param filePermission - File permission described in the SDDL
@@ -686,7 +687,7 @@ export declare class ShareClient extends StorageClient {
686
687
  /**
687
688
  * Gets the Security Descriptor Definition Language (SDDL) for a given file permission key
688
689
  * which indicates a security descriptor.
689
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-permission
690
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-permission
690
691
  *
691
692
  * @param options - Options to Share Create Permission operation.
692
693
  * @param filePermissionKey - File permission key which indicates the security descriptor of the permission.
@@ -705,7 +706,7 @@ export declare class ShareClient extends StorageClient {
705
706
  * Generates a Service Shared Access Signature (SAS) URI based on the client properties
706
707
  * and parameters passed in. The SAS is signed by the shared key credential of the client.
707
708
  *
708
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
709
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
709
710
  *
710
711
  * @param options - Optional parameters.
711
712
  * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
@@ -717,7 +718,7 @@ export declare class ShareClient extends StorageClient {
717
718
  * Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
718
719
  * and parameters passed in. The SAS is signed by the shared key credential of the client.
719
720
  *
720
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
721
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
721
722
  *
722
723
  * @param options - Optional parameters.
723
724
  * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
@@ -982,7 +983,7 @@ export declare class ShareDirectoryClient extends StorageClient {
982
983
  constructor(url: string, pipeline: Pipeline, options?: ShareClientConfig);
983
984
  /**
984
985
  * Creates a new directory under the specified share or parent directory.
985
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-directory
986
+ * @see https://learn.microsoft.com/rest/api/storageservices/create-directory
986
987
  *
987
988
  * @param options - Options to Directory Create operation.
988
989
  * @returns Response data for the Directory operation.
@@ -991,14 +992,14 @@ export declare class ShareDirectoryClient extends StorageClient {
991
992
  /**
992
993
  * Creates a new directory under the specified share or parent directory if it does not already exists.
993
994
  * If the directory already exists, it is not modified.
994
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-directory
995
+ * @see https://learn.microsoft.com/rest/api/storageservices/create-directory
995
996
  *
996
997
  * @param options -
997
998
  */
998
999
  createIfNotExists(options?: DirectoryCreateOptions): Promise<DirectoryCreateIfNotExistsResponse>;
999
1000
  /**
1000
1001
  * Sets properties on the directory.
1001
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-directory-properties
1002
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-directory-properties
1002
1003
  *
1003
1004
  * @param DirectoryProperties - Directory properties. If no values are provided,
1004
1005
  * existing values will be preserved.
@@ -1034,7 +1035,7 @@ export declare class ShareDirectoryClient extends StorageClient {
1034
1035
  getDirectoryClient(subDirectoryName: string): ShareDirectoryClient;
1035
1036
  /**
1036
1037
  * Creates a new subdirectory under this directory.
1037
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-directory
1038
+ * @see https://learn.microsoft.com/rest/api/storageservices/create-directory
1038
1039
  *
1039
1040
  * @param directoryName -
1040
1041
  * @param options - Options to Directory Create operation.
@@ -1047,7 +1048,7 @@ export declare class ShareDirectoryClient extends StorageClient {
1047
1048
  /**
1048
1049
  * Removes the specified empty sub directory under this directory.
1049
1050
  * Note that the directory must be empty before it can be deleted.
1050
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-directory
1051
+ * @see https://learn.microsoft.com/rest/api/storageservices/delete-directory
1051
1052
  *
1052
1053
  * @param directoryName -
1053
1054
  * @param options - Options to Directory Delete operation.
@@ -1056,7 +1057,7 @@ export declare class ShareDirectoryClient extends StorageClient {
1056
1057
  deleteSubdirectory(directoryName: string, options?: DirectoryDeleteOptions): Promise<DirectoryDeleteResponse>;
1057
1058
  /**
1058
1059
  * Creates a new file or replaces a file under this directory. Note it only initializes the file with no content.
1059
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-file
1060
+ * @see https://learn.microsoft.com/rest/api/storageservices/create-file
1060
1061
  *
1061
1062
  * @param fileName -
1062
1063
  * @param size - Specifies the maximum size in bytes for the file, up to 4 TB.
@@ -1079,7 +1080,7 @@ export declare class ShareDirectoryClient extends StorageClient {
1079
1080
  * Delete File is not supported on a share snapshot, which is a read-only copy of
1080
1081
  * a share. An attempt to perform this operation on a share snapshot will fail with 400 (InvalidQueryParameterValue)
1081
1082
  *
1082
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-file2
1083
+ * @see https://learn.microsoft.com/rest/api/storageservices/delete-file2
1083
1084
  *
1084
1085
  * @param fileName - Name of the file to delete
1085
1086
  * @param options - Options to File Delete operation.
@@ -1136,7 +1137,7 @@ export declare class ShareDirectoryClient extends StorageClient {
1136
1137
  * Returns all system properties for the specified directory, and can also be used to check the
1137
1138
  * existence of a directory. The data returned does not include the files in the directory or any
1138
1139
  * subdirectories.
1139
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-directory-properties
1140
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-directory-properties
1140
1141
  *
1141
1142
  * @param options - Options to Directory Get Properties operation.
1142
1143
  * @returns Response data for the Directory Get Properties operation.
@@ -1145,7 +1146,7 @@ export declare class ShareDirectoryClient extends StorageClient {
1145
1146
  /**
1146
1147
  * Removes the specified empty directory. Note that the directory must be empty before it can be
1147
1148
  * deleted.
1148
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-directory
1149
+ * @see https://learn.microsoft.com/rest/api/storageservices/delete-directory
1149
1150
  *
1150
1151
  * @param options - Options to Directory Delete operation.
1151
1152
  * @returns Response data for the Directory Delete operation.
@@ -1154,14 +1155,14 @@ export declare class ShareDirectoryClient extends StorageClient {
1154
1155
  /**
1155
1156
  * Removes the specified empty directory if it exists. Note that the directory must be empty before it can be
1156
1157
  * deleted.
1157
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-directory
1158
+ * @see https://learn.microsoft.com/rest/api/storageservices/delete-directory
1158
1159
  *
1159
1160
  * @param options -
1160
1161
  */
1161
1162
  deleteIfExists(options?: DirectoryDeleteOptions): Promise<DirectoryDeleteIfExistsResponse>;
1162
1163
  /**
1163
1164
  * Updates user defined metadata for the specified directory.
1164
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-directory-metadata
1165
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-directory-metadata
1165
1166
  *
1166
1167
  * @param metadata - If no metadata provided, all existing directory metadata will be removed
1167
1168
  * @param options - Options to Directory Set Metadata operation.
@@ -1344,7 +1345,7 @@ export declare class ShareDirectoryClient extends StorageClient {
1344
1345
  /**
1345
1346
  * Returns a list of files or directories under the specified share or directory. It lists the
1346
1347
  * contents only for a single level of the directory hierarchy.
1347
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/list-directories-and-files
1348
+ * @see https://learn.microsoft.com/rest/api/storageservices/list-directories-and-files
1348
1349
  *
1349
1350
  * @param marker - A string value that identifies the portion of the list to be returned with the next list operation.
1350
1351
  * @param options - Options to Directory List Files and Directories Segment operation.
@@ -1494,7 +1495,7 @@ export declare class ShareDirectoryClient extends StorageClient {
1494
1495
  listHandles(options?: DirectoryListHandlesOptions): PagedAsyncIterableIterator<HandleItem, DirectoryListHandlesResponse>;
1495
1496
  /**
1496
1497
  * Lists handles for a directory.
1497
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/list-handles
1498
+ * @see https://learn.microsoft.com/rest/api/storageservices/list-handles
1498
1499
  *
1499
1500
  * @param marker - Optional. A string value that identifies the portion of the list to be
1500
1501
  * returned with the next list handles operation. The operation returns a
@@ -1506,7 +1507,7 @@ export declare class ShareDirectoryClient extends StorageClient {
1506
1507
  private listHandlesSegment;
1507
1508
  /**
1508
1509
  * Force close all handles for a directory.
1509
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/force-close-handles
1510
+ * @see https://learn.microsoft.com/rest/api/storageservices/force-close-handles
1510
1511
  *
1511
1512
  * @param marker - Optional. A string value that identifies the position of handles that will
1512
1513
  * be closed with the next force close handles operation.
@@ -1518,14 +1519,14 @@ export declare class ShareDirectoryClient extends StorageClient {
1518
1519
  private forceCloseHandlesSegment;
1519
1520
  /**
1520
1521
  * Force close all handles for a directory.
1521
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/force-close-handles
1522
+ * @see https://learn.microsoft.com/rest/api/storageservices/force-close-handles
1522
1523
  *
1523
1524
  * @param options -
1524
1525
  */
1525
1526
  forceCloseAllHandles(options?: DirectoryForceCloseHandlesSegmentOptions): Promise<CloseHandlesInfo>;
1526
1527
  /**
1527
1528
  * Force close a specific handle for a directory.
1528
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/force-close-handles
1529
+ * @see https://learn.microsoft.com/rest/api/storageservices/force-close-handles
1529
1530
  *
1530
1531
  * @param aborter - Create a new Aborter instance with Aborter.none or Aborter.timeout(),
1531
1532
  * goto documents of Aborter for more examples about request cancellation
@@ -1708,7 +1709,7 @@ export interface FileUploadRangeFromURLOptions extends CommonOptions {
1708
1709
  abortSignal?: AbortSignalLike;
1709
1710
  /**
1710
1711
  * The timeout parameter is expressed in seconds. For more information, see <a
1711
- * href="https://learn.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting
1712
+ * href="https://learn.microsoft.com/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting
1712
1713
  * Timeouts for File Service Operations.</a>
1713
1714
  */
1714
1715
  timeoutInSeconds?: number;
@@ -2232,7 +2233,7 @@ export interface FileRenameOptions extends CommonOptions {
2232
2233
  metadata?: Metadata;
2233
2234
  /**
2234
2235
  * Optional.
2235
- * The timeout parameter is expressed in seconds. For more information, see <a href="https://learn.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>
2236
+ * The timeout parameter is expressed in seconds. For more information, see <a href="https://learn.microsoft.com/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>
2236
2237
  */
2237
2238
  timeoutInSeconds?: number;
2238
2239
  /**
@@ -2291,7 +2292,7 @@ export interface DirectoryRenameOptions extends CommonOptions {
2291
2292
  copyFileSmbInfo?: CopyFileSmbInfo;
2292
2293
  /**
2293
2294
  * Optional.
2294
- * The timeout parameter is expressed in seconds. For more information, see <a href="https://learn.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>
2295
+ * The timeout parameter is expressed in seconds. For more information, see <a href="https://learn.microsoft.com/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>
2295
2296
  */
2296
2297
  timeoutInSeconds?: number;
2297
2298
  /**
@@ -2391,7 +2392,7 @@ export declare class ShareFileClient extends StorageClient {
2391
2392
  withShareSnapshot(shareSnapshot: string): ShareFileClient;
2392
2393
  /**
2393
2394
  * Creates a new file or replaces a file. Note it only initializes the file with no content.
2394
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/create-file
2395
+ * @see https://learn.microsoft.com/rest/api/storageservices/create-file
2395
2396
  *
2396
2397
  * @param size - Specifies the maximum size in bytes for the file, up to 4 TB.
2397
2398
  * @param options - Options to File Create operation.
@@ -2433,7 +2434,7 @@ export declare class ShareFileClient extends StorageClient {
2433
2434
  * * In Node.js, data returns in a Readable stream `readableStreamBody`
2434
2435
  * * In browsers, data returns in a promise `contentAsBlob`
2435
2436
  *
2436
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-file
2437
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-file
2437
2438
  *
2438
2439
  * @param offset - From which position of the file to download, greater than or equal to 0
2439
2440
  * @param count - How much data to be downloaded, greater than 0. Will download to the end when undefined
@@ -2521,7 +2522,7 @@ export declare class ShareFileClient extends StorageClient {
2521
2522
  /**
2522
2523
  * Returns all user-defined metadata, standard HTTP properties, and system properties
2523
2524
  * for the file. It does not return the content of the file.
2524
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-file-properties
2525
+ * @see https://learn.microsoft.com/rest/api/storageservices/get-file-properties
2525
2526
  *
2526
2527
  * @param options - Options to File Get Properties operation.
2527
2528
  * @returns Response data for the File Get Properties operation.
@@ -2529,7 +2530,7 @@ export declare class ShareFileClient extends StorageClient {
2529
2530
  getProperties(options?: FileGetPropertiesOptions): Promise<FileGetPropertiesResponse>;
2530
2531
  /**
2531
2532
  * Sets properties on the file.
2532
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-file-properties
2533
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-file-properties
2533
2534
  *
2534
2535
  * @param properties - File properties. For file HTTP headers(e.g. Content-Type),
2535
2536
  * if no values are provided, existing HTTP headers will be removed.
@@ -2549,7 +2550,7 @@ export declare class ShareFileClient extends StorageClient {
2549
2550
  * Delete File is not supported on a share snapshot, which is a read-only copy of
2550
2551
  * a share. An attempt to perform this operation on a share snapshot will fail with 400 (InvalidQueryParameterValue)
2551
2552
  *
2552
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-file2
2553
+ * @see https://learn.microsoft.com/rest/api/storageservices/delete-file2
2553
2554
  *
2554
2555
  * @param options - Options to File Delete operation.
2555
2556
  * @returns Response data for the File Delete operation.
@@ -2567,7 +2568,7 @@ export declare class ShareFileClient extends StorageClient {
2567
2568
  * Delete File is not supported on a share snapshot, which is a read-only copy of
2568
2569
  * a share. An attempt to perform this operation on a share snapshot will fail with 400 (InvalidQueryParameterValue)
2569
2570
  *
2570
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-file2
2571
+ * @see https://learn.microsoft.com/rest/api/storageservices/delete-file2
2571
2572
  *
2572
2573
  * @param options -
2573
2574
  */
@@ -2577,7 +2578,7 @@ export declare class ShareFileClient extends StorageClient {
2577
2578
  *
2578
2579
  * If no option provided, or no value provided for the file HTTP headers in the options,
2579
2580
  * these file HTTP headers without a value will be cleared.
2580
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-file-properties
2581
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-file-properties
2581
2582
  *
2582
2583
  * @param FileHttpHeaders - File HTTP headers like Content-Type.
2583
2584
  * Provide undefined will remove existing HTTP headers.
@@ -2588,7 +2589,7 @@ export declare class ShareFileClient extends StorageClient {
2588
2589
  /**
2589
2590
  * Resize file.
2590
2591
  *
2591
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-file-properties
2592
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-file-properties
2592
2593
  *
2593
2594
  * @param length - Resizes a file to the specified size in bytes.
2594
2595
  * If the specified byte value is less than the current size of the file,
@@ -2602,7 +2603,7 @@ export declare class ShareFileClient extends StorageClient {
2602
2603
  *
2603
2604
  * If no metadata defined in the option parameter, the file
2604
2605
  * metadata will be removed.
2605
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-file-metadata
2606
+ * @see https://learn.microsoft.com/rest/api/storageservices/set-file-metadata
2606
2607
  *
2607
2608
  * @param metadata - If no metadata provided, all existing directory metadata will be removed
2608
2609
  * @param options - Options to File Set Metadata operation.
@@ -2701,7 +2702,7 @@ export declare class ShareFileClient extends StorageClient {
2701
2702
  /**
2702
2703
  * Aborts a pending Copy File operation, and leaves a destination file with zero length and full
2703
2704
  * metadata.
2704
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/abort-copy-file
2705
+ * @see https://learn.microsoft.com/rest/api/storageservices/abort-copy-file
2705
2706
  *
2706
2707
  * @param copyId - Id of the Copy File operation to abort.
2707
2708
  * @param options - Options to File Abort Copy From URL operation.
@@ -2809,7 +2810,7 @@ export declare class ShareFileClient extends StorageClient {
2809
2810
  * with max uploading concurrency
2810
2811
  * @param options -
2811
2812
  */
2812
- uploadStream(stream: NodeJS.ReadableStream, size: number, bufferSize: number, maxBuffers: number, options?: FileUploadStreamOptions): Promise<void>;
2813
+ uploadStream(stream: Readable, size: number, bufferSize: number, maxBuffers: number, options?: FileUploadStreamOptions): Promise<void>;
2813
2814
  /**
2814
2815
  * ONLY AVAILABLE IN NODE.JS RUNTIME.
2815
2816
  *
@@ -2829,7 +2830,7 @@ export declare class ShareFileClient extends StorageClient {
2829
2830
  downloadToFile(filePath: string, offset?: number, count?: number, options?: FileDownloadOptions): Promise<FileDownloadResponseModel>;
2830
2831
  /**
2831
2832
  * Lists handles for a file.
2832
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/list-handles
2833
+ * @see https://learn.microsoft.com/rest/api/storageservices/list-handles
2833
2834
  *
2834
2835
  * @param marker - Optional. A string value that identifies the portion of the list to be
2835
2836
  * returned with the next list handles operation. The operation returns a
@@ -2869,7 +2870,7 @@ export declare class ShareFileClient extends StorageClient {
2869
2870
  listHandles(options?: FileListHandlesOptions): PagedAsyncIterableIterator<HandleItem, FileListHandlesResponse>;
2870
2871
  /**
2871
2872
  * Force close all handles for a file.
2872
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/force-close-handles
2873
+ * @see https://learn.microsoft.com/rest/api/storageservices/force-close-handles
2873
2874
  *
2874
2875
  * @param marker - Optional. A string value that identifies the position of handles that will
2875
2876
  * be closed with the next force close handles operation.
@@ -2881,14 +2882,14 @@ export declare class ShareFileClient extends StorageClient {
2881
2882
  private forceCloseHandlesSegment;
2882
2883
  /**
2883
2884
  * Force close all handles for a file.
2884
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/force-close-handles
2885
+ * @see https://learn.microsoft.com/rest/api/storageservices/force-close-handles
2885
2886
  *
2886
2887
  * @param options - Options to force close handles operation.
2887
2888
  */
2888
2889
  forceCloseAllHandles(options?: FileForceCloseHandlesOptions): Promise<CloseHandlesInfo>;
2889
2890
  /**
2890
2891
  * Force close a specific handle for a file.
2891
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/force-close-handles
2892
+ * @see https://learn.microsoft.com/rest/api/storageservices/force-close-handles
2892
2893
  *
2893
2894
  * @param handleId - Specific handle ID, cannot be asterisk "*".
2894
2895
  * Use forceCloseAllHandles() to close all handles.
@@ -2928,7 +2929,7 @@ export declare class ShareFileClient extends StorageClient {
2928
2929
  * Generates a Service Shared Access Signature (SAS) URI based on the client properties
2929
2930
  * and parameters passed in. The SAS is signed by the shared key credential of the client.
2930
2931
  *
2931
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
2932
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
2932
2933
  *
2933
2934
  * @param options - Optional parameters.
2934
2935
  * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
@@ -2940,7 +2941,7 @@ export declare class ShareFileClient extends StorageClient {
2940
2941
  * Generates string to sign for a Service Shared Access Signature (SAS) URI based on the client properties
2941
2942
  * and parameters passed in. The SAS is signed by the shared key credential of the client.
2942
2943
  *
2943
- * @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
2944
+ * @see https://learn.microsoft.com/rest/api/storageservices/constructing-a-service-sas
2944
2945
  *
2945
2946
  * @param options - Optional parameters.
2946
2947
  * @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.