@azure/arm-iotfirmwaredefense 1.0.1-alpha.20250207.1 → 1.0.1-alpha.20250211.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (638) hide show
  1. package/README.md +21 -14
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/{dist-esm/src → dist/browser}/ioTFirmwareDefenseClient.d.ts +2 -2
  7. package/dist/browser/ioTFirmwareDefenseClient.d.ts.map +1 -0
  8. package/{dist-esm/src → dist/browser}/ioTFirmwareDefenseClient.js +15 -18
  9. package/dist/browser/ioTFirmwareDefenseClient.js.map +1 -0
  10. package/dist/browser/models/index.js.map +1 -0
  11. package/dist/browser/models/mappers.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  13. package/dist/browser/models/parameters.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/operations/binaryHardening.d.ts +3 -3
  15. package/dist/browser/operations/binaryHardening.d.ts.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/binaryHardening.js +3 -3
  17. package/dist/browser/operations/binaryHardening.js.map +1 -0
  18. package/{dist-esm/src → dist/browser}/operations/cryptoCertificates.d.ts +3 -3
  19. package/dist/browser/operations/cryptoCertificates.d.ts.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/cryptoCertificates.js +3 -3
  21. package/dist/browser/operations/cryptoCertificates.js.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/cryptoKeys.d.ts +3 -3
  23. package/dist/browser/operations/cryptoKeys.d.ts.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/cryptoKeys.js +3 -3
  25. package/dist/browser/operations/cryptoKeys.js.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/cves.d.ts +3 -3
  27. package/dist/browser/operations/cves.d.ts.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/cves.js +3 -3
  29. package/dist/browser/operations/cves.js.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/firmwares.d.ts +3 -3
  31. package/dist/browser/operations/firmwares.d.ts.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/firmwares.js +3 -3
  33. package/dist/browser/operations/firmwares.js.map +1 -0
  34. package/dist/browser/operations/index.d.ts +11 -0
  35. package/dist/browser/operations/index.d.ts.map +1 -0
  36. package/dist/browser/operations/index.js +18 -0
  37. package/dist/browser/operations/index.js.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  39. package/dist/browser/operations/operations.d.ts.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
  41. package/dist/browser/operations/operations.js.map +1 -0
  42. package/{dist-esm/src → dist/browser}/operations/passwordHashes.d.ts +3 -3
  43. package/dist/browser/operations/passwordHashes.d.ts.map +1 -0
  44. package/{dist-esm/src → dist/browser}/operations/passwordHashes.js +3 -3
  45. package/dist/browser/operations/passwordHashes.js.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operations/sbomComponents.d.ts +3 -3
  47. package/dist/browser/operations/sbomComponents.d.ts.map +1 -0
  48. package/{dist-esm/src → dist/browser}/operations/sbomComponents.js +3 -3
  49. package/dist/browser/operations/sbomComponents.js.map +1 -0
  50. package/{dist-esm/src → dist/browser}/operations/summaries.d.ts +3 -3
  51. package/dist/browser/operations/summaries.d.ts.map +1 -0
  52. package/{dist-esm/src → dist/browser}/operations/summaries.js +3 -3
  53. package/dist/browser/operations/summaries.js.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operations/workspaces.d.ts +3 -3
  55. package/dist/browser/operations/workspaces.d.ts.map +1 -0
  56. package/{dist-esm/src → dist/browser}/operations/workspaces.js +3 -3
  57. package/dist/browser/operations/workspaces.js.map +1 -0
  58. package/{dist-esm/src → dist/browser}/operationsInterfaces/binaryHardening.d.ts +1 -1
  59. package/dist/browser/operationsInterfaces/binaryHardening.d.ts.map +1 -0
  60. package/dist/browser/operationsInterfaces/binaryHardening.js.map +1 -0
  61. package/{dist-esm/src → dist/browser}/operationsInterfaces/cryptoCertificates.d.ts +1 -1
  62. package/dist/browser/operationsInterfaces/cryptoCertificates.d.ts.map +1 -0
  63. package/dist/browser/operationsInterfaces/cryptoCertificates.js.map +1 -0
  64. package/{dist-esm/src → dist/browser}/operationsInterfaces/cryptoKeys.d.ts +1 -1
  65. package/dist/browser/operationsInterfaces/cryptoKeys.d.ts.map +1 -0
  66. package/dist/browser/operationsInterfaces/cryptoKeys.js.map +1 -0
  67. package/{dist-esm/src → dist/browser}/operationsInterfaces/cves.d.ts +1 -1
  68. package/dist/browser/operationsInterfaces/cves.d.ts.map +1 -0
  69. package/dist/browser/operationsInterfaces/cves.js.map +1 -0
  70. package/{dist-esm/src → dist/browser}/operationsInterfaces/firmwares.d.ts +1 -1
  71. package/dist/browser/operationsInterfaces/firmwares.d.ts.map +1 -0
  72. package/dist/browser/operationsInterfaces/firmwares.js.map +1 -0
  73. package/dist/browser/operationsInterfaces/index.d.ts +11 -0
  74. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  75. package/dist/browser/operationsInterfaces/index.js +18 -0
  76. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  77. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  78. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  79. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  80. package/{dist-esm/src → dist/browser}/operationsInterfaces/passwordHashes.d.ts +1 -1
  81. package/dist/browser/operationsInterfaces/passwordHashes.d.ts.map +1 -0
  82. package/dist/browser/operationsInterfaces/passwordHashes.js.map +1 -0
  83. package/{dist-esm/src → dist/browser}/operationsInterfaces/sbomComponents.d.ts +1 -1
  84. package/dist/browser/operationsInterfaces/sbomComponents.d.ts.map +1 -0
  85. package/dist/browser/operationsInterfaces/sbomComponents.js.map +1 -0
  86. package/{dist-esm/src → dist/browser}/operationsInterfaces/summaries.d.ts +1 -1
  87. package/dist/browser/operationsInterfaces/summaries.d.ts.map +1 -0
  88. package/dist/browser/operationsInterfaces/summaries.js.map +1 -0
  89. package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.d.ts +1 -1
  90. package/dist/browser/operationsInterfaces/workspaces.d.ts.map +1 -0
  91. package/dist/browser/operationsInterfaces/workspaces.js.map +1 -0
  92. package/dist/browser/package.json +3 -0
  93. package/dist/browser/pagingHelper.js.map +1 -0
  94. package/dist/commonjs/index.d.ts +5 -0
  95. package/dist/commonjs/index.d.ts.map +1 -0
  96. package/dist/commonjs/index.js +19 -0
  97. package/dist/commonjs/index.js.map +1 -0
  98. package/dist/commonjs/ioTFirmwareDefenseClient.d.ts +29 -0
  99. package/dist/commonjs/ioTFirmwareDefenseClient.d.ts.map +1 -0
  100. package/dist/commonjs/ioTFirmwareDefenseClient.js +111 -0
  101. package/dist/commonjs/ioTFirmwareDefenseClient.js.map +1 -0
  102. package/{types/arm-iotfirmwaredefense.d.ts → dist/commonjs/models/index.d.ts} +963 -1351
  103. package/dist/commonjs/models/index.d.ts.map +1 -0
  104. package/dist/commonjs/models/index.js +93 -0
  105. package/dist/commonjs/models/index.js.map +1 -0
  106. package/dist/commonjs/models/mappers.d.ts +61 -0
  107. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  108. package/dist/commonjs/models/mappers.js +1706 -0
  109. package/dist/commonjs/models/mappers.js.map +1 -0
  110. package/dist/commonjs/models/parameters.d.ts +17 -0
  111. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  112. package/dist/commonjs/models/parameters.js +144 -0
  113. package/dist/commonjs/models/parameters.js.map +1 -0
  114. package/dist/commonjs/operations/binaryHardening.d.ts +41 -0
  115. package/dist/commonjs/operations/binaryHardening.d.ts.map +1 -0
  116. package/dist/commonjs/operations/binaryHardening.js +159 -0
  117. package/dist/commonjs/operations/binaryHardening.js.map +1 -0
  118. package/dist/commonjs/operations/cryptoCertificates.d.ts +41 -0
  119. package/dist/commonjs/operations/cryptoCertificates.d.ts.map +1 -0
  120. package/dist/commonjs/operations/cryptoCertificates.js +159 -0
  121. package/dist/commonjs/operations/cryptoCertificates.js.map +1 -0
  122. package/dist/commonjs/operations/cryptoKeys.d.ts +41 -0
  123. package/dist/commonjs/operations/cryptoKeys.d.ts.map +1 -0
  124. package/dist/commonjs/operations/cryptoKeys.js +159 -0
  125. package/dist/commonjs/operations/cryptoKeys.js.map +1 -0
  126. package/dist/commonjs/operations/cves.d.ts +41 -0
  127. package/dist/commonjs/operations/cves.d.ts.map +1 -0
  128. package/dist/commonjs/operations/cves.js +159 -0
  129. package/dist/commonjs/operations/cves.js.map +1 -0
  130. package/dist/commonjs/operations/firmwares.d.ts +88 -0
  131. package/dist/commonjs/operations/firmwares.d.ts.map +1 -0
  132. package/dist/commonjs/operations/firmwares.js +354 -0
  133. package/dist/commonjs/operations/firmwares.js.map +1 -0
  134. package/dist/commonjs/operations/index.d.ts +11 -0
  135. package/dist/commonjs/operations/index.d.ts.map +1 -0
  136. package/dist/commonjs/operations/index.js +21 -0
  137. package/dist/commonjs/operations/index.js.map +1 -0
  138. package/dist/commonjs/operations/operations.d.ts +32 -0
  139. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  140. package/dist/commonjs/operations/operations.js +137 -0
  141. package/dist/commonjs/operations/operations.js.map +1 -0
  142. package/dist/commonjs/operations/passwordHashes.d.ts +41 -0
  143. package/dist/commonjs/operations/passwordHashes.d.ts.map +1 -0
  144. package/dist/commonjs/operations/passwordHashes.js +159 -0
  145. package/dist/commonjs/operations/passwordHashes.js.map +1 -0
  146. package/dist/commonjs/operations/sbomComponents.d.ts +41 -0
  147. package/dist/commonjs/operations/sbomComponents.d.ts.map +1 -0
  148. package/dist/commonjs/operations/sbomComponents.js +159 -0
  149. package/dist/commonjs/operations/sbomComponents.js.map +1 -0
  150. package/dist/commonjs/operations/summaries.d.ts +52 -0
  151. package/dist/commonjs/operations/summaries.d.ts.map +1 -0
  152. package/dist/commonjs/operations/summaries.js +195 -0
  153. package/dist/commonjs/operations/summaries.js.map +1 -0
  154. package/dist/commonjs/operations/workspaces.d.ts +91 -0
  155. package/dist/commonjs/operations/workspaces.d.ts.map +1 -0
  156. package/dist/commonjs/operations/workspaces.js +421 -0
  157. package/dist/commonjs/operations/workspaces.js.map +1 -0
  158. package/dist/commonjs/operationsInterfaces/binaryHardening.d.ts +14 -0
  159. package/dist/commonjs/operationsInterfaces/binaryHardening.d.ts.map +1 -0
  160. package/dist/commonjs/operationsInterfaces/binaryHardening.js +10 -0
  161. package/dist/commonjs/operationsInterfaces/binaryHardening.js.map +1 -0
  162. package/dist/commonjs/operationsInterfaces/cryptoCertificates.d.ts +14 -0
  163. package/dist/commonjs/operationsInterfaces/cryptoCertificates.d.ts.map +1 -0
  164. package/dist/commonjs/operationsInterfaces/cryptoCertificates.js +10 -0
  165. package/dist/commonjs/operationsInterfaces/cryptoCertificates.js.map +1 -0
  166. package/dist/commonjs/operationsInterfaces/cryptoKeys.d.ts +14 -0
  167. package/dist/commonjs/operationsInterfaces/cryptoKeys.d.ts.map +1 -0
  168. package/dist/commonjs/operationsInterfaces/cryptoKeys.js +10 -0
  169. package/dist/commonjs/operationsInterfaces/cryptoKeys.js.map +1 -0
  170. package/dist/commonjs/operationsInterfaces/cves.d.ts +14 -0
  171. package/dist/commonjs/operationsInterfaces/cves.d.ts.map +1 -0
  172. package/dist/commonjs/operationsInterfaces/cves.js +10 -0
  173. package/dist/commonjs/operationsInterfaces/cves.js.map +1 -0
  174. package/dist/commonjs/operationsInterfaces/firmwares.d.ts +63 -0
  175. package/dist/commonjs/operationsInterfaces/firmwares.d.ts.map +1 -0
  176. package/dist/commonjs/operationsInterfaces/firmwares.js +10 -0
  177. package/dist/commonjs/operationsInterfaces/firmwares.js.map +1 -0
  178. package/dist/commonjs/operationsInterfaces/index.d.ts +11 -0
  179. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  180. package/dist/commonjs/operationsInterfaces/index.js +21 -0
  181. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  182. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  183. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  184. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  185. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  186. package/dist/commonjs/operationsInterfaces/passwordHashes.d.ts +14 -0
  187. package/dist/commonjs/operationsInterfaces/passwordHashes.d.ts.map +1 -0
  188. package/dist/commonjs/operationsInterfaces/passwordHashes.js +10 -0
  189. package/dist/commonjs/operationsInterfaces/passwordHashes.js.map +1 -0
  190. package/dist/commonjs/operationsInterfaces/sbomComponents.d.ts +14 -0
  191. package/dist/commonjs/operationsInterfaces/sbomComponents.d.ts.map +1 -0
  192. package/dist/commonjs/operationsInterfaces/sbomComponents.js +10 -0
  193. package/dist/commonjs/operationsInterfaces/sbomComponents.js.map +1 -0
  194. package/dist/commonjs/operationsInterfaces/summaries.d.ts +24 -0
  195. package/dist/commonjs/operationsInterfaces/summaries.d.ts.map +1 -0
  196. package/dist/commonjs/operationsInterfaces/summaries.js +10 -0
  197. package/dist/commonjs/operationsInterfaces/summaries.js.map +1 -0
  198. package/dist/commonjs/operationsInterfaces/workspaces.d.ts +55 -0
  199. package/dist/commonjs/operationsInterfaces/workspaces.d.ts.map +1 -0
  200. package/dist/commonjs/operationsInterfaces/workspaces.js +10 -0
  201. package/dist/commonjs/operationsInterfaces/workspaces.js.map +1 -0
  202. package/dist/commonjs/package.json +3 -0
  203. package/dist/commonjs/pagingHelper.d.ts +13 -0
  204. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  205. package/dist/commonjs/pagingHelper.js +36 -0
  206. package/dist/commonjs/pagingHelper.js.map +1 -0
  207. package/dist/esm/index.d.ts +5 -0
  208. package/dist/esm/index.d.ts.map +1 -0
  209. package/{src/index.ts → dist/esm/index.js} +5 -5
  210. package/dist/esm/index.js.map +1 -0
  211. package/dist/esm/ioTFirmwareDefenseClient.d.ts +29 -0
  212. package/dist/esm/ioTFirmwareDefenseClient.d.ts.map +1 -0
  213. package/dist/esm/ioTFirmwareDefenseClient.js +106 -0
  214. package/dist/esm/ioTFirmwareDefenseClient.js.map +1 -0
  215. package/dist/esm/models/index.d.ts +963 -0
  216. package/dist/esm/models/index.d.ts.map +1 -0
  217. package/dist/esm/models/index.js +90 -0
  218. package/dist/esm/models/index.js.map +1 -0
  219. package/dist/esm/models/mappers.d.ts +61 -0
  220. package/dist/esm/models/mappers.d.ts.map +1 -0
  221. package/dist/esm/models/mappers.js +1702 -0
  222. package/dist/esm/models/mappers.js.map +1 -0
  223. package/dist/esm/models/parameters.d.ts +17 -0
  224. package/dist/esm/models/parameters.d.ts.map +1 -0
  225. package/dist/esm/models/parameters.js +141 -0
  226. package/dist/esm/models/parameters.js.map +1 -0
  227. package/dist/esm/operations/binaryHardening.d.ts +41 -0
  228. package/dist/esm/operations/binaryHardening.d.ts.map +1 -0
  229. package/dist/esm/operations/binaryHardening.js +155 -0
  230. package/dist/esm/operations/binaryHardening.js.map +1 -0
  231. package/dist/esm/operations/cryptoCertificates.d.ts +41 -0
  232. package/dist/esm/operations/cryptoCertificates.d.ts.map +1 -0
  233. package/dist/esm/operations/cryptoCertificates.js +155 -0
  234. package/dist/esm/operations/cryptoCertificates.js.map +1 -0
  235. package/dist/esm/operations/cryptoKeys.d.ts +41 -0
  236. package/dist/esm/operations/cryptoKeys.d.ts.map +1 -0
  237. package/dist/esm/operations/cryptoKeys.js +155 -0
  238. package/dist/esm/operations/cryptoKeys.js.map +1 -0
  239. package/dist/esm/operations/cves.d.ts +41 -0
  240. package/dist/esm/operations/cves.d.ts.map +1 -0
  241. package/dist/esm/operations/cves.js +155 -0
  242. package/dist/esm/operations/cves.js.map +1 -0
  243. package/dist/esm/operations/firmwares.d.ts +88 -0
  244. package/dist/esm/operations/firmwares.d.ts.map +1 -0
  245. package/dist/esm/operations/firmwares.js +350 -0
  246. package/dist/esm/operations/firmwares.js.map +1 -0
  247. package/dist/esm/operations/index.d.ts +11 -0
  248. package/dist/esm/operations/index.d.ts.map +1 -0
  249. package/dist/esm/operations/index.js +18 -0
  250. package/dist/esm/operations/index.js.map +1 -0
  251. package/dist/esm/operations/operations.d.ts +32 -0
  252. package/dist/esm/operations/operations.d.ts.map +1 -0
  253. package/dist/esm/operations/operations.js +133 -0
  254. package/dist/esm/operations/operations.js.map +1 -0
  255. package/dist/esm/operations/passwordHashes.d.ts +41 -0
  256. package/dist/esm/operations/passwordHashes.d.ts.map +1 -0
  257. package/dist/esm/operations/passwordHashes.js +155 -0
  258. package/dist/esm/operations/passwordHashes.js.map +1 -0
  259. package/dist/esm/operations/sbomComponents.d.ts +41 -0
  260. package/dist/esm/operations/sbomComponents.d.ts.map +1 -0
  261. package/dist/esm/operations/sbomComponents.js +155 -0
  262. package/dist/esm/operations/sbomComponents.js.map +1 -0
  263. package/dist/esm/operations/summaries.d.ts +52 -0
  264. package/dist/esm/operations/summaries.d.ts.map +1 -0
  265. package/dist/esm/operations/summaries.js +191 -0
  266. package/dist/esm/operations/summaries.js.map +1 -0
  267. package/dist/esm/operations/workspaces.d.ts +91 -0
  268. package/dist/esm/operations/workspaces.d.ts.map +1 -0
  269. package/dist/esm/operations/workspaces.js +417 -0
  270. package/dist/esm/operations/workspaces.js.map +1 -0
  271. package/dist/esm/operationsInterfaces/binaryHardening.d.ts +14 -0
  272. package/dist/esm/operationsInterfaces/binaryHardening.d.ts.map +1 -0
  273. package/dist/esm/operationsInterfaces/binaryHardening.js +9 -0
  274. package/dist/esm/operationsInterfaces/binaryHardening.js.map +1 -0
  275. package/dist/esm/operationsInterfaces/cryptoCertificates.d.ts +14 -0
  276. package/dist/esm/operationsInterfaces/cryptoCertificates.d.ts.map +1 -0
  277. package/dist/esm/operationsInterfaces/cryptoCertificates.js +9 -0
  278. package/dist/esm/operationsInterfaces/cryptoCertificates.js.map +1 -0
  279. package/dist/esm/operationsInterfaces/cryptoKeys.d.ts +14 -0
  280. package/dist/esm/operationsInterfaces/cryptoKeys.d.ts.map +1 -0
  281. package/dist/esm/operationsInterfaces/cryptoKeys.js +9 -0
  282. package/dist/esm/operationsInterfaces/cryptoKeys.js.map +1 -0
  283. package/dist/esm/operationsInterfaces/cves.d.ts +14 -0
  284. package/dist/esm/operationsInterfaces/cves.d.ts.map +1 -0
  285. package/dist/esm/operationsInterfaces/cves.js +9 -0
  286. package/dist/esm/operationsInterfaces/cves.js.map +1 -0
  287. package/dist/esm/operationsInterfaces/firmwares.d.ts +63 -0
  288. package/dist/esm/operationsInterfaces/firmwares.d.ts.map +1 -0
  289. package/dist/esm/operationsInterfaces/firmwares.js +9 -0
  290. package/dist/esm/operationsInterfaces/firmwares.js.map +1 -0
  291. package/dist/esm/operationsInterfaces/index.d.ts +11 -0
  292. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  293. package/dist/esm/operationsInterfaces/index.js +18 -0
  294. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  295. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  296. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  297. package/dist/esm/operationsInterfaces/operations.js +9 -0
  298. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  299. package/dist/esm/operationsInterfaces/passwordHashes.d.ts +14 -0
  300. package/dist/esm/operationsInterfaces/passwordHashes.d.ts.map +1 -0
  301. package/dist/esm/operationsInterfaces/passwordHashes.js +9 -0
  302. package/dist/esm/operationsInterfaces/passwordHashes.js.map +1 -0
  303. package/dist/esm/operationsInterfaces/sbomComponents.d.ts +14 -0
  304. package/dist/esm/operationsInterfaces/sbomComponents.d.ts.map +1 -0
  305. package/dist/esm/operationsInterfaces/sbomComponents.js +9 -0
  306. package/dist/esm/operationsInterfaces/sbomComponents.js.map +1 -0
  307. package/dist/esm/operationsInterfaces/summaries.d.ts +24 -0
  308. package/dist/esm/operationsInterfaces/summaries.d.ts.map +1 -0
  309. package/dist/esm/operationsInterfaces/summaries.js +9 -0
  310. package/dist/esm/operationsInterfaces/summaries.js.map +1 -0
  311. package/dist/esm/operationsInterfaces/workspaces.d.ts +55 -0
  312. package/dist/esm/operationsInterfaces/workspaces.d.ts.map +1 -0
  313. package/dist/esm/operationsInterfaces/workspaces.js +9 -0
  314. package/dist/esm/operationsInterfaces/workspaces.js.map +1 -0
  315. package/dist/esm/package.json +3 -0
  316. package/dist/esm/pagingHelper.d.ts +13 -0
  317. package/dist/esm/pagingHelper.d.ts.map +1 -0
  318. package/dist/esm/pagingHelper.js +32 -0
  319. package/dist/esm/pagingHelper.js.map +1 -0
  320. package/dist/react-native/index.d.ts +5 -0
  321. package/dist/react-native/index.d.ts.map +1 -0
  322. package/dist/react-native/index.js +13 -0
  323. package/dist/react-native/index.js.map +1 -0
  324. package/dist/react-native/ioTFirmwareDefenseClient.d.ts +29 -0
  325. package/dist/react-native/ioTFirmwareDefenseClient.d.ts.map +1 -0
  326. package/dist/react-native/ioTFirmwareDefenseClient.js +106 -0
  327. package/dist/react-native/ioTFirmwareDefenseClient.js.map +1 -0
  328. package/dist/react-native/models/index.d.ts +963 -0
  329. package/dist/react-native/models/index.d.ts.map +1 -0
  330. package/dist/react-native/models/index.js +90 -0
  331. package/dist/react-native/models/index.js.map +1 -0
  332. package/dist/react-native/models/mappers.d.ts +61 -0
  333. package/dist/react-native/models/mappers.d.ts.map +1 -0
  334. package/dist/react-native/models/mappers.js +1702 -0
  335. package/dist/react-native/models/mappers.js.map +1 -0
  336. package/dist/react-native/models/parameters.d.ts +17 -0
  337. package/dist/react-native/models/parameters.d.ts.map +1 -0
  338. package/dist/react-native/models/parameters.js +141 -0
  339. package/dist/react-native/models/parameters.js.map +1 -0
  340. package/dist/react-native/operations/binaryHardening.d.ts +41 -0
  341. package/dist/react-native/operations/binaryHardening.d.ts.map +1 -0
  342. package/dist/react-native/operations/binaryHardening.js +155 -0
  343. package/dist/react-native/operations/binaryHardening.js.map +1 -0
  344. package/dist/react-native/operations/cryptoCertificates.d.ts +41 -0
  345. package/dist/react-native/operations/cryptoCertificates.d.ts.map +1 -0
  346. package/dist/react-native/operations/cryptoCertificates.js +155 -0
  347. package/dist/react-native/operations/cryptoCertificates.js.map +1 -0
  348. package/dist/react-native/operations/cryptoKeys.d.ts +41 -0
  349. package/dist/react-native/operations/cryptoKeys.d.ts.map +1 -0
  350. package/dist/react-native/operations/cryptoKeys.js +155 -0
  351. package/dist/react-native/operations/cryptoKeys.js.map +1 -0
  352. package/dist/react-native/operations/cves.d.ts +41 -0
  353. package/dist/react-native/operations/cves.d.ts.map +1 -0
  354. package/dist/react-native/operations/cves.js +155 -0
  355. package/dist/react-native/operations/cves.js.map +1 -0
  356. package/dist/react-native/operations/firmwares.d.ts +88 -0
  357. package/dist/react-native/operations/firmwares.d.ts.map +1 -0
  358. package/dist/react-native/operations/firmwares.js +350 -0
  359. package/dist/react-native/operations/firmwares.js.map +1 -0
  360. package/dist/react-native/operations/index.d.ts +11 -0
  361. package/dist/react-native/operations/index.d.ts.map +1 -0
  362. package/dist/react-native/operations/index.js +18 -0
  363. package/dist/react-native/operations/index.js.map +1 -0
  364. package/dist/react-native/operations/operations.d.ts +32 -0
  365. package/dist/react-native/operations/operations.d.ts.map +1 -0
  366. package/dist/react-native/operations/operations.js +133 -0
  367. package/dist/react-native/operations/operations.js.map +1 -0
  368. package/dist/react-native/operations/passwordHashes.d.ts +41 -0
  369. package/dist/react-native/operations/passwordHashes.d.ts.map +1 -0
  370. package/dist/react-native/operations/passwordHashes.js +155 -0
  371. package/dist/react-native/operations/passwordHashes.js.map +1 -0
  372. package/dist/react-native/operations/sbomComponents.d.ts +41 -0
  373. package/dist/react-native/operations/sbomComponents.d.ts.map +1 -0
  374. package/dist/react-native/operations/sbomComponents.js +155 -0
  375. package/dist/react-native/operations/sbomComponents.js.map +1 -0
  376. package/dist/react-native/operations/summaries.d.ts +52 -0
  377. package/dist/react-native/operations/summaries.d.ts.map +1 -0
  378. package/dist/react-native/operations/summaries.js +191 -0
  379. package/dist/react-native/operations/summaries.js.map +1 -0
  380. package/dist/react-native/operations/workspaces.d.ts +91 -0
  381. package/dist/react-native/operations/workspaces.d.ts.map +1 -0
  382. package/dist/react-native/operations/workspaces.js +417 -0
  383. package/dist/react-native/operations/workspaces.js.map +1 -0
  384. package/dist/react-native/operationsInterfaces/binaryHardening.d.ts +14 -0
  385. package/dist/react-native/operationsInterfaces/binaryHardening.d.ts.map +1 -0
  386. package/dist/react-native/operationsInterfaces/binaryHardening.js +9 -0
  387. package/dist/react-native/operationsInterfaces/binaryHardening.js.map +1 -0
  388. package/dist/react-native/operationsInterfaces/cryptoCertificates.d.ts +14 -0
  389. package/dist/react-native/operationsInterfaces/cryptoCertificates.d.ts.map +1 -0
  390. package/dist/react-native/operationsInterfaces/cryptoCertificates.js +9 -0
  391. package/dist/react-native/operationsInterfaces/cryptoCertificates.js.map +1 -0
  392. package/dist/react-native/operationsInterfaces/cryptoKeys.d.ts +14 -0
  393. package/dist/react-native/operationsInterfaces/cryptoKeys.d.ts.map +1 -0
  394. package/dist/react-native/operationsInterfaces/cryptoKeys.js +9 -0
  395. package/dist/react-native/operationsInterfaces/cryptoKeys.js.map +1 -0
  396. package/dist/react-native/operationsInterfaces/cves.d.ts +14 -0
  397. package/dist/react-native/operationsInterfaces/cves.d.ts.map +1 -0
  398. package/dist/react-native/operationsInterfaces/cves.js +9 -0
  399. package/dist/react-native/operationsInterfaces/cves.js.map +1 -0
  400. package/dist/react-native/operationsInterfaces/firmwares.d.ts +63 -0
  401. package/dist/react-native/operationsInterfaces/firmwares.d.ts.map +1 -0
  402. package/dist/react-native/operationsInterfaces/firmwares.js +9 -0
  403. package/dist/react-native/operationsInterfaces/firmwares.js.map +1 -0
  404. package/dist/react-native/operationsInterfaces/index.d.ts +11 -0
  405. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  406. package/dist/react-native/operationsInterfaces/index.js +18 -0
  407. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  408. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  409. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  410. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  411. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  412. package/dist/react-native/operationsInterfaces/passwordHashes.d.ts +14 -0
  413. package/dist/react-native/operationsInterfaces/passwordHashes.d.ts.map +1 -0
  414. package/dist/react-native/operationsInterfaces/passwordHashes.js +9 -0
  415. package/dist/react-native/operationsInterfaces/passwordHashes.js.map +1 -0
  416. package/dist/react-native/operationsInterfaces/sbomComponents.d.ts +14 -0
  417. package/dist/react-native/operationsInterfaces/sbomComponents.d.ts.map +1 -0
  418. package/dist/react-native/operationsInterfaces/sbomComponents.js +9 -0
  419. package/dist/react-native/operationsInterfaces/sbomComponents.js.map +1 -0
  420. package/dist/react-native/operationsInterfaces/summaries.d.ts +24 -0
  421. package/dist/react-native/operationsInterfaces/summaries.d.ts.map +1 -0
  422. package/dist/react-native/operationsInterfaces/summaries.js +9 -0
  423. package/dist/react-native/operationsInterfaces/summaries.js.map +1 -0
  424. package/dist/react-native/operationsInterfaces/workspaces.d.ts +55 -0
  425. package/dist/react-native/operationsInterfaces/workspaces.d.ts.map +1 -0
  426. package/dist/react-native/operationsInterfaces/workspaces.js +9 -0
  427. package/dist/react-native/operationsInterfaces/workspaces.js.map +1 -0
  428. package/dist/react-native/package.json +3 -0
  429. package/dist/react-native/pagingHelper.d.ts +13 -0
  430. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  431. package/dist/react-native/pagingHelper.js +32 -0
  432. package/dist/react-native/pagingHelper.js.map +1 -0
  433. package/package.json +69 -40
  434. package/dist/index.js +0 -4127
  435. package/dist/index.js.map +0 -1
  436. package/dist/index.min.js +0 -1
  437. package/dist/index.min.js.map +0 -1
  438. package/dist-esm/samples-dev/binaryHardeningListByFirmwareSample.d.ts +0 -2
  439. package/dist-esm/samples-dev/binaryHardeningListByFirmwareSample.d.ts.map +0 -1
  440. package/dist-esm/samples-dev/binaryHardeningListByFirmwareSample.js +0 -88
  441. package/dist-esm/samples-dev/binaryHardeningListByFirmwareSample.js.map +0 -1
  442. package/dist-esm/samples-dev/cryptoCertificatesListByFirmwareSample.d.ts +0 -2
  443. package/dist-esm/samples-dev/cryptoCertificatesListByFirmwareSample.d.ts.map +0 -1
  444. package/dist-esm/samples-dev/cryptoCertificatesListByFirmwareSample.js +0 -88
  445. package/dist-esm/samples-dev/cryptoCertificatesListByFirmwareSample.js.map +0 -1
  446. package/dist-esm/samples-dev/cryptoKeysListByFirmwareSample.d.ts +0 -2
  447. package/dist-esm/samples-dev/cryptoKeysListByFirmwareSample.d.ts.map +0 -1
  448. package/dist-esm/samples-dev/cryptoKeysListByFirmwareSample.js +0 -88
  449. package/dist-esm/samples-dev/cryptoKeysListByFirmwareSample.js.map +0 -1
  450. package/dist-esm/samples-dev/cvesListByFirmwareSample.d.ts +0 -2
  451. package/dist-esm/samples-dev/cvesListByFirmwareSample.d.ts.map +0 -1
  452. package/dist-esm/samples-dev/cvesListByFirmwareSample.js +0 -88
  453. package/dist-esm/samples-dev/cvesListByFirmwareSample.js.map +0 -1
  454. package/dist-esm/samples-dev/firmwaresCreateSample.d.ts +0 -2
  455. package/dist-esm/samples-dev/firmwaresCreateSample.d.ts.map +0 -1
  456. package/dist-esm/samples-dev/firmwaresCreateSample.js +0 -62
  457. package/dist-esm/samples-dev/firmwaresCreateSample.js.map +0 -1
  458. package/dist-esm/samples-dev/firmwaresDeleteSample.d.ts +0 -2
  459. package/dist-esm/samples-dev/firmwaresDeleteSample.d.ts.map +0 -1
  460. package/dist-esm/samples-dev/firmwaresDeleteSample.js +0 -56
  461. package/dist-esm/samples-dev/firmwaresDeleteSample.js.map +0 -1
  462. package/dist-esm/samples-dev/firmwaresGenerateDownloadUrlSample.d.ts +0 -2
  463. package/dist-esm/samples-dev/firmwaresGenerateDownloadUrlSample.d.ts.map +0 -1
  464. package/dist-esm/samples-dev/firmwaresGenerateDownloadUrlSample.js +0 -56
  465. package/dist-esm/samples-dev/firmwaresGenerateDownloadUrlSample.js.map +0 -1
  466. package/dist-esm/samples-dev/firmwaresGenerateFilesystemDownloadUrlSample.d.ts +0 -2
  467. package/dist-esm/samples-dev/firmwaresGenerateFilesystemDownloadUrlSample.d.ts.map +0 -1
  468. package/dist-esm/samples-dev/firmwaresGenerateFilesystemDownloadUrlSample.js +0 -56
  469. package/dist-esm/samples-dev/firmwaresGenerateFilesystemDownloadUrlSample.js.map +0 -1
  470. package/dist-esm/samples-dev/firmwaresGetSample.d.ts +0 -2
  471. package/dist-esm/samples-dev/firmwaresGetSample.d.ts.map +0 -1
  472. package/dist-esm/samples-dev/firmwaresGetSample.js +0 -56
  473. package/dist-esm/samples-dev/firmwaresGetSample.js.map +0 -1
  474. package/dist-esm/samples-dev/firmwaresListByWorkspaceSample.d.ts +0 -2
  475. package/dist-esm/samples-dev/firmwaresListByWorkspaceSample.d.ts.map +0 -1
  476. package/dist-esm/samples-dev/firmwaresListByWorkspaceSample.js +0 -86
  477. package/dist-esm/samples-dev/firmwaresListByWorkspaceSample.js.map +0 -1
  478. package/dist-esm/samples-dev/firmwaresUpdateSample.d.ts +0 -2
  479. package/dist-esm/samples-dev/firmwaresUpdateSample.d.ts.map +0 -1
  480. package/dist-esm/samples-dev/firmwaresUpdateSample.js +0 -62
  481. package/dist-esm/samples-dev/firmwaresUpdateSample.js.map +0 -1
  482. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  483. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  484. package/dist-esm/samples-dev/operationsListSample.js +0 -82
  485. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  486. package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.d.ts +0 -2
  487. package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.d.ts.map +0 -1
  488. package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.js +0 -88
  489. package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.js.map +0 -1
  490. package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.d.ts +0 -2
  491. package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.d.ts.map +0 -1
  492. package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.js +0 -88
  493. package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.js.map +0 -1
  494. package/dist-esm/samples-dev/summariesGetSample.d.ts +0 -2
  495. package/dist-esm/samples-dev/summariesGetSample.d.ts.map +0 -1
  496. package/dist-esm/samples-dev/summariesGetSample.js +0 -58
  497. package/dist-esm/samples-dev/summariesGetSample.js.map +0 -1
  498. package/dist-esm/samples-dev/summariesListByFirmwareSample.d.ts +0 -2
  499. package/dist-esm/samples-dev/summariesListByFirmwareSample.d.ts.map +0 -1
  500. package/dist-esm/samples-dev/summariesListByFirmwareSample.js +0 -88
  501. package/dist-esm/samples-dev/summariesListByFirmwareSample.js.map +0 -1
  502. package/dist-esm/samples-dev/workspacesCreateSample.d.ts +0 -2
  503. package/dist-esm/samples-dev/workspacesCreateSample.d.ts.map +0 -1
  504. package/dist-esm/samples-dev/workspacesCreateSample.js +0 -53
  505. package/dist-esm/samples-dev/workspacesCreateSample.js.map +0 -1
  506. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts +0 -2
  507. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts.map +0 -1
  508. package/dist-esm/samples-dev/workspacesDeleteSample.js +0 -54
  509. package/dist-esm/samples-dev/workspacesDeleteSample.js.map +0 -1
  510. package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.d.ts +0 -2
  511. package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.d.ts.map +0 -1
  512. package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.js +0 -51
  513. package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.js.map +0 -1
  514. package/dist-esm/samples-dev/workspacesGetSample.d.ts +0 -2
  515. package/dist-esm/samples-dev/workspacesGetSample.d.ts.map +0 -1
  516. package/dist-esm/samples-dev/workspacesGetSample.js +0 -54
  517. package/dist-esm/samples-dev/workspacesGetSample.js.map +0 -1
  518. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts +0 -2
  519. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts.map +0 -1
  520. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +0 -84
  521. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +0 -1
  522. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts +0 -2
  523. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts.map +0 -1
  524. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +0 -82
  525. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +0 -1
  526. package/dist-esm/samples-dev/workspacesUpdateSample.d.ts +0 -2
  527. package/dist-esm/samples-dev/workspacesUpdateSample.d.ts.map +0 -1
  528. package/dist-esm/samples-dev/workspacesUpdateSample.js +0 -49
  529. package/dist-esm/samples-dev/workspacesUpdateSample.js.map +0 -1
  530. package/dist-esm/src/index.d.ts +0 -5
  531. package/dist-esm/src/index.js.map +0 -1
  532. package/dist-esm/src/ioTFirmwareDefenseClient.d.ts.map +0 -1
  533. package/dist-esm/src/ioTFirmwareDefenseClient.js.map +0 -1
  534. package/dist-esm/src/models/index.js.map +0 -1
  535. package/dist-esm/src/models/mappers.js.map +0 -1
  536. package/dist-esm/src/models/parameters.js.map +0 -1
  537. package/dist-esm/src/operations/binaryHardening.d.ts.map +0 -1
  538. package/dist-esm/src/operations/binaryHardening.js.map +0 -1
  539. package/dist-esm/src/operations/cryptoCertificates.d.ts.map +0 -1
  540. package/dist-esm/src/operations/cryptoCertificates.js.map +0 -1
  541. package/dist-esm/src/operations/cryptoKeys.d.ts.map +0 -1
  542. package/dist-esm/src/operations/cryptoKeys.js.map +0 -1
  543. package/dist-esm/src/operations/cves.d.ts.map +0 -1
  544. package/dist-esm/src/operations/cves.js.map +0 -1
  545. package/dist-esm/src/operations/firmwares.d.ts.map +0 -1
  546. package/dist-esm/src/operations/firmwares.js.map +0 -1
  547. package/dist-esm/src/operations/index.d.ts +0 -11
  548. package/dist-esm/src/operations/index.d.ts.map +0 -1
  549. package/dist-esm/src/operations/index.js +0 -18
  550. package/dist-esm/src/operations/index.js.map +0 -1
  551. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  552. package/dist-esm/src/operations/operations.js.map +0 -1
  553. package/dist-esm/src/operations/passwordHashes.d.ts.map +0 -1
  554. package/dist-esm/src/operations/passwordHashes.js.map +0 -1
  555. package/dist-esm/src/operations/sbomComponents.d.ts.map +0 -1
  556. package/dist-esm/src/operations/sbomComponents.js.map +0 -1
  557. package/dist-esm/src/operations/summaries.d.ts.map +0 -1
  558. package/dist-esm/src/operations/summaries.js.map +0 -1
  559. package/dist-esm/src/operations/workspaces.d.ts.map +0 -1
  560. package/dist-esm/src/operations/workspaces.js.map +0 -1
  561. package/dist-esm/src/operationsInterfaces/binaryHardening.d.ts.map +0 -1
  562. package/dist-esm/src/operationsInterfaces/binaryHardening.js.map +0 -1
  563. package/dist-esm/src/operationsInterfaces/cryptoCertificates.d.ts.map +0 -1
  564. package/dist-esm/src/operationsInterfaces/cryptoCertificates.js.map +0 -1
  565. package/dist-esm/src/operationsInterfaces/cryptoKeys.d.ts.map +0 -1
  566. package/dist-esm/src/operationsInterfaces/cryptoKeys.js.map +0 -1
  567. package/dist-esm/src/operationsInterfaces/cves.d.ts.map +0 -1
  568. package/dist-esm/src/operationsInterfaces/cves.js.map +0 -1
  569. package/dist-esm/src/operationsInterfaces/firmwares.d.ts.map +0 -1
  570. package/dist-esm/src/operationsInterfaces/firmwares.js.map +0 -1
  571. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -11
  572. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  573. package/dist-esm/src/operationsInterfaces/index.js +0 -18
  574. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  575. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  576. package/dist-esm/src/operationsInterfaces/passwordHashes.d.ts.map +0 -1
  577. package/dist-esm/src/operationsInterfaces/passwordHashes.js.map +0 -1
  578. package/dist-esm/src/operationsInterfaces/sbomComponents.d.ts.map +0 -1
  579. package/dist-esm/src/operationsInterfaces/sbomComponents.js.map +0 -1
  580. package/dist-esm/src/operationsInterfaces/summaries.d.ts.map +0 -1
  581. package/dist-esm/src/operationsInterfaces/summaries.js.map +0 -1
  582. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +0 -1
  583. package/dist-esm/src/operationsInterfaces/workspaces.js.map +0 -1
  584. package/dist-esm/src/pagingHelper.js.map +0 -1
  585. package/dist-esm/test/iotfirmwaredefense_operations_test.spec.d.ts +0 -4
  586. package/dist-esm/test/iotfirmwaredefense_operations_test.spec.d.ts.map +0 -1
  587. package/dist-esm/test/iotfirmwaredefense_operations_test.spec.js +0 -114
  588. package/dist-esm/test/iotfirmwaredefense_operations_test.spec.js.map +0 -1
  589. package/src/ioTFirmwareDefenseClient.ts +0 -181
  590. package/src/models/index.ts +0 -1118
  591. package/src/models/mappers.ts +0 -1832
  592. package/src/models/parameters.ts +0 -167
  593. package/src/operations/binaryHardening.ts +0 -216
  594. package/src/operations/cryptoCertificates.ts +0 -216
  595. package/src/operations/cryptoKeys.ts +0 -216
  596. package/src/operations/cves.ts +0 -216
  597. package/src/operations/firmwares.ts +0 -469
  598. package/src/operations/index.ts +0 -18
  599. package/src/operations/operations.ts +0 -149
  600. package/src/operations/passwordHashes.ts +0 -216
  601. package/src/operations/sbomComponents.ts +0 -216
  602. package/src/operations/summaries.ts +0 -265
  603. package/src/operations/workspaces.ts +0 -516
  604. package/src/operationsInterfaces/binaryHardening.ts +0 -31
  605. package/src/operationsInterfaces/cryptoCertificates.ts +0 -31
  606. package/src/operationsInterfaces/cryptoKeys.ts +0 -31
  607. package/src/operationsInterfaces/cves.ts +0 -28
  608. package/src/operationsInterfaces/firmwares.ts +0 -123
  609. package/src/operationsInterfaces/index.ts +0 -18
  610. package/src/operationsInterfaces/operations.ts +0 -22
  611. package/src/operationsInterfaces/passwordHashes.ts +0 -31
  612. package/src/operationsInterfaces/sbomComponents.ts +0 -31
  613. package/src/operationsInterfaces/summaries.ts +0 -50
  614. package/src/operationsInterfaces/workspaces.ts +0 -107
  615. package/src/pagingHelper.ts +0 -39
  616. package/tsconfig.json +0 -33
  617. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  618. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  619. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  620. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  621. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  622. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  623. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  624. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  625. /package/{dist-esm/src → dist/browser}/operationsInterfaces/binaryHardening.js +0 -0
  626. /package/{dist-esm/src → dist/browser}/operationsInterfaces/cryptoCertificates.js +0 -0
  627. /package/{dist-esm/src → dist/browser}/operationsInterfaces/cryptoKeys.js +0 -0
  628. /package/{dist-esm/src → dist/browser}/operationsInterfaces/cves.js +0 -0
  629. /package/{dist-esm/src → dist/browser}/operationsInterfaces/firmwares.js +0 -0
  630. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  631. /package/{dist-esm/src → dist/browser}/operationsInterfaces/passwordHashes.js +0 -0
  632. /package/{dist-esm/src → dist/browser}/operationsInterfaces/sbomComponents.js +0 -0
  633. /package/{dist-esm/src → dist/browser}/operationsInterfaces/summaries.js +0 -0
  634. /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.js +0 -0
  635. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  636. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  637. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  638. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1,137 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.OperationsImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ /// <reference lib="esnext.asynciterable" />
