@azure/storage-file-share 12.32.0 → 12.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (871) hide show
  1. package/README.md +69 -0
  2. package/dist/browser/Clients.d.ts +123 -1
  3. package/dist/browser/Clients.d.ts.map +1 -1
  4. package/dist/browser/Clients.js +461 -236
  5. package/dist/browser/Clients.js.map +1 -1
  6. package/dist/browser/Pipeline.d.ts.map +1 -1
  7. package/dist/browser/Pipeline.js +5 -23
  8. package/dist/browser/Pipeline.js.map +1 -1
  9. package/dist/browser/ShareClientInternal.d.ts +1 -1
  10. package/dist/browser/ShareClientInternal.d.ts.map +1 -1
  11. package/dist/browser/ShareClientInternal.js +2 -1
  12. package/dist/browser/ShareClientInternal.js.map +1 -1
  13. package/dist/browser/ShareServiceClient.d.ts.map +1 -1
  14. package/dist/browser/ShareServiceClient.js +9 -9
  15. package/dist/browser/ShareServiceClient.js.map +1 -1
  16. package/dist/browser/StorageClient.d.ts +12 -2
  17. package/dist/browser/StorageClient.d.ts.map +1 -1
  18. package/dist/browser/StorageClient.js +46 -9
  19. package/dist/browser/StorageClient.js.map +1 -1
  20. package/dist/browser/generated/api/directory/index.d.ts +3 -0
  21. package/dist/browser/generated/api/directory/index.d.ts.map +1 -0
  22. package/dist/browser/generated/api/directory/index.js +4 -0
  23. package/dist/browser/generated/api/directory/index.js.map +1 -0
  24. package/dist/browser/generated/api/directory/operations.d.ts +413 -0
  25. package/dist/browser/generated/api/directory/operations.d.ts.map +1 -0
  26. package/dist/browser/generated/api/directory/operations.js +1020 -0
  27. package/dist/browser/generated/api/directory/operations.js.map +1 -0
  28. package/dist/browser/generated/api/directory/options.d.ts +202 -0
  29. package/dist/browser/generated/api/directory/options.d.ts.map +1 -0
  30. package/dist/browser/generated/api/directory/options.js +4 -0
  31. package/dist/browser/generated/api/directory/options.js.map +1 -0
  32. package/dist/browser/generated/api/file/index.d.ts +3 -0
  33. package/dist/browser/generated/api/file/index.d.ts.map +1 -0
  34. package/dist/browser/generated/api/file/index.js +4 -0
  35. package/dist/browser/generated/api/file/index.js.map +1 -0
  36. package/dist/browser/generated/api/file/operations.d.ts +1095 -0
  37. package/dist/browser/generated/api/file/operations.d.ts.map +1 -0
  38. package/dist/browser/generated/api/file/operations.js +2638 -0
  39. package/dist/browser/generated/api/file/operations.js.map +1 -0
  40. package/dist/browser/generated/api/file/options.d.ts +499 -0
  41. package/dist/browser/generated/api/file/options.d.ts.map +1 -0
  42. package/dist/browser/generated/api/file/options.js +4 -0
  43. package/dist/browser/generated/api/file/options.js.map +1 -0
  44. package/dist/browser/generated/api/fileContext.d.ts +15 -0
  45. package/dist/browser/generated/api/fileContext.d.ts.map +1 -0
  46. package/dist/browser/generated/api/fileContext.js +23 -0
  47. package/dist/browser/generated/api/fileContext.js.map +1 -0
  48. package/dist/browser/generated/api/index.d.ts +3 -0
  49. package/dist/browser/generated/api/index.d.ts.map +1 -0
  50. package/dist/browser/generated/api/index.js +4 -0
  51. package/dist/browser/generated/api/index.js.map +1 -0
  52. package/dist/browser/generated/api/service/index.d.ts +3 -0
  53. package/dist/browser/generated/api/service/index.d.ts.map +1 -0
  54. package/dist/browser/generated/api/service/index.js +4 -0
  55. package/dist/browser/generated/api/service/index.js.map +1 -0
  56. package/dist/browser/generated/api/service/operations.d.ts +115 -0
  57. package/dist/browser/generated/api/service/operations.d.ts.map +1 -0
  58. package/dist/browser/generated/api/service/operations.js +338 -0
  59. package/dist/browser/generated/api/service/operations.js.map +1 -0
  60. package/dist/browser/generated/api/service/options.d.ts +45 -0
  61. package/dist/browser/generated/api/service/options.d.ts.map +1 -0
  62. package/dist/browser/generated/api/service/options.js +4 -0
  63. package/dist/browser/generated/api/service/options.js.map +1 -0
  64. package/dist/browser/generated/api/share/index.d.ts +3 -0
  65. package/dist/browser/generated/api/share/index.d.ts.map +1 -0
  66. package/dist/browser/generated/api/share/index.js +4 -0
  67. package/dist/browser/generated/api/share/index.js.map +1 -0
  68. package/dist/browser/generated/api/share/operations.d.ts +679 -0
  69. package/dist/browser/generated/api/share/operations.d.ts.map +1 -0
  70. package/dist/browser/generated/api/share/operations.js +1676 -0
  71. package/dist/browser/generated/api/share/operations.js.map +1 -0
  72. package/dist/browser/generated/api/share/options.d.ts +254 -0
  73. package/dist/browser/generated/api/share/options.d.ts.map +1 -0
  74. package/dist/browser/generated/api/share/options.js +4 -0
  75. package/dist/browser/generated/api/share/options.js.map +1 -0
  76. package/dist/browser/generated/classic/directory/index.d.ts +240 -0
  77. package/dist/browser/generated/classic/directory/index.d.ts.map +1 -0
  78. package/dist/browser/generated/classic/directory/index.js +22 -0
  79. package/dist/browser/generated/classic/directory/index.js.map +1 -0
  80. package/dist/browser/generated/classic/file/index.d.ts +634 -0
  81. package/dist/browser/generated/classic/file/index.d.ts.map +1 -0
  82. package/dist/browser/generated/classic/file/index.js +35 -0
  83. package/dist/browser/generated/classic/file/index.js.map +1 -0
  84. package/dist/browser/generated/classic/index.d.ts +5 -0
  85. package/dist/browser/generated/classic/index.d.ts.map +1 -0
  86. package/dist/browser/generated/classic/index.js +4 -0
  87. package/dist/browser/generated/classic/index.js.map +1 -0
  88. package/dist/browser/generated/classic/service/index.d.ts +63 -0
  89. package/dist/browser/generated/classic/service/index.d.ts.map +1 -0
  90. package/dist/browser/generated/classic/service/index.js +17 -0
  91. package/dist/browser/generated/classic/service/index.js.map +1 -0
  92. package/dist/browser/generated/classic/share/index.d.ts +380 -0
  93. package/dist/browser/generated/classic/share/index.d.ts.map +1 -0
  94. package/dist/browser/generated/classic/share/index.js +30 -0
  95. package/dist/browser/generated/classic/share/index.js.map +1 -0
  96. package/dist/browser/generated/fileClient.d.ts +24 -0
  97. package/dist/browser/generated/fileClient.d.ts.map +1 -0
  98. package/dist/browser/generated/fileClient.js +37 -0
  99. package/dist/browser/generated/fileClient.js.map +1 -0
  100. package/dist/browser/generated/index.d.ts +11 -0
  101. package/dist/browser/generated/index.d.ts.map +1 -0
  102. package/dist/browser/generated/index.js +6 -0
  103. package/dist/browser/generated/index.js.map +1 -0
  104. package/dist/browser/generated/logger.d.ts +2 -0
  105. package/dist/browser/generated/logger.d.ts.map +1 -0
  106. package/dist/browser/generated/logger.js +5 -0
  107. package/dist/browser/generated/logger.js.map +1 -0
  108. package/dist/browser/generated/models/index.d.ts +3 -0
  109. package/dist/browser/generated/models/index.d.ts.map +1 -0
  110. package/dist/browser/generated/models/index.js +4 -0
  111. package/dist/browser/generated/models/index.js.map +1 -0
  112. package/dist/browser/generated/models/models.d.ts +942 -0
  113. package/dist/browser/generated/models/models.d.ts.map +1 -0
  114. package/dist/browser/generated/models/models.js +2515 -0
  115. package/dist/browser/generated/models/models.js.map +1 -0
  116. package/dist/browser/generated/static-helpers/platform-types-browser.d.mts +6 -0
  117. package/dist/browser/generated/static-helpers/platform-types-browser.d.mts.map +1 -0
  118. package/dist/browser/generated/static-helpers/platform-types-browser.mjs +2 -0
  119. package/dist/browser/generated/static-helpers/platform-types-browser.mjs.map +1 -0
  120. package/dist/browser/generated/static-helpers/platform-types.d.ts +6 -0
  121. package/dist/browser/generated/static-helpers/platform-types.d.ts.map +1 -0
  122. package/dist/browser/generated/static-helpers/platform-types.js +2 -0
  123. package/dist/browser/generated/static-helpers/platform-types.js.map +1 -0
  124. package/dist/browser/generated/static-helpers/serialization/get-binary-stream-response.d.ts +13 -0
  125. package/dist/browser/generated/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -0
  126. package/dist/browser/generated/static-helpers/serialization/get-binary-stream-response.js +15 -0
  127. package/dist/browser/generated/static-helpers/serialization/get-binary-stream-response.js.map +1 -0
  128. package/dist/browser/generated/static-helpers/serialization/xml-helpers.d.ts +146 -0
  129. package/dist/browser/generated/static-helpers/serialization/xml-helpers.d.ts.map +1 -0
  130. package/dist/browser/generated/static-helpers/serialization/xml-helpers.js +446 -0
  131. package/dist/browser/generated/static-helpers/serialization/xml-helpers.js.map +1 -0
  132. package/dist/browser/generated/static-helpers/storageCompatResponse.d.ts +44 -0
  133. package/dist/browser/generated/static-helpers/storageCompatResponse.d.ts.map +1 -0
  134. package/dist/browser/generated/static-helpers/storageCompatResponse.js +36 -0
  135. package/dist/browser/generated/static-helpers/storageCompatResponse.js.map +1 -0
  136. package/dist/browser/generated/static-helpers/urlTemplate.d.ts +5 -0
  137. package/dist/browser/generated/static-helpers/urlTemplate.d.ts.map +1 -0
  138. package/dist/browser/generated/static-helpers/urlTemplate.js +200 -0
  139. package/dist/browser/generated/static-helpers/urlTemplate.js.map +1 -0
  140. package/dist/browser/{generated/src/models/index.d.ts → generated-classic-models.d.ts} +58 -58
  141. package/dist/browser/generated-classic-models.d.ts.map +1 -0
  142. package/dist/browser/{generated/src/models/index.js → generated-classic-models.js} +1 -1
  143. package/dist/browser/generated-classic-models.js.map +1 -0
  144. package/dist/browser/generatedModels.d.ts +21 -2
  145. package/dist/browser/generatedModels.d.ts.map +1 -1
  146. package/dist/browser/generatedModels.js.map +1 -1
  147. package/dist/browser/models.d.ts +3 -0
  148. package/dist/browser/models.d.ts.map +1 -1
  149. package/dist/browser/models.js +20 -0
  150. package/dist/browser/models.js.map +1 -1
  151. package/dist/browser/utils/constants.js +2 -2
  152. package/dist/browser/utils/constants.js.map +1 -1
  153. package/dist/browser/utils/utils.common.d.ts +22 -2
  154. package/dist/browser/utils/utils.common.d.ts.map +1 -1
  155. package/dist/browser/utils/utils.common.js +48 -0
  156. package/dist/browser/utils/utils.common.js.map +1 -1
  157. package/dist/commonjs/Clients.d.ts +123 -1
  158. package/dist/commonjs/Clients.d.ts.map +1 -1
  159. package/dist/commonjs/Clients.js +710 -376
  160. package/dist/commonjs/Clients.js.map +2 -2
  161. package/dist/commonjs/Pipeline.d.ts.map +1 -1
  162. package/dist/commonjs/Pipeline.js +4 -22
  163. package/dist/commonjs/Pipeline.js.map +2 -2
  164. package/dist/commonjs/ShareClientInternal.d.ts +1 -1
  165. package/dist/commonjs/ShareClientInternal.d.ts.map +1 -1
  166. package/dist/commonjs/ShareClientInternal.js +2 -1
  167. package/dist/commonjs/ShareClientInternal.js.map +2 -2
  168. package/dist/commonjs/ShareServiceClient.d.ts.map +1 -1
  169. package/dist/commonjs/ShareServiceClient.js +31 -23
  170. package/dist/commonjs/ShareServiceClient.js.map +2 -2
  171. package/dist/commonjs/StorageClient.d.ts +12 -2
  172. package/dist/commonjs/StorageClient.d.ts.map +1 -1
  173. package/dist/commonjs/StorageClient.js +47 -10
  174. package/dist/commonjs/StorageClient.js.map +3 -3
  175. package/dist/commonjs/generated/api/directory/index.d.ts +3 -0
  176. package/dist/commonjs/generated/api/directory/index.d.ts.map +1 -0
  177. package/dist/commonjs/generated/api/directory/index.js +44 -0
  178. package/dist/commonjs/generated/api/directory/index.js.map +7 -0
  179. package/dist/commonjs/generated/api/directory/operations.d.ts +413 -0
  180. package/dist/commonjs/generated/api/directory/operations.d.ts.map +1 -0
  181. package/dist/commonjs/generated/api/directory/operations.js +810 -0
  182. package/dist/commonjs/generated/api/directory/operations.js.map +7 -0
  183. package/dist/commonjs/generated/api/directory/options.d.ts +202 -0
  184. package/dist/commonjs/generated/api/directory/options.d.ts.map +1 -0
  185. package/dist/commonjs/generated/{src/operationsInterfaces/service.js → api/directory/options.js} +3 -3
  186. package/dist/commonjs/generated/api/directory/options.js.map +7 -0
  187. package/dist/commonjs/generated/api/file/index.d.ts +3 -0
  188. package/dist/commonjs/generated/api/file/index.d.ts.map +1 -0
  189. package/dist/commonjs/generated/api/file/index.js +70 -0
  190. package/dist/commonjs/generated/api/file/index.js.map +7 -0
  191. package/dist/commonjs/generated/api/file/operations.d.ts +1095 -0
  192. package/dist/commonjs/generated/api/file/operations.d.ts.map +1 -0
  193. package/dist/commonjs/generated/api/file/operations.js +2028 -0
  194. package/dist/commonjs/generated/api/file/operations.js.map +7 -0
  195. package/dist/commonjs/generated/api/file/options.d.ts +499 -0
  196. package/dist/commonjs/generated/api/file/options.d.ts.map +1 -0
  197. package/dist/commonjs/generated/{src/operationsInterfaces/file.js → api/file/options.js} +3 -3
  198. package/dist/commonjs/generated/api/file/options.js.map +7 -0
  199. package/dist/commonjs/generated/api/fileContext.d.ts +15 -0
  200. package/dist/commonjs/generated/api/fileContext.d.ts.map +1 -0
  201. package/dist/commonjs/generated/api/fileContext.js +44 -0
  202. package/dist/commonjs/generated/api/fileContext.js.map +7 -0
  203. package/dist/commonjs/generated/api/index.d.ts +3 -0
  204. package/dist/commonjs/generated/api/index.d.ts.map +1 -0
  205. package/dist/commonjs/generated/{src → api}/index.js +6 -11
  206. package/dist/commonjs/generated/api/index.js.map +7 -0
  207. package/dist/commonjs/generated/api/service/index.d.ts +3 -0
  208. package/dist/commonjs/generated/api/service/index.d.ts.map +1 -0
  209. package/dist/commonjs/generated/{src/operations → api/service}/index.js +17 -11
  210. package/dist/commonjs/generated/api/service/index.js.map +7 -0
  211. package/dist/commonjs/generated/api/service/operations.d.ts +115 -0
  212. package/dist/commonjs/generated/api/service/operations.d.ts.map +1 -0
  213. package/dist/commonjs/generated/api/service/operations.js +344 -0
  214. package/dist/commonjs/generated/api/service/operations.js.map +7 -0
  215. package/dist/commonjs/generated/api/service/options.d.ts +45 -0
  216. package/dist/commonjs/generated/api/service/options.d.ts.map +1 -0
  217. package/dist/commonjs/generated/{src/operationsInterfaces/directory.js → api/service/options.js} +3 -3
  218. package/dist/commonjs/generated/api/service/options.js.map +7 -0
  219. package/dist/commonjs/generated/api/share/index.d.ts +3 -0
  220. package/dist/commonjs/generated/api/share/index.d.ts.map +1 -0
  221. package/dist/commonjs/generated/api/share/index.js +60 -0
  222. package/dist/commonjs/generated/api/share/index.js.map +7 -0
  223. package/dist/commonjs/generated/api/share/operations.d.ts +679 -0
  224. package/dist/commonjs/generated/api/share/operations.d.ts.map +1 -0
  225. package/dist/commonjs/generated/api/share/operations.js +1435 -0
  226. package/dist/commonjs/generated/api/share/operations.js.map +7 -0
  227. package/dist/commonjs/generated/api/share/options.d.ts +254 -0
  228. package/dist/commonjs/generated/api/share/options.d.ts.map +1 -0
  229. package/dist/commonjs/generated/api/share/options.js +16 -0
  230. package/dist/commonjs/generated/api/share/options.js.map +7 -0
  231. package/dist/commonjs/generated/classic/directory/index.d.ts +240 -0
  232. package/dist/commonjs/generated/classic/directory/index.d.ts.map +1 -0
  233. package/dist/commonjs/generated/classic/directory/index.js +46 -0
  234. package/dist/commonjs/generated/classic/directory/index.js.map +7 -0
  235. package/dist/commonjs/generated/classic/file/index.d.ts +634 -0
  236. package/dist/commonjs/generated/classic/file/index.d.ts.map +1 -0
  237. package/dist/commonjs/generated/classic/file/index.js +59 -0
  238. package/dist/commonjs/generated/classic/file/index.js.map +7 -0
  239. package/dist/commonjs/generated/classic/index.d.ts +5 -0
  240. package/dist/commonjs/generated/classic/index.d.ts.map +1 -0
  241. package/dist/commonjs/generated/{src/operationsInterfaces/share.js → classic/index.js} +3 -3
  242. package/dist/commonjs/generated/classic/index.js.map +7 -0
  243. package/dist/commonjs/generated/classic/service/index.d.ts +63 -0
  244. package/dist/commonjs/generated/classic/service/index.d.ts.map +1 -0
  245. package/dist/commonjs/generated/classic/service/index.js +41 -0
  246. package/dist/commonjs/generated/classic/service/index.js.map +7 -0
  247. package/dist/commonjs/generated/classic/share/index.d.ts +380 -0
  248. package/dist/commonjs/generated/classic/share/index.d.ts.map +1 -0
  249. package/dist/commonjs/generated/classic/share/index.js +54 -0
  250. package/dist/commonjs/generated/classic/share/index.js.map +7 -0
  251. package/dist/commonjs/generated/fileClient.d.ts +24 -0
  252. package/dist/commonjs/generated/fileClient.d.ts.map +1 -0
  253. package/dist/commonjs/generated/fileClient.js +59 -0
  254. package/dist/commonjs/generated/fileClient.js.map +7 -0
  255. package/dist/commonjs/generated/index.d.ts +11 -0
  256. package/dist/commonjs/generated/index.d.ts.map +1 -0
  257. package/dist/commonjs/generated/index.js +46 -0
  258. package/dist/commonjs/generated/index.js.map +7 -0
  259. package/dist/commonjs/generated/logger.d.ts +2 -0
  260. package/dist/commonjs/generated/logger.d.ts.map +1 -0
  261. package/dist/commonjs/generated/logger.js +29 -0
  262. package/dist/commonjs/generated/logger.js.map +7 -0
  263. package/dist/commonjs/generated/models/index.d.ts +3 -0
  264. package/dist/commonjs/generated/models/index.d.ts.map +1 -0
  265. package/dist/commonjs/generated/models/index.js +38 -0
  266. package/dist/commonjs/generated/models/index.js.map +7 -0
  267. package/dist/commonjs/generated/models/models.d.ts +942 -0
  268. package/dist/commonjs/generated/models/models.d.ts.map +1 -0
  269. package/dist/commonjs/generated/models/models.js +2678 -0
  270. package/dist/commonjs/generated/models/models.js.map +7 -0
  271. package/dist/commonjs/generated/static-helpers/platform-types.d.ts +8 -0
  272. package/dist/commonjs/generated/static-helpers/platform-types.d.ts.map +1 -0
  273. package/dist/commonjs/generated/static-helpers/platform-types.js +16 -0
  274. package/dist/commonjs/generated/static-helpers/platform-types.js.map +7 -0
  275. package/dist/commonjs/generated/static-helpers/serialization/get-binary-stream-response.d.ts +13 -0
  276. package/dist/commonjs/generated/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -0
  277. package/dist/commonjs/{StorageContextClient.js → generated/static-helpers/serialization/get-binary-stream-response.js} +13 -15
  278. package/dist/commonjs/generated/static-helpers/serialization/get-binary-stream-response.js.map +7 -0
  279. package/dist/commonjs/generated/static-helpers/serialization/xml-helpers.d.ts +146 -0
  280. package/dist/commonjs/generated/static-helpers/serialization/xml-helpers.d.ts.map +1 -0
  281. package/dist/commonjs/generated/static-helpers/serialization/xml-helpers.js +421 -0
  282. package/dist/commonjs/generated/static-helpers/serialization/xml-helpers.js.map +7 -0
  283. package/dist/commonjs/generated/static-helpers/storageCompatResponse.d.ts +44 -0
  284. package/dist/commonjs/generated/static-helpers/storageCompatResponse.d.ts.map +1 -0
  285. package/dist/commonjs/generated/static-helpers/storageCompatResponse.js +49 -0
  286. package/dist/commonjs/generated/static-helpers/storageCompatResponse.js.map +7 -0
  287. package/dist/commonjs/generated/static-helpers/urlTemplate.d.ts +5 -0
  288. package/dist/commonjs/generated/static-helpers/urlTemplate.d.ts.map +1 -0
  289. package/dist/commonjs/generated/static-helpers/urlTemplate.js +197 -0
  290. package/dist/commonjs/generated/static-helpers/urlTemplate.js.map +7 -0
  291. package/dist/{esm/generated/src/models/index.d.ts → commonjs/generated-classic-models.d.ts} +58 -58
  292. package/dist/commonjs/generated-classic-models.d.ts.map +1 -0
  293. package/dist/commonjs/{generated/src/models/index.js → generated-classic-models.js} +4 -4
  294. package/dist/commonjs/generated-classic-models.js.map +7 -0
  295. package/dist/commonjs/generatedModels.d.ts +21 -2
  296. package/dist/commonjs/generatedModels.d.ts.map +1 -1
  297. package/dist/commonjs/generatedModels.js.map +2 -2
  298. package/dist/commonjs/index.d.ts +2 -2
  299. package/dist/commonjs/index.d.ts.map +1 -1
  300. package/dist/commonjs/index.js +2 -0
  301. package/dist/commonjs/index.js.map +2 -2
  302. package/dist/commonjs/models.d.ts +3 -0
  303. package/dist/commonjs/models.d.ts.map +1 -1
  304. package/dist/commonjs/models.js +24 -0
  305. package/dist/commonjs/models.js.map +2 -2
  306. package/dist/commonjs/utils/constants.js +2 -2
  307. package/dist/commonjs/utils/constants.js.map +1 -1
  308. package/dist/commonjs/utils/utils.common.d.ts +22 -2
  309. package/dist/commonjs/utils/utils.common.d.ts.map +1 -1
  310. package/dist/commonjs/utils/utils.common.js +40 -0
  311. package/dist/commonjs/utils/utils.common.js.map +2 -2
  312. package/dist/esm/Clients.d.ts +123 -1
  313. package/dist/esm/Clients.d.ts.map +1 -1
  314. package/dist/esm/Clients.js +461 -236
  315. package/dist/esm/Clients.js.map +1 -1
  316. package/dist/esm/Pipeline.d.ts.map +1 -1
  317. package/dist/esm/Pipeline.js +5 -23
  318. package/dist/esm/Pipeline.js.map +1 -1
  319. package/dist/esm/ShareClientInternal.d.ts +1 -1
  320. package/dist/esm/ShareClientInternal.d.ts.map +1 -1
  321. package/dist/esm/ShareClientInternal.js +2 -1
  322. package/dist/esm/ShareClientInternal.js.map +1 -1
  323. package/dist/esm/ShareServiceClient.d.ts.map +1 -1
  324. package/dist/esm/ShareServiceClient.js +9 -9
  325. package/dist/esm/ShareServiceClient.js.map +1 -1
  326. package/dist/esm/StorageClient.d.ts +12 -2
  327. package/dist/esm/StorageClient.d.ts.map +1 -1
  328. package/dist/esm/StorageClient.js +46 -9
  329. package/dist/esm/StorageClient.js.map +1 -1
  330. package/dist/esm/generated/api/directory/index.d.ts +3 -0
  331. package/dist/esm/generated/api/directory/index.d.ts.map +1 -0
  332. package/dist/esm/generated/api/directory/index.js +4 -0
  333. package/dist/esm/generated/api/directory/index.js.map +1 -0
  334. package/dist/esm/generated/api/directory/operations.d.ts +413 -0
  335. package/dist/esm/generated/api/directory/operations.d.ts.map +1 -0
  336. package/dist/esm/generated/api/directory/operations.js +1020 -0
  337. package/dist/esm/generated/api/directory/operations.js.map +1 -0
  338. package/dist/esm/generated/api/directory/options.d.ts +202 -0
  339. package/dist/esm/generated/api/directory/options.d.ts.map +1 -0
  340. package/dist/esm/generated/api/directory/options.js +4 -0
  341. package/dist/esm/generated/api/directory/options.js.map +1 -0
  342. package/dist/esm/generated/api/file/index.d.ts +3 -0
  343. package/dist/esm/generated/api/file/index.d.ts.map +1 -0
  344. package/dist/esm/generated/api/file/index.js +4 -0
  345. package/dist/esm/generated/api/file/index.js.map +1 -0
  346. package/dist/esm/generated/api/file/operations.d.ts +1095 -0
  347. package/dist/esm/generated/api/file/operations.d.ts.map +1 -0
  348. package/dist/esm/generated/api/file/operations.js +2638 -0
  349. package/dist/esm/generated/api/file/operations.js.map +1 -0
  350. package/dist/esm/generated/api/file/options.d.ts +499 -0
  351. package/dist/esm/generated/api/file/options.d.ts.map +1 -0
  352. package/dist/esm/generated/api/file/options.js +4 -0
  353. package/dist/esm/generated/api/file/options.js.map +1 -0
  354. package/dist/esm/generated/api/fileContext.d.ts +15 -0
  355. package/dist/esm/generated/api/fileContext.d.ts.map +1 -0
  356. package/dist/esm/generated/api/fileContext.js +23 -0
  357. package/dist/esm/generated/api/fileContext.js.map +1 -0
  358. package/dist/esm/generated/api/index.d.ts +3 -0
  359. package/dist/esm/generated/api/index.d.ts.map +1 -0
  360. package/dist/esm/generated/api/index.js +4 -0
  361. package/dist/esm/generated/api/index.js.map +1 -0
  362. package/dist/esm/generated/api/service/index.d.ts +3 -0
  363. package/dist/esm/generated/api/service/index.d.ts.map +1 -0
  364. package/dist/esm/generated/api/service/index.js +4 -0
  365. package/dist/esm/generated/api/service/index.js.map +1 -0
  366. package/dist/esm/generated/api/service/operations.d.ts +115 -0
  367. package/dist/esm/generated/api/service/operations.d.ts.map +1 -0
  368. package/dist/esm/generated/api/service/operations.js +338 -0
  369. package/dist/esm/generated/api/service/operations.js.map +1 -0
  370. package/dist/esm/generated/api/service/options.d.ts +45 -0
  371. package/dist/esm/generated/api/service/options.d.ts.map +1 -0
  372. package/dist/esm/generated/api/service/options.js +4 -0
  373. package/dist/esm/generated/api/service/options.js.map +1 -0
  374. package/dist/esm/generated/api/share/index.d.ts +3 -0
  375. package/dist/esm/generated/api/share/index.d.ts.map +1 -0
  376. package/dist/esm/generated/api/share/index.js +4 -0
  377. package/dist/esm/generated/api/share/index.js.map +1 -0
  378. package/dist/esm/generated/api/share/operations.d.ts +679 -0
  379. package/dist/esm/generated/api/share/operations.d.ts.map +1 -0
  380. package/dist/esm/generated/api/share/operations.js +1676 -0
  381. package/dist/esm/generated/api/share/operations.js.map +1 -0
  382. package/dist/esm/generated/api/share/options.d.ts +254 -0
  383. package/dist/esm/generated/api/share/options.d.ts.map +1 -0
  384. package/dist/esm/generated/api/share/options.js +4 -0
  385. package/dist/esm/generated/api/share/options.js.map +1 -0
  386. package/dist/esm/generated/classic/directory/index.d.ts +240 -0
  387. package/dist/esm/generated/classic/directory/index.d.ts.map +1 -0
  388. package/dist/esm/generated/classic/directory/index.js +22 -0
  389. package/dist/esm/generated/classic/directory/index.js.map +1 -0
  390. package/dist/esm/generated/classic/file/index.d.ts +634 -0
  391. package/dist/esm/generated/classic/file/index.d.ts.map +1 -0
  392. package/dist/esm/generated/classic/file/index.js +35 -0
  393. package/dist/esm/generated/classic/file/index.js.map +1 -0
  394. package/dist/esm/generated/classic/index.d.ts +5 -0
  395. package/dist/esm/generated/classic/index.d.ts.map +1 -0
  396. package/dist/esm/generated/classic/index.js +4 -0
  397. package/dist/esm/generated/classic/index.js.map +1 -0
  398. package/dist/esm/generated/classic/service/index.d.ts +63 -0
  399. package/dist/esm/generated/classic/service/index.d.ts.map +1 -0
  400. package/dist/esm/generated/classic/service/index.js +17 -0
  401. package/dist/esm/generated/classic/service/index.js.map +1 -0
  402. package/dist/esm/generated/classic/share/index.d.ts +380 -0
  403. package/dist/esm/generated/classic/share/index.d.ts.map +1 -0
  404. package/dist/esm/generated/classic/share/index.js +30 -0
  405. package/dist/esm/generated/classic/share/index.js.map +1 -0
  406. package/dist/esm/generated/fileClient.d.ts +24 -0
  407. package/dist/esm/generated/fileClient.d.ts.map +1 -0
  408. package/dist/esm/generated/fileClient.js +37 -0
  409. package/dist/esm/generated/fileClient.js.map +1 -0
  410. package/dist/esm/generated/index.d.ts +11 -0
  411. package/dist/esm/generated/index.d.ts.map +1 -0
  412. package/dist/esm/generated/index.js +6 -0
  413. package/dist/esm/generated/index.js.map +1 -0
  414. package/dist/esm/generated/logger.d.ts +2 -0
  415. package/dist/esm/generated/logger.d.ts.map +1 -0
  416. package/dist/esm/generated/logger.js +5 -0
  417. package/dist/esm/generated/logger.js.map +1 -0
  418. package/dist/esm/generated/models/index.d.ts +3 -0
  419. package/dist/esm/generated/models/index.d.ts.map +1 -0
  420. package/dist/esm/generated/models/index.js +4 -0
  421. package/dist/esm/generated/models/index.js.map +1 -0
  422. package/dist/esm/generated/models/models.d.ts +942 -0
  423. package/dist/esm/generated/models/models.d.ts.map +1 -0
  424. package/dist/esm/generated/models/models.js +2515 -0
  425. package/dist/esm/generated/models/models.js.map +1 -0
  426. package/dist/esm/generated/static-helpers/platform-types.d.ts +8 -0
  427. package/dist/esm/generated/static-helpers/platform-types.d.ts.map +1 -0
  428. package/dist/esm/generated/static-helpers/platform-types.js +4 -0
  429. package/dist/esm/generated/static-helpers/platform-types.js.map +1 -0
  430. package/dist/esm/generated/static-helpers/serialization/get-binary-stream-response.d.ts +13 -0
  431. package/dist/esm/generated/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -0
  432. package/dist/esm/generated/static-helpers/serialization/get-binary-stream-response.js +17 -0
  433. package/dist/esm/generated/static-helpers/serialization/get-binary-stream-response.js.map +1 -0
  434. package/dist/esm/generated/static-helpers/serialization/xml-helpers.d.ts +146 -0
  435. package/dist/esm/generated/static-helpers/serialization/xml-helpers.d.ts.map +1 -0
  436. package/dist/esm/generated/static-helpers/serialization/xml-helpers.js +446 -0
  437. package/dist/esm/generated/static-helpers/serialization/xml-helpers.js.map +1 -0
  438. package/dist/esm/generated/static-helpers/storageCompatResponse.d.ts +44 -0
  439. package/dist/esm/generated/static-helpers/storageCompatResponse.d.ts.map +1 -0
  440. package/dist/esm/generated/static-helpers/storageCompatResponse.js +36 -0
  441. package/dist/esm/generated/static-helpers/storageCompatResponse.js.map +1 -0
  442. package/dist/esm/generated/static-helpers/urlTemplate.d.ts +5 -0
  443. package/dist/esm/generated/static-helpers/urlTemplate.d.ts.map +1 -0
  444. package/dist/esm/generated/static-helpers/urlTemplate.js +200 -0
  445. package/dist/esm/generated/static-helpers/urlTemplate.js.map +1 -0
  446. package/dist/{commonjs/generated/src/models/index.d.ts → esm/generated-classic-models.d.ts} +58 -58
  447. package/dist/esm/generated-classic-models.d.ts.map +1 -0
  448. package/dist/esm/{generated/src/models/index.js → generated-classic-models.js} +1 -1
  449. package/dist/esm/generated-classic-models.js.map +1 -0
  450. package/dist/esm/generatedModels.d.ts +21 -2
  451. package/dist/esm/generatedModels.d.ts.map +1 -1
  452. package/dist/esm/generatedModels.js.map +1 -1
  453. package/dist/esm/index.d.ts +2 -2
  454. package/dist/esm/index.d.ts.map +1 -1
  455. package/dist/esm/index.js +2 -2
  456. package/dist/esm/index.js.map +1 -1
  457. package/dist/esm/models.d.ts +3 -0
  458. package/dist/esm/models.d.ts.map +1 -1
  459. package/dist/esm/models.js +20 -0
  460. package/dist/esm/models.js.map +1 -1
  461. package/dist/esm/utils/constants.js +2 -2
  462. package/dist/esm/utils/constants.js.map +1 -1
  463. package/dist/esm/utils/utils.common.d.ts +22 -2
  464. package/dist/esm/utils/utils.common.d.ts.map +1 -1
  465. package/dist/esm/utils/utils.common.js +48 -0
  466. package/dist/esm/utils/utils.common.js.map +1 -1
  467. package/dist/react-native/Clients.d.ts +123 -1
  468. package/dist/react-native/Clients.d.ts.map +1 -1
  469. package/dist/react-native/Clients.js +461 -236
  470. package/dist/react-native/Clients.js.map +1 -1
  471. package/dist/react-native/Pipeline.d.ts.map +1 -1
  472. package/dist/react-native/Pipeline.js +5 -23
  473. package/dist/react-native/Pipeline.js.map +1 -1
  474. package/dist/react-native/ShareClientInternal.d.ts +1 -1
  475. package/dist/react-native/ShareClientInternal.d.ts.map +1 -1
  476. package/dist/react-native/ShareClientInternal.js +2 -1
  477. package/dist/react-native/ShareClientInternal.js.map +1 -1
  478. package/dist/react-native/ShareServiceClient.d.ts.map +1 -1
  479. package/dist/react-native/ShareServiceClient.js +9 -9
  480. package/dist/react-native/ShareServiceClient.js.map +1 -1
  481. package/dist/react-native/StorageClient.d.ts +12 -2
  482. package/dist/react-native/StorageClient.d.ts.map +1 -1
  483. package/dist/react-native/StorageClient.js +46 -9
  484. package/dist/react-native/StorageClient.js.map +1 -1
  485. package/dist/react-native/generated/api/directory/index.d.ts +3 -0
  486. package/dist/react-native/generated/api/directory/index.d.ts.map +1 -0
  487. package/dist/react-native/generated/api/directory/index.js +4 -0
  488. package/dist/react-native/generated/api/directory/index.js.map +1 -0
  489. package/dist/react-native/generated/api/directory/operations.d.ts +413 -0
  490. package/dist/react-native/generated/api/directory/operations.d.ts.map +1 -0
  491. package/dist/react-native/generated/api/directory/operations.js +1020 -0
  492. package/dist/react-native/generated/api/directory/operations.js.map +1 -0
  493. package/dist/react-native/generated/api/directory/options.d.ts +202 -0
  494. package/dist/react-native/generated/api/directory/options.d.ts.map +1 -0
  495. package/dist/react-native/generated/api/directory/options.js +4 -0
  496. package/dist/react-native/generated/api/directory/options.js.map +1 -0
  497. package/dist/react-native/generated/api/file/index.d.ts +3 -0
  498. package/dist/react-native/generated/api/file/index.d.ts.map +1 -0
  499. package/dist/react-native/generated/api/file/index.js +4 -0
  500. package/dist/react-native/generated/api/file/index.js.map +1 -0
  501. package/dist/react-native/generated/api/file/operations.d.ts +1095 -0
  502. package/dist/react-native/generated/api/file/operations.d.ts.map +1 -0
  503. package/dist/react-native/generated/api/file/operations.js +2638 -0
  504. package/dist/react-native/generated/api/file/operations.js.map +1 -0
  505. package/dist/react-native/generated/api/file/options.d.ts +499 -0
  506. package/dist/react-native/generated/api/file/options.d.ts.map +1 -0
  507. package/dist/react-native/generated/api/file/options.js +4 -0
  508. package/dist/react-native/generated/api/file/options.js.map +1 -0
  509. package/dist/react-native/generated/api/fileContext.d.ts +15 -0
  510. package/dist/react-native/generated/api/fileContext.d.ts.map +1 -0
  511. package/dist/react-native/generated/api/fileContext.js +23 -0
  512. package/dist/react-native/generated/api/fileContext.js.map +1 -0
  513. package/dist/react-native/generated/api/index.d.ts +3 -0
  514. package/dist/react-native/generated/api/index.d.ts.map +1 -0
  515. package/dist/react-native/generated/api/index.js +4 -0
  516. package/dist/react-native/generated/api/index.js.map +1 -0
  517. package/dist/react-native/generated/api/service/index.d.ts +3 -0
  518. package/dist/react-native/generated/api/service/index.d.ts.map +1 -0
  519. package/dist/react-native/generated/api/service/index.js +4 -0
  520. package/dist/react-native/generated/api/service/index.js.map +1 -0
  521. package/dist/react-native/generated/api/service/operations.d.ts +115 -0
  522. package/dist/react-native/generated/api/service/operations.d.ts.map +1 -0
  523. package/dist/react-native/generated/api/service/operations.js +338 -0
  524. package/dist/react-native/generated/api/service/operations.js.map +1 -0
  525. package/dist/react-native/generated/api/service/options.d.ts +45 -0
  526. package/dist/react-native/generated/api/service/options.d.ts.map +1 -0
  527. package/dist/react-native/generated/api/service/options.js +4 -0
  528. package/dist/react-native/generated/api/service/options.js.map +1 -0
  529. package/dist/react-native/generated/api/share/index.d.ts +3 -0
  530. package/dist/react-native/generated/api/share/index.d.ts.map +1 -0
  531. package/dist/react-native/generated/api/share/index.js +4 -0
  532. package/dist/react-native/generated/api/share/index.js.map +1 -0
  533. package/dist/react-native/generated/api/share/operations.d.ts +679 -0
  534. package/dist/react-native/generated/api/share/operations.d.ts.map +1 -0
  535. package/dist/react-native/generated/api/share/operations.js +1676 -0
  536. package/dist/react-native/generated/api/share/operations.js.map +1 -0
  537. package/dist/react-native/generated/api/share/options.d.ts +254 -0
  538. package/dist/react-native/generated/api/share/options.d.ts.map +1 -0
  539. package/dist/react-native/generated/api/share/options.js +4 -0
  540. package/dist/react-native/generated/api/share/options.js.map +1 -0
  541. package/dist/react-native/generated/classic/directory/index.d.ts +240 -0
  542. package/dist/react-native/generated/classic/directory/index.d.ts.map +1 -0
  543. package/dist/react-native/generated/classic/directory/index.js +22 -0
  544. package/dist/react-native/generated/classic/directory/index.js.map +1 -0
  545. package/dist/react-native/generated/classic/file/index.d.ts +634 -0
  546. package/dist/react-native/generated/classic/file/index.d.ts.map +1 -0
  547. package/dist/react-native/generated/classic/file/index.js +35 -0
  548. package/dist/react-native/generated/classic/file/index.js.map +1 -0
  549. package/dist/react-native/generated/classic/index.d.ts +5 -0
  550. package/dist/react-native/generated/classic/index.d.ts.map +1 -0
  551. package/dist/react-native/generated/classic/index.js +4 -0
  552. package/dist/react-native/generated/classic/index.js.map +1 -0
  553. package/dist/react-native/generated/classic/service/index.d.ts +63 -0
  554. package/dist/react-native/generated/classic/service/index.d.ts.map +1 -0
  555. package/dist/react-native/generated/classic/service/index.js +17 -0
  556. package/dist/react-native/generated/classic/service/index.js.map +1 -0
  557. package/dist/react-native/generated/classic/share/index.d.ts +380 -0
  558. package/dist/react-native/generated/classic/share/index.d.ts.map +1 -0
  559. package/dist/react-native/generated/classic/share/index.js +30 -0
  560. package/dist/react-native/generated/classic/share/index.js.map +1 -0
  561. package/dist/react-native/generated/fileClient.d.ts +24 -0
  562. package/dist/react-native/generated/fileClient.d.ts.map +1 -0
  563. package/dist/react-native/generated/fileClient.js +37 -0
  564. package/dist/react-native/generated/fileClient.js.map +1 -0
  565. package/dist/react-native/generated/index.d.ts +11 -0
  566. package/dist/react-native/generated/index.d.ts.map +1 -0
  567. package/dist/react-native/generated/index.js +6 -0
  568. package/dist/react-native/generated/index.js.map +1 -0
  569. package/dist/react-native/generated/logger.d.ts +2 -0
  570. package/dist/react-native/generated/logger.d.ts.map +1 -0
  571. package/dist/react-native/generated/logger.js +5 -0
  572. package/dist/react-native/generated/logger.js.map +1 -0
  573. package/dist/react-native/generated/models/index.d.ts +3 -0
  574. package/dist/react-native/generated/models/index.d.ts.map +1 -0
  575. package/dist/react-native/generated/models/index.js +4 -0
  576. package/dist/react-native/generated/models/index.js.map +1 -0
  577. package/dist/react-native/generated/models/models.d.ts +942 -0
  578. package/dist/react-native/generated/models/models.d.ts.map +1 -0
  579. package/dist/react-native/generated/models/models.js +2515 -0
  580. package/dist/react-native/generated/models/models.js.map +1 -0
  581. package/dist/react-native/generated/static-helpers/platform-types-browser.d.mts +6 -0
  582. package/dist/react-native/generated/static-helpers/platform-types-browser.d.mts.map +1 -0
  583. package/dist/react-native/generated/static-helpers/platform-types-browser.mjs +2 -0
  584. package/dist/react-native/generated/static-helpers/platform-types-browser.mjs.map +1 -0
  585. package/dist/react-native/generated/static-helpers/platform-types.d.ts +6 -0
  586. package/dist/react-native/generated/static-helpers/platform-types.d.ts.map +1 -0
  587. package/dist/react-native/generated/static-helpers/platform-types.js +2 -0
  588. package/dist/react-native/generated/static-helpers/platform-types.js.map +1 -0
  589. package/dist/react-native/generated/static-helpers/serialization/get-binary-stream-response-browser.d.mts +13 -0
  590. package/dist/react-native/generated/static-helpers/serialization/get-binary-stream-response-browser.d.mts.map +1 -0
  591. package/dist/react-native/generated/static-helpers/serialization/get-binary-stream-response-browser.mjs +15 -0
  592. package/dist/react-native/generated/static-helpers/serialization/get-binary-stream-response-browser.mjs.map +1 -0
  593. package/dist/react-native/generated/static-helpers/serialization/get-binary-stream-response.d.ts +2 -0
  594. package/dist/react-native/generated/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -0
  595. package/dist/react-native/generated/static-helpers/serialization/get-binary-stream-response.js +2 -0
  596. package/dist/react-native/generated/static-helpers/serialization/get-binary-stream-response.js.map +1 -0
  597. package/dist/react-native/generated/static-helpers/serialization/xml-helpers.d.ts +146 -0
  598. package/dist/react-native/generated/static-helpers/serialization/xml-helpers.d.ts.map +1 -0
  599. package/dist/react-native/generated/static-helpers/serialization/xml-helpers.js +446 -0
  600. package/dist/react-native/generated/static-helpers/serialization/xml-helpers.js.map +1 -0
  601. package/dist/react-native/generated/static-helpers/storageCompatResponse.d.ts +44 -0
  602. package/dist/react-native/generated/static-helpers/storageCompatResponse.d.ts.map +1 -0
  603. package/dist/react-native/generated/static-helpers/storageCompatResponse.js +36 -0
  604. package/dist/react-native/generated/static-helpers/storageCompatResponse.js.map +1 -0
  605. package/dist/react-native/generated/static-helpers/urlTemplate.d.ts +5 -0
  606. package/dist/react-native/generated/static-helpers/urlTemplate.d.ts.map +1 -0
  607. package/dist/react-native/generated/static-helpers/urlTemplate.js +200 -0
  608. package/dist/react-native/generated/static-helpers/urlTemplate.js.map +1 -0
  609. package/dist/react-native/{generated/src/models/index.d.ts → generated-classic-models.d.ts} +58 -58
  610. package/dist/react-native/generated-classic-models.d.ts.map +1 -0
  611. package/dist/react-native/{generated/src/models/index.js → generated-classic-models.js} +1 -1
  612. package/dist/react-native/generated-classic-models.js.map +1 -0
  613. package/dist/react-native/generatedModels.d.ts +21 -2
  614. package/dist/react-native/generatedModels.d.ts.map +1 -1
  615. package/dist/react-native/generatedModels.js.map +1 -1
  616. package/dist/react-native/index.d.ts +2 -2
  617. package/dist/react-native/index.d.ts.map +1 -1
  618. package/dist/react-native/index.js +2 -2
  619. package/dist/react-native/index.js.map +1 -1
  620. package/dist/react-native/models.d.ts +3 -0
  621. package/dist/react-native/models.d.ts.map +1 -1
  622. package/dist/react-native/models.js +20 -0
  623. package/dist/react-native/models.js.map +1 -1
  624. package/dist/react-native/utils/constants.js +2 -2
  625. package/dist/react-native/utils/constants.js.map +1 -1
  626. package/dist/react-native/utils/utils.common.d.ts +22 -2
  627. package/dist/react-native/utils/utils.common.d.ts.map +1 -1
  628. package/dist/react-native/utils/utils.common.js +48 -0
  629. package/dist/react-native/utils/utils.common.js.map +1 -1
  630. package/package.json +19 -22
  631. package/dist/browser/StorageContextClient.d.ts +0 -9
  632. package/dist/browser/StorageContextClient.d.ts.map +0 -1
  633. package/dist/browser/StorageContextClient.js +0 -18
  634. package/dist/browser/StorageContextClient.js.map +0 -1
  635. package/dist/browser/generated/src/index.d.ts +0 -4
  636. package/dist/browser/generated/src/index.d.ts.map +0 -1
  637. package/dist/browser/generated/src/index.js +0 -11
  638. package/dist/browser/generated/src/index.js.map +0 -1
  639. package/dist/browser/generated/src/models/index.d.ts.map +0 -1
  640. package/dist/browser/generated/src/models/index.js.map +0 -1
  641. package/dist/browser/generated/src/models/mappers.d.ts +0 -135
  642. package/dist/browser/generated/src/models/mappers.d.ts.map +0 -1
  643. package/dist/browser/generated/src/models/mappers.js +0 -6300
  644. package/dist/browser/generated/src/models/mappers.js.map +0 -1
  645. package/dist/browser/generated/src/models/parameters.d.ts +0 -134
  646. package/dist/browser/generated/src/models/parameters.d.ts.map +0 -1
  647. package/dist/browser/generated/src/models/parameters.js +0 -1419
  648. package/dist/browser/generated/src/models/parameters.js.map +0 -1
  649. package/dist/browser/generated/src/operations/directory.d.ts +0 -65
  650. package/dist/browser/generated/src/operations/directory.d.ts.map +0 -1
  651. package/dist/browser/generated/src/operations/directory.js +0 -380
  652. package/dist/browser/generated/src/operations/directory.js.map +0 -1
  653. package/dist/browser/generated/src/operations/file.d.ts +0 -162
  654. package/dist/browser/generated/src/operations/file.d.ts.map +0 -1
  655. package/dist/browser/generated/src/operations/file.js +0 -879
  656. package/dist/browser/generated/src/operations/file.js.map +0 -1
  657. package/dist/browser/generated/src/operations/index.d.ts +0 -5
  658. package/dist/browser/generated/src/operations/index.d.ts.map +0 -1
  659. package/dist/browser/generated/src/operations/index.js +0 -12
  660. package/dist/browser/generated/src/operations/index.js.map +0 -1
  661. package/dist/browser/generated/src/operations/service.d.ts +0 -39
  662. package/dist/browser/generated/src/operations/service.d.ts.map +0 -1
  663. package/dist/browser/generated/src/operations/service.js +0 -176
  664. package/dist/browser/generated/src/operations/service.js.map +0 -1
  665. package/dist/browser/generated/src/operations/share.d.ts +0 -111
  666. package/dist/browser/generated/src/operations/share.d.ts.map +0 -1
  667. package/dist/browser/generated/src/operations/share.js +0 -672
  668. package/dist/browser/generated/src/operations/share.js.map +0 -1
  669. package/dist/browser/generated/src/operationsInterfaces/directory.d.ts +0 -57
  670. package/dist/browser/generated/src/operationsInterfaces/directory.d.ts.map +0 -1
  671. package/dist/browser/generated/src/operationsInterfaces/directory.js +0 -9
  672. package/dist/browser/generated/src/operationsInterfaces/directory.js.map +0 -1
  673. package/dist/browser/generated/src/operationsInterfaces/file.d.ts +0 -154
  674. package/dist/browser/generated/src/operationsInterfaces/file.d.ts.map +0 -1
  675. package/dist/browser/generated/src/operationsInterfaces/file.js +0 -9
  676. package/dist/browser/generated/src/operationsInterfaces/file.js.map +0 -1
  677. package/dist/browser/generated/src/operationsInterfaces/index.d.ts +0 -5
  678. package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +0 -1
  679. package/dist/browser/generated/src/operationsInterfaces/index.js +0 -12
  680. package/dist/browser/generated/src/operationsInterfaces/index.js.map +0 -1
  681. package/dist/browser/generated/src/operationsInterfaces/service.d.ts +0 -31
  682. package/dist/browser/generated/src/operationsInterfaces/service.d.ts.map +0 -1
  683. package/dist/browser/generated/src/operationsInterfaces/service.js +0 -9
  684. package/dist/browser/generated/src/operationsInterfaces/service.js.map +0 -1
  685. package/dist/browser/generated/src/operationsInterfaces/share.d.ts +0 -103
  686. package/dist/browser/generated/src/operationsInterfaces/share.d.ts.map +0 -1
  687. package/dist/browser/generated/src/operationsInterfaces/share.js +0 -9
  688. package/dist/browser/generated/src/operationsInterfaces/share.js.map +0 -1
  689. package/dist/browser/generated/src/storageClient.d.ts +0 -20
  690. package/dist/browser/generated/src/storageClient.d.ts.map +0 -1
  691. package/dist/browser/generated/src/storageClient.js +0 -59
  692. package/dist/browser/generated/src/storageClient.js.map +0 -1
  693. package/dist/commonjs/StorageContextClient.d.ts +0 -9
  694. package/dist/commonjs/StorageContextClient.d.ts.map +0 -1
  695. package/dist/commonjs/StorageContextClient.js.map +0 -7
  696. package/dist/commonjs/generated/src/index.d.ts +0 -4
  697. package/dist/commonjs/generated/src/index.d.ts.map +0 -1
  698. package/dist/commonjs/generated/src/index.js.map +0 -7
  699. package/dist/commonjs/generated/src/models/index.d.ts.map +0 -1
  700. package/dist/commonjs/generated/src/models/index.js.map +0 -7
  701. package/dist/commonjs/generated/src/models/mappers.d.ts +0 -135
  702. package/dist/commonjs/generated/src/models/mappers.d.ts.map +0 -1
  703. package/dist/commonjs/generated/src/models/mappers.js +0 -6583
  704. package/dist/commonjs/generated/src/models/mappers.js.map +0 -7
  705. package/dist/commonjs/generated/src/models/parameters.d.ts +0 -134
  706. package/dist/commonjs/generated/src/models/parameters.d.ts.map +0 -1
  707. package/dist/commonjs/generated/src/models/parameters.js +0 -1700
  708. package/dist/commonjs/generated/src/models/parameters.js.map +0 -7
  709. package/dist/commonjs/generated/src/operations/directory.d.ts +0 -65
  710. package/dist/commonjs/generated/src/operations/directory.d.ts.map +0 -1
  711. package/dist/commonjs/generated/src/operations/directory.js +0 -432
  712. package/dist/commonjs/generated/src/operations/directory.js.map +0 -7
  713. package/dist/commonjs/generated/src/operations/file.d.ts +0 -162
  714. package/dist/commonjs/generated/src/operations/file.d.ts.map +0 -1
  715. package/dist/commonjs/generated/src/operations/file.js +0 -967
  716. package/dist/commonjs/generated/src/operations/file.js.map +0 -7
  717. package/dist/commonjs/generated/src/operations/index.d.ts +0 -5
  718. package/dist/commonjs/generated/src/operations/index.d.ts.map +0 -1
  719. package/dist/commonjs/generated/src/operations/index.js.map +0 -7
  720. package/dist/commonjs/generated/src/operations/service.d.ts +0 -39
  721. package/dist/commonjs/generated/src/operations/service.d.ts.map +0 -1
  722. package/dist/commonjs/generated/src/operations/service.js +0 -219
  723. package/dist/commonjs/generated/src/operations/service.js.map +0 -7
  724. package/dist/commonjs/generated/src/operations/share.d.ts +0 -111
  725. package/dist/commonjs/generated/src/operations/share.d.ts.map +0 -1
  726. package/dist/commonjs/generated/src/operations/share.js +0 -749
  727. package/dist/commonjs/generated/src/operations/share.js.map +0 -7
  728. package/dist/commonjs/generated/src/operationsInterfaces/directory.d.ts +0 -57
  729. package/dist/commonjs/generated/src/operationsInterfaces/directory.d.ts.map +0 -1
  730. package/dist/commonjs/generated/src/operationsInterfaces/directory.js.map +0 -7
  731. package/dist/commonjs/generated/src/operationsInterfaces/file.d.ts +0 -154
  732. package/dist/commonjs/generated/src/operationsInterfaces/file.d.ts.map +0 -1
  733. package/dist/commonjs/generated/src/operationsInterfaces/file.js.map +0 -7
  734. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +0 -5
  735. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +0 -1
  736. package/dist/commonjs/generated/src/operationsInterfaces/index.js +0 -28
  737. package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +0 -7
  738. package/dist/commonjs/generated/src/operationsInterfaces/service.d.ts +0 -31
  739. package/dist/commonjs/generated/src/operationsInterfaces/service.d.ts.map +0 -1
  740. package/dist/commonjs/generated/src/operationsInterfaces/service.js.map +0 -7
  741. package/dist/commonjs/generated/src/operationsInterfaces/share.d.ts +0 -103
  742. package/dist/commonjs/generated/src/operationsInterfaces/share.d.ts.map +0 -1
  743. package/dist/commonjs/generated/src/operationsInterfaces/share.js.map +0 -7
  744. package/dist/commonjs/generated/src/storageClient.d.ts +0 -20
  745. package/dist/commonjs/generated/src/storageClient.d.ts.map +0 -1
  746. package/dist/commonjs/generated/src/storageClient.js +0 -83
  747. package/dist/commonjs/generated/src/storageClient.js.map +0 -7
  748. package/dist/esm/StorageContextClient.d.ts +0 -9
  749. package/dist/esm/StorageContextClient.d.ts.map +0 -1
  750. package/dist/esm/StorageContextClient.js +0 -18
  751. package/dist/esm/StorageContextClient.js.map +0 -1
  752. package/dist/esm/generated/src/index.d.ts +0 -4
  753. package/dist/esm/generated/src/index.d.ts.map +0 -1
  754. package/dist/esm/generated/src/index.js +0 -11
  755. package/dist/esm/generated/src/index.js.map +0 -1
  756. package/dist/esm/generated/src/models/index.d.ts.map +0 -1
  757. package/dist/esm/generated/src/models/index.js.map +0 -1
  758. package/dist/esm/generated/src/models/mappers.d.ts +0 -135
  759. package/dist/esm/generated/src/models/mappers.d.ts.map +0 -1
  760. package/dist/esm/generated/src/models/mappers.js +0 -6300
  761. package/dist/esm/generated/src/models/mappers.js.map +0 -1
  762. package/dist/esm/generated/src/models/parameters.d.ts +0 -134
  763. package/dist/esm/generated/src/models/parameters.d.ts.map +0 -1
  764. package/dist/esm/generated/src/models/parameters.js +0 -1419
  765. package/dist/esm/generated/src/models/parameters.js.map +0 -1
  766. package/dist/esm/generated/src/operations/directory.d.ts +0 -65
  767. package/dist/esm/generated/src/operations/directory.d.ts.map +0 -1
  768. package/dist/esm/generated/src/operations/directory.js +0 -380
  769. package/dist/esm/generated/src/operations/directory.js.map +0 -1
  770. package/dist/esm/generated/src/operations/file.d.ts +0 -162
  771. package/dist/esm/generated/src/operations/file.d.ts.map +0 -1
  772. package/dist/esm/generated/src/operations/file.js +0 -879
  773. package/dist/esm/generated/src/operations/file.js.map +0 -1
  774. package/dist/esm/generated/src/operations/index.d.ts +0 -5
  775. package/dist/esm/generated/src/operations/index.d.ts.map +0 -1
  776. package/dist/esm/generated/src/operations/index.js +0 -12
  777. package/dist/esm/generated/src/operations/index.js.map +0 -1
  778. package/dist/esm/generated/src/operations/service.d.ts +0 -39
  779. package/dist/esm/generated/src/operations/service.d.ts.map +0 -1
  780. package/dist/esm/generated/src/operations/service.js +0 -176
  781. package/dist/esm/generated/src/operations/service.js.map +0 -1
  782. package/dist/esm/generated/src/operations/share.d.ts +0 -111
  783. package/dist/esm/generated/src/operations/share.d.ts.map +0 -1
  784. package/dist/esm/generated/src/operations/share.js +0 -672
  785. package/dist/esm/generated/src/operations/share.js.map +0 -1
  786. package/dist/esm/generated/src/operationsInterfaces/directory.d.ts +0 -57
  787. package/dist/esm/generated/src/operationsInterfaces/directory.d.ts.map +0 -1
  788. package/dist/esm/generated/src/operationsInterfaces/directory.js +0 -9
  789. package/dist/esm/generated/src/operationsInterfaces/directory.js.map +0 -1
  790. package/dist/esm/generated/src/operationsInterfaces/file.d.ts +0 -154
  791. package/dist/esm/generated/src/operationsInterfaces/file.d.ts.map +0 -1
  792. package/dist/esm/generated/src/operationsInterfaces/file.js +0 -9
  793. package/dist/esm/generated/src/operationsInterfaces/file.js.map +0 -1
  794. package/dist/esm/generated/src/operationsInterfaces/index.d.ts +0 -5
  795. package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +0 -1
  796. package/dist/esm/generated/src/operationsInterfaces/index.js +0 -12
  797. package/dist/esm/generated/src/operationsInterfaces/index.js.map +0 -1
  798. package/dist/esm/generated/src/operationsInterfaces/service.d.ts +0 -31
  799. package/dist/esm/generated/src/operationsInterfaces/service.d.ts.map +0 -1
  800. package/dist/esm/generated/src/operationsInterfaces/service.js +0 -9
  801. package/dist/esm/generated/src/operationsInterfaces/service.js.map +0 -1
  802. package/dist/esm/generated/src/operationsInterfaces/share.d.ts +0 -103
  803. package/dist/esm/generated/src/operationsInterfaces/share.d.ts.map +0 -1
  804. package/dist/esm/generated/src/operationsInterfaces/share.js +0 -9
  805. package/dist/esm/generated/src/operationsInterfaces/share.js.map +0 -1
  806. package/dist/esm/generated/src/storageClient.d.ts +0 -20
  807. package/dist/esm/generated/src/storageClient.d.ts.map +0 -1
  808. package/dist/esm/generated/src/storageClient.js +0 -59
  809. package/dist/esm/generated/src/storageClient.js.map +0 -1
  810. package/dist/react-native/StorageContextClient.d.ts +0 -9
  811. package/dist/react-native/StorageContextClient.d.ts.map +0 -1
  812. package/dist/react-native/StorageContextClient.js +0 -18
  813. package/dist/react-native/StorageContextClient.js.map +0 -1
  814. package/dist/react-native/generated/src/index.d.ts +0 -4
  815. package/dist/react-native/generated/src/index.d.ts.map +0 -1
  816. package/dist/react-native/generated/src/index.js +0 -11
  817. package/dist/react-native/generated/src/index.js.map +0 -1
  818. package/dist/react-native/generated/src/models/index.d.ts.map +0 -1
  819. package/dist/react-native/generated/src/models/index.js.map +0 -1
  820. package/dist/react-native/generated/src/models/mappers.d.ts +0 -135
  821. package/dist/react-native/generated/src/models/mappers.d.ts.map +0 -1
  822. package/dist/react-native/generated/src/models/mappers.js +0 -6300
  823. package/dist/react-native/generated/src/models/mappers.js.map +0 -1
  824. package/dist/react-native/generated/src/models/parameters.d.ts +0 -134
  825. package/dist/react-native/generated/src/models/parameters.d.ts.map +0 -1
  826. package/dist/react-native/generated/src/models/parameters.js +0 -1419
  827. package/dist/react-native/generated/src/models/parameters.js.map +0 -1
  828. package/dist/react-native/generated/src/operations/directory.d.ts +0 -65
  829. package/dist/react-native/generated/src/operations/directory.d.ts.map +0 -1
  830. package/dist/react-native/generated/src/operations/directory.js +0 -380
  831. package/dist/react-native/generated/src/operations/directory.js.map +0 -1
  832. package/dist/react-native/generated/src/operations/file.d.ts +0 -162
  833. package/dist/react-native/generated/src/operations/file.d.ts.map +0 -1
  834. package/dist/react-native/generated/src/operations/file.js +0 -879
  835. package/dist/react-native/generated/src/operations/file.js.map +0 -1
  836. package/dist/react-native/generated/src/operations/index.d.ts +0 -5
  837. package/dist/react-native/generated/src/operations/index.d.ts.map +0 -1
  838. package/dist/react-native/generated/src/operations/index.js +0 -12
  839. package/dist/react-native/generated/src/operations/index.js.map +0 -1
  840. package/dist/react-native/generated/src/operations/service.d.ts +0 -39
  841. package/dist/react-native/generated/src/operations/service.d.ts.map +0 -1
  842. package/dist/react-native/generated/src/operations/service.js +0 -176
  843. package/dist/react-native/generated/src/operations/service.js.map +0 -1
  844. package/dist/react-native/generated/src/operations/share.d.ts +0 -111
  845. package/dist/react-native/generated/src/operations/share.d.ts.map +0 -1
  846. package/dist/react-native/generated/src/operations/share.js +0 -672
  847. package/dist/react-native/generated/src/operations/share.js.map +0 -1
  848. package/dist/react-native/generated/src/operationsInterfaces/directory.d.ts +0 -57
  849. package/dist/react-native/generated/src/operationsInterfaces/directory.d.ts.map +0 -1
  850. package/dist/react-native/generated/src/operationsInterfaces/directory.js +0 -9
  851. package/dist/react-native/generated/src/operationsInterfaces/directory.js.map +0 -1
  852. package/dist/react-native/generated/src/operationsInterfaces/file.d.ts +0 -154
  853. package/dist/react-native/generated/src/operationsInterfaces/file.d.ts.map +0 -1
  854. package/dist/react-native/generated/src/operationsInterfaces/file.js +0 -9
  855. package/dist/react-native/generated/src/operationsInterfaces/file.js.map +0 -1
  856. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +0 -5
  857. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +0 -1
  858. package/dist/react-native/generated/src/operationsInterfaces/index.js +0 -12
  859. package/dist/react-native/generated/src/operationsInterfaces/index.js.map +0 -1
  860. package/dist/react-native/generated/src/operationsInterfaces/service.d.ts +0 -31
  861. package/dist/react-native/generated/src/operationsInterfaces/service.d.ts.map +0 -1
  862. package/dist/react-native/generated/src/operationsInterfaces/service.js +0 -9
  863. package/dist/react-native/generated/src/operationsInterfaces/service.js.map +0 -1
  864. package/dist/react-native/generated/src/operationsInterfaces/share.d.ts +0 -103
  865. package/dist/react-native/generated/src/operationsInterfaces/share.d.ts.map +0 -1
  866. package/dist/react-native/generated/src/operationsInterfaces/share.js +0 -9
  867. package/dist/react-native/generated/src/operationsInterfaces/share.js.map +0 -1
  868. package/dist/react-native/generated/src/storageClient.d.ts +0 -20
  869. package/dist/react-native/generated/src/storageClient.d.ts.map +0 -1
  870. package/dist/react-native/generated/src/storageClient.js +0 -59
  871. package/dist/react-native/generated/src/storageClient.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"generatedModels.js","sourceRoot":"","sources":["../../src/generatedModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAspBlC,yEAAyE;AACzE,MAAM,CAAN,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAC/B,0CAAiB,CAAA;AACnB,CAAC,EAFW,qBAAqB,KAArB,qBAAqB,QAEhC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { UserDelegationKey } from \"@azure/storage-common\";\nimport type {\n CopyStatusType,\n DirectoryDeleteHeaders,\n DirectoryListFilesAndDirectoriesSegmentHeaders,\n DirectoryListHandlesHeaders,\n DirectoryRenameHeaders,\n DirectorySetMetadataHeaders,\n FileAbortCopyHeaders,\n FileDeleteHeaders,\n FileGetRangeListHeaders,\n FileGetSymbolicLinkHeaders,\n FileListHandlesHeaders,\n FileProperty,\n FileRenameHeaders,\n FileServiceProperties,\n FileSetMetadataHeaders,\n FileStartCopyHeaders,\n FileUploadRangeFromURLHeaders,\n FileUploadRangeHeaders,\n LeaseDurationType,\n LeaseStateType,\n LeaseStatusType,\n ServiceGetPropertiesHeaders,\n ServiceSetPropertiesHeaders,\n ShareCreateHeaders,\n ShareCreatePermissionHeaders,\n ShareCreateSnapshotHeaders,\n ShareDeleteHeaders,\n ShareFileRangeList,\n ShareGetAccessPolicyHeaders,\n ShareGetPermissionHeaders,\n ShareGetPropertiesHeaders,\n ShareGetStatisticsHeaders,\n SharePermission,\n ShareSetAccessPolicyHeaders,\n ShareSetMetadataHeaders,\n ShareStats,\n ShareSetPropertiesHeaders,\n ServiceGetUserDelegationKeyHeaders,\n UserDelegationKey as UserDelegationKeyModel,\n} from \"./generated/src/models/index.js\";\nimport type {\n FileDownloadResponse,\n FilePosixProperties,\n FileSetHttpHeadersHeaders,\n} from \"./models.js\";\nimport type { WithResponse } from \"./utils/utils.common.js\";\n\n/** Defines headers for Directory_create operation. */\nexport interface DirectoryCreateHeaders {\n /** The ETag contains a value which represents the version of the directory, in quotes. */\n etag?: string;\n /** Returns the date and time the share was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. */\n isServerEncrypted?: boolean;\n /** Key of the permission set for the directory. */\n filePermissionKey?: string;\n /** Attributes set for the directory. */\n fileAttributes?: string;\n /** Creation time for the directory. */\n fileCreatedOn?: Date;\n /** Last write time for the directory. */\n fileLastWriteOn?: Date;\n /** Change time for the directory. */\n fileChangeOn?: Date;\n /** The fileId of the directory. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the create operation. */\nexport type DirectoryCreateResponse = WithResponse<DirectoryCreateHeaders, DirectoryCreateHeaders>;\n\n/** Contains response data for the delete operation. */\nexport type DirectoryDeleteResponse = WithResponse<DirectoryDeleteHeaders, DirectoryDeleteHeaders>;\n\n/** Defines headers for Directory_getProperties operation. */\nexport interface DirectoryGetPropertiesHeaders {\n /** A set of name-value pairs that contain metadata for the directory. */\n metadata?: { [propertyName: string]: string };\n /** The ETag contains a value that you can use to perform operations conditionally, in quotes. */\n etag?: string;\n /** Returns the date and time the Directory was last modified. Operations on files within the directory do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** The value of this header is set to true if the directory metadata is completely encrypted using the specified algorithm. Otherwise, the value is set to false. */\n isServerEncrypted?: boolean;\n /** Attributes set for the directory. */\n fileAttributes?: string;\n /** Creation time for the directory. */\n fileCreatedOn?: Date;\n /** Last write time for the directory. */\n fileLastWriteOn?: Date;\n /** Change time for the directory. */\n fileChangeOn?: Date;\n /** Key of the permission set for the directory. */\n filePermissionKey?: string;\n /** The fileId of the directory. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the getProperties operation. */\nexport type DirectoryGetPropertiesResponse = WithResponse<\n DirectoryGetPropertiesHeaders,\n DirectoryGetPropertiesHeaders\n>;\n\n/** Contains response data for the listFilesAndDirectoriesSegment operation. */\nexport type DirectoryListFilesAndDirectoriesSegmentResponse = WithResponse<\n DirectoryListFilesAndDirectoriesSegmentHeaders & ListFilesAndDirectoriesSegmentResponse,\n DirectoryListFilesAndDirectoriesSegmentHeaders,\n ListFilesAndDirectoriesSegmentResponse\n>;\n\n/** Contains response data for the listHandles operation. */\nexport type DirectoryListHandlesResponse = WithResponse<\n DirectoryListHandlesHeaders & ListHandlesResponse,\n DirectoryListHandlesHeaders,\n ListHandlesResponse\n>;\n\n/** Contains response data for the setMetadata operation. */\nexport type DirectorySetMetadataResponse = WithResponse<\n DirectorySetMetadataHeaders,\n DirectorySetMetadataHeaders\n>;\n\n/** Defines headers for Directory_setProperties operation. */\nexport interface DirectorySetPropertiesHeaders {\n /** The ETag contains a value which represents the version of the file, in quotes. */\n etag?: string;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Returns the date and time the directory was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. */\n isServerEncrypted?: boolean;\n /** Key of the permission set for the directory. */\n filePermissionKey?: string;\n /** Attributes set for the directory. */\n fileAttributes?: string;\n /** Creation time for the directory. */\n fileCreatedOn?: Date;\n /** Last write time for the directory. */\n fileLastWriteOn?: Date;\n /** Change time for the directory. */\n fileChangeOn?: Date;\n /** The fileId of the directory. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the setProperties operation. */\nexport type DirectorySetPropertiesResponse = WithResponse<\n DirectorySetPropertiesHeaders,\n DirectorySetPropertiesHeaders\n>;\n\n/** Contains response data for the abortCopy operation. */\nexport type FileAbortCopyResponse = WithResponse<FileAbortCopyHeaders, FileAbortCopyHeaders>;\n\n/** Defines headers for File_create operation. */\nexport interface FileCreateHeaders {\n /** The ETag contains a value which represents the version of the file, in quotes. */\n etag?: string;\n /** Returns the date and time the share was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. */\n isServerEncrypted?: boolean;\n /** Key of the permission set for the file. */\n filePermissionKey?: string;\n /** Attributes set for the file. */\n fileAttributes?: string;\n /** Creation time for the file. */\n fileCreatedOn?: Date;\n /** Last write time for the file. */\n fileLastWriteOn?: Date;\n /** Change time for the file. */\n fileChangeOn?: Date;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the file. */\n fileParentId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Indicates the structured message body was accepted and mirrors back the message schema version and properties. */\n structuredBodyType?: string;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the create operation. */\nexport type FileCreateResponse = WithResponse<FileCreateHeaders, FileCreateHeaders>;\n\n/** Contains response data for the delete operation. */\nexport type FileDeleteResponse = WithResponse<FileDeleteHeaders, FileDeleteHeaders>;\n\n/** Defines headers for File_createHardLink operation. */\nexport interface FileCreateHardLinkHeaders {\n /** The ETag contains a value which represents the version of the file, in quotes. */\n etag?: string;\n /** Returns the date and time the share was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** Creation time for the file. */\n fileCreationTime?: Date;\n /** Last write time for the file. */\n fileLastWriteTime?: Date;\n /** Change time for the file. */\n fileChangeTime?: Date;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n}\n\n/** Contains response data for the create hard link operation. */\nexport type FileCreateHardLinkResponse = WithResponse<\n FileCreateHardLinkHeaders,\n FileCreateHardLinkHeaders\n>;\n\n/** Defines headers for File_createSymbolicLink operation. */\nexport interface FileCreateSymbolicLinkHeaders {\n /** The ETag contains a value which represents the version of the file, in quotes. */\n etag?: string;\n /** Returns the date and time the share was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** Creation time for the file. */\n fileCreationTime?: Date;\n /** Last write time for the file. */\n fileLastWriteTime?: Date;\n /** Change time for the file. */\n fileChangeTime?: Date;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n}\n\n/** Contains response data for the create hard link operation. */\nexport type FileCreateSymbolicLinkResponse = WithResponse<\n FileCreateSymbolicLinkHeaders,\n FileCreateSymbolicLinkHeaders\n>;\n\n/** Contains response data for the create hard link operation. */\nexport type FileGetSymbolicLinkResponse = WithResponse<\n FileGetSymbolicLinkHeaders,\n FileGetSymbolicLinkHeaders\n>;\n\n/** Defines headers for File_getProperties operation. */\nexport interface FileGetPropertiesHeaders {\n /** Returns the date and time the file was last modified. The date format follows RFC 1123. Any operation that modifies the file or its properties updates the last modified time. */\n lastModified?: Date;\n /** A set of name-value pairs associated with this file as user-defined metadata. */\n metadata?: { [propertyName: string]: string };\n /** Returns the type File. Reserved for future use. */\n fileType?: string;\n /** The size of the file in bytes. This header returns the value of the 'x-ms-content-length' header that is stored with the file. */\n contentLength?: number;\n /** The content type specified for the file. The default content type is 'application/octet-stream' */\n contentType?: string;\n /** The ETag contains a value that you can use to perform operations conditionally, in quotes. */\n etag?: string;\n /** If the Content-MD5 header has been set for the file, the Content-MD5 response header is returned so that the client can check for message content integrity. */\n contentMD5?: Uint8Array;\n /** If the Content-Encoding request header has previously been set for the file, the Content-Encoding value is returned in this header. */\n contentEncoding?: string;\n /** If the Cache-Control request header has previously been set for the file, the Cache-Control value is returned in this header. */\n cacheControl?: string;\n /** Returns the value that was specified for the 'x-ms-content-disposition' header and specifies how to process the response. */\n contentDisposition?: string;\n /** Returns the value that was specified for the Content-Language request header. */\n contentLanguage?: string;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** Conclusion time of the last attempted Copy File operation where this file was the destination file. This value can specify the time of a completed, aborted, or failed copy attempt. */\n copyCompletedOn?: Date;\n /** Only appears when x-ms-copy-status is failed or pending. Describes cause of fatal or non-fatal copy operation failure. */\n copyStatusDescription?: string;\n /** String identifier for the last attempted Copy File operation where this file was the destination file. */\n copyId?: string;\n /** Contains the number of bytes copied and the total bytes in the source in the last attempted Copy File operation where this file was the destination file. Can show between 0 and Content-Length bytes copied. */\n copyProgress?: string;\n /** URL up to 2KB in length that specifies the source file used in the last attempted Copy File operation where this file was the destination file. */\n copySource?: string;\n /** State of the copy operation identified by 'x-ms-copy-id'. */\n copyStatus?: CopyStatusType;\n /** The value of this header is set to true if the file data and application metadata are completely encrypted using the specified algorithm. Otherwise, the value is set to false (when the file is unencrypted, or if only parts of the file/application metadata are encrypted). */\n isServerEncrypted?: boolean;\n /** Attributes set for the file. */\n fileAttributes?: string;\n /** Creation time for the file. */\n fileCreatedOn?: Date;\n /** Last write time for the file. */\n fileLastWriteOn?: Date;\n /** Change time for the file. */\n fileChangeOn?: Date;\n /** Key of the permission set for the file. */\n filePermissionKey?: string;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the file. */\n fileParentId?: string;\n /** When a file is leased, specifies whether the lease is of infinite or fixed duration. */\n leaseDuration?: LeaseDurationType;\n /** Lease state of the file. */\n leaseState?: LeaseStateType;\n /** The current lease status of the file. */\n leaseStatus?: LeaseStatusType;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the getProperties operation. */\nexport type FileGetPropertiesResponse = WithResponse<\n FileGetPropertiesHeaders,\n FileGetPropertiesHeaders\n>;\n\n/** Contains response data for the listHandles operation. */\nexport type FileListHandlesResponse = WithResponse<\n FileListHandlesHeaders & ListHandlesResponse,\n FileListHandlesHeaders,\n ListHandlesResponse\n>;\n\n/** Contains response data for the setMetadata operation. */\nexport type FileSetMetadataResponse = WithResponse<FileSetMetadataHeaders, FileSetMetadataHeaders>;\n\n/** Contains response data for the startCopy operation. */\nexport type FileStartCopyResponse = WithResponse<FileStartCopyHeaders, FileStartCopyHeaders>;\n\n/** Contains response data for the uploadRange operation. */\nexport type FileUploadRangeResponse = WithResponse<FileUploadRangeHeaders, FileUploadRangeHeaders>;\n\n/** Contains response data for the getProperties operation. */\nexport type ServiceGetPropertiesResponse = WithResponse<\n ServiceGetPropertiesHeaders & FileServiceProperties,\n ServiceGetPropertiesHeaders,\n FileServiceProperties\n>;\n\n/** Contains response data for the setProperties operation. */\nexport type ServiceSetPropertiesResponse = WithResponse<\n ServiceSetPropertiesHeaders,\n ServiceSetPropertiesHeaders\n>;\n\n/** Contains response data for the createPermission operation. */\nexport type ShareCreatePermissionResponse = WithResponse<\n ShareCreatePermissionHeaders,\n ShareCreatePermissionHeaders\n>;\n\n/** Contains response data for the create operation. */\nexport type ShareCreateResponse = WithResponse<ShareCreateHeaders, ShareCreateHeaders>;\n\n/** Contains response data for the createSnapshot operation. */\nexport type ShareCreateSnapshotResponse = WithResponse<\n ShareCreateSnapshotHeaders,\n ShareCreateSnapshotHeaders\n>;\n\n/** Contains response data for the delete operation. */\nexport type ShareDeleteResponse = WithResponse<ShareDeleteHeaders, ShareDeleteHeaders>;\n\n/** Contains response data for the getPermission operation. */\nexport type ShareGetPermissionResponse = WithResponse<\n ShareGetPermissionHeaders & SharePermission,\n ShareGetPermissionHeaders,\n SharePermission\n>;\n\n/** Contains response data for the setAccessPolicy operation. */\nexport type ShareSetAccessPolicyResponse = WithResponse<\n ShareSetAccessPolicyHeaders,\n ShareGetAccessPolicyHeaders\n>;\n\n/** Contains response data for the setMetadata operation. */\nexport type ShareSetMetadataResponse = WithResponse<\n ShareSetMetadataHeaders,\n ShareSetMetadataHeaders\n>;\n\n/** Contains response data for the setProperties operation. */\nexport type ShareSetPropertiesResponse = WithResponse<\n ShareSetPropertiesHeaders,\n ShareSetPropertiesHeaders\n>;\n\n/** Contains response data for the rename operation. */\nexport type DirectoryRenameResponse = WithResponse<DirectoryRenameHeaders, DirectoryRenameHeaders>;\n\n/** Defines headers for File_download operation. */\nexport interface FileDownloadHeaders {\n /** Returns the date and time the file was last modified. Any operation that modifies the file or its properties updates the last modified time. */\n lastModified?: Date;\n /** A set of name-value pairs associated with this file as user-defined metadata. */\n metadata?: { [propertyName: string]: string };\n /** The number of bytes present in the response body. */\n contentLength?: number;\n /** The content type specified for the file. The default content type is 'application/octet-stream' */\n contentType?: string;\n /** Indicates the range of bytes returned if the client requested a subset of the file by setting the Range request header. */\n contentRange?: string;\n /** The ETag contains a value that you can use to perform operations conditionally, in quotes. */\n etag?: string;\n /** If the file has an MD5 hash and the request is to read the full file, this response header is returned so that the client can check for message content integrity. If the request is to read a specified range and the 'x-ms-range-get-content-md5' is set to true, then the request returns an MD5 hash for the range, as long as the range size is less than or equal to 4 MB. If neither of these sets of conditions is true, then no value is returned for the 'Content-MD5' header. */\n contentMD5?: Uint8Array;\n /** Returns the value that was specified for the Content-Encoding request header. */\n contentEncoding?: string;\n /** Returned if it was previously specified for the file. */\n cacheControl?: string;\n /** Returns the value that was specified for the 'x-ms-content-disposition' header and specifies how to process the response. */\n contentDisposition?: string;\n /** Returns the value that was specified for the Content-Language request header. */\n contentLanguage?: string;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** Indicates that the service supports requests for partial file content. */\n acceptRanges?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** Conclusion time of the last attempted Copy File operation where this file was the destination file. This value can specify the time of a completed, aborted, or failed copy attempt. */\n copyCompletedOn?: Date;\n /** Only appears when x-ms-copy-status is failed or pending. Describes cause of fatal or non-fatal copy operation failure. */\n copyStatusDescription?: string;\n /** String identifier for the last attempted Copy File operation where this file was the destination file. */\n copyId?: string;\n /** Contains the number of bytes copied and the total bytes in the source in the last attempted Copy File operation where this file was the destination file. Can show between 0 and Content-Length bytes copied. */\n copyProgress?: string;\n /** URL up to 2KB in length that specifies the source file used in the last attempted Copy File operation where this file was the destination file. */\n copySource?: string;\n /** State of the copy operation identified by 'x-ms-copy-id'. */\n copyStatus?: CopyStatusType;\n /** If the file has a MD5 hash, and if request contains range header (Range or x-ms-range), this response header is returned with the value of the whole file's MD5 value. This value may or may not be equal to the value returned in Content-MD5 header, with the latter calculated from the requested range. */\n fileContentMD5?: Uint8Array;\n /** The value of this header is set to true if the file data and application metadata are completely encrypted using the specified algorithm. Otherwise, the value is set to false (when the file is unencrypted, or if only parts of the file/application metadata are encrypted). */\n isServerEncrypted?: boolean;\n /** Attributes set for the file. */\n fileAttributes?: string;\n /** Creation time for the file. */\n fileCreatedOn?: Date;\n /** Last write time for the file. */\n fileLastWriteOn?: Date;\n /** Change time for the file. */\n fileChangeOn?: Date;\n /** Key of the permission set for the file. */\n filePermissionKey?: string;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the file. */\n fileParentId?: string;\n /** When a file is leased, specifies whether the lease is of infinite or fixed duration. */\n leaseDuration?: LeaseDurationType;\n /** Lease state of the file. */\n leaseState?: LeaseStateType;\n /** The current lease status of the file. */\n leaseStatus?: LeaseStatusType;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Indicates the response body contains a structured message and specifies the message schema version and properties. */\n structuredBodyType?: string;\n /** The length of the blob/file content inside the message body when the response body is returned as a structured message. Will always be smaller than Content-Length. */\n structuredContentLength?: number;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the download operation. */\nexport type FileDownloadResponseModel = WithResponse<FileDownloadResponse, FileDownloadHeaders>;\n\n/** Contains response data for the uploadRangeFromURL operation. */\nexport type FileUploadRangeFromURLResponse = WithResponse<\n FileUploadRangeFromURLHeaders,\n FileUploadRangeFromURLHeaders\n>;\n\n/** Contains response data for the getProperties operation. */\nexport type ShareGetPropertiesResponseModel = WithResponse<\n ShareGetPropertiesHeaders,\n ShareGetPropertiesHeaders\n>;\n\n/** Contains response data for the getStatistics operation. */\nexport type ShareGetStatisticsResponseModel = WithResponse<\n ShareGetStatisticsHeaders & ShareStats,\n ShareGetStatisticsHeaders,\n ShareStats\n>;\n\n/** Contains response data for the getRangeList operation. */\nexport type FileGetRangeListDiffResponse = WithResponse<\n FileGetRangeListHeaders & ShareFileRangeList,\n FileGetRangeListHeaders,\n ShareFileRangeList\n>;\n\n/** Contains response data for the setHttpHeaders operation. */\nexport type FileSetHTTPHeadersResponse = WithResponse<\n FileSetHttpHeadersHeaders,\n FileSetHttpHeadersHeaders\n>;\n\n/** Contains response data for the rename operation. */\nexport type FileRenameResponse = WithResponse<FileRenameHeaders, FileRenameHeaders>;\n\n// explicitly exporting types that we need.\n\nexport type {\n CopyStatusType,\n DeleteSnapshotsOptionType,\n FileDownloadOptionalParams,\n FileGetRangeListHeaders,\n FileLastWrittenMode,\n FileServiceProperties,\n FileUploadRangeFromURLOptionalParams,\n PermissionCopyModeType,\n ListSharesIncludeType,\n FileRange as RangeModel,\n ShareGetAccessPolicyHeaders,\n ShareItemInternal,\n SignedIdentifier as SignedIdentifierModel,\n SourceModifiedAccessConditions,\n FileForceCloseHandlesHeaders,\n DirectoryForceCloseHandlesHeaders,\n DirectoryDeleteHeaders,\n DirectoryListFilesAndDirectoriesSegmentHeaders,\n DirectoryRenameHeaders,\n DirectoryListHandlesHeaders,\n DirectorySetMetadataHeaders,\n FileAbortCopyHeaders,\n FileDeleteHeaders,\n FileGetSymbolicLinkHeaders,\n FilePermissionFormat,\n FileProperty,\n FileListHandlesHeaders,\n FileRenameHeaders,\n CorsRule,\n Metrics,\n ModeCopyMode,\n NfsFileType,\n FileSetMetadataHeaders,\n FileStartCopyHeaders,\n FileUploadRangeFromURLHeaders,\n FileUploadRangeHeaders,\n OwnerCopyMode,\n ServiceGetPropertiesHeaders,\n ListSharesResponse as ListSharesResponseModel,\n RetentionPolicy,\n ServiceGetUserDelegationKeyHeaders,\n ServiceListSharesSegmentHeaders,\n ServiceSetPropertiesHeaders,\n ShareCreatePermissionHeaders,\n ShareCreateHeaders,\n ShareCreateSnapshotHeaders,\n ShareDeleteHeaders,\n SharePermission,\n ShareGetPermissionHeaders,\n ShareGetPropertiesHeaders,\n ShareStats,\n ShareGetStatisticsHeaders,\n SharePropertiesInternal,\n ShareSetAccessPolicyHeaders,\n ShareSetMetadataHeaders,\n ShareSetPropertiesHeaders,\n ShareTokenIntent,\n AccessPolicy,\n LeaseAccessConditions,\n LeaseDurationType,\n LeaseStateType,\n LeaseStatusType,\n CopyFileSmbInfo,\n ShareNfsSettings,\n ShareNfsSettingsEncryptionInTransit,\n ShareProtocolSettings,\n ShareSmbSettings,\n ShareSmbSettingsEncryptionInTransit,\n SmbMultichannel,\n ShareFileRangeList,\n ClearRange,\n ShareAccessTier,\n ShareRootSquash,\n UserDelegationKey as UserDelegationKeyModel,\n} from \"./generated/src/models/index.js\";\n\nexport type {\n FileDownloadResponse as RawFileDownloadResponse,\n FileSetHttpHeadersHeaders as FileSetHTTPHeadersHeaders,\n} from \"./models.js\";\n/** Known values of {@link ShareTokenIntent} that the service accepts. */\nexport enum KnownShareTokenIntent {\n Backup = \"backup\",\n}\n\n/**\n * Contains response data for the setQuota operation.\n */\nexport type ShareSetQuotaResponse = WithResponse<ShareSetQuotaHeaders, ShareSetQuotaHeaders>;\n\n/**\n * Defines headers for setQuota operation.\n */\nexport type ShareSetQuotaHeaders = ShareSetPropertiesHeaders;\n\n/** A listed file item. */\nexport interface FileItem {\n name: string;\n fileId?: string;\n /** File properties. */\n properties: FileProperty;\n attributes?: string;\n permissionKey?: string;\n}\n\n/** A listed directory item. */\nexport interface DirectoryItem {\n name: string;\n fileId?: string;\n /** File properties. */\n properties?: FileProperty;\n attributes?: string;\n permissionKey?: string;\n}\n\n/** Abstract for entries that can be listed from Directory. */\nexport interface FilesAndDirectoriesListSegment {\n directoryItems: DirectoryItem[];\n fileItems: FileItem[];\n}\n\n/** An enumeration of directories and files. */\nexport interface ListFilesAndDirectoriesSegmentResponse {\n serviceEndpoint: string;\n shareName: string;\n shareSnapshot?: string;\n directoryPath: string;\n prefix: string;\n marker?: string;\n maxResults?: number;\n /** Abstract for entries that can be listed from Directory. */\n segment: FilesAndDirectoriesListSegment;\n continuationToken: string;\n directoryId?: string;\n}\n\n/** Defines values for AccessRight. */\nexport type ShareFileHandleAccessRights = \"Read\" | \"Write\" | \"Delete\";\n\n/** A listed Azure Storage handle item. */\nexport interface HandleItem {\n /** XSMB service handle ID */\n handleId: string;\n /** File or directory name including full path starting from share root */\n path: string;\n /** FileId uniquely identifies the file or directory. */\n fileId: string;\n /** ParentId uniquely identifies the parent directory of the object. */\n parentId?: string;\n /** SMB session ID in context of which the file handle was opened */\n sessionId: string;\n /** Client IP that opened the handle */\n clientIp: string;\n /** Name of the client machine where the share is being mounted */\n clientName: string;\n /** Time when the session that previously opened the handle has last been reconnected. (UTC) */\n openTime: Date;\n /** Time handle was last connected to (UTC) */\n lastReconnectTime?: Date;\n accessRightList?: ShareFileHandleAccessRights[];\n}\n\n/** An enumeration of handles. */\nexport interface ListHandlesResponse {\n handleList?: HandleItem[];\n continuationToken: string;\n}\n\n/**\n * Contains response data for the {@link getUserDelegationKey} operation.\n */\nexport declare type ServiceGetUserDelegationKeyResponse = WithResponse<\n UserDelegationKey & ServiceGetUserDelegationKeyHeaders,\n ServiceGetUserDelegationKeyHeaders,\n UserDelegationKeyModel\n>;\n"]}
