@redhat-cloud-services/compliance-client 2.0.2 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (395) hide show
  1. package/esm/AssignRule/index.d.ts +39 -0
  2. package/esm/AssignRule/index.js +50 -0
  3. package/esm/AssignRule/index.js.map +1 -0
  4. package/esm/AssignRules/index.d.ts +41 -0
  5. package/esm/AssignRules/index.js +52 -0
  6. package/esm/AssignRules/index.js.map +1 -0
  7. package/esm/AssignSystem/index.d.ts +34 -0
  8. package/esm/AssignSystem/index.js +49 -0
  9. package/esm/AssignSystem/index.js.map +1 -0
  10. package/esm/AssignSystems/index.d.ts +35 -0
  11. package/esm/AssignSystems/index.js +51 -0
  12. package/esm/AssignSystems/index.js.map +1 -0
  13. package/esm/CreatePolicy/index.d.ts +28 -0
  14. package/esm/CreatePolicy/index.js +49 -0
  15. package/esm/CreatePolicy/index.js.map +1 -0
  16. package/esm/CreateTailoring/index.d.ts +34 -0
  17. package/esm/CreateTailoring/index.js +50 -0
  18. package/esm/CreateTailoring/index.js.map +1 -0
  19. package/esm/DeletePolicy/index.d.ts +28 -0
  20. package/esm/DeletePolicy/index.js +48 -0
  21. package/esm/DeletePolicy/index.js.map +1 -0
  22. package/esm/DeleteReport/index.d.ts +27 -0
  23. package/esm/DeleteReport/index.js +48 -0
  24. package/esm/DeleteReport/index.js.map +1 -0
  25. package/esm/Policies/index.d.ts +52 -0
  26. package/esm/Policies/index.js +62 -0
  27. package/esm/Policies/index.js.map +1 -0
  28. package/esm/Policy/index.d.ts +28 -0
  29. package/esm/Policy/index.js +48 -0
  30. package/esm/Policy/index.js.map +1 -0
  31. package/esm/PolicySystems/index.d.ts +64 -0
  32. package/esm/PolicySystems/index.js +66 -0
  33. package/esm/PolicySystems/index.js.map +1 -0
  34. package/esm/PolicySystemsOS/index.d.ts +34 -0
  35. package/esm/PolicySystemsOS/index.js +52 -0
  36. package/esm/PolicySystemsOS/index.js.map +1 -0
  37. package/esm/Profile/index.d.ts +34 -0
  38. package/esm/Profile/index.js +49 -0
  39. package/esm/Profile/index.js.map +1 -0
  40. package/esm/ProfileRule/index.d.ts +40 -0
  41. package/esm/ProfileRule/index.js +50 -0
  42. package/esm/ProfileRule/index.js.map +1 -0
  43. package/esm/ProfileRules/index.d.ts +64 -0
  44. package/esm/ProfileRules/index.js +64 -0
  45. package/esm/ProfileRules/index.js.map +1 -0
  46. package/esm/ProfileTree/index.d.ts +33 -0
  47. package/esm/ProfileTree/index.js +49 -0
  48. package/esm/ProfileTree/index.js.map +1 -0
  49. package/esm/Profiles/index.d.ts +58 -0
  50. package/esm/Profiles/index.js +63 -0
  51. package/esm/Profiles/index.js.map +1 -0
  52. package/esm/Report/index.d.ts +28 -0
  53. package/esm/Report/index.js +48 -0
  54. package/esm/Report/index.js.map +1 -0
  55. package/esm/ReportRuleResults/index.d.ts +64 -0
  56. package/esm/ReportRuleResults/index.js +64 -0
  57. package/esm/ReportRuleResults/index.js.map +1 -0
  58. package/esm/ReportStats/index.d.ts +29 -0
  59. package/esm/ReportStats/index.js +49 -0
  60. package/esm/ReportStats/index.js.map +1 -0
  61. package/esm/ReportSystem/index.d.ts +34 -0
  62. package/esm/ReportSystem/index.js +49 -0
  63. package/esm/ReportSystem/index.js.map +1 -0
  64. package/esm/ReportSystems/index.d.ts +64 -0
  65. package/esm/ReportSystems/index.js +66 -0
  66. package/esm/ReportSystems/index.js.map +1 -0
  67. package/esm/ReportSystemsOS/index.d.ts +34 -0
  68. package/esm/ReportSystemsOS/index.js +52 -0
  69. package/esm/ReportSystemsOS/index.js.map +1 -0
  70. package/esm/ReportTestResult/index.d.ts +34 -0
  71. package/esm/ReportTestResult/index.js +49 -0
  72. package/esm/ReportTestResult/index.js.map +1 -0
  73. package/esm/ReportTestResults/index.d.ts +64 -0
  74. package/esm/ReportTestResults/index.js +66 -0
  75. package/esm/ReportTestResults/index.js.map +1 -0
  76. package/esm/ReportTestResultsOS/index.d.ts +34 -0
  77. package/esm/ReportTestResultsOS/index.js +52 -0
  78. package/esm/ReportTestResultsOS/index.js.map +1 -0
  79. package/esm/ReportTestResultsSG/index.d.ts +28 -0
  80. package/esm/ReportTestResultsSG/index.js +49 -0
  81. package/esm/ReportTestResultsSG/index.js.map +1 -0
  82. package/esm/Reports/index.d.ts +52 -0
  83. package/esm/Reports/index.js +62 -0
  84. package/esm/Reports/index.js.map +1 -0
  85. package/esm/ReportsOS/index.d.ts +28 -0
  86. package/esm/ReportsOS/index.js +51 -0
  87. package/esm/ReportsOS/index.js.map +1 -0
  88. package/esm/Rule/index.d.ts +34 -0
  89. package/esm/Rule/index.js +49 -0
  90. package/esm/Rule/index.js.map +1 -0
  91. package/esm/RuleGroup/index.d.ts +34 -0
  92. package/esm/RuleGroup/index.js +49 -0
  93. package/esm/RuleGroup/index.js.map +1 -0
  94. package/esm/RuleGroups/index.d.ts +58 -0
  95. package/esm/RuleGroups/index.js +63 -0
  96. package/esm/RuleGroups/index.js.map +1 -0
  97. package/esm/Rules/index.d.ts +58 -0
  98. package/esm/Rules/index.js +63 -0
  99. package/esm/Rules/index.js.map +1 -0
  100. package/esm/SecurityGuide/index.d.ts +28 -0
  101. package/esm/SecurityGuide/index.js +48 -0
  102. package/esm/SecurityGuide/index.js.map +1 -0
  103. package/esm/SecurityGuideRuleTree/index.d.ts +27 -0
  104. package/esm/SecurityGuideRuleTree/index.js +48 -0
  105. package/esm/SecurityGuideRuleTree/index.js.map +1 -0
  106. package/esm/SecurityGuides/index.d.ts +52 -0
  107. package/esm/SecurityGuides/index.js +62 -0
  108. package/esm/SecurityGuides/index.js.map +1 -0
  109. package/esm/SecurityGuidesOS/index.d.ts +28 -0
  110. package/esm/SecurityGuidesOS/index.js +51 -0
  111. package/esm/SecurityGuidesOS/index.js.map +1 -0
  112. package/esm/SupportedProfiles/index.d.ts +52 -0
  113. package/esm/SupportedProfiles/index.js +62 -0
  114. package/esm/SupportedProfiles/index.js.map +1 -0
  115. package/esm/System/index.d.ts +28 -0
  116. package/esm/System/index.js +48 -0
  117. package/esm/System/index.js.map +1 -0
  118. package/esm/SystemReports/index.d.ts +58 -0
  119. package/esm/SystemReports/index.js +63 -0
  120. package/esm/SystemReports/index.js.map +1 -0
  121. package/esm/Systems/index.d.ts +58 -0
  122. package/esm/Systems/index.js +65 -0
  123. package/esm/Systems/index.js.map +1 -0
  124. package/esm/SystemsOS/index.d.ts +28 -0
  125. package/esm/SystemsOS/index.js +51 -0
  126. package/esm/SystemsOS/index.js.map +1 -0
  127. package/esm/SystemsPolicies/index.d.ts +58 -0
  128. package/esm/SystemsPolicies/index.js +63 -0
  129. package/esm/SystemsPolicies/index.js.map +1 -0
  130. package/esm/Tailoring/index.d.ts +34 -0
  131. package/esm/Tailoring/index.js +49 -0
  132. package/esm/Tailoring/index.js.map +1 -0
  133. package/esm/TailoringFile/index.d.ts +34 -0
  134. package/esm/TailoringFile/index.js +49 -0
  135. package/esm/TailoringFile/index.js.map +1 -0
  136. package/esm/TailoringRuleTree/index.d.ts +33 -0
  137. package/esm/TailoringRuleTree/index.js +49 -0
  138. package/esm/TailoringRuleTree/index.js.map +1 -0
  139. package/esm/TailoringRules/index.d.ts +64 -0
  140. package/esm/TailoringRules/index.js +64 -0
  141. package/esm/TailoringRules/index.js.map +1 -0
  142. package/esm/Tailorings/index.d.ts +58 -0
  143. package/esm/Tailorings/index.js +63 -0
  144. package/esm/Tailorings/index.js.map +1 -0
  145. package/esm/UnassignRule/index.d.ts +39 -0
  146. package/esm/UnassignRule/index.js +50 -0
  147. package/esm/UnassignRule/index.js.map +1 -0
  148. package/esm/UnassignSystem/index.d.ts +34 -0
  149. package/esm/UnassignSystem/index.js +49 -0
  150. package/esm/UnassignSystem/index.js.map +1 -0
  151. package/esm/UpdatePolicy/index.d.ts +34 -0
  152. package/esm/UpdatePolicy/index.js +50 -0
  153. package/esm/UpdatePolicy/index.js.map +1 -0
  154. package/esm/UpdateTailoring/index.d.ts +40 -0
  155. package/esm/UpdateTailoring/index.js +51 -0
  156. package/esm/UpdateTailoring/index.js.map +1 -0
  157. package/esm/ValueDefinition/index.d.ts +34 -0
  158. package/esm/ValueDefinition/index.js +49 -0
  159. package/esm/ValueDefinition/index.js.map +1 -0
  160. package/esm/ValueDefinitions/index.d.ts +58 -0
  161. package/esm/ValueDefinitions/index.js +63 -0
  162. package/esm/ValueDefinitions/index.js.map +1 -0
  163. package/esm/api.d.ts +115 -0
  164. package/esm/api.js +63 -0
  165. package/esm/api.js.map +1 -0
  166. package/esm/index.js +55 -0
  167. package/esm/index.js.map +1 -0
  168. package/esm/types/index.js +48 -0
  169. package/esm/types/index.js.map +1 -0
  170. package/index.d.ts +54 -0
  171. package/package.json +1 -1
  172. package/types/index.d.ts +1595 -0
  173. package/CHANGELOG.md +0 -98
  174. package/LICENSE +0 -201
  175. package/README.md +0 -76
  176. package/doc/.nojekyll +0 -1
  177. package/doc/README.md +0 -69
  178. package/doc/interfaces/AssignRulesRequest.md +0 -27
  179. package/doc/interfaces/CreatePolicy201Response.md +0 -27
  180. package/doc/interfaces/CreatePolicy201ResponseData.md +0 -27
  181. package/doc/interfaces/Errors.md +0 -27
  182. package/doc/interfaces/Links.md +0 -80
  183. package/doc/interfaces/Metadata.md +0 -97
  184. package/doc/interfaces/Policies200Response.md +0 -57
  185. package/doc/interfaces/Policy.md +0 -195
  186. package/doc/interfaces/PolicyUpdate.md +0 -63
  187. package/doc/interfaces/Profile.md +0 -110
  188. package/doc/interfaces/Profile200Response.md +0 -27
  189. package/doc/interfaces/Profile200ResponseData.md +0 -27
  190. package/doc/interfaces/Profiles200Response.md +0 -57
  191. package/doc/interfaces/Report.md +0 -229
  192. package/doc/interfaces/Report200Response.md +0 -27
  193. package/doc/interfaces/Report200ResponseData.md +0 -27
  194. package/doc/interfaces/ReportTestResults200Response.md +0 -57
  195. package/doc/interfaces/Reports200Response.md +0 -57
  196. package/doc/interfaces/Rule.md +0 -161
  197. package/doc/interfaces/Rule200Response.md +0 -27
  198. package/doc/interfaces/Rule200ResponseData.md +0 -27
  199. package/doc/interfaces/RuleGroup.md +0 -127
  200. package/doc/interfaces/RuleGroup200Response.md +0 -27
  201. package/doc/interfaces/RuleGroup200ResponseData.md +0 -27
  202. package/doc/interfaces/RuleGroups200Response.md +0 -57
  203. package/doc/interfaces/Rules200Response.md +0 -57
  204. package/doc/interfaces/SecurityGuide.md +0 -127
  205. package/doc/interfaces/SecurityGuide200Response.md +0 -27
  206. package/doc/interfaces/SecurityGuide200ResponseData.md +0 -27
  207. package/doc/interfaces/SecurityGuides200Response.md +0 -57
  208. package/doc/interfaces/SupportedProfile.md +0 -144
  209. package/doc/interfaces/SupportedProfiles200Response.md +0 -57
  210. package/doc/interfaces/System.md +0 -215
  211. package/doc/interfaces/System200Response.md +0 -27
  212. package/doc/interfaces/System200ResponseData.md +0 -27
  213. package/doc/interfaces/Systems200Response.md +0 -57
  214. package/doc/interfaces/Tailoring.md +0 -127
  215. package/doc/interfaces/Tailoring200Response.md +0 -27
  216. package/doc/interfaces/Tailoring200ResponseData.md +0 -27
  217. package/doc/interfaces/TailoringFile.md +0 -33
  218. package/doc/interfaces/Tailorings200Response.md +0 -57
  219. package/doc/interfaces/TestResult.md +0 -208
  220. package/doc/interfaces/ValueDefinition.md +0 -127
  221. package/doc/interfaces/ValueDefinition200Response.md +0 -27
  222. package/doc/interfaces/ValueDefinition200ResponseData.md +0 -27
  223. package/doc/interfaces/ValueDefinitions200Response.md +0 -57
  224. package/doc/modules.md +0 -1608
  225. /package/{dist/AssignRule → AssignRule}/index.d.ts +0 -0
  226. /package/{dist/AssignRule → AssignRule}/index.js +0 -0
  227. /package/{dist/AssignRule → AssignRule}/index.js.map +0 -0
  228. /package/{dist/AssignRules → AssignRules}/index.d.ts +0 -0
  229. /package/{dist/AssignRules → AssignRules}/index.js +0 -0
  230. /package/{dist/AssignRules → AssignRules}/index.js.map +0 -0
  231. /package/{dist/AssignSystem → AssignSystem}/index.d.ts +0 -0
  232. /package/{dist/AssignSystem → AssignSystem}/index.js +0 -0
  233. /package/{dist/AssignSystem → AssignSystem}/index.js.map +0 -0
  234. /package/{dist/AssignSystems → AssignSystems}/index.d.ts +0 -0
  235. /package/{dist/AssignSystems → AssignSystems}/index.js +0 -0
  236. /package/{dist/AssignSystems → AssignSystems}/index.js.map +0 -0
  237. /package/{dist/CreatePolicy → CreatePolicy}/index.d.ts +0 -0
  238. /package/{dist/CreatePolicy → CreatePolicy}/index.js +0 -0
  239. /package/{dist/CreatePolicy → CreatePolicy}/index.js.map +0 -0
  240. /package/{dist/CreateTailoring → CreateTailoring}/index.d.ts +0 -0
  241. /package/{dist/CreateTailoring → CreateTailoring}/index.js +0 -0
  242. /package/{dist/CreateTailoring → CreateTailoring}/index.js.map +0 -0
  243. /package/{dist/DeletePolicy → DeletePolicy}/index.d.ts +0 -0
  244. /package/{dist/DeletePolicy → DeletePolicy}/index.js +0 -0
  245. /package/{dist/DeletePolicy → DeletePolicy}/index.js.map +0 -0
  246. /package/{dist/DeleteReport → DeleteReport}/index.d.ts +0 -0
  247. /package/{dist/DeleteReport → DeleteReport}/index.js +0 -0
  248. /package/{dist/DeleteReport → DeleteReport}/index.js.map +0 -0
  249. /package/{dist/Policies → Policies}/index.d.ts +0 -0
  250. /package/{dist/Policies → Policies}/index.js +0 -0
  251. /package/{dist/Policies → Policies}/index.js.map +0 -0
  252. /package/{dist/Policy → Policy}/index.d.ts +0 -0
  253. /package/{dist/Policy → Policy}/index.js +0 -0
  254. /package/{dist/Policy → Policy}/index.js.map +0 -0
  255. /package/{dist/PolicySystems → PolicySystems}/index.d.ts +0 -0
  256. /package/{dist/PolicySystems → PolicySystems}/index.js +0 -0
  257. /package/{dist/PolicySystems → PolicySystems}/index.js.map +0 -0
  258. /package/{dist/PolicySystemsOS → PolicySystemsOS}/index.d.ts +0 -0
  259. /package/{dist/PolicySystemsOS → PolicySystemsOS}/index.js +0 -0
  260. /package/{dist/PolicySystemsOS → PolicySystemsOS}/index.js.map +0 -0
  261. /package/{dist/Profile → Profile}/index.d.ts +0 -0
  262. /package/{dist/Profile → Profile}/index.js +0 -0
  263. /package/{dist/Profile → Profile}/index.js.map +0 -0
  264. /package/{dist/ProfileRule → ProfileRule}/index.d.ts +0 -0
  265. /package/{dist/ProfileRule → ProfileRule}/index.js +0 -0
  266. /package/{dist/ProfileRule → ProfileRule}/index.js.map +0 -0
  267. /package/{dist/ProfileRules → ProfileRules}/index.d.ts +0 -0
  268. /package/{dist/ProfileRules → ProfileRules}/index.js +0 -0
  269. /package/{dist/ProfileRules → ProfileRules}/index.js.map +0 -0
  270. /package/{dist/ProfileTree → ProfileTree}/index.d.ts +0 -0
  271. /package/{dist/ProfileTree → ProfileTree}/index.js +0 -0
  272. /package/{dist/ProfileTree → ProfileTree}/index.js.map +0 -0
  273. /package/{dist/Profiles → Profiles}/index.d.ts +0 -0
  274. /package/{dist/Profiles → Profiles}/index.js +0 -0
  275. /package/{dist/Profiles → Profiles}/index.js.map +0 -0
  276. /package/{dist/Report → Report}/index.d.ts +0 -0
  277. /package/{dist/Report → Report}/index.js +0 -0
  278. /package/{dist/Report → Report}/index.js.map +0 -0
  279. /package/{dist/ReportRuleResults → ReportRuleResults}/index.d.ts +0 -0
  280. /package/{dist/ReportRuleResults → ReportRuleResults}/index.js +0 -0
  281. /package/{dist/ReportRuleResults → ReportRuleResults}/index.js.map +0 -0
  282. /package/{dist/ReportStats → ReportStats}/index.d.ts +0 -0
  283. /package/{dist/ReportStats → ReportStats}/index.js +0 -0
  284. /package/{dist/ReportStats → ReportStats}/index.js.map +0 -0
  285. /package/{dist/ReportSystem → ReportSystem}/index.d.ts +0 -0
  286. /package/{dist/ReportSystem → ReportSystem}/index.js +0 -0
  287. /package/{dist/ReportSystem → ReportSystem}/index.js.map +0 -0
  288. /package/{dist/ReportSystems → ReportSystems}/index.d.ts +0 -0
  289. /package/{dist/ReportSystems → ReportSystems}/index.js +0 -0
  290. /package/{dist/ReportSystems → ReportSystems}/index.js.map +0 -0
  291. /package/{dist/ReportSystemsOS → ReportSystemsOS}/index.d.ts +0 -0
  292. /package/{dist/ReportSystemsOS → ReportSystemsOS}/index.js +0 -0
  293. /package/{dist/ReportSystemsOS → ReportSystemsOS}/index.js.map +0 -0
  294. /package/{dist/ReportTestResult → ReportTestResult}/index.d.ts +0 -0
  295. /package/{dist/ReportTestResult → ReportTestResult}/index.js +0 -0
  296. /package/{dist/ReportTestResult → ReportTestResult}/index.js.map +0 -0
  297. /package/{dist/ReportTestResults → ReportTestResults}/index.d.ts +0 -0
  298. /package/{dist/ReportTestResults → ReportTestResults}/index.js +0 -0
  299. /package/{dist/ReportTestResults → ReportTestResults}/index.js.map +0 -0
  300. /package/{dist/ReportTestResultsOS → ReportTestResultsOS}/index.d.ts +0 -0
  301. /package/{dist/ReportTestResultsOS → ReportTestResultsOS}/index.js +0 -0
  302. /package/{dist/ReportTestResultsOS → ReportTestResultsOS}/index.js.map +0 -0
  303. /package/{dist/ReportTestResultsSG → ReportTestResultsSG}/index.d.ts +0 -0
  304. /package/{dist/ReportTestResultsSG → ReportTestResultsSG}/index.js +0 -0
  305. /package/{dist/ReportTestResultsSG → ReportTestResultsSG}/index.js.map +0 -0
  306. /package/{dist/Reports → Reports}/index.d.ts +0 -0
  307. /package/{dist/Reports → Reports}/index.js +0 -0
  308. /package/{dist/Reports → Reports}/index.js.map +0 -0
  309. /package/{dist/ReportsOS → ReportsOS}/index.d.ts +0 -0
  310. /package/{dist/ReportsOS → ReportsOS}/index.js +0 -0
  311. /package/{dist/ReportsOS → ReportsOS}/index.js.map +0 -0
  312. /package/{dist/Rule → Rule}/index.d.ts +0 -0
  313. /package/{dist/Rule → Rule}/index.js +0 -0
  314. /package/{dist/Rule → Rule}/index.js.map +0 -0
  315. /package/{dist/RuleGroup → RuleGroup}/index.d.ts +0 -0
  316. /package/{dist/RuleGroup → RuleGroup}/index.js +0 -0
  317. /package/{dist/RuleGroup → RuleGroup}/index.js.map +0 -0
  318. /package/{dist/RuleGroups → RuleGroups}/index.d.ts +0 -0
  319. /package/{dist/RuleGroups → RuleGroups}/index.js +0 -0
  320. /package/{dist/RuleGroups → RuleGroups}/index.js.map +0 -0
  321. /package/{dist/Rules → Rules}/index.d.ts +0 -0
  322. /package/{dist/Rules → Rules}/index.js +0 -0
  323. /package/{dist/Rules → Rules}/index.js.map +0 -0
  324. /package/{dist/SecurityGuide → SecurityGuide}/index.d.ts +0 -0
  325. /package/{dist/SecurityGuide → SecurityGuide}/index.js +0 -0
  326. /package/{dist/SecurityGuide → SecurityGuide}/index.js.map +0 -0
  327. /package/{dist/SecurityGuideRuleTree → SecurityGuideRuleTree}/index.d.ts +0 -0
  328. /package/{dist/SecurityGuideRuleTree → SecurityGuideRuleTree}/index.js +0 -0
  329. /package/{dist/SecurityGuideRuleTree → SecurityGuideRuleTree}/index.js.map +0 -0
  330. /package/{dist/SecurityGuides → SecurityGuides}/index.d.ts +0 -0
  331. /package/{dist/SecurityGuides → SecurityGuides}/index.js +0 -0
  332. /package/{dist/SecurityGuides → SecurityGuides}/index.js.map +0 -0
  333. /package/{dist/SecurityGuidesOS → SecurityGuidesOS}/index.d.ts +0 -0
  334. /package/{dist/SecurityGuidesOS → SecurityGuidesOS}/index.js +0 -0
  335. /package/{dist/SecurityGuidesOS → SecurityGuidesOS}/index.js.map +0 -0
  336. /package/{dist/SupportedProfiles → SupportedProfiles}/index.d.ts +0 -0
  337. /package/{dist/SupportedProfiles → SupportedProfiles}/index.js +0 -0
  338. /package/{dist/SupportedProfiles → SupportedProfiles}/index.js.map +0 -0
  339. /package/{dist/System → System}/index.d.ts +0 -0
  340. /package/{dist/System → System}/index.js +0 -0
  341. /package/{dist/System → System}/index.js.map +0 -0
  342. /package/{dist/SystemReports → SystemReports}/index.d.ts +0 -0
  343. /package/{dist/SystemReports → SystemReports}/index.js +0 -0
  344. /package/{dist/SystemReports → SystemReports}/index.js.map +0 -0
  345. /package/{dist/Systems → Systems}/index.d.ts +0 -0
  346. /package/{dist/Systems → Systems}/index.js +0 -0
  347. /package/{dist/Systems → Systems}/index.js.map +0 -0
  348. /package/{dist/SystemsOS → SystemsOS}/index.d.ts +0 -0
  349. /package/{dist/SystemsOS → SystemsOS}/index.js +0 -0
  350. /package/{dist/SystemsOS → SystemsOS}/index.js.map +0 -0
  351. /package/{dist/SystemsPolicies → SystemsPolicies}/index.d.ts +0 -0
  352. /package/{dist/SystemsPolicies → SystemsPolicies}/index.js +0 -0
  353. /package/{dist/SystemsPolicies → SystemsPolicies}/index.js.map +0 -0
  354. /package/{dist/Tailoring → Tailoring}/index.d.ts +0 -0
  355. /package/{dist/Tailoring → Tailoring}/index.js +0 -0
  356. /package/{dist/Tailoring → Tailoring}/index.js.map +0 -0
  357. /package/{dist/TailoringFile → TailoringFile}/index.d.ts +0 -0
  358. /package/{dist/TailoringFile → TailoringFile}/index.js +0 -0
  359. /package/{dist/TailoringFile → TailoringFile}/index.js.map +0 -0
  360. /package/{dist/TailoringRuleTree → TailoringRuleTree}/index.d.ts +0 -0
  361. /package/{dist/TailoringRuleTree → TailoringRuleTree}/index.js +0 -0
  362. /package/{dist/TailoringRuleTree → TailoringRuleTree}/index.js.map +0 -0
  363. /package/{dist/TailoringRules → TailoringRules}/index.d.ts +0 -0
  364. /package/{dist/TailoringRules → TailoringRules}/index.js +0 -0
  365. /package/{dist/TailoringRules → TailoringRules}/index.js.map +0 -0
  366. /package/{dist/Tailorings → Tailorings}/index.d.ts +0 -0
  367. /package/{dist/Tailorings → Tailorings}/index.js +0 -0
  368. /package/{dist/Tailorings → Tailorings}/index.js.map +0 -0
  369. /package/{dist/UnassignRule → UnassignRule}/index.d.ts +0 -0
  370. /package/{dist/UnassignRule → UnassignRule}/index.js +0 -0
  371. /package/{dist/UnassignRule → UnassignRule}/index.js.map +0 -0
  372. /package/{dist/UnassignSystem → UnassignSystem}/index.d.ts +0 -0
  373. /package/{dist/UnassignSystem → UnassignSystem}/index.js +0 -0
  374. /package/{dist/UnassignSystem → UnassignSystem}/index.js.map +0 -0
  375. /package/{dist/UpdatePolicy → UpdatePolicy}/index.d.ts +0 -0
  376. /package/{dist/UpdatePolicy → UpdatePolicy}/index.js +0 -0
  377. /package/{dist/UpdatePolicy → UpdatePolicy}/index.js.map +0 -0
  378. /package/{dist/UpdateTailoring → UpdateTailoring}/index.d.ts +0 -0
  379. /package/{dist/UpdateTailoring → UpdateTailoring}/index.js +0 -0
  380. /package/{dist/UpdateTailoring → UpdateTailoring}/index.js.map +0 -0
  381. /package/{dist/ValueDefinition → ValueDefinition}/index.d.ts +0 -0
  382. /package/{dist/ValueDefinition → ValueDefinition}/index.js +0 -0
  383. /package/{dist/ValueDefinition → ValueDefinition}/index.js.map +0 -0
  384. /package/{dist/ValueDefinitions → ValueDefinitions}/index.d.ts +0 -0
  385. /package/{dist/ValueDefinitions → ValueDefinitions}/index.js +0 -0
  386. /package/{dist/ValueDefinitions → ValueDefinitions}/index.js.map +0 -0
  387. /package/{dist/api.d.ts → api.d.ts} +0 -0
  388. /package/{dist/api.js → api.js} +0 -0
  389. /package/{dist/api.js.map → api.js.map} +0 -0
  390. /package/{dist → esm}/index.d.ts +0 -0
  391. /package/{dist → esm}/types/index.d.ts +0 -0
  392. /package/{dist/index.js → index.js} +0 -0
  393. /package/{dist/index.js.map → index.js.map} +0 -0
  394. /package/{dist/types → types}/index.js +0 -0
  395. /package/{dist/types → types}/index.js.map +0 -0
