@ohos-ports/redhat-cloud-services-host-inventory-client 0.0.0-stage → 8.4.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (370) hide show
  1. package/ApiGroupCreateGroup/index.d.ts +23 -0
  2. package/ApiGroupCreateGroup/index.d.ts.map +1 -0
  3. package/ApiGroupCreateGroup/index.js +65 -0
  4. package/ApiGroupCreateGroup/index.js.map +1 -0
  5. package/ApiGroupDeleteGroups/index.d.ts +22 -0
  6. package/ApiGroupDeleteGroups/index.d.ts.map +1 -0
  7. package/ApiGroupDeleteGroups/index.js +59 -0
  8. package/ApiGroupDeleteGroups/index.js.map +1 -0
  9. package/ApiGroupDeleteHostsFromDifferentGroups/index.d.ts +22 -0
  10. package/ApiGroupDeleteHostsFromDifferentGroups/index.d.ts.map +1 -0
  11. package/ApiGroupDeleteHostsFromDifferentGroups/index.js +59 -0
  12. package/ApiGroupDeleteHostsFromDifferentGroups/index.js.map +1 -0
  13. package/ApiGroupGetGroupList/index.d.ts +73 -0
  14. package/ApiGroupGetGroupList/index.d.ts.map +1 -0
  15. package/ApiGroupGetGroupList/index.js +94 -0
  16. package/ApiGroupGetGroupList/index.js.map +1 -0
  17. package/ApiGroupGetGroupsById/index.d.ts +57 -0
  18. package/ApiGroupGetGroupsById/index.d.ts.map +1 -0
  19. package/ApiGroupGetGroupsById/index.js +80 -0
  20. package/ApiGroupGetGroupsById/index.js.map +1 -0
  21. package/ApiGroupPatchGroupById/index.d.ts +29 -0
  22. package/ApiGroupPatchGroupById/index.d.ts.map +1 -0
  23. package/ApiGroupPatchGroupById/index.js +61 -0
  24. package/ApiGroupPatchGroupById/index.js.map +1 -0
  25. package/ApiHostDeleteAllHosts/index.d.ts +22 -0
  26. package/ApiHostDeleteAllHosts/index.d.ts.map +1 -0
  27. package/ApiHostDeleteAllHosts/index.js +61 -0
  28. package/ApiHostDeleteAllHosts/index.js.map +1 -0
  29. package/ApiHostDeleteHostById/index.d.ts +28 -0
  30. package/ApiHostDeleteHostById/index.d.ts.map +1 -0
  31. package/ApiHostDeleteHostById/index.js +62 -0
  32. package/ApiHostDeleteHostById/index.js.map +1 -0
  33. package/ApiHostDeleteHostsByFilter/index.d.ts +195 -0
  34. package/ApiHostDeleteHostsByFilter/index.d.ts.map +1 -0
  35. package/ApiHostDeleteHostsByFilter/index.js +177 -0
  36. package/ApiHostDeleteHostsByFilter/index.js.map +1 -0
  37. package/ApiHostGetHostById/index.d.ts +75 -0
  38. package/ApiHostGetHostById/index.d.ts.map +1 -0
  39. package/ApiHostGetHostById/index.js +88 -0
  40. package/ApiHostGetHostById/index.js.map +1 -0
  41. package/ApiHostGetHostExists/index.d.ts +29 -0
  42. package/ApiHostGetHostExists/index.d.ts.map +1 -0
  43. package/ApiHostGetHostExists/index.js +64 -0
  44. package/ApiHostGetHostExists/index.js.map +1 -0
  45. package/ApiHostGetHostList/index.d.ts +254 -0
  46. package/ApiHostGetHostList/index.d.ts.map +1 -0
  47. package/ApiHostGetHostList/index.js +209 -0
  48. package/ApiHostGetHostList/index.js.map +1 -0
  49. package/ApiHostGetHostSystemProfileById/index.d.ts +75 -0
  50. package/ApiHostGetHostSystemProfileById/index.d.ts.map +1 -0
  51. package/ApiHostGetHostSystemProfileById/index.js +88 -0
  52. package/ApiHostGetHostSystemProfileById/index.js.map +1 -0
  53. package/ApiHostGetHostTagCount/index.d.ts +58 -0
  54. package/ApiHostGetHostTagCount/index.d.ts.map +1 -0
  55. package/ApiHostGetHostTagCount/index.js +81 -0
  56. package/ApiHostGetHostTagCount/index.js.map +1 -0
  57. package/ApiHostGetHostTags/index.d.ts +64 -0
  58. package/ApiHostGetHostTags/index.d.ts.map +1 -0
  59. package/ApiHostGetHostTags/index.js +84 -0
  60. package/ApiHostGetHostTags/index.js.map +1 -0
  61. package/ApiHostGroupAddHostListToGroup/index.d.ts +29 -0
  62. package/ApiHostGroupAddHostListToGroup/index.d.ts.map +1 -0
  63. package/ApiHostGroupAddHostListToGroup/index.js +61 -0
  64. package/ApiHostGroupAddHostListToGroup/index.js.map +1 -0
  65. package/ApiHostGroupDeleteHostsFromGroup/index.d.ts +28 -0
  66. package/ApiHostGroupDeleteHostsFromGroup/index.d.ts.map +1 -0
  67. package/ApiHostGroupDeleteHostsFromGroup/index.js +60 -0
  68. package/ApiHostGroupDeleteHostsFromGroup/index.js.map +1 -0
  69. package/ApiHostGroupGetHostListByGroup/index.d.ts +152 -0
  70. package/ApiHostGroupGetHostListByGroup/index.d.ts.map +1 -0
  71. package/ApiHostGroupGetHostListByGroup/index.js +138 -0
  72. package/ApiHostGroupGetHostListByGroup/index.js.map +1 -0
  73. package/ApiHostHostCheckin/index.d.ts +29 -0
  74. package/ApiHostHostCheckin/index.d.ts.map +1 -0
  75. package/ApiHostHostCheckin/index.js +68 -0
  76. package/ApiHostHostCheckin/index.js.map +1 -0
  77. package/ApiHostMergeFacts/index.d.ts +40 -0
  78. package/ApiHostMergeFacts/index.d.ts.map +1 -0
  79. package/ApiHostMergeFacts/index.js +65 -0
  80. package/ApiHostMergeFacts/index.js.map +1 -0
  81. package/ApiHostPatchHostById/index.d.ts +35 -0
  82. package/ApiHostPatchHostById/index.d.ts.map +1 -0
  83. package/ApiHostPatchHostById/index.js +64 -0
  84. package/ApiHostPatchHostById/index.js.map +1 -0
  85. package/ApiHostReplaceFacts/index.d.ts +40 -0
  86. package/ApiHostReplaceFacts/index.d.ts.map +1 -0
  87. package/ApiHostReplaceFacts/index.js +65 -0
  88. package/ApiHostReplaceFacts/index.js.map +1 -0
  89. package/ApiHostViewsGetHostViews/index.d.ts +413 -0
  90. package/ApiHostViewsGetHostViews/index.d.ts.map +1 -0
  91. package/ApiHostViewsGetHostViews/index.js +347 -0
  92. package/ApiHostViewsGetHostViews/index.js.map +1 -0
  93. package/ApiResourceTypeGetResourceTypeGroupsList/index.d.ts +35 -0
  94. package/ApiResourceTypeGetResourceTypeGroupsList/index.d.ts.map +1 -0
  95. package/ApiResourceTypeGetResourceTypeGroupsList/index.js +67 -0
  96. package/ApiResourceTypeGetResourceTypeGroupsList/index.js.map +1 -0
  97. package/ApiResourceTypeGetResourceTypeList/index.d.ts +29 -0
  98. package/ApiResourceTypeGetResourceTypeList/index.d.ts.map +1 -0
  99. package/ApiResourceTypeGetResourceTypeList/index.js +64 -0
  100. package/ApiResourceTypeGetResourceTypeList/index.js.map +1 -0
  101. package/ApiStalenessCreateStaleness/index.d.ts +23 -0
  102. package/ApiStalenessCreateStaleness/index.d.ts.map +1 -0
  103. package/ApiStalenessCreateStaleness/index.js +65 -0
  104. package/ApiStalenessCreateStaleness/index.js.map +1 -0
  105. package/ApiStalenessDeleteStaleness/index.d.ts +16 -0
  106. package/ApiStalenessDeleteStaleness/index.d.ts.map +1 -0
  107. package/ApiStalenessDeleteStaleness/index.js +63 -0
  108. package/ApiStalenessDeleteStaleness/index.js.map +1 -0
  109. package/ApiStalenessGetDefaultStaleness/index.d.ts +17 -0
  110. package/ApiStalenessGetDefaultStaleness/index.d.ts.map +1 -0
  111. package/ApiStalenessGetDefaultStaleness/index.js +63 -0
  112. package/ApiStalenessGetDefaultStaleness/index.js.map +1 -0
  113. package/ApiStalenessGetStaleness/index.d.ts +17 -0
  114. package/ApiStalenessGetStaleness/index.d.ts.map +1 -0
  115. package/ApiStalenessGetStaleness/index.js +63 -0
  116. package/ApiStalenessGetStaleness/index.js.map +1 -0
  117. package/ApiStalenessUpdateStaleness/index.d.ts +23 -0
  118. package/ApiStalenessUpdateStaleness/index.d.ts.map +1 -0
  119. package/ApiStalenessUpdateStaleness/index.js +65 -0
  120. package/ApiStalenessUpdateStaleness/index.js.map +1 -0
  121. package/ApiSystemProfileGetOperatingSystem/index.d.ts +88 -0
  122. package/ApiSystemProfileGetOperatingSystem/index.d.ts.map +1 -0
  123. package/ApiSystemProfileGetOperatingSystem/index.js +105 -0
  124. package/ApiSystemProfileGetOperatingSystem/index.js.map +1 -0
  125. package/ApiSystemProfileGetSapSids/index.d.ts +94 -0
  126. package/ApiSystemProfileGetSapSids/index.d.ts.map +1 -0
  127. package/ApiSystemProfileGetSapSids/index.js +108 -0
  128. package/ApiSystemProfileGetSapSids/index.js.map +1 -0
  129. package/ApiSystemProfileGetSapSystem/index.d.ts +88 -0
  130. package/ApiSystemProfileGetSapSystem/index.d.ts.map +1 -0
  131. package/ApiSystemProfileGetSapSystem/index.js +105 -0
  132. package/ApiSystemProfileGetSapSystem/index.js.map +1 -0
  133. package/ApiSystemProfileValidateSchema/index.d.ts +40 -0
  134. package/ApiSystemProfileValidateSchema/index.d.ts.map +1 -0
  135. package/ApiSystemProfileValidateSchema/index.js +70 -0
  136. package/ApiSystemProfileValidateSchema/index.js.map +1 -0
  137. package/ApiTagGetTags/index.d.ts +229 -0
  138. package/ApiTagGetTags/index.d.ts.map +1 -0
  139. package/ApiTagGetTags/index.js +197 -0
  140. package/ApiTagGetTags/index.js.map +1 -0
  141. package/ApiViewsCloneView/index.d.ts +23 -0
  142. package/ApiViewsCloneView/index.d.ts.map +1 -0
  143. package/ApiViewsCloneView/index.js +59 -0
  144. package/ApiViewsCloneView/index.js.map +1 -0
  145. package/ApiViewsCreateView/index.d.ts +23 -0
  146. package/ApiViewsCreateView/index.d.ts.map +1 -0
  147. package/ApiViewsCreateView/index.js +60 -0
  148. package/ApiViewsCreateView/index.js.map +1 -0
  149. package/ApiViewsDeleteDefaultView/index.d.ts +16 -0
  150. package/ApiViewsDeleteDefaultView/index.d.ts.map +1 -0
  151. package/ApiViewsDeleteDefaultView/index.js +58 -0
  152. package/ApiViewsDeleteDefaultView/index.js.map +1 -0
  153. package/ApiViewsDeleteView/index.d.ts +22 -0
  154. package/ApiViewsDeleteView/index.d.ts.map +1 -0
  155. package/ApiViewsDeleteView/index.js +59 -0
  156. package/ApiViewsDeleteView/index.js.map +1 -0
  157. package/ApiViewsGetViewById/index.d.ts +23 -0
  158. package/ApiViewsGetViewById/index.d.ts.map +1 -0
  159. package/ApiViewsGetViewById/index.js +59 -0
  160. package/ApiViewsGetViewById/index.js.map +1 -0
  161. package/ApiViewsGetViewsList/index.d.ts +29 -0
  162. package/ApiViewsGetViewsList/index.d.ts.map +1 -0
  163. package/ApiViewsGetViewsList/index.js +64 -0
  164. package/ApiViewsGetViewsList/index.js.map +1 -0
  165. package/ApiViewsPatchView/index.d.ts +29 -0
  166. package/ApiViewsPatchView/index.d.ts.map +1 -0
  167. package/ApiViewsPatchView/index.js +61 -0
  168. package/ApiViewsPatchView/index.js.map +1 -0
  169. package/ApiViewsSetDefaultView/index.d.ts +23 -0
  170. package/ApiViewsSetDefaultView/index.d.ts.map +1 -0
  171. package/ApiViewsSetDefaultView/index.js +60 -0
  172. package/ApiViewsSetDefaultView/index.js.map +1 -0
  173. package/api.d.ts +116 -0
  174. package/api.d.ts.map +1 -0
  175. package/api.js +56 -0
  176. package/api.js.map +1 -0
  177. package/esm/ApiGroupCreateGroup/index.d.ts +23 -0
  178. package/esm/ApiGroupCreateGroup/index.d.ts.map +1 -0
  179. package/esm/ApiGroupCreateGroup/index.js +49 -0
  180. package/esm/ApiGroupCreateGroup/index.js.map +1 -0
  181. package/esm/ApiGroupDeleteGroups/index.d.ts +22 -0
  182. package/esm/ApiGroupDeleteGroups/index.d.ts.map +1 -0
  183. package/esm/ApiGroupDeleteGroups/index.js +43 -0
  184. package/esm/ApiGroupDeleteGroups/index.js.map +1 -0
  185. package/esm/ApiGroupDeleteHostsFromDifferentGroups/index.d.ts +22 -0
  186. package/esm/ApiGroupDeleteHostsFromDifferentGroups/index.d.ts.map +1 -0
  187. package/esm/ApiGroupDeleteHostsFromDifferentGroups/index.js +43 -0
  188. package/esm/ApiGroupDeleteHostsFromDifferentGroups/index.js.map +1 -0
  189. package/esm/ApiGroupGetGroupList/index.d.ts +73 -0
  190. package/esm/ApiGroupGetGroupList/index.d.ts.map +1 -0
  191. package/esm/ApiGroupGetGroupList/index.js +78 -0
  192. package/esm/ApiGroupGetGroupList/index.js.map +1 -0
  193. package/esm/ApiGroupGetGroupsById/index.d.ts +57 -0
  194. package/esm/ApiGroupGetGroupsById/index.d.ts.map +1 -0
  195. package/esm/ApiGroupGetGroupsById/index.js +64 -0
  196. package/esm/ApiGroupGetGroupsById/index.js.map +1 -0
  197. package/esm/ApiGroupPatchGroupById/index.d.ts +29 -0
  198. package/esm/ApiGroupPatchGroupById/index.d.ts.map +1 -0
  199. package/esm/ApiGroupPatchGroupById/index.js +45 -0
  200. package/esm/ApiGroupPatchGroupById/index.js.map +1 -0
  201. package/esm/ApiHostDeleteAllHosts/index.d.ts +22 -0
  202. package/esm/ApiHostDeleteAllHosts/index.d.ts.map +1 -0
  203. package/esm/ApiHostDeleteAllHosts/index.js +45 -0
  204. package/esm/ApiHostDeleteAllHosts/index.js.map +1 -0
  205. package/esm/ApiHostDeleteHostById/index.d.ts +28 -0
  206. package/esm/ApiHostDeleteHostById/index.d.ts.map +1 -0
  207. package/esm/ApiHostDeleteHostById/index.js +46 -0
  208. package/esm/ApiHostDeleteHostById/index.js.map +1 -0
  209. package/esm/ApiHostDeleteHostsByFilter/index.d.ts +195 -0
  210. package/esm/ApiHostDeleteHostsByFilter/index.d.ts.map +1 -0
  211. package/esm/ApiHostDeleteHostsByFilter/index.js +161 -0
  212. package/esm/ApiHostDeleteHostsByFilter/index.js.map +1 -0
  213. package/esm/ApiHostGetHostById/index.d.ts +75 -0
  214. package/esm/ApiHostGetHostById/index.d.ts.map +1 -0
  215. package/esm/ApiHostGetHostById/index.js +72 -0
  216. package/esm/ApiHostGetHostById/index.js.map +1 -0
  217. package/esm/ApiHostGetHostExists/index.d.ts +29 -0
  218. package/esm/ApiHostGetHostExists/index.d.ts.map +1 -0
  219. package/esm/ApiHostGetHostExists/index.js +48 -0
  220. package/esm/ApiHostGetHostExists/index.js.map +1 -0
  221. package/esm/ApiHostGetHostList/index.d.ts +254 -0
  222. package/esm/ApiHostGetHostList/index.d.ts.map +1 -0
  223. package/esm/ApiHostGetHostList/index.js +193 -0
  224. package/esm/ApiHostGetHostList/index.js.map +1 -0
  225. package/esm/ApiHostGetHostSystemProfileById/index.d.ts +75 -0
  226. package/esm/ApiHostGetHostSystemProfileById/index.d.ts.map +1 -0
  227. package/esm/ApiHostGetHostSystemProfileById/index.js +72 -0
  228. package/esm/ApiHostGetHostSystemProfileById/index.js.map +1 -0
  229. package/esm/ApiHostGetHostTagCount/index.d.ts +58 -0
  230. package/esm/ApiHostGetHostTagCount/index.d.ts.map +1 -0
  231. package/esm/ApiHostGetHostTagCount/index.js +65 -0
  232. package/esm/ApiHostGetHostTagCount/index.js.map +1 -0
  233. package/esm/ApiHostGetHostTags/index.d.ts +64 -0
  234. package/esm/ApiHostGetHostTags/index.d.ts.map +1 -0
  235. package/esm/ApiHostGetHostTags/index.js +68 -0
  236. package/esm/ApiHostGetHostTags/index.js.map +1 -0
  237. package/esm/ApiHostGroupAddHostListToGroup/index.d.ts +29 -0
  238. package/esm/ApiHostGroupAddHostListToGroup/index.d.ts.map +1 -0
  239. package/esm/ApiHostGroupAddHostListToGroup/index.js +45 -0
  240. package/esm/ApiHostGroupAddHostListToGroup/index.js.map +1 -0
  241. package/esm/ApiHostGroupDeleteHostsFromGroup/index.d.ts +28 -0
  242. package/esm/ApiHostGroupDeleteHostsFromGroup/index.d.ts.map +1 -0
  243. package/esm/ApiHostGroupDeleteHostsFromGroup/index.js +44 -0
  244. package/esm/ApiHostGroupDeleteHostsFromGroup/index.js.map +1 -0
  245. package/esm/ApiHostGroupGetHostListByGroup/index.d.ts +152 -0
  246. package/esm/ApiHostGroupGetHostListByGroup/index.d.ts.map +1 -0
  247. package/esm/ApiHostGroupGetHostListByGroup/index.js +122 -0
  248. package/esm/ApiHostGroupGetHostListByGroup/index.js.map +1 -0
  249. package/esm/ApiHostHostCheckin/index.d.ts +29 -0
  250. package/esm/ApiHostHostCheckin/index.d.ts.map +1 -0
  251. package/esm/ApiHostHostCheckin/index.js +52 -0
  252. package/esm/ApiHostHostCheckin/index.js.map +1 -0
  253. package/esm/ApiHostMergeFacts/index.d.ts +40 -0
  254. package/esm/ApiHostMergeFacts/index.d.ts.map +1 -0
  255. package/esm/ApiHostMergeFacts/index.js +49 -0
  256. package/esm/ApiHostMergeFacts/index.js.map +1 -0
  257. package/esm/ApiHostPatchHostById/index.d.ts +35 -0
  258. package/esm/ApiHostPatchHostById/index.d.ts.map +1 -0
  259. package/esm/ApiHostPatchHostById/index.js +48 -0
  260. package/esm/ApiHostPatchHostById/index.js.map +1 -0
  261. package/esm/ApiHostReplaceFacts/index.d.ts +40 -0
  262. package/esm/ApiHostReplaceFacts/index.d.ts.map +1 -0
  263. package/esm/ApiHostReplaceFacts/index.js +49 -0
  264. package/esm/ApiHostReplaceFacts/index.js.map +1 -0
  265. package/esm/ApiHostViewsGetHostViews/index.d.ts +413 -0
  266. package/esm/ApiHostViewsGetHostViews/index.d.ts.map +1 -0
  267. package/esm/ApiHostViewsGetHostViews/index.js +331 -0
  268. package/esm/ApiHostViewsGetHostViews/index.js.map +1 -0
  269. package/esm/ApiResourceTypeGetResourceTypeGroupsList/index.d.ts +35 -0
  270. package/esm/ApiResourceTypeGetResourceTypeGroupsList/index.d.ts.map +1 -0
  271. package/esm/ApiResourceTypeGetResourceTypeGroupsList/index.js +51 -0
  272. package/esm/ApiResourceTypeGetResourceTypeGroupsList/index.js.map +1 -0
  273. package/esm/ApiResourceTypeGetResourceTypeList/index.d.ts +29 -0
  274. package/esm/ApiResourceTypeGetResourceTypeList/index.d.ts.map +1 -0
  275. package/esm/ApiResourceTypeGetResourceTypeList/index.js +48 -0
  276. package/esm/ApiResourceTypeGetResourceTypeList/index.js.map +1 -0
  277. package/esm/ApiStalenessCreateStaleness/index.d.ts +23 -0
  278. package/esm/ApiStalenessCreateStaleness/index.d.ts.map +1 -0
  279. package/esm/ApiStalenessCreateStaleness/index.js +49 -0
  280. package/esm/ApiStalenessCreateStaleness/index.js.map +1 -0
  281. package/esm/ApiStalenessDeleteStaleness/index.d.ts +16 -0
  282. package/esm/ApiStalenessDeleteStaleness/index.d.ts.map +1 -0
  283. package/esm/ApiStalenessDeleteStaleness/index.js +47 -0
  284. package/esm/ApiStalenessDeleteStaleness/index.js.map +1 -0
  285. package/esm/ApiStalenessGetDefaultStaleness/index.d.ts +17 -0
  286. package/esm/ApiStalenessGetDefaultStaleness/index.d.ts.map +1 -0
  287. package/esm/ApiStalenessGetDefaultStaleness/index.js +47 -0
  288. package/esm/ApiStalenessGetDefaultStaleness/index.js.map +1 -0
  289. package/esm/ApiStalenessGetStaleness/index.d.ts +17 -0
  290. package/esm/ApiStalenessGetStaleness/index.d.ts.map +1 -0
  291. package/esm/ApiStalenessGetStaleness/index.js +47 -0
  292. package/esm/ApiStalenessGetStaleness/index.js.map +1 -0
  293. package/esm/ApiStalenessUpdateStaleness/index.d.ts +23 -0
  294. package/esm/ApiStalenessUpdateStaleness/index.d.ts.map +1 -0
  295. package/esm/ApiStalenessUpdateStaleness/index.js +49 -0
  296. package/esm/ApiStalenessUpdateStaleness/index.js.map +1 -0
  297. package/esm/ApiSystemProfileGetOperatingSystem/index.d.ts +88 -0
  298. package/esm/ApiSystemProfileGetOperatingSystem/index.d.ts.map +1 -0
  299. package/esm/ApiSystemProfileGetOperatingSystem/index.js +89 -0
  300. package/esm/ApiSystemProfileGetOperatingSystem/index.js.map +1 -0
  301. package/esm/ApiSystemProfileGetSapSids/index.d.ts +94 -0
  302. package/esm/ApiSystemProfileGetSapSids/index.d.ts.map +1 -0
  303. package/esm/ApiSystemProfileGetSapSids/index.js +92 -0
  304. package/esm/ApiSystemProfileGetSapSids/index.js.map +1 -0
  305. package/esm/ApiSystemProfileGetSapSystem/index.d.ts +88 -0
  306. package/esm/ApiSystemProfileGetSapSystem/index.d.ts.map +1 -0
  307. package/esm/ApiSystemProfileGetSapSystem/index.js +89 -0
  308. package/esm/ApiSystemProfileGetSapSystem/index.js.map +1 -0
  309. package/esm/ApiSystemProfileValidateSchema/index.d.ts +40 -0
  310. package/esm/ApiSystemProfileValidateSchema/index.d.ts.map +1 -0
  311. package/esm/ApiSystemProfileValidateSchema/index.js +54 -0
  312. package/esm/ApiSystemProfileValidateSchema/index.js.map +1 -0
  313. package/esm/ApiTagGetTags/index.d.ts +229 -0
  314. package/esm/ApiTagGetTags/index.d.ts.map +1 -0
  315. package/esm/ApiTagGetTags/index.js +181 -0
  316. package/esm/ApiTagGetTags/index.js.map +1 -0
  317. package/esm/ApiViewsCloneView/index.d.ts +23 -0
  318. package/esm/ApiViewsCloneView/index.d.ts.map +1 -0
  319. package/esm/ApiViewsCloneView/index.js +43 -0
  320. package/esm/ApiViewsCloneView/index.js.map +1 -0
  321. package/esm/ApiViewsCreateView/index.d.ts +23 -0
  322. package/esm/ApiViewsCreateView/index.d.ts.map +1 -0
  323. package/esm/ApiViewsCreateView/index.js +44 -0
  324. package/esm/ApiViewsCreateView/index.js.map +1 -0
  325. package/esm/ApiViewsDeleteDefaultView/index.d.ts +16 -0
  326. package/esm/ApiViewsDeleteDefaultView/index.d.ts.map +1 -0
  327. package/esm/ApiViewsDeleteDefaultView/index.js +42 -0
  328. package/esm/ApiViewsDeleteDefaultView/index.js.map +1 -0
  329. package/esm/ApiViewsDeleteView/index.d.ts +22 -0
  330. package/esm/ApiViewsDeleteView/index.d.ts.map +1 -0
  331. package/esm/ApiViewsDeleteView/index.js +43 -0
  332. package/esm/ApiViewsDeleteView/index.js.map +1 -0
  333. package/esm/ApiViewsGetViewById/index.d.ts +23 -0
  334. package/esm/ApiViewsGetViewById/index.d.ts.map +1 -0
  335. package/esm/ApiViewsGetViewById/index.js +43 -0
  336. package/esm/ApiViewsGetViewById/index.js.map +1 -0
  337. package/esm/ApiViewsGetViewsList/index.d.ts +29 -0
  338. package/esm/ApiViewsGetViewsList/index.d.ts.map +1 -0
  339. package/esm/ApiViewsGetViewsList/index.js +48 -0
  340. package/esm/ApiViewsGetViewsList/index.js.map +1 -0
  341. package/esm/ApiViewsPatchView/index.d.ts +29 -0
  342. package/esm/ApiViewsPatchView/index.d.ts.map +1 -0
  343. package/esm/ApiViewsPatchView/index.js +45 -0
  344. package/esm/ApiViewsPatchView/index.js.map +1 -0
  345. package/esm/ApiViewsSetDefaultView/index.d.ts +23 -0
  346. package/esm/ApiViewsSetDefaultView/index.d.ts.map +1 -0
  347. package/esm/ApiViewsSetDefaultView/index.js +44 -0
  348. package/esm/ApiViewsSetDefaultView/index.js.map +1 -0
  349. package/esm/api.d.ts +116 -0
  350. package/esm/api.d.ts.map +1 -0
  351. package/esm/api.js +52 -0
  352. package/esm/api.js.map +1 -0
  353. package/esm/index.d.ts +45 -0
  354. package/esm/index.d.ts.map +1 -0
  355. package/esm/index.js +45 -0
  356. package/esm/index.js.map +1 -0
  357. package/esm/types/index.d.ts +3901 -0
  358. package/esm/types/index.d.ts.map +1 -0
  359. package/esm/types/index.js +155 -0
  360. package/esm/types/index.js.map +1 -0
  361. package/index.d.ts +45 -0
  362. package/index.d.ts.map +1 -0
  363. package/index.js +92 -0
  364. package/index.js.map +1 -0
  365. package/package.json +53 -4
  366. package/types/index.d.ts +3901 -0
  367. package/types/index.d.ts.map +1 -0
  368. package/types/index.js +158 -0
  369. package/types/index.js.map +1 -0
  370. package/README.md +0 -3