1
+ {"version":3,"file":"generatedModels.js","sourceRoot":"","sources":["../../src/generatedModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAopBlC,yEAAyE;AACzE,MAAM,CAAN,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAC/B,0CAAiB,CAAA;AACnB,CAAC,EAFW,qBAAqB,KAArB,qBAAqB,QAEhC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { UserDelegationKey } from \"@azure/storage-common\";\nimport type {\n CopyStatusType,\n DirectoryDeleteHeaders,\n DirectoryListFilesAndDirectoriesSegmentHeaders,\n DirectoryListHandlesHeaders,\n DirectoryRenameHeaders,\n DirectorySetMetadataHeaders,\n FileAbortCopyHeaders,\n FileDeleteHeaders,\n FileGetRangeListHeaders,\n FileGetSymbolicLinkHeaders,\n FileListHandlesHeaders,\n FileProperty,\n FileRenameHeaders,\n FileServiceProperties,\n FileSetMetadataHeaders,\n FileStartCopyHeaders,\n FileUploadRangeFromURLHeaders,\n FileUploadRangeHeaders,\n LeaseDurationType,\n LeaseStateType,\n LeaseStatusType,\n ServiceGetPropertiesHeaders,\n ServiceSetPropertiesHeaders,\n ShareCreateHeaders,\n ShareCreatePermissionHeaders,\n ShareCreateSnapshotHeaders,\n ShareDeleteHeaders,\n ShareFileRangeList,\n ShareGetAccessPolicyHeaders,\n ShareGetPermissionHeaders,\n ShareGetPropertiesHeaders,\n ShareGetStatisticsHeaders,\n SharePermission,\n ShareSetAccessPolicyHeaders,\n ShareSetMetadataHeaders,\n ShareStats,\n ShareSetPropertiesHeaders,\n ServiceGetUserDelegationKeyHeaders,\n UserDelegationKey as UserDelegationKeyModel,\n} from \"./generated-classic-models.js\";\nimport type {\n FileDownloadResponse,\n FilePosixProperties,\n FileSetHttpHeadersHeaders,\n} from \"./models.js\";\nimport type { WithResponse } from \"./utils/utils.common.js\";\n\n/** Defines headers for Directory_create operation. */\nexport interface DirectoryCreateHeaders {\n /** The ETag contains a value which represents the version of the directory, in quotes. */\n etag?: string;\n /** Returns the date and time the share was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. */\n isServerEncrypted?: boolean;\n /** Key of the permission set for the directory. */\n filePermissionKey?: string;\n /** Attributes set for the directory. */\n fileAttributes?: string;\n /** Creation time for the directory. */\n fileCreatedOn?: Date;\n /** Last write time for the directory. */\n fileLastWriteOn?: Date;\n /** Change time for the directory. */\n fileChangeOn?: Date;\n /** The fileId of the directory. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the create operation. */\nexport type DirectoryCreateResponse = WithResponse<DirectoryCreateHeaders, DirectoryCreateHeaders>;\n\n/** Contains response data for the delete operation. */\nexport type DirectoryDeleteResponse = WithResponse<DirectoryDeleteHeaders, DirectoryDeleteHeaders>;\n\n/** Defines headers for Directory_getProperties operation. */\nexport interface DirectoryGetPropertiesHeaders {\n /** A set of name-value pairs that contain metadata for the directory. */\n metadata?: { [propertyName: string]: string };\n /** The ETag contains a value that you can use to perform operations conditionally, in quotes. */\n etag?: string;\n /** Returns the date and time the Directory was last modified. Operations on files within the directory do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** The value of this header is set to true if the directory metadata is completely encrypted using the specified algorithm. Otherwise, the value is set to false. */\n isServerEncrypted?: boolean;\n /** Attributes set for the directory. */\n fileAttributes?: string;\n /** Creation time for the directory. */\n fileCreatedOn?: Date;\n /** Last write time for the directory. */\n fileLastWriteOn?: Date;\n /** Change time for the directory. */\n fileChangeOn?: Date;\n /** Key of the permission set for the directory. */\n filePermissionKey?: string;\n /** The fileId of the directory. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the getProperties operation. */\nexport type DirectoryGetPropertiesResponse = WithResponse<\n DirectoryGetPropertiesHeaders,\n DirectoryGetPropertiesHeaders\n>;\n\n/** Contains response data for the listFilesAndDirectoriesSegment operation. */\nexport type DirectoryListFilesAndDirectoriesSegmentResponse = WithResponse<\n DirectoryListFilesAndDirectoriesSegmentHeaders & ListFilesAndDirectoriesSegmentResponse,\n DirectoryListFilesAndDirectoriesSegmentHeaders,\n ListFilesAndDirectoriesSegmentResponse\n>;\n\n/** Contains response data for the listHandles operation. */\nexport type DirectoryListHandlesResponse = WithResponse<\n DirectoryListHandlesHeaders & ListHandlesResponse,\n DirectoryListHandlesHeaders,\n ListHandlesResponse\n>;\n\n/** Contains response data for the setMetadata operation. */\nexport type DirectorySetMetadataResponse = WithResponse<\n DirectorySetMetadataHeaders,\n DirectorySetMetadataHeaders\n>;\n\n/** Defines headers for Directory_setProperties operation. */\nexport interface DirectorySetPropertiesHeaders {\n /** The ETag contains a value which represents the version of the file, in quotes. */\n etag?: string;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Returns the date and time the directory was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. */\n isServerEncrypted?: boolean;\n /** Key of the permission set for the directory. */\n filePermissionKey?: string;\n /** Attributes set for the directory. */\n fileAttributes?: string;\n /** Creation time for the directory. */\n fileCreatedOn?: Date;\n /** Last write time for the directory. */\n fileLastWriteOn?: Date;\n /** Change time for the directory. */\n fileChangeOn?: Date;\n /** The fileId of the directory. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the setProperties operation. */\nexport type DirectorySetPropertiesResponse = WithResponse<\n DirectorySetPropertiesHeaders,\n DirectorySetPropertiesHeaders\n>;\n\n/** Contains response data for the abortCopy operation. */\nexport type FileAbortCopyResponse = WithResponse<FileAbortCopyHeaders, FileAbortCopyHeaders>;\n\n/** Defines headers for File_create operation. */\nexport interface FileCreateHeaders {\n /** The ETag contains a value which represents the version of the file, in quotes. */\n etag?: string;\n /** Returns the date and time the share was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. */\n isServerEncrypted?: boolean;\n /** Key of the permission set for the file. */\n filePermissionKey?: string;\n /** Attributes set for the file. */\n fileAttributes?: string;\n /** Creation time for the file. */\n fileCreatedOn?: Date;\n /** Last write time for the file. */\n fileLastWriteOn?: Date;\n /** Change time for the file. */\n fileChangeOn?: Date;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the file. */\n fileParentId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Indicates the structured message body was accepted and mirrors back the message schema version and properties. */\n structuredBodyType?: string;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the create operation. */\nexport type FileCreateResponse = WithResponse<FileCreateHeaders, FileCreateHeaders>;\n\n/** Contains response data for the delete operation. */\nexport type FileDeleteResponse = WithResponse<FileDeleteHeaders, FileDeleteHeaders>;\n\n/** Defines headers for File_createHardLink operation. */\nexport interface FileCreateHardLinkHeaders {\n /** The ETag contains a value which represents the version of the file, in quotes. */\n etag?: string;\n /** Returns the date and time the share was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** Creation time for the file. */\n fileCreationTime?: Date;\n /** Last write time for the file. */\n fileLastWriteTime?: Date;\n /** Change time for the file. */\n fileChangeTime?: Date;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n}\n\n/** Contains response data for the create hard link operation. */\nexport type FileCreateHardLinkResponse = WithResponse<\n FileCreateHardLinkHeaders,\n FileCreateHardLinkHeaders\n>;\n\n/** Defines headers for File_createSymbolicLink operation. */\nexport interface FileCreateSymbolicLinkHeaders {\n /** The ETag contains a value which represents the version of the file, in quotes. */\n etag?: string;\n /** Returns the date and time the share was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** Creation time for the file. */\n fileCreationTime?: Date;\n /** Last write time for the file. */\n fileLastWriteTime?: Date;\n /** Change time for the file. */\n fileChangeTime?: Date;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n}\n\n/** Contains response data for the create hard link operation. */\nexport type FileCreateSymbolicLinkResponse = WithResponse<\n FileCreateSymbolicLinkHeaders,\n FileCreateSymbolicLinkHeaders\n>;\n\n/** Contains response data for the create hard link operation. */\nexport type FileGetSymbolicLinkResponse = WithResponse<\n FileGetSymbolicLinkHeaders,\n FileGetSymbolicLinkHeaders\n>;\n\n/** Defines headers for File_getProperties operation. */\nexport interface FileGetPropertiesHeaders {\n /** Returns the date and time the file was last modified. The date format follows RFC 1123. Any operation that modifies the file or its properties updates the last modified time. */\n lastModified?: Date;\n /** A set of name-value pairs associated with this file as user-defined metadata. */\n metadata?: { [propertyName: string]: string };\n /** Returns the type File. Reserved for future use. */\n fileType?: string;\n /** The size of the file in bytes. This header returns the value of the 'x-ms-content-length' header that is stored with the file. */\n contentLength?: number;\n /** The content type specified for the file. The default content type is 'application/octet-stream' */\n contentType?: string;\n /** The ETag contains a value that you can use to perform operations conditionally, in quotes. */\n etag?: string;\n /** If the Content-MD5 header has been set for the file, the Content-MD5 response header is returned so that the client can check for message content integrity. */\n contentMD5?: Uint8Array;\n /** If the Content-Encoding request header has previously been set for the file, the Content-Encoding value is returned in this header. */\n contentEncoding?: string;\n /** If the Cache-Control request header has previously been set for the file, the Cache-Control value is returned in this header. */\n cacheControl?: string;\n /** Returns the value that was specified for the 'x-ms-content-disposition' header and specifies how to process the response. */\n contentDisposition?: string;\n /** Returns the value that was specified for the Content-Language request header. */\n contentLanguage?: string;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** Conclusion time of the last attempted Copy File operation where this file was the destination file. This value can specify the time of a completed, aborted, or failed copy attempt. */\n copyCompletedOn?: Date;\n /** Only appears when x-ms-copy-status is failed or pending. Describes cause of fatal or non-fatal copy operation failure. */\n copyStatusDescription?: string;\n /** String identifier for the last attempted Copy File operation where this file was the destination file. */\n copyId?: string;\n /** Contains the number of bytes copied and the total bytes in the source in the last attempted Copy File operation where this file was the destination file. Can show between 0 and Content-Length bytes copied. */\n copyProgress?: string;\n /** URL up to 2KB in length that specifies the source file used in the last attempted Copy File operation where this file was the destination file. */\n copySource?: string;\n /** State of the copy operation identified by 'x-ms-copy-id'. */\n copyStatus?: CopyStatusType;\n /** The value of this header is set to true if the file data and application metadata are completely encrypted using the specified algorithm. Otherwise, the value is set to false (when the file is unencrypted, or if only parts of the file/application metadata are encrypted). */\n isServerEncrypted?: boolean;\n /** Attributes set for the file. */\n fileAttributes?: string;\n /** Creation time for the file. */\n fileCreatedOn?: Date;\n /** Last write time for the file. */\n fileLastWriteOn?: Date;\n /** Change time for the file. */\n fileChangeOn?: Date;\n /** Key of the permission set for the file. */\n filePermissionKey?: string;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the file. */\n fileParentId?: string;\n /** When a file is leased, specifies whether the lease is of infinite or fixed duration. */\n leaseDuration?: LeaseDurationType;\n /** Lease state of the file. */\n leaseState?: LeaseStateType;\n /** The current lease status of the file. */\n leaseStatus?: LeaseStatusType;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the getProperties operation. */\nexport type FileGetPropertiesResponse = WithResponse<\n FileGetPropertiesHeaders,\n FileGetPropertiesHeaders\n>;\n\n/** Contains response data for the listHandles operation. */\nexport type FileListHandlesResponse = WithResponse<\n FileListHandlesHeaders & ListHandlesResponse,\n FileListHandlesHeaders,\n ListHandlesResponse\n>;\n\n/** Contains response data for the setMetadata operation. */\nexport type FileSetMetadataResponse = WithResponse<FileSetMetadataHeaders, FileSetMetadataHeaders>;\n\n/** Contains response data for the startCopy operation. */\nexport type FileStartCopyResponse = WithResponse<FileStartCopyHeaders, FileStartCopyHeaders>;\n\n/** Contains response data for the uploadRange operation. */\nexport type FileUploadRangeResponse = WithResponse<FileUploadRangeHeaders, FileUploadRangeHeaders>;\n\n/** Contains response data for the getProperties operation. */\nexport type ServiceGetPropertiesResponse = WithResponse<\n ServiceGetPropertiesHeaders & FileServiceProperties,\n ServiceGetPropertiesHeaders,\n FileServiceProperties\n>;\n\n/** Contains response data for the setProperties operation. */\nexport type ServiceSetPropertiesResponse = WithResponse<\n ServiceSetPropertiesHeaders,\n ServiceSetPropertiesHeaders\n>;\n\n/** Contains response data for the createPermission operation. */\nexport type ShareCreatePermissionResponse = WithResponse<\n ShareCreatePermissionHeaders,\n ShareCreatePermissionHeaders\n>;\n\n/** Contains response data for the create operation. */\nexport type ShareCreateResponse = WithResponse<ShareCreateHeaders, ShareCreateHeaders>;\n\n/** Contains response data for the createSnapshot operation. */\nexport type ShareCreateSnapshotResponse = WithResponse<\n ShareCreateSnapshotHeaders,\n ShareCreateSnapshotHeaders\n>;\n\n/** Contains response data for the delete operation. */\nexport type ShareDeleteResponse = WithResponse<ShareDeleteHeaders, ShareDeleteHeaders>;\n\n/** Contains response data for the getPermission operation. */\nexport type ShareGetPermissionResponse = WithResponse<\n ShareGetPermissionHeaders & SharePermission,\n ShareGetPermissionHeaders,\n SharePermission\n>;\n\n/** Contains response data for the setAccessPolicy operation. */\nexport type ShareSetAccessPolicyResponse = WithResponse<\n ShareSetAccessPolicyHeaders,\n ShareGetAccessPolicyHeaders\n>;\n\n/** Contains response data for the setMetadata operation. */\nexport type ShareSetMetadataResponse = WithResponse<\n ShareSetMetadataHeaders,\n ShareSetMetadataHeaders\n>;\n\n/** Contains response data for the setProperties operation. */\nexport type ShareSetPropertiesResponse = WithResponse<\n ShareSetPropertiesHeaders,\n ShareSetPropertiesHeaders\n>;\n\n/** Contains response data for the rename operation. */\nexport type DirectoryRenameResponse = WithResponse<DirectoryRenameHeaders, DirectoryRenameHeaders>;\n\n/** Defines headers for File_download operation. */\nexport interface FileDownloadHeaders {\n /** Returns the date and time the file was last modified. Any operation that modifies the file or its properties updates the last modified time. */\n lastModified?: Date;\n /** A set of name-value pairs associated with this file as user-defined metadata. */\n metadata?: { [propertyName: string]: string };\n /** The number of bytes present in the response body. */\n contentLength?: number;\n /** The content type specified for the file. The default content type is 'application/octet-stream' */\n contentType?: string;\n /** Indicates the range of bytes returned if the client requested a subset of the file by setting the Range request header. */\n contentRange?: string;\n /** The ETag contains a value that you can use to perform operations conditionally, in quotes. */\n etag?: string;\n /** If the file has an MD5 hash and the request is to read the full file, this response header is returned so that the client can check for message content integrity. If the request is to read a specified range and the 'x-ms-range-get-content-md5' is set to true, then the request returns an MD5 hash for the range, as long as the range size is less than or equal to 4 MB. If neither of these sets of conditions is true, then no value is returned for the 'Content-MD5' header. */\n contentMD5?: Uint8Array;\n /** Returns the value that was specified for the Content-Encoding request header. */\n contentEncoding?: string;\n /** Returned if it was previously specified for the file. */\n cacheControl?: string;\n /** Returns the value that was specified for the 'x-ms-content-disposition' header and specifies how to process the response. */\n contentDisposition?: string;\n /** Returns the value that was specified for the Content-Language request header. */\n contentLanguage?: string;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** Indicates that the service supports requests for partial file content. */\n acceptRanges?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** Conclusion time of the last attempted Copy File operation where this file was the destination file. This value can specify the time of a completed, aborted, or failed copy attempt. */\n copyCompletedOn?: Date;\n /** Only appears when x-ms-copy-status is failed or pending. Describes cause of fatal or non-fatal copy operation failure. */\n copyStatusDescription?: string;\n /** String identifier for the last attempted Copy File operation where this file was the destination file. */\n copyId?: string;\n /** Contains the number of bytes copied and the total bytes in the source in the last attempted Copy File operation where this file was the destination file. Can show between 0 and Content-Length bytes copied. */\n copyProgress?: string;\n /** URL up to 2KB in length that specifies the source file used in the last attempted Copy File operation where this file was the destination file. */\n copySource?: string;\n /** State of the copy operation identified by 'x-ms-copy-id'. */\n copyStatus?: CopyStatusType;\n /** If the file has a MD5 hash, and if request contains range header (Range or x-ms-range), this response header is returned with the value of the whole file's MD5 value. This value may or may not be equal to the value returned in Content-MD5 header, with the latter calculated from the requested range. */\n fileContentMD5?: Uint8Array;\n /** The value of this header is set to true if the file data and application metadata are completely encrypted using the specified algorithm. Otherwise, the value is set to false (when the file is unencrypted, or if only parts of the file/application metadata are encrypted). */\n isServerEncrypted?: boolean;\n /** Attributes set for the file. */\n fileAttributes?: string;\n /** Creation time for the file. */\n fileCreatedOn?: Date;\n /** Last write time for the file. */\n fileLastWriteOn?: Date;\n /** Change time for the file. */\n fileChangeOn?: Date;\n /** Key of the permission set for the file. */\n filePermissionKey?: string;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the file. */\n fileParentId?: string;\n /** When a file is leased, specifies whether the lease is of infinite or fixed duration. */\n leaseDuration?: LeaseDurationType;\n /** Lease state of the file. */\n leaseState?: LeaseStateType;\n /** The current lease status of the file. */\n leaseStatus?: LeaseStatusType;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Indicates the response body contains a structured message and specifies the message schema version and properties. */\n structuredBodyType?: string;\n /** The length of the blob/file content inside the message body when the response body is returned as a structured message. Will always be smaller than Content-Length. */\n structuredContentLength?: number;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the download operation. */\nexport type FileDownloadResponseModel = WithResponse<FileDownloadResponse, FileDownloadHeaders>;\n\n/** Contains response data for the uploadRangeFromURL operation. */\nexport type FileUploadRangeFromURLResponse = WithResponse<\n FileUploadRangeFromURLHeaders,\n FileUploadRangeFromURLHeaders\n>;\n\n/** Contains response data for the getProperties operation. */\nexport type ShareGetPropertiesResponseModel = WithResponse<\n ShareGetPropertiesHeaders,\n ShareGetPropertiesHeaders\n>;\n\n/** Contains response data for the getStatistics operation. */\nexport type ShareGetStatisticsResponseModel = WithResponse<\n ShareGetStatisticsHeaders & ShareStats,\n ShareGetStatisticsHeaders,\n ShareStats\n>;\n\n/** Contains response data for the getRangeList operation. */\nexport type FileGetRangeListDiffResponse = WithResponse<\n FileGetRangeListHeaders & ShareFileRangeList,\n FileGetRangeListHeaders,\n ShareFileRangeList\n>;\n\n/** Contains response data for the setHttpHeaders operation. */\nexport type FileSetHTTPHeadersResponse = WithResponse<\n FileSetHttpHeadersHeaders,\n FileSetHttpHeadersHeaders\n>;\n\n/** Contains response data for the rename operation. */\nexport type FileRenameResponse = WithResponse<FileRenameHeaders, FileRenameHeaders>;\n\n// explicitly exporting types that we need.\n\nexport type {\n CopyStatusType,\n DeleteSnapshotsOptionType,\n FileGetRangeListHeaders,\n FileLastWrittenMode,\n FileServiceProperties,\n PermissionCopyModeType,\n ListSharesIncludeType,\n FileRange as RangeModel,\n ShareGetAccessPolicyHeaders,\n ShareItemInternal,\n SignedIdentifier as SignedIdentifierModel,\n SourceModifiedAccessConditions,\n FileForceCloseHandlesHeaders,\n DirectoryForceCloseHandlesHeaders,\n DirectoryDeleteHeaders,\n DirectoryListFilesAndDirectoriesSegmentHeaders,\n DirectoryRenameHeaders,\n DirectoryListHandlesHeaders,\n DirectorySetMetadataHeaders,\n FileAbortCopyHeaders,\n FileDeleteHeaders,\n FileGetSymbolicLinkHeaders,\n FilePermissionFormat,\n FileProperty,\n FileListHandlesHeaders,\n FileRenameHeaders,\n CorsRule,\n Metrics,\n ModeCopyMode,\n NfsFileType,\n FileSetMetadataHeaders,\n FileStartCopyHeaders,\n FileUploadRangeFromURLHeaders,\n FileUploadRangeHeaders,\n OwnerCopyMode,\n ServiceGetPropertiesHeaders,\n ListSharesResponse as ListSharesResponseModel,\n RetentionPolicy,\n ServiceGetUserDelegationKeyHeaders,\n ServiceListSharesSegmentHeaders,\n ServiceSetPropertiesHeaders,\n ShareCreatePermissionHeaders,\n ShareCreateHeaders,\n ShareCreateSnapshotHeaders,\n ShareDeleteHeaders,\n SharePermission,\n ShareGetPermissionHeaders,\n ShareGetPropertiesHeaders,\n ShareStats,\n ShareGetStatisticsHeaders,\n SharePropertiesInternal,\n ShareSetAccessPolicyHeaders,\n ShareSetMetadataHeaders,\n ShareSetPropertiesHeaders,\n ShareTokenIntent,\n AccessPolicy,\n LeaseAccessConditions,\n LeaseDurationType,\n LeaseStateType,\n LeaseStatusType,\n CopyFileSmbInfo,\n ShareNfsSettings,\n ShareNfsSettingsEncryptionInTransit,\n ShareProtocolSettings,\n ShareSmbSettings,\n ShareSmbSettingsEncryptionInTransit,\n SmbMultichannel,\n ShareFileRangeList,\n ClearRange,\n ShareAccessTier,\n ShareRootSquash,\n UserDelegationKey as UserDelegationKeyModel,\n} from \"./generated-classic-models.js\";\n\nexport type {\n FileDownloadResponse as RawFileDownloadResponse,\n FileSetHttpHeadersHeaders as FileSetHTTPHeadersHeaders,\n} from \"./models.js\";\n/** Known values of {@link ShareTokenIntent} that the service accepts. */\nexport enum KnownShareTokenIntent {\n Backup = \"backup\",\n}\n\n/**\n * Contains response data for the setQuota operation.\n */\nexport type ShareSetQuotaResponse = WithResponse<ShareSetQuotaHeaders, ShareSetQuotaHeaders>;\n\n/**\n * Defines headers for setQuota operation.\n */\nexport type ShareSetQuotaHeaders = ShareSetPropertiesHeaders;\n\n/** A listed file item. */\nexport interface FileItem {\n name: string;\n fileId?: string;\n /** File properties. */\n properties: FileProperty;\n attributes?: string;\n permissionKey?: string;\n}\n\n/** A listed directory item. */\nexport interface DirectoryItem {\n name: string;\n fileId?: string;\n /** File properties. */\n properties?: FileProperty;\n attributes?: string;\n permissionKey?: string;\n}\n\n/** Abstract for entries that can be listed from Directory. */\nexport interface FilesAndDirectoriesListSegment {\n directoryItems: DirectoryItem[];\n fileItems: FileItem[];\n}\n\n/** An enumeration of directories and files. */\nexport interface ListFilesAndDirectoriesSegmentResponse {\n serviceEndpoint: string;\n shareName: string;\n shareSnapshot?: string;\n directoryPath: string;\n prefix: string;\n marker?: string;\n maxResults?: number;\n /** Abstract for entries that can be listed from Directory. */\n segment: FilesAndDirectoriesListSegment;\n continuationToken: string;\n directoryId?: string;\n}\n\n/** Defines values for AccessRight. */\nexport type ShareFileHandleAccessRights = \"Read\" | \"Write\" | \"Delete\";\n\n/**\n * A range of bytes within an Azure file, as returned by {@link ShareFileClient.listRanges}\n * and {@link ShareFileClient.listRangesDiff}.\n */\nexport interface ShareFileRange {\n /**\n * Start byte position of the range.\n */\n start: number;\n /**\n * End byte position of the range, inclusive.\n */\n end: number;\n /**\n * Indicates whether this range is a cleared range (`true`) or a valid data range (`false`).\n * When listing ranges via {@link ShareFileClient.listRanges}, this is always `false`.\n */\n isClear: boolean;\n}\n\n/** A listed Azure Storage handle item. */\nexport interface HandleItem {\n /** XSMB service handle ID */\n handleId: string;\n /** File or directory name including full path starting from share root */\n path: string;\n /** FileId uniquely identifies the file or directory. */\n fileId: string;\n /** ParentId uniquely identifies the parent directory of the object. */\n parentId?: string;\n /** SMB session ID in context of which the file handle was opened */\n sessionId: string;\n /** Client IP that opened the handle */\n clientIp: string;\n /** Name of the client machine where the share is being mounted */\n clientName: string;\n /** Time when the session that previously opened the handle has last been reconnected. (UTC) */\n openTime: Date;\n /** Time handle was last connected to (UTC) */\n lastReconnectTime?: Date;\n accessRightList?: ShareFileHandleAccessRights[];\n}\n\n/** An enumeration of handles. */\nexport interface ListHandlesResponse {\n handleList?: HandleItem[];\n continuationToken: string;\n}\n\n/**\n * Contains response data for the {@link getUserDelegationKey} operation.\n */\nexport declare type ServiceGetUserDelegationKeyResponse = WithResponse<\n UserDelegationKey & ServiceGetUserDelegationKeyHeaders,\n ServiceGetUserDelegationKeyHeaders,\n UserDelegationKeyModel\n>;\n"]}
@@ -1,4 +1,4 @@
1
- import { RestError } from "@azure/core-rest-pipeline";
1
+ import { RestError, isRestError } from "@azure/core-rest-pipeline";
2
2
  export * from "./AccountSASPermissions.js";
