@redhat-cloud-services/compliance-client 2.0.2 → 3.0.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.
- package/{dist/api.d.ts → api.d.ts} +1 -1
- package/esm/AssignRule/index.d.ts +39 -0
- package/esm/AssignRule/index.js +50 -0
- package/esm/AssignRule/index.js.map +1 -0
- package/esm/AssignRules/index.d.ts +41 -0
- package/esm/AssignRules/index.js +52 -0
- package/esm/AssignRules/index.js.map +1 -0
- package/esm/AssignSystem/index.d.ts +34 -0
- package/esm/AssignSystem/index.js +49 -0
- package/esm/AssignSystem/index.js.map +1 -0
- package/esm/AssignSystems/index.d.ts +35 -0
- package/esm/AssignSystems/index.js +51 -0
- package/esm/AssignSystems/index.js.map +1 -0
- package/esm/CreatePolicy/index.d.ts +28 -0
- package/esm/CreatePolicy/index.js +49 -0
- package/esm/CreatePolicy/index.js.map +1 -0
- package/esm/CreateTailoring/index.d.ts +34 -0
- package/esm/CreateTailoring/index.js +50 -0
- package/esm/CreateTailoring/index.js.map +1 -0
- package/esm/DeletePolicy/index.d.ts +28 -0
- package/esm/DeletePolicy/index.js +48 -0
- package/esm/DeletePolicy/index.js.map +1 -0
- package/esm/DeleteReport/index.d.ts +27 -0
- package/esm/DeleteReport/index.js +48 -0
- package/esm/DeleteReport/index.js.map +1 -0
- package/esm/Policies/index.d.ts +52 -0
- package/esm/Policies/index.js +62 -0
- package/esm/Policies/index.js.map +1 -0
- package/esm/Policy/index.d.ts +28 -0
- package/esm/Policy/index.js +48 -0
- package/esm/Policy/index.js.map +1 -0
- package/esm/PolicySystems/index.d.ts +64 -0
- package/esm/PolicySystems/index.js +66 -0
- package/esm/PolicySystems/index.js.map +1 -0
- package/esm/PolicySystemsOS/index.d.ts +34 -0
- package/esm/PolicySystemsOS/index.js +52 -0
- package/esm/PolicySystemsOS/index.js.map +1 -0
- package/esm/Profile/index.d.ts +34 -0
- package/esm/Profile/index.js +49 -0
- package/esm/Profile/index.js.map +1 -0
- package/esm/ProfileRule/index.d.ts +40 -0
- package/esm/ProfileRule/index.js +50 -0
- package/esm/ProfileRule/index.js.map +1 -0
- package/esm/ProfileRules/index.d.ts +64 -0
- package/esm/ProfileRules/index.js +64 -0
- package/esm/ProfileRules/index.js.map +1 -0
- package/esm/ProfileTree/index.d.ts +33 -0
- package/esm/ProfileTree/index.js +49 -0
- package/esm/ProfileTree/index.js.map +1 -0
- package/esm/Profiles/index.d.ts +58 -0
- package/esm/Profiles/index.js +63 -0
- package/esm/Profiles/index.js.map +1 -0
- package/esm/Report/index.d.ts +28 -0
- package/esm/Report/index.js +48 -0
- package/esm/Report/index.js.map +1 -0
- package/esm/ReportRuleResults/index.d.ts +64 -0
- package/esm/ReportRuleResults/index.js +64 -0
- package/esm/ReportRuleResults/index.js.map +1 -0
- package/esm/ReportStats/index.d.ts +29 -0
- package/esm/ReportStats/index.js +49 -0
- package/esm/ReportStats/index.js.map +1 -0
- package/esm/ReportSystem/index.d.ts +34 -0
- package/esm/ReportSystem/index.js +49 -0
- package/esm/ReportSystem/index.js.map +1 -0
- package/esm/ReportSystems/index.d.ts +64 -0
- package/esm/ReportSystems/index.js +66 -0
- package/esm/ReportSystems/index.js.map +1 -0
- package/esm/ReportSystemsOS/index.d.ts +34 -0
- package/esm/ReportSystemsOS/index.js +52 -0
- package/esm/ReportSystemsOS/index.js.map +1 -0
- package/esm/ReportTestResult/index.d.ts +34 -0
- package/esm/ReportTestResult/index.js +49 -0
- package/esm/ReportTestResult/index.js.map +1 -0
- package/esm/ReportTestResults/index.d.ts +64 -0
- package/esm/ReportTestResults/index.js +66 -0
- package/esm/ReportTestResults/index.js.map +1 -0
- package/esm/ReportTestResultsOS/index.d.ts +34 -0
- package/esm/ReportTestResultsOS/index.js +52 -0
- package/esm/ReportTestResultsOS/index.js.map +1 -0
- package/esm/ReportTestResultsSG/index.d.ts +28 -0
- package/esm/ReportTestResultsSG/index.js +49 -0
- package/esm/ReportTestResultsSG/index.js.map +1 -0
- package/esm/Reports/index.d.ts +52 -0
- package/esm/Reports/index.js +62 -0
- package/esm/Reports/index.js.map +1 -0
- package/esm/ReportsOS/index.d.ts +28 -0
- package/esm/ReportsOS/index.js +51 -0
- package/esm/ReportsOS/index.js.map +1 -0
- package/esm/Rule/index.d.ts +34 -0
- package/esm/Rule/index.js +49 -0
- package/esm/Rule/index.js.map +1 -0
- package/esm/RuleGroup/index.d.ts +34 -0
- package/esm/RuleGroup/index.js +49 -0
- package/esm/RuleGroup/index.js.map +1 -0
- package/esm/RuleGroups/index.d.ts +58 -0
- package/esm/RuleGroups/index.js +63 -0
- package/esm/RuleGroups/index.js.map +1 -0
- package/esm/Rules/index.d.ts +58 -0
- package/esm/Rules/index.js +63 -0
- package/esm/Rules/index.js.map +1 -0
- package/esm/SecurityGuide/index.d.ts +28 -0
- package/esm/SecurityGuide/index.js +48 -0
- package/esm/SecurityGuide/index.js.map +1 -0
- package/esm/SecurityGuideRuleTree/index.d.ts +27 -0
- package/esm/SecurityGuideRuleTree/index.js +48 -0
- package/esm/SecurityGuideRuleTree/index.js.map +1 -0
- package/esm/SecurityGuides/index.d.ts +52 -0
- package/esm/SecurityGuides/index.js +62 -0
- package/esm/SecurityGuides/index.js.map +1 -0
- package/esm/SecurityGuidesOS/index.d.ts +28 -0
- package/esm/SecurityGuidesOS/index.js +51 -0
- package/esm/SecurityGuidesOS/index.js.map +1 -0
- package/esm/SupportedProfiles/index.d.ts +52 -0
- package/esm/SupportedProfiles/index.js +62 -0
- package/esm/SupportedProfiles/index.js.map +1 -0
- package/esm/System/index.d.ts +28 -0
- package/esm/System/index.js +48 -0
- package/esm/System/index.js.map +1 -0
- package/esm/SystemReports/index.d.ts +58 -0
- package/esm/SystemReports/index.js +63 -0
- package/esm/SystemReports/index.js.map +1 -0
- package/esm/Systems/index.d.ts +58 -0
- package/esm/Systems/index.js +65 -0
- package/esm/Systems/index.js.map +1 -0
- package/esm/SystemsOS/index.d.ts +28 -0
- package/esm/SystemsOS/index.js +51 -0
- package/esm/SystemsOS/index.js.map +1 -0
- package/esm/SystemsPolicies/index.d.ts +58 -0
- package/esm/SystemsPolicies/index.js +63 -0
- package/esm/SystemsPolicies/index.js.map +1 -0
- package/esm/Tailoring/index.d.ts +34 -0
- package/esm/Tailoring/index.js +49 -0
- package/esm/Tailoring/index.js.map +1 -0
- package/esm/TailoringFile/index.d.ts +34 -0
- package/esm/TailoringFile/index.js +49 -0
- package/esm/TailoringFile/index.js.map +1 -0
- package/esm/TailoringRuleTree/index.d.ts +33 -0
- package/esm/TailoringRuleTree/index.js +49 -0
- package/esm/TailoringRuleTree/index.js.map +1 -0
- package/esm/TailoringRules/index.d.ts +64 -0
- package/esm/TailoringRules/index.js +64 -0
- package/esm/TailoringRules/index.js.map +1 -0
- package/esm/Tailorings/index.d.ts +58 -0
- package/esm/Tailorings/index.js +63 -0
- package/esm/Tailorings/index.js.map +1 -0
- package/esm/UnassignRule/index.d.ts +39 -0
- package/esm/UnassignRule/index.js +50 -0
- package/esm/UnassignRule/index.js.map +1 -0
- package/esm/UnassignSystem/index.d.ts +34 -0
- package/esm/UnassignSystem/index.js +49 -0
- package/esm/UnassignSystem/index.js.map +1 -0
- package/esm/UpdatePolicy/index.d.ts +34 -0
- package/esm/UpdatePolicy/index.js +50 -0
- package/esm/UpdatePolicy/index.js.map +1 -0
- package/esm/UpdateTailoring/index.d.ts +40 -0
- package/esm/UpdateTailoring/index.js +51 -0
- package/esm/UpdateTailoring/index.js.map +1 -0
- package/esm/ValueDefinition/index.d.ts +34 -0
- package/esm/ValueDefinition/index.js +49 -0
- package/esm/ValueDefinition/index.js.map +1 -0
- package/esm/ValueDefinitions/index.d.ts +58 -0
- package/esm/ValueDefinitions/index.js +63 -0
- package/esm/ValueDefinitions/index.js.map +1 -0
- package/esm/api.d.ts +115 -0
- package/esm/api.js +63 -0
- package/esm/api.js.map +1 -0
- package/esm/index.js +55 -0
- package/esm/index.js.map +1 -0
- package/esm/types/index.js +48 -0
- package/esm/types/index.js.map +1 -0
- package/index.d.ts +54 -0
- package/package.json +1 -1
- package/types/index.d.ts +1595 -0
- package/CHANGELOG.md +0 -98
- package/LICENSE +0 -201
- package/README.md +0 -76
- package/doc/.nojekyll +0 -1
- package/doc/README.md +0 -69
- package/doc/interfaces/AssignRulesRequest.md +0 -27
- package/doc/interfaces/CreatePolicy201Response.md +0 -27
- package/doc/interfaces/CreatePolicy201ResponseData.md +0 -27
- package/doc/interfaces/Errors.md +0 -27
- package/doc/interfaces/Links.md +0 -80
- package/doc/interfaces/Metadata.md +0 -97
- package/doc/interfaces/Policies200Response.md +0 -57
- package/doc/interfaces/Policy.md +0 -195
- package/doc/interfaces/PolicyUpdate.md +0 -63
- package/doc/interfaces/Profile.md +0 -110
- package/doc/interfaces/Profile200Response.md +0 -27
- package/doc/interfaces/Profile200ResponseData.md +0 -27
- package/doc/interfaces/Profiles200Response.md +0 -57
- package/doc/interfaces/Report.md +0 -229
- package/doc/interfaces/Report200Response.md +0 -27
- package/doc/interfaces/Report200ResponseData.md +0 -27
- package/doc/interfaces/ReportTestResults200Response.md +0 -57
- package/doc/interfaces/Reports200Response.md +0 -57
- package/doc/interfaces/Rule.md +0 -161
- package/doc/interfaces/Rule200Response.md +0 -27
- package/doc/interfaces/Rule200ResponseData.md +0 -27
- package/doc/interfaces/RuleGroup.md +0 -127
- package/doc/interfaces/RuleGroup200Response.md +0 -27
- package/doc/interfaces/RuleGroup200ResponseData.md +0 -27
- package/doc/interfaces/RuleGroups200Response.md +0 -57
- package/doc/interfaces/Rules200Response.md +0 -57
- package/doc/interfaces/SecurityGuide.md +0 -127
- package/doc/interfaces/SecurityGuide200Response.md +0 -27
- package/doc/interfaces/SecurityGuide200ResponseData.md +0 -27
- package/doc/interfaces/SecurityGuides200Response.md +0 -57
- package/doc/interfaces/SupportedProfile.md +0 -144
- package/doc/interfaces/SupportedProfiles200Response.md +0 -57
- package/doc/interfaces/System.md +0 -215
- package/doc/interfaces/System200Response.md +0 -27
- package/doc/interfaces/System200ResponseData.md +0 -27
- package/doc/interfaces/Systems200Response.md +0 -57
- package/doc/interfaces/Tailoring.md +0 -127
- package/doc/interfaces/Tailoring200Response.md +0 -27
- package/doc/interfaces/Tailoring200ResponseData.md +0 -27
- package/doc/interfaces/TailoringFile.md +0 -33
- package/doc/interfaces/Tailorings200Response.md +0 -57
- package/doc/interfaces/TestResult.md +0 -208
- package/doc/interfaces/ValueDefinition.md +0 -127
- package/doc/interfaces/ValueDefinition200Response.md +0 -27
- package/doc/interfaces/ValueDefinition200ResponseData.md +0 -27
- package/doc/interfaces/ValueDefinitions200Response.md +0 -57
- package/doc/modules.md +0 -1608
- /package/{dist/AssignRule → AssignRule}/index.d.ts +0 -0
- /package/{dist/AssignRule → AssignRule}/index.js +0 -0
- /package/{dist/AssignRule → AssignRule}/index.js.map +0 -0
- /package/{dist/AssignRules → AssignRules}/index.d.ts +0 -0
- /package/{dist/AssignRules → AssignRules}/index.js +0 -0
- /package/{dist/AssignRules → AssignRules}/index.js.map +0 -0
- /package/{dist/AssignSystem → AssignSystem}/index.d.ts +0 -0
- /package/{dist/AssignSystem → AssignSystem}/index.js +0 -0
- /package/{dist/AssignSystem → AssignSystem}/index.js.map +0 -0
- /package/{dist/AssignSystems → AssignSystems}/index.d.ts +0 -0
- /package/{dist/AssignSystems → AssignSystems}/index.js +0 -0
- /package/{dist/AssignSystems → AssignSystems}/index.js.map +0 -0
- /package/{dist/CreatePolicy → CreatePolicy}/index.d.ts +0 -0
- /package/{dist/CreatePolicy → CreatePolicy}/index.js +0 -0
- /package/{dist/CreatePolicy → CreatePolicy}/index.js.map +0 -0
- /package/{dist/CreateTailoring → CreateTailoring}/index.d.ts +0 -0
- /package/{dist/CreateTailoring → CreateTailoring}/index.js +0 -0
- /package/{dist/CreateTailoring → CreateTailoring}/index.js.map +0 -0
- /package/{dist/DeletePolicy → DeletePolicy}/index.d.ts +0 -0
- /package/{dist/DeletePolicy → DeletePolicy}/index.js +0 -0
- /package/{dist/DeletePolicy → DeletePolicy}/index.js.map +0 -0
- /package/{dist/DeleteReport → DeleteReport}/index.d.ts +0 -0
- /package/{dist/DeleteReport → DeleteReport}/index.js +0 -0
- /package/{dist/DeleteReport → DeleteReport}/index.js.map +0 -0
- /package/{dist/Policies → Policies}/index.d.ts +0 -0
- /package/{dist/Policies → Policies}/index.js +0 -0
- /package/{dist/Policies → Policies}/index.js.map +0 -0
- /package/{dist/Policy → Policy}/index.d.ts +0 -0
- /package/{dist/Policy → Policy}/index.js +0 -0
- /package/{dist/Policy → Policy}/index.js.map +0 -0
- /package/{dist/PolicySystems → PolicySystems}/index.d.ts +0 -0
- /package/{dist/PolicySystems → PolicySystems}/index.js +0 -0
- /package/{dist/PolicySystems → PolicySystems}/index.js.map +0 -0
- /package/{dist/PolicySystemsOS → PolicySystemsOS}/index.d.ts +0 -0
- /package/{dist/PolicySystemsOS → PolicySystemsOS}/index.js +0 -0
- /package/{dist/PolicySystemsOS → PolicySystemsOS}/index.js.map +0 -0
- /package/{dist/Profile → Profile}/index.d.ts +0 -0
- /package/{dist/Profile → Profile}/index.js +0 -0
- /package/{dist/Profile → Profile}/index.js.map +0 -0
- /package/{dist/ProfileRule → ProfileRule}/index.d.ts +0 -0
- /package/{dist/ProfileRule → ProfileRule}/index.js +0 -0
- /package/{dist/ProfileRule → ProfileRule}/index.js.map +0 -0
- /package/{dist/ProfileRules → ProfileRules}/index.d.ts +0 -0
- /package/{dist/ProfileRules → ProfileRules}/index.js +0 -0
- /package/{dist/ProfileRules → ProfileRules}/index.js.map +0 -0
- /package/{dist/ProfileTree → ProfileTree}/index.d.ts +0 -0
- /package/{dist/ProfileTree → ProfileTree}/index.js +0 -0
- /package/{dist/ProfileTree → ProfileTree}/index.js.map +0 -0
- /package/{dist/Profiles → Profiles}/index.d.ts +0 -0
- /package/{dist/Profiles → Profiles}/index.js +0 -0
- /package/{dist/Profiles → Profiles}/index.js.map +0 -0
- /package/{dist/Report → Report}/index.d.ts +0 -0
- /package/{dist/Report → Report}/index.js +0 -0
- /package/{dist/Report → Report}/index.js.map +0 -0
- /package/{dist/ReportRuleResults → ReportRuleResults}/index.d.ts +0 -0
- /package/{dist/ReportRuleResults → ReportRuleResults}/index.js +0 -0
- /package/{dist/ReportRuleResults → ReportRuleResults}/index.js.map +0 -0
- /package/{dist/ReportStats → ReportStats}/index.d.ts +0 -0
- /package/{dist/ReportStats → ReportStats}/index.js +0 -0
- /package/{dist/ReportStats → ReportStats}/index.js.map +0 -0
- /package/{dist/ReportSystem → ReportSystem}/index.d.ts +0 -0
- /package/{dist/ReportSystem → ReportSystem}/index.js +0 -0
- /package/{dist/ReportSystem → ReportSystem}/index.js.map +0 -0
- /package/{dist/ReportSystems → ReportSystems}/index.d.ts +0 -0
- /package/{dist/ReportSystems → ReportSystems}/index.js +0 -0
- /package/{dist/ReportSystems → ReportSystems}/index.js.map +0 -0
- /package/{dist/ReportSystemsOS → ReportSystemsOS}/index.d.ts +0 -0
- /package/{dist/ReportSystemsOS → ReportSystemsOS}/index.js +0 -0
- /package/{dist/ReportSystemsOS → ReportSystemsOS}/index.js.map +0 -0
- /package/{dist/ReportTestResult → ReportTestResult}/index.d.ts +0 -0
- /package/{dist/ReportTestResult → ReportTestResult}/index.js +0 -0
- /package/{dist/ReportTestResult → ReportTestResult}/index.js.map +0 -0
- /package/{dist/ReportTestResults → ReportTestResults}/index.d.ts +0 -0
- /package/{dist/ReportTestResults → ReportTestResults}/index.js +0 -0
- /package/{dist/ReportTestResults → ReportTestResults}/index.js.map +0 -0
- /package/{dist/ReportTestResultsOS → ReportTestResultsOS}/index.d.ts +0 -0
- /package/{dist/ReportTestResultsOS → ReportTestResultsOS}/index.js +0 -0
- /package/{dist/ReportTestResultsOS → ReportTestResultsOS}/index.js.map +0 -0
- /package/{dist/ReportTestResultsSG → ReportTestResultsSG}/index.d.ts +0 -0
- /package/{dist/ReportTestResultsSG → ReportTestResultsSG}/index.js +0 -0
- /package/{dist/ReportTestResultsSG → ReportTestResultsSG}/index.js.map +0 -0
- /package/{dist/Reports → Reports}/index.d.ts +0 -0
- /package/{dist/Reports → Reports}/index.js +0 -0
- /package/{dist/Reports → Reports}/index.js.map +0 -0
- /package/{dist/ReportsOS → ReportsOS}/index.d.ts +0 -0
- /package/{dist/ReportsOS → ReportsOS}/index.js +0 -0
- /package/{dist/ReportsOS → ReportsOS}/index.js.map +0 -0
- /package/{dist/Rule → Rule}/index.d.ts +0 -0
- /package/{dist/Rule → Rule}/index.js +0 -0
- /package/{dist/Rule → Rule}/index.js.map +0 -0
- /package/{dist/RuleGroup → RuleGroup}/index.d.ts +0 -0
- /package/{dist/RuleGroup → RuleGroup}/index.js +0 -0
- /package/{dist/RuleGroup → RuleGroup}/index.js.map +0 -0
- /package/{dist/RuleGroups → RuleGroups}/index.d.ts +0 -0
- /package/{dist/RuleGroups → RuleGroups}/index.js +0 -0
- /package/{dist/RuleGroups → RuleGroups}/index.js.map +0 -0
- /package/{dist/Rules → Rules}/index.d.ts +0 -0
- /package/{dist/Rules → Rules}/index.js +0 -0
- /package/{dist/Rules → Rules}/index.js.map +0 -0
- /package/{dist/SecurityGuide → SecurityGuide}/index.d.ts +0 -0
- /package/{dist/SecurityGuide → SecurityGuide}/index.js +0 -0
- /package/{dist/SecurityGuide → SecurityGuide}/index.js.map +0 -0
- /package/{dist/SecurityGuideRuleTree → SecurityGuideRuleTree}/index.d.ts +0 -0
- /package/{dist/SecurityGuideRuleTree → SecurityGuideRuleTree}/index.js +0 -0
- /package/{dist/SecurityGuideRuleTree → SecurityGuideRuleTree}/index.js.map +0 -0
- /package/{dist/SecurityGuides → SecurityGuides}/index.d.ts +0 -0
- /package/{dist/SecurityGuides → SecurityGuides}/index.js +0 -0
- /package/{dist/SecurityGuides → SecurityGuides}/index.js.map +0 -0
- /package/{dist/SecurityGuidesOS → SecurityGuidesOS}/index.d.ts +0 -0
- /package/{dist/SecurityGuidesOS → SecurityGuidesOS}/index.js +0 -0
- /package/{dist/SecurityGuidesOS → SecurityGuidesOS}/index.js.map +0 -0
- /package/{dist/SupportedProfiles → SupportedProfiles}/index.d.ts +0 -0
- /package/{dist/SupportedProfiles → SupportedProfiles}/index.js +0 -0
- /package/{dist/SupportedProfiles → SupportedProfiles}/index.js.map +0 -0
- /package/{dist/System → System}/index.d.ts +0 -0
- /package/{dist/System → System}/index.js +0 -0
- /package/{dist/System → System}/index.js.map +0 -0
- /package/{dist/SystemReports → SystemReports}/index.d.ts +0 -0
- /package/{dist/SystemReports → SystemReports}/index.js +0 -0
- /package/{dist/SystemReports → SystemReports}/index.js.map +0 -0
- /package/{dist/Systems → Systems}/index.d.ts +0 -0
- /package/{dist/Systems → Systems}/index.js +0 -0
- /package/{dist/Systems → Systems}/index.js.map +0 -0
- /package/{dist/SystemsOS → SystemsOS}/index.d.ts +0 -0
- /package/{dist/SystemsOS → SystemsOS}/index.js +0 -0
- /package/{dist/SystemsOS → SystemsOS}/index.js.map +0 -0
- /package/{dist/SystemsPolicies → SystemsPolicies}/index.d.ts +0 -0
- /package/{dist/SystemsPolicies → SystemsPolicies}/index.js +0 -0
- /package/{dist/SystemsPolicies → SystemsPolicies}/index.js.map +0 -0
- /package/{dist/Tailoring → Tailoring}/index.d.ts +0 -0
- /package/{dist/Tailoring → Tailoring}/index.js +0 -0
- /package/{dist/Tailoring → Tailoring}/index.js.map +0 -0
- /package/{dist/TailoringFile → TailoringFile}/index.d.ts +0 -0
- /package/{dist/TailoringFile → TailoringFile}/index.js +0 -0
- /package/{dist/TailoringFile → TailoringFile}/index.js.map +0 -0
- /package/{dist/TailoringRuleTree → TailoringRuleTree}/index.d.ts +0 -0
- /package/{dist/TailoringRuleTree → TailoringRuleTree}/index.js +0 -0
- /package/{dist/TailoringRuleTree → TailoringRuleTree}/index.js.map +0 -0
- /package/{dist/TailoringRules → TailoringRules}/index.d.ts +0 -0
- /package/{dist/TailoringRules → TailoringRules}/index.js +0 -0
- /package/{dist/TailoringRules → TailoringRules}/index.js.map +0 -0
- /package/{dist/Tailorings → Tailorings}/index.d.ts +0 -0
- /package/{dist/Tailorings → Tailorings}/index.js +0 -0
- /package/{dist/Tailorings → Tailorings}/index.js.map +0 -0
- /package/{dist/UnassignRule → UnassignRule}/index.d.ts +0 -0
- /package/{dist/UnassignRule → UnassignRule}/index.js +0 -0
- /package/{dist/UnassignRule → UnassignRule}/index.js.map +0 -0
- /package/{dist/UnassignSystem → UnassignSystem}/index.d.ts +0 -0
- /package/{dist/UnassignSystem → UnassignSystem}/index.js +0 -0
- /package/{dist/UnassignSystem → UnassignSystem}/index.js.map +0 -0
- /package/{dist/UpdatePolicy → UpdatePolicy}/index.d.ts +0 -0
- /package/{dist/UpdatePolicy → UpdatePolicy}/index.js +0 -0
- /package/{dist/UpdatePolicy → UpdatePolicy}/index.js.map +0 -0
- /package/{dist/UpdateTailoring → UpdateTailoring}/index.d.ts +0 -0
- /package/{dist/UpdateTailoring → UpdateTailoring}/index.js +0 -0
- /package/{dist/UpdateTailoring → UpdateTailoring}/index.js.map +0 -0
- /package/{dist/ValueDefinition → ValueDefinition}/index.d.ts +0 -0
- /package/{dist/ValueDefinition → ValueDefinition}/index.js +0 -0
- /package/{dist/ValueDefinition → ValueDefinition}/index.js.map +0 -0
- /package/{dist/ValueDefinitions → ValueDefinitions}/index.d.ts +0 -0
- /package/{dist/ValueDefinitions → ValueDefinitions}/index.js +0 -0
- /package/{dist/ValueDefinitions → ValueDefinitions}/index.js.map +0 -0
- /package/{dist/api.js → api.js} +0 -0
- /package/{dist/api.js.map → api.js.map} +0 -0
- /package/{dist → esm}/index.d.ts +0 -0
- /package/{dist → esm}/types/index.d.ts +0 -0
- /package/{dist/index.js → index.js} +0 -0
- /package/{dist/index.js.map → index.js.map} +0 -0
- /package/{dist/types → types}/index.js +0 -0
- /package/{dist/types → types}/index.js.map +0 -0
|
@@ -0,0 +1,64 @@
|
|
|
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 isReportRuleResultsObjectParams = function (params) {
|
|
5
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'testResultId') && Object.prototype.hasOwnProperty.call(params, 'reportId') && true && true && true && true && true && true;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Lists Rule Results under a Report
|
|
9
|
+
* @summary Request Rule Results under a Report
|
|
10
|
+
* @param {ReportRuleResultsParams} config with all available params.
|
|
11
|
+
* @param {*} [options] Override http request option.
|
|
12
|
+
* @throws {RequiredError}
|
|
13
|
+
*/
|
|
14
|
+
export var reportRuleResultsParamCreator = 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, testResultId, reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
21
|
+
return __generator(this, function (_b) {
|
|
22
|
+
params = isReportRuleResultsObjectParams(config) ? config[0] : ['testResultId', 'reportId', '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
|
+
testResultId = params.testResultId, reportId = params.reportId, 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 = "/reports/{report_id}/test_results/{test_result_id}/rule_results"
|
|
28
|
+
.replace("{".concat("test_result_id", "}"), encodeURIComponent(String(testResultId)))
|
|
29
|
+
.replace("{".concat("report_id", "}"), encodeURIComponent(String(reportId)));
|
|
30
|
+
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31
|
+
localVarRequestOptions = __assign({ method: 'GET' }, options);
|
|
32
|
+
localVarHeaderParameter = {};
|
|
33
|
+
localVarQueryParameter = {};
|
|
34
|
+
if (limit !== undefined) {
|
|
35
|
+
localVarQueryParameter['limit'] = limit;
|
|
36
|
+
}
|
|
37
|
+
if (offset !== undefined) {
|
|
38
|
+
localVarQueryParameter['offset'] = offset;
|
|
39
|
+
}
|
|
40
|
+
if (idsOnly !== undefined) {
|
|
41
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
42
|
+
}
|
|
43
|
+
if (sortBy !== undefined) {
|
|
44
|
+
localVarQueryParameter['sort_by'] = sortBy;
|
|
45
|
+
}
|
|
46
|
+
if (filter !== undefined) {
|
|
47
|
+
localVarQueryParameter['filter'] = filter;
|
|
48
|
+
}
|
|
49
|
+
if (xRHIDENTITY != null) {
|
|
50
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
51
|
+
? xRHIDENTITY
|
|
52
|
+
: JSON.stringify(xRHIDENTITY);
|
|
53
|
+
}
|
|
54
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
55
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
56
|
+
return [2 /*return*/, {
|
|
57
|
+
urlObj: localVarUrlObj,
|
|
58
|
+
options: localVarRequestOptions,
|
|
59
|
+
}];
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
};
|
|
63
|
+
export default reportRuleResultsParamCreator;
|
|
64
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ReportRuleResults/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8D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,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AAED,eAAe,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
import type { ReportStats200Response } from '../types';
|
|
4
|
+
export type ReportStatsParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { any }
|
|
8
|
+
* @memberof ReportStatsApi
|
|
9
|
+
*/
|
|
10
|
+
reportId: any;
|
|
11
|
+
/**
|
|
12
|
+
* For internal use only
|
|
13
|
+
* @type { any }
|
|
14
|
+
* @memberof ReportStatsApi
|
|
15
|
+
*/
|
|
16
|
+
xRHIDENTITY?: any;
|
|
17
|
+
options?: AxiosRequestConfig;
|
|
18
|
+
};
|
|
19
|
+
export type ReportStatsReturnType = AxiosPromise<ReportStats200Response>;
|
|
20
|
+
/**
|
|
21
|
+
* Returns detailed stats for a Report
|
|
22
|
+
* @summary Request detailed stats for a Report
|
|
23
|
+
* @param {ReportStatsParams} config with all available params.
|
|
24
|
+
* @param {*} [options] Override http request option.
|
|
25
|
+
* @deprecated
|
|
26
|
+
* @throws {RequiredError}
|
|
27
|
+
*/
|
|
28
|
+
export declare const reportStatsParamCreator: (...config: ([ReportStatsParams] | [any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
29
|
+
export default reportStatsParamCreator;
|
|
@@ -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 isReportStatsObjectParams = function (params) {
|
|
5
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'reportId') && true;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Returns detailed stats for a Report
|
|
9
|
+
* @summary Request detailed stats for a Report
|
|
10
|
+
* @param {ReportStatsParams} config with all available params.
|
|
11
|
+
* @param {*} [options] Override http request option.
|
|
12
|
+
* @deprecated
|
|
13
|
+
* @throws {RequiredError}
|
|
14
|
+
*/
|
|
15
|
+
export var reportStatsParamCreator = function () {
|
|
16
|
+
var config = [];
|
|
17
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
18
|
+
config[_i] = arguments[_i];
|
|
19
|
+
}
|
|
20
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
21
|
+
var params, reportId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
22
|
+
return __generator(this, function (_b) {
|
|
23
|
+
params = isReportStatsObjectParams(config) ? config[0] : ['reportId', 'xRHIDENTITY', 'options'].reduce(function (acc, curr, index) {
|
|
24
|
+
var _a;
|
|
25
|
+
return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
26
|
+
}, {});
|
|
27
|
+
reportId = params.reportId, xRHIDENTITY = params.xRHIDENTITY, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
28
|
+
localVarPath = "/reports/{report_id}/stats"
|
|
29
|
+
.replace("{".concat("report_id", "}"), encodeURIComponent(String(reportId)));
|
|
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 reportStatsParamCreator;
|
|
49
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ReportStats/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AA4BjU,IAAM,yBAAyB,GAAG,UAAC,MAAuC;IACxE,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,IAAI,IAAI,CAAA;AAChG,CAAC,CAAA;AACD;;;;;;;EAOE;AACF,MAAM,CAAC,IAAM,uBAAuB,GAAG;IAAO,gBAAiE;SAAjE,UAAiE,EAAjE,qBAAiE,EAAjE,IAAiE;QAAjE,2BAAiE;;;;;YACrG,MAAM,GAAG,yBAAyB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE,aAAa,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,CAAsB,CAAC;YACzL,QAAQ,GAAgC,MAAM,SAAtC,EAAE,WAAW,GAAmB,MAAM,YAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YACjD,YAAY,GAAG,4BAA4B;iBAC5C,OAAO,CAAC,WAAI,WAAW,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;YAEjE,cAAc,GAAG,IAAI,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,uBAAuB,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 { System200Response } from '../types';
|
|
4
|
+
export type ReportSystemParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { any }
|
|
8
|
+
* @memberof ReportSystemApi
|
|
9
|
+
*/
|
|
10
|
+
systemId: any;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @type { any }
|
|
14
|
+
* @memberof ReportSystemApi
|
|
15
|
+
*/
|
|
16
|
+
reportId: any;
|
|
17
|
+
/**
|
|
18
|
+
* For internal use only
|
|
19
|
+
* @type { any }
|
|
20
|
+
* @memberof ReportSystemApi
|
|
21
|
+
*/
|
|
22
|
+
xRHIDENTITY?: any;
|
|
23
|
+
options?: AxiosRequestConfig;
|
|
24
|
+
};
|
|
25
|
+
export type ReportSystemReturnType = AxiosPromise<System200Response>;
|
|
26
|
+
/**
|
|
27
|
+
* Returns a System under a Report
|
|
28
|
+
* @summary Request a System
|
|
29
|
+
* @param {ReportSystemParams} config with all available params.
|
|
30
|
+
* @param {*} [options] Override http request option.
|
|
31
|
+
* @throws {RequiredError}
|
|
32
|
+
*/
|
|
33
|
+
export declare const reportSystemParamCreator: (...config: ([ReportSystemParams] | [any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
34
|
+
export default reportSystemParamCreator;
|
|
@@ -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 isReportSystemObjectParams = function (params) {
|
|
5
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'systemId') && Object.prototype.hasOwnProperty.call(params, 'reportId') && true;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Returns a System under a Report
|
|
9
|
+
* @summary Request a System
|
|
10
|
+
* @param {ReportSystemParams} config with all available params.
|
|
11
|
+
* @param {*} [options] Override http request option.
|
|
12
|
+
* @throws {RequiredError}
|
|
13
|
+
*/
|
|
14
|
+
export var reportSystemParamCreator = 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, reportId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
21
|
+
return __generator(this, function (_b) {
|
|
22
|
+
params = isReportSystemObjectParams(config) ? config[0] : ['systemId', 'reportId', '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, reportId = params.reportId, xRHIDENTITY = params.xRHIDENTITY, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
27
|
+
localVarPath = "/reports/{report_id}/systems/{system_id}"
|
|
28
|
+
.replace("{".concat("system_id", "}"), encodeURIComponent(String(systemId)))
|
|
29
|
+
.replace("{".concat("report_id", "}"), encodeURIComponent(String(reportId)));
|
|
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 reportSystemParamCreator;
|
|
49
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ReportSystem/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAkCjU,IAAM,0BAA0B,GAAG,UAAC,MA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AAuB,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,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
import type { Systems200Response } from '../types';
|
|
4
|
+
export type ReportSystemsParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { any }
|
|
8
|
+
* @memberof ReportSystemsApi
|
|
9
|
+
*/
|
|
10
|
+
reportId: any;
|
|
11
|
+
/**
|
|
12
|
+
* For internal use only
|
|
13
|
+
* @type { any }
|
|
14
|
+
* @memberof ReportSystemsApi
|
|
15
|
+
*/
|
|
16
|
+
xRHIDENTITY?: any;
|
|
17
|
+
/**
|
|
18
|
+
* An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
19
|
+
* @type { any }
|
|
20
|
+
* @memberof ReportSystemsApi
|
|
21
|
+
*/
|
|
22
|
+
tags?: any;
|
|
23
|
+
/**
|
|
24
|
+
* Number of items to return per page
|
|
25
|
+
* @type { any }
|
|
26
|
+
* @memberof ReportSystemsApi
|
|
27
|
+
*/
|
|
28
|
+
limit?: any;
|
|
29
|
+
/**
|
|
30
|
+
* Offset of first item of paginated response
|
|
31
|
+
* @type { any }
|
|
32
|
+
* @memberof ReportSystemsApi
|
|
33
|
+
*/
|
|
34
|
+
offset?: any;
|
|
35
|
+
/**
|
|
36
|
+
* Indicates whether to return only resource IDs.
|
|
37
|
+
* @type { any }
|
|
38
|
+
* @memberof ReportSystemsApi
|
|
39
|
+
*/
|
|
40
|
+
idsOnly?: any;
|
|
41
|
+
/**
|
|
42
|
+
* 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.
|
|
43
|
+
* @type { any }
|
|
44
|
+
* @memberof ReportSystemsApi
|
|
45
|
+
*/
|
|
46
|
+
sortBy?: any;
|
|
47
|
+
/**
|
|
48
|
+
* 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>Systems are searchable using attributes `display_name`, `os_version`, `os_minor_version`, `never_reported`, and `group_name`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
49
|
+
* @type { any }
|
|
50
|
+
* @memberof ReportSystemsApi
|
|
51
|
+
*/
|
|
52
|
+
filter?: any;
|
|
53
|
+
options?: AxiosRequestConfig;
|
|
54
|
+
};
|
|
55
|
+
export type ReportSystemsReturnType = AxiosPromise<Systems200Response>;
|
|
56
|
+
/**
|
|
57
|
+
* Lists Systems assigned to a Report
|
|
58
|
+
* @summary Request Systems assigned to a Report
|
|
59
|
+
* @param {ReportSystemsParams} config with all available params.
|
|
60
|
+
* @param {*} [options] Override http request option.
|
|
61
|
+
* @throws {RequiredError}
|
|
62
|
+
*/
|
|
63
|
+
export declare const reportSystemsParamCreator: (...config: ([ReportSystemsParams] | [any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
64
|
+
export default reportSystemsParamCreator;
|
|
@@ -0,0 +1,66 @@
|
|
|
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 isReportSystemsObjectParams = function (params) {
|
|
5
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'reportId') && true && true && true && true && true && true && true;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Lists Systems assigned to a Report
|
|
9
|
+
* @summary Request Systems assigned to a Report
|
|
10
|
+
* @param {ReportSystemsParams} config with all available params.
|
|
11
|
+
* @param {*} [options] Override http request option.
|
|
12
|
+
* @throws {RequiredError}
|
|
13
|
+
*/
|
|
14
|
+
export var reportSystemsParamCreator = 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, reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
21
|
+
return __generator(this, function (_b) {
|
|
22
|
+
params = isReportSystemsObjectParams(config) ? config[0] : ['reportId', 'xRHIDENTITY', 'tags', '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
|
+
reportId = params.reportId, xRHIDENTITY = params.xRHIDENTITY, tags = params.tags, 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 = "/reports/{report_id}/systems"
|
|
28
|
+
.replace("{".concat("report_id", "}"), encodeURIComponent(String(reportId)));
|
|
29
|
+
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30
|
+
localVarRequestOptions = __assign({ method: 'GET' }, options);
|
|
31
|
+
localVarHeaderParameter = {};
|
|
32
|
+
localVarQueryParameter = {};
|
|
33
|
+
if (tags !== undefined) {
|
|
34
|
+
localVarQueryParameter['tags'] = tags;
|
|
35
|
+
}
|
|
36
|
+
if (limit !== undefined) {
|
|
37
|
+
localVarQueryParameter['limit'] = limit;
|
|
38
|
+
}
|
|
39
|
+
if (offset !== undefined) {
|
|
40
|
+
localVarQueryParameter['offset'] = offset;
|
|
41
|
+
}
|
|
42
|
+
if (idsOnly !== undefined) {
|
|
43
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
44
|
+
}
|
|
45
|
+
if (sortBy !== undefined) {
|
|
46
|
+
localVarQueryParameter['sort_by'] = sortBy;
|
|
47
|
+
}
|
|
48
|
+
if (filter !== undefined) {
|
|
49
|
+
localVarQueryParameter['filter'] = filter;
|
|
50
|
+
}
|
|
51
|
+
if (xRHIDENTITY != null) {
|
|
52
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
53
|
+
? xRHIDENTITY
|
|
54
|
+
: JSON.stringify(xRHIDENTITY);
|
|
55
|
+
}
|
|
56
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
58
|
+
return [2 /*return*/, {
|
|
59
|
+
urlObj: localVarUrlObj,
|
|
60
|
+
options: localVarRequestOptions,
|
|
61
|
+
}];
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
};
|
|
65
|
+
export default reportSystemsParamCreator;
|
|
66
|
+
//# sourceMappingURL=index.js.map
|
|
@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uB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AAED,eAAe,yBAAyB,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
|
+
export type ReportSystemsOSParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof ReportSystemsOSApi
|
|
8
|
+
*/
|
|
9
|
+
reportId: any;
|
|
10
|
+
/**
|
|
11
|
+
* For internal use only
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof ReportSystemsOSApi
|
|
14
|
+
*/
|
|
15
|
+
xRHIDENTITY?: any;
|
|
16
|
+
/**
|
|
17
|
+
* 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>Systems are searchable using attributes `display_name`, `os_version`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `never_reported`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
18
|
+
* @type { any }
|
|
19
|
+
* @memberof ReportSystemsOSApi
|
|
20
|
+
*/
|
|
21
|
+
filter?: any;
|
|
22
|
+
options?: AxiosRequestConfig;
|
|
23
|
+
};
|
|
24
|
+
export type ReportSystemsOSReturnType = AxiosPromise<any>;
|
|
25
|
+
/**
|
|
26
|
+
* This feature is exclusively used by the frontend
|
|
27
|
+
* @summary Request the list of available OS versions
|
|
28
|
+
* @param {ReportSystemsOSParams} config with all available params.
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @deprecated
|
|
31
|
+
* @throws {RequiredError}
|
|
32
|
+
*/
|
|
33
|
+
export declare const reportSystemsOSParamCreator: (...config: ([ReportSystemsOSParams] | [any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
34
|
+
export default reportSystemsOSParamCreator;
|
|
@@ -0,0 +1,52 @@
|
|
|
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 isReportSystemsOSObjectParams = function (params) {
|
|
5
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'reportId') && true && true;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* This feature is exclusively used by the frontend
|
|
9
|
+
* @summary Request the list of available OS versions
|
|
10
|
+
* @param {ReportSystemsOSParams} config with all available params.
|
|
11
|
+
* @param {*} [options] Override http request option.
|
|
12
|
+
* @deprecated
|
|
13
|
+
* @throws {RequiredError}
|
|
14
|
+
*/
|
|
15
|
+
export var reportSystemsOSParamCreator = function () {
|
|
16
|
+
var config = [];
|
|
17
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
18
|
+
config[_i] = arguments[_i];
|
|
19
|
+
}
|
|
20
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
21
|
+
var params, reportId, xRHIDENTITY, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
22
|
+
return __generator(this, function (_b) {
|
|
23
|
+
params = isReportSystemsOSObjectParams(config) ? config[0] : ['reportId', 'xRHIDENTITY', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
24
|
+
var _a;
|
|
25
|
+
return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
26
|
+
}, {});
|
|
27
|
+
reportId = params.reportId, xRHIDENTITY = params.xRHIDENTITY, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
28
|
+
localVarPath = "/reports/{report_id}/systems/os_versions"
|
|
29
|
+
.replace("{".concat("report_id", "}"), encodeURIComponent(String(reportId)));
|
|
30
|
+
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31
|
+
localVarRequestOptions = __assign({ method: 'GET' }, options);
|
|
32
|
+
localVarHeaderParameter = {};
|
|
33
|
+
localVarQueryParameter = {};
|
|
34
|
+
if (filter !== undefined) {
|
|
35
|
+
localVarQueryParameter['filter'] = filter;
|
|
36
|
+
}
|
|
37
|
+
if (xRHIDENTITY != null) {
|
|
38
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
39
|
+
? xRHIDENTITY
|
|
40
|
+
: JSON.stringify(xRHIDENTITY);
|
|
41
|
+
}
|
|
42
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
44
|
+
return [2 /*return*/, {
|
|
45
|
+
urlObj: localVarUrlObj,
|
|
46
|
+
options: localVarRequestOptions,
|
|
47
|
+
}];
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
export default reportSystemsOSParamCreator;
|
|
52
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ReportSystemsOS/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAkCjU,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,IAAI,IAAI,IAAI,CAAA;AACxG,CAAC,CAAA;A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C;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,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 ReportTestResultParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { any }
|
|
8
|
+
* @memberof ReportTestResultApi
|
|
9
|
+
*/
|
|
10
|
+
testResultId: any;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @type { any }
|
|
14
|
+
* @memberof ReportTestResultApi
|
|
15
|
+
*/
|
|
16
|
+
reportId: any;
|
|
17
|
+
/**
|
|
18
|
+
* For internal use only
|
|
19
|
+
* @type { any }
|
|
20
|
+
* @memberof ReportTestResultApi
|
|
21
|
+
*/
|
|
22
|
+
xRHIDENTITY?: any;
|
|
23
|
+
options?: AxiosRequestConfig;
|
|
24
|
+
};
|
|
25
|
+
export type ReportTestResultReturnType = AxiosPromise<System200Response>;
|
|
26
|
+
/**
|
|
27
|
+
* Returns a Test Result under a Report
|
|
28
|
+
* @summary Request a Test Result
|
|
29
|
+
* @param {ReportTestResultParams} config with all available params.
|
|
30
|
+
* @param {*} [options] Override http request option.
|
|
31
|
+
* @throws {RequiredError}
|
|
32
|
+
*/
|
|
33
|
+
export declare const reportTestResultParamCreator: (...config: ([ReportTestResultParams] | [any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
34
|
+
export default reportTestResultParamCreator;
|
|
@@ -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 isReportTestResultObjectParams = function (params) {
|
|
5
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'testResultId') && Object.prototype.hasOwnProperty.call(params, 'reportId') && true;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Returns a Test Result under a Report
|
|
9
|
+
* @summary Request a Test Result
|
|
10
|
+
* @param {ReportTestResultParams} config with all available params.
|
|
11
|
+
* @param {*} [options] Override http request option.
|
|
12
|
+
* @throws {RequiredError}
|
|
13
|
+
*/
|
|
14
|
+
export var reportTestResultParamCreator = 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, testResultId, reportId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
21
|
+
return __generator(this, function (_b) {
|
|
22
|
+
params = isReportTestResultObjectParams(config) ? config[0] : ['testResultId', 'reportId', 'xRHIDENTITY', 'options'].reduce(function (acc, curr, index) {
|
|
23
|
+
var _a;
|
|
24
|
+
return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
25
|
+
}, {});
|
|
26
|
+
testResultId = params.testResultId, reportId = params.reportId, xRHIDENTITY = params.xRHIDENTITY, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
27
|
+
localVarPath = "/reports/{report_id}/test_results/{test_result_id}"
|
|
28
|
+
.replace("{".concat("test_result_id", "}"), encodeURIComponent(String(testResultId)))
|
|
29
|
+
.replace("{".concat("report_id", "}"), encodeURIComponent(String(reportId)));
|
|
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 reportTestResultParamCreator;
|
|
49
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ReportTestResult/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAkCjU,IAAM,8BAA8B,GAAG,UAAC,MAA4C;IAClF,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,cAAc,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,IAAI,IAAI,CAAA;AAChK,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,IAAM,4BAA4B,GAAG;IAAO,gBAA2E;SAA3E,UAA2E,EAA3E,qBAA2E,EAA3E,IAA2E;QAA3E,2BAA2E;;;;;YACpH,MAAM,GAAG,8BAA8B,CAAC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E,cAAc;oBACtB,OAAO,EAAE,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AAED,eAAe,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
import type { ReportTestResults200Response } from '../types';
|
|
4
|
+
export type ReportTestResultsParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { any }
|
|
8
|
+
* @memberof ReportTestResultsApi
|
|
9
|
+
*/
|
|
10
|
+
reportId: any;
|
|
11
|
+
/**
|
|
12
|
+
* For internal use only
|
|
13
|
+
* @type { any }
|
|
14
|
+
* @memberof ReportTestResultsApi
|
|
15
|
+
*/
|
|
16
|
+
xRHIDENTITY?: any;
|
|
17
|
+
/**
|
|
18
|
+
* An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
19
|
+
* @type { any }
|
|
20
|
+
* @memberof ReportTestResultsApi
|
|
21
|
+
*/
|
|
22
|
+
tags?: any;
|
|
23
|
+
/**
|
|
24
|
+
* Number of items to return per page
|
|
25
|
+
* @type { any }
|
|
26
|
+
* @memberof ReportTestResultsApi
|
|
27
|
+
*/
|
|
28
|
+
limit?: any;
|
|
29
|
+
/**
|
|
30
|
+
* Offset of first item of paginated response
|
|
31
|
+
* @type { any }
|
|
32
|
+
* @memberof ReportTestResultsApi
|
|
33
|
+
*/
|
|
34
|
+
offset?: any;
|
|
35
|
+
/**
|
|
36
|
+
* Indicates whether to return only resource IDs.
|
|
37
|
+
* @type { any }
|
|
38
|
+
* @memberof ReportTestResultsApi
|
|
39
|
+
*/
|
|
40
|
+
idsOnly?: any;
|
|
41
|
+
/**
|
|
42
|
+
* 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.
|
|
43
|
+
* @type { any }
|
|
44
|
+
* @memberof ReportTestResultsApi
|
|
45
|
+
*/
|
|
46
|
+
sortBy?: any;
|
|
47
|
+
/**
|
|
48
|
+
* 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>Test Results are searchable using attributes `score`, `supported`, `system_id`, `display_name`, `os_minor_version`, `security_guide_version`, `compliant`, `group_name`, and `failed_rule_severity`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
49
|
+
* @type { any }
|
|
50
|
+
* @memberof ReportTestResultsApi
|
|
51
|
+
*/
|
|
52
|
+
filter?: any;
|
|
53
|
+
options?: AxiosRequestConfig;
|
|
54
|
+
};
|
|
55
|
+
export type ReportTestResultsReturnType = AxiosPromise<ReportTestResults200Response>;
|
|
56
|
+
/**
|
|
57
|
+
* Lists Test Results under a Report
|
|
58
|
+
* @summary Request Test Results under a Report
|
|
59
|
+
* @param {ReportTestResultsParams} config with all available params.
|
|
60
|
+
* @param {*} [options] Override http request option.
|
|
61
|
+
* @throws {RequiredError}
|
|
62
|
+
*/
|
|
63
|
+
export declare const reportTestResultsParamCreator: (...config: ([ReportTestResultsParams] | [any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
64
|
+
export default reportTestResultsParamCreator;
|