@@ -0,0 +1,23 @@
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import { BaseAPI } from '@ohos-ports/redhat-cloud-services-javascript-clients-shared/base';
3
+ import type { GroupIn, GroupOutWithHostCount } from '../types';
4
+ export type ApiGroupCreateGroupParams = {
5
+ /**
6
+ * Data required to create a record for a group.
7
+ * @type { GroupIn }
8
+ * @memberof ApiGroupCreateGroupApi
9
+ */
10
+ groupIn: GroupIn;
11
+ options?: AxiosRequestConfig;
12
+ };
13
+ export type ApiGroupCreateGroupReturnType = GroupOutWithHostCount;
14
+ /**
15
+ * Creates a new group containing the hosts associated with the host IDs provided. <br /><br /> Required permissions: inventory:groups:write
16
+ * @summary Create a new group matching the provided name and list of hosts IDs
17
+ * @param {ApiGroupCreateGroupParams} config with all available params.
18
+ * @param {*} [options] Override http request option.
19
+ * @throws {RequiredError}
20
+ */
21
+ export declare const apiGroupCreateGroupParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ApiGroupCreateGroupParams] | [GroupIn, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<GroupOutWithHostCount, any, {}, any>>;
22
+ export default apiGroupCreateGroupParamCreator;
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ApiGroupCreateGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,EAAE,OAAO,EAAE,MAAM,uDAAuD,CAAC;AAGhF,OAAO,KAAK,EAAE,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAG/D,MAAM,MAAM,yBAAyB,GAAG;IACtC;;;;MAIE;IACF,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,qBAAqB,CAAC;AASlE;;;;;;EAME;AACF,eAAO,MAAM,+BAA+B,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,yBAAyB,CAAC,GAAG,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAC,gFAqClK,CAAA;AAED,eAAe,+BAA+B,CAAC"}
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.apiGroupCreateGroupParamCreator = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var common_1 = require("@ohos-ports/redhat-cloud-services-javascript-clients-shared/common");
6
+ var isApiGroupCreateGroupObjectParams = function (params) {
7
+ var l = params.length === 1;
8
+ if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
9
+ return true && Object.prototype.hasOwnProperty.call(params[0], 'groupIn');
10
+ }
11
+ return false;
12
+ };
13
+ /**
14
+ * Creates a new group containing the hosts associated with the host IDs provided. <br /><br /> Required permissions: inventory:groups:write
15
+ * @summary Create a new group matching the provided name and list of hosts IDs
16
+ * @param {ApiGroupCreateGroupParams} config with all available params.
17
+ * @param {*} [options] Override http request option.
18
+ * @throws {RequiredError}
19
+ */
20
+ var apiGroupCreateGroupParamCreator = function (sendRequest) {
21
+ var config = [];
22
+ for (var _i = 1; _i < arguments.length; _i++) {
23
+ config[_i - 1] = arguments[_i];
24
+ }
25
+ return tslib_1.__awaiter(void 0, void 0, void 0, function () {
26
+ var params, groupIn, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
27
+ return tslib_1.__generator(this, function (_b) {
28
+ params = isApiGroupCreateGroupObjectParams(config) ? config[0] : ['groupIn', 'options'].reduce(function (acc, curr, index) {
29
+ var _a;
30
+ return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
31
+ }, {});
32
+ groupIn = params.groupIn, _a = params.options, options = _a === void 0 ? {} : _a;
33
+ localVarPath = "/groups";
34
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
35
+ localVarRequestOptions = tslib_1.__assign({ method: 'POST' }, options);
36
+ localVarHeaderParameter = {};
37
+ localVarQueryParameter = {};
38
+ localVarHeaderParameter['Content-Type'] = 'application/json';
39
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
40
+ localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
41
+ args = {
42
+ urlObj: localVarUrlObj,
43
+ options: localVarRequestOptions,
44
+ serializeData: groupIn,
45
+ auth: [
46
+ {
47
+ // authentication ApiKeyAuth required
48
+ // in header with key required
49
+ authType: common_1.AuthTypeEnum.InHeader,
50
+ authKey: "x-rh-identity"
51
+ },
52
+ {
53
+ // authentication BearerAuth required
54
+ // bearer auth required
55
+ authType: common_1.AuthTypeEnum.Bearer,
56
+ }
57
+ ]
58
+ };
59
+ return [2 /*return*/, sendRequest(Promise.resolve(args))];
60
+ });
61
+ });
62
+ };
63
+ exports.apiGroupCreateGroupParamCreator = apiGroupCreateGroupParamCreator;
64
+ exports.default = exports.apiGroupCreateGroupParamCreator;
65
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ApiGroupCreateGroup/index.ts"],"names":[],"mappings":";;;;AACA,kFAA4T;AAoB5T,IAAM,iCAAiC,GAAG,UAAC,MAA+C;IACxF,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,CAAA;IAC3E,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,+BAA+B,GAAG,UAAO,WAAmC;IAAE,gBAAwE;SAAxE,UAAwE,EAAxE,qBAAwE,EAAxE,IAAwE;QAAxE,+BAAwE;;;;;YACzJ,MAAM,GAAG,iCAAiC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uCAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAA8B,CAAC;YACzL,OAAO,GAAmB,MAAM,QAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YACnC,YAAY,GAAG,SAAS,CAAC;YAEzB,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YACvD,sBAAsB,sBAAK,MAAM,EAAE,MAAgB,IAAK,OAAO,CAAC,CAAC;YACjE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAIzC,uBAAuB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;YAE7D,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;gBAC/B,aAAa,EAAE,OAAO;gBACtB,IAAI,EAAC;oBACL;wBACA,qCAAqC;wBACrC,8BAA8B;wBAC9B,QAAQ,EAAE,qBAAY,CAAC,QAAQ;wBAC/B,OAAO,EAAE,eAAe;qBACvB;oBACD;wBACA,qCAAqC;wBACrC,uBAAuB;wBACvB,QAAQ,EAAE,qBAAY,CAAC,MAAM;qBAC5B;iBACA;aACJ,CAAC;YAEF,sBAAO,WAAW,CAAgC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CAC5E,CAAA;AArCY,QAAA,+BAA+B,mCAqC3C;AAED,kBAAe,uCAA+B,CAAC"}
@@ -0,0 +1,22 @@
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import { BaseAPI } from '@ohos-ports/redhat-cloud-services-javascript-clients-shared/base';
3
+ export type ApiGroupDeleteGroupsParams = {
4
+ /**
5
+ * A comma-separated list of group IDs.
6
+ * @type { Array<string> }
7
+ * @memberof ApiGroupDeleteGroupsApi
8
+ */
9
+ groupIdList: Array<string>;
10
+ options?: AxiosRequestConfig;
11
+ };
12
+ export type ApiGroupDeleteGroupsReturnType = void;
13
+ /**
14
+ * Delete a list of groups. <br /><br /> Required permissions: inventory:groups:write
15
+ * @summary Delete a list of groups
16
+ * @param {ApiGroupDeleteGroupsParams} config with all available params.
17
+ * @param {*} [options] Override http request option.
18
+ * @throws {RequiredError}
19
+ */
20
+ export declare const apiGroupDeleteGroupsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ApiGroupDeleteGroupsParams] | [Array<string>, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}, any>>;
21
+ export default apiGroupDeleteGroupsParamCreator;
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ApiGroupDeleteGroups/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,EAAE,OAAO,EAAE,MAAM,uDAAuD,CAAC;AAMhF,MAAM,MAAM,0BAA0B,GAAG;IACvC;;;;MAIE;IACF,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAAC;AASlD;;;;;;EAME;AACF,eAAO,MAAM,gCAAgC,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,0BAA0B,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC,+DA8B1K,CAAA;AAED,eAAe,gCAAgC,CAAC"}
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.apiGroupDeleteGroupsParamCreator = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var common_1 = require("@ohos-ports/redhat-cloud-services-javascript-clients-shared/common");
6
+ var isApiGroupDeleteGroupsObjectParams = function (params) {
7
+ var l = params.length === 1;
8
+ if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
9
+ return true && Object.prototype.hasOwnProperty.call(params[0], 'groupIdList');
10
+ }
11
+ return false;
12
+ };
13
+ /**
14
+ * Delete a list of groups. <br /><br /> Required permissions: inventory:groups:write
15
+ * @summary Delete a list of groups
16
+ * @param {ApiGroupDeleteGroupsParams} config with all available params.
17
+ * @param {*} [options] Override http request option.
18
+ * @throws {RequiredError}
19
+ */
20
+ var apiGroupDeleteGroupsParamCreator = function (sendRequest) {
21
+ var config = [];
22
+ for (var _i = 1; _i < arguments.length; _i++) {
23
+ config[_i - 1] = arguments[_i];
24
+ }
25
+ return tslib_1.__awaiter(void 0, void 0, void 0, function () {
26
+ var params, groupIdList, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
27
+ return tslib_1.__generator(this, function (_b) {
28
+ params = isApiGroupDeleteGroupsObjectParams(config) ? config[0] : ['groupIdList', 'options'].reduce(function (acc, curr, index) {
29
+ var _a;
30
+ return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
31
+ }, {});
32
+ groupIdList = params.groupIdList, _a = params.options, options = _a === void 0 ? {} : _a;
33
+ localVarPath = "/groups/{group_id_list}"
34
+ .replace("{".concat("group_id_list", "}"), encodeURIComponent(String(groupIdList)));
35
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
36
+ localVarRequestOptions = tslib_1.__assign({ method: 'DELETE' }, options);
37
+ localVarHeaderParameter = {};
38
+ localVarQueryParameter = {};
39
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
40
+ localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
41
+ args = {
42
+ urlObj: localVarUrlObj,
43
+ options: localVarRequestOptions,
44
+ auth: [
45
+ {
46
+ // authentication ApiKeyAuth required
47
+ // in header with key required
48
+ authType: common_1.AuthTypeEnum.InHeader,
49
+ authKey: "x-rh-identity"
50
+ }
51
+ ]
52
+ };
53
+ return [2 /*return*/, sendRequest(Promise.resolve(args))];
54
+ });
55
+ });
56
+ };
57
+ exports.apiGroupDeleteGroupsParamCreator = apiGroupDeleteGroupsParamCreator;
58
+ exports.default = exports.apiGroupDeleteGroupsParamCreator;
59
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ApiGroupDeleteGroups/index.ts"],"names":[],"mappings":";;;;AACA,kFAA4T;AAoB5T,IAAM,kCAAkC,GAAG,UAAC,MAAgD;IAC1F,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,aAAa,CAAC,CAAA;IAC/E,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,gCAAgC,GAAG,UAAO,WAAmC;IAAE,gBAA+E;SAA/E,UAA+E,EAA/E,qBAA+E,EAA/E,IAA+E;QAA/E,+BAA+E;;;;;YACjK,MAAM,GAAG,kCAAkC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uCAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAA+B,CAAC;YAC/L,WAAW,GAAmB,MAAM,YAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YACvC,YAAY,GAAG,yBAAyB;iBACzC,OAAO,CAAC,WAAI,eAAe,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAExE,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YACvD,sBAAsB,sBAAK,MAAM,EAAE,QAAkB,IAAK,OAAO,CAAC,CAAC;YACnE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAIzC,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;gBAC/B,IAAI,EAAC;oBACL;wBACA,qCAAqC;wBACrC,8BAA8B;wBAC9B,QAAQ,EAAE,qBAAY,CAAC,QAAQ;wBAC/B,OAAO,EAAE,eAAe;qBACvB;iBACA;aACJ,CAAC;YAEF,sBAAO,WAAW,CAAiC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CAC7E,CAAA;AA9BY,QAAA,gCAAgC,oCA8B5C;AAED,kBAAe,wCAAgC,CAAC"}
@@ -0,0 +1,22 @@
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import { BaseAPI } from '@ohos-ports/redhat-cloud-services-javascript-clients-shared/base';
3
+ export type ApiGroupDeleteHostsFromDifferentGroupsParams = {
4
+ /**
5
+ * A comma-separated list of host IDs.
6
+ * @type { Array<string> }
7
+ * @memberof ApiGroupDeleteHostsFromDifferentGroupsApi
8
+ */
9
+ hostIdList: Array<string>;
10
+ options?: AxiosRequestConfig;
11
+ };
12
+ export type ApiGroupDeleteHostsFromDifferentGroupsReturnType = void;
13
+ /**
14
+ * Delete a list of hosts from the groups they are in. <br /><br /> Required permissions: inventory:groups:write
15
+ * @summary Delete a list of hosts from the groups they are in
16
+ * @param {ApiGroupDeleteHostsFromDifferentGroupsParams} config with all available params.
17
+ * @param {*} [options] Override http request option.
18
+ * @throws {RequiredError}
19
+ */
20
+ export declare const apiGroupDeleteHostsFromDifferentGroupsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ApiGroupDeleteHostsFromDifferentGroupsParams] | [Array<string>, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}, any>>;
21
+ export default apiGroupDeleteHostsFromDifferentGroupsParamCreator;
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ApiGroupDeleteHostsFromDifferentGroups/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,EAAE,OAAO,EAAE,MAAM,uDAAuD,CAAC;AAMhF,MAAM,MAAM,4CAA4C,GAAG;IACzD;;;;MAIE;IACF,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,gDAAgD,GAAG,IAAI,CAAC;AASpE;;;;;;EAME;AACF,eAAO,MAAM,kDAAkD,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,4CAA4C,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC,+DA8B9M,CAAA;AAED,eAAe,kDAAkD,CAAC"}
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.apiGroupDeleteHostsFromDifferentGroupsParamCreator = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var common_1 = require("@ohos-ports/redhat-cloud-services-javascript-clients-shared/common");
6
+ var isApiGroupDeleteHostsFromDifferentGroupsObjectParams = function (params) {
7
+ var l = params.length === 1;
8
+ if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
9
+ return true && Object.prototype.hasOwnProperty.call(params[0], 'hostIdList');
10
+ }
11
+ return false;
12
+ };
13
+ /**
14
+ * Delete a list of hosts from the groups they are in. <br /><br /> Required permissions: inventory:groups:write
15
+ * @summary Delete a list of hosts from the groups they are in
16
+ * @param {ApiGroupDeleteHostsFromDifferentGroupsParams} config with all available params.
17
+ * @param {*} [options] Override http request option.
18
+ * @throws {RequiredError}
19
+ */
20
+ var apiGroupDeleteHostsFromDifferentGroupsParamCreator = function (sendRequest) {
21
+ var config = [];
22
+ for (var _i = 1; _i < arguments.length; _i++) {
23
+ config[_i - 1] = arguments[_i];
24
+ }
25
+ return tslib_1.__awaiter(void 0, void 0, void 0, function () {
26
+ var params, hostIdList, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
27
+ return tslib_1.__generator(this, function (_b) {
28
+ params = isApiGroupDeleteHostsFromDifferentGroupsObjectParams(config) ? config[0] : ['hostIdList', 'options'].reduce(function (acc, curr, index) {
29
+ var _a;
30
+ return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
31
+ }, {});
32
+ hostIdList = params.hostIdList, _a = params.options, options = _a === void 0 ? {} : _a;
33
+ localVarPath = "/groups/hosts/{host_id_list}"
34
+ .replace("{".concat("host_id_list", "}"), encodeURIComponent(String(hostIdList)));
35
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
36
+ localVarRequestOptions = tslib_1.__assign({ method: 'DELETE' }, options);
37
+ localVarHeaderParameter = {};
38
+ localVarQueryParameter = {};
39
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
40
+ localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
41
+ args = {
42
+ urlObj: localVarUrlObj,
43
+ options: localVarRequestOptions,
44
+ auth: [
45
+ {
46
+ // authentication ApiKeyAuth required
47
+ // in header with key required
48
+ authType: common_1.AuthTypeEnum.InHeader,
49
+ authKey: "x-rh-identity"
50
+ }
51
+ ]
52
+ };
53
+ return [2 /*return*/, sendRequest(Promise.resolve(args))];
54
+ });
55
+ });
56
+ };
57
+ exports.apiGroupDeleteHostsFromDifferentGroupsParamCreator = apiGroupDeleteHostsFromDifferentGroupsParamCreator;
58
+ exports.default = exports.apiGroupDeleteHostsFromDifferentGroupsParamCreator;
59
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ApiGroupDeleteHostsFromDifferentGroups/index.ts"],"names":[],"mappings":";;;;AACA,kFAA4T;AAoB5T,IAAM,oDAAoD,GAAG,UAAC,MAAkE;IAC9H,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,CAAA;IAC9E,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,kDAAkD,GAAG,UAAO,WAAmC;IAAE,gBAAiG;SAAjG,UAAiG,EAAjG,qBAAiG,EAAjG,IAAiG;QAAjG,+BAAiG;;;;;YACrM,MAAM,GAAG,oDAAoD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uCAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAAiD,CAAC;YAClO,UAAU,GAAmB,MAAM,WAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YACtC,YAAY,GAAG,8BAA8B;iBAC9C,OAAO,CAAC,WAAI,cAAc,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;YAEtE,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YACvD,sBAAsB,sBAAK,MAAM,EAAE,QAAkB,IAAK,OAAO,CAAC,CAAC;YACnE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAIzC,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;gBAC/B,IAAI,EAAC;oBACL;wBACA,qCAAqC;wBACrC,8BAA8B;wBAC9B,QAAQ,EAAE,qBAAY,CAAC,QAAQ;wBAC/B,OAAO,EAAE,eAAe;qBACvB;iBACA;aACJ,CAAC;YAEF,sBAAO,WAAW,CAAmD,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CAC/F,CAAA;AA9BY,QAAA,kDAAkD,sDA8B9D;AAED,kBAAe,0DAAkD,CAAC"}
@@ -0,0 +1,73 @@
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import { BaseAPI } from '@ohos-ports/redhat-cloud-services-javascript-clients-shared/base';
3
+ import type { GroupQueryOutput } from '../types';
4
+ export type ApiGroupGetGroupListParams = {
5
+ /**
6
+ * Filter by group name
7
+ * @type { string }
8
+ * @memberof ApiGroupGetGroupListApi
9
+ */
10
+ name?: string;
11
+ /**
12
+ * A number of items to return per page.
13
+ * @type { number }
14
+ * @memberof ApiGroupGetGroupListApi
15
+ */
16
+ perPage?: number;
17
+ /**
18
+ * A page number of the items to return.
19
+ * @type { number }
20
+ * @memberof ApiGroupGetGroupListApi
21
+ */
22
+ page?: number;
23
+ /**
24
+ * Ordering field name
25
+ * @type { ApiGroupGetGroupListOrderByEnum }
26
+ * @memberof ApiGroupGetGroupListApi
27
+ */
28
+ orderBy?: ApiGroupGetGroupListOrderByEnum;
29
+ /**
30
+ * Direction of the ordering (case-insensitive); defaults to ASC for name, and to DESC for host_count and updated
31
+ * @type { string }
32
+ * @memberof ApiGroupGetGroupListApi
33
+ */
34
+ orderHow?: string;
35
+ /**
36
+ * The type of workspaces that should be returned.
37
+ * @type { ApiGroupGetGroupListGroupTypeEnum }
38
+ * @memberof ApiGroupGetGroupListApi
39
+ */
40
+ groupType?: ApiGroupGetGroupListGroupTypeEnum;
41
+ options?: AxiosRequestConfig;
42
+ };
43
+ /**
44
+ * @export
45
+ * @enum {string}
46
+ */
47
+ export declare const ApiGroupGetGroupListOrderByEnum: {
48
+ readonly Name: "name";
49
+ readonly HostCount: "host_count";
50
+ readonly Updated: "updated";
51
+ };
52
+ export type ApiGroupGetGroupListOrderByEnum = typeof ApiGroupGetGroupListOrderByEnum[keyof typeof ApiGroupGetGroupListOrderByEnum];
53
+ /**
54
+ * @export
55
+ * @enum {string}
56
+ */
57
+ export declare const ApiGroupGetGroupListGroupTypeEnum: {
58
+ readonly Standard: "standard";
59
+ readonly UngroupedHosts: "ungrouped-hosts";
60
+ readonly All: "all";
61
+ };
62
+ export type ApiGroupGetGroupListGroupTypeEnum = typeof ApiGroupGetGroupListGroupTypeEnum[keyof typeof ApiGroupGetGroupListGroupTypeEnum];
63
+ export type ApiGroupGetGroupListReturnType = GroupQueryOutput;
64
+ /**
65
+ * Read the entire list of all groups available to the account. <br /><br /> Required permissions: inventory:groups:read
66
+ * @summary Read the entire list of groups
67
+ * @param {ApiGroupGetGroupListParams} config with all available params.
68
+ * @param {*} [options] Override http request option.
69
+ * @throws {RequiredError}
70
+ */
71
+ export declare const apiGroupGetGroupListParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ApiGroupGetGroupListParams] | [string, number, number, ApiGroupGetGroupListOrderByEnum, string, ApiGroupGetGroupListGroupTypeEnum, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<GroupQueryOutput, any, {}, any>>;
72
+ export default apiGroupGetGroupListParamCreator;
73
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ApiGroupGetGroupList/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,EAAE,OAAO,EAAE,MAAM,uDAAuD,CAAC;AAGhF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAGjD,MAAM,MAAM,0BAA0B,GAAG;IACvC;;;;MAIE;IACF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;MAIE;IACF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;MAIE;IACF,OAAO,CAAC,EAAE,+BAA+B,CAAC;IAC1C;;;;MAIE;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;MAIE;IACF,SAAS,CAAC,EAAE,iCAAiC,CAAC;IAC9C,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AACD;;;IAGI;AACJ,eAAO,MAAM,+BAA+B;;;;CAIlC,CAAC;AACX,MAAM,MAAM,+BAA+B,GAAG,OAAO,+BAA+B,CAAC,MAAM,OAAO,+BAA+B,CAAC,CAAC;AACnI;;;IAGI;AACJ,eAAO,MAAM,iCAAiC;;;;CAIpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,OAAO,iCAAiC,CAAC,MAAM,OAAO,iCAAiC,CAAC,CAAC;AAEzI,MAAM,MAAM,8BAA8B,GAAG,gBAAgB,CAAC;AAS9D;;;;;;EAME;AACF,eAAO,MAAM,gCAAgC,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,0BAA0B,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,+BAA+B,EAAE,MAAM,EAAE,iCAAiC,EAAE,kBAAkB,CAAC,CAAC,2EAqD/P,CAAA;AAED,eAAe,gCAAgC,CAAC"}
@@ -0,0 +1,94 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.apiGroupGetGroupListParamCreator = exports.ApiGroupGetGroupListGroupTypeEnum = exports.ApiGroupGetGroupListOrderByEnum = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var common_1 = require("@ohos-ports/redhat-cloud-services-javascript-clients-shared/common");
6
+ /**
7
+ * @export
8
+ * @enum {string}
9
+ */
10
+ exports.ApiGroupGetGroupListOrderByEnum = {
11
+ Name: 'name',
12
+ HostCount: 'host_count',
13
+ Updated: 'updated'
14
+ };
15
+ /**
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ exports.ApiGroupGetGroupListGroupTypeEnum = {
20
+ Standard: 'standard',
21
+ UngroupedHosts: 'ungrouped-hosts',
22
+ All: 'all'
23
+ };
24
+ var isApiGroupGetGroupListObjectParams = function (params) {
25
+ var l = params.length === 1;
26
+ if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
27
+ return true;
28
+ }
29
+ return false;
30
+ };
31
+ /**
32
+ * Read the entire list of all groups available to the account. <br /><br /> Required permissions: inventory:groups:read
33
+ * @summary Read the entire list of groups
34
+ * @param {ApiGroupGetGroupListParams} config with all available params.
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ var apiGroupGetGroupListParamCreator = function (sendRequest) {
39
+ var config = [];
40
+ for (var _i = 1; _i < arguments.length; _i++) {
41
+ config[_i - 1] = arguments[_i];
42
+ }
43
+ return tslib_1.__awaiter(void 0, void 0, void 0, function () {
44
+ var params, name, perPage, page, orderBy, orderHow, groupType, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
45
+ return tslib_1.__generator(this, function (_b) {
46
+ params = isApiGroupGetGroupListObjectParams(config) ? config[0] : ['name', 'perPage', 'page', 'orderBy', 'orderHow', 'groupType', 'options'].reduce(function (acc, curr, index) {
47
+ var _a;
48
+ return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
49
+ }, {});
50
+ name = params.name, perPage = params.perPage, page = params.page, orderBy = params.orderBy, orderHow = params.orderHow, groupType = params.groupType, _a = params.options, options = _a === void 0 ? {} : _a;
51
+ localVarPath = "/groups";
52
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
53
+ localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
54
+ localVarHeaderParameter = {};
55
+ localVarQueryParameter = {};
56
+ if (name !== undefined) {
57
+ localVarQueryParameter['name'] = name;
58
+ }
59
+ if (perPage !== undefined) {
60
+ localVarQueryParameter['per_page'] = perPage;
61
+ }
62
+ if (page !== undefined) {
63
+ localVarQueryParameter['page'] = page;
64
+ }
65
+ if (orderBy !== undefined) {
66
+ localVarQueryParameter['order_by'] = orderBy;
67
+ }
68
+ if (orderHow !== undefined) {
69
+ localVarQueryParameter['order_how'] = orderHow;
70
+ }
71
+ if (groupType !== undefined) {
72
+ localVarQueryParameter['group_type'] = groupType;
73
+ }
74
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
75
+ localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
76
+ args = {
77
+ urlObj: localVarUrlObj,
78
+ options: localVarRequestOptions,
79
+ auth: [
80
+ {
81
+ // authentication ApiKeyAuth required
82
+ // in header with key required
83
+ authType: common_1.AuthTypeEnum.InHeader,
84
+ authKey: "x-rh-identity"
85
+ }
86
+ ]
87
+ };
88
+ return [2 /*return*/, sendRequest(Promise.resolve(args))];
89
+ });
90
+ });
91
+ };
92
+ exports.apiGroupGetGroupListParamCreator = apiGroupGetGroupListParamCreator;
93
+ exports.default = exports.apiGroupGetGroupListParamCreator;
94
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ApiGroupGetGroupList/index.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,57 @@
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import { BaseAPI } from '@ohos-ports/redhat-cloud-services-javascript-clients-shared/base';
3
+ import type { GroupQueryOutput } from '../types';
4
+ export type ApiGroupGetGroupsByIdParams = {
5
+ /**
6
+ * A comma-separated list of group IDs.
7
+ * @type { Array<string> }
8
+ * @memberof ApiGroupGetGroupsByIdApi
9
+ */
10
+ groupIdList: Array<string>;
11
+ /**
12
+ * A number of items to return per page.
13
+ * @type { number }
14
+ * @memberof ApiGroupGetGroupsByIdApi
15
+ */
16
+ perPage?: number;
17
+ /**
18
+ * A page number of the items to return.
19
+ * @type { number }
20
+ * @memberof ApiGroupGetGroupsByIdApi
21
+ */
22
+ page?: number;
23
+ /**
24
+ * Ordering field name
25
+ * @type { ApiGroupGetGroupsByIdOrderByEnum }
26
+ * @memberof ApiGroupGetGroupsByIdApi
27
+ */
28
+ orderBy?: ApiGroupGetGroupsByIdOrderByEnum;
29
+ /**
30
+ * Direction of the ordering (case-insensitive); defaults to ASC for name, and to DESC for host_count and updated
31
+ * @type { string }
32
+ * @memberof ApiGroupGetGroupsByIdApi
33
+ */
34
+ orderHow?: string;
35
+ options?: AxiosRequestConfig;
36
+ };
37
+ /**
38
+ * @export
39
+ * @enum {string}
40
+ */
41
+ export declare const ApiGroupGetGroupsByIdOrderByEnum: {
42
+ readonly Name: "name";
43
+ readonly HostCount: "host_count";
44
+ readonly Updated: "updated";
45
+ };
46
+ export type ApiGroupGetGroupsByIdOrderByEnum = typeof ApiGroupGetGroupsByIdOrderByEnum[keyof typeof ApiGroupGetGroupsByIdOrderByEnum];
47
+ export type ApiGroupGetGroupsByIdReturnType = GroupQueryOutput;
48
+ /**
49
+ * Find one or more groups by their IDs. <br /><br /> Required permissions: inventory:groups:read
50
+ * @summary Find groups by their IDs
51
+ * @param {ApiGroupGetGroupsByIdParams} config with all available params.
52
+ * @param {*} [options] Override http request option.
53
+ * @throws {RequiredError}
54
+ */
55
+ export declare const apiGroupGetGroupsByIdParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ApiGroupGetGroupsByIdParams] | [Array<string>, number, number, ApiGroupGetGroupsByIdOrderByEnum, string, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<GroupQueryOutput, any, {}, any>>;
56
+ export default apiGroupGetGroupsByIdParamCreator;
57
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ApiGroupGetGroupsById/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,EAAE,OAAO,EAAE,MAAM,uDAAuD,CAAC;AAGhF,OAAO,KAAK,EAAE,gBAAgB,EAAyB,MAAM,UAAU,CAAC;AAGxE,MAAM,MAAM,2BAA2B,GAAG;IACxC;;;;MAIE;IACF,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;MAIE;IACF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;MAIE;IACF,OAAO,CAAC,EAAE,gCAAgC,CAAC;IAC3C;;;;MAIE;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AACD;;;IAGI;AACJ,eAAO,MAAM,gCAAgC;;;;CAInC,CAAC;AACX,MAAM,MAAM,gCAAgC,GAAG,OAAO,gCAAgC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC;AAEtI,MAAM,MAAM,+BAA+B,GAAG,gBAAgB,CAAC;AAS/D;;;;;;EAME;AACF,eAAO,MAAM,iCAAiC,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,2BAA2B,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,gCAAgC,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,2EA8CtO,CAAA;AAED,eAAe,iCAAiC,CAAC"}
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.apiGroupGetGroupsByIdParamCreator = exports.ApiGroupGetGroupsByIdOrderByEnum = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var common_1 = require("@ohos-ports/redhat-cloud-services-javascript-clients-shared/common");
6
+ /**
7
+ * @export
8
+ * @enum {string}
9
+ */
10
+ exports.ApiGroupGetGroupsByIdOrderByEnum = {
11
+ Name: 'name',
12
+ HostCount: 'host_count',
13
+ Updated: 'updated'
14
+ };
15
+ var isApiGroupGetGroupsByIdObjectParams = function (params) {
16
+ var l = params.length === 1;
17
+ if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
18
+ return true && Object.prototype.hasOwnProperty.call(params[0], 'groupIdList');
19
+ }
20
+ return false;
21
+ };
22
+ /**
23
+ * Find one or more groups by their IDs. <br /><br /> Required permissions: inventory:groups:read
24
+ * @summary Find groups by their IDs
25
+ * @param {ApiGroupGetGroupsByIdParams} config with all available params.
26
+ * @param {*} [options] Override http request option.
27
+ * @throws {RequiredError}
28
+ */
29
+ var apiGroupGetGroupsByIdParamCreator = function (sendRequest) {
30
+ var config = [];
31
+ for (var _i = 1; _i < arguments.length; _i++) {
32
+ config[_i - 1] = arguments[_i];
33
+ }
34
+ return tslib_1.__awaiter(void 0, void 0, void 0, function () {
35
+ var params, groupIdList, perPage, page, orderBy, orderHow, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
36
+ return tslib_1.__generator(this, function (_b) {
37
+ params = isApiGroupGetGroupsByIdObjectParams(config) ? config[0] : ['groupIdList', 'perPage', 'page', 'orderBy', 'orderHow', 'options'].reduce(function (acc, curr, index) {
38
+ var _a;
39
+ return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
40
+ }, {});
41
+ groupIdList = params.groupIdList, perPage = params.perPage, page = params.page, orderBy = params.orderBy, orderHow = params.orderHow, _a = params.options, options = _a === void 0 ? {} : _a;
42
+ localVarPath = "/groups/{group_id_list}"
43
+ .replace("{".concat("group_id_list", "}"), encodeURIComponent(String(groupIdList)));
44
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
45
+ localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
46
+ localVarHeaderParameter = {};
47
+ localVarQueryParameter = {};
48
+ if (perPage !== undefined) {
49
+ localVarQueryParameter['per_page'] = perPage;
50
+ }
51
+ if (page !== undefined) {
52
+ localVarQueryParameter['page'] = page;
53
+ }
54
+ if (orderBy !== undefined) {
55
+ localVarQueryParameter['order_by'] = orderBy;
56
+ }
57
+ if (orderHow !== undefined) {
58
+ localVarQueryParameter['order_how'] = orderHow;
59
+ }
60
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
61
+ localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
62
+ args = {
63
+ urlObj: localVarUrlObj,
64
+ options: localVarRequestOptions,
65
+ auth: [
66
+ {
67
+ // authentication ApiKeyAuth required
68
+ // in header with key required
69
+ authType: common_1.AuthTypeEnum.InHeader,
70
+ authKey: "x-rh-identity"
71
+ }
72
+ ]
73
+ };
74
+ return [2 /*return*/, sendRequest(Promise.resolve(args))];
75
+ });
76
+ });
77
+ };
78
+ exports.apiGroupGetGroupsByIdParamCreator = apiGroupGetGroupsByIdParamCreator;
79
+ exports.default = exports.apiGroupGetGroupsByIdParamCreator;
80
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ApiGroupGetGroupsById/index.ts"],"names":[],"mappings":"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"}