3
3
  export * from "./AccountSASResourceTypes.js";
4
4
  export * from "./AccountSASServices.js";
@@ -19,6 +19,6 @@ export * from "./SASQueryParameters.js";
19
19
  export type { CommonOptions } from "./StorageClient.js";
20
20
  export * from "./generatedModels.js";
21
21
  export type { WithResponse, ResponseLike, ResponseWithBody, ResponseWithHeaders, HttpResponse, } from "./utils/utils.common.js";
22
- export { RestError };
22
+ export { RestError, isRestError };
23
23
  export { logger } from "./log.js";
24
24
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.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EAChB,mBAAmB,EACnB,YAAY,GACb,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
- import { RestError } from "@azure/core-rest-pipeline";
3
+ import { RestError, isRestError } from "@azure/core-rest-pipeline";
4
4
  export * from "./AccountSASPermissions.js";
5
5
  export * from "./AccountSASResourceTypes.js";
6
6
  export * from "./AccountSASServices.js";
@@ -17,6 +17,6 @@ export { Pipeline, isPipelineLike, newPipeline, StorageOAuthScopes, } from "./Pi
17
17
  export * from "./ShareServiceClient.js";
18
18
  export * from "./SASQueryParameters.js";
19
19
  export * from "./generatedModels.js";