@@ -0,0 +1,34 @@
1
+ import type { AxiosPromise, AxiosRequestConfig } from 'axios';
2
+ import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
3
+ import type { System200Response } from '../types';
4
+ export type UnassignSystemParams = {
5
+ /**
6
+ *
7
+ * @type { any }
8
+ * @memberof UnassignSystemApi
9
+ */
10
+ systemId: any;
11
+ /**
12
+ *
13
+ * @type { any }
14
+ * @memberof UnassignSystemApi
15
+ */
16
+ policyId: any;
17
+ /**
18
+ * For internal use only
19
+ * @type { any }
20
+ * @memberof UnassignSystemApi
21
+ */
22
+ xRHIDENTITY?: any;
23
+ options?: AxiosRequestConfig;
24
+ };
25
+ export type UnassignSystemReturnType = AxiosPromise<System200Response>;
26
+ /**
27
+ * Unassigns a System from a Policy
28
+ * @summary Unassign a System from a Policy
29
+ * @param {UnassignSystemParams} config with all available params.
30
+ * @param {*} [options] Override http request option.
31
+ * @throws {RequiredError}
32
+ */
33
+ export declare const unassignSystemParamCreator: (...config: ([UnassignSystemParams] | [any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
34
+ export default unassignSystemParamCreator;
@@ -0,0 +1,49 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ // @ts-ignore
3
+ import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
4
+ var isUnassignSystemObjectParams = function (params) {
5
+ return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'systemId') && Object.prototype.hasOwnProperty.call(params, 'policyId') && true;
6
+ };
7
+ /**
8
+ * Unassigns a System from a Policy
9
+ * @summary Unassign a System from a Policy
10
+ * @param {UnassignSystemParams} config with all available params.
11
+ * @param {*} [options] Override http request option.
12
+ * @throws {RequiredError}
13
+ */
14
+ export var unassignSystemParamCreator = function () {
15
+ var config = [];
16
+ for (var _i = 0; _i < arguments.length; _i++) {
17
+ config[_i] = arguments[_i];
18
+ }
19
+ return __awaiter(void 0, void 0, void 0, function () {
20
+ var params, systemId, policyId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
21
+ return __generator(this, function (_b) {
22
+ params = isUnassignSystemObjectParams(config) ? config[0] : ['systemId', 'policyId', 'xRHIDENTITY', 'options'].reduce(function (acc, curr, index) {
23
+ var _a;
24
+ return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
25
+ }, {});
26
+ systemId = params.systemId, policyId = params.policyId, xRHIDENTITY = params.xRHIDENTITY, _a = params.options, options = _a === void 0 ? {} : _a;
27
+ localVarPath = "/policies/{policy_id}/systems/{system_id}"
28
+ .replace("{".concat("system_id", "}"), encodeURIComponent(String(systemId)))
29
+ .replace("{".concat("policy_id", "}"), encodeURIComponent(String(policyId)));
30
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31
+ localVarRequestOptions = __assign({ method: 'DELETE' }, options);
32
+ localVarHeaderParameter = {};
33
+ localVarQueryParameter = {};
34
+ if (xRHIDENTITY != null) {
35
+ localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
36
+ ? xRHIDENTITY
37
+ : JSON.stringify(xRHIDENTITY);
38
+ }
39
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40
+ localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
41
+ return [2 /*return*/, {
42
+ urlObj: localVarUrlObj,
43
+ options: localVarRequestOptions,
44
+ }];
45
+ });
46
+ });
47
+ };
48
+ export default unassignSystemParamCreator;
49
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../UnassignSystem/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAkCjU,IAAM,4BAA4B,GAAG,UAAC,MAA0C;IAC9E,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,IAAI,IAAI,CAAA;AAC5J,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,IAAM,0BAA0B,GAAG;IAAO,gBAAyE;SAAzE,UAAyE,EAAzE,qBAAyE,EAAzE,IAAyE;QAAzE,2BAAyE;;;;;YAChH,MAAM,GAAG,4BAA4B,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC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ClC,EAAC;;;CACL,CAAA;AAED,eAAe,0BAA0B,CAAC"}
@@ -0,0 +1,34 @@
1
+ import type { AxiosPromise, AxiosRequestConfig } from 'axios';
2
+ import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
3
+ import type { CreatePolicy201Response, PolicyUpdate } from '../types';
4
+ export type UpdatePolicyParams = {
5
+ /**
6
+ *
7
+ * @type { any }
8
+ * @memberof UpdatePolicyApi
9
+ */
10
+ policyId: any;
11
+ /**
12
+ * For internal use only
13
+ * @type { any }
14
+ * @memberof UpdatePolicyApi
15
+ */
16
+ xRHIDENTITY?: any;
17
+ /**
18
+ *
19
+ * @type { PolicyUpdate }
20
+ * @memberof UpdatePolicyApi
21
+ */
22
+ policyUpdate?: PolicyUpdate;
23
+ options?: AxiosRequestConfig;
24
+ };
25
+ export type UpdatePolicyReturnType = AxiosPromise<CreatePolicy201Response>;
26
+ /**
27
+ * Updates a Policy with the provided attributes
28
+ * @summary Update a Policy
29
+ * @param {UpdatePolicyParams} config with all available params.
30
+ * @param {*} [options] Override http request option.
31
+ * @throws {RequiredError}
32
+ */
33
+ export declare const updatePolicyParamCreator: (...config: ([UpdatePolicyParams] | [any, any, PolicyUpdate, AxiosRequestConfig])) => Promise<RequestArgs>;
34
+ export default updatePolicyParamCreator;
@@ -0,0 +1,50 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ // @ts-ignore
3
+ import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
4
+ var isUpdatePolicyObjectParams = function (params) {
5
+ return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'policyId') && true && true;
6
+ };
7
+ /**
8
+ * Updates a Policy with the provided attributes
9
+ * @summary Update a Policy
10
+ * @param {UpdatePolicyParams} config with all available params.
11
+ * @param {*} [options] Override http request option.
12
+ * @throws {RequiredError}
13
+ */
14
+ export var updatePolicyParamCreator = function () {
15
+ var config = [];
16
+ for (var _i = 0; _i < arguments.length; _i++) {
17
+ config[_i] = arguments[_i];
18
+ }
19
+ return __awaiter(void 0, void 0, void 0, function () {
20
+ var params, policyId, xRHIDENTITY, policyUpdate, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
21
+ return __generator(this, function (_b) {
22
+ params = isUpdatePolicyObjectParams(config) ? config[0] : ['policyId', 'xRHIDENTITY', 'policyUpdate', 'options'].reduce(function (acc, curr, index) {
23
+ var _a;
24
+ return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
25
+ }, {});
26
+ policyId = params.policyId, xRHIDENTITY = params.xRHIDENTITY, policyUpdate = params.policyUpdate, _a = params.options, options = _a === void 0 ? {} : _a;
27
+ localVarPath = "/policies/{policy_id}"
28
+ .replace("{".concat("policy_id", "}"), encodeURIComponent(String(policyId)));
29
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30
+ localVarRequestOptions = __assign({ method: 'PATCH' }, options);
31
+ localVarHeaderParameter = {};
32
+ localVarQueryParameter = {};
33
+ if (xRHIDENTITY != null) {
34
+ localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
35
+ ? xRHIDENTITY
36
+ : JSON.stringify(xRHIDENTITY);
37
+ }
38
+ localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
39
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40
+ localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
41
+ return [2 /*return*/, {
42
+ urlObj: localVarUrlObj,
43
+ options: localVarRequestOptions,
44
+ serializeData: policyUpdate,
45
+ }];
46
+ });
47
+ });
48
+ };
49
+ export default updatePolicyParamCreator;
50
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../UpdatePolicy/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA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Ae,CAAC,GAAG,OAAO,WAAW,KAAK,QAAQ;oBACtE,CAAC,CAAC,WAAW;oBACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;aACrC;YAID,uBAAuB,CAAC,cAAc,CAAC,GAAG,0BAA0B,CAAC;YAErE,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yBAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;oBAC/B,aAAa,EAAE,YAAY;iBAC9B,EAAC;;;CACL,CAAA;AAED,eAAe,wBAAwB,CAAC"}
@@ -0,0 +1,40 @@
1
+ import type { AxiosPromise, AxiosRequestConfig } from 'axios';
2
+ import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
3
+ import type { CreateTailoring201Response, Tailoring } from '../types';
4
+ export type UpdateTailoringParams = {
5
+ /**
6
+ *
7
+ * @type { any }
8
+ * @memberof UpdateTailoringApi
9
+ */
10
+ policyId: any;
11
+ /**
12
+ * UUID or OS minor version number
13
+ * @type { any }
14
+ * @memberof UpdateTailoringApi
15
+ */
16
+ tailoringId: any;
17
+ /**
18
+ * For internal use only
19
+ * @type { any }
20
+ * @memberof UpdateTailoringApi
21
+ */
22
+ xRHIDENTITY?: any;
23
+ /**
24
+ *
25
+ * @type { Tailoring }
26
+ * @memberof UpdateTailoringApi
27
+ */
28
+ tailoring?: Tailoring;
29
+ options?: AxiosRequestConfig;
30
+ };
31
+ export type UpdateTailoringReturnType = AxiosPromise<CreateTailoring201Response>;
32
+ /**
33
+ * Updates a Tailoring with the provided value_overrides
34
+ * @summary Update a Tailoring
35
+ * @param {UpdateTailoringParams} config with all available params.
36
+ * @param {*} [options] Override http request option.
37
+ * @throws {RequiredError}
38
+ */
39
+ export declare const updateTailoringParamCreator: (...config: ([UpdateTailoringParams] | [any, any, any, Tailoring, AxiosRequestConfig])) => Promise<RequestArgs>;
40
+ export default updateTailoringParamCreator;
@@ -0,0 +1,51 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ // @ts-ignore
3
+ import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
4
+ var isUpdateTailoringObjectParams = function (params) {
5
+ return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'policyId') && Object.prototype.hasOwnProperty.call(params, 'tailoringId') && true && true;
6
+ };
7
+ /**
8
+ * Updates a Tailoring with the provided value_overrides
9
+ * @summary Update a Tailoring
10
+ * @param {UpdateTailoringParams} config with all available params.
11
+ * @param {*} [options] Override http request option.
12
+ * @throws {RequiredError}
13
+ */
14
+ export var updateTailoringParamCreator = function () {
15
+ var config = [];
16
+ for (var _i = 0; _i < arguments.length; _i++) {
17
+ config[_i] = arguments[_i];
18
+ }
19
+ return __awaiter(void 0, void 0, void 0, function () {
20
+ var params, policyId, tailoringId, xRHIDENTITY, tailoring, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
21
+ return __generator(this, function (_b) {
22
+ params = isUpdateTailoringObjectParams(config) ? config[0] : ['policyId', 'tailoringId', 'xRHIDENTITY', 'tailoring', 'options'].reduce(function (acc, curr, index) {
23
+ var _a;
24
+ return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
25
+ }, {});
26
+ policyId = params.policyId, tailoringId = params.tailoringId, xRHIDENTITY = params.xRHIDENTITY, tailoring = params.tailoring, _a = params.options, options = _a === void 0 ? {} : _a;
27
+ localVarPath = "/policies/{policy_id}/tailorings/{tailoring_id}"
28
+ .replace("{".concat("policy_id", "}"), encodeURIComponent(String(policyId)))
29
+ .replace("{".concat("tailoring_id", "}"), encodeURIComponent(String(tailoringId)));
30
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31
+ localVarRequestOptions = __assign({ method: 'PATCH' }, options);
32
+ localVarHeaderParameter = {};
33
+ localVarQueryParameter = {};
34
+ if (xRHIDENTITY != null) {
35
+ localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
36
+ ? xRHIDENTITY
37
+ : JSON.stringify(xRHIDENTITY);
38
+ }
39
+ localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
40
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
41
+ localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
42
+ return [2 /*return*/, {
43
+ urlObj: localVarUrlObj,
44
+ options: localVarRequestOptions,
45
+ serializeData: tailoring,
46
+ }];
47
+ });
48
+ });
49
+ };
50
+ export default updateTailoringParamCreator;
51
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../UpdateTailoring/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAwCjU,IAAM,6BAA6B,GAAG,UAAC,MAA2C;IAChF,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,aAAa,CAAC,IAAI,IAAI,IAAI,IAAI,CAAA;AACvK,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,IAAM,2BAA2B,GAAG;IAAO,gBAAqF;SAArF,UAAqF,EAArF,qBAAqF,EAArF,IAAqF;QAArF,2BAAqF;;;;;YAC7H,MAAM,GAAG,6BAA6B,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE,aAAa,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,CAAC,CAAC,MAAM,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AAS;iBAC3B,EAAC;;;CACL,CAAA;AAED,eAAe,2BAA2B,CAAC"}
@@ -0,0 +1,34 @@
1
+ import type { AxiosPromise, AxiosRequestConfig } from 'axios';
2
+ import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
3
+ import type { ValueDefinition200Response } from '../types';
4
+ export type ValueDefinitionParams = {
5
+ /**
6
+ *
7
+ * @type { any }
8
+ * @memberof ValueDefinitionApi
9
+ */
10
+ securityGuideId: any;
11
+ /**
12
+ *
13
+ * @type { any }
14
+ * @memberof ValueDefinitionApi
15
+ */
16
+ valueDefinitionId: any;
17
+ /**
18
+ * For internal use only
19
+ * @type { any }
20
+ * @memberof ValueDefinitionApi
21
+ */
22
+ xRHIDENTITY?: any;
23
+ options?: AxiosRequestConfig;
24
+ };
25
+ export type ValueDefinitionReturnType = AxiosPromise<ValueDefinition200Response>;
26
+ /**
27
+ * Returns a Value Definition
28
+ * @summary Request a Value Definition
29
+ * @param {ValueDefinitionParams} config with all available params.
30
+ * @param {*} [options] Override http request option.
31
+ * @throws {RequiredError}
32
+ */
33
+ export declare const valueDefinitionParamCreator: (...config: ([ValueDefinitionParams] | [any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
34
+ export default valueDefinitionParamCreator;
@@ -0,0 +1,49 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ // @ts-ignore
3
+ import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
4
+ var isValueDefinitionObjectParams = function (params) {
5
+ return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'securityGuideId') && Object.prototype.hasOwnProperty.call(params, 'valueDefinitionId') && true;
6
+ };
7
+ /**
8
+ * Returns a Value Definition
9
+ * @summary Request a Value Definition
10
+ * @param {ValueDefinitionParams} config with all available params.
11
+ * @param {*} [options] Override http request option.
12
+ * @throws {RequiredError}
13
+ */
14
+ export var valueDefinitionParamCreator = function () {
15
+ var config = [];
16
+ for (var _i = 0; _i < arguments.length; _i++) {
17
+ config[_i] = arguments[_i];
18
+ }
19
+ return __awaiter(void 0, void 0, void 0, function () {
20
+ var params, securityGuideId, valueDefinitionId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
21
+ return __generator(this, function (_b) {
22
+ params = isValueDefinitionObjectParams(config) ? config[0] : ['securityGuideId', 'valueDefinitionId', 'xRHIDENTITY', 'options'].reduce(function (acc, curr, index) {
23
+ var _a;
24
+ return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
25
+ }, {});
26
+ securityGuideId = params.securityGuideId, valueDefinitionId = params.valueDefinitionId, xRHIDENTITY = params.xRHIDENTITY, _a = params.options, options = _a === void 0 ? {} : _a;
27
+ localVarPath = "/security_guides/{security_guide_id}/value_definitions/{value_definition_id}"
28
+ .replace("{".concat("security_guide_id", "}"), encodeURIComponent(String(securityGuideId)))
29
+ .replace("{".concat("value_definition_id", "}"), encodeURIComponent(String(valueDefinitionId)));
30
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31
+ localVarRequestOptions = __assign({ method: 'GET' }, options);
32
+ localVarHeaderParameter = {};
33
+ localVarQueryParameter = {};
34
+ if (xRHIDENTITY != null) {
35
+ localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
36
+ ? xRHIDENTITY
37
+ : JSON.stringify(xRHIDENTITY);
38
+ }
39
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40
+ localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
41
+ return [2 /*return*/, {
42
+ urlObj: localVarUrlObj,
43
+ options: localVarRequestOptions,
44
+ }];
45
+ });
46
+ });
47
+ };
48
+ export default valueDefinitionParamCreator;
49
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ValueDefinition/index.ts"],"names":[],"mappings":";AAEA,aAAa;A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AI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;YACvD,sBAAsB,cAAK,MAAM,EAAE,KAAe,IAAK,OAAO,CAAC,CAAC;YAChE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAEzC,IAAI,WAAW,IAAI,IAAI,EAAE;gBACrB,uBAAuB,CAAC,eAAe,CAAC,GAAG,OAAO,WAAW,KAAK,QAAQ;oBACtE,CAAC,CAAC,WAAW;oBACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;aACrC;YAID,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yBAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AAED,eAAe,2BAA2B,CAAC"}
@@ -0,0 +1,58 @@
1
+ import type { AxiosPromise, AxiosRequestConfig } from 'axios';
2
+ import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
3
+ import type { ValueDefinitions200Response } from '../types';
4
+ export type ValueDefinitionsParams = {
5
+ /**
6
+ *
7
+ * @type { any }
8
+ * @memberof ValueDefinitionsApi
9
+ */
10
+ securityGuideId: any;
11
+ /**
12
+ * For internal use only
13
+ * @type { any }
14
+ * @memberof ValueDefinitionsApi
15
+ */
16
+ xRHIDENTITY?: any;
17
+ /**
18
+ * Number of items to return per page
19
+ * @type { any }
20
+ * @memberof ValueDefinitionsApi
21
+ */
22
+ limit?: any;
23
+ /**
24
+ * Offset of first item of paginated response
25
+ * @type { any }
26
+ * @memberof ValueDefinitionsApi
27
+ */
28
+ offset?: any;
29
+ /**
30
+ * Indicates whether to return only resource IDs.
31
+ * @type { any }
32
+ * @memberof ValueDefinitionsApi
33
+ */
34
+ idsOnly?: any;
35
+ /**
36
+ * Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
37
+ * @type { any }
38
+ * @memberof ValueDefinitionsApi
39
+ */
40
+ sortBy?: any;
41
+ /**
42
+ * Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Value Definitions are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
43
+ * @type { any }
44
+ * @memberof ValueDefinitionsApi
45
+ */
46
+ filter?: any;
47
+ options?: AxiosRequestConfig;
48
+ };
49
+ export type ValueDefinitionsReturnType = AxiosPromise<ValueDefinitions200Response>;
50
+ /**
51
+ * Lists Value Definitions
52
+ * @summary Request Value Definitions
53
+ * @param {ValueDefinitionsParams} config with all available params.
54
+ * @param {*} [options] Override http request option.
55
+ * @throws {RequiredError}
56
+ */
57
+ export declare const valueDefinitionsParamCreator: (...config: ([ValueDefinitionsParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
58
+ export default valueDefinitionsParamCreator;
@@ -0,0 +1,63 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ // @ts-ignore
3
+ import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
4
+ var isValueDefinitionsObjectParams = function (params) {
5
+ return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'securityGuideId') && true && true && true && true && true && true;
6
+ };
7
+ /**
8
+ * Lists Value Definitions
9
+ * @summary Request Value Definitions
10
+ * @param {ValueDefinitionsParams} config with all available params.
11
+ * @param {*} [options] Override http request option.
12
+ * @throws {RequiredError}
13
+ */
14
+ export var valueDefinitionsParamCreator = function () {
15
+ var config = [];
16
+ for (var _i = 0; _i < arguments.length; _i++) {
17
+ config[_i] = arguments[_i];
18
+ }
19
+ return __awaiter(void 0, void 0, void 0, function () {
20
+ var params, securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
21
+ return __generator(this, function (_b) {
22
+ params = isValueDefinitionsObjectParams(config) ? config[0] : ['securityGuideId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
23
+ var _a;
24
+ return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
25
+ }, {});
26
+ securityGuideId = params.securityGuideId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
27
+ localVarPath = "/security_guides/{security_guide_id}/value_definitions"
28
+ .replace("{".concat("security_guide_id", "}"), encodeURIComponent(String(securityGuideId)));
29
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30
+ localVarRequestOptions = __assign({ method: 'GET' }, options);
31
+ localVarHeaderParameter = {};
32
+ localVarQueryParameter = {};
33
+ if (limit !== undefined) {
34
+ localVarQueryParameter['limit'] = limit;
35
+ }
36
+ if (offset !== undefined) {
37
+ localVarQueryParameter['offset'] = offset;
38
+ }
39
+ if (idsOnly !== undefined) {
40
+ localVarQueryParameter['ids_only'] = idsOnly;
41
+ }
42
+ if (sortBy !== undefined) {
43
+ localVarQueryParameter['sort_by'] = sortBy;
44
+ }
45
+ if (filter !== undefined) {
46
+ localVarQueryParameter['filter'] = filter;
47
+ }
48
+ if (xRHIDENTITY != null) {
49
+ localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
50
+ ? xRHIDENTITY
51
+ : JSON.stringify(xRHIDENTITY);
52
+ }
53
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
54
+ localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
55
+ return [2 /*return*/, {
56
+ urlObj: localVarUrlObj,
57
+ options: localVarRequestOptions,
58
+ }];
59
+ });
60
+ });
61
+ };
62
+ export default valueDefinitionsParamCreator;
63
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ValueDefinitions/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AA0DjU,IAAM,8BAA8B,GAAG,UAAC,MAA4C;IAClF,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,iBAAiB,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAA;AAC/I,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,IAAM,4BAA4B,GAAG;IAAO,gBAA+F;SAA/F,UAA+F,EAA/F,qBAA+F,EAA/F,IAA+F;QAA/F,2BAA+F;;;;;YACxI,MAAM,GAAG,8BAA8B,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE,aAAa,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uBAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAA2B,CAAC;YAC5P,eAAe,GAAwE,MAAM,gBAA9E,EAAE,WAAW,GAA2D,MAAM,YAAjE,EAAE,KAAK,GAAoD,MAAM,MAA1D,EAAE,MAAM,GA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AAC,OAAO,yBAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AAED,eAAe,4BAA4B,CAAC"}
package/esm/api.d.ts ADDED
@@ -0,0 +1,115 @@
1
+ import { ApiConfig } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
2
+ import { AssignRuleReturnType, AssignRulesReturnType, AssignSystemReturnType, AssignSystemsReturnType, CreatePolicyReturnType, CreateTailoringReturnType, DeletePolicyReturnType, DeleteReportReturnType, PoliciesReturnType, PolicyReturnType, PolicySystemsReturnType, PolicySystemsOSReturnType, ProfileReturnType, ProfileRuleReturnType, ProfileRulesReturnType, ProfileTreeReturnType, ProfilesReturnType, ReportReturnType, ReportRuleResultsReturnType, ReportStatsReturnType, ReportSystemReturnType, ReportSystemsReturnType, ReportSystemsOSReturnType, ReportTestResultReturnType, ReportTestResultsReturnType, ReportTestResultsOSReturnType, ReportTestResultsSGReturnType, ReportsReturnType, ReportsOSReturnType, RuleReturnType, RuleGroupReturnType, RuleGroupsReturnType, RulesReturnType, SecurityGuideReturnType, SecurityGuideRuleTreeReturnType, SecurityGuidesReturnType, SecurityGuidesOSReturnType, SupportedProfilesReturnType, SystemReturnType, SystemReportsReturnType, SystemsReturnType, SystemsOSReturnType, SystemsPoliciesReturnType, TailoringReturnType, TailoringFileReturnType, TailoringRuleTreeReturnType, TailoringRulesReturnType, TailoringsReturnType, UnassignRuleReturnType, UnassignSystemReturnType, UpdatePolicyReturnType, UpdateTailoringReturnType, ValueDefinitionReturnType, ValueDefinitionsReturnType } from './index';
3
+ type endpointReturnTypes = {
4
+ assignRule: AssignRuleReturnType;
5
+ assignRules: AssignRulesReturnType;
6
+ assignSystem: AssignSystemReturnType;
7
+ assignSystems: AssignSystemsReturnType;
8
+ createPolicy: CreatePolicyReturnType;
9
+ createTailoring: CreateTailoringReturnType;
10
+ deletePolicy: DeletePolicyReturnType;
11
+ deleteReport: DeleteReportReturnType;
12
+ policies: PoliciesReturnType;
13
+ policy: PolicyReturnType;
14
+ policySystems: PolicySystemsReturnType;
15
+ policySystemsOS: PolicySystemsOSReturnType;
16
+ profile: ProfileReturnType;
17
+ profileRule: ProfileRuleReturnType;
18
+ profileRules: ProfileRulesReturnType;
19
+ profileTree: ProfileTreeReturnType;
20
+ profiles: ProfilesReturnType;
21
+ report: ReportReturnType;
22
+ reportRuleResults: ReportRuleResultsReturnType;
23
+ reportStats: ReportStatsReturnType;
24
+ reportSystem: ReportSystemReturnType;
25
+ reportSystems: ReportSystemsReturnType;
26
+ reportSystemsOS: ReportSystemsOSReturnType;
27
+ reportTestResult: ReportTestResultReturnType;
28
+ reportTestResults: ReportTestResultsReturnType;
29
+ reportTestResultsOS: ReportTestResultsOSReturnType;
30
+ reportTestResultsSG: ReportTestResultsSGReturnType;
31
+ reports: ReportsReturnType;
32
+ reportsOS: ReportsOSReturnType;
33
+ rule: RuleReturnType;
34
+ ruleGroup: RuleGroupReturnType;
35
+ ruleGroups: RuleGroupsReturnType;
36
+ rules: RulesReturnType;
37
+ securityGuide: SecurityGuideReturnType;
38
+ securityGuideRuleTree: SecurityGuideRuleTreeReturnType;
39
+ securityGuides: SecurityGuidesReturnType;
40
+ securityGuidesOS: SecurityGuidesOSReturnType;
41
+ supportedProfiles: SupportedProfilesReturnType;
42
+ system: SystemReturnType;
43
+ systemReports: SystemReportsReturnType;
44
+ systems: SystemsReturnType;
45
+ systemsOS: SystemsOSReturnType;
46
+ systemsPolicies: SystemsPoliciesReturnType;
47
+ tailoring: TailoringReturnType;
48
+ tailoringFile: TailoringFileReturnType;
49
+ tailoringRuleTree: TailoringRuleTreeReturnType;
50
+ tailoringRules: TailoringRulesReturnType;
51
+ tailorings: TailoringsReturnType;
52
+ unassignRule: UnassignRuleReturnType;
53
+ unassignSystem: UnassignSystemReturnType;
54
+ updatePolicy: UpdatePolicyReturnType;
55
+ updateTailoring: UpdateTailoringReturnType;
56
+ valueDefinition: ValueDefinitionReturnType;
57
+ valueDefinitions: ValueDefinitionsReturnType;
58
+ };
59
+ export declare const ComplianceClient: (BASE_PATH: string, instance?: ApiConfig) => import("packages/shared/dist/base").BaseAPI & import("@redhat-cloud-services/javascript-clients-shared/dist/utils").APIFactoryResponse<{
60
+ assignRule: (...config: [import("./AssignRule").AssignRuleParams] | [any, any, any, any, import("axios").AxiosRequestConfig<any>]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
61
+ assignRules: (...config: [import("./AssignRules").AssignRulesParams] | [any, any, any, import("./types").AssignRulesRequest, import("axios").AxiosRequestConfig<any>]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
62
+ assignSystem: (...config: [import("./AssignSystem").AssignSystemParams] | [any, any, any, import("axios").AxiosRequestConfig<any>]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
63
+ assignSystems: (...config: [import("./AssignSystems").AssignSystemsParams] | [any, any, import("./types").AssignRulesRequest, import("axios").AxiosRequestConfig<any>]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
64
+ createPolicy: (...config: [import("./CreatePolicy").CreatePolicyParams] | [any, import("./types").Policy, import("axios").AxiosRequestConfig<any>]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
65
+ createTailoring: (...config: [import("./CreateTailoring").CreateTailoringParams] | [any, any, import("./types").TailoringCreate, import("axios").AxiosRequestConfig<any>]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
66
+ deletePolicy: (...config: [import("./DeletePolicy").DeletePolicyParams] | [any, any, import("axios").AxiosRequestConfig<any>]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
67
+ deleteReport: (...config: [any, any, import("axios").AxiosRequestConfig<any>] | [import("./DeleteReport").DeleteReportParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
68
+ policies: (...config: [import("./Policies").PoliciesParams] | [any, any, any, any, any, any, import("axios").AxiosRequestConfig<any>]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
69
+ policy: (...config: [any, any, import("axios").AxiosRequestConfig<any>] | [import("./Policy").PolicyParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
70
+ policySystems: (...config: [import("./PolicySystems").PolicySystemsParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig<any>]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
71
+ policySystemsOS: (...config: [any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./PolicySystemsOS").PolicySystemsOSParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
72
+ profile: (...config: [any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./Profile").ProfileParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
73
+ profileRule: (...config: [any, any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./ProfileRule").ProfileRuleParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
74
+ profileRules: (...config: [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./ProfileRules").ProfileRulesParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
75
+ profileTree: (...config: [any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./ProfileTree").ProfileTreeParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
76
+ profiles: (...config: [import("./Profiles").ProfilesParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig<any>]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
77
+ report: (...config: [any, any, import("axios").AxiosRequestConfig<any>] | [import("./Report").ReportParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
78
+ reportRuleResults: (...config: [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./ReportRuleResults").ReportRuleResultsParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
79
+ reportStats: (...config: [any, any, import("axios").AxiosRequestConfig<any>] | [import("./ReportStats").ReportStatsParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
80
+ reportSystem: (...config: [any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./ReportSystem").ReportSystemParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
81
+ reportSystems: (...config: [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./ReportSystems").ReportSystemsParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
82
+ reportSystemsOS: (...config: [any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./ReportSystemsOS").ReportSystemsOSParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
83
+ reportTestResult: (...config: [any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./ReportTestResult").ReportTestResultParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
84
+ reportTestResults: (...config: [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./ReportTestResults").ReportTestResultsParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
85
+ reportTestResultsOS: (...config: [any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./ReportTestResultsOS").ReportTestResultsOSParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
86
+ reportTestResultsSG: (...config: [any, any, import("axios").AxiosRequestConfig<any>] | [import("./ReportTestResultsSG").ReportTestResultsSGParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
87
+ reports: (...config: [any, any, any, any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./Reports").ReportsParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
88
+ reportsOS: (...config: [any, any, import("axios").AxiosRequestConfig<any>] | [import("./ReportsOS").ReportsOSParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
89
+ rule: (...config: [any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./Rule").RuleParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
90
+ ruleGroup: (...config: [any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./RuleGroup").RuleGroupParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
91
+ ruleGroups: (...config: [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./RuleGroups").RuleGroupsParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
92
+ rules: (...config: [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./Rules").RulesParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
93
+ securityGuide: (...config: [any, any, import("axios").AxiosRequestConfig<any>] | [import("./SecurityGuide").SecurityGuideParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
94
+ securityGuideRuleTree: (...config: [any, any, import("axios").AxiosRequestConfig<any>] | [import("./SecurityGuideRuleTree").SecurityGuideRuleTreeParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
95
+ securityGuides: (...config: [any, any, any, any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./SecurityGuides").SecurityGuidesParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
96
+ securityGuidesOS: (...config: [any, any, import("axios").AxiosRequestConfig<any>] | [import("./SecurityGuidesOS").SecurityGuidesOSParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
97
+ supportedProfiles: (...config: [any, any, any, any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./SupportedProfiles").SupportedProfilesParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
98
+ system: (...config: [any, any, import("axios").AxiosRequestConfig<any>] | [import("./System").SystemParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
99
+ systemReports: (...config: [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./SystemReports").SystemReportsParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
100
+ systems: (...config: [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./Systems").SystemsParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
101
+ systemsOS: (...config: [any, any, import("axios").AxiosRequestConfig<any>] | [import("./SystemsOS").SystemsOSParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
102
+ systemsPolicies: (...config: [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./SystemsPolicies").SystemsPoliciesParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
103
+ tailoring: (...config: [any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./Tailoring").TailoringParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
104
+ tailoringFile: (...config: [any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./TailoringFile").TailoringFileParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
105
+ tailoringRuleTree: (...config: [any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./TailoringRuleTree").TailoringRuleTreeParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
106
+ tailoringRules: (...config: [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./TailoringRules").TailoringRulesParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
107
+ tailorings: (...config: [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./Tailorings").TailoringsParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
108
+ unassignRule: (...config: [any, any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./UnassignRule").UnassignRuleParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
109
+ unassignSystem: (...config: [any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./UnassignSystem").UnassignSystemParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
110
+ updatePolicy: (...config: [import("./UpdatePolicy").UpdatePolicyParams] | [any, any, import("./types").PolicyUpdate, import("axios").AxiosRequestConfig<any>]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
111
+ updateTailoring: (...config: [import("./UpdateTailoring").UpdateTailoringParams] | [any, any, any, import("./types").Tailoring, import("axios").AxiosRequestConfig<any>]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
112
+ valueDefinition: (...config: [any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./ValueDefinition").ValueDefinitionParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
113
+ valueDefinitions: (...config: [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig<any>] | [import("./ValueDefinitions").ValueDefinitionsParams]) => Promise<import("@redhat-cloud-services/javascript-clients-shared/dist/common").RequestArgs>;
114
+ }, endpointReturnTypes>;
115
+ export default ComplianceClient;