@azure/storage-file-share 12.33.0 → 12.34.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (411) hide show
  1. package/README.md +39 -0
  2. package/dist/browser/Clients.d.ts +130 -6
  3. package/dist/browser/Clients.d.ts.map +1 -1
  4. package/dist/browser/Clients.js +182 -16
  5. package/dist/browser/Clients.js.map +1 -1
  6. package/dist/browser/Pipeline.js +1 -1
  7. package/dist/browser/Pipeline.js.map +1 -1
  8. package/dist/browser/ShareServiceClient.d.ts.map +1 -1
  9. package/dist/browser/ShareServiceClient.js +1 -2
  10. package/dist/browser/ShareServiceClient.js.map +1 -1
  11. package/dist/browser/generated/api/directory/index.d.ts +1 -1
  12. package/dist/browser/generated/api/directory/index.d.ts.map +1 -1
  13. package/dist/browser/generated/api/directory/index.js +1 -1
  14. package/dist/browser/generated/api/directory/index.js.map +1 -1
  15. package/dist/browser/generated/api/directory/operations.d.ts +8 -10
  16. package/dist/browser/generated/api/directory/operations.d.ts.map +1 -1
  17. package/dist/browser/generated/api/directory/operations.js +27 -23
  18. package/dist/browser/generated/api/directory/operations.js.map +1 -1
  19. package/dist/browser/generated/api/file/index.d.ts +2 -2
  20. package/dist/browser/generated/api/file/index.d.ts.map +1 -1
  21. package/dist/browser/generated/api/file/index.js +1 -1
  22. package/dist/browser/generated/api/file/index.js.map +1 -1
  23. package/dist/browser/generated/api/file/operations.d.ts +137 -12
  24. package/dist/browser/generated/api/file/operations.d.ts.map +1 -1
  25. package/dist/browser/generated/api/file/operations.js +237 -39
  26. package/dist/browser/generated/api/file/operations.js.map +1 -1
  27. package/dist/browser/generated/api/file/options.d.ts +15 -0
  28. package/dist/browser/generated/api/file/options.d.ts.map +1 -1
  29. package/dist/browser/generated/api/file/options.js.map +1 -1
  30. package/dist/browser/generated/api/fileContext.d.ts.map +1 -1
  31. package/dist/browser/generated/api/fileContext.js +4 -3
  32. package/dist/browser/generated/api/fileContext.js.map +1 -1
  33. package/dist/browser/generated/api/service/operations.js +4 -4
  34. package/dist/browser/generated/api/service/operations.js.map +1 -1
  35. package/dist/browser/generated/api/share/index.d.ts +1 -1
  36. package/dist/browser/generated/api/share/index.d.ts.map +1 -1
  37. package/dist/browser/generated/api/share/index.js +1 -1
  38. package/dist/browser/generated/api/share/index.js.map +1 -1
  39. package/dist/browser/generated/api/share/operations.d.ts +17 -10
  40. package/dist/browser/generated/api/share/operations.d.ts.map +1 -1
  41. package/dist/browser/generated/api/share/operations.js +60 -31
  42. package/dist/browser/generated/api/share/operations.js.map +1 -1
  43. package/dist/browser/generated/api/share/options.d.ts +8 -0
  44. package/dist/browser/generated/api/share/options.d.ts.map +1 -1
  45. package/dist/browser/generated/api/share/options.js.map +1 -1
  46. package/dist/browser/generated/classic/directory/index.d.ts +3 -6
  47. package/dist/browser/generated/classic/directory/index.d.ts.map +1 -1
  48. package/dist/browser/generated/classic/directory/index.js +2 -2
  49. package/dist/browser/generated/classic/directory/index.js.map +1 -1
  50. package/dist/browser/generated/classic/file/index.d.ts +85 -8
  51. package/dist/browser/generated/classic/file/index.d.ts.map +1 -1
  52. package/dist/browser/generated/classic/file/index.js +3 -2
  53. package/dist/browser/generated/classic/file/index.js.map +1 -1
  54. package/dist/browser/generated/classic/share/index.d.ts +9 -6
  55. package/dist/browser/generated/classic/share/index.d.ts.map +1 -1
  56. package/dist/browser/generated/classic/share/index.js +2 -2
  57. package/dist/browser/generated/classic/share/index.js.map +1 -1
  58. package/dist/browser/generated/fileClient.d.ts.map +1 -1
  59. package/dist/browser/generated/fileClient.js +1 -8
  60. package/dist/browser/generated/fileClient.js.map +1 -1
  61. package/dist/browser/generated/index.d.ts +2 -2
  62. package/dist/browser/generated/index.d.ts.map +1 -1
  63. package/dist/browser/generated/index.js.map +1 -1
  64. package/dist/browser/generated/models/index.d.ts +1 -1
  65. package/dist/browser/generated/models/index.d.ts.map +1 -1
  66. package/dist/browser/generated/models/index.js.map +1 -1
  67. package/dist/browser/generated/models/models.d.ts +133 -8
  68. package/dist/browser/generated/models/models.d.ts.map +1 -1
  69. package/dist/browser/generated/models/models.js +644 -0
  70. package/dist/browser/generated/models/models.js.map +1 -1
  71. package/dist/browser/generated/static-helpers/storageCompatResponse.d.ts +1 -1
  72. package/dist/browser/generated/static-helpers/storageCompatResponse.d.ts.map +1 -1
  73. package/dist/browser/generated/static-helpers/storageCompatResponse.js +2 -2
  74. package/dist/browser/generated/static-helpers/storageCompatResponse.js.map +1 -1
  75. package/dist/browser/generated/static-helpers/urlTemplate.d.ts.map +1 -1
  76. package/dist/browser/generated/static-helpers/urlTemplate.js +4 -2
  77. package/dist/browser/generated/static-helpers/urlTemplate.js.map +1 -1
  78. package/dist/browser/generated-classic-models.d.ts +10 -0
  79. package/dist/browser/generated-classic-models.d.ts.map +1 -1
  80. package/dist/browser/generated-classic-models.js.map +1 -1
  81. package/dist/browser/generatedModels.d.ts +10 -0
  82. package/dist/browser/generatedModels.d.ts.map +1 -1
  83. package/dist/browser/generatedModels.js.map +1 -1
  84. package/dist/browser/package.json +6 -1
  85. package/dist/browser/utils/constants.d.ts +1 -0
  86. package/dist/browser/utils/constants.d.ts.map +1 -1
  87. package/dist/browser/utils/constants.js +3 -2
  88. package/dist/browser/utils/constants.js.map +1 -1
  89. package/dist/browser/utils/utils.common.d.ts +23 -0
  90. package/dist/browser/utils/utils.common.d.ts.map +1 -1
  91. package/dist/browser/utils/utils.common.js +86 -11
  92. package/dist/browser/utils/utils.common.js.map +1 -1
  93. package/dist/commonjs/Clients.d.ts +130 -6
  94. package/dist/commonjs/Clients.d.ts.map +1 -1
  95. package/dist/commonjs/Clients.js +206 -15
  96. package/dist/commonjs/Clients.js.map +2 -2
  97. package/dist/commonjs/Pipeline.js +1 -1
  98. package/dist/commonjs/Pipeline.js.map +2 -2
  99. package/dist/commonjs/ShareServiceClient.d.ts.map +1 -1
  100. package/dist/commonjs/ShareServiceClient.js +1 -2
  101. package/dist/commonjs/ShareServiceClient.js.map +2 -2
  102. package/dist/commonjs/generated/api/directory/index.d.ts +1 -1
  103. package/dist/commonjs/generated/api/directory/index.d.ts.map +1 -1
  104. package/dist/commonjs/generated/api/directory/index.js +2 -2
  105. package/dist/commonjs/generated/api/directory/index.js.map +1 -1
  106. package/dist/commonjs/generated/api/directory/operations.d.ts +8 -10
  107. package/dist/commonjs/generated/api/directory/operations.d.ts.map +1 -1
  108. package/dist/commonjs/generated/api/directory/operations.js +35 -28
  109. package/dist/commonjs/generated/api/directory/operations.js.map +2 -2
  110. package/dist/commonjs/generated/api/file/index.d.ts +2 -2
  111. package/dist/commonjs/generated/api/file/index.d.ts.map +1 -1
  112. package/dist/commonjs/generated/api/file/index.js +4 -2
  113. package/dist/commonjs/generated/api/file/index.js.map +2 -2
  114. package/dist/commonjs/generated/api/file/operations.d.ts +137 -12
  115. package/dist/commonjs/generated/api/file/operations.d.ts.map +1 -1
  116. package/dist/commonjs/generated/api/file/operations.js +162 -43
  117. package/dist/commonjs/generated/api/file/operations.js.map +2 -2
  118. package/dist/commonjs/generated/api/file/options.d.ts +15 -0
  119. package/dist/commonjs/generated/api/file/options.d.ts.map +1 -1
  120. package/dist/commonjs/generated/api/file/options.js.map +1 -1
  121. package/dist/commonjs/generated/api/fileContext.d.ts.map +1 -1
  122. package/dist/commonjs/generated/api/fileContext.js +13 -2
  123. package/dist/commonjs/generated/api/fileContext.js.map +3 -3
  124. package/dist/commonjs/generated/api/service/operations.js +4 -4
  125. package/dist/commonjs/generated/api/service/operations.js.map +1 -1
  126. package/dist/commonjs/generated/api/share/index.d.ts +1 -1
  127. package/dist/commonjs/generated/api/share/index.d.ts.map +1 -1
  128. package/dist/commonjs/generated/api/share/index.js +2 -2
  129. package/dist/commonjs/generated/api/share/index.js.map +1 -1
  130. package/dist/commonjs/generated/api/share/operations.d.ts +17 -10
  131. package/dist/commonjs/generated/api/share/operations.d.ts.map +1 -1
  132. package/dist/commonjs/generated/api/share/operations.js +50 -36
  133. package/dist/commonjs/generated/api/share/operations.js.map +2 -2
  134. package/dist/commonjs/generated/api/share/options.d.ts +8 -0
  135. package/dist/commonjs/generated/api/share/options.d.ts.map +1 -1
  136. package/dist/commonjs/generated/api/share/options.js.map +1 -1
  137. package/dist/commonjs/generated/classic/directory/index.d.ts +3 -6
  138. package/dist/commonjs/generated/classic/directory/index.d.ts.map +1 -1
  139. package/dist/commonjs/generated/classic/directory/index.js +1 -1
  140. package/dist/commonjs/generated/classic/directory/index.js.map +2 -2
  141. package/dist/commonjs/generated/classic/file/index.d.ts +85 -8
  142. package/dist/commonjs/generated/classic/file/index.d.ts.map +1 -1
  143. package/dist/commonjs/generated/classic/file/index.js +2 -1
  144. package/dist/commonjs/generated/classic/file/index.js.map +2 -2
  145. package/dist/commonjs/generated/classic/share/index.d.ts +9 -6
  146. package/dist/commonjs/generated/classic/share/index.d.ts.map +1 -1
  147. package/dist/commonjs/generated/classic/share/index.js +1 -1
  148. package/dist/commonjs/generated/classic/share/index.js.map +2 -2
  149. package/dist/commonjs/generated/fileClient.d.ts.map +1 -1
  150. package/dist/commonjs/generated/fileClient.js +1 -6
  151. package/dist/commonjs/generated/fileClient.js.map +2 -2
  152. package/dist/commonjs/generated/index.d.ts +2 -2
  153. package/dist/commonjs/generated/index.d.ts.map +1 -1
  154. package/dist/commonjs/generated/index.js.map +2 -2
  155. package/dist/commonjs/generated/models/index.d.ts +1 -1
  156. package/dist/commonjs/generated/models/index.d.ts.map +1 -1
  157. package/dist/commonjs/generated/models/index.js.map +2 -2
  158. package/dist/commonjs/generated/models/models.d.ts +133 -8
  159. package/dist/commonjs/generated/models/models.d.ts.map +1 -1
  160. package/dist/commonjs/generated/models/models.js +683 -5
  161. package/dist/commonjs/generated/models/models.js.map +2 -2
  162. package/dist/commonjs/generated/static-helpers/storageCompatResponse.d.ts +1 -1
  163. package/dist/commonjs/generated/static-helpers/storageCompatResponse.d.ts.map +1 -1
  164. package/dist/commonjs/generated/static-helpers/storageCompatResponse.js +1 -1
  165. package/dist/commonjs/generated/static-helpers/storageCompatResponse.js.map +2 -2
  166. package/dist/commonjs/generated/static-helpers/urlTemplate.d.ts.map +1 -1
  167. package/dist/commonjs/generated/static-helpers/urlTemplate.js +2 -2
  168. package/dist/commonjs/generated/static-helpers/urlTemplate.js.map +2 -2
  169. package/dist/commonjs/generated-classic-models.d.ts +10 -0
  170. package/dist/commonjs/generated-classic-models.d.ts.map +1 -1
  171. package/dist/commonjs/generated-classic-models.js.map +2 -2
  172. package/dist/commonjs/generatedModels.d.ts +10 -0
  173. package/dist/commonjs/generatedModels.d.ts.map +1 -1
  174. package/dist/commonjs/generatedModels.js.map +2 -2
  175. package/dist/commonjs/package.json +6 -1
  176. package/dist/commonjs/tsdoc-metadata.json +1 -1
  177. package/dist/commonjs/utils/constants.d.ts +1 -0
  178. package/dist/commonjs/utils/constants.d.ts.map +1 -1
  179. package/dist/commonjs/utils/constants.js +3 -2
  180. package/dist/commonjs/utils/constants.js.map +2 -2
  181. package/dist/commonjs/utils/utils.common.d.ts +23 -0
  182. package/dist/commonjs/utils/utils.common.d.ts.map +1 -1
  183. package/dist/commonjs/utils/utils.common.js +61 -11
  184. package/dist/commonjs/utils/utils.common.js.map +2 -2
  185. package/dist/esm/Clients.d.ts +130 -6
  186. package/dist/esm/Clients.d.ts.map +1 -1
  187. package/dist/esm/Clients.js +182 -16
  188. package/dist/esm/Clients.js.map +1 -1
  189. package/dist/esm/Pipeline.js +1 -1
  190. package/dist/esm/Pipeline.js.map +1 -1
  191. package/dist/esm/ShareServiceClient.d.ts.map +1 -1
  192. package/dist/esm/ShareServiceClient.js +1 -2
  193. package/dist/esm/ShareServiceClient.js.map +1 -1
  194. package/dist/esm/generated/api/directory/index.d.ts +1 -1
  195. package/dist/esm/generated/api/directory/index.d.ts.map +1 -1
  196. package/dist/esm/generated/api/directory/index.js +1 -1
  197. package/dist/esm/generated/api/directory/index.js.map +1 -1
  198. package/dist/esm/generated/api/directory/operations.d.ts +8 -10
  199. package/dist/esm/generated/api/directory/operations.d.ts.map +1 -1
  200. package/dist/esm/generated/api/directory/operations.js +27 -23
  201. package/dist/esm/generated/api/directory/operations.js.map +1 -1
  202. package/dist/esm/generated/api/file/index.d.ts +2 -2
  203. package/dist/esm/generated/api/file/index.d.ts.map +1 -1
  204. package/dist/esm/generated/api/file/index.js +1 -1
  205. package/dist/esm/generated/api/file/index.js.map +1 -1
  206. package/dist/esm/generated/api/file/operations.d.ts +137 -12
  207. package/dist/esm/generated/api/file/operations.d.ts.map +1 -1
  208. package/dist/esm/generated/api/file/operations.js +237 -39
  209. package/dist/esm/generated/api/file/operations.js.map +1 -1
  210. package/dist/esm/generated/api/file/options.d.ts +15 -0
  211. package/dist/esm/generated/api/file/options.d.ts.map +1 -1
  212. package/dist/esm/generated/api/file/options.js.map +1 -1
  213. package/dist/esm/generated/api/fileContext.d.ts.map +1 -1
  214. package/dist/esm/generated/api/fileContext.js +4 -3
  215. package/dist/esm/generated/api/fileContext.js.map +1 -1
  216. package/dist/esm/generated/api/service/operations.js +4 -4
  217. package/dist/esm/generated/api/service/operations.js.map +1 -1
  218. package/dist/esm/generated/api/share/index.d.ts +1 -1
  219. package/dist/esm/generated/api/share/index.d.ts.map +1 -1
  220. package/dist/esm/generated/api/share/index.js +1 -1
  221. package/dist/esm/generated/api/share/index.js.map +1 -1
  222. package/dist/esm/generated/api/share/operations.d.ts +17 -10
  223. package/dist/esm/generated/api/share/operations.d.ts.map +1 -1
  224. package/dist/esm/generated/api/share/operations.js +60 -31
  225. package/dist/esm/generated/api/share/operations.js.map +1 -1
  226. package/dist/esm/generated/api/share/options.d.ts +8 -0
  227. package/dist/esm/generated/api/share/options.d.ts.map +1 -1
  228. package/dist/esm/generated/api/share/options.js.map +1 -1
  229. package/dist/esm/generated/classic/directory/index.d.ts +3 -6
  230. package/dist/esm/generated/classic/directory/index.d.ts.map +1 -1
  231. package/dist/esm/generated/classic/directory/index.js +2 -2
  232. package/dist/esm/generated/classic/directory/index.js.map +1 -1
  233. package/dist/esm/generated/classic/file/index.d.ts +85 -8
  234. package/dist/esm/generated/classic/file/index.d.ts.map +1 -1
  235. package/dist/esm/generated/classic/file/index.js +3 -2
  236. package/dist/esm/generated/classic/file/index.js.map +1 -1
  237. package/dist/esm/generated/classic/share/index.d.ts +9 -6
  238. package/dist/esm/generated/classic/share/index.d.ts.map +1 -1
  239. package/dist/esm/generated/classic/share/index.js +2 -2
  240. package/dist/esm/generated/classic/share/index.js.map +1 -1
  241. package/dist/esm/generated/fileClient.d.ts.map +1 -1
  242. package/dist/esm/generated/fileClient.js +1 -8
  243. package/dist/esm/generated/fileClient.js.map +1 -1
  244. package/dist/esm/generated/index.d.ts +2 -2
  245. package/dist/esm/generated/index.d.ts.map +1 -1
  246. package/dist/esm/generated/index.js.map +1 -1
  247. package/dist/esm/generated/models/index.d.ts +1 -1
  248. package/dist/esm/generated/models/index.d.ts.map +1 -1
  249. package/dist/esm/generated/models/index.js.map +1 -1
  250. package/dist/esm/generated/models/models.d.ts +133 -8
  251. package/dist/esm/generated/models/models.d.ts.map +1 -1
  252. package/dist/esm/generated/models/models.js +644 -0
  253. package/dist/esm/generated/models/models.js.map +1 -1
  254. package/dist/esm/generated/static-helpers/storageCompatResponse.d.ts +1 -1
  255. package/dist/esm/generated/static-helpers/storageCompatResponse.d.ts.map +1 -1
  256. package/dist/esm/generated/static-helpers/storageCompatResponse.js +2 -2
  257. package/dist/esm/generated/static-helpers/storageCompatResponse.js.map +1 -1
  258. package/dist/esm/generated/static-helpers/urlTemplate.d.ts.map +1 -1
  259. package/dist/esm/generated/static-helpers/urlTemplate.js +4 -2
  260. package/dist/esm/generated/static-helpers/urlTemplate.js.map +1 -1
  261. package/dist/esm/generated-classic-models.d.ts +10 -0
  262. package/dist/esm/generated-classic-models.d.ts.map +1 -1
  263. package/dist/esm/generated-classic-models.js.map +1 -1
  264. package/dist/esm/generatedModels.d.ts +10 -0
  265. package/dist/esm/generatedModels.d.ts.map +1 -1
  266. package/dist/esm/generatedModels.js.map +1 -1
  267. package/dist/esm/package.json +6 -1
  268. package/dist/esm/utils/constants.d.ts +1 -0
  269. package/dist/esm/utils/constants.d.ts.map +1 -1
  270. package/dist/esm/utils/constants.js +3 -2
  271. package/dist/esm/utils/constants.js.map +1 -1
  272. package/dist/esm/utils/utils.common.d.ts +23 -0
  273. package/dist/esm/utils/utils.common.d.ts.map +1 -1
  274. package/dist/esm/utils/utils.common.js +86 -11
  275. package/dist/esm/utils/utils.common.js.map +1 -1
  276. package/dist/react-native/Clients.d.ts +130 -6
  277. package/dist/react-native/Clients.d.ts.map +1 -1
  278. package/dist/react-native/Clients.js +182 -16
  279. package/dist/react-native/Clients.js.map +1 -1
  280. package/dist/react-native/Pipeline.js +1 -1
  281. package/dist/react-native/Pipeline.js.map +1 -1
  282. package/dist/react-native/ShareServiceClient.d.ts.map +1 -1
  283. package/dist/react-native/ShareServiceClient.js +1 -2
  284. package/dist/react-native/ShareServiceClient.js.map +1 -1
  285. package/dist/react-native/generated/api/directory/index.d.ts +1 -1
  286. package/dist/react-native/generated/api/directory/index.d.ts.map +1 -1
  287. package/dist/react-native/generated/api/directory/index.js +1 -1
  288. package/dist/react-native/generated/api/directory/index.js.map +1 -1
  289. package/dist/react-native/generated/api/directory/operations.d.ts +8 -10
  290. package/dist/react-native/generated/api/directory/operations.d.ts.map +1 -1
  291. package/dist/react-native/generated/api/directory/operations.js +27 -23
  292. package/dist/react-native/generated/api/directory/operations.js.map +1 -1
  293. package/dist/react-native/generated/api/file/index.d.ts +2 -2
  294. package/dist/react-native/generated/api/file/index.d.ts.map +1 -1
  295. package/dist/react-native/generated/api/file/index.js +1 -1
  296. package/dist/react-native/generated/api/file/index.js.map +1 -1
  297. package/dist/react-native/generated/api/file/operations.d.ts +137 -12
  298. package/dist/react-native/generated/api/file/operations.d.ts.map +1 -1
  299. package/dist/react-native/generated/api/file/operations.js +237 -39
  300. package/dist/react-native/generated/api/file/operations.js.map +1 -1
  301. package/dist/react-native/generated/api/file/options.d.ts +15 -0
  302. package/dist/react-native/generated/api/file/options.d.ts.map +1 -1
  303. package/dist/react-native/generated/api/file/options.js.map +1 -1
  304. package/dist/react-native/generated/api/fileContext.d.ts.map +1 -1
  305. package/dist/react-native/generated/api/fileContext.js +4 -3
  306. package/dist/react-native/generated/api/fileContext.js.map +1 -1
  307. package/dist/react-native/generated/api/service/operations.js +4 -4
  308. package/dist/react-native/generated/api/service/operations.js.map +1 -1
  309. package/dist/react-native/generated/api/share/index.d.ts +1 -1
  310. package/dist/react-native/generated/api/share/index.d.ts.map +1 -1
  311. package/dist/react-native/generated/api/share/index.js +1 -1
  312. package/dist/react-native/generated/api/share/index.js.map +1 -1
  313. package/dist/react-native/generated/api/share/operations.d.ts +17 -10
  314. package/dist/react-native/generated/api/share/operations.d.ts.map +1 -1
  315. package/dist/react-native/generated/api/share/operations.js +60 -31
  316. package/dist/react-native/generated/api/share/operations.js.map +1 -1
  317. package/dist/react-native/generated/api/share/options.d.ts +8 -0
  318. package/dist/react-native/generated/api/share/options.d.ts.map +1 -1
  319. package/dist/react-native/generated/api/share/options.js.map +1 -1
  320. package/dist/react-native/generated/classic/directory/index.d.ts +3 -6
  321. package/dist/react-native/generated/classic/directory/index.d.ts.map +1 -1
  322. package/dist/react-native/generated/classic/directory/index.js +2 -2
  323. package/dist/react-native/generated/classic/directory/index.js.map +1 -1
  324. package/dist/react-native/generated/classic/file/index.d.ts +85 -8
  325. package/dist/react-native/generated/classic/file/index.d.ts.map +1 -1
  326. package/dist/react-native/generated/classic/file/index.js +3 -2
  327. package/dist/react-native/generated/classic/file/index.js.map +1 -1
  328. package/dist/react-native/generated/classic/share/index.d.ts +9 -6
  329. package/dist/react-native/generated/classic/share/index.d.ts.map +1 -1
  330. package/dist/react-native/generated/classic/share/index.js +2 -2
  331. package/dist/react-native/generated/classic/share/index.js.map +1 -1
  332. package/dist/react-native/generated/fileClient.d.ts.map +1 -1
  333. package/dist/react-native/generated/fileClient.js +1 -8
  334. package/dist/react-native/generated/fileClient.js.map +1 -1
  335. package/dist/react-native/generated/index.d.ts +2 -2
  336. package/dist/react-native/generated/index.d.ts.map +1 -1
  337. package/dist/react-native/generated/index.js.map +1 -1
  338. package/dist/react-native/generated/models/index.d.ts +1 -1
  339. package/dist/react-native/generated/models/index.d.ts.map +1 -1
  340. package/dist/react-native/generated/models/index.js.map +1 -1
  341. package/dist/react-native/generated/models/models.d.ts +133 -8
  342. package/dist/react-native/generated/models/models.d.ts.map +1 -1
  343. package/dist/react-native/generated/models/models.js +644 -0
  344. package/dist/react-native/generated/models/models.js.map +1 -1
  345. package/dist/react-native/generated/static-helpers/storageCompatResponse.d.ts +1 -1
  346. package/dist/react-native/generated/static-helpers/storageCompatResponse.d.ts.map +1 -1
  347. package/dist/react-native/generated/static-helpers/storageCompatResponse.js +2 -2
  348. package/dist/react-native/generated/static-helpers/storageCompatResponse.js.map +1 -1
  349. package/dist/react-native/generated/static-helpers/urlTemplate.d.ts.map +1 -1
  350. package/dist/react-native/generated/static-helpers/urlTemplate.js +4 -2
  351. package/dist/react-native/generated/static-helpers/urlTemplate.js.map +1 -1
  352. package/dist/react-native/generated-classic-models.d.ts +10 -0
  353. package/dist/react-native/generated-classic-models.d.ts.map +1 -1
  354. package/dist/react-native/generated-classic-models.js.map +1 -1
  355. package/dist/react-native/generatedModels.d.ts +10 -0
  356. package/dist/react-native/generatedModels.d.ts.map +1 -1
  357. package/dist/react-native/generatedModels.js.map +1 -1
  358. package/dist/react-native/package.json +6 -1
  359. package/dist/react-native/utils/constants.d.ts +1 -0
  360. package/dist/react-native/utils/constants.d.ts.map +1 -1
  361. package/dist/react-native/utils/constants.js +3 -2
  362. package/dist/react-native/utils/constants.js.map +1 -1
  363. package/dist/react-native/utils/utils.common.d.ts +23 -0
  364. package/dist/react-native/utils/utils.common.d.ts.map +1 -1
  365. package/dist/react-native/utils/utils.common.js +86 -11
  366. package/dist/react-native/utils/utils.common.js.map +1 -1
  367. package/package.json +14 -18
  368. package/dist/browser/generated/static-helpers/platform-types-browser.d.mts +0 -6
  369. package/dist/browser/generated/static-helpers/platform-types-browser.d.mts.map +0 -1
  370. package/dist/browser/generated/static-helpers/platform-types-browser.mjs +0 -2
  371. package/dist/browser/generated/static-helpers/platform-types-browser.mjs.map +0 -1
  372. package/dist/browser/generated/static-helpers/platform-types.d.ts +0 -6
  373. package/dist/browser/generated/static-helpers/platform-types.d.ts.map +0 -1
  374. package/dist/browser/generated/static-helpers/platform-types.js +0 -2
  375. package/dist/browser/generated/static-helpers/platform-types.js.map +0 -1
  376. package/dist/browser/generated/static-helpers/serialization/get-binary-stream-response.d.ts +0 -13
  377. package/dist/browser/generated/static-helpers/serialization/get-binary-stream-response.d.ts.map +0 -1
  378. package/dist/browser/generated/static-helpers/serialization/get-binary-stream-response.js +0 -15
  379. package/dist/browser/generated/static-helpers/serialization/get-binary-stream-response.js.map +0 -1
  380. package/dist/commonjs/generated/static-helpers/platform-types.d.ts +0 -8
  381. package/dist/commonjs/generated/static-helpers/platform-types.d.ts.map +0 -1
  382. package/dist/commonjs/generated/static-helpers/platform-types.js +0 -16
  383. package/dist/commonjs/generated/static-helpers/platform-types.js.map +0 -7
  384. package/dist/commonjs/generated/static-helpers/serialization/get-binary-stream-response.d.ts +0 -13
  385. package/dist/commonjs/generated/static-helpers/serialization/get-binary-stream-response.d.ts.map +0 -1
  386. package/dist/commonjs/generated/static-helpers/serialization/get-binary-stream-response.js +0 -35
  387. package/dist/commonjs/generated/static-helpers/serialization/get-binary-stream-response.js.map +0 -7
  388. package/dist/esm/generated/static-helpers/platform-types.d.ts +0 -8
  389. package/dist/esm/generated/static-helpers/platform-types.d.ts.map +0 -1
  390. package/dist/esm/generated/static-helpers/platform-types.js +0 -4
  391. package/dist/esm/generated/static-helpers/platform-types.js.map +0 -1
  392. package/dist/esm/generated/static-helpers/serialization/get-binary-stream-response.d.ts +0 -13
  393. package/dist/esm/generated/static-helpers/serialization/get-binary-stream-response.d.ts.map +0 -1
  394. package/dist/esm/generated/static-helpers/serialization/get-binary-stream-response.js +0 -17
  395. package/dist/esm/generated/static-helpers/serialization/get-binary-stream-response.js.map +0 -1
  396. package/dist/react-native/generated/static-helpers/platform-types-browser.d.mts +0 -6
  397. package/dist/react-native/generated/static-helpers/platform-types-browser.d.mts.map +0 -1
  398. package/dist/react-native/generated/static-helpers/platform-types-browser.mjs +0 -2
  399. package/dist/react-native/generated/static-helpers/platform-types-browser.mjs.map +0 -1
  400. package/dist/react-native/generated/static-helpers/platform-types.d.ts +0 -6
  401. package/dist/react-native/generated/static-helpers/platform-types.d.ts.map +0 -1
  402. package/dist/react-native/generated/static-helpers/platform-types.js +0 -2
  403. package/dist/react-native/generated/static-helpers/platform-types.js.map +0 -1
  404. package/dist/react-native/generated/static-helpers/serialization/get-binary-stream-response-browser.d.mts +0 -13
  405. package/dist/react-native/generated/static-helpers/serialization/get-binary-stream-response-browser.d.mts.map +0 -1
  406. package/dist/react-native/generated/static-helpers/serialization/get-binary-stream-response-browser.mjs +0 -15
  407. package/dist/react-native/generated/static-helpers/serialization/get-binary-stream-response-browser.mjs.map +0 -1
  408. package/dist/react-native/generated/static-helpers/serialization/get-binary-stream-response.d.ts +0 -2
  409. package/dist/react-native/generated/static-helpers/serialization/get-binary-stream-response.d.ts.map +0 -1
  410. package/dist/react-native/generated/static-helpers/serialization/get-binary-stream-response.js +0 -2
  411. package/dist/react-native/generated/static-helpers/serialization/get-binary-stream-response.js.map +0 -1