20
- export { RestError };
20
+ export { RestError, isRestError };
21
21
  export { logger } from "./log.js";
22
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAEL,iCAAiC,GAClC,MAAM,gCAAgC,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,qBAAqB,EACrB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,8BAA8B,GAC/B,MAAM,6BAA6B,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EACL,mBAAmB,EACnB,UAAU,EACV,0BAA0B,EAC1B,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAEhB,sBAAsB,EACtB,kBAAkB,EAClB,yBAAyB,EACzB,gCAAgC,EAChC,2BAA2B,GAG5B,MAAM,uBAAuB,CAAC;AAI/B,OAAO,EAgBL,mBAAmB,EACnB,6BAA6B,GAE9B,MAAM,aAAa,CAAC;AACrB,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EACL,QAAQ,EAGR,cAAc,EACd,WAAW,EAUX,kBAAkB,GAEnB,MAAM,eAAe,CAAC;AACvB,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AAExC,cAAc,sBAAsB,CAAC;AAQrC,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { RestError } from \"@azure/core-rest-pipeline\";\n\nexport * from \"./AccountSASPermissions.js\";\nexport * from \"./AccountSASResourceTypes.js\";\nexport * from \"./AccountSASServices.js\";\nexport {\n type AccountSASSignatureValues,\n generateAccountSASQueryParameters,\n} from \"./AccountSASSignatureValues.js\";\nexport * from \"./FileSASPermissions.js\";\nexport {\n parseOctalFileMode,\n toOctalFileMode,\n parseSymbolicFileMode,\n toSymbolicFileMode,\n} from \"./utils/utils.common.js\";\nexport {\n type FileSASSignatureValues,\n generateFileSASQueryParameters,\n} from \"./FileSASSignatureValues.js\";\nexport * from \"./Clients.js\";\nexport * from \"./ShareSASPermissions.js\";\n\nexport {\n AnonymousCredential,\n Credential,\n StorageSharedKeyCredential,\n BaseRequestPolicy,\n AnonymousCredentialPolicy,\n CredentialPolicy,\n type StorageRetryOptions,\n StorageRetryPolicyType,\n StorageRetryPolicy,\n StorageRetryPolicyFactory,\n StorageSharedKeyCredentialPolicy,\n StorageBrowserPolicyFactory,\n type UserDelegationKey,\n type CredentialPolicyCreator,\n} from \"@azure/storage-common\";\n\nexport type { SasIPRange } from \"./SasIPRange.js\";\nexport type { Range } from \"./Range.js\";\nexport {\n type FileAndDirectoryCreateCommonOptions,\n type FileAndDirectorySetPropertiesCommonOptions,\n type FileHttpHeaders,\n type FilePermissionInheritType,\n type FilePermissionPreserveType,\n type PosixRolePermissions,\n type NfsFileMode,\n type FilePosixProperties,\n type Metadata,\n type TimeNowType,\n type TimePreserveType,\n type FileAttributesPreserveType,\n type CloseHandlesInfo,\n type ShareProtocols,\n type HttpAuthorization,\n StorageFileAudience,\n getFileServiceAccountAudience,\n type StorageChecksumAlgorithm,\n} from \"./models.js\";\nexport * from \"./FileSystemAttributes.js\";\nexport {\n Pipeline,\n type PipelineLike,\n type PipelineOptions,\n isPipelineLike,\n newPipeline,\n type StoragePipelineOptions,\n type RequestPolicyFactory,\n type RequestPolicy,\n type RequestPolicyOptions,\n type WebResource,\n type HttpOperationResponse,\n type HttpHeaders,\n type HttpRequestBody,\n type IHttpClient,\n StorageOAuthScopes,\n type ServiceClientOptions,\n} from \"./Pipeline.js\";\nexport * from \"./ShareServiceClient.js\";\nexport * from \"./SASQueryParameters.js\";\nexport type { CommonOptions } from \"./StorageClient.js\";\nexport * from \"./generatedModels.js\";\nexport type {\n WithResponse,\n ResponseLike,\n ResponseWithBody,\n ResponseWithHeaders,\n HttpResponse,\n} from \"./utils/utils.common.js\";\nexport { RestError };\nexport { logger } from \"./log.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAEnE,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAEL,iCAAiC,GAClC,MAAM,gCAAgC,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,qBAAqB,EACrB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,8BAA8B,GAC/B,MAAM,6BAA6B,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EACL,mBAAmB,EACnB,UAAU,EACV,0BAA0B,EAC1B,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAEhB,sBAAsB,EACtB,kBAAkB,EAClB,yBAAyB,EACzB,gCAAgC,EAChC,2BAA2B,GAG5B,MAAM,uBAAuB,CAAC;AAI/B,OAAO,EAgBL,mBAAmB,EACnB,6BAA6B,GAE9B,MAAM,aAAa,CAAC;AACrB,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EACL,QAAQ,EAGR,cAAc,EACd,WAAW,EAUX,kBAAkB,GAEnB,MAAM,eAAe,CAAC;AACvB,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AAExC,cAAc,sBAAsB,CAAC;AAQrC,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { RestError, isRestError } from \"@azure/core-rest-pipeline\";\n\nexport * from \"./AccountSASPermissions.js\";\nexport * from \"./AccountSASResourceTypes.js\";\nexport * from \"./AccountSASServices.js\";\nexport {\n type AccountSASSignatureValues,\n generateAccountSASQueryParameters,\n} from \"./AccountSASSignatureValues.js\";\nexport * from \"./FileSASPermissions.js\";\nexport {\n parseOctalFileMode,\n toOctalFileMode,\n parseSymbolicFileMode,\n toSymbolicFileMode,\n} from \"./utils/utils.common.js\";\nexport {\n type FileSASSignatureValues,\n generateFileSASQueryParameters,\n} from \"./FileSASSignatureValues.js\";\nexport * from \"./Clients.js\";\nexport * from \"./ShareSASPermissions.js\";\n\nexport {\n AnonymousCredential,\n Credential,\n StorageSharedKeyCredential,\n BaseRequestPolicy,\n AnonymousCredentialPolicy,\n CredentialPolicy,\n type StorageRetryOptions,\n StorageRetryPolicyType,\n StorageRetryPolicy,\n StorageRetryPolicyFactory,\n StorageSharedKeyCredentialPolicy,\n StorageBrowserPolicyFactory,\n type UserDelegationKey,\n type CredentialPolicyCreator,\n} from \"@azure/storage-common\";\n\nexport type { SasIPRange } from \"./SasIPRange.js\";\nexport type { Range } from \"./Range.js\";\nexport {\n type FileAndDirectoryCreateCommonOptions,\n type FileAndDirectorySetPropertiesCommonOptions,\n type FileHttpHeaders,\n type FilePermissionInheritType,\n type FilePermissionPreserveType,\n type PosixRolePermissions,\n type NfsFileMode,\n type FilePosixProperties,\n type Metadata,\n type TimeNowType,\n type TimePreserveType,\n type FileAttributesPreserveType,\n type CloseHandlesInfo,\n type ShareProtocols,\n type HttpAuthorization,\n StorageFileAudience,\n getFileServiceAccountAudience,\n type StorageChecksumAlgorithm,\n} from \"./models.js\";\nexport * from \"./FileSystemAttributes.js\";\nexport {\n Pipeline,\n type PipelineLike,\n type PipelineOptions,\n isPipelineLike,\n newPipeline,\n type StoragePipelineOptions,\n type RequestPolicyFactory,\n type RequestPolicy,\n type RequestPolicyOptions,\n type WebResource,\n type HttpOperationResponse,\n type HttpHeaders,\n type HttpRequestBody,\n type IHttpClient,\n StorageOAuthScopes,\n type ServiceClientOptions,\n} from \"./Pipeline.js\";\nexport * from \"./ShareServiceClient.js\";\nexport * from \"./SASQueryParameters.js\";\nexport type { CommonOptions } from \"./StorageClient.js\";\nexport * from \"./generatedModels.js\";\nexport type {\n WithResponse,\n ResponseLike,\n ResponseWithBody,\n ResponseWithHeaders,\n HttpResponse,\n} from \"./utils/utils.common.js\";\nexport { RestError, isRestError };\nexport { logger } from \"./log.js\";\n"]}
@@ -3,6 +3,9 @@ import type { FilePermissionFormat, NfsFileType, ShareTokenIntent } from "./gene
3
3
  import type { StoragePipelineOptions } from "./Pipeline.js";
