@azure/arm-resourcegraph 5.0.0-beta.4 → 5.0.0-beta.5

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 (437) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +10 -13
  3. package/dist/browser/api/graphQuery/index.d.ts +3 -0
  4. package/dist/browser/api/graphQuery/index.js +4 -0
  5. package/dist/browser/api/graphQuery/index.js.map +1 -0
  6. package/dist/browser/api/graphQuery/operations.d.ts +30 -0
  7. package/dist/browser/api/graphQuery/operations.js +183 -0
  8. package/dist/browser/api/graphQuery/operations.js.map +1 -0
  9. package/dist/browser/api/graphQuery/options.d.ts +20 -0
  10. package/dist/browser/api/graphQuery/options.js +4 -0
  11. package/dist/browser/api/graphQuery/options.js.map +1 -0
  12. package/dist/browser/api/index.d.ts +5 -0
  13. package/dist/browser/api/index.js +5 -0
  14. package/dist/browser/api/index.js.map +1 -0
  15. package/dist/browser/api/operations/index.d.ts +3 -0
  16. package/dist/browser/api/operations/index.js +4 -0
  17. package/dist/browser/api/operations/index.js.map +1 -0
  18. package/dist/browser/api/operations/operations.d.ts +10 -0
  19. package/dist/browser/api/operations/operations.js +34 -0
  20. package/dist/browser/api/operations/operations.js.map +1 -0
  21. package/dist/browser/api/operations/options.d.ts +5 -0
  22. package/dist/browser/api/operations/options.js +4 -0
  23. package/dist/browser/api/operations/options.js.map +1 -0
  24. package/dist/browser/api/operations.d.ts +24 -0
  25. package/dist/browser/api/operations.js +125 -0
  26. package/dist/browser/api/operations.js.map +1 -0
  27. package/dist/browser/api/options.d.ts +14 -0
  28. package/dist/browser/api/options.js +4 -0
  29. package/dist/browser/api/options.js.map +1 -0
  30. package/dist/browser/api/resourceGraphContext.d.ts +14 -0
  31. package/dist/browser/api/resourceGraphContext.js +27 -0
  32. package/dist/browser/api/resourceGraphContext.js.map +1 -0
  33. package/dist/browser/classic/graphQuery/index.d.ts +21 -0
  34. package/dist/browser/classic/graphQuery/index.js +19 -0
  35. package/dist/browser/classic/graphQuery/index.js.map +1 -0
  36. package/dist/browser/classic/index.d.ts +3 -0
  37. package/dist/browser/classic/index.js +4 -0
  38. package/dist/browser/classic/index.js.map +1 -0
  39. package/dist/browser/classic/operations/index.d.ts +11 -0
  40. package/dist/browser/classic/operations/index.js +14 -0
  41. package/dist/browser/classic/operations/index.js.map +1 -0
  42. package/dist/browser/index.d.ts +19 -3
  43. package/dist/browser/index.js +7 -11
  44. package/dist/browser/index.js.map +1 -1
  45. package/dist/browser/logger.d.ts +2 -0
  46. package/dist/browser/logger.js +5 -0
  47. package/dist/browser/logger.js.map +1 -0
  48. package/dist/browser/models/graphQueryApi/index.d.ts +3 -0
  49. package/dist/browser/models/graphQueryApi/index.js +4 -0
  50. package/dist/browser/models/graphQueryApi/index.js.map +1 -0
  51. package/dist/browser/models/graphQueryApi/models.d.ts +116 -0
  52. package/dist/browser/models/graphQueryApi/models.js +118 -0
  53. package/dist/browser/models/graphQueryApi/models.js.map +1 -0
  54. package/dist/browser/models/index.d.ts +2 -215
  55. package/dist/browser/models/index.js +3 -8
  56. package/dist/browser/models/index.js.map +1 -1
  57. package/dist/browser/models/models.d.ts +64 -0
  58. package/dist/browser/models/models.js +53 -0
  59. package/dist/browser/models/models.js.map +1 -0
  60. package/dist/browser/models/resourceChanges/index.d.ts +2 -0
  61. package/dist/browser/models/resourceChanges/index.js +4 -0
  62. package/dist/browser/models/resourceChanges/index.js.map +1 -0
  63. package/dist/browser/models/resourceChanges/models.d.ts +111 -0
  64. package/dist/browser/models/resourceChanges/models.js +92 -0
  65. package/dist/browser/models/resourceChanges/models.js.map +1 -0
  66. package/dist/browser/models/resourceGraphApi/index.d.ts +2 -0
  67. package/dist/browser/models/resourceGraphApi/index.js +4 -0
  68. package/dist/browser/models/resourceGraphApi/index.js.map +1 -0
  69. package/dist/browser/models/resourceGraphApi/models.d.ts +143 -0
  70. package/dist/browser/models/resourceGraphApi/models.js +123 -0
  71. package/dist/browser/models/resourceGraphApi/models.js.map +1 -0
  72. package/dist/browser/models/resourceGraphCommon/index.d.ts +2 -0
  73. package/dist/browser/models/resourceGraphCommon/index.js +4 -0
  74. package/dist/browser/models/resourceGraphCommon/index.js.map +1 -0
  75. package/dist/browser/models/resourceGraphCommon/models.d.ts +42 -0
  76. package/dist/browser/models/resourceGraphCommon/models.js +31 -0
  77. package/dist/browser/models/resourceGraphCommon/models.js.map +1 -0
  78. package/dist/browser/models/resourceHistory/index.d.ts +2 -0
  79. package/dist/browser/models/resourceHistory/index.js +4 -0
  80. package/dist/browser/models/resourceHistory/index.js.map +1 -0
  81. package/dist/browser/models/resourceHistory/models.d.ts +32 -0
  82. package/dist/browser/models/resourceHistory/models.js +31 -0
  83. package/dist/browser/models/resourceHistory/models.js.map +1 -0
  84. package/dist/browser/resourceGraphClient.d.ts +28 -27
  85. package/dist/browser/resourceGraphClient.js +43 -147
  86. package/dist/browser/resourceGraphClient.js.map +1 -1
  87. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  88. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  89. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  90. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  91. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  92. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  93. package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  94. package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
  95. package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  96. package/dist/browser/static-helpers/serialization/serialize-record.d.ts +2 -0
  97. package/dist/browser/static-helpers/serialization/serialize-record.js +19 -0
  98. package/dist/browser/static-helpers/serialization/serialize-record.js.map +1 -0
  99. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  100. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  101. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  102. package/dist/commonjs/api/graphQuery/index.d.ts +3 -0
  103. package/dist/commonjs/api/graphQuery/index.js +38 -0
  104. package/dist/commonjs/api/graphQuery/index.js.map +7 -0
  105. package/dist/commonjs/api/graphQuery/operations.d.ts +30 -0
  106. package/dist/commonjs/api/graphQuery/operations.js +277 -0
  107. package/dist/commonjs/api/graphQuery/operations.js.map +7 -0
  108. package/dist/commonjs/api/graphQuery/options.d.ts +20 -0
  109. package/dist/commonjs/api/graphQuery/options.js +16 -0
  110. package/dist/commonjs/api/graphQuery/options.js.map +7 -0
  111. package/dist/commonjs/api/index.d.ts +5 -0
  112. package/dist/commonjs/api/index.js +37 -0
  113. package/dist/commonjs/api/index.js.map +7 -0
  114. package/dist/commonjs/api/operations/index.d.ts +3 -0
  115. package/dist/commonjs/api/operations/index.js +28 -0
  116. package/dist/commonjs/api/operations/index.js.map +7 -0
  117. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  118. package/dist/commonjs/api/operations/operations.js +71 -0
  119. package/dist/commonjs/api/operations/operations.js.map +7 -0
  120. package/dist/commonjs/api/operations/options.d.ts +5 -0
  121. package/dist/commonjs/api/operations/options.js +16 -0
  122. package/dist/commonjs/api/operations/options.js.map +7 -0
  123. package/dist/commonjs/api/operations.d.ts +24 -0
  124. package/dist/commonjs/api/operations.js +183 -0
  125. package/dist/commonjs/api/operations.js.map +7 -0
  126. package/dist/commonjs/api/options.d.ts +14 -0
  127. package/dist/commonjs/api/options.js +16 -0
  128. package/dist/commonjs/api/options.js.map +7 -0
  129. package/dist/commonjs/api/resourceGraphContext.d.ts +14 -0
  130. package/dist/commonjs/api/resourceGraphContext.js +51 -0
  131. package/dist/commonjs/api/resourceGraphContext.js.map +7 -0
  132. package/dist/commonjs/classic/graphQuery/index.d.ts +21 -0
  133. package/dist/commonjs/classic/graphQuery/index.js +43 -0
  134. package/dist/commonjs/classic/graphQuery/index.js.map +7 -0
  135. package/dist/commonjs/classic/index.d.ts +3 -0
  136. package/dist/commonjs/classic/index.js +16 -0
  137. package/dist/commonjs/classic/index.js.map +7 -0
  138. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  139. package/dist/commonjs/classic/operations/index.js +38 -0
  140. package/dist/commonjs/classic/operations/index.js.map +7 -0
  141. package/dist/commonjs/index.d.ts +19 -3
  142. package/dist/commonjs/index.js +42 -19
  143. package/dist/commonjs/index.js.map +7 -1
  144. package/dist/commonjs/logger.d.ts +2 -0
  145. package/dist/commonjs/logger.js +29 -0
  146. package/dist/commonjs/logger.js.map +7 -0
  147. package/dist/commonjs/models/graphQueryApi/index.d.ts +3 -0
  148. package/dist/commonjs/models/graphQueryApi/index.js +28 -0
  149. package/dist/commonjs/models/graphQueryApi/index.js.map +7 -0
  150. package/dist/commonjs/models/graphQueryApi/models.d.ts +116 -0
  151. package/dist/commonjs/models/graphQueryApi/models.js +160 -0
  152. package/dist/commonjs/models/graphQueryApi/models.js.map +7 -0
  153. package/dist/commonjs/models/index.d.ts +2 -215
  154. package/dist/commonjs/models/index.js +28 -10
  155. package/dist/commonjs/models/index.js.map +7 -1
  156. package/dist/commonjs/models/models.d.ts +64 -0
  157. package/dist/commonjs/models/models.js +76 -0
  158. package/dist/commonjs/models/models.js.map +7 -0
  159. package/dist/commonjs/models/resourceChanges/index.d.ts +2 -0
  160. package/dist/commonjs/models/resourceChanges/index.js +16 -0
  161. package/dist/commonjs/models/resourceChanges/index.js.map +7 -0
  162. package/dist/commonjs/models/resourceChanges/models.d.ts +111 -0
  163. package/dist/commonjs/models/resourceChanges/models.js +130 -0
  164. package/dist/commonjs/models/resourceChanges/models.js.map +7 -0
  165. package/dist/commonjs/models/resourceGraphApi/index.d.ts +2 -0
  166. package/dist/commonjs/models/resourceGraphApi/index.js +16 -0
  167. package/dist/commonjs/models/resourceGraphApi/index.js.map +7 -0
  168. package/dist/commonjs/models/resourceGraphApi/models.d.ts +143 -0
  169. package/dist/commonjs/models/resourceGraphApi/models.js +171 -0
  170. package/dist/commonjs/models/resourceGraphApi/models.js.map +7 -0
  171. package/dist/commonjs/models/resourceGraphCommon/index.d.ts +2 -0
  172. package/dist/commonjs/models/resourceGraphCommon/index.js +16 -0
  173. package/dist/commonjs/models/resourceGraphCommon/index.js.map +7 -0
  174. package/dist/commonjs/models/resourceGraphCommon/models.d.ts +42 -0
  175. package/dist/commonjs/models/resourceGraphCommon/models.js +63 -0
  176. package/dist/commonjs/models/resourceGraphCommon/models.js.map +7 -0
  177. package/dist/commonjs/models/resourceHistory/index.d.ts +2 -0
  178. package/dist/commonjs/models/resourceHistory/index.js +16 -0
  179. package/dist/commonjs/models/resourceHistory/index.js.map +7 -0
  180. package/dist/commonjs/models/resourceHistory/models.d.ts +32 -0
  181. package/dist/commonjs/models/resourceHistory/models.js +51 -0
  182. package/dist/commonjs/models/resourceHistory/models.js.map +7 -0
  183. package/dist/commonjs/resourceGraphClient.d.ts +28 -27
  184. package/dist/commonjs/resourceGraphClient.js +72 -160
  185. package/dist/commonjs/resourceGraphClient.js.map +7 -1
  186. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  187. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  188. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  189. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  190. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  191. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  192. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  193. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
  194. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
  195. package/dist/commonjs/static-helpers/serialization/serialize-record.d.ts +2 -0
  196. package/dist/commonjs/static-helpers/serialization/serialize-record.js +42 -0
  197. package/dist/commonjs/static-helpers/serialization/serialize-record.js.map +7 -0
  198. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  199. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  200. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  201. package/dist/commonjs/tsdoc-metadata.json +1 -1
  202. package/dist/esm/api/graphQuery/index.d.ts +3 -0
  203. package/dist/esm/api/graphQuery/index.js +4 -0
  204. package/dist/esm/api/graphQuery/index.js.map +1 -0
  205. package/dist/esm/api/graphQuery/operations.d.ts +30 -0
  206. package/dist/esm/api/graphQuery/operations.js +183 -0
  207. package/dist/esm/api/graphQuery/operations.js.map +1 -0
  208. package/dist/esm/api/graphQuery/options.d.ts +20 -0
  209. package/dist/esm/api/graphQuery/options.js +4 -0
  210. package/dist/esm/api/graphQuery/options.js.map +1 -0
  211. package/dist/esm/api/index.d.ts +5 -0
  212. package/dist/esm/api/index.js +5 -0
  213. package/dist/esm/api/index.js.map +1 -0
  214. package/dist/esm/api/operations/index.d.ts +3 -0
  215. package/dist/esm/api/operations/index.js +4 -0
  216. package/dist/esm/api/operations/index.js.map +1 -0
  217. package/dist/esm/api/operations/operations.d.ts +10 -0
  218. package/dist/esm/api/operations/operations.js +34 -0
  219. package/dist/esm/api/operations/operations.js.map +1 -0
  220. package/dist/esm/api/operations/options.d.ts +5 -0
  221. package/dist/esm/api/operations/options.js +4 -0
  222. package/dist/esm/api/operations/options.js.map +1 -0
  223. package/dist/esm/api/operations.d.ts +24 -0
  224. package/dist/esm/api/operations.js +125 -0
  225. package/dist/esm/api/operations.js.map +1 -0
  226. package/dist/esm/api/options.d.ts +14 -0
  227. package/dist/esm/api/options.js +4 -0
  228. package/dist/esm/api/options.js.map +1 -0
  229. package/dist/esm/api/resourceGraphContext.d.ts +14 -0
  230. package/dist/esm/api/resourceGraphContext.js +27 -0
  231. package/dist/esm/api/resourceGraphContext.js.map +1 -0
  232. package/dist/esm/classic/graphQuery/index.d.ts +21 -0
  233. package/dist/esm/classic/graphQuery/index.js +19 -0
  234. package/dist/esm/classic/graphQuery/index.js.map +1 -0
  235. package/dist/esm/classic/index.d.ts +3 -0
  236. package/dist/esm/classic/index.js +4 -0
  237. package/dist/esm/classic/index.js.map +1 -0
  238. package/dist/esm/classic/operations/index.d.ts +11 -0
  239. package/dist/esm/classic/operations/index.js +14 -0
  240. package/dist/esm/classic/operations/index.js.map +1 -0
  241. package/dist/esm/index.d.ts +19 -3
  242. package/dist/esm/index.js +7 -11
  243. package/dist/esm/index.js.map +1 -1
  244. package/dist/esm/logger.d.ts +2 -0
  245. package/dist/esm/logger.js +5 -0
  246. package/dist/esm/logger.js.map +1 -0
  247. package/dist/esm/models/graphQueryApi/index.d.ts +3 -0
  248. package/dist/esm/models/graphQueryApi/index.js +4 -0
  249. package/dist/esm/models/graphQueryApi/index.js.map +1 -0
  250. package/dist/esm/models/graphQueryApi/models.d.ts +116 -0
  251. package/dist/esm/models/graphQueryApi/models.js +118 -0
  252. package/dist/esm/models/graphQueryApi/models.js.map +1 -0
  253. package/dist/esm/models/index.d.ts +2 -215
  254. package/dist/esm/models/index.js +3 -8
  255. package/dist/esm/models/index.js.map +1 -1
  256. package/dist/esm/models/models.d.ts +64 -0
  257. package/dist/esm/models/models.js +53 -0
  258. package/dist/esm/models/models.js.map +1 -0
  259. package/dist/esm/models/resourceChanges/index.d.ts +2 -0
  260. package/dist/esm/models/resourceChanges/index.js +4 -0
  261. package/dist/esm/models/resourceChanges/index.js.map +1 -0
  262. package/dist/esm/models/resourceChanges/models.d.ts +111 -0
  263. package/dist/esm/models/resourceChanges/models.js +92 -0
  264. package/dist/esm/models/resourceChanges/models.js.map +1 -0
  265. package/dist/esm/models/resourceGraphApi/index.d.ts +2 -0
  266. package/dist/esm/models/resourceGraphApi/index.js +4 -0
  267. package/dist/esm/models/resourceGraphApi/index.js.map +1 -0
  268. package/dist/esm/models/resourceGraphApi/models.d.ts +143 -0
  269. package/dist/esm/models/resourceGraphApi/models.js +123 -0
  270. package/dist/esm/models/resourceGraphApi/models.js.map +1 -0
  271. package/dist/esm/models/resourceGraphCommon/index.d.ts +2 -0
  272. package/dist/esm/models/resourceGraphCommon/index.js +4 -0
  273. package/dist/esm/models/resourceGraphCommon/index.js.map +1 -0
  274. package/dist/esm/models/resourceGraphCommon/models.d.ts +42 -0
  275. package/dist/esm/models/resourceGraphCommon/models.js +31 -0
  276. package/dist/esm/models/resourceGraphCommon/models.js.map +1 -0
  277. package/dist/esm/models/resourceHistory/index.d.ts +2 -0
  278. package/dist/esm/models/resourceHistory/index.js +4 -0
  279. package/dist/esm/models/resourceHistory/index.js.map +1 -0
  280. package/dist/esm/models/resourceHistory/models.d.ts +32 -0
  281. package/dist/esm/models/resourceHistory/models.js +31 -0
  282. package/dist/esm/models/resourceHistory/models.js.map +1 -0
  283. package/dist/esm/resourceGraphClient.d.ts +28 -27
  284. package/dist/esm/resourceGraphClient.js +43 -147
  285. package/dist/esm/resourceGraphClient.js.map +1 -1
  286. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  287. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  288. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  289. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  290. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  291. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  292. package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  293. package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
  294. package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  295. package/dist/esm/static-helpers/serialization/serialize-record.d.ts +2 -0
  296. package/dist/esm/static-helpers/serialization/serialize-record.js +19 -0
  297. package/dist/esm/static-helpers/serialization/serialize-record.js.map +1 -0
  298. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  299. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  300. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  301. package/package.json +183 -91
  302. package/CHANGELOG.md +0 -21
  303. package/dist/browser/index.d.ts.map +0 -1
  304. package/dist/browser/models/index.d.ts.map +0 -1
  305. package/dist/browser/models/mappers.d.ts +0 -26
  306. package/dist/browser/models/mappers.d.ts.map +0 -1
  307. package/dist/browser/models/mappers.js +0 -663
  308. package/dist/browser/models/mappers.js.map +0 -1
  309. package/dist/browser/models/parameters.d.ts +0 -8
  310. package/dist/browser/models/parameters.d.ts.map +0 -1
  311. package/dist/browser/models/parameters.js +0 -61
  312. package/dist/browser/models/parameters.js.map +0 -1
  313. package/dist/browser/operations/index.d.ts +0 -2
  314. package/dist/browser/operations/index.d.ts.map +0 -1
  315. package/dist/browser/operations/index.js +0 -9
  316. package/dist/browser/operations/index.js.map +0 -1
  317. package/dist/browser/operations/operations.d.ts +0 -26
  318. package/dist/browser/operations/operations.d.ts.map +0 -1
  319. package/dist/browser/operations/operations.js +0 -79
  320. package/dist/browser/operations/operations.js.map +0 -1
  321. package/dist/browser/operationsInterfaces/index.d.ts +0 -2
  322. package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
  323. package/dist/browser/operationsInterfaces/index.js +0 -9
  324. package/dist/browser/operationsInterfaces/index.js.map +0 -1
  325. package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
  326. package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
  327. package/dist/browser/operationsInterfaces/operations.js +0 -9
  328. package/dist/browser/operationsInterfaces/operations.js.map +0 -1
  329. package/dist/browser/pagingHelper.d.ts +0 -13
  330. package/dist/browser/pagingHelper.d.ts.map +0 -1
  331. package/dist/browser/pagingHelper.js +0 -30
  332. package/dist/browser/pagingHelper.js.map +0 -1
  333. package/dist/browser/resourceGraphClient.d.ts.map +0 -1
  334. package/dist/commonjs/index.d.ts.map +0 -1
  335. package/dist/commonjs/models/index.d.ts.map +0 -1
  336. package/dist/commonjs/models/mappers.d.ts +0 -26
  337. package/dist/commonjs/models/mappers.d.ts.map +0 -1
  338. package/dist/commonjs/models/mappers.js +0 -666
  339. package/dist/commonjs/models/mappers.js.map +0 -1
  340. package/dist/commonjs/models/parameters.d.ts +0 -8
  341. package/dist/commonjs/models/parameters.d.ts.map +0 -1
  342. package/dist/commonjs/models/parameters.js +0 -64
  343. package/dist/commonjs/models/parameters.js.map +0 -1
  344. package/dist/commonjs/operations/index.d.ts +0 -2
  345. package/dist/commonjs/operations/index.d.ts.map +0 -1
  346. package/dist/commonjs/operations/index.js +0 -12
  347. package/dist/commonjs/operations/index.js.map +0 -1
  348. package/dist/commonjs/operations/operations.d.ts +0 -26
  349. package/dist/commonjs/operations/operations.d.ts.map +0 -1
  350. package/dist/commonjs/operations/operations.js +0 -84
  351. package/dist/commonjs/operations/operations.js.map +0 -1
  352. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -2
  353. package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
  354. package/dist/commonjs/operationsInterfaces/index.js +0 -12
  355. package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
  356. package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
  357. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
  358. package/dist/commonjs/operationsInterfaces/operations.js +0 -10
  359. package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
  360. package/dist/commonjs/pagingHelper.d.ts +0 -13
  361. package/dist/commonjs/pagingHelper.d.ts.map +0 -1
  362. package/dist/commonjs/pagingHelper.js +0 -34
  363. package/dist/commonjs/pagingHelper.js.map +0 -1
  364. package/dist/commonjs/resourceGraphClient.d.ts.map +0 -1
  365. package/dist/esm/index.d.ts.map +0 -1
  366. package/dist/esm/models/index.d.ts.map +0 -1
  367. package/dist/esm/models/mappers.d.ts +0 -26
  368. package/dist/esm/models/mappers.d.ts.map +0 -1
  369. package/dist/esm/models/mappers.js +0 -663
  370. package/dist/esm/models/mappers.js.map +0 -1
  371. package/dist/esm/models/parameters.d.ts +0 -8
  372. package/dist/esm/models/parameters.d.ts.map +0 -1
  373. package/dist/esm/models/parameters.js +0 -61
  374. package/dist/esm/models/parameters.js.map +0 -1
  375. package/dist/esm/operations/index.d.ts +0 -2
  376. package/dist/esm/operations/index.d.ts.map +0 -1
  377. package/dist/esm/operations/index.js +0 -9
  378. package/dist/esm/operations/index.js.map +0 -1
  379. package/dist/esm/operations/operations.d.ts +0 -26
  380. package/dist/esm/operations/operations.d.ts.map +0 -1
  381. package/dist/esm/operations/operations.js +0 -79
  382. package/dist/esm/operations/operations.js.map +0 -1
  383. package/dist/esm/operationsInterfaces/index.d.ts +0 -2
  384. package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
  385. package/dist/esm/operationsInterfaces/index.js +0 -9
  386. package/dist/esm/operationsInterfaces/index.js.map +0 -1
  387. package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
  388. package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
  389. package/dist/esm/operationsInterfaces/operations.js +0 -9
  390. package/dist/esm/operationsInterfaces/operations.js.map +0 -1
  391. package/dist/esm/pagingHelper.d.ts +0 -13
  392. package/dist/esm/pagingHelper.d.ts.map +0 -1
  393. package/dist/esm/pagingHelper.js +0 -30
  394. package/dist/esm/pagingHelper.js.map +0 -1
  395. package/dist/esm/resourceGraphClient.d.ts.map +0 -1
  396. package/dist/react-native/index.d.ts +0 -5
  397. package/dist/react-native/index.d.ts.map +0 -1
  398. package/dist/react-native/index.js +0 -13
  399. package/dist/react-native/index.js.map +0 -1
  400. package/dist/react-native/models/index.d.ts +0 -216
  401. package/dist/react-native/models/index.d.ts.map +0 -1
  402. package/dist/react-native/models/index.js +0 -9
  403. package/dist/react-native/models/index.js.map +0 -1
  404. package/dist/react-native/models/mappers.d.ts +0 -26
  405. package/dist/react-native/models/mappers.d.ts.map +0 -1
  406. package/dist/react-native/models/mappers.js +0 -663
  407. package/dist/react-native/models/mappers.js.map +0 -1
  408. package/dist/react-native/models/parameters.d.ts +0 -8
  409. package/dist/react-native/models/parameters.d.ts.map +0 -1
  410. package/dist/react-native/models/parameters.js +0 -61
  411. package/dist/react-native/models/parameters.js.map +0 -1
  412. package/dist/react-native/operations/index.d.ts +0 -2
  413. package/dist/react-native/operations/index.d.ts.map +0 -1
  414. package/dist/react-native/operations/index.js +0 -9
  415. package/dist/react-native/operations/index.js.map +0 -1
  416. package/dist/react-native/operations/operations.d.ts +0 -26
  417. package/dist/react-native/operations/operations.d.ts.map +0 -1
  418. package/dist/react-native/operations/operations.js +0 -79
  419. package/dist/react-native/operations/operations.js.map +0 -1
  420. package/dist/react-native/operationsInterfaces/index.d.ts +0 -2
  421. package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
  422. package/dist/react-native/operationsInterfaces/index.js +0 -9
  423. package/dist/react-native/operationsInterfaces/index.js.map +0 -1
  424. package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
  425. package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
  426. package/dist/react-native/operationsInterfaces/operations.js +0 -9
  427. package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
  428. package/dist/react-native/package.json +0 -3
  429. package/dist/react-native/pagingHelper.d.ts +0 -13
  430. package/dist/react-native/pagingHelper.d.ts.map +0 -1
  431. package/dist/react-native/pagingHelper.js +0 -30
  432. package/dist/react-native/pagingHelper.js.map +0 -1
  433. package/dist/react-native/resourceGraphClient.d.ts +0 -30
  434. package/dist/react-native/resourceGraphClient.d.ts.map +0 -1
  435. package/dist/react-native/resourceGraphClient.js +0 -157
  436. package/dist/react-native/resourceGraphClient.js.map +0 -1
  437. package/review/arm-resourcegraph-node.api.md +0 -217