@@ -1,6 +1,21 @@
1
1
  import { FilePermissionFormat, ShareTokenIntent, FilePropertySemantics, NfsFileType, FileLastWrittenMode, PermissionCopyModeType, ModeCopyMode, OwnerCopyMode } from "../../models/models.js";
2
2
  import { OperationOptions } from "@azure-rest/core-client";
3
3
  /** Optional parameters. */
4
+ export interface FileGetHardLinksOptionalParams extends OperationOptions {
5
+ /** An opaque, globally-unique, client-generated string identifier for the request. */
6
+ clientRequestId?: string;
7
+ /** The snapshot parameter is an opaque DateTime value that specifies a share snapshot. */
8
+ shareSnapshot?: string;
9
+ /** The timeout parameter is expressed in seconds. */
10
+ timeoutInSeconds?: number;
11
+ /** If specified, the lease ID must match the lease ID of the file. */
12
+ leaseId?: string;
13
+ /** If true, the trailing dot will not be trimmed from the target file/directory path. */
14
+ allowTrailingDot?: boolean;
15
+ /** Valid values are 'backup'. */
16
+ fileRequestIntent?: ShareTokenIntent;
17
+ }
18
+ /** Optional parameters. */
4
19
  export interface FileCreateHardLinkOptionalParams extends OperationOptions {
5
20
  /** An opaque, globally-unique, client-generated string identifier for the request. */
6
21
  clientRequestId?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../src/generated/api/file/options.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,EACrB,WAAW,EACX,mBAAmB,EACnB,sBAAsB,EACtB,YAAY,EACZ,aAAa,EACd,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,2BAA2B;AAC3B,MAAM,WAAW,gCAAiC,SAAQ,gBAAgB;IACxE,sFAAsF;IACtF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,qDAAqD;IACrD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,sEAAsE;IACtE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iCAAiC;IACjC,iBAAiB,CAAC,EAAE,gBAAgB,CAAC;CACtC;AAED,2BAA2B;AAC3B,MAAM,WAAW,iCAAkC,SAAQ,gBAAgB;IACzE,sFAAsF;IACtF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,qDAAqD;IACrD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,0FAA0F;IAC1F,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iCAAiC;IACjC,iBAAiB,CAAC,EAAE,gBAAgB,CAAC;CACtC;AAED,2BAA2B;AAC3B,MAAM,WAAW,oCAAqC,SAAQ,gBAAgB;IAC5E,sFAAsF;IACtF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ated/api/file/options.ts"],
4
- "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n FilePermissionFormat,\n ShareTokenIntent,\n FilePropertySemantics,\n NfsFileType,\n FileLastWrittenMode,\n PermissionCopyModeType,\n ModeCopyMode,\n OwnerCopyMode,\n} from \"../../models/models.js\";\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface FileCreateHardLinkOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileGetSymbolicLinkOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** The snapshot parameter is an opaque DateTime value that specifies a share snapshot. */\n shareSnapshot?: string;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileCreateSymbolicLinkOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Optional. User-defined metadata for the resource. */\n metadata?: Record<string, string>;\n /** Creation time for the file. */\n fileCreationTime?: string;\n /** Last write time for the file. */\n fileLastWriteTime?: string;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** Optional, NFS only. The owner of the file or directory. */\n owner?: string;\n /** Optional, NFS only. The owning group of the file or directory. */\n group?: string;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileRenameOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Boolean. Default value is false. Set to true to indicate that the destination should be overwritten. */\n replaceIfExists?: boolean;\n /** Boolean. Default value is false. Set to true to overwrite the destination even if it has the read-only attribute set. */\n ignoreReadOnly?: boolean;\n /** Required if the source file has an active lease. */\n sourceLeaseId?: string;\n /** Required if the destination has an active lease. */\n destinationLeaseId?: string;\n /** If specified, the provided file attributes shall be set. */\n fileAttributes?: string;\n /** Creation time for the file. */\n fileCreationTime?: string;\n /** Last write time for the file. */\n fileLastWriteTime?: string;\n /** Change time for the file. */\n fileChangeTime?: string;\n /** If specified the permission shall be set for the file. */\n filePermission?: string;\n /** Optional. Used to set permission format. */\n filePermissionFormat?: FilePermissionFormat;\n /** Key of the permission to be set. */\n filePermissionKey?: string;\n /** Optional. User-defined metadata for the resource. */\n metadata?: Record<string, string>;\n /** Sets the MIME content type of the file. */\n fileContentType?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** If true, the trailing dot will not be trimmed from the source URI. */\n allowSourceTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileForceCloseHandlesOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** A string value that identifies the portion of the list to be returned with the next listing operation. */\n marker?: string;\n /** The snapshot parameter is an opaque DateTime value that specifies a share snapshot. */\n shareSnapshot?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileListHandlesOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** A string value that identifies the portion of the list to be returned with the next listing operation. */\n marker?: string;\n /** Specifies the maximum number of items to return. */\n maxResults?: number;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** The snapshot parameter is an opaque DateTime value that specifies a share snapshot. */\n shareSnapshot?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileAbortCopyOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileStartCopyOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Optional. User-defined metadata for the resource. */\n metadata?: Record<string, string>;\n /** If specified the permission shall be set for the file. */\n filePermission?: string;\n /** Optional. Used to set permission format. */\n filePermissionFormat?: FilePermissionFormat;\n /** Key of the permission to be set. */\n filePermissionKey?: string;\n /** Specifies the option to copy file security descriptor from source file or to set it using the value which is defined by the header value of x-ms-file-permission or x-ms-file-permission-key. */\n filePermissionCopyMode?: PermissionCopyModeType;\n /** A boolean value that specifies whether the ReadOnly attribute on a preexisting destination file should be respected or overridden. */\n ignoreReadOnly?: boolean;\n /** If specified, the provided file attributes shall be set. */\n fileAttributes?: string;\n /** Creation time for the file. */\n fileCreationTime?: string;\n /** Last write time for the file. */\n fileLastWriteTime?: string;\n /** Change time for the file. */\n fileChangeTime?: string;\n /** Optional. Sets the archive attribute on the destination file. */\n setArchiveAttribute?: boolean;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** If true, the trailing dot will not be trimmed from the source URI. */\n allowSourceTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** Optional, NFS only. The owner of the file or directory. */\n owner?: string;\n /** Optional, NFS only. The owning group of the file or directory. */\n group?: string;\n /** Optional, NFS only. The file mode of the file or directory. */\n fileMode?: string;\n /** Specifies mode copy option for the file. */\n fileModeCopyMode?: ModeCopyMode;\n /** Specifies owner copy option for the file. */\n fileOwnerCopyMode?: OwnerCopyMode;\n}\n\n/** Optional parameters. */\nexport interface FileListAllRangesOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The snapshot parameter is an opaque DateTime value that specifies a share snapshot. */\n shareSnapshot?: string;\n /** The previous snapshot parameter is an opaque DateTime value that specifies a previous file snapshot to compare against. */\n prevsharesnapshot?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Return file data only from the specified byte range. */\n range?: string;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** This header is allowed only when PrevShareSnapshot query parameter is set. Determines whether the changed ranges for a file that has been renamed or moved should be listed. */\n supportRename?: boolean;\n /** A string value that identifies the portion of the list to be returned with the next listing operation. */\n marker?: string;\n /** Specifies the maximum number of items to return. */\n maxResults?: number;\n}\n\n/** Optional parameters. */\nexport interface FileGetRangeListOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The snapshot parameter is an opaque DateTime value that specifies a share snapshot. */\n shareSnapshot?: string;\n /** The previous snapshot parameter is an opaque DateTime value that specifies a previous file snapshot to compare against. */\n prevsharesnapshot?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Return file data only from the specified byte range. */\n range?: string;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** This header is allowed only when PrevShareSnapshot query parameter is set. Determines whether the changed ranges for a file that has been renamed or moved should be listed. */\n supportRename?: boolean;\n}\n\n/** Optional parameters. */\nexport interface FileUploadRangeFromUrlOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** Bytes of source data in the specified range. */\n sourceRange?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Specify the CRC64 hash of the source content. */\n sourceContentCrc64?: Uint8Array;\n /** Specify the CRC64 hash value to check for source content integrity. */\n sourceIfMatchCrc64?: Uint8Array;\n /** Specify the CRC64 hash value to check for source content mismatch. */\n sourceIfNoneMatchCrc64?: Uint8Array;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source. */\n copySourceAuthorization?: string;\n /** If the file last write time should be preserved or overwritten. */\n fileLastWrittenMode?: FileLastWrittenMode;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** If true, the trailing dot will not be trimmed from the source URI. */\n allowSourceTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileUploadRangeOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** Content-Type header */\n contentType?: \"application/octet-stream\";\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** An MD5 hash of the content. This hash is used to verify the integrity of the data during transport. */\n contentMD5?: Uint8Array;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If the file last write time should be preserved or overwritten. */\n fileLastWrittenMode?: FileLastWrittenMode;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** Specifies the response content should be returned as a structured message and specifies the message schema version and properties. */\n structuredBodyType?: string;\n /** Required if the request body is a structured message. Specifies the length of the blob/file content inside the message body. Will always be smaller than Content-Length. */\n structuredContentLength?: number;\n /** Initial data. */\n body?: Uint8Array;\n}\n\n/** Optional parameters. */\nexport interface FileBreakLeaseOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n}\n\n/** Optional parameters. */\nexport interface FileChangeLeaseOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Proposed lease ID, in a GUID string format. The File service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats. */\n proposedLeaseId?: string;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n}\n\n/** Optional parameters. */\nexport interface FileReleaseLeaseOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n}\n\n/** Optional parameters. */\nexport interface FileAcquireLeaseOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires. A non-infinite lease can be between 15 and 60 seconds. A lease duration cannot be changed using renew or change. */\n leaseDuration?: number;\n /** Proposed lease ID, in a GUID string format. The File service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats. */\n proposedLeaseId?: string;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n}\n\n/** Optional parameters. */\nexport interface FileSetMetadataOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Optional. User-defined metadata for the resource. */\n metadata?: Record<string, string>;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n}\n\n/** Optional parameters. */\nexport interface FileSetHttpHeadersOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Specifies the number of bytes being transmitted. */\n fileContentLength?: number;\n /** Sets the MIME content type of the file. The default type is 'application/octet-stream'. */\n fileContentType?: string;\n /** Specifies which content encodings have been applied to the file. */\n fileContentEncoding?: string;\n /** Specifies the natural languages used by this resource. */\n fileContentLanguage?: string;\n /** Sets the file's cache control. The File service stores this value but does not use or modify it. */\n fileCacheControl?: string;\n /** An MD5 hash of the file content. This hash is used to verify the integrity of the file during transport. */\n fileContentMD5?: Uint8Array;\n /** Sets the file's Content-Disposition header. */\n fileContentDisposition?: string;\n /** If specified the permission (security descriptor) shall be set for the directory/file. This header can be used if Permission size is <= 8KB, else x-ms-file-permission-key header shall be used. Default value: Inherit. If SDDL is specified as input, it must have owner, group and dacl. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified. */\n filePermission?: string;\n /** Key of the permission to be set for the directory/file. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified. */\n filePermissionKey?: string;\n /** If specified, the provided file attributes shall be set. Default value: 'Archive' for file and 'Directory' for directory. 'None' can also be specified as default. */\n fileAttributes?: string;\n /** Creation time for the file/directory. Default value: Now. */\n fileCreatedOn?: string;\n /** Last write time for the file/directory. Default value: Now. */\n fileLastWriteOn?: string;\n /** Change time for the file/directory. Default value: Now. */\n fileChangeOn?: string;\n /** Optional. Used to set permission format. */\n filePermissionFormat?: FilePermissionFormat;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** Optional, NFS only. The owner of the file or directory. */\n owner?: string;\n /** Optional, NFS only. The owning group of the file or directory. */\n group?: string;\n /** Optional, NFS only. The file mode of the file or directory. */\n fileMode?: string;\n}\n\n/** Optional parameters. */\nexport interface FileDeleteOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileGetPropertiesOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The snapshot parameter is an opaque DateTime value that specifies a share snapshot. */\n shareSnapshot?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileDownloadOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Return file data only from the specified byte range. */\n range?: string;\n /** When this header is set to true and specified together with the Range header, the service returns the MD5 hash for the range, as long as the range is less than or equal to 4 MB in size. */\n rangeGetContentMD5?: boolean;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** Specifies the response content should be returned as a structured message and specifies the message schema version and properties. */\n structuredBodyType?: string;\n}\n\n/** Optional parameters. */\nexport interface FileCreateOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** Content-Type header */\n contentType?: \"application/octet-stream\";\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Sets the MIME content type of the file. The default type is 'application/octet-stream'. */\n fileContentType?: string;\n /** Specifies which content encodings have been applied to the file. */\n fileContentEncoding?: string;\n /** Specifies the natural languages used by this resource. */\n fileContentLanguage?: string;\n /** Sets the file's cache control. The File service stores this value but does not use or modify it. */\n fileCacheControl?: string;\n /** An MD5 hash of the file content. This hash is used to verify the integrity of the file during transport. */\n fileContentMD5?: Uint8Array;\n /** Sets the file's Content-Disposition header. */\n fileContentDisposition?: string;\n /** Optional. User-defined metadata for the resource. */\n metadata?: Record<string, string>;\n /** If specified the permission (security descriptor) shall be set for the directory/file. This header can be used if Permission size is <= 8KB, else x-ms-file-permission-key header shall be used. Default value: Inherit. If SDDL is specified as input, it must have owner, group and dacl. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified. */\n filePermission?: string;\n /** Key of the permission to be set for the directory/file. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified. */\n filePermissionKey?: string;\n /** If specified, the provided file attributes shall be set. Default value: 'Archive' for file and 'Directory' for directory. 'None' can also be specified as default. */\n fileAttributes?: string;\n /** Creation time for the file/directory. Default value: Now. */\n fileCreatedOn?: string;\n /** Last write time for the file/directory. Default value: Now. */\n fileLastWriteOn?: string;\n /** Change time for the file/directory. Default value: Now. */\n fileChangeOn?: string;\n /** Optional. Used to set permission format. */\n filePermissionFormat?: FilePermissionFormat;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** Optional, NFS only. The owner of the file or directory. */\n owner?: string;\n /** Optional, NFS only. The owning group of the file or directory. */\n group?: string;\n /** Optional, NFS only. The file mode of the file or directory. */\n fileMode?: string;\n /** Optional, NFS only. Type of the file or directory. */\n nfsFileType?: NfsFileType;\n /** An MD5 hash of the content. This hash is used to verify the integrity of the data during transport. */\n contentMD5?: Uint8Array;\n /** SMB only. Default value is New. */\n filePropertySemantics?: FilePropertySemantics;\n /** Specifies the number of bytes being transmitted in the request body. When the x-ms-write header is set to clear, the value of this header must be set to zero.\" */\n contentLength?: number;\n /** Specifies the response content should be returned as a structured message and specifies the message schema version and properties. */\n structuredBodyType?: string;\n /** Required if the request body is a structured message. Specifies the length of the blob/file content inside the message body. Will always be smaller than Content-Length. */\n structuredContentLength?: number;\n /** Initial data. */\n body?: Uint8Array;\n}\n"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n FilePermissionFormat,\n ShareTokenIntent,\n FilePropertySemantics,\n NfsFileType,\n FileLastWrittenMode,\n PermissionCopyModeType,\n ModeCopyMode,\n OwnerCopyMode,\n} from \"../../models/models.js\";\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface FileGetHardLinksOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The snapshot parameter is an opaque DateTime value that specifies a share snapshot. */\n shareSnapshot?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileCreateHardLinkOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileGetSymbolicLinkOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** The snapshot parameter is an opaque DateTime value that specifies a share snapshot. */\n shareSnapshot?: string;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileCreateSymbolicLinkOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Optional. User-defined metadata for the resource. */\n metadata?: Record<string, string>;\n /** Creation time for the file. */\n fileCreationTime?: string;\n /** Last write time for the file. */\n fileLastWriteTime?: string;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** Optional, NFS only. The owner of the file or directory. */\n owner?: string;\n /** Optional, NFS only. The owning group of the file or directory. */\n group?: string;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileRenameOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Boolean. Default value is false. Set to true to indicate that the destination should be overwritten. */\n replaceIfExists?: boolean;\n /** Boolean. Default value is false. Set to true to overwrite the destination even if it has the read-only attribute set. */\n ignoreReadOnly?: boolean;\n /** Required if the source file has an active lease. */\n sourceLeaseId?: string;\n /** Required if the destination has an active lease. */\n destinationLeaseId?: string;\n /** If specified, the provided file attributes shall be set. */\n fileAttributes?: string;\n /** Creation time for the file. */\n fileCreationTime?: string;\n /** Last write time for the file. */\n fileLastWriteTime?: string;\n /** Change time for the file. */\n fileChangeTime?: string;\n /** If specified the permission shall be set for the file. */\n filePermission?: string;\n /** Optional. Used to set permission format. */\n filePermissionFormat?: FilePermissionFormat;\n /** Key of the permission to be set. */\n filePermissionKey?: string;\n /** Optional. User-defined metadata for the resource. */\n metadata?: Record<string, string>;\n /** Sets the MIME content type of the file. */\n fileContentType?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** If true, the trailing dot will not be trimmed from the source URI. */\n allowSourceTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileForceCloseHandlesOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** A string value that identifies the portion of the list to be returned with the next listing operation. */\n marker?: string;\n /** The snapshot parameter is an opaque DateTime value that specifies a share snapshot. */\n shareSnapshot?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileListHandlesOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** A string value that identifies the portion of the list to be returned with the next listing operation. */\n marker?: string;\n /** Specifies the maximum number of items to return. */\n maxResults?: number;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** The snapshot parameter is an opaque DateTime value that specifies a share snapshot. */\n shareSnapshot?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileAbortCopyOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileStartCopyOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Optional. User-defined metadata for the resource. */\n metadata?: Record<string, string>;\n /** If specified the permission shall be set for the file. */\n filePermission?: string;\n /** Optional. Used to set permission format. */\n filePermissionFormat?: FilePermissionFormat;\n /** Key of the permission to be set. */\n filePermissionKey?: string;\n /** Specifies the option to copy file security descriptor from source file or to set it using the value which is defined by the header value of x-ms-file-permission or x-ms-file-permission-key. */\n filePermissionCopyMode?: PermissionCopyModeType;\n /** A boolean value that specifies whether the ReadOnly attribute on a preexisting destination file should be respected or overridden. */\n ignoreReadOnly?: boolean;\n /** If specified, the provided file attributes shall be set. */\n fileAttributes?: string;\n /** Creation time for the file. */\n fileCreationTime?: string;\n /** Last write time for the file. */\n fileLastWriteTime?: string;\n /** Change time for the file. */\n fileChangeTime?: string;\n /** Optional. Sets the archive attribute on the destination file. */\n setArchiveAttribute?: boolean;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** If true, the trailing dot will not be trimmed from the source URI. */\n allowSourceTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** Optional, NFS only. The owner of the file or directory. */\n owner?: string;\n /** Optional, NFS only. The owning group of the file or directory. */\n group?: string;\n /** Optional, NFS only. The file mode of the file or directory. */\n fileMode?: string;\n /** Specifies mode copy option for the file. */\n fileModeCopyMode?: ModeCopyMode;\n /** Specifies owner copy option for the file. */\n fileOwnerCopyMode?: OwnerCopyMode;\n}\n\n/** Optional parameters. */\nexport interface FileListAllRangesOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The snapshot parameter is an opaque DateTime value that specifies a share snapshot. */\n shareSnapshot?: string;\n /** The previous snapshot parameter is an opaque DateTime value that specifies a previous file snapshot to compare against. */\n prevsharesnapshot?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Return file data only from the specified byte range. */\n range?: string;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** This header is allowed only when PrevShareSnapshot query parameter is set. Determines whether the changed ranges for a file that has been renamed or moved should be listed. */\n supportRename?: boolean;\n /** A string value that identifies the portion of the list to be returned with the next listing operation. */\n marker?: string;\n /** Specifies the maximum number of items to return. */\n maxResults?: number;\n}\n\n/** Optional parameters. */\nexport interface FileGetRangeListOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The snapshot parameter is an opaque DateTime value that specifies a share snapshot. */\n shareSnapshot?: string;\n /** The previous snapshot parameter is an opaque DateTime value that specifies a previous file snapshot to compare against. */\n prevsharesnapshot?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Return file data only from the specified byte range. */\n range?: string;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** This header is allowed only when PrevShareSnapshot query parameter is set. Determines whether the changed ranges for a file that has been renamed or moved should be listed. */\n supportRename?: boolean;\n}\n\n/** Optional parameters. */\nexport interface FileUploadRangeFromUrlOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** Bytes of source data in the specified range. */\n sourceRange?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Specify the CRC64 hash of the source content. */\n sourceContentCrc64?: Uint8Array;\n /** Specify the CRC64 hash value to check for source content integrity. */\n sourceIfMatchCrc64?: Uint8Array;\n /** Specify the CRC64 hash value to check for source content mismatch. */\n sourceIfNoneMatchCrc64?: Uint8Array;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source. */\n copySourceAuthorization?: string;\n /** If the file last write time should be preserved or overwritten. */\n fileLastWrittenMode?: FileLastWrittenMode;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** If true, the trailing dot will not be trimmed from the source URI. */\n allowSourceTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileUploadRangeOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** Content-Type header */\n contentType?: \"application/octet-stream\";\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** An MD5 hash of the content. This hash is used to verify the integrity of the data during transport. */\n contentMD5?: Uint8Array;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If the file last write time should be preserved or overwritten. */\n fileLastWrittenMode?: FileLastWrittenMode;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** Specifies the response content should be returned as a structured message and specifies the message schema version and properties. */\n structuredBodyType?: string;\n /** Required if the request body is a structured message. Specifies the length of the blob/file content inside the message body. Will always be smaller than Content-Length. */\n structuredContentLength?: number;\n /** Initial data. */\n body?: Uint8Array;\n}\n\n/** Optional parameters. */\nexport interface FileBreakLeaseOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n}\n\n/** Optional parameters. */\nexport interface FileChangeLeaseOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Proposed lease ID, in a GUID string format. The File service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats. */\n proposedLeaseId?: string;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n}\n\n/** Optional parameters. */\nexport interface FileReleaseLeaseOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n}\n\n/** Optional parameters. */\nexport interface FileAcquireLeaseOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires. A non-infinite lease can be between 15 and 60 seconds. A lease duration cannot be changed using renew or change. */\n leaseDuration?: number;\n /** Proposed lease ID, in a GUID string format. The File service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats. */\n proposedLeaseId?: string;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n}\n\n/** Optional parameters. */\nexport interface FileSetMetadataOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Optional. User-defined metadata for the resource. */\n metadata?: Record<string, string>;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n}\n\n/** Optional parameters. */\nexport interface FileSetHttpHeadersOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Specifies the number of bytes being transmitted. */\n fileContentLength?: number;\n /** Sets the MIME content type of the file. The default type is 'application/octet-stream'. */\n fileContentType?: string;\n /** Specifies which content encodings have been applied to the file. */\n fileContentEncoding?: string;\n /** Specifies the natural languages used by this resource. */\n fileContentLanguage?: string;\n /** Sets the file's cache control. The File service stores this value but does not use or modify it. */\n fileCacheControl?: string;\n /** An MD5 hash of the file content. This hash is used to verify the integrity of the file during transport. */\n fileContentMD5?: Uint8Array;\n /** Sets the file's Content-Disposition header. */\n fileContentDisposition?: string;\n /** If specified the permission (security descriptor) shall be set for the directory/file. This header can be used if Permission size is <= 8KB, else x-ms-file-permission-key header shall be used. Default value: Inherit. If SDDL is specified as input, it must have owner, group and dacl. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified. */\n filePermission?: string;\n /** Key of the permission to be set for the directory/file. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified. */\n filePermissionKey?: string;\n /** If specified, the provided file attributes shall be set. Default value: 'Archive' for file and 'Directory' for directory. 'None' can also be specified as default. */\n fileAttributes?: string;\n /** Creation time for the file/directory. Default value: Now. */\n fileCreatedOn?: string;\n /** Last write time for the file/directory. Default value: Now. */\n fileLastWriteOn?: string;\n /** Change time for the file/directory. Default value: Now. */\n fileChangeOn?: string;\n /** Optional. Used to set permission format. */\n filePermissionFormat?: FilePermissionFormat;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** Optional, NFS only. The owner of the file or directory. */\n owner?: string;\n /** Optional, NFS only. The owning group of the file or directory. */\n group?: string;\n /** Optional, NFS only. The file mode of the file or directory. */\n fileMode?: string;\n}\n\n/** Optional parameters. */\nexport interface FileDeleteOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileGetPropertiesOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The snapshot parameter is an opaque DateTime value that specifies a share snapshot. */\n shareSnapshot?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n}\n\n/** Optional parameters. */\nexport interface FileDownloadOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Return file data only from the specified byte range. */\n range?: string;\n /** When this header is set to true and specified together with the Range header, the service returns the MD5 hash for the range, as long as the range is less than or equal to 4 MB in size. */\n rangeGetContentMD5?: boolean;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** Specifies the response content should be returned as a structured message and specifies the message schema version and properties. */\n structuredBodyType?: string;\n}\n\n/** Optional parameters. */\nexport interface FileCreateOptionalParams extends OperationOptions {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n /** Content-Type header */\n contentType?: \"application/octet-stream\";\n /** The timeout parameter is expressed in seconds. */\n timeoutInSeconds?: number;\n /** Sets the MIME content type of the file. The default type is 'application/octet-stream'. */\n fileContentType?: string;\n /** Specifies which content encodings have been applied to the file. */\n fileContentEncoding?: string;\n /** Specifies the natural languages used by this resource. */\n fileContentLanguage?: string;\n /** Sets the file's cache control. The File service stores this value but does not use or modify it. */\n fileCacheControl?: string;\n /** An MD5 hash of the file content. This hash is used to verify the integrity of the file during transport. */\n fileContentMD5?: Uint8Array;\n /** Sets the file's Content-Disposition header. */\n fileContentDisposition?: string;\n /** Optional. User-defined metadata for the resource. */\n metadata?: Record<string, string>;\n /** If specified the permission (security descriptor) shall be set for the directory/file. This header can be used if Permission size is <= 8KB, else x-ms-file-permission-key header shall be used. Default value: Inherit. If SDDL is specified as input, it must have owner, group and dacl. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified. */\n filePermission?: string;\n /** Key of the permission to be set for the directory/file. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified. */\n filePermissionKey?: string;\n /** If specified, the provided file attributes shall be set. Default value: 'Archive' for file and 'Directory' for directory. 'None' can also be specified as default. */\n fileAttributes?: string;\n /** Creation time for the file/directory. Default value: Now. */\n fileCreatedOn?: string;\n /** Last write time for the file/directory. Default value: Now. */\n fileLastWriteOn?: string;\n /** Change time for the file/directory. Default value: Now. */\n fileChangeOn?: string;\n /** Optional. Used to set permission format. */\n filePermissionFormat?: FilePermissionFormat;\n /** If specified, the lease ID must match the lease ID of the file. */\n leaseId?: string;\n /** If true, the trailing dot will not be trimmed from the target file/directory path. */\n allowTrailingDot?: boolean;\n /** Valid values are 'backup'. */\n fileRequestIntent?: ShareTokenIntent;\n /** Optional, NFS only. The owner of the file or directory. */\n owner?: string;\n /** Optional, NFS only. The owning group of the file or directory. */\n group?: string;\n /** Optional, NFS only. The file mode of the file or directory. */\n fileMode?: string;\n /** Optional, NFS only. Type of the file or directory. */\n nfsFileType?: NfsFileType;\n /** An MD5 hash of the content. This hash is used to verify the integrity of the data during transport. */\n contentMD5?: Uint8Array;\n /** SMB only. Default value is New. */\n filePropertySemantics?: FilePropertySemantics;\n /** Specifies the number of bytes being transmitted in the request body. When the x-ms-write header is set to clear, the value of this header must be set to zero.\" */\n contentLength?: number;\n /** Specifies the response content should be returned as a structured message and specifies the message schema version and properties. */\n structuredBodyType?: string;\n /** Required if the request body is a structured message. Specifies the length of the blob/file content inside the message body. Will always be smaller than Content-Length. */\n structuredContentLength?: number;\n /** Initial data. */\n body?: Uint8Array;\n}\n"],
5
5
  "mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"fileContext.d.ts","sourceRoot":"","sources":["../../../../src/generated/api/fileContext.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAa,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,iGAAiG;AACjG,MAAM,WAAW,WAAY,SAAQ,MAAM;IACzC,sEAAsE;IACtE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,0CAA0C;AAC1C,MAAM,WAAW,wBAAyB,SAAQ,aAAa;IAC7D,sEAAsE;IACtE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,iGAAiG;AACjG,wBAAgB,UAAU,CACxB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,eAAe,EAC3B,OAAO,GAAE,wBAA6B,GACrC,WAAW,CAgBb"}