4
4
  import type { FileDownloadHeaders } from "./generatedModels.js";
5
5
  import type { NodeJSReadableStream } from "@azure/storage-common";
6
+ import type { RawHttpHeaders } from "@azure/core-rest-pipeline";
7
+ export declare function rawHeadersToMetadata(rawHeaders: RawHttpHeaders): Metadata;
8
+ export declare function metadataToRawHeaders(metadata: Metadata | undefined): RawHttpHeaders;
6
9
  export interface Metadata {
7
10
  [propertyName: string]: string;
8
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAGjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAChG,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAElE,MAAM,WAAW,QAAQ;IACvB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,KAAK,EAAE,oBAAoB,CAAC;IAE5B;;OAEG;IACH,KAAK,EAAE,oBAAoB,CAAC;IAE5B;;OAEG;IACH,KAAK,EAAE,oBAAoB,CAAC;IAE5B;;OAEG;IACH,qBAAqB,EAAE,OAAO,CAAC;IAE/B;;OAEG;IACH,sBAAsB,EAAE,OAAO,CAAC;IAEhC;;;OAGG;IACH,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;;;;IAKI;AACJ,MAAM,WAAW,mBAAmB;IAClC,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2DAA2D;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC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;AAED,wBAAgB,6BAA6B,CAC3C,cAAc,CAAC,EAAE,MAAM,EACvB,iBAAiB,CAAC,EAAE,MAAM,GACzB,IAAI,CAIN;AAED,wBAAgB,4DAA4D,CAC1E,OAAO,EAAE,mCAAmC,GAC3C,mCAAmC,CAUrC;AAED,wBAAgB,mEAAmE,CACjF,OAAO,EAAE,0CAA0C,GAClD,0CAA0C,CAU5C;AAED,wBAAgB,sBAAsB,CACpC,cAAc,EAAE,oBAAoB,GAAG,0BAA0B,GAChE,MAAM,CAIR;AAED,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,IAAI,GAAG,WAAW,GAAG,gBAAgB,GAAG,SAAS,GACtD,MAAM,GAAG,SAAS,CAEpB;AAED,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,IAAI,GAAG,WAAW,GAAG,gBAAgB,GAAG,SAAS,GACtD,MAAM,GAAG,SAAS,CAEpB;AAED,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,IAAI,GAAG,WAAW,GAAG,gBAAgB,GAAG,SAAS,GACtD,MAAM,GAAG,SAAS,CAEpB;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,oBAAY,mBAAmB;IAC7B;;OAEG;IACH,kBAAkB,uCAAuC;CAC1D;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,kBAAkB,EAAE,MAAM,GAAG,MAAM,CAEhF"}
@@ -3,6 +3,26 @@
3
3
  import { FileSystemAttributes } from "./FileSystemAttributes.js";
4
4
  import { truncatedISO8061Date } from "./utils/utils.common.js";
5
5
  import { logger } from "./log.js";
6
+ const xMsMetaPrefix = "x-ms-meta-";
7
+ export function rawHeadersToMetadata(rawHeaders) {
8
+ const metadata = {};
9
+ for (const key of Object.keys(rawHeaders)) {
10
+ if (key.toLowerCase().startsWith(xMsMetaPrefix)) {
11
+ const metadataKey = key.substring(xMsMetaPrefix.length);
12
+ metadata[metadataKey] = rawHeaders[key];
13
+ }
14
+ }
15
+ return metadata;
16
+ }
17
+ export function metadataToRawHeaders(metadata) {
18
+ const metadataHeaders = {};
19
+ if (metadata) {
20
+ for (const key of Object.keys(metadata)) {
21
+ metadataHeaders[`${xMsMetaPrefix}${key.toLowerCase()}`] = metadata[key];
22
+ }
23
+ }
24
+ return metadataHeaders;
25
+ }
6
26
  /**
7
27
  * Convert protocols from joined string to ShareProtocols.
8
28
  *
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAyXlC;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAAC,eAAwB;IACvD,IAAI,eAAe,KAAK,SAAS,EAAE,CAAC;QAClC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,gBAAgB,GAAG,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACpD,MAAM,SAAS,GAAmB,EAAE,CAAC;IACrC,KAAK,MAAM,QAAQ,IAAI,gBAAgB,EAAE,CAAC;QACxC,IAAI,QAAQ,KAAK,KAAK,EAAE,CAAC;YACvB,SAAS,CAAC,UAAU,GAAG,IAAI,CAAC;QAC9B,CAAC;aAAM,IAAI,QAAQ,KAAK,KAAK,EAAE,CAAC;YAC9B,SAAS,CAAC,UAAU,GAAG,IAAI,CAAC;QAC9B,CAAC;IACH,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,sBAAsB,CAAC,YAA4B,EAAE;IACnE,IAAI,WAAW,GAAG,SAAS,CAAC;IAE5B,IAAI,S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ClE,CAAC;AAED,MAAM,UAAU,yBAAyB,CACvC,IAAuD;IAEvD,OAAO,IAAI,YAAY,IAAI,CAAC,CAAC,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,sBAAsB,CACpC,IAAuD;IAEvD,OAAO,IAAI,YAAY,IAAI,CAAC,CAAC,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAClE,CAAC;AAkBD;;GAEG;AACH,MAAM,CAAN,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B;;OAEG;IACH,gFAAyD,CAAA;AAC3D,CAAC,EALW,mBAAmB,KAAnB,mBAAmB,QAK9B;AAED;;GAEG;AACH,MAAM,UAAU,6BAA6B,CAAC,kBAA0B;IACtE,OAAO,WAAW,kBAAkB,iCAAiC,CAAC;AACxE,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { FileSystemAttributes } from \"./FileSystemAttributes.js\";\nimport { truncatedISO8061Date } from \"./utils/utils.common.js\";\nimport { logger } from \"./log.js\";\nimport type { FilePermissionFormat, NfsFileType, ShareTokenIntent } from \"./generatedModels.js\";\nimport type { StoragePipelineOptions } from \"./Pipeline.js\";\nimport type { FileDownloadHeaders } from \"./generatedModels.js\";\nimport type { NodeJSReadableStream } from \"@azure/storage-common\";\n\nexport interface Metadata {\n [propertyName: string]: string;\n}\n\n/**\n * Represents file permissions for a specific role.\n */\nexport interface PosixRolePermissions {\n /**\n * The execute permission.\n */\n execute: boolean;\n /**\n * The write permission.\n */\n write: boolean;\n /**\n * The read permission.\n */\n read: boolean;\n}\n\n/**\n * The mode permissions of the file or directory.\n */\nexport interface NfsFileMode {\n /**\n * Permissions the owner has over the file or directory.\n */\n owner: PosixRolePermissions;\n\n /**\n * Permissions the group has over the file or directory.\n */\n group: PosixRolePermissions;\n\n /**\n * Permissions other have over the file or directory.\n */\n other: PosixRolePermissions;\n\n /**\n * Set effective user ID (setuid) on the file or directory.\n */\n effectiveUserIdentity: boolean;\n\n /**\n * Set effective group ID (setgid) on the file or directory.\n */\n effectiveGroupIdentity: boolean;\n\n /**\n * The sticky bit may be set on directories. The files in that\n * directory may only be renamed or deleted by the file's owner, the directory's owner, or the root user.\n */\n stickyBit: boolean;\n}\n\n/**\n * \n NFS properties.\n Note that these properties only apply to files or directories in\n premium NFS file accounts.\n */\nexport interface FilePosixProperties {\n /** NFS only. The owner of the file or directory. */\n owner?: string;\n /** NFS only. The owning group of the file or directory. */\n group?: string;\n /** NFS only. The file mode of the file or directory */\n fileMode?: NfsFileMode;\n /** NFS only. Type of the file or directory. */\n fileType?: NfsFileType;\n /** NFS only. The link count of the file or directory. */\n linkCount?: number;\n}\n\n/** Defines headers for File_setHttpHeaders operation. */\nexport interface FileSetHttpHeadersHeaders {\n /** The ETag contains a value which represents the version of the file, in quotes. */\n etag?: string;\n /** Returns the date and time the directory was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. */\n isServerEncrypted?: boolean;\n /** Key of the permission set for the file. */\n filePermissionKey?: string;\n /** Attributes set for the file. */\n fileAttributes?: string;\n /** Creation time for the file. */\n fileCreatedOn?: Date;\n /** Last write time for the file. */\n fileLastWriteOn?: Date;\n /** Change time for the file. */\n fileChangeOn?: Date;\n /** The fileId of the directory. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the download operation. */\nexport type FileDownloadResponse = FileDownloadHeaders & {\n /**\n * BROWSER ONLY\n *\n * The response body as a browser Blob.\n * Always `undefined` in node.js.\n */\n blobBody?: Promise<Blob>;\n /**\n * NODEJS ONLY\n *\n * The response body as a node.js Readable stream.\n * Always `undefined` in the browser.\n */\n readableStreamBody?: NodeJSReadableStream;\n};\n\nexport interface FileHttpHeaders {\n /**\n * Optional. Sets the file's cache\n * control. If specified, this property is stored with the file and returned\n * with a read request.\n */\n fileCacheControl?: string;\n /**\n * Optional. Sets the file's content type.\n * If specified, this property is stored with the file and returned with a\n * read request.\n */\n fileContentType?: string;\n /**\n * Optional. An MD5 hash of the file\n * content. Note that this hash is not validated, as the hashes for the\n * individual blocks were validated when each was uploaded.\n */\n fileContentMD5?: Uint8Array;\n /**\n * Optional. Sets the file's content\n * encoding. If specified, this property is stored with the file and returned\n * with a read request.\n */\n fileContentEncoding?: string;\n /**\n * Optional. Set the file's content\n * language. If specified, this property is stored with the file and returned\n * with a read request.\n */\n fileContentLanguage?: string;\n /**\n * Optional. Sets the file's\n * Content-Disposition header.\n */\n fileContentDisposition?: string;\n}\n\n/**\n * Indicates inherit file permission from the parent directory.\n */\nexport type FilePermissionInheritType = \"inherit\";\n\n/**\n * Indicates keep existing file permission value unchanged.\n */\nexport type FilePermissionPreserveType = \"preserve\";\n\n/**\n * Indicates setting as the time of the request.\n */\nexport type TimeNowType = \"now\";\n\n/**\n * Indicates keep existing time value unchanged.\n */\nexport type TimePreserveType = \"preserve\";\n\n/**\n * Indicates keep existing file attributes unchanged.\n */\nexport type FileAttributesPreserveType = \"preserve\";\n\nexport interface FileAndDirectoryCreateCommonOptions {\n /**\n * The permission(security descriptor) to be set for the file or directory in the\n * Security Descriptor Definition Language (SDDL) or binary.\n * If specified, it must have an owner, group, and discretionary access control list (DACL).\n * A value of inherit may be passed to inherit from the parent directory.\n *\n * Note that only one of filePermission or filePermissionKey can be specified.\n * And if both are not specified, inherit will be set to filePermission as default value by client library.\n */\n filePermission?: string | FilePermissionInheritType;\n\n /**\n * Optional. Available for version 2023-06-01 and later.\n * Specifies the format in which the permission is returned. Acceptable values are SDDL or binary.\n * If x-ms-file-permission-format is unspecified or explicitly set to SDDL, the permission is returned in SDDL format.\n * If x-ms-file-permission-format is explicitly set to binary, the permission is returned as a base64 string representing the binary encoding of the permission\n */\n filePermissionFormat?: FilePermissionFormat;\n\n /**\n * The key of the permission to be set for the file or directory. This can be created using the Create-Permission API.\n *\n * Note that only one of filePermission or filePermissionKey can be specified.\n */\n filePermissionKey?: string;\n\n /**\n * The file system attributes to be set on the file or directory.\n */\n fileAttributes?: FileSystemAttributes;\n\n /**\n * The Coordinated Universal Time (UTC) creation time property for the directory.\n * A value of now may be used to indicate the time of the request.\n * By default, the value will be set as now.\n */\n creationTime?: Date | TimeNowType;\n\n /**\n * The Coordinated Universal Time (UTC) last write property for the directory.\n * A value of now may be used to indicate the time of the request.\n * By default, the value will be set as now.\n */\n lastWriteTime?: Date | TimeNowType;\n\n /**\n * The Coordinated Universal Time (UTC) change time property for the directory.\n * A value of now may be used to indicate the time of the request.\n * By default, the value will be set to the time of the request.\n */\n changeTime?: Date | TimeNowType;\n /**\n * Optional properties to set on NFS files.\n Note that this property is only applicable to files created in NFS shares.\n */\n posixProperties?: FilePosixProperties;\n}\n\nexport interface FileAndDirectorySetPropertiesCommonOptions {\n /**\n * The permission(security descriptor) to be set for the file or directory in the\n * Security Descriptor Definition Language (SDDL). If specified, it must have an owner, group, and discretionary access control list (DACL).\n * A value of inherit may be passed to inherit from the parent directory.\n * A value of preserve may be passed to keep the value unchanged.\n *\n * Note that only one of filePermission or filePermissionKey can be specified.\n * And if both are not specified, preserve will be set to filePermission as default value by client library.\n */\n filePermission?: string | FilePermissionInheritType | FilePermissionPreserveType;\n\n /**\n * Optional. Available for version 2023-06-01 and later.\n * Specifies the format in which the permission is returned. Acceptable values are SDDL or binary.\n * If x-ms-file-permission-format is unspecified or explicitly set to SDDL, the permission is returned in SDDL format.\n * If x-ms-file-permission-format is explicitly set to binary, the permission is returned as a base64 string representing the binary encoding of the permission\n */\n filePermissionFormat?: FilePermissionFormat;\n\n /**\n * The key of the permission to be set for the file or directory. This can be created using the Create-Permission API.\n *\n * Note that only one of filePermission or filePermissionKey can be specified.\n */\n filePermissionKey?: string;\n\n /**\n * The file system attributes to be set on the file or directory.\n */\n fileAttributes?: FileSystemAttributes | FileAttributesPreserveType;\n\n /**\n * The Coordinated Universal Time (UTC) creation time property for the directory.\n * A value of now may be used to indicate the time of the request.\n * A value of preserve may be passed to keep an existing value unchanged.\n * By default, the value will be set as preserve.\n */\n creationTime?: Date | TimeNowType | TimePreserveType;\n\n /**\n * The Coordinated Universal Time (UTC) last write property for the directory.\n * A value of now may be used to indicate the time of the request.\n * A value of preserve may be passed to keep an existing value unchanged.\n * By default, the value will be set as preserve.\n */\n lastWriteTime?: Date | TimeNowType | TimePreserveType;\n\n /**\n * The Coordinated Universal Time (UTC) change time property for the directory.\n * A value of now may be used to indicate the time of the request.\n * By default, the value will be set to the time of the request.\n */\n changeTime?: Date | TimeNowType;\n\n /**\n * Optional properties to set on NFS files.\n Note that this property is only applicable to files created in NFS shares.\n */\n posixProperties?: FilePosixProperties;\n}\n\n/**\n * Close handles result information.\n */\nexport interface CloseHandlesInfo {\n closedHandlesCount: number;\n /**\n * Contains count of number of handles that failed to close.\n */\n closeFailureCount?: number;\n}\n\n/**\n * Protocols to enable on the share. For now, only support SMB or NFS.\n */\nexport interface ShareProtocols {\n /**\n * The share can be accessed by SMBv3.0, SMBv2.1 and REST.\n */\n smbEnabled?: boolean;\n /**\n * The share can be accessed by NFSv4.1.\n */\n nfsEnabled?: boolean;\n}\n\n/**\n * To indicate check sum algorithm used in content validation.\n */\nexport type StorageChecksumAlgorithm = \"Auto\" | \"None\" | \"Customized\" | \"StorageCrc64\";\n\nexport interface ShareClientConfig {\n /**\n * The Files OAuth over REST feature requires special permissions to be included in the role definition to use\n * These special permissions will give privileged access to file share data -\n * It will allow users to bypass file/directory level ACL/NTFS permissions and get read/write access to file share data\n * Since this additional permission can be unintended and to prevent unintended and over privileged access,\n * additional checks has been implemented that requires users to explicitly indicate their intent to use these additional permissions.\n * This is done using the fileRequestIntent option.\n * Currently, the only value that the header supports is 'backup'\n * Any user who wishes to use Files OAuth over REST feature has to call the API with the intent header. If the API is not called with the intent header, any subsequent data operation requests will be denied.\n */\n fileRequestIntent?: ShareTokenIntent;\n /** If true, the trailing dot will not be trimmed from the target URI. */\n allowTrailingDot?: boolean;\n /** If true, the trailing dot will not be trimmed from the source URI. */\n allowSourceTrailingDot?: boolean;\n /**\n * Options to indication which algorithm to use for content validation in uploading.\n */\n uploadContentChecksumAlgorithm?: StorageChecksumAlgorithm;\n /**\n * Options to indication which algorithm to use for content validation in downloading.\n */\n downloadContentChecksumAlgorithm?: StorageChecksumAlgorithm;\n}\n\nexport type ShareClientOptions = StoragePipelineOptions & ShareClientConfig;\n\n/**\n * Convert protocols from joined string to ShareProtocols.\n *\n * @param protocolsString -\n */\nexport function toShareProtocols(protocolsString?: string): ShareProtocols | undefined {\n if (protocolsString === undefined) {\n return undefined;\n }\n\n const protocolStrArray = protocolsString.split(\";\");\n const protocols: ShareProtocols = {};\n for (const protocol of protocolStrArray) {\n if (protocol === \"SMB\") {\n protocols.smbEnabled = true;\n } else if (protocol === \"NFS\") {\n protocols.nfsEnabled = true;\n }\n }\n return protocols;\n}\n\n/**\n * Convert ShareProtocols to joined string.\n *\n * @param protocols -\n */\nexport function toShareProtocolsString(protocols: ShareProtocols = {}): string | undefined {\n let protocolStr = undefined;\n\n if (protocols.smbEnabled === true) {\n protocolStr = \"SMB\";\n }\n if (protocols.nfsEnabled === true) {\n logger.info(\n `Using \"NFS\" in favor of \"SMB\" for the share protocol as currently they can't be supported at the same time.`,\n );\n protocolStr = \"NFS\";\n }\n return protocolStr;\n}\n\nexport function validateFilePermissionOptions(\n filePermission?: string,\n filePermissionKey?: string,\n): void {\n if (filePermission && filePermissionKey) {\n throw new RangeError(\"Only one of filePermission or filePermissionKey can be specified.\");\n }\n}\n\nexport function validateAndSetDefaultsForFileAndDirectoryCreateCommonOptions(\n options: FileAndDirectoryCreateCommonOptions,\n): FileAndDirectoryCreateCommonOptions {\n // Would better deep copy params set by user.\n\n if (!options) {\n options = {};\n }\n\n validateFilePermissionOptions(options.filePermission, options.filePermissionKey);\n\n return options;\n}\n\nexport function validateAndSetDefaultsForFileAndDirectorySetPropertiesCommonOptions(\n options: FileAndDirectorySetPropertiesCommonOptions,\n): FileAndDirectorySetPropertiesCommonOptions {\n // Would better deep copy params set by user.\n\n if (!options) {\n options = {};\n }\n\n validateFilePermissionOptions(options.filePermission, options.filePermissionKey);\n\n return options;\n}\n\nexport function fileAttributesToString(\n fileAttributes: FileSystemAttributes | FileAttributesPreserveType,\n): string {\n return fileAttributes instanceof FileSystemAttributes\n ? fileAttributes.toString()\n : fileAttributes;\n}\n\nexport function fileCreationTimeToString(\n time: Date | TimeNowType | TimePreserveType | undefined,\n): string | undefined {\n return time instanceof Date ? truncatedISO8061Date(time) : time;\n}\n\nexport function fileLastWriteTimeToString(\n time: Date | TimeNowType | TimePreserveType | undefined,\n): string | undefined {\n return time instanceof Date ? truncatedISO8061Date(time) : time;\n}\n\nexport function fileChangeTimeToString(\n time: Date | TimeNowType | TimePreserveType | undefined,\n): string | undefined {\n return time instanceof Date ? truncatedISO8061Date(time) : time;\n}\n\n/**\n * Represents authentication information in Authorization, ProxyAuthorization,\n * WWW-Authenticate, and Proxy-Authenticate header values.\n */\nexport interface HttpAuthorization {\n /**\n * The scheme to use for authorization.\n */\n scheme: string;\n\n /**\n * the credentials containing the authentication information of the user agent for the resource being requested.\n */\n value: string;\n}\n\n/**\n * Defines the known cloud audiences for Storage.\n */\nexport enum StorageFileAudience {\n /**\n * The OAuth scope to use to retrieve an AAD token for Azure Storage.\n */\n StorageOAuthScopes = \"https://storage.azure.com/.default\",\n}\n\n/**\n * To get the OAuth audience for a storage account for file service.\n */\nexport function getFileServiceAccountAudience(storageAccountName: string): string {\n return `https://${storageAccountName}.file.core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AmD;IAEnD,6CAA6C;IAE7C,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,GAAG,EAAE,CAAC;IACf,CAAC;IAED,6BAA6B,CAAC,OAAO,CAAC,cAAc,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAEjF,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,MAAM,UAAU,sBAAsB,CACpC,cAAiE;IAEjE,OAAO,cAAc,YAAY,oBAAoB;QACnD,CAAC,CAAC,cAAc,CAAC,QAAQ,EAAE;QAC3B,CAAC,CAAC,cAAc,CAAC;AACrB,CAAC;AAED,MAAM,UAAU,wBAAwB,CACtC,IAAuD;IAEvD,OAAO,IAAI,YAAY,IAAI,CAAC,CAAC,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,yBAAyB,CACvC,IAAuD;IAEvD,OAAO,IAAI,YAAY,IAAI,CAAC,CAAC,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,sBAAsB,CACpC,IAAuD;IAEvD,OAAO,IAAI,YAAY,IAAI,CAAC,CAAC,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAClE,CAAC;AAkBD;;GAEG;AACH,MAAM,CAAN,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B;;OAEG;IACH,gFAAyD,CAAA;AAC3D,CAAC,EALW,mBAAmB,KAAnB,mBAAmB,QAK9B;AAED;;GAEG;AACH,MAAM,UAAU,6BAA6B,CAAC,kBAA0B;IACtE,OAAO,WAAW,kBAAkB,iCAAiC,CAAC;AACxE,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { FileSystemAttributes } from \"./FileSystemAttributes.js\";\nimport { truncatedISO8061Date } from \"./utils/utils.common.js\";\nimport { logger } from \"./log.js\";\nimport type { FilePermissionFormat, NfsFileType, ShareTokenIntent } from \"./generatedModels.js\";\nimport type { StoragePipelineOptions } from \"./Pipeline.js\";\nimport type { FileDownloadHeaders } from \"./generatedModels.js\";\nimport type { NodeJSReadableStream } from \"@azure/storage-common\";\nimport type { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\n\nconst xMsMetaPrefix = \"x-ms-meta-\";\n\nexport function rawHeadersToMetadata(rawHeaders: RawHttpHeaders): Metadata {\n const metadata: Metadata = {};\n for (const key of Object.keys(rawHeaders)) {\n if (key.toLowerCase().startsWith(xMsMetaPrefix)) {\n const metadataKey = key.substring(xMsMetaPrefix.length);\n metadata[metadataKey] = rawHeaders[key] as string;\n }\n }\n return metadata;\n}\n\nexport function metadataToRawHeaders(metadata: Metadata | undefined): RawHttpHeaders {\n const metadataHeaders: RawHttpHeaders = {};\n if (metadata) {\n for (const key of Object.keys(metadata)) {\n metadataHeaders[`${xMsMetaPrefix}${key.toLowerCase()}`] = metadata[key];\n }\n }\n return metadataHeaders;\n}\n\nexport interface Metadata {\n [propertyName: string]: string;\n}\n\n/**\n * Represents file permissions for a specific role.\n */\nexport interface PosixRolePermissions {\n /**\n * The execute permission.\n */\n execute: boolean;\n /**\n * The write permission.\n */\n write: boolean;\n /**\n * The read permission.\n */\n read: boolean;\n}\n\n/**\n * The mode permissions of the file or directory.\n */\nexport interface NfsFileMode {\n /**\n * Permissions the owner has over the file or directory.\n */\n owner: PosixRolePermissions;\n\n /**\n * Permissions the group has over the file or directory.\n */\n group: PosixRolePermissions;\n\n /**\n * Permissions other have over the file or directory.\n */\n other: PosixRolePermissions;\n\n /**\n * Set effective user ID (setuid) on the file or directory.\n */\n effectiveUserIdentity: boolean;\n\n /**\n * Set effective group ID (setgid) on the file or directory.\n */\n effectiveGroupIdentity: boolean;\n\n /**\n * The sticky bit may be set on directories. The files in that\n * directory may only be renamed or deleted by the file's owner, the directory's owner, or the root user.\n */\n stickyBit: boolean;\n}\n\n/**\n * \n NFS properties.\n Note that these properties only apply to files or directories in\n premium NFS file accounts.\n */\nexport interface FilePosixProperties {\n /** NFS only. The owner of the file or directory. */\n owner?: string;\n /** NFS only. The owning group of the file or directory. */\n group?: string;\n /** NFS only. The file mode of the file or directory */\n fileMode?: NfsFileMode;\n /** NFS only. Type of the file or directory. */\n fileType?: NfsFileType;\n /** NFS only. The link count of the file or directory. */\n linkCount?: number;\n}\n\n/** Defines headers for File_setHttpHeaders operation. */\nexport interface FileSetHttpHeadersHeaders {\n /** The ETag contains a value which represents the version of the file, in quotes. */\n etag?: string;\n /** Returns the date and time the directory was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. */\n isServerEncrypted?: boolean;\n /** Key of the permission set for the file. */\n filePermissionKey?: string;\n /** Attributes set for the file. */\n fileAttributes?: string;\n /** Creation time for the file. */\n fileCreatedOn?: Date;\n /** Last write time for the file. */\n fileLastWriteOn?: Date;\n /** Change time for the file. */\n fileChangeOn?: Date;\n /** The fileId of the directory. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the download operation. */\nexport type FileDownloadResponse = FileDownloadHeaders & {\n /**\n * BROWSER ONLY\n *\n * The response body as a browser Blob.\n * Always `undefined` in node.js.\n */\n blobBody?: Promise<Blob>;\n /**\n * NODEJS ONLY\n *\n * The response body as a node.js Readable stream.\n * Always `undefined` in the browser.\n */\n readableStreamBody?: NodeJSReadableStream;\n};\n\nexport interface FileHttpHeaders {\n /**\n * Optional. Sets the file's cache\n * control. If specified, this property is stored with the file and returned\n * with a read request.\n */\n fileCacheControl?: string;\n /**\n * Optional. Sets the file's content type.\n * If specified, this property is stored with the file and returned with a\n * read request.\n */\n fileContentType?: string;\n /**\n * Optional. An MD5 hash of the file\n * content. Note that this hash is not validated, as the hashes for the\n * individual blocks were validated when each was uploaded.\n */\n fileContentMD5?: Uint8Array;\n /**\n * Optional. Sets the file's content\n * encoding. If specified, this property is stored with the file and returned\n * with a read request.\n */\n fileContentEncoding?: string;\n /**\n * Optional. Set the file's content\n * language. If specified, this property is stored with the file and returned\n * with a read request.\n */\n fileContentLanguage?: string;\n /**\n * Optional. Sets the file's\n * Content-Disposition header.\n */\n fileContentDisposition?: string;\n}\n\n/**\n * Indicates inherit file permission from the parent directory.\n */\nexport type FilePermissionInheritType = \"inherit\";\n\n/**\n * Indicates keep existing file permission value unchanged.\n */\nexport type FilePermissionPreserveType = \"preserve\";\n\n/**\n * Indicates setting as the time of the request.\n */\nexport type TimeNowType = \"now\";\n\n/**\n * Indicates keep existing time value unchanged.\n */\nexport type TimePreserveType = \"preserve\";\n\n/**\n * Indicates keep existing file attributes unchanged.\n */\nexport type FileAttributesPreserveType = \"preserve\";\n\nexport interface FileAndDirectoryCreateCommonOptions {\n /**\n * The permission(security descriptor) to be set for the file or directory in the\n * Security Descriptor Definition Language (SDDL) or binary.\n * If specified, it must have an owner, group, and discretionary access control list (DACL).\n * A value of inherit may be passed to inherit from the parent directory.\n *\n * Note that only one of filePermission or filePermissionKey can be specified.\n * And if both are not specified, inherit will be set to filePermission as default value by client library.\n */\n filePermission?: string | FilePermissionInheritType;\n\n /**\n * Optional. Available for version 2023-06-01 and later.\n * Specifies the format in which the permission is returned. Acceptable values are SDDL or binary.\n * If x-ms-file-permission-format is unspecified or explicitly set to SDDL, the permission is returned in SDDL format.\n * If x-ms-file-permission-format is explicitly set to binary, the permission is returned as a base64 string representing the binary encoding of the permission\n */\n filePermissionFormat?: FilePermissionFormat;\n\n /**\n * The key of the permission to be set for the file or directory. This can be created using the Create-Permission API.\n *\n * Note that only one of filePermission or filePermissionKey can be specified.\n */\n filePermissionKey?: string;\n\n /**\n * The file system attributes to be set on the file or directory.\n */\n fileAttributes?: FileSystemAttributes;\n\n /**\n * The Coordinated Universal Time (UTC) creation time property for the directory.\n * A value of now may be used to indicate the time of the request.\n * By default, the value will be set as now.\n */\n creationTime?: Date | TimeNowType;\n\n /**\n * The Coordinated Universal Time (UTC) last write property for the directory.\n * A value of now may be used to indicate the time of the request.\n * By default, the value will be set as now.\n */\n lastWriteTime?: Date | TimeNowType;\n\n /**\n * The Coordinated Universal Time (UTC) change time property for the directory.\n * A value of now may be used to indicate the time of the request.\n * By default, the value will be set to the time of the request.\n */\n changeTime?: Date | TimeNowType;\n /**\n * Optional properties to set on NFS files.\n Note that this property is only applicable to files created in NFS shares.\n */\n posixProperties?: FilePosixProperties;\n}\n\nexport interface FileAndDirectorySetPropertiesCommonOptions {\n /**\n * The permission(security descriptor) to be set for the file or directory in the\n * Security Descriptor Definition Language (SDDL). If specified, it must have an owner, group, and discretionary access control list (DACL).\n * A value of inherit may be passed to inherit from the parent directory.\n * A value of preserve may be passed to keep the value unchanged.\n *\n * Note that only one of filePermission or filePermissionKey can be specified.\n * And if both are not specified, preserve will be set to filePermission as default value by client library.\n */\n filePermission?: string | FilePermissionInheritType | FilePermissionPreserveType;\n\n /**\n * Optional. Available for version 2023-06-01 and later.\n * Specifies the format in which the permission is returned. Acceptable values are SDDL or binary.\n * If x-ms-file-permission-format is unspecified or explicitly set to SDDL, the permission is returned in SDDL format.\n * If x-ms-file-permission-format is explicitly set to binary, the permission is returned as a base64 string representing the binary encoding of the permission\n */\n filePermissionFormat?: FilePermissionFormat;\n\n /**\n * The key of the permission to be set for the file or directory. This can be created using the Create-Permission API.\n *\n * Note that only one of filePermission or filePermissionKey can be specified.\n */\n filePermissionKey?: string;\n\n /**\n * The file system attributes to be set on the file or directory.\n */\n fileAttributes?: FileSystemAttributes | FileAttributesPreserveType;\n\n /**\n * The Coordinated Universal Time (UTC) creation time property for the directory.\n * A value of now may be used to indicate the time of the request.\n * A value of preserve may be passed to keep an existing value unchanged.\n * By default, the value will be set as preserve.\n */\n creationTime?: Date | TimeNowType | TimePreserveType;\n\n /**\n * The Coordinated Universal Time (UTC) last write property for the directory.\n * A value of now may be used to indicate the time of the request.\n * A value of preserve may be passed to keep an existing value unchanged.\n * By default, the value will be set as preserve.\n */\n lastWriteTime?: Date | TimeNowType | TimePreserveType;\n\n /**\n * The Coordinated Universal Time (UTC) change time property for the directory.\n * A value of now may be used to indicate the time of the request.\n * By default, the value will be set to the time of the request.\n */\n changeTime?: Date | TimeNowType;\n\n /**\n * Optional properties to set on NFS files.\n Note that this property is only applicable to files created in NFS shares.\n */\n posixProperties?: FilePosixProperties;\n}\n\n/**\n * Close handles result information.\n */\nexport interface CloseHandlesInfo {\n closedHandlesCount: number;\n /**\n * Contains count of number of handles that failed to close.\n */\n closeFailureCount?: number;\n}\n\n/**\n * Protocols to enable on the share. For now, only support SMB or NFS.\n */\nexport interface ShareProtocols {\n /**\n * The share can be accessed by SMBv3.0, SMBv2.1 and REST.\n */\n smbEnabled?: boolean;\n /**\n * The share can be accessed by NFSv4.1.\n */\n nfsEnabled?: boolean;\n}\n\n/**\n * To indicate check sum algorithm used in content validation.\n */\nexport type StorageChecksumAlgorithm = \"Auto\" | \"None\" | \"Customized\" | \"StorageCrc64\";\n\nexport interface ShareClientConfig {\n /**\n * The Files OAuth over REST feature requires special permissions to be included in the role definition to use\n * These special permissions will give privileged access to file share data -\n * It will allow users to bypass file/directory level ACL/NTFS permissions and get read/write access to file share data\n * Since this additional permission can be unintended and to prevent unintended and over privileged access,\n * additional checks has been implemented that requires users to explicitly indicate their intent to use these additional permissions.\n * This is done using the fileRequestIntent option.\n * Currently, the only value that the header supports is 'backup'\n * Any user who wishes to use Files OAuth over REST feature has to call the API with the intent header. If the API is not called with the intent header, any subsequent data operation requests will be denied.\n */\n fileRequestIntent?: ShareTokenIntent;\n /** If true, the trailing dot will not be trimmed from the target URI. */\n allowTrailingDot?: boolean;\n /** If true, the trailing dot will not be trimmed from the source URI. */\n allowSourceTrailingDot?: boolean;\n /**\n * Options to indication which algorithm to use for content validation in uploading.\n */\n uploadContentChecksumAlgorithm?: StorageChecksumAlgorithm;\n /**\n * Options to indication which algorithm to use for content validation in downloading.\n */\n downloadContentChecksumAlgorithm?: StorageChecksumAlgorithm;\n}\n\nexport type ShareClientOptions = StoragePipelineOptions & ShareClientConfig;\n\n/**\n * Convert protocols from joined string to ShareProtocols.\n *\n * @param protocolsString -\n */\nexport function toShareProtocols(protocolsString?: string): ShareProtocols | undefined {\n if (protocolsString === undefined) {\n return undefined;\n }\n\n const protocolStrArray = protocolsString.split(\";\");\n const protocols: ShareProtocols = {};\n for (const protocol of protocolStrArray) {\n if (protocol === \"SMB\") {\n protocols.smbEnabled = true;\n } else if (protocol === \"NFS\") {\n protocols.nfsEnabled = true;\n }\n }\n return protocols;\n}\n\n/**\n * Convert ShareProtocols to joined string.\n *\n * @param protocols -\n */\nexport function toShareProtocolsString(protocols: ShareProtocols = {}): string | undefined {\n let protocolStr = undefined;\n\n if (protocols.smbEnabled === true) {\n protocolStr = \"SMB\";\n }\n if (protocols.nfsEnabled === true) {\n logger.info(\n `Using \"NFS\" in favor of \"SMB\" for the share protocol as currently they can't be supported at the same time.`,\n );\n protocolStr = \"NFS\";\n }\n return protocolStr;\n}\n\nexport function validateFilePermissionOptions(\n filePermission?: string,\n filePermissionKey?: string,\n): void {\n if (filePermission && filePermissionKey) {\n throw new RangeError(\"Only one of filePermission or filePermissionKey can be specified.\");\n }\n}\n\nexport function validateAndSetDefaultsForFileAndDirectoryCreateCommonOptions(\n options: FileAndDirectoryCreateCommonOptions,\n): FileAndDirectoryCreateCommonOptions {\n // Would better deep copy params set by user.\n\n if (!options) {\n options = {};\n }\n\n validateFilePermissionOptions(options.filePermission, options.filePermissionKey);\n\n return options;\n}\n\nexport function validateAndSetDefaultsForFileAndDirectorySetPropertiesCommonOptions(\n options: FileAndDirectorySetPropertiesCommonOptions,\n): FileAndDirectorySetPropertiesCommonOptions {\n // Would better deep copy params set by user.\n\n if (!options) {\n options = {};\n }\n\n validateFilePermissionOptions(options.filePermission, options.filePermissionKey);\n\n return options;\n}\n\nexport function fileAttributesToString(\n fileAttributes: FileSystemAttributes | FileAttributesPreserveType,\n): string {\n return fileAttributes instanceof FileSystemAttributes\n ? fileAttributes.toString()\n : fileAttributes;\n}\n\nexport function fileCreationTimeToString(\n time: Date | TimeNowType | TimePreserveType | undefined,\n): string | undefined {\n return time instanceof Date ? truncatedISO8061Date(time) : time;\n}\n\nexport function fileLastWriteTimeToString(\n time: Date | TimeNowType | TimePreserveType | undefined,\n): string | undefined {\n return time instanceof Date ? truncatedISO8061Date(time) : time;\n}\n\nexport function fileChangeTimeToString(\n time: Date | TimeNowType | TimePreserveType | undefined,\n): string | undefined {\n return time instanceof Date ? truncatedISO8061Date(time) : time;\n}\n\n/**\n * Represents authentication information in Authorization, ProxyAuthorization,\n * WWW-Authenticate, and Proxy-Authenticate header values.\n */\nexport interface HttpAuthorization {\n /**\n * The scheme to use for authorization.\n */\n scheme: string;\n\n /**\n * the credentials containing the authentication information of the user agent for the resource being requested.\n */\n value: string;\n}\n\n/**\n * Defines the known cloud audiences for Storage.\n */\nexport enum StorageFileAudience {\n /**\n * The OAuth scope to use to retrieve an AAD token for Azure Storage.\n */\n StorageOAuthScopes = \"https://storage.azure.com/.default\",\n}\n\n/**\n * To get the OAuth audience for a storage account for file service.\n */\nexport function getFileServiceAccountAudience(storageAccountName: string): string {\n return `https://${storageAccountName}.file.core.windows.net/.default`;\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
- export const SDK_VERSION = "12.32.0";
4
- export const SERVICE_VERSION = "2026-06-06";
3
+ export const SDK_VERSION = "12.33.0";
4
+ export const SERVICE_VERSION = "2026-10-06";
5
5
  export const FILE_MAX_SIZE_BYTES = 4 * 1024 * 1024 * 1024 * 1024; // 4TB
6
6
  export const FILE_RANGE_MAX_SIZE_BYTES = 4 * 1024 * 1024; // 4MB
7
7
  export const DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS = 5;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,SAAS,CAAC;AAC7C,MAAM,CAAC,MAAM,eAAe,GAAW,YAAY,CAAC;AAEpD,MAAM,CAAC,MAAM,mBAAmB,GAAW,CAAC,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,MAAM;AAChF,MAAM,CAAC,MAAM,yBAAyB,GAAW,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,MAAM;AACxE,MAAM,CAAC,MAAM,mCAAmC,GAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,MAAM,8BAA8B,GAAW,CAAC,CAAC;AACxD,MAAM,CAAC,MAAM,eAAe,GAAW,GAAG,GAAG,IAAI,CAAC,CAAC,QAAQ;AAC3D;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAsB,oCAAoC,CAAC;AAE1F,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,UAAU,EAAE;QACV,sBAAsB,EAAE,GAAG;QAC3B,cAAc,EAAE,eAAe;QAC/B,SAAS,EAAE,KAAK;QAChB,OAAO,EAAE,SAAS;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,aAAa,EAAE,GAAG;IAClB,cAAc,EAAE,GAAG;IACnB,kBAAkB,EAAE,GAAG;IACvB,0BAA0B,EAAE,GAAG;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,aAAa,EAAE,eAAe;IAC9B,oBAAoB,EAAE,QAAQ;IAC9B,gBAAgB,EAAE,k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;IACnB,oBAAoB;IACpB,0BAA0B;IAC1B,uBAAuB;IACvB,uBAAuB;IACvB,qBAAqB;IACrB,kBAAkB;IAClB,mBAAmB;IACnB,6BAA6B;IAC7B,8BAA8B;IAC9B,sBAAsB;IACtB,uBAAuB;IACvB,yBAAyB;IACzB,cAAc;IACd,2BAA2B;IAC3B,qBAAqB;IACrB,gBAAgB;IAChB,+BAA+B;IAC/B,gBAAgB;IAChB,kBAAkB;IAClB,WAAW;IACX,YAAY;CACb,CAAC;AAEF,MAAM,CAAC,MAAM,wCAAwC,GAAG;IACtD,MAAM;IACN,YAAY;IACZ,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,SAAS;CACV,CAAC;AAEF,iDAAiD;AACjD,wGAAwG;AACxG,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;CACR,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport const SDK_VERSION: string = \"12.32.0\";\nexport const SERVICE_VERSION: string = \"2026-06-06\";\n\nexport const FILE_MAX_SIZE_BYTES: number = 4 * 1024 * 1024 * 1024 * 1024; // 4TB\nexport const FILE_RANGE_MAX_SIZE_BYTES: number = 4 * 1024 * 1024; // 4MB\nexport const DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS: number = 5;\nexport const DEFAULT_HIGH_LEVEL_CONCURRENCY: number = 5;\nexport const REQUEST_TIMEOUT: number = 100 * 1000; // In ms\n/**\n * The OAuth scope to use with Azure Storage.\n */\nexport const StorageOAuthScopes: string | string[] = \"https://storage.azure.com/.default\";\n\nexport const URLConstants = {\n Parameters: {\n FORCE_BROWSER_NO_CACHE: \"_\",\n SHARE_SNAPSHOT: \"sharesnapshot\",\n SIGNATURE: \"sig\",\n TIMEOUT: \"timeout\",\n },\n};\n\nexport const HttpUrlConnection = {\n HTTP_CONFLICT: 409,\n HTTP_NOT_FOUND: 404,\n HTTP_PRECON_FAILED: 412,\n HTTP_RANGE_NOT_SATISFIABLE: 416,\n};\n\nexport const HeaderConstants = {\n AUTHORIZATION: \"authorization\",\n AUTHORIZATION_SCHEME: \"Bearer\",\n CONTENT_ENCODING: \"content-encoding\",\n CONTENT_LANGUAGE: \"content-language\",\n CONTENT_LENGTH: \"content-length\",\n CONTENT_MD5: \"content-md5\",\n CONTENT_TYPE: \"content-type\",\n COOKIE: \"Cookie\",\n DATE: \"date\",\n IF_MATCH: \"if-match\",\n IF_MODIFIED_SINCE: \"if-modified-since\",\n IF_NONE_MATCH: \"if-none-match\",\n IF_UNMODIFIED_SINCE: \"if-unmodified-since\",\n PREFIX_FOR_STORAGE: \"x-ms-\",\n RANGE: \"Range\",\n USER_AGENT: \"User-Agent\",\n X_MS_CLIENT_REQUEST_ID: \"x-ms-client-request-id\",\n X_MS_COPY_SOURCE: \"x-ms-copy-source\",\n X_MS_CopySourceErrorCode: \"x-ms-copy-source-error-code\",\n X_MS_DATE: \"x-ms-date\",\n};\n\nexport const ETagNone = \"\";\nexport const ETagAny = \"*\";\nexport const FileAttributesPreserve = \"Preserve\";\nexport const FileAttributesNone = \"None\";\n\nexport const StorageFileLoggingAllowedHeaderNames = [\n \"Access-Control-Allow-Origin\",\n \"Cache-Control\",\n \"Content-Length\",\n \"Content-Type\",\n \"Date\",\n \"Request-Id\",\n \"traceparent\",\n \"Transfer-Encoding\",\n \"User-Agent\",\n \"x-ms-client-request-id\",\n \"x-ms-date\",\n \"x-ms-error-code\",\n \"x-ms-request-id\",\n \"x-ms-return-client-request-id\",\n \"x-ms-version\",\n \"Accept-Ranges\",\n \"Content-Disposition\",\n \"Content-Encoding\",\n \"Content-Language\",\n \"Content-MD5\",\n \"Content-Range\",\n \"ETag\",\n \"Last-Modified\",\n \"Server\",\n \"Vary\",\n \"x-ms-content-crc64\",\n \"x-ms-copy-action\",\n \"x-ms-copy-completion-time\",\n \"x-ms-copy-id\",\n \"x-ms-copy-progress\",\n \"x-ms-copy-status\",\n \"x-ms-has-immutability-policy\",\n \"x-ms-has-legal-hold\",\n \"x-ms-lease-state\",\n \"x-ms-lease-status\",\n \"x-ms-range\",\n \"x-ms-request-server-encrypted\",\n \"x-ms-server-encrypted\",\n \"x-ms-snapshot\",\n \"x-ms-source-range\",\n \"x-ms-cache-control\",\n \"x-ms-content-disposition\",\n \"x-ms-content-encoding\",\n \"x-ms-content-language\",\n \"x-ms-content-length\",\n \"x-ms-content-md5\",\n \"x-ms-content-type\",\n \"x-ms-copy-source-error-code\",\n \"x-ms-copy-source-status-code\",\n \"x-ms-file-attributes\",\n \"x-ms-file-change-time\",\n \"x-ms-file-creation-time\",\n \"x-ms-file-id\",\n \"x-ms-file-last-write-time\",\n \"x-ms-file-parent-id\",\n \"x-ms-handle-id\",\n \"x-ms-number-of-handles-closed\",\n \"x-ms-recursive\",\n \"x-ms-share-quota\",\n \"x-ms-type\",\n \"x-ms-write\",\n];\n\nexport const StorageFileLoggingAllowedQueryParameters = [\n \"comp\",\n \"maxresults\",\n \"rscc\",\n \"rscd\",\n \"rsce\",\n \"rscl\",\n \"rsct\",\n \"se\",\n \"si\",\n \"sip\",\n \"sp\",\n \"spr\",\n \"sr\",\n \"srt\",\n \"ss\",\n \"st\",\n \"sv\",\n \"copyid\",\n \"restype\",\n];\n\n/// List of ports used for path style addressing.\n/// Path style addressing means that storage account is put in URI's Path segment in instead of in host.\nexport const PathStylePorts = [\n \"10000\",\n \"10001\",\n \"10002\",\n \"10003\",\n \"10004\",\n \"10100\",\n \"10101\",\n \"10102\",\n \"10103\",\n \"10104\",\n \"11000\",\n \"11001\",\n \"11002\",\n \"11003\",\n \"11004\",\n \"11100\",\n \"11101\",\n \"11102\",\n \"11103\",\n \"11104\",\n];\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,SAAS,CAAC;AAC7C,MAAM,CAAC,MAAM,eAAe,GAAW,YAAY,CAAC;AAEpD,MAAM,CAAC,MAAM,mBAAmB,GAAW,CAAC,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,MAAM;AAChF,MAAM,CAAC,MAAM,yBAAyB,GAAW,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,MAAM;AACxE,MAAM,CAAC,MAAM,mCAAmC,GAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,MAAM,8BAA8B,GAAW,CAAC,CAAC;AACxD,MAAM,CAAC,MAAM,eAAe,GAAW,GAAG,GAAG,IAAI,CAAC,CAAC,QAAQ;AAC3D;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAsB,oCAAoC,CAAC;AAE1F,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,UAAU,EAAE;QACV,sBAAsB,EAAE,GAAG;QAC3B,cAAc,EAAE,eAAe;QAC/B,SAAS,EAAE,KAAK;QAChB,OAAO,EAAE,SAAS;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,aAAa,EAAE,GAAG;IAClB,cAAc,EAAE,GAAG;IACnB,kBAAkB,EAAE,GAAG;IACvB,0BAA0B,EAAE,GAAG;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,aAAa,EAAE,eAAe;IAC9B,oBAAoB,EAAE,QAAQ;IAC9B,gBAAgB,EAAE,kBAA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nB,oBAAoB;IACpB,0BAA0B;IAC1B,uBAAuB;IACvB,uBAAuB;IACvB,qBAAqB;IACrB,kBAAkB;IAClB,mBAAmB;IACnB,6BAA6B;IAC7B,8BAA8B;IAC9B,sBAAsB;IACtB,uBAAuB;IACvB,yBAAyB;IACzB,cAAc;IACd,2BAA2B;IAC3B,qBAAqB;IACrB,gBAAgB;IAChB,+BAA+B;IAC/B,gBAAgB;IAChB,kBAAkB;IAClB,WAAW;IACX,YAAY;CACb,CAAC;AAEF,MAAM,CAAC,MAAM,wCAAwC,GAAG;IACtD,MAAM;IACN,YAAY;IACZ,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,SAAS;CACV,CAAC;AAEF,iDAAiD;AACjD,wGAAwG;AACxG,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;CACR,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport const SDK_VERSION: string = \"12.33.0\";\nexport const SERVICE_VERSION: string = \"2026-10-06\";\n\nexport const FILE_MAX_SIZE_BYTES: number = 4 * 1024 * 1024 * 1024 * 1024; // 4TB\nexport const FILE_RANGE_MAX_SIZE_BYTES: number = 4 * 1024 * 1024; // 4MB\nexport const DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS: number = 5;\nexport const DEFAULT_HIGH_LEVEL_CONCURRENCY: number = 5;\nexport const REQUEST_TIMEOUT: number = 100 * 1000; // In ms\n/**\n * The OAuth scope to use with Azure Storage.\n */\nexport const StorageOAuthScopes: string | string[] = \"https://storage.azure.com/.default\";\n\nexport const URLConstants = {\n Parameters: {\n FORCE_BROWSER_NO_CACHE: \"_\",\n SHARE_SNAPSHOT: \"sharesnapshot\",\n SIGNATURE: \"sig\",\n TIMEOUT: \"timeout\",\n },\n};\n\nexport const HttpUrlConnection = {\n HTTP_CONFLICT: 409,\n HTTP_NOT_FOUND: 404,\n HTTP_PRECON_FAILED: 412,\n HTTP_RANGE_NOT_SATISFIABLE: 416,\n};\n\nexport const HeaderConstants = {\n AUTHORIZATION: \"authorization\",\n AUTHORIZATION_SCHEME: \"Bearer\",\n CONTENT_ENCODING: \"content-encoding\",\n CONTENT_LANGUAGE: \"content-language\",\n CONTENT_LENGTH: \"content-length\",\n CONTENT_MD5: \"content-md5\",\n CONTENT_TYPE: \"content-type\",\n COOKIE: \"Cookie\",\n DATE: \"date\",\n IF_MATCH: \"if-match\",\n IF_MODIFIED_SINCE: \"if-modified-since\",\n IF_NONE_MATCH: \"if-none-match\",\n IF_UNMODIFIED_SINCE: \"if-unmodified-since\",\n PREFIX_FOR_STORAGE: \"x-ms-\",\n RANGE: \"Range\",\n USER_AGENT: \"User-Agent\",\n X_MS_CLIENT_REQUEST_ID: \"x-ms-client-request-id\",\n X_MS_COPY_SOURCE: \"x-ms-copy-source\",\n X_MS_CopySourceErrorCode: \"x-ms-copy-source-error-code\",\n X_MS_DATE: \"x-ms-date\",\n};\n\nexport const ETagNone = \"\";\nexport const ETagAny = \"*\";\nexport const FileAttributesPreserve = \"Preserve\";\nexport const FileAttributesNone = \"None\";\n\nexport const StorageFileLoggingAllowedHeaderNames = [\n \"Access-Control-Allow-Origin\",\n \"Cache-Control\",\n \"Content-Length\",\n \"Content-Type\",\n \"Date\",\n \"Request-Id\",\n \"traceparent\",\n \"Transfer-Encoding\",\n \"User-Agent\",\n \"x-ms-client-request-id\",\n \"x-ms-date\",\n \"x-ms-error-code\",\n \"x-ms-request-id\",\n \"x-ms-return-client-request-id\",\n \"x-ms-version\",\n \"Accept-Ranges\",\n \"Content-Disposition\",\n \"Content-Encoding\",\n \"Content-Language\",\n \"Content-MD5\",\n \"Content-Range\",\n \"ETag\",\n \"Last-Modified\",\n \"Server\",\n \"Vary\",\n \"x-ms-content-crc64\",\n \"x-ms-copy-action\",\n \"x-ms-copy-completion-time\",\n \"x-ms-copy-id\",\n \"x-ms-copy-progress\",\n \"x-ms-copy-status\",\n \"x-ms-has-immutability-policy\",\n \"x-ms-has-legal-hold\",\n \"x-ms-lease-state\",\n \"x-ms-lease-status\",\n \"x-ms-range\",\n \"x-ms-request-server-encrypted\",\n \"x-ms-server-encrypted\",\n \"x-ms-snapshot\",\n \"x-ms-source-range\",\n \"x-ms-cache-control\",\n \"x-ms-content-disposition\",\n \"x-ms-content-encoding\",\n \"x-ms-content-language\",\n \"x-ms-content-length\",\n \"x-ms-content-md5\",\n \"x-ms-content-type\",\n \"x-ms-copy-source-error-code\",\n \"x-ms-copy-source-status-code\",\n \"x-ms-file-attributes\",\n \"x-ms-file-change-time\",\n \"x-ms-file-creation-time\",\n \"x-ms-file-id\",\n \"x-ms-file-last-write-time\",\n \"x-ms-file-parent-id\",\n \"x-ms-handle-id\",\n \"x-ms-number-of-handles-closed\",\n \"x-ms-recursive\",\n \"x-ms-share-quota\",\n \"x-ms-type\",\n \"x-ms-write\",\n];\n\nexport const StorageFileLoggingAllowedQueryParameters = [\n \"comp\",\n \"maxresults\",\n \"rscc\",\n \"rscd\",\n \"rsce\",\n \"rscl\",\n \"rsct\",\n \"se\",\n \"si\",\n \"sip\",\n \"sp\",\n \"spr\",\n \"sr\",\n \"srt\",\n \"ss\",\n \"st\",\n \"sv\",\n \"copyid\",\n \"restype\",\n];\n\n/// List of ports used for path style addressing.\n/// Path style addressing means that storage account is put in URI's Path segment in instead of in host.\nexport const PathStylePorts = [\n \"10000\",\n \"10001\",\n \"10002\",\n \"10003\",\n \"10004\",\n \"10100\",\n \"10101\",\n \"10102\",\n \"10103\",\n \"10104\",\n \"11000\",\n \"11001\",\n \"11002\",\n \"11003\",\n \"11004\",\n \"11100\",\n \"11101\",\n \"11102\",\n \"11103\",\n \"11104\",\n];\n"]}