@@ -1 +1,7 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport type FacetUnion = Facet | FacetResult | FacetError;\n\n/** Describes a query to be executed. */\nexport interface QueryRequest {\n /** Azure subscriptions against which to execute the query. */\n subscriptions?: string[];\n /** Azure management groups against which to execute the query. Example: [ 'mg1', 'mg2' ] */\n managementGroups?: string[];\n /** The resources query. */\n query: string;\n /** The query evaluation options */\n options?: QueryRequestOptions;\n /** An array of facet requests to be computed against the query result. */\n facets?: FacetRequest[];\n}\n\n/** The options for query evaluation */\nexport interface QueryRequestOptions {\n /** Continuation token for pagination, capturing the next page size and offset, as well as the context of the query. */\n skipToken?: string;\n /** The maximum number of rows that the query should return. Overrides the page size when ```$skipToken``` property is present. */\n top?: number;\n /** The number of rows to skip from the beginning of the results. Overrides the next page offset when ```$skipToken``` property is present. */\n skip?: number;\n /** Defines in which format query result returned. */\n resultFormat?: ResultFormat;\n /** Only applicable for tenant and management group level queries to decide whether to allow partial scopes for result in case the number of subscriptions exceed allowed limits. */\n allowPartialScopes?: boolean;\n /** Defines what level of authorization resources should be returned based on the which subscriptions and management groups are passed as scopes. */\n authorizationScopeFilter?: AuthorizationScopeFilter;\n}\n\n/** A request to compute additional statistics (facets) over the query results. */\nexport interface FacetRequest {\n /** The column or list of columns to summarize by */\n expression: string;\n /** The options for facet evaluation */\n options?: FacetRequestOptions;\n}\n\n/** The options for facet evaluation */\nexport interface FacetRequestOptions {\n /** The column name or query expression to sort on. Defaults to count if not present. */\n sortBy?: string;\n /** The sorting order by the selected column (count by default). */\n sortOrder?: FacetSortOrder;\n /** Specifies the filter condition for the 'where' clause which will be run on main query's result, just before the actual faceting. */\n filter?: string;\n /** The maximum number of facet rows that should be returned. */\n top?: number;\n}\n\n/** Query result. */\nexport interface QueryResponse {\n /** Number of total records matching the query. */\n totalRecords: number;\n /** Number of records returned in the current response. In the case of paging, this is the number of records in the current page. */\n count: number;\n /** Indicates whether the query results are truncated. */\n resultTruncated: ResultTruncated;\n /** When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data. */\n skipToken?: string;\n /** Query output in JObject array or Table format. */\n data: Record<string, unknown>;\n /** Query facets. */\n facets?: FacetUnion[];\n}\n\n/** A facet containing additional statistics on the response of a query. Can be either FacetResult or FacetError. */\nexport interface Facet {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resultType: \"FacetResult\" | \"FacetError\";\n /** Facet expression, same as in the corresponding facet request. */\n expression: string;\n}\n\n/** An error response from the API. */\nexport interface ErrorResponse {\n /** Error information. */\n error: ErrorModel;\n}\n\n/** Error details. */\nexport interface ErrorModel {\n /** Error code identifying the specific error. */\n code: string;\n /** A human readable error message. */\n message: string;\n /** Error details */\n details?: ErrorDetails[];\n}\n\n/** Error details. */\nexport interface ErrorDetails {\n /** Describes unknown properties. The value of an unknown property can be of \"any\" type. */\n [property: string]: any;\n /** Error code identifying the specific error. */\n code: string;\n /** A human readable error message. */\n message: string;\n}\n\n/** Result of the request to list Resource Graph operations. It contains a list of operations and a URL link to get the next set of results. */\nexport interface OperationListResult {\n /** List of Resource Graph operations supported by the Resource Graph resource provider. */\n value?: Operation[];\n}\n\n/** Resource Graph REST API operation definition. */\nexport interface Operation {\n /** Operation name: {provider}/{resource}/{operation} */\n name?: string;\n /** Display metadata associated with the operation. */\n display?: OperationDisplay;\n /** The origin of operations. */\n origin?: string;\n}\n\n/** Display metadata associated with the operation. */\nexport interface OperationDisplay {\n /** Service provider: Microsoft Resource Graph. */\n provider?: string;\n /** Resource on which the operation is performed etc. */\n resource?: string;\n /** Type of operation: get, read, delete, etc. */\n operation?: string;\n /** Description for the operation. */\n description?: string;\n}\n\n/** Describes a history request to be executed. */\nexport interface ResourcesHistoryRequest {\n /** Azure subscriptions against which to execute the query. */\n subscriptions?: string[];\n /** The resources query. */\n query?: string;\n /** The history request evaluation options */\n options?: ResourcesHistoryRequestOptions;\n /** Azure management groups against which to execute the query. Example: [ 'mg1', 'mg2' ] */\n managementGroups?: string[];\n}\n\n/** The options for history request evaluation */\nexport interface ResourcesHistoryRequestOptions {\n /** The time interval used to fetch history. */\n interval?: DateTimeInterval;\n /** The maximum number of rows that the query should return. Overrides the page size when ```$skipToken``` property is present. */\n top?: number;\n /** The number of rows to skip from the beginning of the results. Overrides the next page offset when ```$skipToken``` property is present. */\n skip?: number;\n /** Continuation token for pagination, capturing the next page size and offset, as well as the context of the query. */\n skipToken?: string;\n /** Defines in which format query result returned. */\n resultFormat?: ResultFormat;\n}\n\n/** An interval in time specifying the date and time for the inclusive start and exclusive end, i.e. `[start, end)`. */\nexport interface DateTimeInterval {\n /** A datetime indicating the inclusive/closed start of the time interval, i.e. `[`**`start`**`, end)`. Specifying a `start` that occurs chronologically after `end` will result in an error. */\n start: Date;\n /** A datetime indicating the exclusive/open end of the time interval, i.e. `[start, `**`end`**`)`. Specifying an `end` that occurs chronologically before `start` will result in an error. */\n end: Date;\n}\n\n/** Query output in tabular format. */\nexport interface Table {\n /** Query result column descriptors. */\n columns: Column[];\n /** Query result rows. */\n rows: Record<string, unknown>[][];\n}\n\n/** Query result column descriptor. */\nexport interface Column {\n /** Column name. */\n name: string;\n /** Column data type. */\n type: ColumnDataType;\n}\n\n/** Successfully executed facet containing additional statistics on the response of a query. */\nexport interface FacetResult extends Facet {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resultType: \"FacetResult\";\n /** Number of total records in the facet results. */\n totalRecords: number;\n /** Number of records returned in the facet response. */\n count: number;\n /** A JObject array or Table containing the desired facets. Only present if the facet is valid. */\n data: Record<string, unknown>;\n}\n\n/** A facet whose execution resulted in an error. */\nexport interface FacetError extends Facet {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resultType: \"FacetError\";\n /** An array containing detected facet errors with details. */\n errors: ErrorDetails[];\n}\n\n/** Defines values for ResultFormat. */\nexport type ResultFormat = \"table\" | \"objectArray\";\n/** Defines values for AuthorizationScopeFilter. */\nexport type AuthorizationScopeFilter =\n | \"AtScopeAndBelow\"\n | \"AtScopeAndAbove\"\n | \"AtScopeExact\"\n | \"AtScopeAboveAndBelow\";\n/** Defines values for FacetSortOrder. */\nexport type FacetSortOrder = \"asc\" | \"desc\";\n/** Defines values for ResultTruncated. */\nexport type ResultTruncated = \"true\" | \"false\";\n/** Defines values for ColumnDataType. */\nexport type ColumnDataType =\n | \"string\"\n | \"integer\"\n | \"number\"\n | \"boolean\"\n | \"object\"\n | \"datetime\";\n\n/** Optional parameters. */\nexport interface ResourcesOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the resources operation. */\nexport type ResourcesResponse = QueryResponse;\n\n/** Optional parameters. */\nexport interface ResourcesHistoryOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the resourcesHistory operation. */\nexport type ResourcesHistoryResponse = Record<string, unknown>;\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationsListResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface ResourceGraphClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/models/index.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type {\n ProxyResource,\n Resource,\n SystemData,\n CreatedByType,\n ResourcesHistoryResponse,\n} from \"./models.js\";\nexport { KnownCreatedByType } from \"./models.js\";\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA,oBAAmC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,64 @@
1
+ /**
2
+ * This file contains only generated model types and their (de)serializers.
3
+ * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.
4
+ */
5
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
6
+ export interface ProxyResource extends Resource {
7
+ }
8
+ export declare function proxyResourceSerializer(_item: ProxyResource): any;
9
+ export declare function proxyResourceDeserializer(item: any): ProxyResource;
10
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
11
+ export interface Resource {
12
+ /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */
13
+ readonly id?: string;
14
+ /** The name of the resource */
15
+ readonly name?: string;
16
+ /** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */
17
+ readonly type?: string;
18
+ /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
19
+ readonly systemData?: SystemData;
20
+ }
21
+ export declare function resourceSerializer(_item: Resource): any;
22
+ export declare function resourceDeserializer(item: any): Resource;
23
+ /** Metadata pertaining to creation and last modification of the resource. */
24
+ export interface SystemData {
25
+ /** The identity that created the resource. */
26
+ createdBy?: string;
27
+ /** The type of identity that created the resource. */
28
+ createdByType?: CreatedByType;
29
+ /** The timestamp of resource creation (UTC). */
30
+ createdAt?: Date;
31
+ /** The identity that last modified the resource. */
32
+ lastModifiedBy?: string;
33
+ /** The type of identity that last modified the resource. */
34
+ lastModifiedByType?: CreatedByType;
35
+ /** The timestamp of resource last modification (UTC) */
36
+ lastModifiedAt?: Date;
37
+ }
38
+ export declare function systemDataDeserializer(item: any): SystemData;
39
+ /** The kind of entity that created the resource. */
40
+ export declare enum KnownCreatedByType {
41
+ /** The entity was created by a user. */
42
+ User = "User",
43
+ /** The entity was created by an application. */
44
+ Application = "Application",
45
+ /** The entity was created by a managed identity. */
46
+ ManagedIdentity = "ManagedIdentity",
47
+ /** The entity was created by a key. */
48
+ Key = "Key"
49
+ }
50
+ /**
51
+ * The kind of entity that created the resource. \
52
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
53
+ * this enum contains the known values that the service supports.
54
+ * ### Known values supported by the service
55
+ * **User**: The entity was created by a user. \
56
+ * **Application**: The entity was created by an application. \
57
+ * **ManagedIdentity**: The entity was created by a managed identity. \
58
+ * **Key**: The entity was created by a key.
59
+ */
60
+ export type CreatedByType = string;
61
+ export type ResourcesHistoryResponse = {
62
+ body: any;
63
+ };
64
+ //# sourceMappingURL=models.d.ts.map
@@ -0,0 +1,76 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var models_exports = {};
19
+ __export(models_exports, {
20
+ KnownCreatedByType: () => KnownCreatedByType,
21
+ proxyResourceDeserializer: () => proxyResourceDeserializer,
22
+ proxyResourceSerializer: () => proxyResourceSerializer,
23
+ resourceDeserializer: () => resourceDeserializer,
24
+ resourceSerializer: () => resourceSerializer,
25
+ systemDataDeserializer: () => systemDataDeserializer
26
+ });
27
+ module.exports = __toCommonJS(models_exports);
28
+ function proxyResourceSerializer(_item) {
29
+ return {};
30
+ }
31
+ function proxyResourceDeserializer(item) {
32
+ return {
33
+ id: item["id"],
34
+ name: item["name"],
35
+ type: item["type"],
36
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"])
37
+ };
38
+ }
39
+ function resourceSerializer(_item) {
40
+ return {};
41
+ }
42
+ function resourceDeserializer(item) {
43
+ return {
44
+ id: item["id"],
45
+ name: item["name"],
46
+ type: item["type"],
47
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"])
48
+ };
49
+ }
50
+ function systemDataDeserializer(item) {
51
+ return {
52
+ createdBy: item["createdBy"],
53
+ createdByType: item["createdByType"],
54
+ createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
55
+ lastModifiedBy: item["lastModifiedBy"],
56
+ lastModifiedByType: item["lastModifiedByType"],
57
+ lastModifiedAt: !item["lastModifiedAt"] ? item["lastModifiedAt"] : new Date(item["lastModifiedAt"])
58
+ };
59
+ }
60
+ var KnownCreatedByType = /* @__PURE__ */ ((KnownCreatedByType2) => {
61
+ KnownCreatedByType2["User"] = "User";
62
+ KnownCreatedByType2["Application"] = "Application";
63
+ KnownCreatedByType2["ManagedIdentity"] = "ManagedIdentity";
64
+ KnownCreatedByType2["Key"] = "Key";
65
+ return KnownCreatedByType2;
66
+ })(KnownCreatedByType || {});
67
+ // Annotate the CommonJS export names for ESM import in node:
68
+ 0 && (module.exports = {
69
+ KnownCreatedByType,
70
+ proxyResourceDeserializer,
71
+ proxyResourceSerializer,
72
+ resourceDeserializer,
73
+ resourceSerializer,
74
+ systemDataDeserializer
75
+ });
76
+ //# sourceMappingURL=models.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/models/models.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * This file contains only generated model types and their (de)serializers.\n * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.\n */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\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 {};\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 {};\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\nexport type ResourcesHistoryResponse = { body: any };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAYO,SAAS,wBAAwB,OAA2B;AACjE,SAAO,CAAC;AACV;AAEO,SAAS,0BAA0B,MAA0B;AAClE,SAAO;AAAA,IACL,IAAI,KAAK,IAAI;AAAA,IACb,MAAM,KAAK,MAAM;AAAA,IACjB,MAAM,KAAK,MAAM;AAAA,IACjB,YAAY,CAAC,KAAK,YAAY,IAC1B,KAAK,YAAY,IACjB,uBAAuB,KAAK,YAAY,CAAC;AAAA,EAC/C;AACF;AAcO,SAAS,mBAAmB,OAAsB;AACvD,SAAO,CAAC;AACV;AAEO,SAAS,qBAAqB,MAAqB;AACxD,SAAO;AAAA,IACL,IAAI,KAAK,IAAI;AAAA,IACb,MAAM,KAAK,MAAM;AAAA,IACjB,MAAM,KAAK,MAAM;AAAA,IACjB,YAAY,CAAC,KAAK,YAAY,IAC1B,KAAK,YAAY,IACjB,uBAAuB,KAAK,YAAY,CAAC;AAAA,EAC/C;AACF;AAkBO,SAAS,uBAAuB,MAAuB;AAC5D,SAAO;AAAA,IACL,WAAW,KAAK,WAAW;AAAA,IAC3B,eAAe,KAAK,eAAe;AAAA,IACnC,WAAW,CAAC,KAAK,WAAW,IAAI,KAAK,WAAW,IAAI,IAAI,KAAK,KAAK,WAAW,CAAC;AAAA,IAC9E,gBAAgB,KAAK,gBAAgB;AAAA,IACrC,oBAAoB,KAAK,oBAAoB;AAAA,IAC7C,gBAAgB,CAAC,KAAK,gBAAgB,IAClC,KAAK,gBAAgB,IACrB,IAAI,KAAK,KAAK,gBAAgB,CAAC;AAAA,EACrC;AACF;AAGO,IAAK,qBAAL,kBAAKA,wBAAL;AAEL,EAAAA,oBAAA,UAAO;AAEP,EAAAA,oBAAA,iBAAc;AAEd,EAAAA,oBAAA,qBAAkB;AAElB,EAAAA,oBAAA,SAAM;AARI,SAAAA;AAAA,GAAA;",
6
+ "names": ["KnownCreatedByType"]
7
+ }
@@ -0,0 +1,2 @@
1
+ export type { ResourceChangesRequestParameters, ResourceChangesRequestParametersInterval, ResourceChangeList, ResourceChangeData, ResourceChangeDataBeforeSnapshot, ResourceChangeDataAfterSnapshot, ChangeType, ResourcePropertyChange, ChangeCategory, PropertyChangeType, ResourceSnapshotData, ResourceChangeDetailsRequestParameters, } from "./models.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,16 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var resourceChanges_exports = {};
15
+ module.exports = __toCommonJS(resourceChanges_exports);
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/models/resourceChanges/index.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type {\n ResourceChangesRequestParameters,\n ResourceChangesRequestParametersInterval,\n ResourceChangeList,\n ResourceChangeData,\n ResourceChangeDataBeforeSnapshot,\n ResourceChangeDataAfterSnapshot,\n ChangeType,\n ResourcePropertyChange,\n ChangeCategory,\n PropertyChangeType,\n ResourceSnapshotData,\n ResourceChangeDetailsRequestParameters,\n} from \"./models.js\";\n"],
5
+ "mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -0,0 +1,111 @@
1
+ import type { DateTimeInterval } from "../resourceGraphCommon/models.js";
2
+ /**
3
+ * This file contains only generated model types and their (de)serializers.
4
+ * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.
5
+ */
6
+ /** The parameters for a specific changes request. */
7
+ export interface ResourceChangesRequestParameters {
8
+ /** Specifies the list of resources for a changes request. */
9
+ resourceIds?: string[];
10
+ /** The subscription id of resources to query the changes from. */
11
+ subscriptionId?: string;
12
+ /** Specifies the date and time interval for a changes request. */
13
+ interval: ResourceChangesRequestParametersInterval;
14
+ /** Acts as the continuation token for paged responses. */
15
+ skipToken?: string;
16
+ /** The maximum number of changes the client can accept in a paged response. */
17
+ top?: number;
18
+ /** The table name to query resources from. */
19
+ table?: string;
20
+ /** The flag if set to true will fetch property changes */
21
+ fetchPropertyChanges?: boolean;
22
+ /** The flag if set to true will fetch change snapshots */
23
+ fetchSnapshots?: boolean;
24
+ }
25
+ export declare function resourceChangesRequestParametersSerializer(item: ResourceChangesRequestParameters): any;
26
+ /** Specifies the date and time interval for a changes request. */
27
+ export interface ResourceChangesRequestParametersInterval extends DateTimeInterval {
28
+ }
29
+ export declare function resourceChangesRequestParametersIntervalSerializer(item: ResourceChangesRequestParametersInterval): any;
30
+ /** A list of changes associated with a resource over a specific time interval. */
31
+ export interface ResourceChangeList {
32
+ /**
33
+ * The pageable value returned by the operation, i.e. a list of changes to the resource.
34
+ *
35
+ * - The list is ordered from the most recent changes to the least recent changes.
36
+ * - This list will be empty if there were no changes during the requested interval.
37
+ * - The `Before` snapshot timestamp value of the oldest change can be outside of the specified time interval.
38
+ */
39
+ changes?: ResourceChangeData[];
40
+ /** Skip token that encodes the skip information while executing the current request */
41
+ skipToken?: any;
42
+ }
43
+ export declare function resourceChangeListDeserializer(item: any): ResourceChangeList;
44
+ export declare function resourceChangeDataArrayDeserializer(result: Array<ResourceChangeData>): any[];
45
+ /** Data on a specific change, represented by a pair of before and after resource snapshots. */
46
+ export interface ResourceChangeData {
47
+ /** The resource for a change. */
48
+ resourceId?: string;
49
+ /** The change ID. Valid and unique within the specified resource only. */
50
+ changeId: string;
51
+ /** The snapshot before the change. */
52
+ beforeSnapshot: ResourceChangeDataBeforeSnapshot;
53
+ /** The snapshot after the change. */
54
+ afterSnapshot: ResourceChangeDataAfterSnapshot;
55
+ /** The change type for snapshot. PropertyChanges will be provided in case of Update change type */
56
+ changeType?: ChangeType;
57
+ /** An array of resource property change */
58
+ propertyChanges?: ResourcePropertyChange[];
59
+ }
60
+ export declare function resourceChangeDataDeserializer(item: any): ResourceChangeData;
61
+ /** The snapshot before the change. */
62
+ export interface ResourceChangeDataBeforeSnapshot extends ResourceSnapshotData {
63
+ }
64
+ export declare function resourceChangeDataBeforeSnapshotDeserializer(item: any): ResourceChangeDataBeforeSnapshot;
65
+ /** The snapshot after the change. */
66
+ export interface ResourceChangeDataAfterSnapshot extends ResourceSnapshotData {
67
+ }
68
+ export declare function resourceChangeDataAfterSnapshotDeserializer(item: any): ResourceChangeDataAfterSnapshot;
69
+ /** The change type for snapshot. PropertyChanges will be provided in case of Update change type */
70
+ export type ChangeType = "Create" | "Update" | "Delete";
71
+ export declare function resourcePropertyChangeArrayDeserializer(result: Array<ResourcePropertyChange>): any[];
72
+ /** The resource property change */
73
+ export interface ResourcePropertyChange {
74
+ /** The property name */
75
+ propertyName: string;
76
+ /** The property value in before snapshot */
77
+ beforeValue?: string;
78
+ /** The property value in after snapshot */
79
+ afterValue?: string;
80
+ /** The change category. */
81
+ changeCategory: ChangeCategory;
82
+ /** The property change Type */
83
+ propertyChangeType: PropertyChangeType;
84
+ }
85
+ export declare function resourcePropertyChangeDeserializer(item: any): ResourcePropertyChange;
86
+ /** The change category. */
87
+ export type ChangeCategory = "User" | "System";
88
+ /** The property change Type */
89
+ export type PropertyChangeType = "Insert" | "Update" | "Remove";
90
+ /** Data on a specific resource snapshot. */
91
+ export interface ResourceSnapshotData {
92
+ /** The ID of the snapshot. */
93
+ snapshotId?: string;
94
+ /**
95
+ * The time when the snapshot was created.
96
+ * The snapshot timestamp provides an approximation as to when a modification to a resource was detected. There can be a difference between the actual modification time and the detection time. This is due to differences in how operations that modify a resource are processed, versus how operation that record resource snapshots are processed.
97
+ */
98
+ timestamp: Date;
99
+ /** The resource snapshot content (in resourceChangeDetails response only). */
100
+ content?: any;
101
+ }
102
+ export declare function resourceSnapshotDataDeserializer(item: any): ResourceSnapshotData;
103
+ /** The parameters for a specific change details request. */
104
+ export interface ResourceChangeDetailsRequestParameters {
105
+ /** Specifies the list of resources for a change details request. */
106
+ resourceIds: string[];
107
+ /** Specifies the list of change IDs for a change details request. */
108
+ changeIds: string[];
109
+ }
110
+ export declare function resourceChangeDetailsRequestParametersSerializer(item: ResourceChangeDetailsRequestParameters): any;
111
+ //# sourceMappingURL=models.d.ts.map
@@ -0,0 +1,130 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var models_exports = {};
19
+ __export(models_exports, {
20
+ resourceChangeDataAfterSnapshotDeserializer: () => resourceChangeDataAfterSnapshotDeserializer,
21
+ resourceChangeDataArrayDeserializer: () => resourceChangeDataArrayDeserializer,
22
+ resourceChangeDataBeforeSnapshotDeserializer: () => resourceChangeDataBeforeSnapshotDeserializer,
23
+ resourceChangeDataDeserializer: () => resourceChangeDataDeserializer,
24
+ resourceChangeDetailsRequestParametersSerializer: () => resourceChangeDetailsRequestParametersSerializer,
25
+ resourceChangeListDeserializer: () => resourceChangeListDeserializer,
26
+ resourceChangesRequestParametersIntervalSerializer: () => resourceChangesRequestParametersIntervalSerializer,
27
+ resourceChangesRequestParametersSerializer: () => resourceChangesRequestParametersSerializer,
28
+ resourcePropertyChangeArrayDeserializer: () => resourcePropertyChangeArrayDeserializer,
29
+ resourcePropertyChangeDeserializer: () => resourcePropertyChangeDeserializer,
30
+ resourceSnapshotDataDeserializer: () => resourceSnapshotDataDeserializer
31
+ });
32
+ module.exports = __toCommonJS(models_exports);
33
+ function resourceChangesRequestParametersSerializer(item) {
34
+ return {
35
+ resourceIds: !item["resourceIds"] ? item["resourceIds"] : item["resourceIds"].map((p) => {
36
+ return p;
37
+ }),
38
+ subscriptionId: item["subscriptionId"],
39
+ interval: resourceChangesRequestParametersIntervalSerializer(item["interval"]),
40
+ $skipToken: item["skipToken"],
41
+ $top: item["top"],
42
+ table: item["table"],
43
+ fetchPropertyChanges: item["fetchPropertyChanges"],
44
+ fetchSnapshots: item["fetchSnapshots"]
45
+ };
46
+ }
47
+ function resourceChangesRequestParametersIntervalSerializer(item) {
48
+ return { start: item["start"].toISOString(), end: item["end"].toISOString() };
49
+ }
50
+ function resourceChangeListDeserializer(item) {
51
+ return {
52
+ changes: !item["changes"] ? item["changes"] : resourceChangeDataArrayDeserializer(item["changes"]),
53
+ skipToken: item["$skipToken"]
54
+ };
55
+ }
56
+ function resourceChangeDataArrayDeserializer(result) {
57
+ return result.map((item) => {
58
+ return resourceChangeDataDeserializer(item);
59
+ });
60
+ }
61
+ function resourceChangeDataDeserializer(item) {
62
+ return {
63
+ resourceId: item["resourceId"],
64
+ changeId: item["changeId"],
65
+ beforeSnapshot: resourceChangeDataBeforeSnapshotDeserializer(item["beforeSnapshot"]),
66
+ afterSnapshot: resourceChangeDataAfterSnapshotDeserializer(item["afterSnapshot"]),
67
+ changeType: item["changeType"],
68
+ propertyChanges: !item["propertyChanges"] ? item["propertyChanges"] : resourcePropertyChangeArrayDeserializer(item["propertyChanges"])
69
+ };
70
+ }
71
+ function resourceChangeDataBeforeSnapshotDeserializer(item) {
72
+ return {
73
+ snapshotId: item["snapshotId"],
74
+ timestamp: new Date(item["timestamp"]),
75
+ content: item["content"]
76
+ };
77
+ }
78
+ function resourceChangeDataAfterSnapshotDeserializer(item) {
79
+ return {
80
+ snapshotId: item["snapshotId"],
81
+ timestamp: new Date(item["timestamp"]),
82
+ content: item["content"]
83
+ };
84
+ }
85
+ function resourcePropertyChangeArrayDeserializer(result) {
86
+ return result.map((item) => {
87
+ return resourcePropertyChangeDeserializer(item);
88
+ });
89
+ }
90
+ function resourcePropertyChangeDeserializer(item) {
91
+ return {
92
+ propertyName: item["propertyName"],
93
+ beforeValue: item["beforeValue"],
94
+ afterValue: item["afterValue"],
95
+ changeCategory: item["changeCategory"],
96
+ propertyChangeType: item["propertyChangeType"]
97
+ };
98
+ }
99
+ function resourceSnapshotDataDeserializer(item) {
100
+ return {
101
+ snapshotId: item["snapshotId"],
102
+ timestamp: new Date(item["timestamp"]),
103
+ content: item["content"]
104
+ };
105
+ }
106
+ function resourceChangeDetailsRequestParametersSerializer(item) {
107
+ return {
108
+ resourceIds: item["resourceIds"].map((p) => {
109
+ return p;
110
+ }),
111
+ changeIds: item["changeIds"].map((p) => {
112
+ return p;
113
+ })
114
+ };
115
+ }
116
+ // Annotate the CommonJS export names for ESM import in node:
117
+ 0 && (module.exports = {
118
+ resourceChangeDataAfterSnapshotDeserializer,
119
+ resourceChangeDataArrayDeserializer,
120
+ resourceChangeDataBeforeSnapshotDeserializer,
121
+ resourceChangeDataDeserializer,
122
+ resourceChangeDetailsRequestParametersSerializer,
123
+ resourceChangeListDeserializer,
124
+ resourceChangesRequestParametersIntervalSerializer,
125
+ resourceChangesRequestParametersSerializer,
126
+ resourcePropertyChangeArrayDeserializer,
127
+ resourcePropertyChangeDeserializer,
128
+ resourceSnapshotDataDeserializer
129
+ });
130
+ //# sourceMappingURL=models.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/models/resourceChanges/models.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { DateTimeInterval } from \"../resourceGraphCommon/models.js\";\n\n/**\n * This file contains only generated model types and their (de)serializers.\n * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.\n */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/** The parameters for a specific changes request. */\nexport interface ResourceChangesRequestParameters {\n /** Specifies the list of resources for a changes request. */\n resourceIds?: string[];\n /** The subscription id of resources to query the changes from. */\n subscriptionId?: string;\n /** Specifies the date and time interval for a changes request. */\n interval: ResourceChangesRequestParametersInterval;\n /** Acts as the continuation token for paged responses. */\n skipToken?: string;\n /** The maximum number of changes the client can accept in a paged response. */\n top?: number;\n /** The table name to query resources from. */\n table?: string;\n /** The flag if set to true will fetch property changes */\n fetchPropertyChanges?: boolean;\n /** The flag if set to true will fetch change snapshots */\n fetchSnapshots?: boolean;\n}\n\nexport function resourceChangesRequestParametersSerializer(\n item: ResourceChangesRequestParameters,\n): any {\n return {\n resourceIds: !item[\"resourceIds\"]\n ? item[\"resourceIds\"]\n : item[\"resourceIds\"].map((p: any) => {\n return p;\n }),\n subscriptionId: item[\"subscriptionId\"],\n interval: resourceChangesRequestParametersIntervalSerializer(item[\"interval\"]),\n $skipToken: item[\"skipToken\"],\n $top: item[\"top\"],\n table: item[\"table\"],\n fetchPropertyChanges: item[\"fetchPropertyChanges\"],\n fetchSnapshots: item[\"fetchSnapshots\"],\n };\n}\n\n/** Specifies the date and time interval for a changes request. */\nexport interface ResourceChangesRequestParametersInterval extends DateTimeInterval {}\n\nexport function resourceChangesRequestParametersIntervalSerializer(\n item: ResourceChangesRequestParametersInterval,\n): any {\n return { start: item[\"start\"].toISOString(), end: item[\"end\"].toISOString() };\n}\n\n/** A list of changes associated with a resource over a specific time interval. */\nexport interface ResourceChangeList {\n /**\n * The pageable value returned by the operation, i.e. a list of changes to the resource.\n *\n * - The list is ordered from the most recent changes to the least recent changes.\n * - This list will be empty if there were no changes during the requested interval.\n * - The `Before` snapshot timestamp value of the oldest change can be outside of the specified time interval.\n */\n changes?: ResourceChangeData[];\n /** Skip token that encodes the skip information while executing the current request */\n skipToken?: any;\n}\n\nexport function resourceChangeListDeserializer(item: any): ResourceChangeList {\n return {\n changes: !item[\"changes\"]\n ? item[\"changes\"]\n : resourceChangeDataArrayDeserializer(item[\"changes\"]),\n skipToken: item[\"$skipToken\"],\n };\n}\n\nexport function resourceChangeDataArrayDeserializer(result: Array<ResourceChangeData>): any[] {\n return result.map((item) => {\n return resourceChangeDataDeserializer(item);\n });\n}\n\n/** Data on a specific change, represented by a pair of before and after resource snapshots. */\nexport interface ResourceChangeData {\n /** The resource for a change. */\n resourceId?: string;\n /** The change ID. Valid and unique within the specified resource only. */\n changeId: string;\n /** The snapshot before the change. */\n beforeSnapshot: ResourceChangeDataBeforeSnapshot;\n /** The snapshot after the change. */\n afterSnapshot: ResourceChangeDataAfterSnapshot;\n /** The change type for snapshot. PropertyChanges will be provided in case of Update change type */\n changeType?: ChangeType;\n /** An array of resource property change */\n propertyChanges?: ResourcePropertyChange[];\n}\n\nexport function resourceChangeDataDeserializer(item: any): ResourceChangeData {\n return {\n resourceId: item[\"resourceId\"],\n changeId: item[\"changeId\"],\n beforeSnapshot: resourceChangeDataBeforeSnapshotDeserializer(item[\"beforeSnapshot\"]),\n afterSnapshot: resourceChangeDataAfterSnapshotDeserializer(item[\"afterSnapshot\"]),\n changeType: item[\"changeType\"],\n propertyChanges: !item[\"propertyChanges\"]\n ? item[\"propertyChanges\"]\n : resourcePropertyChangeArrayDeserializer(item[\"propertyChanges\"]),\n };\n}\n\n/** The snapshot before the change. */\nexport interface ResourceChangeDataBeforeSnapshot extends ResourceSnapshotData {}\n\nexport function resourceChangeDataBeforeSnapshotDeserializer(\n item: any,\n): ResourceChangeDataBeforeSnapshot {\n return {\n snapshotId: item[\"snapshotId\"],\n timestamp: new Date(item[\"timestamp\"]),\n content: item[\"content\"],\n };\n}\n\n/** The snapshot after the change. */\nexport interface ResourceChangeDataAfterSnapshot extends ResourceSnapshotData {}\n\nexport function resourceChangeDataAfterSnapshotDeserializer(\n item: any,\n): ResourceChangeDataAfterSnapshot {\n return {\n snapshotId: item[\"snapshotId\"],\n timestamp: new Date(item[\"timestamp\"]),\n content: item[\"content\"],\n };\n}\n\n/** The change type for snapshot. PropertyChanges will be provided in case of Update change type */\nexport type ChangeType = \"Create\" | \"Update\" | \"Delete\";\n\nexport function resourcePropertyChangeArrayDeserializer(\n result: Array<ResourcePropertyChange>,\n): any[] {\n return result.map((item) => {\n return resourcePropertyChangeDeserializer(item);\n });\n}\n\n/** The resource property change */\nexport interface ResourcePropertyChange {\n /** The property name */\n propertyName: string;\n /** The property value in before snapshot */\n beforeValue?: string;\n /** The property value in after snapshot */\n afterValue?: string;\n /** The change category. */\n changeCategory: ChangeCategory;\n /** The property change Type */\n propertyChangeType: PropertyChangeType;\n}\n\nexport function resourcePropertyChangeDeserializer(item: any): ResourcePropertyChange {\n return {\n propertyName: item[\"propertyName\"],\n beforeValue: item[\"beforeValue\"],\n afterValue: item[\"afterValue\"],\n changeCategory: item[\"changeCategory\"],\n propertyChangeType: item[\"propertyChangeType\"],\n };\n}\n\n/** The change category. */\nexport type ChangeCategory = \"User\" | \"System\";\n/** The property change Type */\nexport type PropertyChangeType = \"Insert\" | \"Update\" | \"Remove\";\n\n/** Data on a specific resource snapshot. */\nexport interface ResourceSnapshotData {\n /** The ID of the snapshot. */\n snapshotId?: string;\n /**\n * The time when the snapshot was created.\n * The snapshot timestamp provides an approximation as to when a modification to a resource was detected. There can be a difference between the actual modification time and the detection time. This is due to differences in how operations that modify a resource are processed, versus how operation that record resource snapshots are processed.\n */\n timestamp: Date;\n /** The resource snapshot content (in resourceChangeDetails response only). */\n content?: any;\n}\n\nexport function resourceSnapshotDataDeserializer(item: any): ResourceSnapshotData {\n return {\n snapshotId: item[\"snapshotId\"],\n timestamp: new Date(item[\"timestamp\"]),\n content: item[\"content\"],\n };\n}\n\n/** The parameters for a specific change details request. */\nexport interface ResourceChangeDetailsRequestParameters {\n /** Specifies the list of resources for a change details request. */\n resourceIds: string[];\n /** Specifies the list of change IDs for a change details request. */\n changeIds: string[];\n}\n\nexport function resourceChangeDetailsRequestParametersSerializer(\n item: ResourceChangeDetailsRequestParameters,\n): any {\n return {\n resourceIds: item[\"resourceIds\"].map((p: any) => {\n return p;\n }),\n changeIds: item[\"changeIds\"].map((p: any) => {\n return p;\n }),\n };\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA+BO,SAAS,2CACd,MACK;AACL,SAAO;AAAA,IACL,aAAa,CAAC,KAAK,aAAa,IAC5B,KAAK,aAAa,IAClB,KAAK,aAAa,EAAE,IAAI,CAAC,MAAW;AAClC,aAAO;AAAA,IACT,CAAC;AAAA,IACL,gBAAgB,KAAK,gBAAgB;AAAA,IACrC,UAAU,mDAAmD,KAAK,UAAU,CAAC;AAAA,IAC7E,YAAY,KAAK,WAAW;AAAA,IAC5B,MAAM,KAAK,KAAK;AAAA,IAChB,OAAO,KAAK,OAAO;AAAA,IACnB,sBAAsB,KAAK,sBAAsB;AAAA,IACjD,gBAAgB,KAAK,gBAAgB;AAAA,EACvC;AACF;AAKO,SAAS,mDACd,MACK;AACL,SAAO,EAAE,OAAO,KAAK,OAAO,EAAE,YAAY,GAAG,KAAK,KAAK,KAAK,EAAE,YAAY,EAAE;AAC9E;AAgBO,SAAS,+BAA+B,MAA+B;AAC5E,SAAO;AAAA,IACL,SAAS,CAAC,KAAK,SAAS,IACpB,KAAK,SAAS,IACd,oCAAoC,KAAK,SAAS,CAAC;AAAA,IACvD,WAAW,KAAK,YAAY;AAAA,EAC9B;AACF;AAEO,SAAS,oCAAoC,QAA0C;AAC5F,SAAO,OAAO,IAAI,CAAC,SAAS;AAC1B,WAAO,+BAA+B,IAAI;AAAA,EAC5C,CAAC;AACH;AAkBO,SAAS,+BAA+B,MAA+B;AAC5E,SAAO;AAAA,IACL,YAAY,KAAK,YAAY;AAAA,IAC7B,UAAU,KAAK,UAAU;AAAA,IACzB,gBAAgB,6CAA6C,KAAK,gBAAgB,CAAC;AAAA,IACnF,eAAe,4CAA4C,KAAK,eAAe,CAAC;AAAA,IAChF,YAAY,KAAK,YAAY;AAAA,IAC7B,iBAAiB,CAAC,KAAK,iBAAiB,IACpC,KAAK,iBAAiB,IACtB,wCAAwC,KAAK,iBAAiB,CAAC;AAAA,EACrE;AACF;AAKO,SAAS,6CACd,MACkC;AAClC,SAAO;AAAA,IACL,YAAY,KAAK,YAAY;AAAA,IAC7B,WAAW,IAAI,KAAK,KAAK,WAAW,CAAC;AAAA,IACrC,SAAS,KAAK,SAAS;AAAA,EACzB;AACF;AAKO,SAAS,4CACd,MACiC;AACjC,SAAO;AAAA,IACL,YAAY,KAAK,YAAY;AAAA,IAC7B,WAAW,IAAI,KAAK,KAAK,WAAW,CAAC;AAAA,IACrC,SAAS,KAAK,SAAS;AAAA,EACzB;AACF;AAKO,SAAS,wCACd,QACO;AACP,SAAO,OAAO,IAAI,CAAC,SAAS;AAC1B,WAAO,mCAAmC,IAAI;AAAA,EAChD,CAAC;AACH;AAgBO,SAAS,mCAAmC,MAAmC;AACpF,SAAO;AAAA,IACL,cAAc,KAAK,cAAc;AAAA,IACjC,aAAa,KAAK,aAAa;AAAA,IAC/B,YAAY,KAAK,YAAY;AAAA,IAC7B,gBAAgB,KAAK,gBAAgB;AAAA,IACrC,oBAAoB,KAAK,oBAAoB;AAAA,EAC/C;AACF;AAoBO,SAAS,iCAAiC,MAAiC;AAChF,SAAO;AAAA,IACL,YAAY,KAAK,YAAY;AAAA,IAC7B,WAAW,IAAI,KAAK,KAAK,WAAW,CAAC;AAAA,IACrC,SAAS,KAAK,SAAS;AAAA,EACzB;AACF;AAUO,SAAS,iDACd,MACK;AACL,SAAO;AAAA,IACL,aAAa,KAAK,aAAa,EAAE,IAAI,CAAC,MAAW;AAC/C,aAAO;AAAA,IACT,CAAC;AAAA,IACD,WAAW,KAAK,WAAW,EAAE,IAAI,CAAC,MAAW;AAC3C,aAAO;AAAA,IACT,CAAC;AAAA,EACH;AACF;",
6
+ "names": []
7
+ }
@@ -0,0 +1,2 @@
1
+ export type { QueryRequest, QueryRequestOptions, AuthorizationScopeFilter, FacetRequest, FacetRequestOptions, FacetSortOrder, QueryResponse, ResultTruncated, Facet, FacetUnion, FacetResult, FacetError, Operation, OperationDisplay, } from "./models.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,16 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var resourceGraphApi_exports = {};
15
+ module.exports = __toCommonJS(resourceGraphApi_exports);
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/models/resourceGraphApi/index.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type {\n QueryRequest,\n QueryRequestOptions,\n AuthorizationScopeFilter,\n FacetRequest,\n FacetRequestOptions,\n FacetSortOrder,\n QueryResponse,\n ResultTruncated,\n Facet,\n FacetUnion,\n FacetResult,\n FacetError,\n Operation,\n OperationDisplay,\n} from \"./models.js\";\n"],
5
+ "mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
6
+ "names": []
7
+ }