1
+ {"version":3,"file":"fileContext.d.ts","sourceRoot":"","sources":["../../../../src/generated/api/fileContext.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAa,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,iGAAiG;AACjG,MAAM,WAAW,WAAY,SAAQ,MAAM;IACzC,sEAAsE;IACtE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,0CAA0C;AAC1C,MAAM,WAAW,wBAAyB,SAAQ,aAAa;IAC7D,sEAAsE;IACtE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,iGAAiG;AACjG,wBAAgB,UAAU,CACxB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,eAAe,EAC3B,OAAO,GAAE,wBAA6B,GACrC,WAAW,CAgBb"}
@@ -1,6 +1,8 @@
1
+ var __create = Object.create;
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
4
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
7
  var __export = (target, all) => {
6
8
  for (var name in all)
@@ -14,6 +16,14 @@ var __copyProps = (to, from, except, desc) => {
14
16
  }
15
17
  return to;
16
18
  };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
17
27
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
28
  var fileContext_exports = {};
19
29
  __export(fileContext_exports, {
@@ -21,12 +31,13 @@ __export(fileContext_exports, {
21
31
  });
22
32
  module.exports = __toCommonJS(fileContext_exports);
23
33
  var import_logger = require("../logger.js");
34
+ var import_package = __toESM(require("@azure/storage-file-share/package.json"));
24
35
  var import_core_client = require("@azure-rest/core-client");
25
36
  function createFile(endpointParam, credential, options = {}) {
26
37
  const endpointUrl = options.endpoint ?? String(endpointParam);
27
38
  const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
28
- const userAgentInfo = `azsdk-js-storage-file-share/12.33.0`;
29
- const userAgentPrefix = prefixFromOptions ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}` : `azsdk-js-api ${userAgentInfo}`;
39
+ const userAgentInfo = `azsdk-js-storage-file-share/${import_package.default.version}`;
40
+ const userAgentPrefix = prefixFromOptions ? `${prefixFromOptions} ${userAgentInfo}` : `${userAgentInfo}`;
30
41
  const { version: _, ...updatedOptions } = {
31
42
  ...options,
32
43
  userAgentOptions: { userAgentPrefix },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/generated/api/fileContext.ts"],
4
- "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\n/** Azure File Storage provides scalable file shares in the cloud using SMB and NFS protocols. */\nexport interface FileContext extends Client {\n /** Specifies the version of the operation to use for this request. */\n version?: string;\n}\n\n/** Optional parameters for the client. */\nexport interface FileClientOptionalParams extends ClientOptions {\n /** Specifies the version of the operation to use for this request. */\n version?: string;\n}\n\n/** Azure File Storage provides scalable file shares in the cloud using SMB and NFS protocols. */\nexport function createFile(\n endpointParam: string,\n credential: TokenCredential,\n options: FileClientOptionalParams = {},\n): FileContext {\n const endpointUrl = options.endpoint ?? String(endpointParam);\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-storage-file-share/12.33.0`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { version: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: { scopes: options.credentials?.scopes ?? [\"https://storage.azure.com/.default\"] },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n const version = options.version;\n return { ...clientContext, version } as FileContext;\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBAAuB;AACvB,yBAAiD;AAgB1C,SAAS,WACd,eACA,YACA,UAAoC,CAAC,GACxB;AACb,QAAM,cAAc,QAAQ,YAAY,OAAO,aAAa;AAC5D,QAAM,oBAAoB,SAAS,kBAAkB;AACrD,QAAM,gBAAgB;AACtB,QAAM,kBAAkB,oBACpB,GAAG,iBAAiB,iBAAiB,aAAa,KAClD,gBAAgB,aAAa;AACjC,QAAM,EAAE,SAAS,GAAG,GAAG,eAAe,IAAI;AAAA,IACxC,GAAG;AAAA,IACH,kBAAkB,EAAE,gBAAgB;AAAA,IACpC,gBAAgB,EAAE,QAAQ,QAAQ,gBAAgB,UAAU,qBAAO,KAAK;AAAA,IACxE,aAAa,EAAE,QAAQ,QAAQ,aAAa,UAAU,CAAC,oCAAoC,EAAE;AAAA,EAC/F;AACA,QAAM,oBAAgB,8BAAU,aAAa,YAAY,cAAc;AACvE,QAAM,UAAU,QAAQ;AACxB,SAAO,EAAE,GAAG,eAAe,QAAQ;AACrC;",
6
- "names": []
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport pkgJson from \"@azure/storage-file-share/package.json\" with { type: \"json\" };\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\n/** Azure File Storage provides scalable file shares in the cloud using SMB and NFS protocols. */\nexport interface FileContext extends Client {\n /** Specifies the version of the operation to use for this request. */\n version?: string;\n}\n\n/** Optional parameters for the client. */\nexport interface FileClientOptionalParams extends ClientOptions {\n /** Specifies the version of the operation to use for this request. */\n version?: string;\n}\n\n/** Azure File Storage provides scalable file shares in the cloud using SMB and NFS protocols. */\nexport function createFile(\n endpointParam: string,\n credential: TokenCredential,\n options: FileClientOptionalParams = {},\n): FileContext {\n const endpointUrl = options.endpoint ?? String(endpointParam);\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-storage-file-share/${pkgJson.version}`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} ${userAgentInfo}`\n : `${userAgentInfo}`;\n const { version: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: { scopes: options.credentials?.scopes ?? [\"https://storage.azure.com/.default\"] },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n const version = options.version;\n return { ...clientContext, version } as FileContext;\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBAAuB;AACvB,qBAAoB;AACpB,yBAAiD;AAgB1C,SAAS,WACd,eACA,YACA,UAAoC,CAAC,GACxB;AACb,QAAM,cAAc,QAAQ,YAAY,OAAO,aAAa;AAC5D,QAAM,oBAAoB,SAAS,kBAAkB;AACrD,QAAM,gBAAgB,+BAA+B,eAAAA,QAAQ,OAAO;AACpE,QAAM,kBAAkB,oBACpB,GAAG,iBAAiB,IAAI,aAAa,KACrC,GAAG,aAAa;AACpB,QAAM,EAAE,SAAS,GAAG,GAAG,eAAe,IAAI;AAAA,IACxC,GAAG;AAAA,IACH,kBAAkB,EAAE,gBAAgB;AAAA,IACpC,gBAAgB,EAAE,QAAQ,QAAQ,gBAAgB,UAAU,qBAAO,KAAK;AAAA,IACxE,aAAa,EAAE,QAAQ,QAAQ,aAAa,UAAU,CAAC,oCAAoC,EAAE;AAAA,EAC/F;AACA,QAAM,oBAAgB,8BAAU,aAAa,YAAY,cAAc;AACvE,QAAM,UAAU,QAAQ;AACxB,SAAO,EAAE,GAAG,eAAe,QAAQ;AACrC;",
6
+ "names": ["pkgJson"]
7
7
  }
@@ -57,7 +57,7 @@ function _getUserDelegationKeySend(context, keyInfo, options = { requestOptions:
57
57
  ...(0, import_core_client.operationOptionsToRequestParameters)(options),
58
58
  contentType: "application/xml",
59
59
  headers: {
60
- "x-ms-version": context.version ?? "2026-10-06",
60
+ "x-ms-version": context.version ?? "2027-03-07",
61
61
  ...options?.clientRequestId !== void 0 ? { "x-ms-client-request-id": options?.clientRequestId } : {},
62
62
  accept: "application/xml",
63
63
  ...options.requestOptions?.headers
@@ -130,7 +130,7 @@ function _listSharesSegmentSend(context, options = { requestOptions: {} }) {
130
130
  return context.path(path).get({
131
131
  ...(0, import_core_client.operationOptionsToRequestParameters)(options),
132
132
  headers: {
133
- "x-ms-version": context.version ?? "2026-10-06",
133
+ "x-ms-version": context.version ?? "2027-03-07",
134
134
  ...options?.clientRequestId !== void 0 ? { "x-ms-client-request-id": options?.clientRequestId } : {},
135
135
  ...options?.fileRequestIntent !== void 0 ? { "x-ms-file-request-intent": options?.fileRequestIntent } : {},
136
136
  accept: "application/xml",
@@ -197,7 +197,7 @@ function _getPropertiesSend(context, options = { requestOptions: {} }) {
197
197
  return context.path(path).get({
198
198
  ...(0, import_core_client.operationOptionsToRequestParameters)(options),
199
199
  headers: {
200
- "x-ms-version": context.version ?? "2026-10-06",
200
+ "x-ms-version": context.version ?? "2027-03-07",
201
201
  ...options?.clientRequestId !== void 0 ? { "x-ms-client-request-id": options?.clientRequestId } : {},
202
202
  ...options?.fileRequestIntent !== void 0 ? { "x-ms-file-request-intent": options?.fileRequestIntent } : {},
203
203
  accept: "application/xml",
@@ -265,7 +265,7 @@ function _setPropertiesSend(context, storageServiceProperties, options = { reque
265
265
  ...(0, import_core_client.operationOptionsToRequestParameters)(options),
266
266
  contentType: "application/xml",
267
267
  headers: {
268
- "x-ms-version": context.version ?? "2026-10-06",
268
+ "x-ms-version": context.version ?? "2027-03-07",
269
269
  ...options?.clientRequestId !== void 0 ? { "x-ms-client-request-id": options?.clientRequestId } : {},
270
270
  ...options?.fileRequestIntent !== void 0 ? { "x-ms-file-request-intent": options?.fileRequestIntent } : {},
271
271
  ...options.requestOptions?.headers
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/generated/api/service/operations.ts"],
4
- "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { FileContext as Client } from \"../index.js\";\nimport {\n errorXmlDeserializer,\n FileServiceProperties,\n fileServicePropertiesXmlSerializer,\n fileServicePropertiesXmlDeserializer,\n ListSharesResponse,\n listSharesResponseXmlDeserializer,\n KeyInfo,\n keyInfoXmlSerializer,\n UserDelegationKey,\n userDelegationKeyXmlDeserializer,\n} from \"../../models/models.js\";\nimport {\n StorageCompatResponseInfo,\n createStorageCompatOnResponse,\n addStorageCompatResponse,\n} from \"../../static-helpers/storageCompatResponse.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n ServiceGetUserDelegationKeyOptionalParams,\n ServiceListSharesSegmentOptionalParams,\n ServiceGetPropertiesOptionalParams,\n ServiceSetPropertiesOptionalParams,\n} from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _getUserDelegationKeySend(\n context: Client,\n keyInfo: KeyInfo,\n options: ServiceGetUserDelegationKeyOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"?restype=service&comp=userdelegationkey{?timeout}\",\n {\n timeout: options?.timeoutInSeconds,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context\n .path(path)\n .post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/xml\",\n headers: {\n \"x-ms-version\": context.version ?? \"2026-10-06\",\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n accept: \"application/xml\",\n ...options.requestOptions?.headers,\n },\n body: keyInfoXmlSerializer(keyInfo),\n });\n}\n\nexport async function _getUserDelegationKeyDeserialize(\n result: PathUncheckedResponse,\n): Promise<UserDelegationKey> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorXmlDeserializer(result.body);\n }\n error.details = {\n ...(error.details as any),\n ..._getUserDelegationKeyDeserializeExceptionHeaders(result),\n };\n error.details = { ...(error.details as any), errorCode: result.headers[\"x-ms-error-code\"] };\n const restErrorCodeValue = result.headers[\"x-ms-error-code\"];\n if (restErrorCodeValue !== undefined) {\n error.code = restErrorCodeValue;\n }\n throw error;\n }\n\n return userDelegationKeyXmlDeserializer(result.body);\n}\n\nexport function _getUserDelegationKeyDeserializeHeaders(result: PathUncheckedResponse): {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n contentType: \"application/xml\";\n} {\n return {\n version: result.headers[\"x-ms-version\"],\n requestId: result.headers[\"x-ms-request-id\"],\n clientRequestId:\n result.headers[\"x-ms-client-request-id\"] === undefined ||\n result.headers[\"x-ms-client-request-id\"] === null\n ? result.headers[\"x-ms-client-request-id\"]\n : result.headers[\"x-ms-client-request-id\"],\n date: new Date(result.headers[\"date\"]),\n contentType: result.headers[\"content-type\"] as any,\n };\n}\n\nexport function _getUserDelegationKeyDeserializeExceptionHeaders(result: PathUncheckedResponse): {\n errorCode?: string;\n xMsCopySourceErrorCode?: string;\n xMsCopySourceStatusCode?: number;\n} {\n return {\n errorCode:\n result.headers[\"x-ms-error-code\"] === undefined || result.headers[\"x-ms-error-code\"] === null\n ? result.headers[\"x-ms-error-code\"]\n : result.headers[\"x-ms-error-code\"],\n xMsCopySourceErrorCode:\n result.headers[\"x-ms-copy-source-error-code\"] === undefined ||\n result.headers[\"x-ms-copy-source-error-code\"] === null\n ? result.headers[\"x-ms-copy-source-error-code\"]\n : result.headers[\"x-ms-copy-source-error-code\"],\n xMsCopySourceStatusCode:\n result.headers[\"x-ms-copy-source-status-code\"] === undefined ||\n result.headers[\"x-ms-copy-source-status-code\"] === null\n ? result.headers[\"x-ms-copy-source-status-code\"]\n : Number(result.headers[\"x-ms-copy-source-status-code\"]),\n };\n}\n\n/** Retrieves a user delegation key for the File service. This can be used to generate a user delegation SAS. */\nexport async function getUserDelegationKey(\n context: Client,\n keyInfo: KeyInfo,\n options: ServiceGetUserDelegationKeyOptionalParams = { requestOptions: {} },\n): Promise<\n {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n contentType: \"application/xml\";\n } & UserDelegationKey &\n StorageCompatResponseInfo<\n UserDelegationKey,\n {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n contentType: \"application/xml\";\n }\n >\n> {\n const _storageCompat = createStorageCompatOnResponse(options.onResponse);\n const result = await _getUserDelegationKeySend(context, keyInfo, {\n ...options,\n onResponse: _storageCompat.onResponse,\n });\n const parsedBody = await _getUserDelegationKeyDeserialize(result);\n const parsedHeaders = _getUserDelegationKeyDeserializeHeaders(result);\n return addStorageCompatResponse(_storageCompat.getRawResponse()!, parsedBody, parsedHeaders);\n}\n\nexport function _listSharesSegmentSend(\n context: Client,\n options: ServiceListSharesSegmentOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"?comp=list{?prefix,marker,maxresults,timeout,include}\",\n {\n prefix: options?.prefix,\n marker: options?.marker,\n maxresults: options?.maxResults,\n timeout: options?.timeoutInSeconds,\n include: !options?.include\n ? options?.include\n : options?.include.map((p: any) => {\n return p;\n }),\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context\n .path(path)\n .get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"x-ms-version\": context.version ?? \"2026-10-06\",\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n ...(options?.fileRequestIntent !== undefined\n ? { \"x-ms-file-request-intent\": options?.fileRequestIntent }\n : {}),\n accept: \"application/xml\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listSharesSegmentDeserialize(\n result: PathUncheckedResponse,\n): Promise<ListSharesResponse> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorXmlDeserializer(result.body);\n }\n error.details = {\n ...(error.details as any),\n ..._listSharesSegmentDeserializeExceptionHeaders(result),\n };\n error.details = { ...(error.details as any), errorCode: result.headers[\"x-ms-error-code\"] };\n const restErrorCodeValue = result.headers[\"x-ms-error-code\"];\n if (restErrorCodeValue !== undefined) {\n error.code = restErrorCodeValue;\n }\n throw error;\n }\n\n return listSharesResponseXmlDeserializer(result.body);\n}\n\nexport function _listSharesSegmentDeserializeHeaders(result: PathUncheckedResponse): {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n contentType: \"application/xml\";\n} {\n return {\n version: result.headers[\"x-ms-version\"],\n requestId: result.headers[\"x-ms-request-id\"],\n clientRequestId:\n result.headers[\"x-ms-client-request-id\"] === undefined ||\n result.headers[\"x-ms-client-request-id\"] === null\n ? result.headers[\"x-ms-client-request-id\"]\n : result.headers[\"x-ms-client-request-id\"],\n date: new Date(result.headers[\"date\"]),\n contentType: result.headers[\"content-type\"] as any,\n };\n}\n\nexport function _listSharesSegmentDeserializeExceptionHeaders(result: PathUncheckedResponse): {\n errorCode?: string;\n xMsCopySourceErrorCode?: string;\n xMsCopySourceStatusCode?: number;\n} {\n return {\n errorCode:\n result.headers[\"x-ms-error-code\"] === undefined || result.headers[\"x-ms-error-code\"] === null\n ? result.headers[\"x-ms-error-code\"]\n : result.headers[\"x-ms-error-code\"],\n xMsCopySourceErrorCode:\n result.headers[\"x-ms-copy-source-error-code\"] === undefined ||\n result.headers[\"x-ms-copy-source-error-code\"] === null\n ? result.headers[\"x-ms-copy-source-error-code\"]\n : result.headers[\"x-ms-copy-source-error-code\"],\n xMsCopySourceStatusCode:\n result.headers[\"x-ms-copy-source-status-code\"] === undefined ||\n result.headers[\"x-ms-copy-source-status-code\"] === null\n ? result.headers[\"x-ms-copy-source-status-code\"]\n : Number(result.headers[\"x-ms-copy-source-status-code\"]),\n };\n}\n\n/** The List Shares Segment operation returns a list of the shares and share snapshots under the specified account. */\nexport async function listSharesSegment(\n context: Client,\n options: ServiceListSharesSegmentOptionalParams = { requestOptions: {} },\n): Promise<\n {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n contentType: \"application/xml\";\n } & ListSharesResponse &\n StorageCompatResponseInfo<\n ListSharesResponse,\n {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n contentType: \"application/xml\";\n }\n >\n> {\n const _storageCompat = createStorageCompatOnResponse(options.onResponse);\n const result = await _listSharesSegmentSend(context, {\n ...options,\n onResponse: _storageCompat.onResponse,\n });\n const parsedBody = await _listSharesSegmentDeserialize(result);\n const parsedHeaders = _listSharesSegmentDeserializeHeaders(result);\n return addStorageCompatResponse(_storageCompat.getRawResponse()!, parsedBody, parsedHeaders);\n}\n\nexport function _getPropertiesSend(\n context: Client,\n options: ServiceGetPropertiesOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"?restype=service&comp=properties{?timeout}\",\n {\n timeout: options?.timeoutInSeconds,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context\n .path(path)\n .get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"x-ms-version\": context.version ?? \"2026-10-06\",\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n ...(options?.fileRequestIntent !== undefined\n ? { \"x-ms-file-request-intent\": options?.fileRequestIntent }\n : {}),\n accept: \"application/xml\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getPropertiesDeserialize(\n result: PathUncheckedResponse,\n): Promise<FileServiceProperties> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorXmlDeserializer(result.body);\n }\n error.details = {\n ...(error.details as any),\n ..._getPropertiesDeserializeExceptionHeaders(result),\n };\n error.details = { ...(error.details as any), errorCode: result.headers[\"x-ms-error-code\"] };\n const restErrorCodeValue = result.headers[\"x-ms-error-code\"];\n if (restErrorCodeValue !== undefined) {\n error.code = restErrorCodeValue;\n }\n throw error;\n }\n\n return fileServicePropertiesXmlDeserializer(result.body);\n}\n\nexport function _getPropertiesDeserializeHeaders(result: PathUncheckedResponse): {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n contentType: \"application/xml\";\n} {\n return {\n version: result.headers[\"x-ms-version\"],\n requestId: result.headers[\"x-ms-request-id\"],\n clientRequestId:\n result.headers[\"x-ms-client-request-id\"] === undefined ||\n result.headers[\"x-ms-client-request-id\"] === null\n ? result.headers[\"x-ms-client-request-id\"]\n : result.headers[\"x-ms-client-request-id\"],\n date: new Date(result.headers[\"date\"]),\n contentType: result.headers[\"content-type\"] as any,\n };\n}\n\nexport function _getPropertiesDeserializeExceptionHeaders(result: PathUncheckedResponse): {\n errorCode?: string;\n xMsCopySourceErrorCode?: string;\n xMsCopySourceStatusCode?: number;\n} {\n return {\n errorCode:\n result.headers[\"x-ms-error-code\"] === undefined || result.headers[\"x-ms-error-code\"] === null\n ? result.headers[\"x-ms-error-code\"]\n : result.headers[\"x-ms-error-code\"],\n xMsCopySourceErrorCode:\n result.headers[\"x-ms-copy-source-error-code\"] === undefined ||\n result.headers[\"x-ms-copy-source-error-code\"] === null\n ? result.headers[\"x-ms-copy-source-error-code\"]\n : result.headers[\"x-ms-copy-source-error-code\"],\n xMsCopySourceStatusCode:\n result.headers[\"x-ms-copy-source-status-code\"] === undefined ||\n result.headers[\"x-ms-copy-source-status-code\"] === null\n ? result.headers[\"x-ms-copy-source-status-code\"]\n : Number(result.headers[\"x-ms-copy-source-status-code\"]),\n };\n}\n\n/** Gets the properties of a storage account's File service, including properties for Storage Analytics metrics and CORS (Cross-Origin Resource Sharing) rules. */\nexport async function getProperties(\n context: Client,\n options: ServiceGetPropertiesOptionalParams = { requestOptions: {} },\n): Promise<\n {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n contentType: \"application/xml\";\n } & FileServiceProperties &\n StorageCompatResponseInfo<\n FileServiceProperties,\n {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n contentType: \"application/xml\";\n }\n >\n> {\n const _storageCompat = createStorageCompatOnResponse(options.onResponse);\n const result = await _getPropertiesSend(context, {\n ...options,\n onResponse: _storageCompat.onResponse,\n });\n const parsedBody = await _getPropertiesDeserialize(result);\n const parsedHeaders = _getPropertiesDeserializeHeaders(result);\n return addStorageCompatResponse(_storageCompat.getRawResponse()!, parsedBody, parsedHeaders);\n}\n\nexport function _setPropertiesSend(\n context: Client,\n storageServiceProperties: FileServiceProperties,\n options: ServiceSetPropertiesOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"?restype=service&comp=properties{?timeout}\",\n {\n timeout: options?.timeoutInSeconds,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context\n .path(path)\n .put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/xml\",\n headers: {\n \"x-ms-version\": context.version ?? \"2026-10-06\",\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n ...(options?.fileRequestIntent !== undefined\n ? { \"x-ms-file-request-intent\": options?.fileRequestIntent }\n : {}),\n ...options.requestOptions?.headers,\n },\n body: fileServicePropertiesXmlSerializer(storageServiceProperties),\n });\n}\n\nexport async function _setPropertiesDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorXmlDeserializer(result.body);\n }\n error.details = {\n ...(error.details as any),\n ..._setPropertiesDeserializeExceptionHeaders(result),\n };\n error.details = { ...(error.details as any), errorCode: result.headers[\"x-ms-error-code\"] };\n const restErrorCodeValue = result.headers[\"x-ms-error-code\"];\n if (restErrorCodeValue !== undefined) {\n error.code = restErrorCodeValue;\n }\n throw error;\n }\n\n return;\n}\n\nexport function _setPropertiesDeserializeHeaders(result: PathUncheckedResponse): {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n} {\n return {\n version: result.headers[\"x-ms-version\"],\n requestId: result.headers[\"x-ms-request-id\"],\n clientRequestId:\n result.headers[\"x-ms-client-request-id\"] === undefined ||\n result.headers[\"x-ms-client-request-id\"] === null\n ? result.headers[\"x-ms-client-request-id\"]\n : result.headers[\"x-ms-client-request-id\"],\n date: new Date(result.headers[\"date\"]),\n };\n}\n\nexport function _setPropertiesDeserializeExceptionHeaders(result: PathUncheckedResponse): {\n errorCode?: string;\n xMsCopySourceErrorCode?: string;\n xMsCopySourceStatusCode?: number;\n} {\n return {\n errorCode:\n result.headers[\"x-ms-error-code\"] === undefined || result.headers[\"x-ms-error-code\"] === null\n ? result.headers[\"x-ms-error-code\"]\n : result.headers[\"x-ms-error-code\"],\n xMsCopySourceErrorCode:\n result.headers[\"x-ms-copy-source-error-code\"] === undefined ||\n result.headers[\"x-ms-copy-source-error-code\"] === null\n ? result.headers[\"x-ms-copy-source-error-code\"]\n : result.headers[\"x-ms-copy-source-error-code\"],\n xMsCopySourceStatusCode:\n result.headers[\"x-ms-copy-source-status-code\"] === undefined ||\n result.headers[\"x-ms-copy-source-status-code\"] === null\n ? result.headers[\"x-ms-copy-source-status-code\"]\n : Number(result.headers[\"x-ms-copy-source-status-code\"]),\n };\n}\n\n/** Sets properties for a storage account's File service endpoint, including properties for Storage Analytics metrics and CORS (Cross-Origin Resource Sharing) rules. */\nexport async function setProperties(\n context: Client,\n storageServiceProperties: FileServiceProperties,\n options: ServiceSetPropertiesOptionalParams = { requestOptions: {} },\n): Promise<\n {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n } & StorageCompatResponseInfo<\n undefined,\n { version: string; requestId: string; clientRequestId?: string; date: Date }\n >\n> {\n const _storageCompat = createStorageCompatOnResponse(options.onResponse);\n const result = await _setPropertiesSend(context, storageServiceProperties, {\n ...options,\n onResponse: _storageCompat.onResponse,\n });\n await _setPropertiesDeserialize(result);\n const parsedHeaders = _setPropertiesDeserializeHeaders(result);\n return addStorageCompatResponse(_storageCompat.getRawResponse()!, undefined, parsedHeaders);\n}\n"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { FileContext as Client } from \"../index.js\";\nimport {\n errorXmlDeserializer,\n FileServiceProperties,\n fileServicePropertiesXmlSerializer,\n fileServicePropertiesXmlDeserializer,\n ListSharesResponse,\n listSharesResponseXmlDeserializer,\n KeyInfo,\n keyInfoXmlSerializer,\n UserDelegationKey,\n userDelegationKeyXmlDeserializer,\n} from \"../../models/models.js\";\nimport {\n StorageCompatResponseInfo,\n createStorageCompatOnResponse,\n addStorageCompatResponse,\n} from \"../../static-helpers/storageCompatResponse.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n ServiceGetUserDelegationKeyOptionalParams,\n ServiceListSharesSegmentOptionalParams,\n ServiceGetPropertiesOptionalParams,\n ServiceSetPropertiesOptionalParams,\n} from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _getUserDelegationKeySend(\n context: Client,\n keyInfo: KeyInfo,\n options: ServiceGetUserDelegationKeyOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"?restype=service&comp=userdelegationkey{?timeout}\",\n {\n timeout: options?.timeoutInSeconds,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context\n .path(path)\n .post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/xml\",\n headers: {\n \"x-ms-version\": context.version ?? \"2027-03-07\",\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n accept: \"application/xml\",\n ...options.requestOptions?.headers,\n },\n body: keyInfoXmlSerializer(keyInfo),\n });\n}\n\nexport async function _getUserDelegationKeyDeserialize(\n result: PathUncheckedResponse,\n): Promise<UserDelegationKey> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorXmlDeserializer(result.body);\n }\n error.details = {\n ...(error.details as any),\n ..._getUserDelegationKeyDeserializeExceptionHeaders(result),\n };\n error.details = { ...(error.details as any), errorCode: result.headers[\"x-ms-error-code\"] };\n const restErrorCodeValue = result.headers[\"x-ms-error-code\"];\n if (restErrorCodeValue !== undefined) {\n error.code = restErrorCodeValue;\n }\n throw error;\n }\n\n return userDelegationKeyXmlDeserializer(result.body);\n}\n\nexport function _getUserDelegationKeyDeserializeHeaders(result: PathUncheckedResponse): {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n contentType: \"application/xml\";\n} {\n return {\n version: result.headers[\"x-ms-version\"],\n requestId: result.headers[\"x-ms-request-id\"],\n clientRequestId:\n result.headers[\"x-ms-client-request-id\"] === undefined ||\n result.headers[\"x-ms-client-request-id\"] === null\n ? result.headers[\"x-ms-client-request-id\"]\n : result.headers[\"x-ms-client-request-id\"],\n date: new Date(result.headers[\"date\"]),\n contentType: result.headers[\"content-type\"] as any,\n };\n}\n\nexport function _getUserDelegationKeyDeserializeExceptionHeaders(result: PathUncheckedResponse): {\n errorCode?: string;\n xMsCopySourceErrorCode?: string;\n xMsCopySourceStatusCode?: number;\n} {\n return {\n errorCode:\n result.headers[\"x-ms-error-code\"] === undefined || result.headers[\"x-ms-error-code\"] === null\n ? result.headers[\"x-ms-error-code\"]\n : result.headers[\"x-ms-error-code\"],\n xMsCopySourceErrorCode:\n result.headers[\"x-ms-copy-source-error-code\"] === undefined ||\n result.headers[\"x-ms-copy-source-error-code\"] === null\n ? result.headers[\"x-ms-copy-source-error-code\"]\n : result.headers[\"x-ms-copy-source-error-code\"],\n xMsCopySourceStatusCode:\n result.headers[\"x-ms-copy-source-status-code\"] === undefined ||\n result.headers[\"x-ms-copy-source-status-code\"] === null\n ? result.headers[\"x-ms-copy-source-status-code\"]\n : Number(result.headers[\"x-ms-copy-source-status-code\"]),\n };\n}\n\n/** Retrieves a user delegation key for the File service. This can be used to generate a user delegation SAS. */\nexport async function getUserDelegationKey(\n context: Client,\n keyInfo: KeyInfo,\n options: ServiceGetUserDelegationKeyOptionalParams = { requestOptions: {} },\n): Promise<\n {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n contentType: \"application/xml\";\n } & UserDelegationKey &\n StorageCompatResponseInfo<\n UserDelegationKey,\n {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n contentType: \"application/xml\";\n }\n >\n> {\n const _storageCompat = createStorageCompatOnResponse(options.onResponse);\n const result = await _getUserDelegationKeySend(context, keyInfo, {\n ...options,\n onResponse: _storageCompat.onResponse,\n });\n const parsedBody = await _getUserDelegationKeyDeserialize(result);\n const parsedHeaders = _getUserDelegationKeyDeserializeHeaders(result);\n return addStorageCompatResponse(_storageCompat.getRawResponse()!, parsedBody, parsedHeaders);\n}\n\nexport function _listSharesSegmentSend(\n context: Client,\n options: ServiceListSharesSegmentOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"?comp=list{?prefix,marker,maxresults,timeout,include}\",\n {\n prefix: options?.prefix,\n marker: options?.marker,\n maxresults: options?.maxResults,\n timeout: options?.timeoutInSeconds,\n include: !options?.include\n ? options?.include\n : options?.include.map((p: any) => {\n return p;\n }),\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context\n .path(path)\n .get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"x-ms-version\": context.version ?? \"2027-03-07\",\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n ...(options?.fileRequestIntent !== undefined\n ? { \"x-ms-file-request-intent\": options?.fileRequestIntent }\n : {}),\n accept: \"application/xml\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listSharesSegmentDeserialize(\n result: PathUncheckedResponse,\n): Promise<ListSharesResponse> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorXmlDeserializer(result.body);\n }\n error.details = {\n ...(error.details as any),\n ..._listSharesSegmentDeserializeExceptionHeaders(result),\n };\n error.details = { ...(error.details as any), errorCode: result.headers[\"x-ms-error-code\"] };\n const restErrorCodeValue = result.headers[\"x-ms-error-code\"];\n if (restErrorCodeValue !== undefined) {\n error.code = restErrorCodeValue;\n }\n throw error;\n }\n\n return listSharesResponseXmlDeserializer(result.body);\n}\n\nexport function _listSharesSegmentDeserializeHeaders(result: PathUncheckedResponse): {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n contentType: \"application/xml\";\n} {\n return {\n version: result.headers[\"x-ms-version\"],\n requestId: result.headers[\"x-ms-request-id\"],\n clientRequestId:\n result.headers[\"x-ms-client-request-id\"] === undefined ||\n result.headers[\"x-ms-client-request-id\"] === null\n ? result.headers[\"x-ms-client-request-id\"]\n : result.headers[\"x-ms-client-request-id\"],\n date: new Date(result.headers[\"date\"]),\n contentType: result.headers[\"content-type\"] as any,\n };\n}\n\nexport function _listSharesSegmentDeserializeExceptionHeaders(result: PathUncheckedResponse): {\n errorCode?: string;\n xMsCopySourceErrorCode?: string;\n xMsCopySourceStatusCode?: number;\n} {\n return {\n errorCode:\n result.headers[\"x-ms-error-code\"] === undefined || result.headers[\"x-ms-error-code\"] === null\n ? result.headers[\"x-ms-error-code\"]\n : result.headers[\"x-ms-error-code\"],\n xMsCopySourceErrorCode:\n result.headers[\"x-ms-copy-source-error-code\"] === undefined ||\n result.headers[\"x-ms-copy-source-error-code\"] === null\n ? result.headers[\"x-ms-copy-source-error-code\"]\n : result.headers[\"x-ms-copy-source-error-code\"],\n xMsCopySourceStatusCode:\n result.headers[\"x-ms-copy-source-status-code\"] === undefined ||\n result.headers[\"x-ms-copy-source-status-code\"] === null\n ? result.headers[\"x-ms-copy-source-status-code\"]\n : Number(result.headers[\"x-ms-copy-source-status-code\"]),\n };\n}\n\n/** The List Shares Segment operation returns a list of the shares and share snapshots under the specified account. */\nexport async function listSharesSegment(\n context: Client,\n options: ServiceListSharesSegmentOptionalParams = { requestOptions: {} },\n): Promise<\n {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n contentType: \"application/xml\";\n } & ListSharesResponse &\n StorageCompatResponseInfo<\n ListSharesResponse,\n {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n contentType: \"application/xml\";\n }\n >\n> {\n const _storageCompat = createStorageCompatOnResponse(options.onResponse);\n const result = await _listSharesSegmentSend(context, {\n ...options,\n onResponse: _storageCompat.onResponse,\n });\n const parsedBody = await _listSharesSegmentDeserialize(result);\n const parsedHeaders = _listSharesSegmentDeserializeHeaders(result);\n return addStorageCompatResponse(_storageCompat.getRawResponse()!, parsedBody, parsedHeaders);\n}\n\nexport function _getPropertiesSend(\n context: Client,\n options: ServiceGetPropertiesOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"?restype=service&comp=properties{?timeout}\",\n {\n timeout: options?.timeoutInSeconds,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context\n .path(path)\n .get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"x-ms-version\": context.version ?? \"2027-03-07\",\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n ...(options?.fileRequestIntent !== undefined\n ? { \"x-ms-file-request-intent\": options?.fileRequestIntent }\n : {}),\n accept: \"application/xml\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getPropertiesDeserialize(\n result: PathUncheckedResponse,\n): Promise<FileServiceProperties> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorXmlDeserializer(result.body);\n }\n error.details = {\n ...(error.details as any),\n ..._getPropertiesDeserializeExceptionHeaders(result),\n };\n error.details = { ...(error.details as any), errorCode: result.headers[\"x-ms-error-code\"] };\n const restErrorCodeValue = result.headers[\"x-ms-error-code\"];\n if (restErrorCodeValue !== undefined) {\n error.code = restErrorCodeValue;\n }\n throw error;\n }\n\n return fileServicePropertiesXmlDeserializer(result.body);\n}\n\nexport function _getPropertiesDeserializeHeaders(result: PathUncheckedResponse): {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n contentType: \"application/xml\";\n} {\n return {\n version: result.headers[\"x-ms-version\"],\n requestId: result.headers[\"x-ms-request-id\"],\n clientRequestId:\n result.headers[\"x-ms-client-request-id\"] === undefined ||\n result.headers[\"x-ms-client-request-id\"] === null\n ? result.headers[\"x-ms-client-request-id\"]\n : result.headers[\"x-ms-client-request-id\"],\n date: new Date(result.headers[\"date\"]),\n contentType: result.headers[\"content-type\"] as any,\n };\n}\n\nexport function _getPropertiesDeserializeExceptionHeaders(result: PathUncheckedResponse): {\n errorCode?: string;\n xMsCopySourceErrorCode?: string;\n xMsCopySourceStatusCode?: number;\n} {\n return {\n errorCode:\n result.headers[\"x-ms-error-code\"] === undefined || result.headers[\"x-ms-error-code\"] === null\n ? result.headers[\"x-ms-error-code\"]\n : result.headers[\"x-ms-error-code\"],\n xMsCopySourceErrorCode:\n result.headers[\"x-ms-copy-source-error-code\"] === undefined ||\n result.headers[\"x-ms-copy-source-error-code\"] === null\n ? result.headers[\"x-ms-copy-source-error-code\"]\n : result.headers[\"x-ms-copy-source-error-code\"],\n xMsCopySourceStatusCode:\n result.headers[\"x-ms-copy-source-status-code\"] === undefined ||\n result.headers[\"x-ms-copy-source-status-code\"] === null\n ? result.headers[\"x-ms-copy-source-status-code\"]\n : Number(result.headers[\"x-ms-copy-source-status-code\"]),\n };\n}\n\n/** Gets the properties of a storage account's File service, including properties for Storage Analytics metrics and CORS (Cross-Origin Resource Sharing) rules. */\nexport async function getProperties(\n context: Client,\n options: ServiceGetPropertiesOptionalParams = { requestOptions: {} },\n): Promise<\n {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n contentType: \"application/xml\";\n } & FileServiceProperties &\n StorageCompatResponseInfo<\n FileServiceProperties,\n {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n contentType: \"application/xml\";\n }\n >\n> {\n const _storageCompat = createStorageCompatOnResponse(options.onResponse);\n const result = await _getPropertiesSend(context, {\n ...options,\n onResponse: _storageCompat.onResponse,\n });\n const parsedBody = await _getPropertiesDeserialize(result);\n const parsedHeaders = _getPropertiesDeserializeHeaders(result);\n return addStorageCompatResponse(_storageCompat.getRawResponse()!, parsedBody, parsedHeaders);\n}\n\nexport function _setPropertiesSend(\n context: Client,\n storageServiceProperties: FileServiceProperties,\n options: ServiceSetPropertiesOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"?restype=service&comp=properties{?timeout}\",\n {\n timeout: options?.timeoutInSeconds,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context\n .path(path)\n .put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/xml\",\n headers: {\n \"x-ms-version\": context.version ?? \"2027-03-07\",\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n ...(options?.fileRequestIntent !== undefined\n ? { \"x-ms-file-request-intent\": options?.fileRequestIntent }\n : {}),\n ...options.requestOptions?.headers,\n },\n body: fileServicePropertiesXmlSerializer(storageServiceProperties),\n });\n}\n\nexport async function _setPropertiesDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorXmlDeserializer(result.body);\n }\n error.details = {\n ...(error.details as any),\n ..._setPropertiesDeserializeExceptionHeaders(result),\n };\n error.details = { ...(error.details as any), errorCode: result.headers[\"x-ms-error-code\"] };\n const restErrorCodeValue = result.headers[\"x-ms-error-code\"];\n if (restErrorCodeValue !== undefined) {\n error.code = restErrorCodeValue;\n }\n throw error;\n }\n\n return;\n}\n\nexport function _setPropertiesDeserializeHeaders(result: PathUncheckedResponse): {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n} {\n return {\n version: result.headers[\"x-ms-version\"],\n requestId: result.headers[\"x-ms-request-id\"],\n clientRequestId:\n result.headers[\"x-ms-client-request-id\"] === undefined ||\n result.headers[\"x-ms-client-request-id\"] === null\n ? result.headers[\"x-ms-client-request-id\"]\n : result.headers[\"x-ms-client-request-id\"],\n date: new Date(result.headers[\"date\"]),\n };\n}\n\nexport function _setPropertiesDeserializeExceptionHeaders(result: PathUncheckedResponse): {\n errorCode?: string;\n xMsCopySourceErrorCode?: string;\n xMsCopySourceStatusCode?: number;\n} {\n return {\n errorCode:\n result.headers[\"x-ms-error-code\"] === undefined || result.headers[\"x-ms-error-code\"] === null\n ? result.headers[\"x-ms-error-code\"]\n : result.headers[\"x-ms-error-code\"],\n xMsCopySourceErrorCode:\n result.headers[\"x-ms-copy-source-error-code\"] === undefined ||\n result.headers[\"x-ms-copy-source-error-code\"] === null\n ? result.headers[\"x-ms-copy-source-error-code\"]\n : result.headers[\"x-ms-copy-source-error-code\"],\n xMsCopySourceStatusCode:\n result.headers[\"x-ms-copy-source-status-code\"] === undefined ||\n result.headers[\"x-ms-copy-source-status-code\"] === null\n ? result.headers[\"x-ms-copy-source-status-code\"]\n : Number(result.headers[\"x-ms-copy-source-status-code\"]),\n };\n}\n\n/** Sets properties for a storage account's File service endpoint, including properties for Storage Analytics metrics and CORS (Cross-Origin Resource Sharing) rules. */\nexport async function setProperties(\n context: Client,\n storageServiceProperties: FileServiceProperties,\n options: ServiceSetPropertiesOptionalParams = { requestOptions: {} },\n): Promise<\n {\n version: string;\n requestId: string;\n clientRequestId?: string;\n date: Date;\n } & StorageCompatResponseInfo<\n undefined,\n { version: string; requestId: string; clientRequestId?: string; date: Date }\n >\n> {\n const _storageCompat = createStorageCompatOnResponse(options.onResponse);\n const result = await _setPropertiesSend(context, storageServiceProperties, {\n ...options,\n onResponse: _storageCompat.onResponse,\n });\n await _setPropertiesDeserialize(result);\n const parsedHeaders = _setPropertiesDeserializeHeaders(result);\n return addStorageCompatResponse(_storageCompat.getRawResponse()!, undefined, parsedHeaders);\n}\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,oBAWO;AACP,mCAIO;AACP,yBAAkC;AAOlC,yBAKO;AAEA,SAAS,0BACd,SACA,SACA,UAAqD,EAAE,gBAAgB,CAAC,EAAE,GACxD;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,SAAS,SAAS;AAAA,IACpB;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QACJ,KAAK,IAAI,EACT,KAAK;AAAA,IACJ,OAAG,wDAAoC,OAAO;AAAA,IAC9C,aAAa;AAAA,IACb,SAAS;AAAA,MACP,gBAAgB,QAAQ,WAAW;AAAA,MACnC,GAAI,SAAS,oBAAoB,SAC7B,EAAE,0BAA0B,SAAS,gBAAgB,IACrD,CAAC;AAAA,MACL,QAAQ;AAAA,MACR,GAAG,QAAQ,gBAAgB;AAAA,IAC7B;AAAA,IACA,UAAM,oCAAqB,OAAO;AAAA,EACpC,CAAC;AACL;AAEA,eAAsB,iCACpB,QAC4B;AAC5B,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,QAAI,OAAO,MAAM;AACf,YAAM,cAAU,oCAAqB,OAAO,IAAI;AAAA,I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getPermission, createPermission, createSnapshot, breakLease, renewLease, changeLease, releaseLease, acquireLease, $delete, getProperties, create, } from "./operations.js";
1
+ export { restore, getStatistics, setAccessPolicy, getAccessPolicy, setMetadata, setProperties, getPermission, createPermission, createSnapshot, breakLease, renewLease, changeLease, releaseLease, acquireLease, deleteShare, getProperties, create, } from "./operations.js";
2
2
  export type { ShareRestoreOptionalParams, ShareGetStatisticsOptionalParams, ShareSetAccessPolicyOptionalParams, ShareGetAccessPolicyOptionalParams, ShareSetMetadataOptionalParams, ShareSetPropertiesOptionalParams, ShareGetPermissionOptionalParams, ShareCreatePermissionOptionalParams, ShareCreateSnapshotOptionalParams, ShareBreakLeaseOptionalParams, ShareRenewLeaseOptionalParams, ShareChangeLeaseOptionalParams, ShareReleaseLeaseOptionalParams, ShareAcquireLeaseOptionalParams, ShareDeleteOptionalParams, ShareGetPropertiesOptionalParams, ShareCreateOptionalParams, } from "./options.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/api/share/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,OAAO,EACP,aAAa,EACb,eAAe,EACf,eAAe,EACf,WAAW,EACX,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,aAAa,EACb,MAAM,GACP,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACV,0BAA0B,EAC1B,gCAAgC,EAChC,kCAAkC,EAClC,kCAAkC,EAClC,8BAA8B,EAC9B,gCAAgC,EAChC,gCAAgC,EAChC,mCAAmC,EACnC,iCAAiC,EACjC,6BAA6B,EAC7B,6BAA6B,EAC7B,8BAA8B,EAC9B,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,gCAAgC,EAChC,yBAAyB,GAC1B,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/api/share/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,OAAO,EACP,aAAa,EACb,eAAe,EACf,eAAe,EACf,WAAW,EACX,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,MAAM,GACP,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACV,0BAA0B,EAC1B,gCAAgC,EAChC,kCAAkC,EAClC,kCAAkC,EAClC,8BAA8B,EAC9B,gCAAgC,EAChC,gCAAgC,EAChC,mCAAmC,EACnC,iCAAiC,EACjC,6BAA6B,EAC7B,6BAA6B,EAC7B,8BAA8B,EAC9B,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,gCAAgC,EAChC,yBAAyB,GAC1B,MAAM,cAAc,CAAC"}
@@ -17,13 +17,13 @@ var __copyProps = (to, from, except, desc) => {
17
17
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
18
  var share_exports = {};
19
19
  __export(share_exports, {
20
- $delete: () => import_operations.$delete,
21
20
  acquireLease: () => import_operations.acquireLease,
22
21
  breakLease: () => import_operations.breakLease,
23
22
  changeLease: () => import_operations.changeLease,
24
23
  create: () => import_operations.create,
25
24
  createPermission: () => import_operations.createPermission,
26
25
  createSnapshot: () => import_operations.createSnapshot,
26
+ deleteShare: () => import_operations.deleteShare,
27
27
  getAccessPolicy: () => import_operations.getAccessPolicy,
28
28
  getPermission: () => import_operations.getPermission,
29
29
  getProperties: () => import_operations.getProperties,
@@ -39,13 +39,13 @@ module.exports = __toCommonJS(share_exports);
39
39
  var import_operations = require("./operations.js");
40
40
  // Annotate the CommonJS export names for ESM import in node:
41
41
  0 && (module.exports = {
42
- $delete,
43
42
  acquireLease,
44
43
  breakLease,
45
44
  changeLease,
46
45
  create,
47
46
  createPermission,
48
47
  createSnapshot,
48
+ deleteShare,
49
49
  getAccessPolicy,
50
50
  getPermission,
51
51
  getProperties,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/generated/api/share/index.ts"],
4
- "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n restore,\n getStatistics,\n setAccessPolicy,\n getAccessPolicy,\n setMetadata,\n setProperties,\n getPermission,\n createPermission,\n createSnapshot,\n breakLease,\n renewLease,\n changeLease,\n releaseLease,\n acquireLease,\n $delete,\n getProperties,\n create,\n} from \"./operations.js\";\nexport type {\n ShareRestoreOptionalParams,\n ShareGetStatisticsOptionalParams,\n ShareSetAccessPolicyOptionalParams,\n ShareGetAccessPolicyOptionalParams,\n ShareSetMetadataOptionalParams,\n ShareSetPropertiesOptionalParams,\n ShareGetPermissionOptionalParams,\n ShareCreatePermissionOptionalParams,\n ShareCreateSnapshotOptionalParams,\n ShareBreakLeaseOptionalParams,\n ShareRenewLeaseOptionalParams,\n ShareChangeLeaseOptionalParams,\n ShareReleaseLeaseOptionalParams,\n ShareAcquireLeaseOptionalParams,\n ShareDeleteOptionalParams,\n ShareGetPropertiesOptionalParams,\n ShareCreateOptionalParams,\n} from \"./options.js\";\n"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n restore,\n getStatistics,\n setAccessPolicy,\n getAccessPolicy,\n setMetadata,\n setProperties,\n getPermission,\n createPermission,\n createSnapshot,\n breakLease,\n renewLease,\n changeLease,\n releaseLease,\n acquireLease,\n deleteShare,\n getProperties,\n create,\n} from \"./operations.js\";\nexport type {\n ShareRestoreOptionalParams,\n ShareGetStatisticsOptionalParams,\n ShareSetAccessPolicyOptionalParams,\n ShareGetAccessPolicyOptionalParams,\n ShareSetMetadataOptionalParams,\n ShareSetPropertiesOptionalParams,\n ShareGetPermissionOptionalParams,\n ShareCreatePermissionOptionalParams,\n ShareCreateSnapshotOptionalParams,\n ShareBreakLeaseOptionalParams,\n ShareRenewLeaseOptionalParams,\n ShareChangeLeaseOptionalParams,\n ShareReleaseLeaseOptionalParams,\n ShareAcquireLeaseOptionalParams,\n ShareDeleteOptionalParams,\n ShareGetPropertiesOptionalParams,\n ShareCreateOptionalParams,\n} from \"./options.js\";\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,wBAkBO;",
6
6
  "names": []
7
7
  }
@@ -494,9 +494,9 @@ export declare function acquireLease(context: Client, options?: ShareAcquireLeas
494
494
  clientRequestId?: string;
495
495
  date: Date;
496
496
  }>>;
497
- export declare function _$deleteSend(context: Client, options?: ShareDeleteOptionalParams): StreamableMethod;
498
- export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
499
- export declare function _$deleteDeserializeHeaders(result: PathUncheckedResponse): {
497
+ export declare function _deleteShareSend(context: Client, options?: ShareDeleteOptionalParams): StreamableMethod;
498
+ export declare function _deleteShareDeserialize(result: PathUncheckedResponse): Promise<void>;
499
+ export declare function _deleteShareDeserializeHeaders(result: PathUncheckedResponse): {
500
500
  usageBytes?: number;
501
501
  snapshotUsageBytes?: number;
502
502
  version: string;
@@ -504,18 +504,13 @@ export declare function _$deleteDeserializeHeaders(result: PathUncheckedResponse
504
504
  clientRequestId?: string;
505
505
  date: Date;
506
506
  };
507
- export declare function _$deleteDeserializeExceptionHeaders(result: PathUncheckedResponse): {
507
+ export declare function _deleteShareDeserializeExceptionHeaders(result: PathUncheckedResponse): {
508
508
  errorCode?: string;
509
509
  xMsCopySourceErrorCode?: string;
510
510
  xMsCopySourceStatusCode?: number;
511
511
  };
512
512
  /** Operation marks the specified share or share snapshot for deletion. The share or share snapshot and any files contained within it are later deleted during garbage collection. */
513
- /**
514
- * @fixme delete is a reserved word that cannot be used as an operation name.
515
- * Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
516
- * to the operation to override the generated name.
517
- */
518
- export declare function $delete(context: Client, options?: ShareDeleteOptionalParams): Promise<{
513
+ export declare function deleteShare(context: Client, options?: ShareDeleteOptionalParams): Promise<{
519
514
  usageBytes?: number;
520
515
  snapshotUsageBytes?: number;
521
516
  version: string;
@@ -558,6 +553,10 @@ export declare function _getPropertiesDeserializeHeaders(result: PathUncheckedRe
558
553
  nextAllowedProvisionedIopsDowngradeTime?: Date;
559
554
  nextAllowedProvisionedBandwidthDowngradeTime?: Date;
560
555
  enableSmbDirectoryLease?: boolean;
556
+ creationTime?: Date;
557
+ enableChangeFeed?: boolean;
558
+ changeFeedRetentionInDays?: number;
559
+ changeFeedBlobContainerName?: string;
561
560
  version: string;
562
561
  requestId: string;
563
562
  clientRequestId?: string;
@@ -595,6 +594,10 @@ export declare function getProperties(context: Client, options?: ShareGetPropert
595
594
  nextAllowedProvisionedIopsDowngradeTime?: Date;
596
595
  nextAllowedProvisionedBandwidthDowngradeTime?: Date;
597
596
  enableSmbDirectoryLease?: boolean;
597
+ creationTime?: Date;
598
+ enableChangeFeed?: boolean;
599
+ changeFeedRetentionInDays?: number;
600
+ changeFeedBlobContainerName?: string;
598
601
  version: string;
599
602
  requestId: string;
600
603
  clientRequestId?: string;
@@ -625,6 +628,10 @@ export declare function getProperties(context: Client, options?: ShareGetPropert
625
628
  nextAllowedProvisionedIopsDowngradeTime?: Date;
626
629
  nextAllowedProvisionedBandwidthDowngradeTime?: Date;
627
630
  enableSmbDirectoryLease?: boolean;
631
+ creationTime?: Date;
632
+ enableChangeFeed?: boolean;
633
+ changeFeedRetentionInDays?: number;
634
+ changeFeedBlobContainerName?: string;
628
635
  version: string;
629
636
  requestId: string;
630
637
  clientRequestId?: string;