@@ -1,9 +1,10 @@
1
1
  import type { AbortSignalLike } from "@azure/abort-controller";
2
2
  import type { HttpHeaders } from "@azure/core-rest-pipeline";
3
- import type { ListFilesAndDirectoriesSegmentResponse as ListFilesAndDirectoriesSegmentResponseInternal, ListHandlesResponse as ListHandlesResponseInternal, SharePermission, StringEncoded } from "../generated/src/models/index.js";
4
- import type { ListFilesAndDirectoriesSegmentResponse, ListHandlesResponse } from "../generatedModels.js";
3
+ import type { ListFilesAndDirectoriesSegmentResponse as ListFilesAndDirectoriesSegmentResponseInternal, ListHandlesResponse as ListHandlesResponseInternal, SharePermission, StringEncoded } from "../generated-classic-models.js";
4
+ import type { ListFilesAndDirectoriesSegmentResponse, ListHandlesResponse, RangeModel, ShareFileRange } from "../generatedModels.js";
5
5
  import { HttpAuthorization, NfsFileMode, PosixRolePermissions, StorageChecksumAlgorithm } from "../models.js";
6
6
  import type { HttpHeadersLike, WebResourceLike } from "@azure/core-http-compat";
7
+ import type { StorageCompatResponseInfo } from "../generated/static-helpers/storageCompatResponse.js";
7
8
  import { HttpRequestBody } from "../Pipeline.js";
