@azure/arm-durabletask 1.0.0-beta.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (374) hide show
  1. package/README.md +3 -2
  2. package/dist/browser/api/durableTaskContext.d.ts +5 -2
  3. package/dist/browser/api/durableTaskContext.js +14 -10
  4. package/dist/browser/api/durableTaskContext.js.map +1 -1
  5. package/dist/browser/api/operations/operations.d.ts +5 -5
  6. package/dist/browser/api/operations/operations.js +13 -8
  7. package/dist/browser/api/operations/operations.js.map +1 -1
  8. package/dist/browser/api/operations/options.d.ts +1 -1
  9. package/dist/browser/api/operations/options.js.map +1 -1
  10. package/dist/browser/api/retentionPolicies/index.d.ts +3 -0
  11. package/dist/browser/api/retentionPolicies/index.js +4 -0
  12. package/dist/browser/api/retentionPolicies/index.js.map +1 -0
  13. package/dist/browser/api/retentionPolicies/operations.d.ts +32 -0
  14. package/dist/browser/api/retentionPolicies/operations.js +185 -0
  15. package/dist/browser/api/retentionPolicies/operations.js.map +1 -0
  16. package/dist/browser/api/retentionPolicies/options.d.ts +23 -0
  17. package/dist/browser/api/retentionPolicies/options.js +4 -0
  18. package/dist/browser/api/retentionPolicies/options.js.map +1 -0
  19. package/dist/browser/api/schedulers/operations.d.ts +6 -6
  20. package/dist/browser/api/schedulers/operations.js +68 -40
  21. package/dist/browser/api/schedulers/operations.js.map +1 -1
  22. package/dist/browser/api/schedulers/options.d.ts +1 -1
  23. package/dist/browser/api/schedulers/options.js.map +1 -1
  24. package/dist/browser/api/taskHubs/operations.d.ts +6 -6
  25. package/dist/browser/api/taskHubs/operations.js +45 -29
  26. package/dist/browser/api/taskHubs/operations.js.map +1 -1
  27. package/dist/browser/api/taskHubs/options.d.ts +1 -1
  28. package/dist/browser/api/taskHubs/options.js.map +1 -1
  29. package/dist/browser/classic/index.d.ts +1 -0
  30. package/dist/browser/classic/index.js.map +1 -1
  31. package/dist/browser/classic/operations/index.d.ts +4 -4
  32. package/dist/browser/classic/operations/index.js +3 -1
  33. package/dist/browser/classic/operations/index.js.map +1 -1
  34. package/dist/browser/classic/retentionPolicies/index.d.ts +25 -0
  35. package/dist/browser/classic/retentionPolicies/index.js +18 -0
  36. package/dist/browser/classic/retentionPolicies/index.js.map +1 -0
  37. package/dist/browser/classic/schedulers/index.d.ts +5 -5
  38. package/dist/browser/classic/schedulers/index.js +3 -1
  39. package/dist/browser/classic/schedulers/index.js.map +1 -1
  40. package/dist/browser/classic/taskHubs/index.d.ts +5 -5
  41. package/dist/browser/classic/taskHubs/index.js +3 -1
  42. package/dist/browser/classic/taskHubs/index.js.map +1 -1
  43. package/dist/browser/durableTaskClient.d.ts +9 -6
  44. package/dist/browser/durableTaskClient.js +21 -6
  45. package/dist/browser/durableTaskClient.js.map +1 -1
  46. package/dist/browser/index.d.ts +5 -2
  47. package/dist/browser/index.js +3 -1
  48. package/dist/browser/index.js.map +1 -1
  49. package/dist/browser/models/index.d.ts +1 -1
  50. package/dist/browser/models/index.js +1 -1
  51. package/dist/browser/models/index.js.map +1 -1
  52. package/dist/browser/models/models.d.ts +237 -166
  53. package/dist/browser/models/models.js +228 -138
  54. package/dist/browser/models/models.js.map +1 -1
  55. package/dist/browser/restorePollerHelpers.d.ts +4 -4
  56. package/dist/browser/restorePollerHelpers.js +31 -20
  57. package/dist/browser/restorePollerHelpers.js.map +1 -1
  58. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  59. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  60. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  61. package/dist/browser/static-helpers/pagingHelpers.d.ts +1 -1
  62. package/dist/browser/static-helpers/pagingHelpers.js +31 -50
  63. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
  64. package/dist/browser/static-helpers/pollingHelpers.d.ts +3 -3
  65. package/dist/browser/static-helpers/pollingHelpers.js +15 -12
  66. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
  67. package/dist/browser/static-helpers/urlTemplate.js +26 -9
  68. package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
  69. package/dist/commonjs/api/durableTaskContext.d.ts +5 -2
  70. package/dist/commonjs/api/durableTaskContext.js +14 -10
  71. package/dist/commonjs/api/durableTaskContext.js.map +1 -1
  72. package/dist/commonjs/api/operations/operations.d.ts +5 -5
  73. package/dist/commonjs/api/operations/operations.js +10 -5
  74. package/dist/commonjs/api/operations/operations.js.map +1 -1
  75. package/dist/commonjs/api/operations/options.d.ts +1 -1
  76. package/dist/commonjs/api/operations/options.js.map +1 -1
  77. package/dist/commonjs/api/retentionPolicies/index.d.ts +3 -0
  78. package/dist/commonjs/api/retentionPolicies/index.js +12 -0
  79. package/dist/commonjs/api/retentionPolicies/index.js.map +1 -0
  80. package/dist/commonjs/api/retentionPolicies/operations.d.ts +32 -0
  81. package/dist/commonjs/api/retentionPolicies/operations.js +202 -0
  82. package/dist/commonjs/api/retentionPolicies/operations.js.map +1 -0
  83. package/dist/commonjs/api/retentionPolicies/options.d.ts +23 -0
  84. package/dist/commonjs/api/retentionPolicies/options.js +5 -0
  85. package/dist/commonjs/api/retentionPolicies/options.js.map +1 -0
  86. package/dist/commonjs/api/schedulers/operations.d.ts +6 -6
  87. package/dist/commonjs/api/schedulers/operations.js +66 -38
  88. package/dist/commonjs/api/schedulers/operations.js.map +1 -1
  89. package/dist/commonjs/api/schedulers/options.d.ts +1 -1
  90. package/dist/commonjs/api/schedulers/options.js.map +1 -1
  91. package/dist/commonjs/api/taskHubs/operations.d.ts +6 -6
  92. package/dist/commonjs/api/taskHubs/operations.js +42 -26
  93. package/dist/commonjs/api/taskHubs/operations.js.map +1 -1
  94. package/dist/commonjs/api/taskHubs/options.d.ts +1 -1
  95. package/dist/commonjs/api/taskHubs/options.js.map +1 -1
  96. package/dist/commonjs/classic/index.d.ts +1 -0
  97. package/dist/commonjs/classic/index.js.map +1 -1
  98. package/dist/commonjs/classic/operations/index.d.ts +4 -4
  99. package/dist/commonjs/classic/operations/index.js +3 -1
  100. package/dist/commonjs/classic/operations/index.js.map +1 -1
  101. package/dist/commonjs/classic/retentionPolicies/index.d.ts +25 -0
  102. package/dist/commonjs/classic/retentionPolicies/index.js +21 -0
  103. package/dist/commonjs/classic/retentionPolicies/index.js.map +1 -0
  104. package/dist/commonjs/classic/schedulers/index.d.ts +5 -5
  105. package/dist/commonjs/classic/schedulers/index.js +3 -1
  106. package/dist/commonjs/classic/schedulers/index.js.map +1 -1
  107. package/dist/commonjs/classic/taskHubs/index.d.ts +5 -5
  108. package/dist/commonjs/classic/taskHubs/index.js +3 -1
  109. package/dist/commonjs/classic/taskHubs/index.js.map +1 -1
  110. package/dist/commonjs/durableTaskClient.d.ts +9 -6
  111. package/dist/commonjs/durableTaskClient.js +24 -9
  112. package/dist/commonjs/durableTaskClient.js.map +1 -1
  113. package/dist/commonjs/index.d.ts +5 -2
  114. package/dist/commonjs/index.js +8 -4
  115. package/dist/commonjs/index.js.map +1 -1
  116. package/dist/commonjs/models/index.d.ts +1 -1
  117. package/dist/commonjs/models/index.js +6 -4
  118. package/dist/commonjs/models/index.js.map +1 -1
  119. package/dist/commonjs/models/models.d.ts +237 -166
  120. package/dist/commonjs/models/models.js +256 -156
  121. package/dist/commonjs/models/models.js.map +1 -1
  122. package/dist/commonjs/restorePollerHelpers.d.ts +4 -4
  123. package/dist/commonjs/restorePollerHelpers.js +33 -22
  124. package/dist/commonjs/restorePollerHelpers.js.map +1 -1
  125. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  126. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +42 -0
  127. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -0
  128. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +1 -1
  129. package/dist/commonjs/static-helpers/pagingHelpers.js +31 -50
  130. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -1
  131. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +3 -3
  132. package/dist/commonjs/static-helpers/pollingHelpers.js +14 -11
  133. package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -1
  134. package/dist/commonjs/static-helpers/urlTemplate.js +26 -9
  135. package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
  136. package/dist/commonjs/tsdoc-metadata.json +11 -11
  137. package/dist/esm/api/durableTaskContext.d.ts +5 -2
  138. package/dist/esm/api/durableTaskContext.js +14 -10
  139. package/dist/esm/api/durableTaskContext.js.map +1 -1
  140. package/dist/esm/api/operations/operations.d.ts +5 -5
  141. package/dist/esm/api/operations/operations.js +13 -8
  142. package/dist/esm/api/operations/operations.js.map +1 -1
  143. package/dist/esm/api/operations/options.d.ts +1 -1
  144. package/dist/esm/api/operations/options.js.map +1 -1
  145. package/dist/esm/api/retentionPolicies/index.d.ts +3 -0
  146. package/dist/esm/api/retentionPolicies/index.js +4 -0
  147. package/dist/esm/api/retentionPolicies/index.js.map +1 -0
  148. package/dist/esm/api/retentionPolicies/operations.d.ts +32 -0
  149. package/dist/esm/api/retentionPolicies/operations.js +185 -0
  150. package/dist/esm/api/retentionPolicies/operations.js.map +1 -0
  151. package/dist/esm/api/retentionPolicies/options.d.ts +23 -0
  152. package/dist/esm/api/retentionPolicies/options.js +4 -0
  153. package/dist/esm/api/retentionPolicies/options.js.map +1 -0
  154. package/dist/esm/api/schedulers/operations.d.ts +6 -6
  155. package/dist/esm/api/schedulers/operations.js +68 -40
  156. package/dist/esm/api/schedulers/operations.js.map +1 -1
  157. package/dist/esm/api/schedulers/options.d.ts +1 -1
  158. package/dist/esm/api/schedulers/options.js.map +1 -1
  159. package/dist/esm/api/taskHubs/operations.d.ts +6 -6
  160. package/dist/esm/api/taskHubs/operations.js +45 -29
  161. package/dist/esm/api/taskHubs/operations.js.map +1 -1
  162. package/dist/esm/api/taskHubs/options.d.ts +1 -1
  163. package/dist/esm/api/taskHubs/options.js.map +1 -1
  164. package/dist/esm/classic/index.d.ts +1 -0
  165. package/dist/esm/classic/index.js.map +1 -1
  166. package/dist/esm/classic/operations/index.d.ts +4 -4
  167. package/dist/esm/classic/operations/index.js +3 -1
  168. package/dist/esm/classic/operations/index.js.map +1 -1
  169. package/dist/esm/classic/retentionPolicies/index.d.ts +25 -0
  170. package/dist/esm/classic/retentionPolicies/index.js +18 -0
  171. package/dist/esm/classic/retentionPolicies/index.js.map +1 -0
  172. package/dist/esm/classic/schedulers/index.d.ts +5 -5
  173. package/dist/esm/classic/schedulers/index.js +3 -1
  174. package/dist/esm/classic/schedulers/index.js.map +1 -1
  175. package/dist/esm/classic/taskHubs/index.d.ts +5 -5
  176. package/dist/esm/classic/taskHubs/index.js +3 -1
  177. package/dist/esm/classic/taskHubs/index.js.map +1 -1
  178. package/dist/esm/durableTaskClient.d.ts +9 -6
  179. package/dist/esm/durableTaskClient.js +21 -6
  180. package/dist/esm/durableTaskClient.js.map +1 -1
  181. package/dist/esm/index.d.ts +5 -2
  182. package/dist/esm/index.js +3 -1
  183. package/dist/esm/index.js.map +1 -1
  184. package/dist/esm/models/index.d.ts +1 -1
  185. package/dist/esm/models/index.js +1 -1
  186. package/dist/esm/models/index.js.map +1 -1
  187. package/dist/esm/models/models.d.ts +237 -166
  188. package/dist/esm/models/models.js +228 -138
  189. package/dist/esm/models/models.js.map +1 -1
  190. package/dist/esm/restorePollerHelpers.d.ts +4 -4
  191. package/dist/esm/restorePollerHelpers.js +31 -20
  192. package/dist/esm/restorePollerHelpers.js.map +1 -1
  193. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  194. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  195. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  196. package/dist/esm/static-helpers/pagingHelpers.d.ts +1 -1
  197. package/dist/esm/static-helpers/pagingHelpers.js +31 -50
  198. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
  199. package/dist/esm/static-helpers/pollingHelpers.d.ts +3 -3
  200. package/dist/esm/static-helpers/pollingHelpers.js +15 -12
  201. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
  202. package/dist/esm/static-helpers/urlTemplate.js +26 -9
  203. package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
  204. package/dist/react-native/api/durableTaskContext.d.ts +5 -2
  205. package/dist/react-native/api/durableTaskContext.js +14 -10
  206. package/dist/react-native/api/durableTaskContext.js.map +1 -1
  207. package/dist/react-native/api/operations/operations.d.ts +5 -5
  208. package/dist/react-native/api/operations/operations.js +13 -8
  209. package/dist/react-native/api/operations/operations.js.map +1 -1
  210. package/dist/react-native/api/operations/options.d.ts +1 -1
  211. package/dist/react-native/api/operations/options.js.map +1 -1
  212. package/dist/react-native/api/retentionPolicies/index.d.ts +3 -0
  213. package/dist/react-native/api/retentionPolicies/index.js +4 -0
  214. package/dist/react-native/api/retentionPolicies/index.js.map +1 -0
  215. package/dist/react-native/api/retentionPolicies/operations.d.ts +32 -0
  216. package/dist/react-native/api/retentionPolicies/operations.js +185 -0
  217. package/dist/react-native/api/retentionPolicies/operations.js.map +1 -0
  218. package/dist/react-native/api/retentionPolicies/options.d.ts +23 -0
  219. package/dist/react-native/api/retentionPolicies/options.js +4 -0
  220. package/dist/react-native/api/retentionPolicies/options.js.map +1 -0
  221. package/dist/react-native/api/schedulers/operations.d.ts +6 -6
  222. package/dist/react-native/api/schedulers/operations.js +68 -40
  223. package/dist/react-native/api/schedulers/operations.js.map +1 -1
  224. package/dist/react-native/api/schedulers/options.d.ts +1 -1
  225. package/dist/react-native/api/schedulers/options.js.map +1 -1
  226. package/dist/react-native/api/taskHubs/operations.d.ts +6 -6
  227. package/dist/react-native/api/taskHubs/operations.js +45 -29
  228. package/dist/react-native/api/taskHubs/operations.js.map +1 -1
  229. package/dist/react-native/api/taskHubs/options.d.ts +1 -1
  230. package/dist/react-native/api/taskHubs/options.js.map +1 -1
  231. package/dist/react-native/classic/index.d.ts +1 -0
  232. package/dist/react-native/classic/index.js.map +1 -1
  233. package/dist/react-native/classic/operations/index.d.ts +4 -4
  234. package/dist/react-native/classic/operations/index.js +3 -1
  235. package/dist/react-native/classic/operations/index.js.map +1 -1
  236. package/dist/react-native/classic/retentionPolicies/index.d.ts +25 -0
  237. package/dist/react-native/classic/retentionPolicies/index.js +18 -0
  238. package/dist/react-native/classic/retentionPolicies/index.js.map +1 -0
  239. package/dist/react-native/classic/schedulers/index.d.ts +5 -5
  240. package/dist/react-native/classic/schedulers/index.js +3 -1
  241. package/dist/react-native/classic/schedulers/index.js.map +1 -1
  242. package/dist/react-native/classic/taskHubs/index.d.ts +5 -5
  243. package/dist/react-native/classic/taskHubs/index.js +3 -1
  244. package/dist/react-native/classic/taskHubs/index.js.map +1 -1
  245. package/dist/react-native/durableTaskClient.d.ts +9 -6
  246. package/dist/react-native/durableTaskClient.js +21 -6
  247. package/dist/react-native/durableTaskClient.js.map +1 -1
  248. package/dist/react-native/index.d.ts +5 -2
  249. package/dist/react-native/index.js +3 -1
  250. package/dist/react-native/index.js.map +1 -1
  251. package/dist/react-native/models/index.d.ts +1 -1
  252. package/dist/react-native/models/index.js +1 -1
  253. package/dist/react-native/models/index.js.map +1 -1
  254. package/dist/react-native/models/models.d.ts +237 -166
  255. package/dist/react-native/models/models.js +228 -138
  256. package/dist/react-native/models/models.js.map +1 -1
  257. package/dist/react-native/restorePollerHelpers.d.ts +4 -4
  258. package/dist/react-native/restorePollerHelpers.js +31 -20
  259. package/dist/react-native/restorePollerHelpers.js.map +1 -1
  260. package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +22 -0
  261. package/dist/react-native/static-helpers/cloudSettingHelpers.js +38 -0
  262. package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +1 -0
  263. package/dist/react-native/static-helpers/pagingHelpers.d.ts +1 -1
  264. package/dist/react-native/static-helpers/pagingHelpers.js +31 -50
  265. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
  266. package/dist/react-native/static-helpers/pollingHelpers.d.ts +3 -3
  267. package/dist/react-native/static-helpers/pollingHelpers.js +15 -12
  268. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
  269. package/dist/react-native/static-helpers/urlTemplate.js +26 -9
  270. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
  271. package/package.json +55 -44
  272. package/CHANGELOG.md +0 -7
  273. package/dist/browser/api/durableTaskContext.d.ts.map +0 -1
  274. package/dist/browser/api/index.d.ts.map +0 -1
  275. package/dist/browser/api/operations/index.d.ts.map +0 -1
  276. package/dist/browser/api/operations/operations.d.ts.map +0 -1
  277. package/dist/browser/api/operations/options.d.ts.map +0 -1
  278. package/dist/browser/api/schedulers/index.d.ts.map +0 -1
  279. package/dist/browser/api/schedulers/operations.d.ts.map +0 -1
  280. package/dist/browser/api/schedulers/options.d.ts.map +0 -1
  281. package/dist/browser/api/taskHubs/index.d.ts.map +0 -1
  282. package/dist/browser/api/taskHubs/operations.d.ts.map +0 -1
  283. package/dist/browser/api/taskHubs/options.d.ts.map +0 -1
  284. package/dist/browser/classic/index.d.ts.map +0 -1
  285. package/dist/browser/classic/operations/index.d.ts.map +0 -1
  286. package/dist/browser/classic/schedulers/index.d.ts.map +0 -1
  287. package/dist/browser/classic/taskHubs/index.d.ts.map +0 -1
  288. package/dist/browser/durableTaskClient.d.ts.map +0 -1
  289. package/dist/browser/index.d.ts.map +0 -1
  290. package/dist/browser/logger.d.ts.map +0 -1
  291. package/dist/browser/models/index.d.ts.map +0 -1
  292. package/dist/browser/models/models.d.ts.map +0 -1
  293. package/dist/browser/restorePollerHelpers.d.ts.map +0 -1
  294. package/dist/browser/static-helpers/pagingHelpers.d.ts.map +0 -1
  295. package/dist/browser/static-helpers/pollingHelpers.d.ts.map +0 -1
  296. package/dist/browser/static-helpers/urlTemplate.d.ts.map +0 -1
  297. package/dist/commonjs/api/durableTaskContext.d.ts.map +0 -1
  298. package/dist/commonjs/api/index.d.ts.map +0 -1
  299. package/dist/commonjs/api/operations/index.d.ts.map +0 -1
  300. package/dist/commonjs/api/operations/operations.d.ts.map +0 -1
  301. package/dist/commonjs/api/operations/options.d.ts.map +0 -1
  302. package/dist/commonjs/api/schedulers/index.d.ts.map +0 -1
  303. package/dist/commonjs/api/schedulers/operations.d.ts.map +0 -1
  304. package/dist/commonjs/api/schedulers/options.d.ts.map +0 -1
  305. package/dist/commonjs/api/taskHubs/index.d.ts.map +0 -1
  306. package/dist/commonjs/api/taskHubs/operations.d.ts.map +0 -1
  307. package/dist/commonjs/api/taskHubs/options.d.ts.map +0 -1
  308. package/dist/commonjs/classic/index.d.ts.map +0 -1
  309. package/dist/commonjs/classic/operations/index.d.ts.map +0 -1
  310. package/dist/commonjs/classic/schedulers/index.d.ts.map +0 -1
  311. package/dist/commonjs/classic/taskHubs/index.d.ts.map +0 -1
  312. package/dist/commonjs/durableTaskClient.d.ts.map +0 -1
  313. package/dist/commonjs/index.d.ts.map +0 -1
  314. package/dist/commonjs/logger.d.ts.map +0 -1
  315. package/dist/commonjs/models/index.d.ts.map +0 -1
  316. package/dist/commonjs/models/models.d.ts.map +0 -1
  317. package/dist/commonjs/restorePollerHelpers.d.ts.map +0 -1
  318. package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +0 -1
  319. package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +0 -1
  320. package/dist/commonjs/static-helpers/urlTemplate.d.ts.map +0 -1
  321. package/dist/esm/api/durableTaskContext.d.ts.map +0 -1
  322. package/dist/esm/api/index.d.ts.map +0 -1
  323. package/dist/esm/api/operations/index.d.ts.map +0 -1
  324. package/dist/esm/api/operations/operations.d.ts.map +0 -1
  325. package/dist/esm/api/operations/options.d.ts.map +0 -1
  326. package/dist/esm/api/schedulers/index.d.ts.map +0 -1
  327. package/dist/esm/api/schedulers/operations.d.ts.map +0 -1
  328. package/dist/esm/api/schedulers/options.d.ts.map +0 -1
  329. package/dist/esm/api/taskHubs/index.d.ts.map +0 -1
  330. package/dist/esm/api/taskHubs/operations.d.ts.map +0 -1
  331. package/dist/esm/api/taskHubs/options.d.ts.map +0 -1
  332. package/dist/esm/classic/index.d.ts.map +0 -1
  333. package/dist/esm/classic/operations/index.d.ts.map +0 -1
  334. package/dist/esm/classic/schedulers/index.d.ts.map +0 -1
  335. package/dist/esm/classic/taskHubs/index.d.ts.map +0 -1
  336. package/dist/esm/durableTaskClient.d.ts.map +0 -1
  337. package/dist/esm/index.d.ts.map +0 -1
  338. package/dist/esm/logger.d.ts.map +0 -1
  339. package/dist/esm/models/index.d.ts.map +0 -1
  340. package/dist/esm/models/models.d.ts.map +0 -1
  341. package/dist/esm/restorePollerHelpers.d.ts.map +0 -1
  342. package/dist/esm/static-helpers/pagingHelpers.d.ts.map +0 -1
  343. package/dist/esm/static-helpers/pollingHelpers.d.ts.map +0 -1
  344. package/dist/esm/static-helpers/urlTemplate.d.ts.map +0 -1
  345. package/dist/react-native/api/durableTaskContext.d.ts.map +0 -1
  346. package/dist/react-native/api/index.d.ts.map +0 -1
  347. package/dist/react-native/api/operations/index.d.ts.map +0 -1
  348. package/dist/react-native/api/operations/operations.d.ts.map +0 -1
  349. package/dist/react-native/api/operations/options.d.ts.map +0 -1
  350. package/dist/react-native/api/schedulers/index.d.ts.map +0 -1
  351. package/dist/react-native/api/schedulers/operations.d.ts.map +0 -1
  352. package/dist/react-native/api/schedulers/options.d.ts.map +0 -1
  353. package/dist/react-native/api/taskHubs/index.d.ts.map +0 -1
  354. package/dist/react-native/api/taskHubs/operations.d.ts.map +0 -1
  355. package/dist/react-native/api/taskHubs/options.d.ts.map +0 -1
  356. package/dist/react-native/classic/index.d.ts.map +0 -1
  357. package/dist/react-native/classic/operations/index.d.ts.map +0 -1
  358. package/dist/react-native/classic/schedulers/index.d.ts.map +0 -1
  359. package/dist/react-native/classic/taskHubs/index.d.ts.map +0 -1
  360. package/dist/react-native/durableTaskClient.d.ts.map +0 -1
  361. package/dist/react-native/index.d.ts.map +0 -1
  362. package/dist/react-native/logger.d.ts.map +0 -1
  363. package/dist/react-native/models/index.d.ts.map +0 -1
  364. package/dist/react-native/models/models.d.ts.map +0 -1
  365. package/dist/react-native/restorePollerHelpers.d.ts.map +0 -1
  366. package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +0 -1
  367. package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +0 -1
  368. package/dist/react-native/static-helpers/urlTemplate.d.ts.map +0 -1
  369. package/review/arm-durabletask-api-operations.api.md +0 -19
  370. package/review/arm-durabletask-api-schedulers.api.md +0 -59
  371. package/review/arm-durabletask-api-taskHubs.api.md +0 -44
  372. package/review/arm-durabletask-api.api.md +0 -27
  373. package/review/arm-durabletask-models.api.md +0 -183
  374. package/review/arm-durabletask.api.md +0 -305