17
+ /** Class containing Operations operations. */
18
+ class OperationsImpl {
19
+ /**
20
+ * Initialize a new instance of the class Operations class.
21
+ * @param client Reference to the service client
22
+ */
23
+ constructor(client) {
24
+ this.client = client;
25
+ }
26
+ /**
27
+ * Lists the operations for this resource provider
28
+ * @param options The options parameters.
29
+ */
30
+ list(options) {
31
+ const iter = this.listPagingAll(options);
32
+ return {
33
+ next() {
34
+ return iter.next();
35
+ },
36
+ [Symbol.asyncIterator]() {
37
+ return this;
38
+ },
39
+ byPage: (settings) => {
40
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
41
+ throw new Error("maxPageSize is not supported by this operation.");
42
+ }
43
+ return this.listPagingPage(options, settings);
44
+ },
45
+ };
46
+ }
47
+ listPagingPage(options, settings) {
48
+ return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
49
+ let result;
50
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
51
+ if (!continuationToken) {
52
+ result = yield tslib_1.__await(this._list(options));
53
+ let page = result.value || [];
54
+ continuationToken = result.nextLink;
55
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
56
+ yield yield tslib_1.__await(page);
57
+ }
58
+ while (continuationToken) {
59
+ result = yield tslib_1.__await(this._listNext(continuationToken, options));
60
+ continuationToken = result.nextLink;
61
+ let page = result.value || [];
62
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
63
+ yield yield tslib_1.__await(page);
64
+ }
65
+ });
66
+ }
67
+ listPagingAll(options) {
68
+ return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
69
+ var _a, e_1, _b, _c;
70
+ try {
71
+ for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
72
+ _c = _f.value;
73
+ _d = false;
74
+ const page = _c;
75
+ yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
76
+ }
77
+ }
78
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
79
+ finally {
80
+ try {
81
+ if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
82
+ }
83
+ finally { if (e_1) throw e_1.error; }
84
+ }
85
+ });
86
+ }
87
+ /**
88
+ * Lists the operations for this resource provider
89
+ * @param options The options parameters.
90
+ */
91
+ _list(options) {
92
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
93
+ }
94
+ /**
95
+ * ListNext
96
+ * @param nextLink The nextLink from the previous successful call to the List method.
97
+ * @param options The options parameters.
98
+ */
99
+ _listNext(nextLink, options) {
100
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
101
+ }
102
+ }
103
+ exports.OperationsImpl = OperationsImpl;
104
+ // Operation Specifications
105
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
106
+ const listOperationSpec = {
107
+ path: "/providers/Microsoft.IoTFirmwareDefense/operations",
108
+ httpMethod: "GET",
109
+ responses: {
110
+ 200: {
111
+ bodyMapper: Mappers.OperationListResult,
112
+ },
113
+ default: {
114
+ bodyMapper: Mappers.ErrorResponse,
115
+ },
116
+ },
117
+ queryParameters: [Parameters.apiVersion],
118
+ urlParameters: [Parameters.$host],
119
+ headerParameters: [Parameters.accept],
120
+ serializer,
121
+ };
122
+ const listNextOperationSpec = {
123
+ path: "{nextLink}",
124
+ httpMethod: "GET",
125
+ responses: {
126
+ 200: {
127
+ bodyMapper: Mappers.OperationListResult,
128
+ },
129
+ default: {
130
+ bodyMapper: Mappers.ErrorResponse,
131
+ },
132
+ },
133
+ urlParameters: [Parameters.$host, Parameters.nextLink],
134
+ headerParameters: [Parameters.accept],
135
+ serializer,
136
+ };
137
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QA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AO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;IAED;;;;OAIG;IACK,SAAS,CACf,QAAgB,EAChB,OAA0C;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrB,qBAAqB,CACtB,CAAC;IACJ,CAAC;CACF;AAzFD,wCAyFC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,oDAAoD;IAC1D,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { IoTFirmwareDefenseClient } from \"../ioTFirmwareDefenseClient.js\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: IoTFirmwareDefenseClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: IoTFirmwareDefenseClient) {\n this.client = client;\n }\n\n /**\n * Lists the operations for this resource provider\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams,\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists the operations for this resource provider\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams,\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams,\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.IoTFirmwareDefense/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,41 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PasswordHashes } from "../operationsInterfaces/index.js";
3
+ import { IoTFirmwareDefenseClient } from "../ioTFirmwareDefenseClient.js";
4
+ import { PasswordHashResource, PasswordHashesListByFirmwareOptionalParams } from "../models/index.js";
5
+ /** Class containing PasswordHashes operations. */
6
+ export declare class PasswordHashesImpl implements PasswordHashes {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class PasswordHashes class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: IoTFirmwareDefenseClient);
13
+ /**
14
+ * Lists password hash analysis results of a firmware.
15
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
+ * @param workspaceName The name of the firmware analysis workspace.
17
+ * @param firmwareId The id of the firmware.
18
+ * @param options The options parameters.
19
+ */
20
+ listByFirmware(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: PasswordHashesListByFirmwareOptionalParams): PagedAsyncIterableIterator<PasswordHashResource>;
21
+ private listByFirmwarePagingPage;
22
+ private listByFirmwarePagingAll;
23
+ /**
24
+ * Lists password hash analysis results of a firmware.
25
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
+ * @param workspaceName The name of the firmware analysis workspace.
27
+ * @param firmwareId The id of the firmware.
28
+ * @param options The options parameters.
29
+ */
30
+ private _listByFirmware;
31
+ /**
32
+ * ListByFirmwareNext
33
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
34
+ * @param workspaceName The name of the firmware analysis workspace.
35
+ * @param firmwareId The id of the firmware.
36
+ * @param nextLink The nextLink from the previous successful call to the ListByFirmware method.
37
+ * @param options The options parameters.
38
+ */
39
+ private _listByFirmwareNext;
40
+ }
41
+ //# sourceMappingURL=passwordHashes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passwordHashes.d.ts","sourceRoot":"","sources":["../../../src/operations/passwordHashes.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EACL,oBAAoB,EAEpB,0CAA0C,EAG3C,MAAM,oBAAoB,CAAC;AAG5B,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;;OAMG;IACI,cAAc,CACnB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,oBAAoB,CAAC;YA6BpC,wBAAwB;YAoCxB,uBAAuB;IAgBtC;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;IAYvB;;;;;;;OAOG;IACH,OAAO,CAAC,mBAAmB;CAY5B"}
@@ -0,0 +1,159 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.PasswordHashesImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ /// <reference lib="esnext.asynciterable" />
17
+ /** Class containing PasswordHashes operations. */
18
+ class PasswordHashesImpl {
19
+ /**
20
+ * Initialize a new instance of the class PasswordHashes class.
21
+ * @param client Reference to the service client
22
+ */
23
+ constructor(client) {
24
+ this.client = client;
25
+ }
26
+ /**
27
+ * Lists password hash analysis results of a firmware.
28
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
29
+ * @param workspaceName The name of the firmware analysis workspace.
30
+ * @param firmwareId The id of the firmware.
31
+ * @param options The options parameters.
32
+ */
33
+ listByFirmware(resourceGroupName, workspaceName, firmwareId, options) {
34
+ const iter = this.listByFirmwarePagingAll(resourceGroupName, workspaceName, firmwareId, options);
35
+ return {
36
+ next() {
37
+ return iter.next();
38
+ },
39
+ [Symbol.asyncIterator]() {
40
+ return this;
41
+ },
42
+ byPage: (settings) => {
43
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
44
+ throw new Error("maxPageSize is not supported by this operation.");
45
+ }
46
+ return this.listByFirmwarePagingPage(resourceGroupName, workspaceName, firmwareId, options, settings);
47
+ },
48
+ };
49
+ }
50
+ listByFirmwarePagingPage(resourceGroupName, workspaceName, firmwareId, options, settings) {
51
+ return tslib_1.__asyncGenerator(this, arguments, function* listByFirmwarePagingPage_1() {
52
+ let result;
53
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
54
+ if (!continuationToken) {
55
+ result = yield tslib_1.__await(this._listByFirmware(resourceGroupName, workspaceName, firmwareId, options));
56
+ let page = result.value || [];
57
+ continuationToken = result.nextLink;
58
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
59
+ yield yield tslib_1.__await(page);
60
+ }
61
+ while (continuationToken) {
62
+ result = yield tslib_1.__await(this._listByFirmwareNext(resourceGroupName, workspaceName, firmwareId, continuationToken, options));
63
+ continuationToken = result.nextLink;
64
+ let page = result.value || [];
65
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
66
+ yield yield tslib_1.__await(page);
67
+ }
68
+ });
69
+ }
70
+ listByFirmwarePagingAll(resourceGroupName, workspaceName, firmwareId, options) {
71
+ return tslib_1.__asyncGenerator(this, arguments, function* listByFirmwarePagingAll_1() {
72
+ var _a, e_1, _b, _c;
73
+ try {
74
+ for (var _d = true, _e = tslib_1.__asyncValues(this.listByFirmwarePagingPage(resourceGroupName, workspaceName, firmwareId, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
75
+ _c = _f.value;
76
+ _d = false;
77
+ const page = _c;
78
+ yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
79
+ }
80
+ }
81
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
82
+ finally {
83
+ try {
84
+ if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
85
+ }
86
+ finally { if (e_1) throw e_1.error; }
87
+ }
88
+ });
89
+ }
90
+ /**
91
+ * Lists password hash analysis results of a firmware.
92
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
93
+ * @param workspaceName The name of the firmware analysis workspace.
94
+ * @param firmwareId The id of the firmware.
95
+ * @param options The options parameters.
96
+ */
97
+ _listByFirmware(resourceGroupName, workspaceName, firmwareId, options) {
98
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, firmwareId, options }, listByFirmwareOperationSpec);
99
+ }
100
+ /**
101
+ * ListByFirmwareNext
102
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
103
+ * @param workspaceName The name of the firmware analysis workspace.
104
+ * @param firmwareId The id of the firmware.
105
+ * @param nextLink The nextLink from the previous successful call to the ListByFirmware method.
106
+ * @param options The options parameters.
107
+ */
108
+ _listByFirmwareNext(resourceGroupName, workspaceName, firmwareId, nextLink, options) {
109
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, firmwareId, nextLink, options }, listByFirmwareNextOperationSpec);
110
+ }
111
+ }
112
+ exports.PasswordHashesImpl = PasswordHashesImpl;
113
+ // Operation Specifications
114
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
115
+ const listByFirmwareOperationSpec = {
116
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/passwordHashes",
117
+ httpMethod: "GET",
118
+ responses: {
119
+ 200: {
120
+ bodyMapper: Mappers.PasswordHashListResult,
121
+ },
122
+ default: {
123
+ bodyMapper: Mappers.ErrorResponse,
124
+ },
125
+ },
126
+ queryParameters: [Parameters.apiVersion],
127
+ urlParameters: [
128
+ Parameters.$host,
129
+ Parameters.subscriptionId,
130
+ Parameters.resourceGroupName,
131
+ Parameters.workspaceName,
132
+ Parameters.firmwareId,
133
+ ],
134
+ headerParameters: [Parameters.accept],
135
+ serializer,
136
+ };
137
+ const listByFirmwareNextOperationSpec = {
138
+ path: "{nextLink}",
139
+ httpMethod: "GET",
140
+ responses: {
141
+ 200: {
142
+ bodyMapper: Mappers.PasswordHashListResult,
143
+ },
144
+ default: {
145
+ bodyMapper: Mappers.ErrorResponse,
146
+ },
147
+ },
148
+ urlParameters: [
149
+ Parameters.$host,
150
+ Parameters.subscriptionId,
151
+ Parameters.resourceGroupName,
152
+ Parameters.workspaceName,
153
+ Parameters.firmwareId,
154
+ Parameters.nextLink,
155
+ ],
156
+ headerParameters: [Parameters.accept],
157
+ serializer,
158
+ };
159
+ //# sourceMappingURL=passwordHashes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passwordHashes.js","sourceRoot":"","sources":["../../../src/operations/passwordHashes.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,cAAc,CACnB,iBAAyB,EACzB,aAAqB,EACrB,UAAkB,EAClB,OAAoD;QAEpD,MAAM,IAAI,GAAG,IAAI,CAAC,uBAAuB,CACvC,iBAAiB,EACjB,aAAa,EACb,UAAU,EACV,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,w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;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { PasswordHashes } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { IoTFirmwareDefenseClient } from \"../ioTFirmwareDefenseClient.js\";\nimport {\n PasswordHashResource,\n PasswordHashesListByFirmwareNextOptionalParams,\n PasswordHashesListByFirmwareOptionalParams,\n PasswordHashesListByFirmwareResponse,\n PasswordHashesListByFirmwareNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PasswordHashes operations. */\nexport class PasswordHashesImpl implements PasswordHashes {\n private readonly client: IoTFirmwareDefenseClient;\n\n /**\n * Initialize a new instance of the class PasswordHashes class.\n * @param client Reference to the service client\n */\n constructor(client: IoTFirmwareDefenseClient) {\n this.client = client;\n }\n\n /**\n * Lists password hash analysis results of a firmware.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the firmware analysis workspace.\n * @param firmwareId The id of the firmware.\n * @param options The options parameters.\n */\n public listByFirmware(\n resourceGroupName: string,\n workspaceName: string,\n firmwareId: string,\n options?: PasswordHashesListByFirmwareOptionalParams,\n ): PagedAsyncIterableIterator<PasswordHashResource> {\n const iter = this.listByFirmwarePagingAll(\n resourceGroupName,\n workspaceName,\n firmwareId,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByFirmwarePagingPage(\n resourceGroupName,\n workspaceName,\n firmwareId,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByFirmwarePagingPage(\n resourceGroupName: string,\n workspaceName: string,\n firmwareId: string,\n options?: PasswordHashesListByFirmwareOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PasswordHashResource[]> {\n let result: PasswordHashesListByFirmwareResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByFirmware(\n resourceGroupName,\n workspaceName,\n firmwareId,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByFirmwareNext(\n resourceGroupName,\n workspaceName,\n firmwareId,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByFirmwarePagingAll(\n resourceGroupName: string,\n workspaceName: string,\n firmwareId: string,\n options?: PasswordHashesListByFirmwareOptionalParams,\n ): AsyncIterableIterator<PasswordHashResource> {\n for await (const page of this.listByFirmwarePagingPage(\n resourceGroupName,\n workspaceName,\n firmwareId,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists password hash analysis results of a firmware.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the firmware analysis workspace.\n * @param firmwareId The id of the firmware.\n * @param options The options parameters.\n */\n private _listByFirmware(\n resourceGroupName: string,\n workspaceName: string,\n firmwareId: string,\n options?: PasswordHashesListByFirmwareOptionalParams,\n ): Promise<PasswordHashesListByFirmwareResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, firmwareId, options },\n listByFirmwareOperationSpec,\n );\n }\n\n /**\n * ListByFirmwareNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the firmware analysis workspace.\n * @param firmwareId The id of the firmware.\n * @param nextLink The nextLink from the previous successful call to the ListByFirmware method.\n * @param options The options parameters.\n */\n private _listByFirmwareNext(\n resourceGroupName: string,\n workspaceName: string,\n firmwareId: string,\n nextLink: string,\n options?: PasswordHashesListByFirmwareNextOptionalParams,\n ): Promise<PasswordHashesListByFirmwareNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, firmwareId, nextLink, options },\n listByFirmwareNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByFirmwareOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/passwordHashes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PasswordHashListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.firmwareId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByFirmwareNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PasswordHashListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.firmwareId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,41 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SbomComponents } from "../operationsInterfaces/index.js";
3
+ import { IoTFirmwareDefenseClient } from "../ioTFirmwareDefenseClient.js";
4
+ import { SbomComponentResource, SbomComponentsListByFirmwareOptionalParams } from "../models/index.js";
5
+ /** Class containing SbomComponents operations. */
6
+ export declare class SbomComponentsImpl implements SbomComponents {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class SbomComponents class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: IoTFirmwareDefenseClient);
13
+ /**
14
+ * Lists SBOM analysis results of a firmware.
15
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
+ * @param workspaceName The name of the firmware analysis workspace.
17
+ * @param firmwareId The id of the firmware.
18
+ * @param options The options parameters.
19
+ */
20
+ listByFirmware(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: SbomComponentsListByFirmwareOptionalParams): PagedAsyncIterableIterator<SbomComponentResource>;
21
+ private listByFirmwarePagingPage;
22
+ private listByFirmwarePagingAll;
23
+ /**
24
+ * Lists SBOM analysis results of a firmware.
25
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
+ * @param workspaceName The name of the firmware analysis workspace.
27
+ * @param firmwareId The id of the firmware.
28
+ * @param options The options parameters.
29
+ */
30
+ private _listByFirmware;
31
+ /**
32
+ * ListByFirmwareNext
33
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
34
+ * @param workspaceName The name of the firmware analysis workspace.
35
+ * @param firmwareId The id of the firmware.
36
+ * @param nextLink The nextLink from the previous successful call to the ListByFirmware method.
37
+ * @param options The options parameters.
38
+ */
39
+ private _listByFirmwareNext;
40
+ }
41
+ //# sourceMappingURL=sbomComponents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sbomComponents.d.ts","sourceRoot":"","sources":["../../../src/operations/sbomComponents.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EACL,qBAAqB,EAErB,0CAA0C,EAG3C,MAAM,oBAAoB,CAAC;AAG5B,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;;OAMG;IACI,cAAc,CACnB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,qBAAqB,CAAC;YA6BrC,wBAAwB;YAoCxB,uBAAuB;IAgBtC;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;IAYvB;;;;;;;OAOG;IACH,OAAO,CAAC,mBAAmB;CAY5B"}
@@ -0,0 +1,159 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.SbomComponentsImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ /// <reference lib="esnext.asynciterable" />
17
+ /** Class containing SbomComponents operations. */
18
+ class SbomComponentsImpl {
19
+ /**
20
+ * Initialize a new instance of the class SbomComponents class.
21
+ * @param client Reference to the service client
22
+ */
23
+ constructor(client) {
24
+ this.client = client;
25
+ }
26
+ /**
27
+ * Lists SBOM analysis results of a firmware.
28
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
29
+ * @param workspaceName The name of the firmware analysis workspace.
30
+ * @param firmwareId The id of the firmware.
31
+ * @param options The options parameters.
32
+ */
33
+ listByFirmware(resourceGroupName, workspaceName, firmwareId, options) {
34
+ const iter = this.listByFirmwarePagingAll(resourceGroupName, workspaceName, firmwareId, options);
35
+ return {
36
+ next() {
37
+ return iter.next();
38
+ },
39
+ [Symbol.asyncIterator]() {
40
+ return this;
41
+ },
42
+ byPage: (settings) => {
43
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
44
+ throw new Error("maxPageSize is not supported by this operation.");
45
+ }
46
+ return this.listByFirmwarePagingPage(resourceGroupName, workspaceName, firmwareId, options, settings);
47
+ },
48
+ };
49
+ }
50
+ listByFirmwarePagingPage(resourceGroupName, workspaceName, firmwareId, options, settings) {
51
+ return tslib_1.__asyncGenerator(this, arguments, function* listByFirmwarePagingPage_1() {
52
+ let result;
53
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
54
+ if (!continuationToken) {
55
+ result = yield tslib_1.__await(this._listByFirmware(resourceGroupName, workspaceName, firmwareId, options));
56
+ let page = result.value || [];
57
+ continuationToken = result.nextLink;
58
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
59
+ yield yield tslib_1.__await(page);
60
+ }
61
+ while (continuationToken) {
62
+ result = yield tslib_1.__await(this._listByFirmwareNext(resourceGroupName, workspaceName, firmwareId, continuationToken, options));
63
+ continuationToken = result.nextLink;
64
+ let page = result.value || [];
65
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
66
+ yield yield tslib_1.__await(page);
67
+ }
68
+ });
69
+ }
70
+ listByFirmwarePagingAll(resourceGroupName, workspaceName, firmwareId, options) {
71
+ return tslib_1.__asyncGenerator(this, arguments, function* listByFirmwarePagingAll_1() {
72
+ var _a, e_1, _b, _c;
73
+ try {
74
+ for (var _d = true, _e = tslib_1.__asyncValues(this.listByFirmwarePagingPage(resourceGroupName, workspaceName, firmwareId, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
75
+ _c = _f.value;
76
+ _d = false;
77
+ const page = _c;
78
+ yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
79
+ }
80
+ }
81
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
82
+ finally {
83
+ try {
84
+ if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
85
+ }
86
+ finally { if (e_1) throw e_1.error; }
87
+ }
88
+ });
89
+ }
90
+ /**
91
+ * Lists SBOM analysis results of a firmware.
92
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
93
+ * @param workspaceName The name of the firmware analysis workspace.
94
+ * @param firmwareId The id of the firmware.
95
+ * @param options The options parameters.
96
+ */
97
+ _listByFirmware(resourceGroupName, workspaceName, firmwareId, options) {
98
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, firmwareId, options }, listByFirmwareOperationSpec);
99
+ }
100
+ /**
101
+ * ListByFirmwareNext
102
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
103
+ * @param workspaceName The name of the firmware analysis workspace.
104
+ * @param firmwareId The id of the firmware.
105
+ * @param nextLink The nextLink from the previous successful call to the ListByFirmware method.
106
+ * @param options The options parameters.
107
+ */
108
+ _listByFirmwareNext(resourceGroupName, workspaceName, firmwareId, nextLink, options) {
109
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, firmwareId, nextLink, options }, listByFirmwareNextOperationSpec);
110
+ }
111
+ }
112
+ exports.SbomComponentsImpl = SbomComponentsImpl;
113
+ // Operation Specifications
114
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
115
+ const listByFirmwareOperationSpec = {
116
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/sbomComponents",
117
+ httpMethod: "GET",
118
+ responses: {
119
+ 200: {
120
+ bodyMapper: Mappers.SbomComponentListResult,
121
+ },
122
+ default: {
123
+ bodyMapper: Mappers.ErrorResponse,
124
+ },
125
+ },
126
+ queryParameters: [Parameters.apiVersion],
127
+ urlParameters: [
128
+ Parameters.$host,
129
+ Parameters.subscriptionId,
130
+ Parameters.resourceGroupName,
131
+ Parameters.workspaceName,
132
+ Parameters.firmwareId,
133
+ ],
134
+ headerParameters: [Parameters.accept],
135
+ serializer,
136
+ };
137
+ const listByFirmwareNextOperationSpec = {
138
+ path: "{nextLink}",
139
+ httpMethod: "GET",
140
+ responses: {
141
+ 200: {
142
+ bodyMapper: Mappers.SbomComponentListResult,
143
+ },
144
+ default: {
145
+ bodyMapper: Mappers.ErrorResponse,
146
+ },
147
+ },
148
+ urlParameters: [
149
+ Parameters.$host,
150
+ Parameters.subscriptionId,
151
+ Parameters.resourceGroupName,
152
+ Parameters.workspaceName,
153
+ Parameters.firmwareId,
154
+ Parameters.nextLink,
155
+ ],
156
+ headerParameters: [Parameters.accept],
157
+ serializer,
158
+ };
159
+ //# sourceMappingURL=sbomComponents.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sbomComponents.js","sourceRoot":"","sources":["../../../src/operations/sbomComponents.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IAG7B;;;OAGG;IACH,YAA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AQ,EAAE,OAAO,EAAE,EACnE,+BAA+B,CAChC,CAAC;IACJ,CAAC;CACF;AA/ID,gDA+IC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,2BAA2B,GAA6B;IAC5D,IAAI,EAAE,4KAA4K;IAClL,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { SbomComponents } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { IoTFirmwareDefenseClient } from \"../ioTFirmwareDefenseClient.js\";\nimport {\n SbomComponentResource,\n SbomComponentsListByFirmwareNextOptionalParams,\n SbomComponentsListByFirmwareOptionalParams,\n SbomComponentsListByFirmwareResponse,\n SbomComponentsListByFirmwareNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SbomComponents operations. */\nexport class SbomComponentsImpl implements SbomComponents {\n private readonly client: IoTFirmwareDefenseClient;\n\n /**\n * Initialize a new instance of the class SbomComponents class.\n * @param client Reference to the service client\n */\n constructor(client: IoTFirmwareDefenseClient) {\n this.client = client;\n }\n\n /**\n * Lists SBOM analysis results of a firmware.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the firmware analysis workspace.\n * @param firmwareId The id of the firmware.\n * @param options The options parameters.\n */\n public listByFirmware(\n resourceGroupName: string,\n workspaceName: string,\n firmwareId: string,\n options?: SbomComponentsListByFirmwareOptionalParams,\n ): PagedAsyncIterableIterator<SbomComponentResource> {\n const iter = this.listByFirmwarePagingAll(\n resourceGroupName,\n workspaceName,\n firmwareId,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByFirmwarePagingPage(\n resourceGroupName,\n workspaceName,\n firmwareId,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByFirmwarePagingPage(\n resourceGroupName: string,\n workspaceName: string,\n firmwareId: string,\n options?: SbomComponentsListByFirmwareOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SbomComponentResource[]> {\n let result: SbomComponentsListByFirmwareResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByFirmware(\n resourceGroupName,\n workspaceName,\n firmwareId,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByFirmwareNext(\n resourceGroupName,\n workspaceName,\n firmwareId,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByFirmwarePagingAll(\n resourceGroupName: string,\n workspaceName: string,\n firmwareId: string,\n options?: SbomComponentsListByFirmwareOptionalParams,\n ): AsyncIterableIterator<SbomComponentResource> {\n for await (const page of this.listByFirmwarePagingPage(\n resourceGroupName,\n workspaceName,\n firmwareId,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists SBOM analysis results of a firmware.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the firmware analysis workspace.\n * @param firmwareId The id of the firmware.\n * @param options The options parameters.\n */\n private _listByFirmware(\n resourceGroupName: string,\n workspaceName: string,\n firmwareId: string,\n options?: SbomComponentsListByFirmwareOptionalParams,\n ): Promise<SbomComponentsListByFirmwareResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, firmwareId, options },\n listByFirmwareOperationSpec,\n );\n }\n\n /**\n * ListByFirmwareNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the firmware analysis workspace.\n * @param firmwareId The id of the firmware.\n * @param nextLink The nextLink from the previous successful call to the ListByFirmware method.\n * @param options The options parameters.\n */\n private _listByFirmwareNext(\n resourceGroupName: string,\n workspaceName: string,\n firmwareId: string,\n nextLink: string,\n options?: SbomComponentsListByFirmwareNextOptionalParams,\n ): Promise<SbomComponentsListByFirmwareNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, firmwareId, nextLink, options },\n listByFirmwareNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByFirmwareOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/sbomComponents\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SbomComponentListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.firmwareId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByFirmwareNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SbomComponentListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.firmwareId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}