8
9
  /**
9
10
  * Reserved URL characters must be properly escaped for Storage services like Blob or File.
@@ -267,6 +268,13 @@ export type WithResponse<T, Headers = undefined, Body = undefined> = T & (Body e
267
268
  * @returns The same object, but with known _response property
268
269
  */
269
270
  export declare function assertResponse<T extends object, Headers = undefined, Body = undefined>(response: T): WithResponse<T, Headers, Body>;
271
+ export declare function adjustResponse<T extends object, THeaders extends Record<string, unknown>, TBody = unknown>(result: T & StorageCompatResponseInfo<TBody, THeaders>): T & {
272
+ _response: HttpResponse & {
273
+ parsedHeaders: THeaders;
274
+ bodyAsText: string;
275
+ parsedBody: TBody;
276
+ };
277
+ };
270
278
  export declare function StringEncodedToString(name: StringEncoded): string;
271
279
  export declare function ConvertInternalResponseOfListFiles(internalResponse: ListFilesAndDirectoriesSegmentResponseInternal): ListFilesAndDirectoriesSegmentResponse;
272
280
  export declare function ConvertInternalResponseOfListHandles(internalResponse: ListHandlesResponseInternal): ListHandlesResponse;
@@ -278,6 +286,18 @@ export declare function ConvertInternalResponseOfListHandles(internalResponse: L
278
286
  * @internal
279
287
  */
280
288
  export declare function removeEmptyString(value: string | undefined): string | undefined;
289
+ /**
290
+ * Merges the valid ranges and cleared ranges returned by the service into a single
291
+ * ordered sequence of {@link ShareFileRange} items, sorted by start position.
292
+ *
293
+ * This uses a two-pointer merge and assumes each input array is already sorted ascending
294
+ * by `start`, which is guaranteed by the List Ranges service response. If that invariant
295
+ * ever changes, the inputs must be sorted before merging to preserve output ordering.
296
+ *
297
+ * On a tie (equal `start`), the valid data range is emitted before the cleared range.
298
+ * @internal
299
+ */
300
+ export declare function extractShareFileRangeItems(ranges?: RangeModel[], clearRanges?: RangeModel[]): IterableIterator<ShareFileRange>;
281
301
  export declare function asSharePermission(value: string | SharePermission): SharePermission;
282
302
  /**
283
303
  * Parse 4-digit octal string representation of a File Mode to a {@link NfsFileMode} structure.
@@ -1 +1 @@
1
- {"version":3,"file":"utils.common.d.ts","sourceRoot":"","sources":["../../../src/utils/utils.common.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE7D,OAAO,KAAK,EACV,sCAAsC,IAAI,8CAA8C,EACxF,mBAAmB,IAAI,2BAA2B,EAClD,eAAe,EACf,aAAa,EACd,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAIV,sCAAsC,EACtC,mBAAmB,EACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,cA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vF;AAED,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG;IAC3D,eAAe,EAAE,oBAAoB,CAAC;IACtC,SAAS,EAAE,OAAO,CAAC;CACpB,CAsDA;AAED,UAAU,4BAA4B;IACpC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,yBAAyB,CAAC,EAAE,UAAU,CAAC;IACvC,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;IACpD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC;AAED,UAAU,kBAAkB;IAC1B,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;IACpD,IAAI,EAAE,eAAe,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,wBAAsB,2BAA2B,CAC/C,IAAI,EAAE,eAAe,EACrB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,4BAA4B,EACxC,aAAa,EAAE,4BAA4B,EAC3C,8BAA8B,CAAC,EAAE,wBAAwB,GACxD,OAAO,CAAC,kBAAkB,CAAC,CA4B7B"}
@@ -3,6 +3,7 @@
3
3
  import { createHttpHeaders } from "@azure/core-rest-pipeline";
4
4
  import { HeaderConstants, PathStylePorts, URLConstants } from "./constants.js";
5
5
  import { isNodeLike } from "@azure/core-util";
6
+ import { toCompatResponse } from "@azure/core-http-compat";
6
7
  import { StorageCRC64Calculator, structuredMessageEncoding } from "@azure/storage-common";
7
8
  /**
8
9
  * Reserved URL characters must be properly escaped for Storage services like Blob or File.
@@ -517,6 +518,14 @@ export function assertResponse(response) {
517
518
  }
518
519
  throw new TypeError(`Unexpected response object ${response}`);
519
520
  }
521
+ export function adjustResponse(result) {
522
+ const compatResponse = toCompatResponse(result._response.rawResponse);
523
+ compatResponse.parsedHeaders = result._response.parsedHeaders;
524
+ compatResponse.parsedBody = result._response.parsedBody;
525
+ compatResponse.bodyAsText = result._response.rawResponse.bodyAsText;
526
+ result._response = compatResponse;
527
+ return result;
528
+ }
520
529
  export function StringEncodedToString(name) {
521
530
  if (name.encoded) {
522
531
  return decodeURIComponent(name.content);
@@ -582,6 +591,45 @@ export function ConvertInternalResponseOfListHandles(internalResponse) {
582
591
  export function removeEmptyString(value) {
583
592
  return value ? value : undefined;
584
593
  }
594
+ /**
595
+ * Merges the valid ranges and cleared ranges returned by the service into a single
596
+ * ordered sequence of {@link ShareFileRange} items, sorted by start position.
597
+ *
598
+ * This uses a two-pointer merge and assumes each input array is already sorted ascending
599
+ * by `start`, which is guaranteed by the List Ranges service response. If that invariant
600
+ * ever changes, the inputs must be sorted before merging to preserve output ordering.
601
+ *
602
+ * On a tie (equal `start`), the valid data range is emitted before the cleared range.
603
+ * @internal
604
+ */
605
+ export function* extractShareFileRangeItems(ranges = [], clearRanges = []) {
606
+ let rangeIndex = 0;
607
+ let clearRangeIndex = 0;
608
+ while (rangeIndex < ranges.length && clearRangeIndex < clearRanges.length) {
609
+ if (ranges[rangeIndex].start <= clearRanges[clearRangeIndex].start) {
610
+ yield { start: ranges[rangeIndex].start, end: ranges[rangeIndex].end, isClear: false };
611
+ ++rangeIndex;
612
+ }
613
+ else {
614
+ yield {
615
+ start: clearRanges[clearRangeIndex].start,
616
+ end: clearRanges[clearRangeIndex].end,
617
+ isClear: true,
618
+ };
619
+ ++clearRangeIndex;
620
+ }
621
+ }
622
+ for (; rangeIndex < ranges.length; ++rangeIndex) {
623
+ yield { start: ranges[rangeIndex].start, end: ranges[rangeIndex].end, isClear: false };
624
+ }
625
+ for (; clearRangeIndex < clearRanges.length; ++clearRangeIndex) {
626
+ yield {
627
+ start: clearRanges[clearRangeIndex].start,
628
+ end: clearRanges[clearRangeIndex].end,
629
+ isClear: true,
630
+ };
631
+ }
632
+ }
585
633
  export function asSharePermission(value) {
586
634
  const castSharePermission = value;
587
635
  if (castSharePermission["permission"] !== undefined) {