@@ -1,102 +1,49 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
- export function taskHubSerializer(item) {
4
- return {
5
- properties: !item["properties"]
6
- ? item["properties"]
7
- : taskHubPropertiesSerializer(item["properties"]),
8
- };
9
- }
10
- export function taskHubDeserializer(item) {
11
- return {
12
- id: item["id"],
13
- name: item["name"],
14
- type: item["type"],
15
- systemData: !item["systemData"]
16
- ? item["systemData"]
17
- : systemDataDeserializer(item["systemData"]),
18
- properties: !item["properties"]
19
- ? item["properties"]
20
- : taskHubPropertiesDeserializer(item["properties"]),
21
- };
22
- }
23
- export function taskHubPropertiesSerializer(item) {
24
- return item;
25
- }
26
- export function taskHubPropertiesDeserializer(item) {
27
- return {
28
- provisioningState: item["provisioningState"],
29
- dashboardUrl: item["dashboardUrl"],
30
- };
31
- }
32
- /** The status of the current operation */
33
- export var KnownProvisioningState;
34
- (function (KnownProvisioningState) {
35
- /** Resource has been created. */
36
- KnownProvisioningState["Succeeded"] = "Succeeded";
37
- /** Resource creation failed. */
38
- KnownProvisioningState["Failed"] = "Failed";
39
- /** Resource creation was canceled. */
40
- KnownProvisioningState["Canceled"] = "Canceled";
41
- /** The resource is being provisioned */
42
- KnownProvisioningState["Provisioning"] = "Provisioning";
43
- /** The resource is updating */
44
- KnownProvisioningState["Updating"] = "Updating";
45
- /** The resource is being deleted */
46
- KnownProvisioningState["Deleting"] = "Deleting";
47
- /** The resource create request has been accepted */
48
- KnownProvisioningState["Accepted"] = "Accepted";
49
- })(KnownProvisioningState || (KnownProvisioningState = {}));
50
- export function proxyResourceSerializer(item) {
51
- return item;
52
- }
53
- export function proxyResourceDeserializer(item) {
3
+ export function _operationListResultDeserializer(item) {
54
4
  return {
55
- id: item["id"],
56
- name: item["name"],
57
- type: item["type"],
58
- systemData: !item["systemData"]
59
- ? item["systemData"]
60
- : systemDataDeserializer(item["systemData"]),
5
+ value: operationArrayDeserializer(item["value"]),
6
+ nextLink: item["nextLink"],
61
7
  };
62
8
  }
63
- export function resourceSerializer(item) {
64
- return item;
9
+ export function operationArrayDeserializer(result) {
10
+ return result.map((item) => {
11
+ return operationDeserializer(item);
12
+ });
65
13
  }
66
- export function resourceDeserializer(item) {
14
+ export function operationDeserializer(item) {
67
15
  return {
68
- id: item["id"],
69
16
  name: item["name"],
70
- type: item["type"],
71
- systemData: !item["systemData"]
72
- ? item["systemData"]
73
- : systemDataDeserializer(item["systemData"]),
17
+ isDataAction: item["isDataAction"],
18
+ display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
19
+ origin: item["origin"],
20
+ actionType: item["actionType"],
74
21
  };
75
22
  }
76
- export function systemDataDeserializer(item) {
23
+ export function operationDisplayDeserializer(item) {
77
24
  return {
78
- createdBy: item["createdBy"],
79
- createdByType: item["createdByType"],
80
- createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
81
- lastModifiedBy: item["lastModifiedBy"],
82
- lastModifiedByType: item["lastModifiedByType"],
83
- lastModifiedAt: !item["lastModifiedAt"]
84
- ? item["lastModifiedAt"]
85
- : new Date(item["lastModifiedAt"]),
25
+ provider: item["provider"],
26
+ resource: item["resource"],
27
+ operation: item["operation"],
28
+ description: item["description"],
86
29
  };
87
30
  }
88
- /** The kind of entity that created the resource. */
89
- export var KnownCreatedByType;
90
- (function (KnownCreatedByType) {
91
- /** The entity was created by a user. */
92
- KnownCreatedByType["User"] = "User";
93
- /** The entity was created by an application. */
94
- KnownCreatedByType["Application"] = "Application";
95
- /** The entity was created by a managed identity. */
96
- KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
97
- /** The entity was created by a key. */
98
- KnownCreatedByType["Key"] = "Key";
99
- })(KnownCreatedByType || (KnownCreatedByType = {}));
31
+ /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
32
+ export var KnownOrigin;
33
+ (function (KnownOrigin) {
34
+ /** Indicates the operation is initiated by a user. */
35
+ KnownOrigin["User"] = "user";
36
+ /** Indicates the operation is initiated by a system. */
37
+ KnownOrigin["System"] = "system";
38
+ /** Indicates the operation is initiated by a user or system. */
39
+ KnownOrigin["UserSystem"] = "user,system";
40
+ })(KnownOrigin || (KnownOrigin = {}));
41
+ /** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
42
+ export var KnownActionType;
43
+ (function (KnownActionType) {
44
+ /** Actions are for internal-only APIs. */
45
+ KnownActionType["Internal"] = "Internal";
46
+ })(KnownActionType || (KnownActionType = {}));
100
47
  export function errorResponseDeserializer(item) {
101
48
  return {
102
49
  error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
@@ -126,28 +73,9 @@ export function errorAdditionalInfoArrayDeserializer(result) {
126
73
  export function errorAdditionalInfoDeserializer(item) {
127
74
  return {
128
75
  type: item["type"],
129
- info: !item["info"] ? item["info"] : _errorAdditionalInfoInfoDeserializer(item["info"]),
130
- };
131
- }
132
- export function _errorAdditionalInfoInfoDeserializer(item) {
133
- return item;
134
- }
135
- export function _taskHubListResultDeserializer(item) {
136
- return {
137
- value: taskHubArrayDeserializer(item["value"]),
138
- nextLink: item["nextLink"],
76
+ info: item["info"],
139
77
  };
140
78
  }
141
- export function taskHubArraySerializer(result) {
142
- return result.map((item) => {
143
- return taskHubSerializer(item);
144
- });
145
- }
146
- export function taskHubArrayDeserializer(result) {
147
- return result.map((item) => {
148
- return taskHubDeserializer(item);
149
- });
150
- }
151
79
  export function schedulerSerializer(item) {
152
80
  return {
153
81
  tags: item["tags"],
@@ -190,6 +118,24 @@ export function schedulerPropertiesDeserializer(item) {
190
118
  sku: schedulerSkuDeserializer(item["sku"]),
191
119
  };
192
120
  }
121
+ /** The status of the current operation */
122
+ export var KnownProvisioningState;
123
+ (function (KnownProvisioningState) {
124
+ /** Resource has been created. */
125
+ KnownProvisioningState["Succeeded"] = "Succeeded";
126
+ /** Resource creation failed. */
127
+ KnownProvisioningState["Failed"] = "Failed";
128
+ /** Resource creation was canceled. */
129
+ KnownProvisioningState["Canceled"] = "Canceled";
130
+ /** The resource is being provisioned */
131
+ KnownProvisioningState["Provisioning"] = "Provisioning";
132
+ /** The resource is updating */
133
+ KnownProvisioningState["Updating"] = "Updating";
134
+ /** The resource is being deleted */
135
+ KnownProvisioningState["Deleting"] = "Deleting";
136
+ /** The resource create request has been accepted */
137
+ KnownProvisioningState["Accepted"] = "Accepted";
138
+ })(KnownProvisioningState || (KnownProvisioningState = {}));
193
139
  export function schedulerSkuSerializer(item) {
194
140
  return { name: item["name"], capacity: item["capacity"] };
195
141
  }
@@ -200,6 +146,14 @@ export function schedulerSkuDeserializer(item) {
200
146
  redundancyState: item["redundancyState"],
201
147
  };
202
148
  }
149
+ /** The name of the Stock Keeping Unit (SKU) of a Durable Task Scheduler */
150
+ export var KnownSchedulerSkuName;
151
+ (function (KnownSchedulerSkuName) {
152
+ /** Dedicated SKU */
153
+ KnownSchedulerSkuName["Dedicated"] = "Dedicated";
154
+ /** Consumption SKU */
155
+ KnownSchedulerSkuName["Consumption"] = "Consumption";
156
+ })(KnownSchedulerSkuName || (KnownSchedulerSkuName = {}));
203
157
  /** The state of the resource redundancy */
204
158
  export var KnownRedundancyState;
205
159
  (function (KnownRedundancyState) {
@@ -223,6 +177,43 @@ export function trackedResourceDeserializer(item) {
223
177
  location: item["location"],
224
178
  };
225
179
  }
180
+ export function resourceSerializer(item) {
181
+ return item;
182
+ }
183
+ export function resourceDeserializer(item) {
184
+ return {
185
+ id: item["id"],
186
+ name: item["name"],
187
+ type: item["type"],
188
+ systemData: !item["systemData"]
189
+ ? item["systemData"]
190
+ : systemDataDeserializer(item["systemData"]),
191
+ };
192
+ }
193
+ export function systemDataDeserializer(item) {
194
+ return {
195
+ createdBy: item["createdBy"],
196
+ createdByType: item["createdByType"],
197
+ createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
198
+ lastModifiedBy: item["lastModifiedBy"],
199
+ lastModifiedByType: item["lastModifiedByType"],
200
+ lastModifiedAt: !item["lastModifiedAt"]
201
+ ? item["lastModifiedAt"]
202
+ : new Date(item["lastModifiedAt"]),
203
+ };
204
+ }
205
+ /** The kind of entity that created the resource. */
206
+ export var KnownCreatedByType;
207
+ (function (KnownCreatedByType) {
208
+ /** The entity was created by a user. */
209
+ KnownCreatedByType["User"] = "User";
210
+ /** The entity was created by an application. */
211
+ KnownCreatedByType["Application"] = "Application";
212
+ /** The entity was created by a managed identity. */
213
+ KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
214
+ /** The entity was created by a key. */
215
+ KnownCreatedByType["Key"] = "Key";
216
+ })(KnownCreatedByType || (KnownCreatedByType = {}));
226
217
  export function schedulerUpdateSerializer(item) {
227
218
  return {
228
219
  properties: !item["properties"]
@@ -260,54 +251,153 @@ export function schedulerArrayDeserializer(result) {
260
251
  return schedulerDeserializer(item);
261
252
  });
262
253
  }
263
- export function _operationListResultDeserializer(item) {
254
+ export function taskHubSerializer(item) {
264
255
  return {
265
- value: operationArrayDeserializer(item["value"]),
256
+ properties: !item["properties"]
257
+ ? item["properties"]
258
+ : taskHubPropertiesSerializer(item["properties"]),
259
+ };
260
+ }
261
+ export function taskHubDeserializer(item) {
262
+ return {
263
+ id: item["id"],
264
+ name: item["name"],
265
+ type: item["type"],
266
+ systemData: !item["systemData"]
267
+ ? item["systemData"]
268
+ : systemDataDeserializer(item["systemData"]),
269
+ properties: !item["properties"]
270
+ ? item["properties"]
271
+ : taskHubPropertiesDeserializer(item["properties"]),
272
+ };
273
+ }
274
+ export function taskHubPropertiesSerializer(item) {
275
+ return item;
276
+ }
277
+ export function taskHubPropertiesDeserializer(item) {
278
+ return {
279
+ provisioningState: item["provisioningState"],
280
+ dashboardUrl: item["dashboardUrl"],
281
+ };
282
+ }
283
+ export function proxyResourceSerializer(item) {
284
+ return item;
285
+ }
286
+ export function proxyResourceDeserializer(item) {
287
+ return {
288
+ id: item["id"],
289
+ name: item["name"],
290
+ type: item["type"],
291
+ systemData: !item["systemData"]
292
+ ? item["systemData"]
293
+ : systemDataDeserializer(item["systemData"]),
294
+ };
295
+ }
296
+ export function _taskHubListResultDeserializer(item) {
297
+ return {
298
+ value: taskHubArrayDeserializer(item["value"]),
266
299
  nextLink: item["nextLink"],
267
300
  };
268
301
  }
269
- export function operationArrayDeserializer(result) {
302
+ export function taskHubArraySerializer(result) {
270
303
  return result.map((item) => {
271
- return operationDeserializer(item);
304
+ return taskHubSerializer(item);
272
305
  });
273
306
  }
274
- export function operationDeserializer(item) {
307
+ export function taskHubArrayDeserializer(result) {
308
+ return result.map((item) => {
309
+ return taskHubDeserializer(item);
310
+ });
311
+ }
312
+ export function retentionPolicySerializer(item) {
313
+ return {
314
+ properties: !item["properties"]
315
+ ? item["properties"]
316
+ : retentionPolicyPropertiesSerializer(item["properties"]),
317
+ };
318
+ }
319
+ export function retentionPolicyDeserializer(item) {
275
320
  return {
321
+ id: item["id"],
276
322
  name: item["name"],
277
- isDataAction: item["isDataAction"],
278
- display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
279
- origin: item["origin"],
280
- actionType: item["actionType"],
323
+ type: item["type"],
324
+ systemData: !item["systemData"]
325
+ ? item["systemData"]
326
+ : systemDataDeserializer(item["systemData"]),
327
+ properties: !item["properties"]
328
+ ? item["properties"]
329
+ : retentionPolicyPropertiesDeserializer(item["properties"]),
281
330
  };
282
331
  }
283
- export function operationDisplayDeserializer(item) {
332
+ export function retentionPolicyPropertiesSerializer(item) {
284
333
  return {
285
- provider: item["provider"],
286
- resource: item["resource"],
287
- operation: item["operation"],
288
- description: item["description"],
334
+ retentionPolicies: !item["retentionPolicies"]
335
+ ? item["retentionPolicies"]
336
+ : retentionPolicyDetailsArraySerializer(item["retentionPolicies"]),
289
337
  };
290
338
  }
291
- /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
292
- export var KnownOrigin;
293
- (function (KnownOrigin) {
294
- /** Indicates the operation is initiated by a user. */
295
- KnownOrigin["User"] = "user";
296
- /** Indicates the operation is initiated by a system. */
297
- KnownOrigin["System"] = "system";
298
- /** Indicates the operation is initiated by a user or system. */
299
- KnownOrigin["UserSystem"] = "user,system";
300
- })(KnownOrigin || (KnownOrigin = {}));
301
- /** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
302
- export var KnownActionType;
303
- (function (KnownActionType) {
304
- /** Actions are for internal-only APIs. */
305
- KnownActionType["Internal"] = "Internal";
306
- })(KnownActionType || (KnownActionType = {}));
339
+ export function retentionPolicyPropertiesDeserializer(item) {
340
+ return {
341
+ provisioningState: item["provisioningState"],
342
+ retentionPolicies: !item["retentionPolicies"]
343
+ ? item["retentionPolicies"]
344
+ : retentionPolicyDetailsArrayDeserializer(item["retentionPolicies"]),
345
+ };
346
+ }
347
+ export function retentionPolicyDetailsArraySerializer(result) {
348
+ return result.map((item) => {
349
+ return retentionPolicyDetailsSerializer(item);
350
+ });
351
+ }
352
+ export function retentionPolicyDetailsArrayDeserializer(result) {
353
+ return result.map((item) => {
354
+ return retentionPolicyDetailsDeserializer(item);
355
+ });
356
+ }
357
+ export function retentionPolicyDetailsSerializer(item) {
358
+ return {
359
+ retentionPeriodInDays: item["retentionPeriodInDays"],
360
+ orchestrationState: item["orchestrationState"],
361
+ };
362
+ }
363
+ export function retentionPolicyDetailsDeserializer(item) {
364
+ return {
365
+ retentionPeriodInDays: item["retentionPeriodInDays"],
366
+ orchestrationState: item["orchestrationState"],
367
+ };
368
+ }
369
+ /** Purgeable orchestration state to be used in retention policies */
370
+ export var KnownPurgeableOrchestrationState;
371
+ (function (KnownPurgeableOrchestrationState) {
372
+ /** The orchestration is completed */
373
+ KnownPurgeableOrchestrationState["Completed"] = "Completed";
374
+ /** The orchestration is failed */
375
+ KnownPurgeableOrchestrationState["Failed"] = "Failed";
376
+ /** The orchestration is terminated */
377
+ KnownPurgeableOrchestrationState["Terminated"] = "Terminated";
378
+ /** The orchestration is canceled */
379
+ KnownPurgeableOrchestrationState["Canceled"] = "Canceled";
380
+ })(KnownPurgeableOrchestrationState || (KnownPurgeableOrchestrationState = {}));
381
+ export function _retentionPolicyListResultDeserializer(item) {
382
+ return {
383
+ value: retentionPolicyArrayDeserializer(item["value"]),
384
+ nextLink: item["nextLink"],
385
+ };
386
+ }
387
+ export function retentionPolicyArraySerializer(result) {
388
+ return result.map((item) => {
389
+ return retentionPolicySerializer(item);
390
+ });
391
+ }
392
+ export function retentionPolicyArrayDeserializer(result) {
393
+ return result.map((item) => {
394
+ return retentionPolicyDeserializer(item);
395
+ });
396
+ }
307
397
  /** API Versions */
308
398
  export var KnownVersions;
309
399
  (function (KnownVersions) {
310
- /** 2024-10-01-preview */
311
- KnownVersions["V20241001Preview"] = "2024-10-01-preview";
400
+ /** 2025-11-01 */
401
+ KnownVersions["V20251101"] = "2025-11-01";
312
402
  })(KnownVersions || (KnownVersions = {}));
313
403
  //# sourceMappingURL=models.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAQlC,MAAM,UAAU,iBAAiB,CAAC,IAAa;IAC7C,OAAO;QACL,UAAU,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;YAC7B,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;YACpB,CAAC,CAAC,2BAA2B,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;KACpD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a,CAAC;KACjC,CAAC;AACJ,CAAC;AAED,2IAA2I;AAC3I,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,sDAAsD;IACtD,4BAAa,CAAA;IACb,wDAAwD;IACxD,gCAAiB,CAAA;IACjB,gEAAgE;IAChE,yCAA0B,CAAA;AAC5B,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AAaD,gHAAgH;AAChH,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,0CAA0C;IAC1C,wCAAqB,CAAA;AACvB,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;AAWD,mBAAmB;AACnB,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,yBAAyB;IACzB,wDAAuC,CAAA;AACzC,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** A Task Hub resource belonging to the scheduler */\nexport interface TaskHub extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: TaskHubProperties;\n}\n\nexport function taskHubSerializer(item: TaskHub): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : taskHubPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function taskHubDeserializer(item: any): TaskHub {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : taskHubPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** The properties of Task Hub */\nexport interface TaskHubProperties {\n /** The status of the last operation */\n readonly provisioningState?: ProvisioningState;\n /** URL of the durable task scheduler dashboard */\n readonly dashboardUrl?: string;\n}\n\nexport function taskHubPropertiesSerializer(item: TaskHubProperties): any {\n return item;\n}\n\nexport function taskHubPropertiesDeserializer(item: any): TaskHubProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n dashboardUrl: item[\"dashboardUrl\"],\n };\n}\n\n/** The status of the current operation */\nexport enum KnownProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n /** The resource is being provisioned */\n Provisioning = \"Provisioning\",\n /** The resource is updating */\n Updating = \"Updating\",\n /** The resource is being deleted */\n Deleting = \"Deleting\",\n /** The resource create request has been accepted */\n Accepted = \"Accepted\",\n}\n\n/**\n * The status of the current operation \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled. \\\n * **Provisioning**: The resource is being provisioned \\\n * **Updating**: The resource is updating \\\n * **Deleting**: The resource is being deleted \\\n * **Accepted**: The resource create request has been accepted\n */\nexport type ProvisioningState = string;\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceSerializer(item: ProxyResource): any {\n return item;\n}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return item;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnowncreatedByType} can be used interchangeably with createdByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: Record<string, any>;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: !item[\"info\"] ? item[\"info\"] : _errorAdditionalInfoInfoDeserializer(item[\"info\"]),\n };\n}\n\n/** model interface _ErrorAdditionalInfoInfo */\nexport interface _ErrorAdditionalInfoInfo {}\n\nexport function _errorAdditionalInfoInfoDeserializer(item: any): _ErrorAdditionalInfoInfo {\n return item;\n}\n\n/** The response of a TaskHub list operation. */\nexport interface _TaskHubListResult {\n /** The TaskHub items on this page */\n value: TaskHub[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _taskHubListResultDeserializer(item: any): _TaskHubListResult {\n return {\n value: taskHubArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function taskHubArraySerializer(result: Array<TaskHub>): any[] {\n return result.map((item) => {\n return taskHubSerializer(item);\n });\n}\n\nexport function taskHubArrayDeserializer(result: Array<TaskHub>): any[] {\n return result.map((item) => {\n return taskHubDeserializer(item);\n });\n}\n\n/** A Durable Task Scheduler resource */\nexport interface Scheduler extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: SchedulerProperties;\n}\n\nexport function schedulerSerializer(item: Scheduler): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : schedulerPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function schedulerDeserializer(item: any): Scheduler {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : schedulerPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Details of the Scheduler */\nexport interface SchedulerProperties {\n /** The status of the last operation */\n readonly provisioningState?: ProvisioningState;\n /** URL of the durable task scheduler */\n readonly endpoint?: string;\n /** IP allow list for durable task scheduler. Values can be IPv4, IPv6 or CIDR */\n ipAllowlist: string[];\n /** SKU of the durable task scheduler */\n sku: SchedulerSku;\n}\n\nexport function schedulerPropertiesSerializer(item: SchedulerProperties): any {\n return {\n ipAllowlist: item[\"ipAllowlist\"].map((p: any) => {\n return p;\n }),\n sku: schedulerSkuSerializer(item[\"sku\"]),\n };\n}\n\nexport function schedulerPropertiesDeserializer(item: any): SchedulerProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n endpoint: item[\"endpoint\"],\n ipAllowlist: item[\"ipAllowlist\"].map((p: any) => {\n return p;\n }),\n sku: schedulerSkuDeserializer(item[\"sku\"]),\n };\n}\n\n/** The SKU (Stock Keeping Unit) assigned to this durable task scheduler */\nexport interface SchedulerSku {\n /** The name of the SKU */\n name: string;\n /** The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy */\n capacity?: number;\n /** Indicates whether the current SKU configuration is zone redundant */\n readonly redundancyState?: RedundancyState;\n}\n\nexport function schedulerSkuSerializer(item: SchedulerSku): any {\n return { name: item[\"name\"], capacity: item[\"capacity\"] };\n}\n\nexport function schedulerSkuDeserializer(item: any): SchedulerSku {\n return {\n name: item[\"name\"],\n capacity: item[\"capacity\"],\n redundancyState: item[\"redundancyState\"],\n };\n}\n\n/** The state of the resource redundancy */\nexport enum KnownRedundancyState {\n /** The resource is not redundant */\n None = \"None\",\n /** The resource is zone redundant */\n Zone = \"Zone\",\n}\n\n/**\n * The state of the resource redundancy \\\n * {@link KnownRedundancyState} can be used interchangeably with RedundancyState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None**: The resource is not redundant \\\n * **Zone**: The resource is zone redundant\n */\nexport type RedundancyState = string;\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: item[\"tags\"],\n location: item[\"location\"],\n };\n}\n\n/** The update request model for the Scheduler resource */\nexport interface SchedulerUpdate {\n /** The resource-specific properties for this resource. */\n properties?: SchedulerPropertiesUpdate;\n /** Resource tags. */\n tags?: Record<string, string>;\n}\n\nexport function schedulerUpdateSerializer(item: SchedulerUpdate): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : schedulerPropertiesUpdateSerializer(item[\"properties\"]),\n tags: item[\"tags\"],\n };\n}\n\n/** The Scheduler resource properties to be updated */\nexport interface SchedulerPropertiesUpdate {\n /** The status of the last operation */\n readonly provisioningState?: ProvisioningState;\n /** URL of the durable task scheduler */\n readonly endpoint?: string;\n /** IP allow list for durable task scheduler. Values can be IPv4, IPv6 or CIDR */\n ipAllowlist?: string[];\n /** SKU of the durable task scheduler */\n sku?: SchedulerSkuUpdate;\n}\n\nexport function schedulerPropertiesUpdateSerializer(item: SchedulerPropertiesUpdate): any {\n return {\n ipAllowlist: !item[\"ipAllowlist\"]\n ? item[\"ipAllowlist\"]\n : item[\"ipAllowlist\"].map((p: any) => {\n return p;\n }),\n sku: !item[\"sku\"] ? item[\"sku\"] : schedulerSkuUpdateSerializer(item[\"sku\"]),\n };\n}\n\n/** The SKU (Stock Keeping Unit) properties to be updated */\nexport interface SchedulerSkuUpdate {\n /** The name of the SKU */\n name?: string;\n /** The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy */\n capacity?: number;\n /** Indicates whether the current SKU configuration is zone redundant */\n readonly redundancyState?: RedundancyState;\n}\n\nexport function schedulerSkuUpdateSerializer(item: SchedulerSkuUpdate): any {\n return { name: item[\"name\"], capacity: item[\"capacity\"] };\n}\n\n/** The response of a Scheduler list operation. */\nexport interface _SchedulerListResult {\n /** The Scheduler items on this page */\n value: Scheduler[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _schedulerListResultDeserializer(item: any): _SchedulerListResult {\n return {\n value: schedulerArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function schedulerArraySerializer(result: Array<Scheduler>): any[] {\n return result.map((item) => {\n return schedulerSerializer(item);\n });\n}\n\nexport function schedulerArrayDeserializer(result: Array<Scheduler>): any[] {\n return result.map((item) => {\n return schedulerDeserializer(item);\n });\n}\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** API Versions */\nexport enum KnownVersions {\n /** 2024-10-01-preview */\n V20241001Preview = \"2024-10-01-preview\",\n}\n"]}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAUlC,MAAM,UAAU,gCAAgC,CAAC,IAAS;IACxD,OAAO;QACL,KAAK,EAAE,0BAA0B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,MAAwB;IACjE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,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AAoC;IACpC,yDAAqB,CAAA;AACvB,CAAC,EATW,gCAAgC,KAAhC,gCAAgC,QAS3C;AAsBD,MAAM,UAAU,sCAAsC,CAAC,IAAS;IAC9D,OAAO;QACL,KAAK,EAAE,gCAAgC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAC,MAA8B;IAC3E,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,yBAAyB,CAAC,IAAI,CAAC,CAAC;IACzC,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,gCAAgC,CAAC,MAA8B;IAC7E,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,2BAA2B,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC,CAAC,CAAC;AACL,CAAC;AAED,mBAAmB;AACnB,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,iBAAiB;IACjB,yCAAwB,CAAA;AAC1B,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: any;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** A Durable Task Scheduler resource */\nexport interface Scheduler extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: SchedulerProperties;\n}\n\nexport function schedulerSerializer(item: Scheduler): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : schedulerPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function schedulerDeserializer(item: any): Scheduler {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : schedulerPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Details of the Scheduler */\nexport interface SchedulerProperties {\n /** The status of the last operation */\n readonly provisioningState?: ProvisioningState;\n /** URL of the durable task scheduler */\n readonly endpoint?: string;\n /** IP allow list for durable task scheduler. Values can be IPv4, IPv6 or CIDR */\n ipAllowlist: string[];\n /** SKU of the durable task scheduler */\n sku: SchedulerSku;\n}\n\nexport function schedulerPropertiesSerializer(item: SchedulerProperties): any {\n return {\n ipAllowlist: item[\"ipAllowlist\"].map((p: any) => {\n return p;\n }),\n sku: schedulerSkuSerializer(item[\"sku\"]),\n };\n}\n\nexport function schedulerPropertiesDeserializer(item: any): SchedulerProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n endpoint: item[\"endpoint\"],\n ipAllowlist: item[\"ipAllowlist\"].map((p: any) => {\n return p;\n }),\n sku: schedulerSkuDeserializer(item[\"sku\"]),\n };\n}\n\n/** The status of the current operation */\nexport enum KnownProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n /** The resource is being provisioned */\n Provisioning = \"Provisioning\",\n /** The resource is updating */\n Updating = \"Updating\",\n /** The resource is being deleted */\n Deleting = \"Deleting\",\n /** The resource create request has been accepted */\n Accepted = \"Accepted\",\n}\n\n/**\n * The status of the current operation \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled. \\\n * **Provisioning**: The resource is being provisioned \\\n * **Updating**: The resource is updating \\\n * **Deleting**: The resource is being deleted \\\n * **Accepted**: The resource create request has been accepted\n */\nexport type ProvisioningState = string;\n\n/** The SKU (Stock Keeping Unit) assigned to this durable task scheduler */\nexport interface SchedulerSku {\n /** The name of the SKU */\n name: SchedulerSkuName;\n /** The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy */\n capacity?: number;\n /** Indicates whether the current SKU configuration is zone redundant */\n readonly redundancyState?: RedundancyState;\n}\n\nexport function schedulerSkuSerializer(item: SchedulerSku): any {\n return { name: item[\"name\"], capacity: item[\"capacity\"] };\n}\n\nexport function schedulerSkuDeserializer(item: any): SchedulerSku {\n return {\n name: item[\"name\"],\n capacity: item[\"capacity\"],\n redundancyState: item[\"redundancyState\"],\n };\n}\n\n/** The name of the Stock Keeping Unit (SKU) of a Durable Task Scheduler */\nexport enum KnownSchedulerSkuName {\n /** Dedicated SKU */\n Dedicated = \"Dedicated\",\n /** Consumption SKU */\n Consumption = \"Consumption\",\n}\n\n/**\n * The name of the Stock Keeping Unit (SKU) of a Durable Task Scheduler \\\n * {@link KnownSchedulerSkuName} can be used interchangeably with SchedulerSkuName,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Dedicated**: Dedicated SKU \\\n * **Consumption**: Consumption SKU\n */\nexport type SchedulerSkuName = string;\n\n/** The state of the resource redundancy */\nexport enum KnownRedundancyState {\n /** The resource is not redundant */\n None = \"None\",\n /** The resource is zone redundant */\n Zone = \"Zone\",\n}\n\n/**\n * The state of the resource redundancy \\\n * {@link KnownRedundancyState} can be used interchangeably with RedundancyState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None**: The resource is not redundant \\\n * **Zone**: The resource is zone redundant\n */\nexport type RedundancyState = string;\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: item[\"tags\"],\n location: item[\"location\"],\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return item;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** The update request model for the Scheduler resource */\nexport interface SchedulerUpdate {\n /** The resource-specific properties for this resource. */\n properties?: SchedulerPropertiesUpdate;\n /** Resource tags. */\n tags?: Record<string, string>;\n}\n\nexport function schedulerUpdateSerializer(item: SchedulerUpdate): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : schedulerPropertiesUpdateSerializer(item[\"properties\"]),\n tags: item[\"tags\"],\n };\n}\n\n/** The Scheduler resource properties to be updated */\nexport interface SchedulerPropertiesUpdate {\n /** The status of the last operation */\n readonly provisioningState?: ProvisioningState;\n /** URL of the durable task scheduler */\n readonly endpoint?: string;\n /** IP allow list for durable task scheduler. Values can be IPv4, IPv6 or CIDR */\n ipAllowlist?: string[];\n /** SKU of the durable task scheduler */\n sku?: SchedulerSkuUpdate;\n}\n\nexport function schedulerPropertiesUpdateSerializer(item: SchedulerPropertiesUpdate): any {\n return {\n ipAllowlist: !item[\"ipAllowlist\"]\n ? item[\"ipAllowlist\"]\n : item[\"ipAllowlist\"].map((p: any) => {\n return p;\n }),\n sku: !item[\"sku\"] ? item[\"sku\"] : schedulerSkuUpdateSerializer(item[\"sku\"]),\n };\n}\n\n/** The SKU (Stock Keeping Unit) properties to be updated */\nexport interface SchedulerSkuUpdate {\n /** The name of the SKU */\n name?: SchedulerSkuName;\n /** The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy */\n capacity?: number;\n /** Indicates whether the current SKU configuration is zone redundant */\n readonly redundancyState?: RedundancyState;\n}\n\nexport function schedulerSkuUpdateSerializer(item: SchedulerSkuUpdate): any {\n return { name: item[\"name\"], capacity: item[\"capacity\"] };\n}\n\n/** The response of a Scheduler list operation. */\nexport interface _SchedulerListResult {\n /** The Scheduler items on this page */\n value: Scheduler[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _schedulerListResultDeserializer(item: any): _SchedulerListResult {\n return {\n value: schedulerArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function schedulerArraySerializer(result: Array<Scheduler>): any[] {\n return result.map((item) => {\n return schedulerSerializer(item);\n });\n}\n\nexport function schedulerArrayDeserializer(result: Array<Scheduler>): any[] {\n return result.map((item) => {\n return schedulerDeserializer(item);\n });\n}\n\n/** A Task Hub resource belonging to the scheduler */\nexport interface TaskHub extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: TaskHubProperties;\n}\n\nexport function taskHubSerializer(item: TaskHub): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : taskHubPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function taskHubDeserializer(item: any): TaskHub {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : taskHubPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** The properties of Task Hub */\nexport interface TaskHubProperties {\n /** The status of the last operation */\n readonly provisioningState?: ProvisioningState;\n /** URL of the durable task scheduler dashboard */\n readonly dashboardUrl?: string;\n}\n\nexport function taskHubPropertiesSerializer(item: TaskHubProperties): any {\n return item;\n}\n\nexport function taskHubPropertiesDeserializer(item: any): TaskHubProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n dashboardUrl: item[\"dashboardUrl\"],\n };\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceSerializer(item: ProxyResource): any {\n return item;\n}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** The response of a TaskHub list operation. */\nexport interface _TaskHubListResult {\n /** The TaskHub items on this page */\n value: TaskHub[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _taskHubListResultDeserializer(item: any): _TaskHubListResult {\n return {\n value: taskHubArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function taskHubArraySerializer(result: Array<TaskHub>): any[] {\n return result.map((item) => {\n return taskHubSerializer(item);\n });\n}\n\nexport function taskHubArrayDeserializer(result: Array<TaskHub>): any[] {\n return result.map((item) => {\n return taskHubDeserializer(item);\n });\n}\n\n/** A retention policy resource belonging to the scheduler */\nexport interface RetentionPolicy extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: RetentionPolicyProperties;\n}\n\nexport function retentionPolicySerializer(item: RetentionPolicy): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : retentionPolicyPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function retentionPolicyDeserializer(item: any): RetentionPolicy {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : retentionPolicyPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** The retention policy settings for the resource */\nexport interface RetentionPolicyProperties {\n /** The status of the last operation */\n readonly provisioningState?: ProvisioningState;\n /** The orchestration retention policies */\n retentionPolicies?: RetentionPolicyDetails[];\n}\n\nexport function retentionPolicyPropertiesSerializer(item: RetentionPolicyProperties): any {\n return {\n retentionPolicies: !item[\"retentionPolicies\"]\n ? item[\"retentionPolicies\"]\n : retentionPolicyDetailsArraySerializer(item[\"retentionPolicies\"]),\n };\n}\n\nexport function retentionPolicyPropertiesDeserializer(item: any): RetentionPolicyProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n retentionPolicies: !item[\"retentionPolicies\"]\n ? item[\"retentionPolicies\"]\n : retentionPolicyDetailsArrayDeserializer(item[\"retentionPolicies\"]),\n };\n}\n\nexport function retentionPolicyDetailsArraySerializer(\n result: Array<RetentionPolicyDetails>,\n): any[] {\n return result.map((item) => {\n return retentionPolicyDetailsSerializer(item);\n });\n}\n\nexport function retentionPolicyDetailsArrayDeserializer(\n result: Array<RetentionPolicyDetails>,\n): any[] {\n return result.map((item) => {\n return retentionPolicyDetailsDeserializer(item);\n });\n}\n\n/** The properties of a retention policy */\nexport interface RetentionPolicyDetails {\n /** The retention period in days after which the orchestration will be purged automatically */\n retentionPeriodInDays: number;\n /** The orchestration state to which this policy applies. If omitted, the policy applies to all purgeable orchestration states. */\n orchestrationState?: PurgeableOrchestrationState;\n}\n\nexport function retentionPolicyDetailsSerializer(item: RetentionPolicyDetails): any {\n return {\n retentionPeriodInDays: item[\"retentionPeriodInDays\"],\n orchestrationState: item[\"orchestrationState\"],\n };\n}\n\nexport function retentionPolicyDetailsDeserializer(item: any): RetentionPolicyDetails {\n return {\n retentionPeriodInDays: item[\"retentionPeriodInDays\"],\n orchestrationState: item[\"orchestrationState\"],\n };\n}\n\n/** Purgeable orchestration state to be used in retention policies */\nexport enum KnownPurgeableOrchestrationState {\n /** The orchestration is completed */\n Completed = \"Completed\",\n /** The orchestration is failed */\n Failed = \"Failed\",\n /** The orchestration is terminated */\n Terminated = \"Terminated\",\n /** The orchestration is canceled */\n Canceled = \"Canceled\",\n}\n\n/**\n * Purgeable orchestration state to be used in retention policies \\\n * {@link KnownPurgeableOrchestrationState} can be used interchangeably with PurgeableOrchestrationState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Completed**: The orchestration is completed \\\n * **Failed**: The orchestration is failed \\\n * **Terminated**: The orchestration is terminated \\\n * **Canceled**: The orchestration is canceled\n */\nexport type PurgeableOrchestrationState = string;\n\n/** The response of a RetentionPolicy list operation. */\nexport interface _RetentionPolicyListResult {\n /** The RetentionPolicy items on this page */\n value: RetentionPolicy[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _retentionPolicyListResultDeserializer(item: any): _RetentionPolicyListResult {\n return {\n value: retentionPolicyArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function retentionPolicyArraySerializer(result: Array<RetentionPolicy>): any[] {\n return result.map((item) => {\n return retentionPolicySerializer(item);\n });\n}\n\nexport function retentionPolicyArrayDeserializer(result: Array<RetentionPolicy>): any[] {\n return result.map((item) => {\n return retentionPolicyDeserializer(item);\n });\n}\n\n/** API Versions */\nexport enum KnownVersions {\n /** 2025-11-01 */\n V20251101 = \"2025-11-01\",\n}\n"]}
@@ -1,7 +1,7 @@
1
- import { DurableTaskClient } from "./durableTaskClient.js";
2
- import { OperationOptions, PathUncheckedResponse } from "@azure-rest/core-client";
3
- import { AbortSignalLike } from "@azure/abort-controller";
4
- import { PollerLike, OperationState } from "@azure/core-lro";
1
+ import type { DurableTaskClient } from "./durableTaskClient.js";
2
+ import type { OperationOptions, PathUncheckedResponse } from "@azure-rest/core-client";
3
+ import type { AbortSignalLike } from "@azure/abort-controller";
4
+ import type { PollerLike, OperationState } from "@azure/core-lro";
5
5
  export interface RestorePollerOptions<TResult, TResponse extends PathUncheckedResponse = PathUncheckedResponse> extends OperationOptions {
6
6
  /** Delay to wait until next poll, in milliseconds. */
7
7
  updateIntervalInMs?: number;